tungsten 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,907 +0,0 @@
1
- (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.tungsten = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
2
- "use strict";!function(){function t(t){return t.replace(/[\W,_]/g,"-").replace(/-{2,}/g,"-")}function e(e,i){i=i||{};var n=t(e),s=r()[n];if(s){var a=s.parentElement,o=a.dataset.prefix,u=a.dataset.symbolClass,l=document.createRange().createContextualFragment('<svg><use xlink:href="#'+o+"-"+n+'"/></svg>').firstChild;return l.setAttribute("class",u+" "+o+"-"+n+" "+(i.class||"").trim()),l.setAttribute("viewBox",s.getAttribute("viewBox")),i.width||i.height||i.scale?(i.width&&l.setAttribute("width",i.width),i.height&&l.setAttribute("height",i.height)):(l.setAttribute("width",s.getAttribute("width")),l.setAttribute("height",s.getAttribute("height"))),l}console.error('Cannot find "'+e+'" svg symbol. Ensure that svg scripts are loaded')}function r(){if(!i){i={};var t=!0,e=!1,r=void 0;try{for(var n,s=document.querySelectorAll("svg[id^=esvg] symbol")[Symbol.iterator]();!(t=(n=s.next()).done);t=!0){var a=n.value;i[a.dataset.name]=a}}catch(t){e=!0,r=t}finally{try{!t&&s.return&&s.return()}finally{if(e)throw r}}}return i}var i,n={svgs:r,use:e};window.Turbolinks&&document.addEventListener("turbolinks:load",function(t){i=null,n.svgs()}),"undefined"!=typeof module?module.exports=n:window.esvg=n}();
3
- },{}],2:[function(require,module,exports){
4
- "use strict";!function(){function l(){
5
- document.querySelector("#esvg-svg-icons")||document.querySelector("body").insertAdjacentHTML("afterbegin",'<svg id="esvg-svg-icons" data-symbol-class="svg-symbol" data-prefix="svg" version="1.1" style="height:0;position:absolute"><symbol id="svg-angle-down" data-name="angle-down" viewBox="0 0 27 15" width="27" height="15" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M25.304.005c.092.012.116.012.206.036.135.037.263.097.377.177.348.244.545.665.508 1.088-.01.104-.032.207-.068.305-.048.132-.12.254-.21.36-.02.028-.046.053-.07.08l-12 12c-.025.022-.05.047-.077.07-.08.067-.17.123-.264.168-.32.148-.695.148-1.014 0-.095-.045-.184-.1-.264-.17-.027-.02-.052-.046-.077-.07l-12-12C.29 1.98.27 1.966.217 1.89c-.08-.114-.14-.242-.176-.377C-.08 1.066.074.578.428.28.535.19.658.12.788.073.92.025 1.06 0 1.2 0c.246 0 .49.076.69.217.076.053.09.072.16.134l11.15 11.153L24.352.35l.078-.07c.073-.056.09-.073.17-.12.122-.07.255-.118.393-.142.093-.016.116-.014.21-.018l.104.005z" fill-rule="nonzero"/></symbol><symbol id="svg-arrow-down-circle" data-name="arrow-down-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M22.218 18.943l-5.243 5.243c-.226.282-.558.48-.95.48-.006 0-.01-.006-.018-.006-.008 0-.013.005-.02.005-.315 0-.63-.12-.87-.36l-5.36-5.362c-.483-.48-.483-1.26 0-1.738.478-.48 1.255-.48 1.737 0l3.3 3.3V9.323c0-.678.55-1.23 1.23-1.23.68 0 1.23.552 1.23 1.23V20.43l3.226-3.225c.48-.48 1.26-.48 1.738 0 .48.48.48 1.258 0 1.738" fill-rule="nonzero"/></symbol><symbol id="svg-arrow-up-circle" data-name="arrow-up-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M22.294 14.798c-.24.24-.556.36-.87.36-.315 0-.627-.12-.868-.36l-3.303-3.305V22.68c0 .677-.548 1.23-1.23 1.23-.678 0-1.228-.553-1.228-1.23V11.57l-3.227 3.228c-.482.48-1.26.48-1.738 0-.482-.48-.482-1.258 0-1.737l5.243-5.247c.226-.282.56-.48.95-.48.008 0 .013.006.02.006.008 0 .013-.006.02-.006.327 0 .64.13.868.36l5.364 5.367c.48.48.48 1.26 0 1.738" fill-rule="nonzero"/></symbol><symbol id="svg-backup" data-name="backup" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16.04 23.89c-.905.073-1.812.11-2.706.11C8.047 24 2.484 22.656 0 20.483v2.85c0 3.364 5.856 6 13.334 6 1.358 0 2.66-.088 3.888-.25C16.452 27.787 16 26.28 16 24.667c0-.263.015-.522.04-.778zm-2.707-1.223c1.004 0 1.988-.047 2.943-.13.556-2.19 1.943-4.045 3.807-5.213-2.15.436-4.49.676-6.75.676C8.047 18 2.483 16.656 0 14.483V18c0 2.113 5.947 4.667 13.333 4.667zm0-6c6.106 0 11.5-1.683 13.334-3.44V8.893C23.82 10.807 18.377 12 13.333 12 8.047 12 2.483 10.656 0 8.483V12c0 2.113 5.947 4.667 13.333 4.667zm0-6c6.106 0 11.5-1.683 13.334-3.438V6c0-3.364-5.858-6-13.334-6S0 2.636 0 6c0 2.113 5.948 4.667 13.333 4.667z" fill-opacity=".502"/><path d="M28 25.333h-2.667V28c0 .368-.3.667-.666.667-.368 0-.667-.3-.667-.667v-2.667h-2.667c-.368 0-.666-.298-.666-.666 0-.368.298-.667.666-.667H24v-2.667c0-.368.3-.666.667-.666.366 0 .666.298.666.666V24H28c.367 0 .667.3.667.667 0 .368-.3.666-.667.666m-3.333-8c-4.044 0-7.334 3.29-7.334 7.334S20.623 32 24.667 32C28.71 32 32 28.71 32 24.667c0-4.044-3.29-7.334-7.333-7.334" fill-rule="nonzero"/></symbol><symbol id="svg-buttons" data-name="buttons" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#c3cddb" d="M326.9 41c1.6 0 3 1.4 3 3v29.8c0 1.6-1.4 3-3 3H140.8c-1.6 0-3-1.4-3-3V44c0-1.6 1.4-3 3-3h186.1m0-5H140.8c-4.4 0-8 3.6-8 8v29.8c0 4.4 3.6 8 8 8h186.1c4.4 0 8-3.6 8-8V44c0-4.4-3.6-8-8-8z"/><path fill="#8c9ba5" d="M198.7 54.1h70.2v9.6h-70.2z"/><path fill="#dd2f41" d="M327.4 94.1H140.6c-4.2 0-7.7 3.5-7.7 7.7v30.4c0 4.2 3.5 7.7 7.7 7.7h186.7c4.2 0 7.7-3.5 7.7-7.7v-30.4c.1-4.2-3.4-7.7-7.6-7.7zm-58.6 27.7h-70.2v-9.6h70.2v9.6z"/><path fill="#297adf" d="M327.1 152.2H140.9c-4.4 0-7.9 3.6-7.9 7.9V190c0 4.4 3.6 7.9 7.9 7.9h186.2c4.4 0 7.9-3.6 7.9-7.9v-29.9c.1-4.3-3.5-7.9-7.9-7.9zm-58.3 27.6h-70.2v-9.6h70.2v9.6z"/></symbol><symbol id="svg-cards" data-name="cards" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#d6dde7" d="M405.9 36H258.5c-4.5 0-8.1 3.6-8.1 8.1v145.8c0 4.5 3.6 8.1 8.1 8.1h147.4c4.5 0 8.1-3.6 8.1-8.1V44.1c0-4.5-3.6-8.1-8.1-8.1zm-150.4 8.1c0-1.6 1.4-3 3-3h147.4c1.6 0 3 1.4 3 3V156H255.5V44.1zM209.6 40.7c1.6 0 3 1.4 3 3v146.1c0 1.6-1.4 3-3 3H61.9c-1.6 0-3-1.4-3-3v-146c0-1.6 1.4-3 3-3h147.7m0-5.1H61.9c-4.5 0-8.1 3.7-8.1 8.1v146.1c0 4.5 3.7 8.1 8.1 8.1h147.7c4.5 0 8.1-3.7 8.1-8.1V43.8c.1-4.5-3.6-8.1-8.1-8.1z"/><path fill="#fff" d="M401.5 187.1h-53.6c-1.9 0-3.5-1.6-3.5-3.5v-12.7c0-1.9 1.6-3.5 3.5-3.5h53.6c1.9 0 3.5 1.6 3.5 3.5v12.7c0 1.9-1.6 3.5-3.5 3.5z"/></symbol><symbol id="svg-check-circle" data-name="check-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M24.925 12.745l-10.22 11.2-7.59-7.588c-.48-.483-.48-1.255 0-1.732.477-.483 1.252-.483 1.732 0l5.776 5.775 8.49-9.307c.457-.502 1.233-.536 1.733-.08.5.455.534 1.232.08 1.732" fill-rule="nonzero"/></symbol><symbol id="svg-cluster" data-name="cluster" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 32c-.056 0-.113-.002-.17-.005-.112-.007-.224-.02-.335-.04-.332-.06-.653-.18-.942-.354-.13-.078-.256-.167-.373-.266-.055-.047-.108-.096-.16-.147C9.604 26.8 5.2 22.397.813 17.98c-.076-.077-.148-.158-.214-.243-.127-.16-.236-.335-.324-.52-.09-.184-.157-.38-.203-.58C.023 16.43 0 16.215 0 16c0-.214.024-.43.073-.638.046-.2.114-.395.203-.58.088-.184.197-.358.323-.52.065-.084.137-.165.213-.242C5.2 9.604 9.603 5.2 14.02.813c.077-.076.158-.148.243-.214.16-.127.335-.236.52-.324.184-.09.38-.157.58-.203C15.57.023 15.785 0 16 0c.214 0 .43.024.638.073.2.046.395.114.58.203.184.088.358.197.52.323.084.065.165.137.242.213C22.396 5.2 26.8 9.603 31.187 14.02c.076.077.148.158.214.243.127.16.236.335.324.52.09.184.157.38.203.58.05.208.073.423.073.637 0 .214-.024.43-.073.638-.046.2-.114.395-.203.58-.088.184-.197.358-.323.52-.065.084-.137.165-.213.242-4.388 4.416-8.79 8.82-13.207 13.207-.052.05-.105.1-.16.147-.117.1-.242.188-.373.267-.275.166-.578.282-.892.345-.11.022-.223.038-.335.046-.05.005-.102.008-.152.01H16zm0-1.883c.055 0 .11-.005.164-.014.107-.02.21-.057.305-.112.068-.04.13-.087.187-.143 4.412-4.384 8.84-8.755 13.195-13.195.026-.027.052-.056.075-.087.042-.054.077-.113.106-.176.05-.112.08-.234.083-.356.005-.145-.023-.29-.083-.423-.03-.062-.064-.12-.106-.175-.023-.03-.05-.06-.075-.087-4.358-4.442-8.758-8.842-13.2-13.2-.027-.026-.056-.052-.087-.075-.054-.042-.113-.077-.176-.106-.112-.05-.234-.08-.356-.083-.145-.005-.29.023-.423.083-.06.028-.117.062-.17.102-.033.024-.063.05-.092.078-4.442 4.358-8.842 8.758-13.2 13.2l-.08.09c-.04.055-.073.112-.1.173-.06.133-.09.28-.084.424.004.122.032.244.083.355.03.062.064.12.106.175.023.03.05.06.075.087 4.358 4.442 8.758 8.842 13.2 13.2.055.053.116.1.183.14.088.05.184.087.284.106.056.012.112.018.17.02H16z" fill-opacity=".502" fill-rule="nonzero"/><path d="M17.482 26.93l-.847.846c-.17.17-.397.263-.635.263s-.466-.095-.635-.264l-11.14-11.14c-.17-.17-.264-.398-.264-.636s.095-.466.264-.635l11.14-11.14c.17-.17.398-.264.636-.264s.466.095.635.264l4.05 4.05v5.456c-.104.03-.205.064-.303.106-.27.116-.517.283-.725.49-.2.195-.362.426-.48.68-.102.22-.17.454-.2.695-.033.248-.025.5.022.745.04.213.11.42.21.614.122.244.288.466.487.654.193.18.416.33.658.438.2.09.412.15.628.18.11.015.22.022.328.023h.062c.11-.004.218-.014.326-.032.215-.036.425-.102.622-.195.243-.115.466-.273.656-.463s.348-.414.464-.657c.095-.2.162-.416.197-.636.038-.24.04-.488.002-.73-.038-.24-.112-.472-.22-.69-.123-.248-.292-.475-.494-.666-.214-.2-.465-.362-.738-.472-.08-.032-.164-.06-.25-.084V9.528l5.838 5.837c.17.17.263.397.263.635s-.095.466-.264.635l-6.64 6.64-4.508-4.51v-6.51c.13-.036.258-.083.38-.14.243-.116.466-.274.657-.464.187-.186.342-.405.457-.643.097-.2.164-.415.2-.634.042-.246.043-.5.005-.745-.036-.24-.11-.472-.218-.69-.125-.248-.293-.475-.496-.666-.214-.2-.465-.362-.737-.472-.144-.058-.294-.1-.447-.13-.15-.027-.306-.04-.46-.04-.15.003-.298.02-.444.05-.156.03-.31.08-.456.142-.27.116-.516.283-.725.49-.198.195-.36.426-.48.68-.102.218-.17.454-.2.695-.032.247-.024.5.023.744.04.214.11.422.21.615.12.24.283.46.478.645.195.186.422.338.668.448.106.047.216.087.328.118v6.768c.002.05 0 .06.01.11.016.09.05.176.104.25.028.04.037.048.07.084l4.693 4.694-1.88 1.88-6.962-6.962v-.81c.13-.036.258-.084.38-.142.244-.115.467-.273.657-.463s.348-.414.464-.657c.094-.2.16-.416.196-.636.038-.24.04-.488.002-.73-.037-.24-.11-.472-.218-.69-.124-.248-.293-.475-.495-.666-.214-.2-.465-.362-.738-.472-.144-.057-.293-.1-.446-.13-.15-.027-.305-.04-.46-.038-.154.002-.307.018-.458.05-.15.032-.3.08-.44.14-.27.116-.518.283-.726.49-.198.195-.362.426-.48.68-.102.22-.17.454-.2.695-.033.248-.025.5.022.745.043.223.118.44.223.64.125.238.29.455.487.638.19.178.41.323.647.43.107.046.217.086.33.117v1.07c0 .04 0 .05.005.09.012.088.044.173.092.25.017.024.035.048.054.07l.03.033 7.146 7.146zm-6.7-9.83c.055 0 .11-.005.166-.014.096-.014.19-.042.278-.08.103-.047.2-.11.283-.184.09-.08.168-.176.228-.28.05-.093.09-.19.114-.293.03-.13.035-.26.02-.39-.015-.11-.046-.217-.092-.318-.055-.12-.133-.23-.227-.324-.098-.096-.213-.174-.34-.228-.13-.057-.274-.087-.418-.09-.145 0-.29.025-.423.08-.125.05-.24.123-.34.215-.097.09-.178.2-.237.317-.05.1-.083.205-.1.313-.02.13-.018.262.007.39.02.1.055.2.102.29.053.102.123.196.204.277.087.085.187.156.297.21.09.042.183.073.28.09.055.01.11.015.167.017h.03zm10.53 0c.056 0 .112-.005.167-.014.095-.014.19-.042.277-.08.107-.05.206-.114.293-.192.087-.08.16-.172.22-.273.05-.09.087-.185.11-.285.032-.13.04-.264.022-.396-.014-.11-.045-.217-.09-.318-.056-.12-.134-.23-.228-.324-.098-.096-.213-.174-.34-.228-.13-.057-.274-.087-.418-.09-.145 0-.29.025-.423.08-.126.05-.24.123-.34.215-.097.09-.178.2-.237.317-.05.1-.083.205-.1.313-.02.13-.018.262.007.39.02.106.058.208.108.302.058.105.13.2.218.283.082.077.176.142.278.19.09.044.183.075.28.092.055.01.11.015.167.017h.028zM16 11.084c.056 0 .112-.004.168-.013.096-.014.19-.042.278-.08.103-.047.198-.11.283-.184.09-.08.167-.176.227-.282.05-.09.09-.185.112-.285.03-.128.037-.263.02-.395-.014-.11-.044-.217-.09-.317-.056-.12-.133-.23-.228-.324-.097-.096-.213-.174-.34-.23-.13-.055-.274-.085-.418-.087-.144-.002-.29.024-.423.078-.124.05-.24.124-.338.216-.097.092-.178.2-.237.318-.05.1-.083.204-.1.313-.02.13-.02.263.007.39.02.106.057.208.108.303.057.107.133.205.222.287.08.076.173.14.272.187.09.044.188.075.288.092.053.008.106.013.16.015H16z"/></symbol><symbol id="svg-color-wheel" data-name="color-wheel" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#2ac84f" d="M306.8 81.8c-7.9-16.1-20.9-29.1-37-37-.8.8-1.4 1.8-1.9 2.8l-11.3 26.2-11.2 26.2c-2.1 4.8 1.4 8.2 6.2 6.2l26.2-11.3L304 83.6c1-.4 2-1.1 2.8-1.8z"/><path fill="#59a702" d="M310.6 91.1c-1.1 0-2.2.3-3.3.7l-26.5 10.6-26.5 10.6c-4.9 1.9-4.9 6.8 0 8.7l26.5 10.6 26.5 10.6c1.1.4 2.2.6 3.3.7 2.8-8.2 4.3-17 4.3-26.2s-1.5-18.1-4.3-26.3z"/><path fill="#efc102" d="M306.8 152.7c-.8-.8-1.8-1.4-2.8-1.9l-26.2-11.3-26.2-11.3c-4.8-2.1-8.2 1.4-6.2 6.2l11.3 26.2 11.3 26.2c.5 1.1 1.1 2 1.9 2.8 15.9-7.8 29-20.8 36.9-36.9z"/><path fill="#f69524" d="M234.3 197.9c9.2 0 18-1.5 26.2-4.3 0-1.1-.3-2.2-.7-3.3l-10.6-26.5-10.6-26.5c-1.9-4.9-6.8-4.9-8.7 0l-10.6 26.5-10.6 26.5c-.4 1.1-.6 2.2-.7 3.3 8.3 2.8 17.1 4.3 26.3 4.3z"/><path fill="#f96623" d="M217.1 128.3l-26.2 11.3-26.2 11.3c-1.1.5-2 1.1-2.8 1.9 7.9 16.1 20.9 29.1 37 37 .8-.8 1.4-1.8 1.9-2.8l11.3-26.2 11.3-26.2c1.9-4.9-1.5-8.3-6.3-6.3z"/><path fill="#a81d27" d="M214.3 112.9l-26.5-10.6-26.5-10.6c-1.1-.4-2.2-.6-3.3-.7-2.8 8.2-4.3 17-4.3 26.2s1.5 18 4.3 26.2c1.1 0 2.2-.3 3.3-.7l26.5-10.6 26.5-10.6c4.8-1.8 4.8-6.7 0-8.6z"/><path fill="#a346ce" d="M161.8 81.8c.8.8 1.8 1.4 2.8 1.9L190.8 95l26.2 11.3c4.8 2.1 8.2-1.4 6.2-6.2L212 73.8l-11.3-26.2c-.5-1.1-1.1-2-1.9-2.8-16 7.8-29.1 20.9-37 37z"/><path fill="#297adf" d="M234.3 36.6c-9.2 0-18 1.5-26.2 4.3 0 1.1.3 2.2.7 3.3l10.6 26.5L230 97.2c1.9 4.9 6.8 4.9 8.7 0l10.6-26.5 10.6-26.5c.4-1.1.6-2.2.7-3.3-8.3-2.8-17.1-4.3-26.3-4.3z"/></symbol><symbol id="svg-copy" data-name="copy" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><g fill-rule="nonzero"><path d="M22.667 4.667c0-.368-.3-.667-.667-.667h-3.333v10.495c1.208-.64 2.562-1.032 4-1.127v-8.7zM4 25.333V4H.667C.3 4 0 4.3 0 4.667V26c0 1.837 1.496 3.333 3.333 3.333h12.02c-.878-1.165-1.517-2.52-1.818-4H4z" fill-opacity=".302"/><path d="M14 12H7.333c-.368 0-.666.3-.666.667 0 .368.298.666.666.666H14c.368 0 .667-.298.667-.666 0-.368-.3-.667-.667-.667M14 14.667H7.333c-.368 0-.666.298-.666.666 0 .368.298.667.666.667H14c.368 0 .667-.3.667-.667 0-.368-.3-.666-.667-.666M14.667 18c0-.368-.3-.667-.667-.667H7.333c-.368 0-.666.3-.666.667 0 .368.298.667.666.667H14c.368 0 .667-.3.667-.667M7.333 20c-.368 0-.666.3-.666.667 0 .368.298.666.666.666h4c.368 0 .667-.298.667-.666 0-.368-.3-.667-.667-.667h-4z" fill-opacity=".502"/><path d="M6 9.333h10.667c.368 0 .666-.298.666-.666V3.333c0-.368-.298-.666-.666-.666h-2.06C14.33 1.115 13.087 0 11.333 0 9.687 0 8.363 1 8.06 2.667H6c-.368 0-.667.298-.667.666v5.334c0 .368.3.666.667.666" fill-opacity=".302"/><path d="M26.97 24H24v2.97c0 .367-.3.666-.667.666-.368 0-.666-.3-.666-.667V24h-2.97c-.368 0-.666-.3-.666-.667 0-.368.3-.666.667-.666h2.97v-2.97c0-.37.298-.666.666-.666.368 0 .667.298.667.667v2.97h2.97c.367 0 .666.298.666.666 0 .368-.3.667-.667.667m-3.637-9.333c-4.78 0-8.666 3.888-8.666 8.666 0 4.78 3.886 8.667 8.666 8.667S32 28.112 32 23.333c0-4.778-3.888-8.666-8.667-8.666"/></g></symbol><symbol id="svg-deployment" data-name="deployment" viewBox="0 0 176 201" width="176" height="201" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M88 5.985l82.272 47.5v95L88 195.985l-82.272-47.5v-95L88 5.985z"/></symbol><symbol id="svg-dialog" data-name="dialog" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#d6dde7" d="M349.1 197.3H118.9c-1.8 0-3.3-1.5-3.3-3.3V39.4c0-1.8 1.5-3.3 3.3-3.3h230.2c1.8 0 3.3 1.5 3.3 3.3V194c0 1.8-1.5 3.3-3.3 3.3z"/><path fill="#fff" d="M177.8 170.8c-3 0-5.5-2.5-5.5-5.5V63.7c0-3 2.5-5.5 5.5-5.5h112.4c3 0 5.5 2.5 5.5 5.5v101.6c0 3-2.5 5.5-5.5 5.5H177.8z"/><path fill="#d6dde7" d="M290.2 60.7c1.6 0 3 1.4 3 3v101.6c0 1.6-1.4 3-3 3H177.8c-1.6 0-3-1.4-3-3V63.7c0-1.6 1.4-3 3-3h112.4m0-5H177.8c-4.4 0-8 3.6-8 8v101.6c0 4.4 3.6 8 8 8h112.4c4.4 0 8-3.6 8-8V63.7c0-4.4-3.6-8-8-8z"/><path fill="#297adf" d="M260.4 158.2h-52.9c-1.9 0-3.5-1.6-3.5-3.5v-12.5c0-1.9 1.6-3.5 3.5-3.5h52.9c1.9 0 3.5 1.6 3.5 3.5v12.5c0 1.9-1.5 3.5-3.5 3.5z"/></symbol><symbol id="svg-dice" data-name="dice" viewBox="0 0 45 32" width="45" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M30.762 10.232c1.183.684 1.59 2.2.906 3.382l-9.9 17.148c-.683 1.183-2.2 1.59-3.382.906l-17.148-9.9c-1.183-.684-1.59-2.2-.906-3.382l9.9-17.148c.684-1.183 2.2-1.59 3.382-.906l17.148 9.9z" fill-opacity=".149"/><path d="M22.13 5.25c.02-.002.04-.002.06-.002h19.803c1.366 0 2.475 1.11 2.475 2.475v19.802c0 1.366-1.11 2.475-2.475 2.475H22.208l2.44-4.23c.273.11.57.17.88.17 1.29 0 2.34-1.047 2.34-2.338 0-.75-.354-1.416-.902-1.844l4.702-8.144c.683-1.183.277-2.698-.906-3.382L22.13 5.25zm16.35 16.013c1.29 0 2.34 1.048 2.34 2.34 0 1.29-1.05 2.338-2.34 2.338-1.29 0-2.34-1.047-2.34-2.338 0-1.29 1.05-2.34 2.34-2.34zm0-11.956c1.29 0 2.34 1.048 2.34 2.34 0 1.29-1.05 2.338-2.34 2.338-1.29 0-2.34-1.048-2.34-2.34 0-1.29 1.05-2.338 2.34-2.338zM19.712 22.345c1.118.645 1.502 2.077.857 3.196-.647 1.12-2.08 1.502-3.197.857-1.118-.646-1.502-2.078-.856-3.196.645-1.117 2.077-1.5 3.195-.855zM17.093 13.93c1.118.645 1.502 2.077.856 3.195-.647 1.118-2.078 1.502-3.197.857-1.118-.646-1.5-2.078-.856-3.196.646-1.118 2.078-1.502 3.196-.856zM14.473 5.514c1.118.646 1.502 2.078.856 3.196-.646 1.118-2.078 1.502-3.196.856-1.118-.645-1.502-2.077-.856-3.195.645-1.118 2.077-1.5 3.195-.856z"/></symbol><symbol id="svg-download" data-name="download" viewBox="0 0 33 32" width="33" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="none" d="M0 0h32.978v32H0z"/><path d="M15.5 28.627V16.92c.005-.1.015-.195.045-.29.08-.262.27-.48.515-.6.113-.054.23-.08.355-.095.074-.003.074-.003.148 0 .124.014.24.04.355.095.245.12.435.338.515.6.03.095.04.19.044.29v11.707l2.54-2.54.043-.04c.12-.1.25-.176.4-.216.13-.034.267-.042.4-.023.326.048.613.262.752.56.04.087.068.18.082.275.014.094.014.19 0 .286-.02.133-.066.26-.137.376-.03.05-.065.093-.102.138-1.38 1.462-2.842 2.844-4.264 4.266l-.03.03c-.052.048-.11.09-.17.126-.027.016-.055.03-.084.044-.108.05-.225.08-.344.09-.097.007-.196 0-.293-.022-.097-.022-.19-.06-.275-.108-.075-.043-.145-.097-.206-.158-1.45-1.37-2.82-2.818-4.227-4.227-.107-.112-.19-.24-.24-.387-.11-.332-.032-.707.2-.968.064-.07.138-.134.22-.184.15-.092.315-.136.49-.147.057 0 .057 0 .114.004.058.007.114.016.17.03.17.046.316.136.443.256l2.54 2.54zm10.424-4.984h-4.52c-.036-.002-.072-.002-.107-.006-.142-.015-.28-.062-.403-.136-.09-.054-.174-.124-.243-.206-.258-.305-.307-.748-.12-1.102.05-.094.116-.18.194-.254.13-.123.293-.21.467-.248.094-.02.12-.018.214-.023h4.444c.43-.075.854-.197 1.264-.348 1.132-.42 2.194-1.103 2.908-2.09.165-.23.31-.47.433-.724.287-.59.45-1.234.516-1.886.037-.383.045-.77.015-1.155-.033-.436-.117-.868-.25-1.285-.37-1.173-1.124-2.212-2.122-2.932-.48-.348-1.017-.62-1.583-.802-.42-.135-.857-.22-1.297-.257-.232-.02-.463-.022-.696-.016l-.103-.002c-.09-.012-.115-.01-.204-.037-.2-.058-.378-.18-.505-.345-.056-.073-.064-.095-.108-.176-.054-.113-.11-.224-.168-.335-.347-.65-.77-1.255-1.27-1.796-.6-.647-1.297-1.2-2.064-1.634-.824-.465-1.727-.79-2.66-.952-.792-.14-1.604-.164-2.403-.076-.8.088-1.588.292-2.33.604-.875.368-1.685.885-2.388 1.52-.775.702-1.418 1.546-1.887 2.48-.343.683-.593 1.414-.74 2.165-.07.373-.116.748-.14 1.127l-.013.104c-.008.035-.014.07-.024.104-.018.067-.045.133-.078.195-.133.248-.373.43-.65.495-.067.016-.137.024-.207.025-.035 0-.07-.003-.106-.004-.137-.02-.272-.048-.408-.068-.496-.063-.996-.043-1.483.073-1.008.242-1.902.874-2.468 1.74-.173.264-.315.55-.42.846-.11.308-.182.628-.215.953-.04.392-.025.794.03 1.184.075.536.243 1.06.54 1.517.09.14.19.27.3.393.632.704 1.546 1.09 2.458 1.275.34.07.692.116 1.04.12h5.17l.107.005c.094.015.118.015.21.046.168.056.32.16.436.295.07.082.125.175.165.274.04.1.063.204.07.31.018.363-.168.715-.478.9-.123.075-.26.122-.403.137-.035.004-.07.004-.107.006-1.744 0-3.49.014-5.233 0-.42-.012-.836-.057-1.247-.134-1.186-.223-2.346-.7-3.253-1.512-.167-.15-.324-.31-.47-.48-.177-.203-.337-.42-.48-.65-.397-.64-.645-1.363-.764-2.106-.047-.296-.074-.594-.084-.894-.01-.296-.003-.592.027-.887.047-.455.145-.905.292-1.338.338-.99.94-1.883 1.723-2.575.656-.578 1.436-1.01 2.274-1.26.61-.184 1.25-.265 1.888-.25l.06-.344c.067-.326.144-.648.238-.967.198-.665.462-1.31.788-1.923.66-1.243 1.576-2.348 2.672-3.23.883-.713 1.882-1.278 2.947-1.668.702-.256 1.43-.436 2.172-.536.337-.047.676-.074 1.017-.088.16-.005.323-.008.485-.007.918.012 1.83.137 2.715.385 1.845.518 3.527 1.556 4.828 2.963.575.622 1.068 1.313 1.48 2.053l.004.006c.092.005.185.01.277.018.102.008.202.018.302.03.23.03.46.065.687.114.57.12 1.128.308 1.657.556 1.148.54 2.155 1.364 2.912 2.38.57.768.998 1.64 1.252 2.562.277 1.007.338 2.06.218 3.097-.097.834-.322 1.654-.69 2.41-.173.356-.377.696-.608 1.016-.154.212-.32.415-.495.61-.903.992-2.076 1.712-3.33 2.176-.553.205-1.128.367-1.712.458-.047.006-.046.006-.093.01l-.068.003z"/></symbol><symbol id="svg-feedback" data-name="feedback" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><g fill="#f96623"><path fill-opacity=".48" d="M315.294 144.15l-4.098 10.1L250.69 129.7l4.097-10.1z"/><path d="M217.264 104.368l-4.1 10.1-60.506-24.553 4.1-10.1z"/><path fill-opacity=".24" d="M206.906 198.23l-10.1-4.098 24.553-60.507 10.1 4.098z"/><path fill-opacity=".72" d="M246.706 100.272l-10.1-4.098 24.553-60.507 10.098 4.098z"/><path fill-opacity=".36" d="M272.328 193.588l-10.04 4.245-25.428-60.148 10.04-4.244z"/><path fill-opacity=".84" d="M231.086 96.223l-10.04 4.244-25.428-60.148 10.04-4.245z"/><path fill-opacity=".12" d="M157.39 155.246l-4.246-10.04 60.148-25.428 4.244 10.04z"/><path fill-opacity=".6" d="M254.762 114.076l-4.245-10.04 60.148-25.428 4.244 10.04z"/></g></symbol><symbol id="svg-gear-circle" data-name="gear-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><g fill-rule="nonzero"><path d="M24.253 6.97c.168.045.32.117.445.24.054.052.064.068.11.128 1.096 1.71 2.035 3.514 3.05 5.272.04.077.074.15.095.236.07.277.004.578-.175.8-.073.09-.16.16-.257.22l-1.64.95c.022.154.034.308.048.464.013.193.023.385.026.58.003.423-.023.842-.07 1.263v.013l1.64.95.072.044c.07.053.13.107.186.174.16.2.23.464.192.718-.013.086-.04.164-.073.244-.932 1.803-2.025 3.52-3.04 5.277-.046.073-.094.14-.156.2-.206.2-.5.294-.783.25-.114-.018-.216-.06-.318-.113l-1.635-.95c-.13.098-.262.188-.396.28-.19.123-.19.122-.384.242-.39.23-.787.435-1.2.623l-.013.006v1.91l-.004.084c-.013.086-.028.167-.06.248-.092.24-.285.432-.525.525-.08.03-.162.046-.247.058-2.03.094-4.062.004-6.094.004-.086-.005-.168-.012-.25-.036-.277-.078-.504-.286-.607-.552-.042-.11-.057-.218-.063-.333V25.08c-.142-.06-.282-.128-.422-.195-.203-.102-.203-.1-.404-.207-.404-.222-.79-.464-1.168-.73l-.027-.02-1.66.952-.074.038c-.08.033-.16.06-.245.073-.253.04-.517-.032-.716-.193-.07-.054-.122-.117-.175-.185C6.14 22.905 5.2 21.1 4.185 19.34c-.052-.1-.094-.203-.11-.318-.045-.282.048-.576.247-.78.06-.064.128-.11.2-.157l1.642-.948c-.02-.156-.033-.31-.046-.467-.014-.23-.014-.23-.023-.46-.006-.464.018-.922.07-1.382v-.014l-1.64-.947-.07-.046c-.07-.052-.13-.106-.186-.173-.162-.2-.232-.465-.193-.718.014-.087.04-.165.074-.245.935-1.803 2.03-3.518 3.047-5.276.062-.098.13-.184.22-.257.222-.18.523-.245.8-.176.084.02.16.056.235.096l1.652.95c.07-.052.143-.102.214-.152.19-.128.19-.128.385-.252.454-.278.92-.523 1.407-.743l.014-.006V4.96l.004-.085c.012-.085.027-.166.06-.247.09-.24.285-.433.524-.526.08-.03.162-.046.248-.058 2.028-.094 4.062-.004 6.093-.004.115.006.224.02.332.062.267.104.474.33.553.607.023.084.03.166.035.252V6.87c.142.06.28.13.42.196.202.102.2.102.4.208.4.224.782.466 1.154.733l.02.014 1.628-.946.076-.04c.138-.055.266-.08.414-.084.085.007.085.006.17.02zm-2.23 14.94c.118.025.22.06.325.115l1.38.8 2.08-3.607-1.39-.802c-.064-.04-.082-.05-.14-.1-.153-.132-.26-.313-.3-.51-.018-.087-.02-.17-.017-.258.028-.216.07-.43.098-.645.04-.37.067-.74.055-1.11-.015-.44-.068-.87-.143-1.304l-.01-.086c-.003-.088-.002-.17.016-.257.04-.198.147-.38.3-.51.058-.052.076-.06.14-.1l1.388-.803-2.08-3.605-1.375.798c-.07.035-.085.046-.158.072-.19.067-.402.07-.594.006-.084-.028-.157-.07-.232-.115-.123-.092-.24-.194-.362-.29-.348-.262-.71-.502-1.093-.71-.382-.21-.78-.386-1.187-.542l-.078-.034c-.066-.037-.084-.044-.145-.09-.16-.12-.277-.29-.332-.483-.024-.082-.03-.165-.035-.25V5.88h-4.168V7.49c-.004.086-.012.168-.036.252-.056.192-.174.363-.333.483-.06.045-.08.052-.145.09-.2.086-.402.16-.602.245-.745.337-1.446.748-2.072 1.276l-.07.052c-.074.047-.147.088-.23.116-.192.065-.404.064-.595-.003-.073-.024-.09-.035-.157-.07L8.33 9.125l-2.086 3.608 1.387.802c.066.04.083.05.142.1.153.132.26.314.3.512.018.087.02.17.016.258-.02.154-.05.307-.073.46-.058.43-.09.862-.08 1.297.01.437.065.868.14 1.297l.01.086c.004.077.007.096 0 .172-.023.202-.113.393-.253.54-.06.062-.13.11-.203.158l-1.39.802 2.084 3.61 1.403-.805c.078-.04.154-.075.24-.096.196-.048.407-.03.59.053.072.032.087.044.152.085.12.092.236.192.356.286.3.226.61.433.938.618.44.25.9.455 1.37.636l.08.034c.065.037.083.044.143.09.16.12.278.29.332.482.023.084.03.166.035.253v1.606h4.168v-1.607c.004-.087.01-.17.035-.253.055-.19.172-.363.332-.483.06-.045.078-.052.144-.09.197-.085.4-.16.598-.245.455-.207.895-.44 1.31-.716.26-.173.506-.362.745-.56l.07-.054c.064-.04.08-.052.15-.083.108-.05.218-.068.335-.078.086 0 .086 0 .172.01z"/><path d="M16.148 11.052c.698.026 1.378.18 2.01.484.533.257 1.02.613 1.43 1.042.41.43.74.934.97 1.48.19.45.313.93.363 1.415.052.498.027 1.005-.074 1.495-.314 1.533-1.372 2.853-2.797 3.497-.598.27-1.247.418-1.902.434-.658.016-1.32-.1-1.932-.34-.553-.22-1.066-.54-1.506-.938-.44-.4-.805-.876-1.075-1.403-.22-.432-.377-.896-.462-1.373-.08-.452-.1-.916-.052-1.374.06-.565.215-1.12.462-1.632.43-.89 1.13-1.643 1.987-2.137.637-.366 1.342-.573 2.073-.638.17-.01.336-.016.505-.013zm-.206 1.84c-.437.016-.863.112-1.257.302-.81.39-1.428 1.138-1.652 2.01-.09.354-.118.725-.08 1.088.032.33.12.652.255.954.153.34.37.65.632.91.263.264.573.48.912.632.374.17.78.26 1.19.27.413.012.826-.06 1.21-.21.347-.138.668-.338.944-.59.275-.248.504-.548.673-.878.137-.27.234-.56.288-.857.06-.336.063-.68.012-1.018-.14-.92-.71-1.743-1.514-2.207-.4-.23-.84-.358-1.297-.4-.107-.005-.212-.008-.318-.007z"/></g></symbol><symbol id="svg-gear" data-name="gear" viewBox="0 0 32 33" width="32" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M23.018 1.842c.258.022.51.08.746.185.198.088.386.2.553.338.132.106.25.227.355.36.336.432.486.97.495 1.51.007.384-.054.762-.14 1.135l-.584 2.148.02.02.02.02 2.14-.583.198-.046c.2-.04.402-.074.606-.088.42-.03.85.01 1.246.157.27.1.522.25.736.442.397.36.668.867.74 1.4.037.26.025.524-.03.78-.095.444-.313.85-.583 1.212-.125.166-.262.322-.403.474l-1.572 1.56.008.03.01.035c.716.19 1.426.4 2.148.567.09.026.09.026.18.055.195.065.385.137.57.227.36.176.698.41.962.716.174.2.315.428.41.676.208.54.203 1.165-.016 1.702-.09.224-.22.432-.377.615-.286.334-.66.58-1.055.76-.22.102-.45.18-.68.252l-2.142.566-.01.036-.008.03 1.567 1.554c.07.073.07.073.138.147.136.153.265.31.38.48.235.35.415.74.487 1.157.05.285.045.577-.016.86-.112.524-.418 1.012-.84 1.342-.193.15-.41.265-.64.345-.412.144-.858.17-1.29.128-.243-.023-.48-.068-.716-.123l-2.147-.583-.02.02-.02.02.583 2.142c.025.1.024.1.047.198.04.2.072.4.087.605.027.4-.007.81-.14 1.19-.092.27-.233.524-.42.742-.36.424-.888.713-1.44.79-.26.035-.525.023-.78-.032-.655-.14-1.208-.54-1.69-.988l-1.555-1.57-.03.01-.038.01-.563 2.132c-.03.098-.028.097-.06.194-.053.16-.11.32-.18.474-.19.415-.452.802-.804 1.094-.205.17-.44.305-.69.395-.506.18-1.083.173-1.586-.015-.246-.093-.475-.23-.674-.4-.36-.31-.616-.718-.8-1.15-.083-.19-.15-.387-.21-.585l-.566-2.14-.036-.01-.03-.01-1.555 1.568c-.073.07-.073.07-.147.138-.127.113-.257.22-.395.32-.354.253-.754.452-1.185.536-.28.054-.57.058-.852.006-.528-.097-1.024-.39-1.366-.804-.168-.204-.298-.438-.385-.687-.156-.446-.175-.927-.12-1.394.025-.206.066-.41.112-.612l.585-2.148-.02-.02-.02-.02-2.14.582-.198.046c-.166.034-.333.063-.502.08-.434.043-.88.015-1.296-.128-.27-.093-.524-.234-.742-.42-.423-.362-.713-.89-.79-1.442-.033-.24-.025-.484.02-.722.126-.677.537-1.25.997-1.745l1.57-1.56-.01-.03-.008-.036-2.134-.563-.194-.058c-.193-.065-.384-.138-.568-.227-.38-.185-.73-.434-1-.76-.17-.205-.306-.438-.395-.69-.186-.525-.173-1.127.038-1.644.1-.242.242-.466.417-.66.446-.496 1.07-.774 1.696-.968l2.142-.565.01-.035.008-.03-1.566-1.555-.14-.148c-.413-.467-.76-1.015-.865-1.64-.045-.262-.045-.532.003-.794.098-.527.392-1.024.807-1.365.203-.167.435-.296.683-.383.414-.145.86-.172 1.293-.13.242.022.48.068.716.122l2.147.585.02-.022.02-.02-.584-2.14c-.025-.1-.025-.1-.047-.2-.04-.2-.074-.4-.088-.604-.03-.42.01-.85.157-1.246.092-.25.228-.484.4-.687.35-.406.852-.69 1.38-.777.26-.044.527-.04.786.01.43.08.83.28 1.184.532.198.14.38.3.56.464l1.558 1.57.03-.008.036-.01.563-2.136.06-.193c.053-.16.11-.32.182-.474.18-.398.426-.77.757-1.057.232-.2.502-.358.794-.452.492-.158 1.044-.146 1.528.036.246.092.474.23.674.4.358.31.615.717.8 1.148.082.19.148.387.21.585l.565 2.142.035.01.032.008 1.553-1.566.148-.14c.453-.4.98-.738 1.58-.854.16-.03.32-.043.48-.043.062 0 .06 0 .123.005zm-6.932 7.48c.34.006.678.033 1.013.09.595.098 1.177.278 1.724.533 1.24.58 2.288 1.543 2.97 2.73.354.615.61 1.286.75 1.98.153.75.177 1.522.07 2.278-.094.68-.295 1.345-.593 1.964-.336.7-.797 1.34-1.353 1.883-.595.582-1.3 1.05-2.066 1.375-.794.336-1.65.513-2.513.525-.865.01-1.73-.146-2.536-.463-.774-.306-1.49-.76-2.1-1.327-.588-.548-1.076-1.2-1.434-1.92-.306-.614-.515-1.276-.618-1.954-.115-.755-.1-1.53.042-2.28.134-.696.38-1.37.726-1.99.654-1.172 1.664-2.133 2.865-2.73.59-.293 1.223-.498 1.872-.605.278-.045.56-.072.84-.084.115-.004.23-.005.344-.005z" fill-opacity=".149"/><path d="M23.018 1.842c.258.022.51.08.746.185.198.088.386.2.553.338.132.106.25.227.355.36.336.432.486.97.495 1.51.007.384-.054.762-.14 1.135l-.584 2.148.02.02.02.02 2.14-.583.198-.046c.2-.04.402-.074.606-.088.42-.03.85.01 1.246.157.27.1.522.25.736.442.397.36.668.867.74 1.4.037.26.025.524-.03.78-.095.444-.313.85-.583 1.212-.125.166-.262.322-.403.474l-1.572 1.56.008.03.01.035c.716.19 1.426.4 2.148.567.09.026.09.026.18.055.195.065.385.137.57.227.36.176.698.41.962.716.174.2.315.428.41.676.208.54.203 1.165-.016 1.702-.09.224-.22.432-.377.615-.286.334-.66.58-1.055.76-.22.102-.45.18-.68.252l-2.142.566-.01.036-.008.03 1.567 1.554c.07.073.07.073.138.147.136.153.265.31.38.48.235.35.415.74.487 1.157.05.285.045.577-.016.86-.112.524-.418 1.012-.84 1.342-.193.15-.41.265-.64.345-.412.144-.858.17-1.29.128-.243-.023-.48-.068-.716-.123l-2.147-.583-.02.02-.02.02.583 2.142c.025.1.024.1.047.198.04.2.072.4.087.605.027.4-.007.81-.14 1.19-.092.27-.233.524-.42.742-.36.424-.888.713-1.44.79-.26.035-.525.023-.78-.032-.655-.14-1.208-.54-1.69-.988l-1.555-1.57-.03.01-.038.01-.563 2.132c-.03.098-.028.097-.06.194-.053.16-.11.32-.18.474-.19.415-.452.802-.804 1.094-.205.17-.44.305-.69.395-.506.18-1.083.173-1.586-.015-.246-.093-.475-.23-.674-.4-.36-.31-.616-.718-.8-1.15-.083-.19-.15-.387-.21-.585l-.566-2.14-.036-.01-.03-.01-1.555 1.568c-.073.07-.073.07-.147.138-.127.113-.257.22-.395.32-.354.253-.754.452-1.185.536-.28.054-.57.058-.852.006-.528-.097-1.024-.39-1.366-.804-.168-.204-.298-.438-.385-.687-.156-.446-.175-.927-.12-1.394.025-.206.066-.41.112-.612l.585-2.148-.02-.02-.02-.02-2.14.582-.198.046c-.166.034-.333.063-.502.08-.434.043-.88.015-1.296-.128-.27-.093-.524-.234-.742-.42-.423-.362-.713-.89-.79-1.442-.033-.24-.025-.484.02-.722.126-.677.537-1.25.997-1.745l1.57-1.56-.01-.03-.008-.036-2.134-.563-.194-.058c-.193-.065-.384-.138-.568-.227-.38-.185-.73-.434-1-.76-.17-.205-.306-.438-.395-.69-.186-.525-.173-1.127.038-1.644.1-.242.242-.466.417-.66.446-.496 1.07-.774 1.696-.968l2.142-.565.01-.035.008-.03-1.566-1.555-.14-.148c-.413-.467-.76-1.015-.865-1.64-.045-.262-.045-.532.003-.794.098-.527.392-1.024.807-1.365.203-.167.435-.296.683-.383.414-.145.86-.172 1.293-.13.242.022.48.068.716.122l2.147.585.02-.022.02-.02-.584-2.14c-.025-.1-.025-.1-.047-.2-.04-.2-.074-.4-.088-.604-.03-.42.01-.85.157-1.246.092-.25.228-.484.4-.687.35-.406.852-.69 1.38-.777.26-.044.527-.04.786.01.43.08.83.28 1.184.532.198.14.38.3.56.464l1.558 1.57.03-.008.036-.01.563-2.136.06-.193c.053-.16.11-.32.182-.474.18-.398.426-.77.757-1.057.232-.2.502-.358.794-.452.492-.158 1.044-.146 1.528.036.246.092.474.23.674.4.358.31.615.717.8 1.148.082.19.148.387.21.585l.565 2.142.035.01.032.008 1.553-1.566.148-.14c.453-.4.98-.738 1.58-.854.16-.03.32-.043.48-.043.062 0 .06 0 .123.005zM12.783 25.575l.1.026c.126.04.252.08.38.117.21.06.423.11.638.158l.1.027c.086.034.11.04.188.087.147.09.27.22.348.372.043.082.046.105.075.192l.7 2.647c.024.084.05.167.082.248.022.057.045.114.07.17.017.036.03.062.05.098.015.03.03.057.047.087.065.11.153.235.277.286.068.027.147.032.22.024.05-.006.1-.022.144-.048.056-.033.104-.08.146-.13.06-.072.112-.154.156-.238.08-.156.14-.322.188-.49l.7-2.654c.03-.087.032-.11.075-.192.095-.184.25-.334.44-.42.143-.068.303-.09.456-.126.128-.03.127-.03.254-.064.17-.047.336-.097.502-.15l.1-.027c.092-.014.114-.02.207-.02.173.004.344.056.49.15.077.05.092.067.16.13l1.93 1.944c.062.058.127.116.194.17.048.04.096.078.146.113.03.022.06.04.09.06.03.02.057.036.087.053.11.062.25.127.382.108.074-.01.145-.045.204-.09.042-.03.077-.068.102-.113.032-.056.05-.12.06-.184.018-.094.02-.19.017-.285-.008-.174-.04-.347-.08-.516l-.726-2.662c-.02-.09-.03-.112-.033-.204-.01-.208.05-.416.17-.586.092-.128.218-.226.332-.332l.274-.27.27-.29.074-.07c.072-.057.088-.075.168-.12.15-.08.324-.12.495-.113.093.004.115.013.204.032l2.653.72c.085.02.17.037.256.05.06.01.12.02.182.025.036.003.073.006.11.007.032.002.066.003.1.002.126-.002.28-.015.384-.096.058-.046.102-.113.132-.18.02-.048.032-.098.03-.15 0-.064-.017-.128-.04-.19-.03-.09-.077-.173-.128-.253-.094-.148-.21-.28-.33-.408l-1.95-1.935c-.062-.068-.08-.083-.13-.16-.112-.175-.163-.386-.145-.592.008-.092.017-.114.04-.203.04-.126.08-.253.117-.38.058-.21.11-.423.158-.637l.028-.1c.034-.084.04-.108.087-.186.09-.148.22-.27.372-.35.082-.04.105-.044.192-.073l2.648-.698c.083-.025.166-.052.247-.083l.168-.07.1-.05c.03-.015.056-.03.086-.048.11-.065.235-.153.285-.276.027-.07.032-.15.023-.222-.005-.05-.02-.1-.047-.145-.033-.057-.08-.104-.128-.146-.073-.062-.155-.112-.24-.156-.155-.08-.32-.14-.49-.188l-2.653-.7c-.088-.028-.11-.032-.193-.074-.184-.096-.334-.252-.42-.44-.067-.143-.09-.303-.126-.455-.03-.125-.064-.25-.1-.377-.037-.127-.075-.254-.116-.38l-.026-.1c-.013-.09-.02-.114-.018-.206.003-.173.055-.343.148-.49.05-.076.068-.09.13-.16L27.78 10c.058-.065.116-.13.17-.196.04-.048.077-.096.113-.146.02-.03.042-.06.06-.09.018-.027.038-.06.053-.087.062-.11.127-.25.11-.38-.01-.072-.044-.138-.084-.196-.03-.045-.072-.084-.12-.11-.057-.032-.12-.05-.184-.062-.094-.017-.19-.02-.286-.015-.176.007-.348.04-.518.08l-2.66.726c-.088.02-.11.028-.202.032-.207.01-.415-.05-.585-.17-.075-.052-.09-.07-.154-.136l-.27-.29c-.153-.153-.31-.304-.47-.45l-.072-.074c-.056-.072-.073-.088-.118-.168-.083-.152-.123-.325-.115-.497.004-.09.013-.113.032-.203l.722-2.654c.02-.085.037-.17.05-.255.01-.06.018-.12.024-.18.004-.038.006-.07.008-.11v-.1c0-.127-.014-.28-.096-.385-.044-.056-.107-.097-.17-.127-.05-.024-.105-.038-.16-.037-.065 0-.13.016-.19.037-.09.033-.173.078-.254.13-.148.094-.28.21-.408.33l-1.933 1.948c-.068.062-.082.08-.16.13-.174.11-.384.163-.59.145-.092-.008-.114-.018-.202-.04-.126-.04-.252-.08-.38-.116-.21-.058-.423-.11-.638-.157l-.1-.027c-.085-.034-.11-.04-.188-.087-.148-.09-.27-.22-.35-.373-.042-.082-.045-.105-.074-.193L16.692 2.8c-.025-.084-.052-.166-.083-.248l-.07-.168c-.024-.05-.048-.097-.074-.144-.016-.03-.03-.054-.048-.08-.065-.1-.148-.21-.263-.252-.066-.025-.142-.03-.21-.02-.052.004-.1.02-.146.046-.056.033-.103.08-.144.128-.062.073-.113.155-.157.24-.082.156-.14.32-.19.49l-.7 2.655c-.028.088-.03.11-.074.193-.095.185-.252.335-.44.422-.144.066-.304.088-.457.123-.127.032-.253.064-.378.1-.128.036-.255.075-.38.115l-.1.025c-.092.013-.114.02-.206.018-.172-.003-.342-.055-.487-.148-.078-.05-.093-.068-.16-.13L10 4.222c-.064-.06-.128-.117-.196-.172-.047-.038-.095-.076-.145-.11-.03-.022-.062-.043-.093-.063-.028-.018-.056-.035-.085-.05-.112-.063-.25-.128-.382-.11-.07.01-.138.044-.196.084-.047.033-.084.073-.112.122-.032.056-.05.12-.06.182-.017.094-.02.19-.015.285.007.174.04.346.08.515l.727 2.66c.02.09.027.112.032.204.01.206-.05.413-.17.582-.052.076-.07.09-.135.155l-.287.27c-.155.154-.305.31-.45.47l-.075.073c-.072.057-.088.075-.17.12-.15.082-.324.123-.496.115-.092-.004-.115-.013-.204-.032L4.914 8.8c-.084-.02-.17-.037-.255-.05-.06-.01-.12-.02-.182-.025l-.11-.008h-.1c-.13 0-.287.015-.394.103-.052.042-.09.102-.12.163-.023.05-.036.104-.035.16 0 .064.016.128.038.19.032.088.078.173.13.254.094.148.208.28.33.407l1.947 1.934c.062.068.08.083.13.16.112.175.163.384.145.59-.008.092-.018.114-.04.203-.04.127-.08.254-.117.382-.058.21-.11.423-.157.638L6.1 14c-.035.085-.04.108-.088.187-.09.147-.22.27-.373.35-.083.04-.106.045-.194.073l-2.647.698c-.084.025-.166.052-.247.083l-.17.07c-.034.017-.065.032-.098.05-.03.016-.057.03-.087.048-.11.066-.236.154-.286.277-.028.07-.034.15-.025.223.005.05.02.1.047.144.033.056.08.103.13.145.072.06.154.112.24.156.154.08.32.138.488.187l2.655.7c.087.03.11.033.192.076.183.095.333.25.42.44.067.143.09.303.124.455.032.127.065.253.1.378.037.128.075.255.115.38l.025.1c.013.092.02.115.018.206-.003.173-.055.343-.148.488-.05.077-.068.092-.13.16l-1.943 1.93c-.06.064-.117.128-.172.195-.04.048-.076.096-.11.146-.023.03-.043.06-.063.09-.018.03-.035.058-.05.087-.063.112-.128.25-.11.382.01.07.044.138.083.196.032.045.072.084.12.11.057.032.12.05.183.06.094.018.19.02.285.016.176-.008.35-.04.52-.083l2.66-.72c.09-.02.112-.03.204-.033.206-.01.413.05.583.17.075.052.09.07.154.135.088.097.178.192.27.287.153.155.31.305.47.453l.072.073c.057.072.074.088.118.17.083.15.123.323.115.495-.004.093-.013.115-.032.204L8.8 27.087c-.02.084-.037.17-.05.254-.01.06-.02.122-.024.183-.004.037-.007.074-.008.11-.002.035-.002.066-.002.1.003.128.016.28.098.386.046.058.112.102.18.132.047.02.098.032.15.03.064 0 .128-.016.188-.038.09-.033.175-.078.255-.13.148-.094.28-.208.407-.33l1.935-1.95c.067-.06.082-.08.16-.13.115-.073.248-.122.384-.14.092-.01.115-.007.207-.004l.103.015zM16.086 9.32c.34.008.678.035 1.013.09.595.1 1.177.28 1.724.535 1.24.58 2.288 1.543 2.97 2.73.354.615.61 1.286.75 1.98.153.75.177 1.522.07 2.278-.094.68-.295 1.345-.593 1.964-.336.7-.797 1.34-1.353 1.883-.595.582-1.3 1.05-2.066 1.375-.794.336-1.65.513-2.513.525-.865.01-1.73-.146-2.536-.463-.774-.306-1.49-.76-2.1-1.327-.588-.548-1.076-1.2-1.434-1.92-.306-.614-.515-1.276-.618-1.954-.115-.755-.1-1.53.042-2.28.134-.696.38-1.37.726-1.99.654-1.172 1.664-2.133 2.865-2.73.59-.293 1.223-.498 1.872-.605.278-.045.56-.072.84-.084.115-.004.23-.005.344-.005zm-.148 1.884c-.68.012-1.348.16-1.964.447-.54.253-1.034.608-1.446 1.04-.386.405-.7.877-.925 1.39-.198.453-.325.937-.375 1.43-.055.545-.018 1.1.112 1.633.092.38.23.747.414 1.092.515.975 1.364 1.756 2.38 2.186.57.243 1.186.37 1.804.377.622.008 1.243-.103 1.82-.332.558-.22 1.072-.544 1.51-.952.423-.394.774-.863 1.032-1.38.21-.423.356-.876.433-1.34.087-.524.087-1.06 0-1.584-.074-.447-.212-.882-.408-1.29-.47-.974-1.27-1.775-2.245-2.244-.612-.295-1.278-.45-1.955-.47-.062-.002-.125-.003-.187-.002z" fill-rule="nonzero"/></symbol><symbol id="svg-heart-circle" data-name="heart-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M11.228 6.83c.45.027.894.1 1.326.234 1.488.46 2.712 1.564 3.47 2.912.08-.146.172-.287.263-.427.49-.72 1.086-1.355 1.816-1.83.545-.357 1.15-.617 1.785-.762.565-.13 1.15-.166 1.727-.112.482.046.958.155 1.413.32.416.152.815.353 1.186.594.934.607 1.685 1.475 2.174 2.473.358.732.576 1.527.66 2.336.04.374.056.753.034 1.13-.044.792-.254 1.57-.55 2.304-.44 1.098-1.07 2.116-1.77 3.068-1.223 1.67-2.673 3.174-4.192 4.577-1.256 1.16-2.568 2.265-3.944 3.282l-.07.048c-.258.144-.545.194-.83.106-.085-.025-.16-.063-.236-.106-.177-.12-.346-.253-.517-.383-1.207-.932-2.376-1.913-3.497-2.948C10.3 22.56 9.173 21.415 8.15 20.18c-.7-.848-1.355-1.74-1.905-2.693-.41-.71-.762-1.46-.998-2.244-.15-.503-.252-1.02-.282-1.546-.018-.323-.01-.648.018-.97.08-.96.346-1.906.81-2.753.443-.812 1.065-1.524 1.817-2.064.397-.285.83-.52 1.285-.7.578-.226 1.183-.35 1.802-.385.178-.006.354-.006.53 0zm9.778 2.024c-.31.012-.615.058-.912.15-.224.07-.44.162-.646.275-1.17.64-1.877 1.87-2.267 3.106-.065.206-.12.414-.172.624l-.026.086c-.067.17-.16.32-.3.44-.4.342-1.016.315-1.385-.06-.107-.11-.178-.238-.234-.38-.055-.186-.1-.375-.153-.562-.377-1.234-1.023-2.467-2.154-3.163-.153-.093-.312-.177-.477-.247-.367-.155-.76-.245-1.155-.265-.336-.018-.674.015-1 .093-.28.068-.55.167-.805.295-.833.418-1.49 1.13-1.88 1.973-.228.492-.365 1.024-.422 1.563-.042.407-.044.816.02 1.22.104.646.344 1.267.633 1.852.446.902 1.02 1.738 1.638 2.53.806 1.03 1.7 1.992 2.636 2.908 1.277 1.253 2.635 2.42 4.043 3.524l.036.027c1.015-.783 1.997-1.613 2.945-2.478.787-.717 1.55-1.46 2.276-2.24.978-1.05 1.903-2.167 2.65-3.395.47-.777.887-1.617 1.075-2.512.098-.474.11-.953.06-1.433-.054-.506-.177-1.005-.38-1.47-.35-.803-.937-1.496-1.693-1.94-.248-.148-.513-.266-.788-.353-.324-.103-.657-.155-.995-.166h-.17z" fill-rule="nonzero"/></symbol><symbol id="svg-icons" data-name="icons" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#f0f3f6" d="M334.8 119s-50.5 62.4-112.8 62.4S109.3 119 109.3 119s50.5-62.4 112.8-62.4S334.8 119 334.8 119z"/><path fill="#d6dde7" d="M222.1 183.9c-18.1 0-47-5.5-81.3-31.7-20.4-15.6-32.9-31-33.5-31.6L106 119l1.3-1.6c.5-.6 13-16 33.5-31.6 34.3-26.2 63.1-31.7 81.3-31.7 18.1 0 47 5.5 81.3 31.7 20.4 15.6 32.9 31 33.5 31.6l1.3 1.6-1.3 1.6c-.5.6-13 16-33.5 31.6-34.4 26.2-63.2 31.7-81.3 31.7zM112.6 119c8.3 9.6 54.6 59.9 109.5 59.9s101.2-50.3 109.5-59.9c-8.3-9.6-54.6-59.9-109.5-59.9S120.9 109.4 112.6 119z"/><path fill="#59a702" d="M222.1 69.4c-27 0-49 21.9-49 49s21.9 49 49 49c27 0 49-21.9 49-49s-22-49-49-49zm11.5 40.9c-6.4 0-11.5-5.2-11.5-11.5s5.2-11.5 11.5-11.5c6.4 0 11.5 5.2 11.5 11.5s-5.2 11.5-11.5 11.5z"/><path fill="#549103" d="M233.6 110.3c-6.4 0-11.5-5.2-11.5-11.5 0-.6.1-1.3.2-1.9h-.2c-11.9 0-21.5 9.6-21.5 21.5s9.6 21.5 21.5 21.5 21.5-9.6 21.5-21.5c0-3.8-1-7.4-2.8-10.6-2 1.6-4.5 2.5-7.2 2.5z"/></symbol><symbol id="svg-inputs" data-name="inputs" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#297adf" d="M278.9 64.2h-89.8c-29.1 0-52.8 23.8-52.8 52.8 0 29.1 23.8 52.8 52.8 52.8h89.8c29.1 0 52.8-23.8 52.8-52.8 0-29.1-23.7-52.8-52.8-52.8zm-.8 95.8c-23.3 0-42.2-18.9-42.2-42.2 0-23.3 18.9-42.2 42.2-42.2 23.3 0 42.2 18.9 42.2 42.2 0 23.3-18.9 42.2-42.2 42.2z"/></symbol><symbol id="svg-lock-circle" data-name="lock-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M9.558 11.134c0-.338.007-.676.01-1.014.03-.753.17-1.492.446-2.194.668-1.696 2.063-3.057 3.775-3.683.658-.24 1.345-.362 2.044-.388.166-.002.165-.002.332 0 .7.026 1.386.147 2.045.388 1.712.626 3.108 1.987 3.776 3.683.277.702.416 1.44.445 2.194.005.338.01.676.013 1.014.634.02 1.27.044 1.903.07.077.01.15.02.223.046.24.083.44.267.542.5.042.095.062.192.074.294.18 4.31.004 8.627.004 12.94-.005.103-.017.202-.05.3-.083.24-.267.44-.5.542-.095.042-.192.062-.294.075-5.534.23-11.078.004-16.617.004-.103-.004-.2-.016-.3-.05-.24-.083-.44-.266-.542-.5-.042-.095-.062-.19-.074-.293-.18-4.31-.004-8.627-.004-12.94.005-.103.017-.2.05-.3.083-.24.267-.44.5-.542.095-.04.192-.062.294-.074.634-.026 1.27-.05 1.904-.07zm13.794 1.905H8.648v11.026h14.704V13.04zm-8.303 5.247c-.57-.347-.92-.992-.886-1.667.01-.183.046-.365.11-.538.07-.195.176-.378.31-.54.15-.18.334-.332.54-.444.244-.132.507-.2.782-.22.095-.002.094-.002.188 0 .275.02.538.088.78.22.208.112.394.264.544.445.132.16.237.344.31.54.062.172.098.354.108.537.034.682-.324 1.333-.902 1.677.023 1.03.043 2.06-.018 3.085-.015.147-.057.287-.136.413-.218.35-.656.514-1.05.392-.105-.032-.204-.083-.29-.15-.097-.074-.18-.168-.24-.274-.066-.118-.103-.246-.116-.38-.06-1.03-.073-2.065-.035-3.096zm5.54-7.204c.003-.305.007-.61.003-.917-.022-.575-.134-1.138-.36-1.67-.522-1.234-1.586-2.2-2.867-2.6-.517-.16-1.062-.227-1.603-.2-.496.026-.986.13-1.448.313-.516.202-.994.5-1.404.873-.436.397-.796.878-1.052 1.41-.283.588-.426 1.223-.45 1.873-.005.306 0 .612.002.917 3.06-.07 6.12-.07 9.18 0z"/></symbol><symbol id="svg-logo" data-name="logo" viewBox="0 0 54 32" width="54" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M32.207 25.946L21.72 32l-11.234-6.486L0 19.46V6.485L11.235 0 21.72 6.054 32.207 0 43.44 6.486l10.487 6.055v12.974L42.693 32l-10.486-6.054zm.66-1.343V14.27l9.054 5.19.003 10.378-9.055-5.235zm-20.884.046V14.27l9.085 5.218.002 10.44-9.086-5.28zM1.498 18.594V8.215l8.988 5.19v10.38l-8.988-5.19zM21.72 7.785l8.99 5.188-8.99 5.19-8.988-5.19 8.99-5.19zm20.973 0l8.988 5.188-8.987 5.19-8.99-5.19 8.99-5.19zM11.235 1.728l8.988 5.19-8.988 5.188-8.99-5.19 8.99-5.188zm20.97 0l8.99 5.19-8.99 5.188-8.987-5.19 8.988-5.188z"/><path d="M1.437 18.643L1.442 8.11l19.652 11.35.01 10.545L1.436 18.643zm31.37 6l.03-10.464 9.147 5.243-.01 10.582-9.168-5.363z" fill-opacity=".345"/></symbol><symbol id="svg-message-circle" data-name="message-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M17.342 23.582l-3.53 3.53-.066.06c-.12.088-.245.155-.392.185-.38.076-.778-.112-.96-.455-.072-.133-.1-.272-.107-.42v-2.9c-.087 0-.174-.002-.26-.003l-.41-.022c-.333-.03-.665-.072-.994-.14-.64-.132-1.266-.344-1.856-.63-1.33-.643-2.473-1.658-3.273-2.9-.457-.713-.8-1.496-1.012-2.314-.203-.783-.284-1.597-.243-2.405.043-.864.228-1.718.546-2.52.357-.9.877-1.73 1.527-2.446.692-.76 1.53-1.388 2.455-1.836.71-.343 1.47-.58 2.248-.7.335-.05.672-.077 1.01-.09 2.665-.034 5.33-.034 7.996 0 .338.013.674.04 1.01.09.778.12 1.54.357 2.248.7.926.448 1.763 1.075 2.454 1.836.65.715 1.17 1.547 1.527 2.445.32.802.505 1.656.55 2.52.04.807-.04 1.62-.244 2.404-.212.818-.556 1.6-1.013 2.313-.87 1.353-2.146 2.434-3.627 3.063-.668.283-1.374.475-2.094.567-.336.043-.672.06-1.01.065h-2.48zm.123-5.826c.128.01.25.04.364.1.097.05.186.12.26.203.267.305.29.767.058 1.1-.055.078-.122.146-.198.203-.143.106-.31.16-.485.175-2.205.06-4.412.06-6.617 0-.176-.014-.342-.07-.485-.175-.326-.242-.448-.69-.29-1.063.037-.088.088-.17.15-.24.074-.084.163-.154.26-.205.115-.06.237-.09.365-.1 2.205-.058 4.412-.058 6.617 0zm3.747-2.847c.18.017.35.075.493.19.373.293.447.846.166 1.228-.07.096-.16.178-.263.24-.122.07-.255.107-.395.12-3.457.117-6.92.117-10.376 0-.18-.017-.35-.075-.494-.19-.372-.293-.447-.846-.165-1.228.07-.096.16-.178.264-.24.123-.07.255-.107.396-.12 3.457-.117 6.92-.117 10.376 0zm0-2.85c.14.015.273.05.395.123.103.06.193.143.264.24.282.38.208.934-.165 1.228-.144.115-.312.173-.493.192-3.457.115-6.92.115-10.376 0-.18-.02-.35-.077-.494-.19-.372-.295-.447-.848-.165-1.23.07-.096.16-.178.264-.24.123-.07.255-.107.396-.12 3.457-.117 6.92-.117 10.376 0z"/></symbol><symbol id="svg-messages" data-name="messages" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#d6dde7" class="st0" d="M349.1 197.3H118.9c-1.8 0-3.3-1.5-3.3-3.3V39.4c0-1.8 1.5-3.3 3.3-3.3h230.2c1.8 0 3.3 1.5 3.3 3.3V194c0 1.8-1.5 3.3-3.3 3.3z"/><path fill="#59a702" d="M327.1 80.3H140.6c-2.1 0-3.8-1.7-3.8-3.8V36h194.1v40.5c0 2.1-1.7 3.8-3.8 3.8z"/><path fill="#549103" d="M140.6 80.3h40.5V36h-44.3v40.5c0 2.1 1.7 3.8 3.8 3.8z"/><circle fill="#7bc117" cx="307.7" cy="58.1" r="11.8"/></symbol><symbol id="svg-no-circle" data-name="no-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M16.288 3.93c.48.018.958.052 1.434.12 1.2.174 2.37.53 3.463 1.053 2.135 1.02 3.95 2.69 5.153 4.727.596 1.01 1.042 2.104 1.32 3.242.272 1.12.384 2.28.33 3.43-.06 1.254-.318 2.495-.76 3.67-1.17 3.098-3.644 5.633-6.713 6.877-1.43.58-2.97.878-4.515.878-1.544 0-3.084-.3-4.515-.88-2.284-.925-4.256-2.57-5.59-4.642-.555-.866-1-1.805-1.315-2.785-.355-1.1-.55-2.25-.577-3.404-.028-1.154.11-2.31.412-3.425.318-1.18.82-2.31 1.48-3.34 1.2-1.866 2.92-3.39 4.92-4.347 1.092-.524 2.264-.88 3.463-1.052.476-.068.954-.102 1.434-.12.29-.003.288-.003.576 0zM23.67 9.8L9.874 23.597c.736.59 1.556 1.074 2.432 1.43 1.17.474 2.432.718 3.695.718s2.524-.244 3.695-.72c2.51-1.017 4.536-3.09 5.49-5.625.363-.96.573-1.976.622-3 .05-1.023-.062-2.053-.33-3.04-.26-.966-.67-1.89-1.21-2.73-.183-.288-.383-.565-.596-.83zM22.13 8.256c-.58-.465-1.213-.865-1.885-1.186-.894-.427-1.852-.718-2.833-.86-.39-.056-.78-.083-1.175-.098-.235-.003-.234-.003-.47 0-.394.015-.785.042-1.175.1-.98.14-1.94.43-2.833.86-1.637.783-3.044 2.03-4.025 3.557-.54.84-.95 1.764-1.21 2.73-.246.912-.36 1.86-.338 2.803.023.946.182 1.888.472 2.788.26.802.62 1.57 1.076 2.276.184.287.384.564.597.83l13.798-13.8z"/></symbol><symbol id="svg-panel" data-name="panel" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#d6dde7" d="M371.4 41c1.6 0 3 1.4 3 3v56c0 1.6-1.4 3-3 3H96.6c-1.6 0-3-1.4-3-3V44c0-1.6 1.4-3 3-3h274.8m0-5H96.6c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h274.8c4.4 0 8-3.6 8-8V44c0-4.4-3.6-8-8-8zM371.4 198H96.6c-4.4 0-8-3.6-8-8v-56c0-4.4 3.6-8 8-8h274.8c4.4 0 8 3.6 8 8v56c0 4.4-3.6 8-8 8z"/></symbol><symbol id="svg-pencil-circle" data-name="pencil-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M7.925 18.165c3.857-4.193 8.057-8.058 12.086-12.087.123-.112.256-.198.417-.24.07-.02.088-.02.16-.03.08-.002.08-.002.162 0 .07.01.088.01.158.03.134.035.248.1.357.185 1.634 1.497 3.137 3.132 4.704 4.7.055.06.106.12.147.192.136.236.16.526.068.782-.037.104-.094.192-.16.28-3.865 4.216-8.087 8.09-12.132 12.135l-.022.02c-.07.066-.15.12-.237.16-.022.012-.044.022-.067.032-2.164.718-4.384 1.256-6.577 1.882-.137.033-.27.047-.41.024-.357-.06-.654-.332-.746-.684-.035-.136-.033-.27-.013-.408.53-2.22 1.252-4.39 1.878-6.582.006-.02.013-.037.02-.055.034-.095.084-.186.148-.267l.016-.02.017-.02c.008-.01.016-.02.025-.028zm.16 5.796l3.335-.952c-.81-.77-1.616-1.546-2.39-2.35l-.944 3.303zm5.185-1.852l7.013-7.013-3.33-3.33-7.032 7.03c1.14 1.082 2.28 2.164 3.35 3.313zm4.996-11.658l3.33 3.33L24 11.38l-3.332-3.332-2.402 2.402z"/></symbol><symbol id="svg-plus-circle" data-name="plus-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M23.24 17.376h-5.792v5.792c0 .8-.65 1.448-1.448 1.448-.8 0-1.448-.648-1.448-1.448v-5.792H8.76c-.8 0-1.448-.65-1.448-1.448 0-.8.65-1.448 1.448-1.448h5.792V8.688c0-.8.65-1.448 1.448-1.448.8 0 1.448.65 1.448 1.448v5.792h5.792c.8 0 1.448.65 1.448 1.448 0 .8-.65 1.448-1.448 1.448" fill-rule="nonzero"/></symbol><symbol id="svg-progress-bars" data-name="progress-bars" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#dfe3e6" d="M401.6 129.5H66.4c-6.9 0-12.5-5.6-12.5-12.5s5.6-12.5 12.5-12.5h335.3c6.9 0 12.5 5.6 12.5 12.5-.1 6.9-5.7 12.5-12.6 12.5z"/><path fill="#efc102" d="M333.4 129.5h-267c-6.9 0-12.5-5.6-12.5-12.5s5.6-12.5 12.5-12.5h267c6.9 0 12.5 5.6 12.5 12.5-.1 6.9-5.7 12.5-12.5 12.5z"/></symbol><symbol id="svg-progress-circle" data-name="progress-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><g fill-rule="nonzero"><path d="M16 21.288c-.58 0-1.048.47-1.048 1.048v3.52c0 .58.47 1.05 1.048 1.05.578 0 1.048-.47 1.048-1.05v-3.52c0-.58-.47-1.048-1.048-1.048" fill-opacity=".502"/><path d="M25.955 14.9l-3.458-.008c-.597.013-1.05.467-1.05 1.046-.002.58.467 1.05 1.046 1.05l3.458.007h.003c.577 0 1.046-.468 1.048-1.046 0-.58-.467-1.05-1.045-1.05" fill-opacity=".251"/><path d="M16.025 2.832h-.003c-.577 0-1.045.468-1.047 1.046l-.01 5.46c-.002.58.466 1.05 1.044 1.05h.002c.578 0 1.046-.467 1.047-1.045l.01-5.46c.002-.58-.466-1.05-1.045-1.05"/><path d="M13.75 20.81c-.536-.223-1.148.03-1.37.565l-1.375 3.298c-.223.534.03 1.147.563 1.37.133.054.27.082.403.082.412 0 .8-.243.97-.647l1.373-3.297c.224-.533-.028-1.147-.562-1.37" fill-opacity=".6"/><path d="M19.604 21.393c-.22-.537-.833-.79-1.367-.572-.535.22-.79.833-.57 1.37l1.354 3.298c.168.406.56.65.97.65.133 0 .27-.024.398-.078.536-.22.79-.833.572-1.367l-1.356-3.3z" fill-opacity=".4"/><path d="M9.5 16.964h.002c.578 0 1.046-.468 1.048-1.046 0-.58-.467-1.05-1.046-1.05L6.05 14.86h-.003C5.47 14.86 5 15.33 5 15.908c-.003.578.465 1.05 1.045 1.05l3.455.007z" fill-opacity=".902"/><path d="M21.075 13.83c.166.405.557.65.97.65.132 0 .267-.026.398-.08l3.158-1.296c.535-.22.79-.833.57-1.366-.22-.535-.83-.793-1.367-.57l-3.158 1.294c-.536.22-.79.833-.57 1.367" fill-opacity=".2"/><path d="M10.992 17.99c-.22-.536-.83-.794-1.367-.57l-3.228 1.332c-.535.22-.79.833-.57 1.366.167.405.558.65.97.65.13 0 1.557-.558 1.688-.613l1.938-.798c.535-.22.79-.833.57-1.367" fill-opacity=".8"/><path d="M21.28 19.75c-.407-.408-1.07-.41-1.48-.002-.41.41-.412 1.072-.002 1.482l2.482 2.49c.205.204.475.308.743.308s.535-.103.74-.306c.41-.41.41-1.07.003-1.482l-2.485-2.49z" fill-opacity=".349"/><path d="M19.902 12.04c.205.205.474.308.743.308.268 0 .536-.102.74-.305l2.405-2.397c.41-.41.412-1.072.002-1.482-.408-.41-1.07-.41-1.48-.003l-2.405 2.398c-.412.41-.412 1.07-.005 1.482" fill-opacity=".149"/><path d="M18.13 10.813c.132.054.27.08.403.08.41 0 .8-.242.968-.645l1.292-3.107c.223-.532-.03-1.145-.564-1.368-.535-.222-1.15.032-1.37.565l-1.292 3.106c-.222.534.03 1.147.564 1.37" fill-opacity=".102"/><path d="M13.176 6.326c-.22-.535-.834-.793-1.368-.57-.534.222-.79.834-.57 1.37l1.287 3.115c.166.406.556.65.97.65.13 0 .267-.025.397-.08.536-.22.79-.833.57-1.367l-1.286-3.117zM10.626 12.015c.204.205.473.308.742.308.267 0 .535-.102.74-.305.41-.41.41-1.073.002-1.482l-2.393-2.4c-.41-.41-1.072-.41-1.48-.002-.412.41-.413 1.07-.005 1.482l2.394 2.4z"/><path d="M12.186 19.73c-.41-.412-1.072-.413-1.482-.004L8.208 22.21c-.41.41-.41 1.072-.002 1.482.204.206.472.308.743.308.265 0 .533-.1.737-.305l2.495-2.485c.41-.408.41-1.07.004-1.48" fill-opacity=".702"/><path d="M25.59 18.787l-3.214-1.338c-.534-.223-1.148.03-1.37.563-.222.535.03 1.148.565 1.37l3.214 1.34c.13.054.268.08.403.08.41 0 .8-.243.967-.644.223-.537-.03-1.15-.564-1.373" fill-opacity=".302"/><path d="M6.407 13.07l3.16 1.314c.13.054.267.08.4.08.41 0 .8-.243.968-.646.223-.533-.03-1.146-.564-1.37l-3.156-1.314c-.535-.222-1.15.03-1.37.564-.223.535.03 1.148.563 1.37"/></g></symbol><symbol id="svg-progress" data-name="progress" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill="none"/><g fill-rule="nonzero"><path d="M16 22.915c-.758 0-1.37.613-1.37 1.37v4.605c0 .756.612 1.37 1.37 1.37.756 0 1.37-.614 1.37-1.37v-4.605c0-.757-.614-1.37-1.37-1.37" fill-opacity=".502"/><path d="M29.018 14.56l-4.522-.008c-.78.016-1.373.61-1.373 1.367-.002.756.61 1.37 1.368 1.372l4.522.01h.003c.755 0 1.367-.612 1.37-1.37 0-.755-.61-1.37-1.367-1.37" fill-opacity=".251"/><path d="M16.033.242h-.002c-.754 0-1.367.61-1.37 1.367l-.015 5.68c0 .755.61 1.37 1.367 1.372h.003c.756 0 1.37-.61 1.37-1.368l.016-5.68c.003-.757-.61-1.37-1.367-1.372"/><path d="M13.06 22.29c-.703-.292-1.503.04-1.795.738L9.468 27.34c-.29.7.04 1.5.736 1.79.174.074.352.11.528.11.537 0 1.045-.318 1.266-.846l1.796-4.31c.292-.7-.037-1.503-.735-1.793" fill-opacity=".6"/><path d="M20.713 23.052c-.287-.702-1.09-1.035-1.788-.748-.7.287-1.035 1.09-.747 1.79l1.773 4.313c.22.53.73.85 1.27.85.172 0 .35-.032.52-.1.7-.29 1.033-1.09.747-1.79l-1.774-4.315z" fill-opacity=".4"/><path d="M7.5 17.26h.003c.755 0 1.368-.61 1.37-1.367 0-.758-.61-1.372-1.367-1.373l-4.518-.01h-.003c-.756 0-1.37.612-1.37 1.368-.003.757.61 1.372 1.367 1.373l4.52.01z" fill-opacity=".902"/><path d="M22.636 13.162c.218.53.73.85 1.267.85.174 0 .35-.034.522-.105l4.13-1.694c.698-.287 1.033-1.09.744-1.786-.29-.7-1.088-1.037-1.79-.745l-4.13 1.692c-.7.287-1.032 1.09-.744 1.788" fill-opacity=".2"/><path d="M9.45 18.602c-.287-.7-1.085-1.04-1.787-.745l-4.22 1.74c-.7.29-1.033 1.09-.745 1.788.217.53.728.85 1.267.85.172 0 2.036-.73 2.208-.8l2.534-1.045c.7-.288 1.033-1.09.744-1.788" fill-opacity=".8"/><path d="M22.906 20.904c-.533-.534-1.4-.537-1.937-.002-.537.534-.54 1.4-.004 1.937l3.246 3.255c.27.267.62.402.97.402.352 0 .7-.134.97-.4.536-.534.537-1.4.003-1.937l-3.25-3.256z" fill-opacity=".349"/><path d="M21.103 10.822c.267.268.62.402.97.402.352 0 .7-.133.97-.398l3.144-3.135c.536-.534.538-1.4.003-1.937-.535-.535-1.4-.537-1.938-.004L21.11 8.883c-.54.535-.54 1.4-.007 1.938" fill-opacity=".149"/><path d="M18.786 9.217c.173.07.35.106.526.106.536 0 1.047-.318 1.266-.844l1.69-4.064c.29-.697-.04-1.5-.74-1.79-.7-.29-1.5.04-1.792.738l-1.69 4.06c-.29.7.04 1.5.74 1.793" fill-opacity=".102"/><path d="M12.307 3.35c-.29-.7-1.09-1.037-1.79-.744-.698.288-1.032 1.09-.743 1.79l1.682 4.074c.216.528.727.848 1.267.848.173 0 .35-.033.52-.105.7-.287 1.034-1.09.746-1.787L12.306 3.35zM8.973 10.79c.267.267.618.4.97.4.35 0 .7-.132.967-.397.536-.535.54-1.403.003-1.938l-3.13-3.137c-.533-.537-1.4-.538-1.936-.004-.537.535-.54 1.4-.004 1.938l3.13 3.137z"/><path d="M11.012 20.876c-.536-.537-1.402-.538-1.937-.004l-3.265 3.25c-.535.533-.537 1.4-.002 1.936.267.27.618.403.97.403.35 0 .7-.13.967-.398l3.263-3.25c.536-.533.537-1.4.004-1.936" fill-opacity=".702"/><path d="M28.54 19.645l-4.203-1.75c-.697-.29-1.5.04-1.79.738-.29.698.04 1.5.738 1.792l4.202 1.75c.17.07.35.106.526.106.537 0 1.045-.317 1.264-.842.292-.7-.038-1.502-.737-1.793" fill-opacity=".302"/><path d="M3.456 12.167l4.13 1.72c.172.07.35.105.526.105.537 0 1.047-.318 1.264-.846.292-.697-.038-1.498-.737-1.79l-4.13-1.72c-.698-.29-1.5.04-1.79.74-.292.698.038 1.5.736 1.79"/></g></symbol><symbol id="svg-question-circle" data-name="question-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M17.46 17.292v3.053c0 .807-.653 1.46-1.46 1.46-.807 0-1.46-.653-1.46-1.46v-4.33c0-.804.653-1.46 1.46-1.46 1.584 0 2.87-1.284 2.87-2.868 0-1.584-1.286-2.87-2.87-2.87s-2.87 1.286-2.87 2.87c0 .806-.654 1.46-1.46 1.46-.81 0-1.462-.654-1.462-1.46 0-3.194 2.598-5.792 5.792-5.792s5.792 2.598 5.792 5.792c0 2.69-1.84 4.956-4.33 5.605M16 25.398c-.798 0-1.444-.643-1.444-1.444 0-.795.646-1.438 1.444-1.438.798 0 1.444.643 1.444 1.438 0 .8-.646 1.444-1.444 1.444" fill-rule="nonzero"/></symbol><symbol id="svg-refresh-circle" data-name="refresh-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M25.628 10.107l-1.048 4.12c-.012.046-.044.086-.064.135-.172.46-.638.794-1.13.794-.033 0-.065-.01-.1-.012-.032-.003-.06-.008-.09-.013-.038-.006-.077-.004-.114-.013l-4.117-1.05c-.66-.168-1.06-.836-.893-1.497.17-.663.836-1.062 1.502-.89l1.462.37c-.506-.614-1.122-1.137-1.842-1.53-1.47-.81-3.17-.99-4.775-.526-1.613.47-2.945 1.538-3.75 3.01-.81 1.47-1 3.168-.526 4.777.967 3.327 4.46 5.247 7.785 4.276.655-.185 1.338.185 1.525.838.193.654-.182 1.336-.838 1.53-.813.235-1.632.35-2.44.35-3.79 0-7.29-2.486-8.402-6.302-.653-2.246-.392-4.608.732-6.656 1.125-2.046 2.98-3.533 5.224-4.19 2.242-.65 4.604-.393 6.65.73 1.015.56 1.893 1.298 2.598 2.173l.26-1.03c.17-.662.842-1.064 1.5-.89.658.166 1.058.837.89 1.497" fill-rule="nonzero"/></symbol><symbol id="svg-restore" data-name="restore" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill="none"/><path d="M24.34 7.216c-2.384-2.223-5.49-3.388-8.75-3.273-3.396.12-6.64 1.703-8.9 4.348-1.456 1.707-2.397 3.723-2.777 5.888l-1.456-2.193c-.356-.535-1.076-.68-1.612-.325-.535.354-.682 1.076-.325 1.61l3.478 5.24c.415.658 1.42.695 1.9.057l4.02-4.575c.423-.483.375-1.217-.107-1.642-.482-.422-1.216-.374-1.64.107l-1.982 2.256c.295-1.81 1.06-3.496 2.27-4.91 1.838-2.152 4.467-3.44 7.212-3.536 2.638-.096 5.154.85 7.085 2.65 1.93 1.8 3.044 4.244 3.136 6.883.094 2.638-.846 5.153-2.647 7.085-1.8 1.93-4.246 3.044-6.884 3.136-.643.023-1.145.56-1.123 1.203.023.628.538 1.122 1.163 1.122h.04c3.26-.114 6.28-1.49 8.503-3.874 2.225-2.385 3.387-5.494 3.272-8.75-.114-3.26-1.49-6.28-3.874-8.504" fill-rule="nonzero"/></symbol><symbol id="svg-search-circle" data-name="search-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M7.716 13.77c0-3.362 2.738-6.102 6.105-6.102 3.363 0 6.1 2.74 6.1 6.103 0 3.365-2.737 6.105-6.1 6.105-3.366 0-6.104-2.74-6.104-6.104m18.19 10.785l-5.88-5.882c1.073-1.353 1.74-3.042 1.74-4.902 0-4.38-3.564-7.948-7.945-7.948-4.383 0-7.95 3.567-7.95 7.95 0 4.382 3.567 7.95 7.95 7.95 1.857 0 3.548-.67 4.9-1.744l5.883 5.882c.18.18.415.27.652.27.236 0 .472-.09.65-.27.363-.358.363-.943 0-1.305" fill-rule="nonzero"/></symbol><symbol id="svg-section" data-name="section" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#f69524" d="M228.9 112.3h-76.1V55.9c0-10.9 8.8-19.7 19.7-19.7h56.4v76.1z"/><path fill="#d6dde7" d="M228.9 197.8h-56.6c-10.8 0-19.5-8.7-19.5-19.5v-56.6h76.1v76.1zM315.2 112.3h-76.1V36.2H296c10.6 0 19.2 8.6 19.2 19.2v56.9zM295.7 197.8h-56.6v-76.1h76.1v56.6c0 10.7-8.7 19.5-19.5 19.5z"/></symbol><symbol id="svg-sliders" data-name="sliders" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle fill="#297adf" cx="164.6" cy="117" r="6.6"/><path fill="#297adf" d="M145.7 117c0-1.7.3-3.4.7-5H80.2c-2-5-6.8-8.5-12.5-8.5-7.5 0-13.5 6-13.5 13.5s6 13.5 13.5 13.5c5.7 0 10.5-3.5 12.5-8.5h66.2c-.5-1.6-.7-3.3-.7-5z"/><path fill="#d6dde7" d="M400.3 103.5c-5.7 0-10.5 3.5-12.5 8.5H246.5c-2-5-6.8-8.5-12.5-8.5s-10.5 3.5-12.5 8.5h-38.6c-2.2-8-9.5-13.9-18.2-13.9-10.4 0-18.9 8.5-18.9 18.9 0 10.4 8.5 18.9 18.9 18.9 8.7 0 16-5.9 18.2-13.9h38.6c2 5 6.8 8.5 12.5 8.5s10.5-3.5 12.5-8.5h141.3c2 5 6.8 8.5 12.5 8.5 7.5 0 13.5-6 13.5-13.5s-6-13.5-13.5-13.5zm-235.7 27.4c-7.7 0-13.9-6.2-13.9-13.9s6.2-13.9 13.9-13.9 13.9 6.2 13.9 13.9-6.2 13.9-13.9 13.9zm18.9-12.3c0-.5.1-1.1.1-1.6s0-1.1-.1-1.6c0 .5.1 1.1.1 1.6s-.1 1.1-.1 1.6zm-.2 1.4c0-.2.1-.5.1-.7 0 .3-.1.5-.1.7zm0-6c0 .2.1.5.1.7 0-.3-.1-.5-.1-.7z"/></symbol><symbol id="svg-star-circle" data-name="star-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M16.08 5.155c.28.025.535.142.71.367.053.067.09.137.126.213l2.607 6.106h6.06l.082.005c.17.022.325.07.466.17.376.263.512.773.317 1.188-.06.13-.15.233-.254.328l-5.213 4.342 2.63 7.014.025.08c.04.167.048.33.004.5-.118.445-.554.75-1.014.708-.172-.016-.323-.08-.467-.174l-6.136-4.38L9.89 26l-.072.046c-.15.08-.307.13-.48.132-.462.002-.87-.34-.947-.796-.028-.17-.004-.333.05-.496l2.628-7.014-5.213-4.34-.062-.057c-.096-.104-.175-.215-.224-.35-.16-.43.02-.926.418-1.156.15-.087.308-.122.478-.13h6.062l2.632-6.108.036-.074c.042-.072.086-.14.144-.2.155-.167.354-.258.576-.296.082-.007.082-.007.164-.007zm-2.045 8.02c-.035.072-.072.14-.12.205-.13.168-.316.29-.522.343-.08.02-.156.026-.236.03h-4.05l3.706 3.084.062.057c.058.063.11.125.154.2.097.17.14.37.123.567-.01.087-.03.166-.057.247l-1.768 4.717 4.14-2.955.072-.047c.076-.04.15-.076.233-.098.19-.052.397-.043.583.025.08.03.15.072.223.12l4.14 2.954-1.768-4.717-.026-.08c-.02-.083-.034-.164-.035-.25 0-.197.06-.393.175-.554.05-.07.107-.128.17-.186l3.705-3.084h-4.05l-.078-.004c-.08-.01-.157-.024-.234-.05-.26-.09-.45-.283-.566-.528l-1.98-4.637c-.665 1.547-1.33 3.093-1.997 4.64z" fill-rule="nonzero"/></symbol><symbol id="svg-status-completed" data-name="status-completed" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M24.965 12.802l-10.267 11.25-7.626-7.62c-.48-.486-.48-1.262 0-1.742.482-.484 1.26-.484 1.74 0l5.805 5.802 8.53-9.35c.46-.503 1.24-.538 1.74-.08s.538 1.238.078 1.74M16 0C7.178 0 0 7.178 0 16s7.178 16 16 16 16-7.178 16-16S24.822 0 16 0" fill-rule="nonzero"/></symbol><symbol id="svg-status-failed" data-name="status-failed" viewBox="0 0 33 32" width="33" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16.217 26.67c-.754 0-1.362-.61-1.362-1.36 0-.752.608-1.36 1.362-1.36.75 0 1.36.608 1.36 1.36 0 .75-.61 1.36-1.36 1.36M14.97 13.06c0-.688.558-1.247 1.247-1.247.688 0 1.247.56 1.247 1.247v8.163c0 .69-.56 1.248-1.247 1.248-.69 0-1.248-.557-1.248-1.248v-8.163zm17.423 17.32L17.65.89c-.026-.05-.06-.08-.086-.126-.192-.312-.477-.54-.816-.66 0 0 .003-.004.005-.004C16.58.04 16.403 0 16.217 0c-.567 0-1.063.294-1.348.76-.025.043-.058.076-.08.118L.133 30.194c-.195.386-.175.846.052 1.212.23.37.63.594 1.063.594H31.21c.69 0 1.247-.56 1.247-1.247 0-.13-.027-.252-.064-.372" fill-rule="nonzero"/></symbol><symbol id="svg-status-partial" data-name="status-partial" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M16 0C7.178 0 0 7.178 0 16s7.178 16 16 16 16-7.178 16-16S24.822 0 16 0zm.013 2.472v27.055l.102.01c1.764-.014 3.52-.375 5.147-1.064 1.555-.658 2.982-1.61 4.19-2.79 1.168-1.142 2.13-2.492 2.82-3.97.566-1.21.95-2.5 1.135-3.82.207-1.478.17-2.99-.11-4.454-.24-1.25-.66-2.463-1.24-3.594-1.32-2.57-3.46-4.69-6.05-5.977-1.19-.594-2.468-1.007-3.78-1.226-.565-.095-1.133-.147-1.703-.173-.17-.004-.34-.015-.51.002z"/><path d="M16.013 2.472v27.055l.102.01c1.764-.014 3.52-.375 5.147-1.064 1.555-.658 2.982-1.61 4.19-2.79 1.168-1.142 2.13-2.492 2.82-3.97.566-1.21.95-2.5 1.135-3.82.207-1.478.17-2.99-.11-4.454-.24-1.25-.66-2.463-1.24-3.594-1.32-2.57-3.46-4.69-6.05-5.977-1.19-.594-2.468-1.007-3.78-1.226-.565-.095-1.133-.147-1.703-.173-.17-.004-.34-.015-.51.002z" fill-opacity=".149"/></symbol><symbol id="svg-status-pending" data-name="status-pending" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path d="M20 18.666h-6.666V8c0-.736.596-1.332 1.332-1.332C15.404 6.668 16 7.264 16 8v8h4c.738 0 1.334.596 1.334 1.334 0 .74-.596 1.332-1.334 1.332M16 0C7.178 0 0 7.178 0 16s7.178 16 16 16 16-7.178 16-16S24.822 0 16 0" fill-rule="nonzero"/></symbol><symbol id="svg-sync-circle" data-name="sync-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M25.754 19.267c-1.384 3.912-5.102 6.538-9.254 6.538-2.776 0-5.45-1.168-7.36-3.014v.833c0 .68-.547 1.227-1.227 1.227-.677 0-1.227-.547-1.227-1.227v-4.77c0-.678.55-1.228 1.227-1.228h4.77c.68 0 1.228.55 1.228 1.227 0 .678-.547 1.227-1.226 1.227h-2.668c1.41 1.958 3.88 3.27 6.484 3.27 3.114 0 5.905-1.97 6.943-4.903.223-.638.922-.974 1.565-.748.638.225.972.93.746 1.567M6.294 12.78c1.383-3.91 5.1-6.537 9.254-6.537 2.775 0 5.453 1.17 7.36 3.018v-.835c0-.675.547-1.227 1.227-1.227.677 0 1.227.552 1.227 1.227v4.77c0 .68-.55 1.227-1.227 1.227h-4.77c-.678 0-1.228-.547-1.228-1.227 0-.677.55-1.227 1.227-1.227h2.667c-1.407-1.956-3.88-3.27-6.482-3.27-3.115 0-5.905 1.97-6.94 4.902-.18.503-.653.818-1.157.818-.136 0-.273-.02-.408-.07-.64-.227-.975-.927-.75-1.567" fill-rule="nonzero"/></symbol><symbol id="svg-tables" data-name="tables" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#c3cddb" d="M366.6 197.9c4.4 0 8.1-3.6 8.1-8.1V44.2c0-4.4-3.6-8.1-8.1-8.1H101.4c-4.4 0-8.1 3.6-8.1 8.1V189.8c0 4.4 3.6 8.1 8.1 8.1h265.2zm3-153.7v43.6h-86.2V41.2h83.2c1.6 0 3 1.4 3 3zm-180 43.6V41.2h88.7v46.6h-88.7zm88.8 5.1V142h-88.7V92.9h88.7zm-180-48.7c0-1.6 1.4-3 3-3h83.2v46.6H98.4V44.2zm0 48.7h86.2V142H98.4V92.9zm3 99.9c-1.6 0-3-1.4-3-3V147h86.2v45.8h-83.2zm88.2 0V147h88.7v45.8h-88.7zm180-3c0 1.6-1.4 3-3 3h-83.2V147h86.2v42.8zm0-47.8h-86.2V92.9h86.2V142z"/><path fill="#a346ce" d="M369.6 44.2v43.6h-86.2V41.2h83.2c1.6 0 3 1.4 3 3zM189.6 41.2h88.7v46.6h-88.7zM98.4 44.2c0-1.6 1.4-3 3-3h83.2v46.6H98.4V44.2z"/></symbol><symbol id="svg-text" data-name="text" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#297adf" d="M228 172.7l-8.3-21.8h-52.1l-8.3 21.8h-22.6l44.6-113.5h24.9l44.6 113.5H228zm-34.3-93.4l-20.4 54.1h40.9l-20.5-54.1zM313.5 172.7v-8.9c-6.1 7-15.7 10.9-26.6 10.9-13.4 0-28.6-9-28.6-27.2 0-18.9 15.1-26.7 28.6-26.7 11.1 0 20.6 3.6 26.6 10.6v-12.3c0-9.5-7.8-15.3-19.2-15.3-9.2 0-17.2 3.4-24.3 10.4l-7.3-12.4c9.5-9 21.4-13.3 34.6-13.3 18.2 0 34.2 7.7 34.2 29.8v54.5h-18zm0-18.7v-12.4c-4.1-5.6-11.7-8.5-19.6-8.5-10 0-17.5 5.8-17.5 14.8 0 8.9 7.5 14.6 17.5 14.6 7.8 0 15.5-2.9 19.6-8.5z"/></symbol><symbol id="svg-thumbs-up-circle" data-name="thumbs-up-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M23.07 18.6c.78 0 1.413.634 1.413 1.415 0 .78-.632 1.414-1.413 1.414h-.943c.78 0 1.414.632 1.414 1.413 0 .78-.632 1.414-1.413 1.414H16c-3.77 0-2.828-1.886-10.37-1.886V13.89h2.83c3.298 0 7.07-3.037 7.07-7.54 0-1.49 2.827-1.68 2.827 1.148 0 1.885-.943 5.45-.943 5.45h7.54c.782 0 1.415.633 1.415 1.413s-.634 1.413-1.415 1.413h-.943c.782 0 1.414.634 1.414 1.414 0 .782-.632 1.414-1.414 1.414h-.942" fill-rule="nonzero"/></symbol><symbol id="svg-time" data-name="time" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle fill="#c3cddb" cx="234" cy="117" r="80.8"/><path fill="#fff" d="M261.1 148.1c-1 0-2-.4-2.8-1.2l-27.1-27.1c-.8-.8-1.2-1.8-1.2-2.8V56.2c0-2.2 1.8-4 4-4s4 1.8 4 4v59.2l25.9 25.9c1.6 1.6 1.6 4.1 0 5.7-.8.7-1.8 1.1-2.8 1.1z"/></symbol><symbol id="svg-validation" data-name="validation" viewBox="0 0 468 234" width="468" height="234" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><path fill="#dd2f41" d="M332 69.7H136c-4.4 0-8 3.6-8 8v83.2c0 1.9 1.5 3.4 3.4 3.4h205.2c1.9 0 3.4-1.5 3.4-3.4V77.7c0-4.4-3.6-8-8-8zm-141.7 75.5h-52.1v-9.3h52.1v9.3zM335 111.8H133V77.7c0-1.6 1.4-3 3-3h196c1.6 0 3 1.4 3 3v34.1z"/></symbol><symbol id="svg-warning-circle" data-name="warning-circle" viewBox="0 0 33 33" width="33" height="33" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16.024" cy="16.024" r="16.024" fill-opacity=".149"/><path d="M16.898 17.985c0 .493-.4.892-.892.892s-.89-.4-.89-.892V13.12c0-.49.398-.89.89-.89s.892.4.892.89v4.865zm-.892 3.242c-.446 0-.81-.364-.81-.81 0-.45.364-.81.81-.81.448 0 .81.36.81.81 0 .446-.362.81-.81.81m9.614 1.837L16.803 5.43c-.303-.605-1.29-.605-1.594 0L6.293 23.26c-.14.276-.125.604.04.866.16.264.448.425.757.425h17.867c.492 0 .892-.4.892-.89 0-.23-.087-.44-.23-.596" fill-rule="nonzero"/></symbol><symbol id="svg-x-circle" data-name="x-circle" viewBox="0 0 32 32" width="32" height="32" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.414"><circle cx="16" cy="16" r="16" fill-opacity=".149"/><path d="M23.484 21.68c.478.477.478 1.254 0 1.732-.24.24-.554.36-.868.36-.31 0-.625-.12-.865-.36L16 17.662l-5.75 5.75c-.24.24-.555.36-.866.36-.314 0-.628-.12-.868-.36-.478-.478-.478-1.255 0-1.733l5.752-5.752-5.752-5.75c-.478-.477-.478-1.253 0-1.73.478-.48 1.255-.48 1.735 0L16 14.195l5.75-5.75c.48-.48 1.256-.48 1.734 0s.478 1.255 0 1.733l-5.752 5.748 5.752 5.75z" fill-rule="nonzero"/></symbol></svg>')
6
- }"interactive"==document.readyState&&l(),window.Turbolinks&&document.addEventListener("turbolinks:load",function(e){l()}),document.addEventListener("DOMContentLoaded",function(e){l()})}();
7
- },{}],3:[function(require,module,exports){
8
- "use strict";var Event=require("compose-event"),notify=require("../modules/notify");Event.change(function(){var e=document.querySelector(".flash-message:not(.fired)");e&&(e.classList.add("hidden","fired"),notify(e.dataset.type,e.innerHTML.trim()))});
9
- },{"../modules/notify":10,"compose-event":16}],4:[function(require,module,exports){
10
- "use strict";var toolbox=require("compose-toolbox"),Event=toolbox.event,notify=require("../modules/notify");Event.on(document,"submit",function(e){var t=(e.target.querySelector("[data-submit-message]")||e.target).dataset.submitMessage;t&&notify("form-action",t);var a=e.target.querySelector("[type=submit]");if("false"!=a.dataset.disableOnSubmit){a.dataset.disableWith||(a.dataset.disableOnSubmit=!0),a.disabled=!0;var o=e.target.querySelectorAll("[data-disable-with]");if(toolbox.each(o,function(e){var t=e.querySelector(".button-text")||e;e.dataset.enabledText=t.innerHTML,t.innerHTML=e.dataset.disableWith}),e.preventDefault(),e.stopImmediatePropagation(),toolbox.event.delay(function(){document.body.classList.add("modal")}),document.body.dataset.fakeSubmit){var i=new CustomEvent("fake-submit",{bubbles:!0,cancelable:!0});e.target.dispatchEvent(i)}else e.target.submit()}}),window.onpageshow=function(e){document.body.classList.remove("modal");var t=document.querySelector("[data-disable-with][disabled],[data-disable-on-submit][disabled]");if(t&&(t.disabled=!1),t&&t.dataset.enabledText){(t.querySelector(".button-text")||t).innerHTML=t.dataset.enabledText}document.querySelector(".notification.form-action")&&notify.remove()};
11
- },{"../modules/notify":10,"compose-toolbox":54}],5:[function(require,module,exports){
12
- "use strict";function numberInputOnly(e){var n=e.keyCode,t=47<n&&n<58,o=95<n&&n<106,u=110==n||190==n,r=Event.key.alt||Event.key.shift,v=!(n<46&&32!=n||Event.key.command);!((t||o||u)&&!(r&&47<n))&&v&&(e.preventDefault(),e.stopPropagation())}var Event=require("compose-event");Event.on(document,"keydown","input[type=number]",numberInputOnly);
13
- },{"compose-event":16}],6:[function(require,module,exports){
14
- "use strict";function setup(t){t.dataset.unitKey=String(Math.random()).split(".")[1],t.parentElement.insertAdjacentHTML("afterend",setupInput(t)),t.insertAdjacentHTML("afterend",setupSelect(t));var e=t.nextElementSibling;setValue(t),t.style.paddingRight=t.offsetWidth-e.offsetLeft+10+"px"}function randID(){return Math.random().toString(36).substring(3)}function setupSelect(t){var e,n=["B","KB","MB","GB","TB"],a="unit-select-"+randID(),u="<span class='unit-select'><select id='"+a+"' tabindex='-1' aria-label='units' data-default='"+t.dataset.unit+"' data-initial-value='"+t.dataset.unit+"' data-unit-select='"+t.dataset.unitKey+"'>",i=t.dataset.unit,o=toolbox.getClosest(t,"label");if(n.forEach(function(t){e=i==t?" selected":"",u+="<option"+e+">"+t+"</option>"}),o){var r=o.querySelector("[data-restore-default]");r&&(r.dataset.restoreDefault+=", #"+a)}return u+="</select></span>"}function setupInput(t){return name=t.name,t.name=name+"_value",'<input data-unit-input="'+t.dataset.unitKey+'" type="hidden" name="'+name+'">'}function setValue(t){t=t.target||t;var e=document.querySelector('[data-unit-input="'+t.dataset.unitKey+'"]'),n=document.querySelector('[data-unit-select="'+t.dataset.unitKey+'"]');e.value=convert(t.value,n.value,t.dataset.unit).value}function unitChange(t){var e=t.target.dataset.unitSelect;setValue(document.querySelector('[data-unit-key="'+e+'"]'))}var toolbox=require("compose-toolbox"),Event=toolbox.event,convert=require("../modules/unit-converter"),formUp=require("compose-form-up");Event.change(function(){toolbox.each(document.querySelectorAll("[data-unit]"),setup)}),Event.on(document,"input","[data-unit]",setValue),Event.on(document,"input","[data-unit-select]",unitChange);
15
- },{"../modules/unit-converter":11,"compose-form-up":32,"compose-toolbox":54}],7:[function(require,module,exports){
16
- "use strict";var Event=require("compose-event");Event.change(function(){Array.prototype.forEach.call(document.querySelectorAll("[data-match-url]"),function(t){t.getAttribute("data-match-url")&&new RegExp(t.dataset.matchUrl,"i").test(location.pathname)&&t.classList.add("here")})});
17
- },{"compose-event":16}],8:[function(require,module,exports){
18
- "use strict";function autoSizeTextarea(e){var t=e.parentElement;if(""!=e.value&&t.classList.contains("input-wrapper")){t.style.height=e.style.height;var a=e.offsetHeight-e.clientHeight;e.style.height="auto";var r=e.scrollHeight+a,n=.95*window.innerHeight;e.style.height=r<n?r+"px":n+"px",t.style.height="auto"}}var Event=require("compose-event");Event.change(function(){var e=document.querySelectorAll("textarea");Event.delay(function(){Array.prototype.forEach.call(e,autoSizeTextarea)})}),Event.on(document,"keyup toggler:show","textarea",function(e){autoSizeTextarea(e.currentTarget)});
19
- },{"compose-event":16}],9:[function(require,module,exports){
20
- "use strict";var event=require("compose-toolbox").event,clipboard=function(){function e(e){var t=e.currentTarget,c=document.querySelector(t.dataset.copyTarget);if(e.preventDefault(),c&&c.select){c.select();try{document.execCommand("copy"),c.blur(),t.classList.add("copied"),setTimeout(function(){t.classList.remove("copied")},2e3)}catch(e){alert("please press Ctrl/Cmd+C to copy")}}}event.on(document,"click","[data-copy-target]",e)};module.exports=clipboard;
21
- },{"compose-toolbox":54}],10:[function(require,module,exports){
22
- "use strict";function notify(e,s,i){return i||"object"!=typeof s||(i=s,s=e,e="message"),s||(s=e,e="message"),show(e,s,toolbox.merge(defaultsByType[e],i||{}))}function show(e,s,i){if(clearTimeout(autoDismissTimeout),messageEl)return dismiss(function(){show(e,s,i)});document.body.insertAdjacentHTML("beforeend",template),messageEl=document.body.lastChild;var o=esvg.use(iconsByType[e]||e),t=esvg.use("x-circle",{scale:!0,class:"close-icon"}),n=messageEl.querySelector(".notification-message");return n.innerHTML=s,o&&n.insertAdjacentHTML("beforebegin","<span class='notification-type-icon'>"+o.outerHTML+"</span>"),t&&(messageEl.querySelector(".notification-close").innerHTML=t.outerHTML),e&&(messageEl.classList.add(e),i&&i.dismissAfter&&(autoDismissTimeout=window.setTimeout(dismiss,i.dismissAfter))),messageEl=document.body.lastChild,Event.keyOne("esc",dismiss),Event.one(messageEl,"click",".notification-close",dismiss),{dismiss:dismiss}}function dismiss(e){if(null!=document.querySelector(".notification")){clearTimeout(autoDismissTimeout);var s;s="function"==typeof e?function(){remove(),e()}:remove;var i=window.setTimeout(s,500);Event.one(messageEl,"animationstart",function(){clearTimeout(i),Event.afterAnimation(messageEl,s)}),messageEl.classList.add("dismiss")}}function remove(){messageEl=document.querySelector("body > .notification"),messageEl&&messageEl.parentNode.removeChild(messageEl),messageEl=null}var Event=require("compose-event"),toolbox=require("compose-toolbox"),esvg=require("../_esvg"),defaultsByType={success:{dismissAfter:3500}},iconsByType={message:"message-circle",error:"no-circle",progress:"progress-circle","form-action":"progress-circle",success:"thumbs-up-circle"},autoDismissTimeout,messageEl,template='<div class="notification"> <div class="notification-content"> <div class="notification-message" role="alert"></div> <button class="notification-close" href="#" role="button" aria-label="close message"> </button> </div></div>';notify.dismiss=dismiss,notify.remove=remove,module.exports=notify;
23
- },{"../_esvg":1,"compose-event":16,"compose-toolbox":54}],11:[function(require,module,exports){
24
- "use strict";function shortUnit(e){for(var t in aliases)aliases[t]==e&&(e=t);return e}function longUnit(e,t){return pluralize(e,t.charAt(0).toUpperCase()+t.slice(1))}function alias(e){return aliases[e]||e.toLowerCase()}function pluralize(e,t){return 1!=e&&(t+="s"),t}function convert(e,t,a){var a=alias(a),i=unitsTable[alias(t)],n=unitsTable[a],e=e*i/n;return{value:e,unit:shortUnit(a),long:longUnit(e,a)}}var unitsTable={bit:1,byte:8,kilobyte:8e3,megabyte:8e6,gigabyte:8e9,terabyte:8e12},aliases={b:"bit",B:"byte",KB:"kilobyte",MB:"megabyte",GB:"gigabyte",TB:"terabyte"};module.exports=convert;
25
- },{}],12:[function(require,module,exports){
26
- "use strict";require("./_icons");var esvg=require("./_esvg"),toolbox=require("compose-toolbox"),timeToggle=require("compose-time-toggle"),toggler=require("compose-toggler"),formUp=require("compose-form-up"),dialog=require("compose-dialog"),ajax=require("superagent"),clipboard=require("./modules/clipboard"),notify=require("./modules/notify"),event=toolbox.event;event.scroll.disablePointer(),clipboard(),require("compose-slider"),require("./enhancements/flash-messages"),require("./enhancements/form-submit-helpers"),require("./enhancements/input-number-only"),require("./enhancements/input-unit"),require("./enhancements/link-here"),require("./enhancements/textarea-expand"),event.change(timeToggle.timeago.setup),formUp.diff.watch(),window.Tungsten=module.exports=toolbox.merge({ajax:ajax,form:formUp,toggler:toggler,clipboard:clipboard,notify:notify,esvg:esvg,timeToggle:timeToggle,dialog:dialog},toolbox);
27
- },{"./_esvg":1,"./_icons":2,"./enhancements/flash-messages":3,"./enhancements/form-submit-helpers":4,"./enhancements/input-number-only":5,"./enhancements/input-unit":6,"./enhancements/link-here":7,"./enhancements/textarea-expand":8,"./modules/clipboard":9,"./modules/notify":10,"compose-dialog":15,"compose-form-up":32,"compose-slider":47,"compose-time-toggle":49,"compose-toggler":53,"compose-toolbox":54,"superagent":62}],13:[function(require,module,exports){
28
- !function(e,t,n){"undefined"!=typeof module&&module.exports?module.exports=n():"function"==typeof define&&define.amd?define(n):t.bean=n()}(0,this,function(e,t){e=e||"bean",t=t||this;var n,r=window,o=t[e],i=/[^\.]*(?=\..*)\.|.*/,a=/\..*/,l="addEventListener",u=document||{},c=u.documentElement||{},s=c[l],p=s?l:"attachEvent",f={},h=Array.prototype.slice,g=function(e,t){return e.split(t||" ")},d=function(e){return"string"==typeof e},m=function(e){return"function"==typeof e},v=function(e){return"object"==typeof e},y=function(e,t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);if(!v(t))return n;for(r in n)n.hasOwnProperty(r)&&t.hasOwnProperty(r)&&(n[r]=t[r]);return n},b=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},g("click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll "+(s?"show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ":""))),w=function(){var e="compareDocumentPosition"in c?function(e,t){return t.compareDocumentPosition&&16==(16&t.compareDocumentPosition(e))}:"contains"in c?function(e,t){return(t=9===t.nodeType||t===window?c:t)!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},t=function(t){var n=t.relatedTarget;return n?n!==this&&"xul"!==n.prefix&&!/document/.test(this.toString())&&!e(n,this):null==n};return{mouseenter:{base:"mouseover",condition:t},mouseleave:{base:"mouseout",condition:t},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}}(),E=function(){var e=g("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName path"),t=e.concat(g("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement movementX movementY region")),n=t.concat(g("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),o=e.concat(g("char charCode key keyCode keyIdentifier keyLocation location isComposing code")),i=e.concat(g("data")),a=e.concat(g("touches targetTouches changedTouches scale rotation")),l=e.concat(g("data origin source")),s=e.concat(g("state")),p=/over|out/,f=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,o}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,n,r){return n.rightClick=3===e.which||2===e.button,n.pos={x:0,y:0},e.pageX||e.pageY?(n.clientX=e.pageX,n.clientY=e.pageY):(e.clientX||e.clientY)&&(n.clientX=e.clientX+u.body.scrollLeft+c.scrollLeft,n.clientY=e.clientY+u.body.scrollTop+c.scrollTop),p.test(r)&&(n.relatedTarget=e.relatedTarget||e[("mouseover"==r?"from":"to")+"Element"]),t}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return n}},{reg:/^text/i,fix:function(){return i}},{reg:/^touch|^gesture/i,fix:function(){return a}},{reg:/^message$/i,fix:function(){return l}},{reg:/^popstate$/i,fix:function(){return s}},{reg:/.*/,fix:function(){return e}}],h={},d=function(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||r).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var o,i,a,l,u,c=e.type,s=e.target||e.srcElement;if(this.target=s&&3===s.nodeType?s.parentNode:s,n){if(!(u=h[c]))for(o=0,i=f.length;o<i;o++)if(f[o].reg.test(c)){h[c]=u=f[o].fix;break}for(l=u(e,this,c),o=l.length;o--;)!((a=l[o])in this)&&a in e&&(this[a]=e[a])}}};return d.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},d.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},d.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},d.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},d.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},d.prototype.clone=function(e){var t=new d(this,this.element,this.isNative);return t.currentTarget=e,t},d}(),T=function(e,t){return s||t||e!==u&&e!==r?e:c},D=function(){var e=function(e,t,n,r){var o=function(n,o){return t.apply(e,r?h.call(o,n?0:1).concat(r):o)},i=function(n,r){return t.__beanDel?t.__beanDel.ft(n.target,e):r},a=n?function(e){var t=i(e,this);if(n.apply(t,arguments))return e&&(e.currentTarget=t),o(e,arguments)}:function(e){return t.__beanDel&&(e=e.clone(i(e))),o(e,arguments)};return a.__beanDel=t.__beanDel,a},t=function(t,n,r,o,i,a,l){var u,c=w[n];"unload"==n&&(r=C(N,t,n,r,o)),c&&(c.condition&&(r=e(t,r,c.condition,a)),n=c.base||n),this.isNative=u=b[n]&&!!t[p],this.customType=!s&&!u&&n,this.element=t,this.type=n,this.original=o,this.namespaces=i,this.eventType=s||u?n:"propertychange",this.target=T(t,u),this[p]=!!this.target[p],this.root=l,this.handler=e(t,r,null,a)};return t.prototype.inNamespaces=function(e){var t,n,r=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&r++;return e.length===r},t.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},t}(),P=function(){var e={},t=function(n,r,o,i,a,l){var u=a?"r":"$";if(r&&"*"!=r){var c,s=0,p=e[u+r],f="*"==n;if(!p)return;for(c=p.length;s<c;s++)if((f||p[s].matches(n,o,i))&&!l(p[s],p,s,r))return}else for(var h in e)h.charAt(0)==u&&t(n,h.substr(1),o,i,a,l)};return{has:function(t,n,r,o){var i,a=e[(o?"r":"$")+n];if(a)for(i=a.length;i--;)if(!a[i].root&&a[i].matches(t,r,null))return!0;return!1},get:function(e,n,r,o){var i=[];return t(e,n,r,null,o,function(e){return i.push(e)}),i},put:function(t){var n=!t.root&&!this.has(t.element,t.type,null,!1),r=(t.root?"r":"$")+t.type;return(e[r]||(e[r]=[])).push(t),n},del:function(n){t(n.element,n.type,null,n.handler,n.root,function(t,n,r){return n.splice(r,1),t.removed=!0,0===n.length&&delete e[(t.root?"r":"$")+t.type],!1})},entries:function(){var t,n=[];for(t in e)"$"==t.charAt(0)&&(n=n.concat(e[t]));return n}}}(),x=function(e){n=arguments.length?e:u.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}},k=function(e,t){if(s||!t||!e||e.propertyName=="_on"+t){var n=P.get(this,t||e.type,null,!1),r=n.length,o=0;for(e=new E(e,this,!0),t&&(e.type=t);o<r&&!e.isImmediatePropagationStopped();o++)n[o].removed||n[o].handler.call(this,e)}},_=s?function(e,t,n,r,o){e[n?l:"removeEventListener"](t,k,o)}:function(e,t,n,r){var o;n?(P.put(o=new D(e,r||t,function(t){k.call(e,t,r)},k,null,null,!0)),r&&null==e["_on"+r]&&(e["_on"+r]=0),o.target.attachEvent("on"+o.eventType,o.handler)):(o=P.get(e,r||t,k,!0)[0])&&(o.target.detachEvent("on"+o.eventType,o.handler),P.del(o))},C=function(e,t,n,r,o){return function(){r.apply(this,arguments),e(t,n,o)}},N=function(e,t,n,r,o){var i,l,u=t&&t.replace(a,""),c=P.get(e,u,null,!1),s={};for(i=0,l=c.length;i<l;i++)n&&c[i].original!==n||!c[i].inNamespaces(r)||(P.del(c[i]),!s[c[i].eventType]&&c[i][p]&&(s[c[i].eventType]={t:c[i].eventType,c:c[i].type}));for(i in s)P.has(e,s[i].t,null,!1)||_(e,s[i].t,!1,s[i].c,o)},S=function(e,t){var r=function(t,r){for(var o,i=d(e)?n(e,r):e;t&&t!==r;t=t.parentNode)for(o=i.length;o--;)if(i[o]===t)return t},o=function(e){var n=r(e.target,this);n&&t.apply(n,arguments)};return o.__beanDel={ft:r,selector:e},o},X=s?function(e,t,n){var o=u.createEvent(e?"HTMLEvents":"UIEvents");o[e?"initEvent":"initUIEvent"](t,!0,!0,r,1),n.dispatchEvent(o)}:function(e,t,n){n=T(n,e),e?n.fireEvent("on"+t,u.createEventObject()):n["_on"+t]++},Y=function(e,t,n){var r,o,l,u,c=d(t),s={useCapture:!1},p=y(s,arguments[arguments.length-1]);if(c&&t.indexOf(" ")>0){for(t=g(t),u=t.length;u--;)Y(e,t[u],n);return e}if(o=c&&t.replace(a,""),o&&w[o]&&(o=w[o].base),!t||c)(l=c&&t.replace(i,""))&&(l=g(l,".")),N(e,o,n,l,p.useCapture);else if(m(t))N(e,null,t,null,p.useCapture);else for(r in t)t.hasOwnProperty(r)&&Y(e,r,t[r]);return e},I=function(e,t,n,r){var o,l,u,c,s,d,v,b,w={useCapture:!1};{if(void 0!==n||"object"!=typeof t){for(m(n)?(s=h.call(arguments,3),r=o=n):(o=r,s=h.call(arguments,4),r=S(n,o)),b=y(w,s[s.length-1]),u=g(t),this===f&&(r=C(Y,e,t,r,o)),c=u.length;c--;)v=P.put(d=new D(e,u[c].replace(a,""),r,o,g(u[c].replace(i,""),"."),s,!1)),d[p]&&v&&_(e,d.eventType,!0,d.customType,b.useCapture);return e}for(l in t)t.hasOwnProperty(l)&&I.call(this,e,l,t[l])}},O=function(e,t,n,r,o){return I.apply(null,d(n)?[e,n,t,r].concat(arguments.length>3?h.call(arguments,4):[]):h.call(arguments))},L=function(){return I.apply(f,arguments)},M=function(e,t,n){var r,o,l,u,c,s=g(t);for(r=s.length;r--;)if(t=s[r].replace(a,""),(u=s[r].replace(i,""))&&(u=g(u,".")),u||n||!e[p])for(c=P.get(e,t,null,!1),n=[!1].concat(n),o=0,l=c.length;o<l;o++)c[o].inNamespaces(u)&&c[o].handler.apply(e,n);else X(b[t],t,e);return e},$=function(e,t,n){for(var r,o,i=P.get(t,n,null,!1),a=i.length,l=0;l<a;l++)i[l].original&&(r=[e,i[l].type],(o=i[l].handler.__beanDel)&&r.push(o.selector),r.push(i[l].original),I.apply(null,r));return e},A={on:I,add:O,one:L,off:Y,remove:Y,clone:$,fire:M,Event:E,setSelectorEngine:x,noConflict:function(){return t[e]=o,this}};if(r.attachEvent){var K=function(){var e,t=P.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&Y(t[e].element,t[e].type);r.detachEvent("onunload",K),r.CollectGarbage&&r.CollectGarbage()};r.attachEvent("onunload",K)}return x(),A});
29
- },{}],14:[function(require,module,exports){
30
- function Emitter(t){if(t)return mixin(t)}function mixin(t){for(var e in Emitter.prototype)t[e]=Emitter.prototype[e];return t}"undefined"!=typeof module&&(module.exports=Emitter),Emitter.prototype.on=Emitter.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},Emitter.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},Emitter.prototype.off=Emitter.prototype.removeListener=Emitter.prototype.removeAllListeners=Emitter.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i=this._callbacks["$"+t];if(!i)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var r,s=0;s<i.length;s++)if((r=i[s])===e||r.fn===e){i.splice(s,1);break}return this},Emitter.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),i=this._callbacks["$"+t];if(i){i=i.slice(0);for(var r=0,s=i.length;r<s;++r)i[r].apply(this,e)}return this},Emitter.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},Emitter.prototype.hasListeners=function(t){return!!this.listeners(t).length};
31
- },{}],15:[function(require,module,exports){
32
- function show(o){return"object"!=typeof o?console.error("Invalid options passed for Dialog",o):o.title?(focusedEl=document.activeElement,options=o,dialogEl=template(defaults.dialogTemplate),addText(),addButtons(),document.body.insertAdjacentElement("afterbegin",dialogEl),listen(),void defaults.onShow()):console.error("Dialog must have a title",o)}function listen(){Event.on(dialogEl,"click",".dialog-continue",continueAction),Event.on(dialogEl,"click",".dialog-cancel",cancelAction),Event.afterAnimation(dialogEl,tab,!0),Event.keyOn("tab","dialog",tab),Event.keyOne("enter","dialog",continueAction),Event.keyOne("esc","dialog",cancelAction),Event.key.setScope("dialog")}function addText(){dialogEl.querySelector("#dialog-title").innerHTML=options.title;var o=dialogEl.querySelector("#dialog-description");options.description?o.innerHTML=options.description:(o.parentElement.removeChild(o),dialogEl.removeAttribute("aria-labelledby"))}function addButtons(){if(options.continue||options.follow||options.submit){var o=template(defaults.buttonTemplate);o.classList.add("dialog-continue"),options.destructive&&o.classList.add("destructive"),o.innerHTML=options.continue||"Continue",dialogEl.querySelector(".dialog-actions").appendChild(o),options.cancel=options.cancel||"Cancel"}var t=template(defaults.buttonTemplate);t.classList.add("dialog-cancel"),t.innerHTML=options.cancel||(options.continue?"Cancel":"OK"),dialogEl.querySelector(".dialog-actions").appendChild(t)}function tab(o){var t=dialogEl.querySelectorAll("input:not([type=hidden]), textarea, select, button"),e=t[t.length-1],i=document.activeElement;i==e&&(o&&o.preventDefault(),t[0].focus()),i&&toolbox.childOf(i,dialogEl)||e.focus()}function triggerButton(o){var t=dialogEl.querySelector(o);t.focus(),t.classList.add("active")}function cancelAction(o){o&&o.preventDefault(),triggerButton(".dialog-cancel"),close(options.onDismiss)}function continueAction(o){o&&o.preventDefault(),triggerButton(".dialog-continue"),close(function(){if(options.submit){var o=options.submit.nodeType?options.submit:document.querySelector(options.submit);Event.submit(o)}else options.follow&&(options.follow.match(/^https?:\/\//)?window.location=options.follow:window.location.href=options.follow);options.onConfirm&&options.onConfirm()})}function close(o){dialogEl.classList.add("dismiss"),Event.afterAnimation(dialogEl,function(t){o&&o(),remove()},!0)}function remove(){Event.key.deleteScope("dialog"),Event.off(dialogEl,"click"),document.body.removeChild(dialogEl),defaults.onClose(),focusedEl.focus()}function template(o){wrap.innerHTML=o;var t=wrap.firstChild;return wrap.removeChild(t),t}function extractOptions(o){var t={if:o.dataset.dialogIf,follow:o.dataset.dialogFollow,title:o.dataset.dialogTitle,description:o.dataset.dialogDescription,submit:o.dataset.dialogSubmit,continue:o.dataset.dialogContinue,cancel:o.dataset.dialogCancel,confirm:o.dataset.dialogConfirm,destructive:o.dataset.dialogDestructive};return t.confirm&&(t.continue=t.continue||o.innerHTML,t.submit=t.submit||toolbox.getClosest(o,"form")),t}var toolbox=require("compose-toolbox"),Event=toolbox.event,options={},wrap=document.createElement("div"),dialogEl,focusedEl,defaults={onShow:function(){},onClose:function(){},buttonTemplate:'<button role="button" class="button"></button>',dialogTemplate:'<div role="dialog" class="dialog" aria-labelledby="dialog-title" aria-describedby="dialog-description"> <div class="dialog-card"> <header class="dialog-header"> <h2 class="dialog-title" id="dialog-title"></h2> </header> <p class="dialog-description" id="dialog-description"></p> <div class="dialog-response"> <div class="dialog-actions"></div> </div> </div></div>'};Event.ready(function(){Event.on(document,"click","[data-dialog-title]",function(o){var t=extractOptions(o.currentTarget);t.if&&!document.querySelector(t.if)||(o.preventDefault(),o.stopImmediatePropagation(),show(t))})}),module.exports={show:show,cancel:cancelAction,continue:continueAction,defaults:defaults};
33
- },{"compose-toolbox":54}],16:[function(require,module,exports){
34
- function on(){setEvent("on",slice.call(arguments))}function off(){setEvent("off",slice.call(arguments))}function one(){setEvent("one",slice.call(arguments))}function fire(){args=slice.call(arguments);var e=(args[0],[]);args[1].split(" ").forEach(function(n){var n=animationEvent.transform(n);isEmpty(n)||e.push(n)}),isEmpty(e)||(args[1]=e.join(" "),bean.fire.apply(this,args))}function setEvent(e,n){transformArgs(n).forEach(function(n){bean[e].apply(null,n)})}function keyOne(e,n,t){"function"==typeof n&&(t=n,n="all"),key(e,n,function(r){key.unbind(e,n),t(r)})}function afterAnimation(e,n,t){if(!window.getComputedStyle(e).getPropertyValue("animation-duration"))n();else if(t){var r="number"==typeof t?t:20,i=delay(n,r);one(e,"animationstart",function(t){i.stop(),one(e,"animationend",n)})}else one(e,"animationend",n)}function transformArgs(e){var n=[],t={},r=e.shift(),i=e.shift();if("function"!=typeof e[0])var a=e.shift();if("string"==typeof i){var o={};o[i]=e.shift(),i=o}for(event in i)if(i.hasOwnProperty(event)){var l=i[event];event.split(" ").forEach(function(e){e=animationEvent.transform(e),isEmpty(e)?l():e.match(/tap/)?t.touchstart=tap(l):t[e]=l})}for(event in t){var s=[];s.push(r,event),a&&s.push(a),s.push(t[event]),n.push(s.concat(e))}return n}function isEmpty(e){var n=Object.prototype.hasOwnProperty;if(null==e||0===e.length)return!0;if(0<e.length)return!1;for(var t in e)if(n.call(e,t))return!1;return!0}require("./lib/shims/custom-event");var bean=require("bean"),key=require("keymaster"),animationEvent=require("./lib/animation-events"),page=require("./lib/page"),tap=require("./lib/tap-events"),debounce=require("./lib/debounce"),throttle=require("./lib/throttle"),delay=require("./lib/delay"),repeat=require("./lib/repeat"),bubbleFormEvents=require("./lib/bubble-form-events"),submit=require("./lib/submit"),scroll=require("./lib/scroll"),resize=require("./lib/resize"),callbackManager=require("./lib/callback-manager"),media=require("./lib/media"),slice=Array.prototype.slice,formBubbling=!1;module.exports={on:on,off:off,one:one,fire:fire,clone:bean.clone,ready:page.ready,change:page.change,afterAnimation:afterAnimation,media:media,key:key,keyOn:key,keyOff:key.unbind,keyOne:keyOne,debounce:debounce,throttle:throttle,delay:delay,repeat:repeat,scroll:scroll,resize:resize,callbackManager:callbackManager,callback:callbackManager.callback,bubbleFormEvents:bubbleFormEvents,submit:submit};
35
- },{"./lib/animation-events":17,"./lib/bubble-form-events":18,"./lib/callback-manager":19,"./lib/debounce":20,"./lib/delay":21,"./lib/media":22,"./lib/page":24,"./lib/repeat":25,"./lib/resize":26,"./lib/scroll":27,"./lib/shims/custom-event":28,"./lib/submit":29,"./lib/tap-events":30,"./lib/throttle":31,"bean":13,"keymaster":60}],17:[function(require,module,exports){
36
- function camelCaseEventTypes(n){return n=n||"",{animationstart:n+"AnimationStart",animationend:n+"AnimationEnd",animationiteration:n+"AnimationIteration"}}function lowerCaseEventTypes(n){return n=n||"",{animationstart:n+"animationstart",animationend:n+"animationend",animationiteration:n+"animationiteration"}}function getAnimationEventTypes(){var n=["webkit","Moz","O",""],t=document.documentElement.style;if(void 0!==t.animationName)return lowerCaseEventTypes();for(var e,i=0,a=n.length;i<a;i++)if(e=n[i],void 0!==t[e+"AnimationName"]){if(0===i)return camelCaseEventTypes(e.toLowerCase());if(1===i)return lowerCaseEventTypes();if(2===i)return lowerCaseEventTypes(e.toLowerCase())}return{}}function transformAnimationEvents(n){return n.match(/animation/i)?cssAnimEventTypes[n]?cssAnimEventTypes[n]:("test"!=window.env&&console.error('"'+n+'" is not a supported animation event'),""):n}var cssAnimEventTypes=getAnimationEventTypes(),supported=void 0!==cssAnimEventTypes.animationstart;module.exports={transform:transformAnimationEvents};
37
- },{}],18:[function(require,module,exports){
38
- var Event=require("bean"),page=require("./page"),formEls,formBubbling=!1,fireBubble=function(e){if(e.detail&&e.detail.triggered)return!1;var t=new CustomEvent(e.type,{bubbles:!0,cancelable:!0,detail:{triggered:!0}});"submit"==e.type&&e.stopImmediatePropagation(),e.target.dispatchEvent(t),t.defaultPrevented&&e.preventDefault()},eventType=function(e){return"FORM"==e.tagName?"submit":"focus blur"},bubbleOn=function(e){Event.on(e,eventType(e),fireBubble)},bubbleOff=function(e){Event.off(e,eventType(e),fireBubble)},bubbleFormEvents=function(){if(!e){page.change(function(){formEls&&Array.prototype.forEach.call(formEls,bubbleOff),formEls=document.querySelectorAll("form, input"),Array.prototype.forEach.call(formEls,bubbleOn)});var e=!0}};module.exports=bubbleFormEvents;
39
- },{"./page":24,"bean":13}],19:[function(require,module,exports){
40
- var Manager={new:function(){var n={callbacks:[],add:function(a){var c=Manager.callback.new(a);return n.callbacks.push(c),c},stop:function(){n.callbacks.forEach(function(n){n.stop()})},start:function(){n.callbacks.forEach(function(n){n.start()})},toggle:function(a){n.callbacks.forEach(function(n){n.toggle(a)})},remove:function(){n.callbacks=[]},fire:function(){var a=Array.prototype.slice.call(arguments);n.callbacks.forEach(function(n){n.apply(this,a)})}};return n},callback:{new:function(n){var a=function(){a.enabled&&n.apply(n,arguments)};return a.stop=function(){a.enabled=!1},a.start=function(){a.enabled=!0},a.toggle=function(n){a.enabled=0 in arguments?n:!a.enabled},a.enabled=!0,a}}};module.exports=Manager;
41
- },{}],20:[function(require,module,exports){
42
- var now=function(){return Date.now()},pickFunction=function(){var n;return Array.prototype.forEach.call(arguments,function(i){"function"!=typeof i||n||(n=i)}),n},debounce=function(n,i,t){t="object"==typeof n?n:t||{},i=t.wait||i||0;var a,o=t.max||!1,e="leading"in t&&t.leading,c=!("trailing"in t)||t.trailing,r=pickFunction(t.leading,t.trailing,t.callback,n),u=pickFunction(t.trailing,t.leading,t.callback,n),l=!1,f={},g=0,p=0,d=!1,w=function(n){g=now(),p=now(),l=!1,d=!0,"leading"===n?r.apply(r,a):u.apply(u,a)},m=function(){l||(l=!0,f.value=requestAnimationFrame(k))},v=function(){"value"in f&&(cancelAnimationFrame(f.value),l=!1,g=0,p=0,d=!1)},y=function(){return o&&now()-p>=o},b=function(){return now()-g>=i},k=function(){l=!1,e&&!d?w("leading"):y()?w(e?"leading":"trailing"):b()?(c&&w("trailing"),e&&(d=!1)):m()},F=function(){g=now(),a=arguments,m()};return F.stop=v,F};module.exports=debounce;
43
- },{}],21:[function(require,module,exports){
44
- var now=function(){return Date.now()},delay=function(e,a){var t=null!=a?2:1,n={};return n.args=Array.prototype.slice.call(arguments,t),n.wait=a||0,n.start=now(),n.stop=function(){"value"in n&&cancelAnimationFrame(n.value)},n.loop=function(){now()-n.start>=n.wait?(e.apply(e,n.args),n.repeat?(n.repeat=n.repeat-1,n.start=now(),queueDelay(n)):0===n.repeat&&n.complete&&n.complete()):queueDelay(n)},queueDelay(n)},queueDelay=function(e){return e.value=requestAnimationFrame(e.loop),e};module.exports=delay;
45
- },{}],22:[function(require,module,exports){
46
- function parseQuery(i,n){var e={};return"string"==typeof i?i:(e.min=size(i.min,"min-"+n),e.max=size(i.max,"max-"+n),e.min&&e.max&&(e.query=e.min+" and "+e.max),e.query||e.min||e.max)}function size(i,n){return i?"("+n+": "+toPx(i)+")":null}function toPx(i){return"number"==typeof i?i+"px":i}var media={width:function(i,n){return media.listen(parseQuery(i,"width"),n)},minWidth:function(i,n){return media.width({min:i},n)},maxWidth:function(i,n){return media.width({max:i},n)},height:function(i,n){return media.listen(parseQuery(i,"height"),n)},minHeight:function(i,n){return media.height({min:i},n)},maxHeight:function(i,n){return media.height({max:i},n)},listen:function(i,n){var e=window.matchMedia(i);return n&&(n(e),e.addListener(n)),e}};module.exports=media;
47
- },{}],23:[function(require,module,exports){
48
- var Event=require("bean"),callbackManager=require("./callback-manager"),throttle=require("./throttle"),debounce=require("./debounce"),optimizedEventManager={new:function(e){var n={run:callbackManager.new(),start:callbackManager.new(),stop:callbackManager.new()},t=throttle(n.run.fire),r=debounce({leading:n.start.fire,trailing:!1,wait:150}),a=debounce(n.stop.fire,150);Event.on(window,e,function(){t(),r(),a()});var i=function(e){return n.run.add(e)};return i.start=function(e){return n.start.add(e)},i.stop=function(e){return n.stop.add(e)},i(function(){Event.fire(window,"optimized"+e[0].toUpperCase()+e.substring(1))}),i.start(function(){Event.fire(window,e+"Start")}),i.stop(function(){Event.fire(window,e+"Stop")}),i}};module.exports=optimizedEventManager;
49
- },{"./callback-manager":19,"./debounce":20,"./throttle":31,"bean":13}],24:[function(require,module,exports){
50
- var Event=require("bean"),callbackManager=require("./callback-manager"),manager={ready:callbackManager.new(),change:callbackManager.new(),readyAlready:!1,changed:!1};manager.ready.add(function(){manager.readyAlready=!0}),manager.ready.add(function(){window.Turbolinks||manager.changed||(manager.changed=!0,manager.change.fire())});var ready=function(a){return manager.readyAlready&&a(),manager.ready.add(a)},change=function(a){return manager.changed&&a(),manager.change.add(a)};ready.fire=function(){manager.ready.fire(),manager.ready.stop()},change.fire=function(){manager.change.fire()},Event.on(document,"DOMContentLoaded",ready.fire),Event.on(document,"page:change turbolinks:load",change.fire),module.exports={ready:ready,change:change};
51
- },{"./callback-manager":19,"bean":13}],25:[function(require,module,exports){
52
- var delay=require("./delay"),repeat=function(e,r,a){var l=1,t=delay(e,r);return null!=a?l=3:null!=r&&(l=2),t.repeat=a||-1,t.args=Array.prototype.slice.call(arguments,l),t.stop=t.cancel,t};module.exports=repeat;
53
- },{"./delay":21}],26:[function(require,module,exports){
54
- var manager=require("./optimized-event-manager"),resize=manager.new("resize");resize.disableAnimation=function(){document.querySelector("style#fullstop")||document.head.insertAdjacentHTML("beforeend",'<style id="fullstop">.no-animation *, .no-animation *:after, .no-animation *:before { transition: none !important; animation: none !important }</style>'),resize.start(function(){document.body.classList.add("no-animation")}),resize.stop(function(){document.body.classList.remove("no-animation")})},module.exports=resize;
55
- },{"./optimized-event-manager":23}],27:[function(require,module,exports){
56
- var manager=require("./optimized-event-manager"),scroll=manager.new("scroll");scroll.disablePointer=function(){scroll.start(function(){document.documentElement.style.pointerEvents="none"}),scroll.stop(function(){document.documentElement.style.pointerEvents=""})},module.exports=scroll;
57
- },{"./optimized-event-manager":23}],28:[function(require,module,exports){
58
- !function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),n}if("function"==typeof window.CustomEvent)return!1;t.prototype=window.Event.prototype,window.CustomEvent=t}();
59
- },{}],29:[function(require,module,exports){
60
- function submit(e){if(!e.tagName||"FORM"!=e.tagName)return console.error("Trigger this event on a form element");var t=new CustomEvent("submit",{bubbles:!0,cancelable:!0,detail:{triggered:!0}});e.dispatchEvent(t),t.defaultPrevented||e.submit()}module.exports=submit;
61
- },{}],30:[function(require,module,exports){
62
- function Tap(e,t){function n(t){function n(n){if(t!==n&&(a(),!n.defaultPrevented)){var o=t.preventDefault,r=t.stopPropagation;t.stopPropagation=function(){r.call(t),r.call(n)},t.preventDefault=function(){o.call(t),o.call(n)},e.apply(u,i)}}function a(e){t!==e&&(clearTimeout(c),r.removeEventListener("touchmove",a),endEvents.forEach(function(e){r.removeEventListener(e,n)}))}if(t.touches&&!(t.touches.length>1)){var r=t.target,u=this,i=arguments,c=setTimeout(a,o);r.addEventListener("touchmove",a),endEvents.forEach(function(e){r.addEventListener(e,n)})}}t=t||{};var o=t.timeout||Tap.timeout;return n.handler=e,n}var endEvents=["touchend"];module.exports=Tap,Tap.timeout=200;
63
- },{}],31:[function(require,module,exports){
64
- var debounce=require("./debounce"),throttle=function(e,t,a){return"object"==typeof e?(a=e,e=void 0):a=a||{},a.wait=a.wait||t||0,a.max=a.max||a.wait,a.callback=a.callback||e,a.leading=!0,a.trailing=!0,debounce(a)};module.exports=throttle;
65
- },{"./debounce":20}],32:[function(require,module,exports){
66
- var validation=require("./lib/validation"),progressive=require("./lib/progressive"),getLabel=require("./lib/get-label"),diff=require("./lib/diff"),inputChange=require("./lib/input-change");require("./lib/reset"),module.exports={validate:validation.validate,invalidateField:validation.invalidateField,next:progressive.next,getLabel:getLabel,diff:diff,inputChange:inputChange};
67
- },{"./lib/diff":33,"./lib/get-label":34,"./lib/input-change":35,"./lib/progressive":36,"./lib/reset":37,"./lib/validation":39}],33:[function(require,module,exports){
68
- var toolbox = require( 'compose-toolbox' ),
69
- Event = toolbox.event,
70
- getLabel = require( './get-label'),
71
- inputChange = require( './input-change' ),
72
- Selector = require( './selector' )
73
-
74
- function diffForm( event ) {
75
- var form = event.currentTarget
76
-
77
- var diffs = [],
78
- diffEl = document.querySelector( form.dataset.diffTarget )
79
-
80
- if ( diffEl == null ) { return }
81
-
82
- initDiffIds( form )
83
-
84
- toolbox.each( form.querySelectorAll( '.changed-value' ), function( el ) {
85
- var diff = diffInput( el )
86
-
87
- // Only show one input diff per label
88
- // If diffs already contains this label, do not add it.
89
- if ( !diffs.find( d => d.label == diff.label ) ) diffs.push( diff )
90
- })
91
-
92
- if ( diffs.length == 0 )
93
- diffEl.innerHTML = ''
94
- else
95
- diffEl.innerHTML = `<table class='input-diffs'>${ diffs.map( diffRow ).join('') }</table>`
96
-
97
- toggleDiffEls( form )
98
- }
99
-
100
- function toggleDiffEls( form ) {
101
- var diffEl = document.querySelector( form.dataset.diffTarget )
102
- if ( diffEl ) {
103
-
104
- var elementsToToggle = toolbox.slice( document.querySelectorAll( diffEl.dataset.hideWhenEmpty ))
105
- elementsToToggle.push( diffEl )
106
-
107
- toolbox.each( elementsToToggle, el => {
108
- el.classList.toggle( 'form-diff-hidden', diffEl.children.length == 0 )
109
- })
110
- }
111
- }
112
-
113
- // Create a diff table row
114
- function diffRow ( diff ) {
115
-
116
- var row = `<tr class='input-diff ${diff['class'] || ''}' data-diff-name='${diff.name}'>`
117
-
118
- // Add label and diff note
119
- row += `<td class='input-diff-label'><span>${diff.label}</span>`
120
- if (diff.note) row += ` <span class='diff-note'>${diff.note}</span>`
121
- row += "</td>"
122
-
123
- // Add initial value code cell
124
- row += diffCell( diff.initial, 'initial' )
125
-
126
- // Add arrow marker
127
- row += "<td class='input-diff-marker'><span>→</span></td>"
128
-
129
- // Add current value code cell
130
- row += diffCell( diff.value, 'value' )
131
- row += `<td class='input-diff-undo'><span><button class='form-diff-button' type='button' aria-label='Reset input' data-reset-input='${diff.selector}'>✕</button></span></td>`
132
-
133
- return row + "</tr>"
134
- }
135
-
136
- function diffCell (value, name) {
137
- var tdClass = `input-diff-${name}`
138
- if ( !value || value == 'no selection' ) tdClass += ' null-value'
139
-
140
- return `<td class='${tdClass}'><code>${( value || 'null' )}</code></td>`
141
- }
142
-
143
- // Add unique ids for each input in a form
144
- function initDiffIds( form ) {
145
- if ( form.dataset.diffIds ) return
146
-
147
- toolbox.each( form.querySelectorAll( Selector ), ( el, index ) => {
148
- el.dataset.formDiffId = `form-diff-${randID()}-${index}`
149
- })
150
-
151
- form.dataset.diffIds = true
152
- }
153
-
154
- function randID () {
155
- return Math.random().toString(36).substring(3)
156
- }
157
-
158
- // Returns: { input: input element, initial: 'old value', value: 'new value' }
159
- function diffInput( input ) {
160
- var diff = {
161
- initial: [],
162
- value: [],
163
- name: [],
164
- selector: []
165
- },
166
- inputs
167
-
168
- var label = toolbox.getClosest( input, 'label' )
169
- var form = toolbox.getClosest( input, 'form' )
170
-
171
- if ( label ) {
172
- // Get text label from the first input in a label
173
- diff.label = getLabel.text( label.querySelector( Selector ) )
174
-
175
- // When there are multiple inputs under a single label
176
- // Group those input values in the form diff and treat
177
- // them as a single value
178
- var labelInputs = toolbox.slice( label.querySelectorAll( Selector ) )
179
-
180
- // If multiple inputs are under a single label, use those
181
- // otherwise use input as an array (to simplify this)
182
- inputs = ( labelInputs.length > 0 ) ? labelInputs : [ input ]
183
- } else {
184
- inputs = [ input ]
185
- }
186
-
187
- diff.label = diff.label || getLabel.text( input ) || input.getAttribute( 'name' )
188
-
189
- toolbox.each( inputs, input => {
190
-
191
- if ( input.type == 'range' && input.dataset.values ) {
192
- diff.initial.push( input.dataset.values.split(',')[input.dataset.initialValue] )
193
- diff.value.push( input.dataset.values.split(',')[input.value] )
194
-
195
- // Get select label names (rather than values) if present
196
- } else if ( input.tagName == 'SELECT' ) {
197
-
198
- // Show option labels instead of values if present
199
- var options = {}
200
- toolbox.each(input.children, o => {
201
- options[o.value] = o.value ? o.text : 'no selection'
202
- })
203
-
204
- diff.initial.push( options[ input.dataset.initialValue ] || input.dataset.initialValue )
205
- diff.value.push( options[ input.value ] || input.value )
206
-
207
- // Get radio label names (rather than values) if present
208
- } else if ( input.type == 'radio' ) {
209
-
210
- diff.label = getLabel.legend( input ) || diff.label
211
-
212
- var radioInputs = form.querySelectorAll( `input[name="${input.name}"]` )
213
- var radioInitial, radioValue
214
-
215
- radioInputs.forEach( radio => {
216
- if ( radio.dataset.initialValue == 'true' ) radioInitial = getLabel.text( radio )
217
- if ( radio.checked ) diff.value.push( getLabel.text( radio ) )
218
- })
219
-
220
- diff.initial.push( radioInitial || 'no selection' )
221
-
222
- // Track checked state for checkboxes (rather than value)
223
- } else if ( input.type == 'checkbox' ) {
224
- diff.initial.push( input.dataset.initialValue )
225
- diff.value.push( input.checked )
226
- } else {
227
- diff.initial.push( input.dataset.initialValue )
228
- diff.value.push( input.value )
229
- }
230
-
231
- diff.note = input.dataset.diffNote
232
- diff['class'] = input.dataset.diffClass
233
- diff.name.push( input.name )
234
- diff.selector.push( input.dataset.formDiffId )
235
- })
236
-
237
- diff.initial = diff.initial.join(' ')
238
- diff.value = diff.value.join(' ')
239
- diff.name = diff.name.join(' ')
240
- diff.selector = diff.selector.map( s => `[data-form-diff-id="${s}"]` ).join(', ')
241
-
242
- return diff
243
- }
244
-
245
-
246
- function watch () {
247
- Event.change(()=> {
248
- inputChange.watch()
249
- Event.on( document, 'change', 'form', Event.debounce( diffForm, 100 ) )
250
-
251
- // Hide empty form-diffs
252
- toolbox.each( document.querySelectorAll( 'form[data-diff-target]' ), toggleDiffEls )
253
-
254
- if ( !document.querySelector( '#form-diff-hidden' ) )
255
- document.head.insertAdjacentHTML('beforeend', '<style id="form-diff-hidden">.form-diff-hidden{ display: none }</style>')
256
- })
257
- }
258
-
259
- module.exports = {
260
- watch: watch
261
- }
262
-
263
- },{"./get-label":34,"./input-change":35,"./selector":38,"compose-toolbox":40}],34:[function(require,module,exports){
264
- var toolbox = require( 'compose-toolbox' )
265
- var Selector = require( './selector' )
266
-
267
- function getInput ( input ) {
268
- if ( typeof input == 'string' ) input = document.querySelector( input )
269
- return input
270
- }
271
-
272
- function getLabel ( input ) {
273
-
274
- input = getInput( input )
275
- if (!input) return
276
-
277
- // Label wraps input
278
- var label = toolbox.getClosest( input, 'label' ) || document.querySelector( `label[for="${input.id}"]` )
279
-
280
- return label
281
- }
282
-
283
- function getAriaLabel( input ) {
284
- input = getInput( input ); if (!input) return
285
- var label = input.getAttribute('aria-label')
286
- var labelledBy = input.getAttribute( 'aria-labelledby' )
287
-
288
- if ( !label && labelledBy ) {
289
-
290
- // aria-labelledby='someID anotherID' must read multiple elements text content.
291
- // This creates a selector (prepending the '#' before each) to find the labels.
292
- //
293
- var selector = labelledBy.split(' ').map( name => '#'+name )
294
-
295
- var labelText = Array.prototype.map.call( selector, s => {
296
- var el = document.querySelector( s )
297
- if ( el ) return el.textContent
298
- else return false
299
- }).filter( e => e != false )
300
-
301
- if ( labelText ) label = labelText.join(' ')
302
- }
303
-
304
- return label
305
- }
306
-
307
- // Are inputs in a fieldset with a legend?
308
- // Use that as the label text
309
- function getLegendText ( input ) {
310
- input = getInput( input ); if (!input) return
311
- var legendText
312
-
313
- var fieldset = toolbox.getClosest( input, 'fieldset' )
314
-
315
- if ( fieldset ) {
316
- var legend = fieldset.querySelector( 'legend' )
317
- if ( legend ) legendText = legend.textContent.trim()
318
- }
319
-
320
- return legendText
321
- }
322
-
323
-
324
- function getLabelText ( input ) {
325
- input = getInput( input ); if (!input) return
326
-
327
- var label = getLabel( input )
328
-
329
- // Grab text from input aria-label, aria-labelledby
330
- var labelText = getAriaLabel( input )
331
-
332
- // Use or label.textContent, or input placeholder=""
333
- if ( !labelText ) {
334
- if (label) labelText = label.textContent
335
-
336
- else labelText = input.getAttribute( 'placeholder' )
337
- }
338
-
339
- if ( labelText ) return labelText.trim()
340
- }
341
-
342
- getLabel.text = getLabelText
343
- getLabel.legend = getLegendText
344
-
345
- module.exports = getLabel
346
-
347
- },{"./selector":38,"compose-toolbox":40}],35:[function(require,module,exports){
348
- var toolbox = require( 'compose-toolbox' ),
349
- Event = toolbox.event,
350
- getLabel = require( './get-label' ),
351
- inputSelectors = require( './selector' ),
352
- watching = false
353
-
354
- function inputInit( input ) {
355
- input.classList.toggle( 'empty', !input.value.trim().length )
356
- if ( input.type == 'radio' || input.type == 'checkbox' ) {
357
- input.dataset.initialValue = input.checked
358
- } else {
359
- input.dataset.initialValue = input.value
360
- }
361
- }
362
-
363
- function inputChange( input ) {
364
- // Allow calling from event handler
365
- var input = ( input.target || input )
366
-
367
- // If element is empty (or contains only whitespace)
368
- // Add empty class
369
- input.classList.toggle( 'empty', !input.value.trim().length )
370
-
371
- changeClasses( input )
372
-
373
- var form = toolbox.getClosest( input, 'form' )
374
- if ( form ) {
375
- Event.fire( form, 'change' )
376
- }
377
- }
378
-
379
- function changeClasses( input, recursive ) {
380
- var changed
381
- var defaulted
382
-
383
- if ( input.type == 'radio' && !recursive ) {
384
- var form = toolbox.getClosest( input, 'form' )
385
- if ( form ) {
386
- return Array.prototype.forEach.call( form.querySelectorAll( `[name='${input.name}']` ), e => {
387
- changeClasses( e, true )
388
- })
389
- }
390
- } else if ( input.type == 'checkbox' || input.type == 'radio' ) {
391
- changed = String( input.checked ) != input.dataset.initialValue
392
- } else {
393
- changed = input.value != input.dataset.initialValue
394
- }
395
-
396
- input.classList.toggle( 'changed-value', changed )
397
-
398
- // Remove all defaulted value classnames on an input change
399
- input.classList.remove( 'defaulted-value' )
400
-
401
- var label = getLabel( input )
402
-
403
- if ( label ) {
404
- var hasChangedInputs = label.querySelector( '.changed-value' ) || input.classList.contains( 'changed-value' )
405
- label.classList.toggle( 'input-changed-value', hasChangedInputs )
406
-
407
- // Remove all defaulted value classnames on an input change
408
- toolbox.each( label.querySelectorAll( '.defaulted-value' ), el => el.classList.remove( 'defaulted-value' ) )
409
- label.classList.remove( 'input-defaulted-value' )
410
- }
411
- }
412
-
413
-
414
- function watch () {
415
- if ( watching ) { return }
416
- // Initialize input state
417
- Event.change( function() {
418
- toolbox.each( document.querySelectorAll( inputSelectors ), inputInit )
419
- })
420
-
421
- // Set input state on input
422
- Event.on( document, 'input', inputSelectors, inputChange )
423
-
424
- // Form.reset() doesn't fire input events. This ensures those events are fired.
425
- Event.on( document, 'click', '[type=reset]', resetForm )
426
-
427
- watching = true
428
- }
429
-
430
-
431
- function resetForm(event) {
432
- var form = toolbox.getClosest(event.target, 'form')
433
-
434
- Event.delay( function() {
435
- toolbox.each(form.querySelectorAll('input.input-changed, select.input-changed, textarea.input-changed '), function( el ) {
436
- Event.fire( el, 'input' )
437
- })
438
- }, 100 )
439
- }
440
-
441
- module.exports = {
442
- watch: watch
443
- }
444
-
445
- },{"./get-label":34,"./selector":38,"compose-toolbox":40}],36:[function(require,module,exports){
446
- function reset(){formCallbacks={next:[]},registeredForms=[]}function newForm(e){function t(){return m[p]}function o(){return m[p+1]}function n(){return t()&&!t().disabled}function r(){a(p+1)}function a(e){e=Number(e);var o=m[e];if(o&&o!=t()){var r=p<e?"forward":"reverse";if(n())return s(function(){a(e)},r);p=e,c(r)}}function s(e,o){o=o||"forward",t().classList.remove("active","enter"),t().classList.add("exit"),t().dataset.direction=o,Event.afterAnimation(t(),function(){l(),"function"==typeof e&&e()},20)}function i(e,o){n()||(o=o||"reverse",t().classList.remove("exit","completed"),t().classList.add("active","enter"),t().dataset.direction=o,u(),Event.afterAnimation(t(),function(){"function"==typeof e&&e()},20))}function c(e){u(),t().classList.remove("completed"),t().dataset.direction=e,t().classList.add("active","enter");var o=t().querySelector("input:not([hidden]), textarea, select");o&&o.focus(),f()}function l(){t().disabled=!0,t().classList.add("completed"),t().classList.remove("enter","exit")}function f(){toolbox.each(e.querySelectorAll("nav [data-step]"),function(e){e.dataset.step<p+1&&(e.classList.remove("here","next"),e.classList.add("previous","completed")),e.dataset.step==p+1&&(e.classList.remove("previous","next"),e.classList.add("here")),e.dataset.step>p+1&&(e.classList.remove("previous","here"),e.classList.add("next"))})}function d(e){toolbox.each(e.querySelectorAll("fieldset.form-step[disabled]"),function(e){e.disabled=!1})}function u(){m.forEach(function(e){e.disabled=e!=t()})}if(e){var m=toolbox.slice(e.querySelectorAll(".form-step")),p=0;if(0!=m.length){if(m.forEach(function(e,o){e.disabled=e!=t(),e.dataset.step=o}),e.dataset.nav){var v='<nav class="progressive-form-nav">';m.forEach(function(e,t){v+='<a href="#" class="progressive-form-nav-item" data-step="'+(t+1)+'">',v+=e.dataset.nav||"Step "+(t+1),v+="</a> "}),v+="</nav>",e.insertAdjacentHTML("afterbegin",v)}c(),registeredForms.push(function(n,c){var l=n.currentTarget;if("show-step"===c)n.preventDefault(),toolbox.matches(l,".previous, .completed, .completed + a")&&a(l.dataset.step-1);else if("next"===c){var f="FORM"==l.tagName?l:toolbox.getClosest(l,"form");if(e==f&&!t().querySelector(":invalid")){var m=getCallbacks(e);o()?u():d(e),m?(n.preventDefault(),m(n,{fieldset:t(),form:e,forward:r,dismiss:s,revisit:i,showStep:a,complete:!o(),formData:toolbox.formData(t())})):o()&&(n.preventDefault(),r())}}})}}}function fire(e,t){registeredForms.forEach(function(o){o(e,t)})}function getCallbacks(e,t){t=t||"next";var o,n=[];return formCallbacks[t].forEach(function(t){(o=t(e))&&n.push(o)}),!!n.length&&function(){var e=toolbox.slice(arguments);n.forEach(function(t){t.apply(t,e)})}}function next(e,t){on(e,"next",t)}function on(e,t,o){if("object"==typeof t)for(type in t)on(e,type,t[type]);else if(formCallbacks[t]){var n=function(t){if(t==e)return o};formCallbacks[t].push(n)}}var toolbox=require("compose-toolbox"),Event=toolbox.event,Callback=toolbox.event.callback,formSelector="form.progressive",watching=!1,formCallbacks,registeredForms;Event.ready(function(){reset(),Event.bubbleFormEvents();var e=formSelector+" [type=submit], "+formSelector+" .next-step",t=formSelector+" .back-step";Event.on(document,"click",e,fire,"next"),Event.on(document,"click",t,fire,"back"),Event.on(document,"click",".progressive-form-nav-item[data-step]",fire,"show-step"),document.head.insertAdjacentHTML("beforeend","<style>.form-step[disabled], .form-step.completed { position: absolute !important; top: -9999px !important; left: -9999px !important; left: 0 !important; right: 0 !important; }</style>"),Event.change(function(){reset(),toolbox.each(document.querySelectorAll(formSelector),function(e){newForm(e)})})}),module.exports={next:next,new:newForm};
447
- },{"compose-toolbox":40}],37:[function(require,module,exports){
448
- var Event = require( 'compose-event' ),
449
- toolbox = require( 'compose-toolbox' ),
450
- getLabel = require( './get-label' )
451
-
452
- function resetValue( event ) {
453
- event.preventDefault()
454
-
455
- var inputs = document.querySelectorAll( event.currentTarget.dataset.resetInput )
456
-
457
- toolbox.each( inputs, i => {
458
- setValue( i, i.dataset.initialValue )
459
- })
460
- }
461
-
462
- function setValue(input, value) {
463
- // Trigger event watchers that the input was changed.
464
- if ( input.value != value ) {
465
- input.value = value
466
- Event.fire( input, 'input' )
467
-
468
- var form = toolbox.getClosest( input, 'form' )
469
- Event.fire( form, 'change' )
470
- }
471
- }
472
-
473
- function restoreDefault( event ) {
474
- event.preventDefault()
475
-
476
- var targets = document.querySelectorAll( event.currentTarget.dataset.restoreDefault )
477
-
478
- toolbox.each( targets, el => {
479
-
480
- // Restore to default a single element
481
- if ( el.dataset.default ) {
482
- setDefault( el )
483
- } else if ( el.children.length > 0 ) {
484
-
485
- // Restore all inputs to default when
486
- // data-restore-default points to a parent element
487
- toolbox.each( el.querySelectorAll( '[data-default]' ), setDefault )
488
- }
489
- })
490
- }
491
-
492
- function setDefault( el ) {
493
- if ( el.type == 'radio' || el.type == 'checkbox' ) {
494
- el.checked = true
495
- Event.fire( el, 'input' )
496
- } else {
497
- setValue( el, el.dataset.default )
498
- }
499
-
500
- el.classList.add( 'defaulted-value' )
501
-
502
- var label = getLabel( el )
503
- if (label) label.classList.add( 'input-defaulted-value' )
504
- }
505
-
506
- function resetForm(event) {
507
- var form = toolbox.getClosest( event.target, 'form' )
508
- Event.delay( function() {
509
- toolbox.each( form.querySelectorAll( '.changed-value' ), function( el ) {
510
- Event.fire( el, 'input' )
511
- })
512
- }, 100)
513
- }
514
-
515
- Event.on( document, 'click', '[data-reset-input]', resetValue )
516
- Event.on( document, 'click', '[data-restore-default]', restoreDefault )
517
- Event.on( document, 'click', '[type=reset]', resetForm )
518
-
519
- },{"./get-label":34,"compose-event":16,"compose-toolbox":40}],38:[function(require,module,exports){
520
- module.exports="input:not([type=hidden]), select, textarea";
521
- },{}],39:[function(require,module,exports){
522
- // Dependencies
523
- var toolbox = require( 'compose-toolbox' ),
524
- Event = toolbox.event,
525
- tTime = toolbox.time,
526
- getClosest = toolbox.getClosest,
527
- wordCount = toolbox.wordCount,
528
- textSelectors = '[required]';
529
-
530
- // Does this browser support HTML5 validation?
531
- function supported () {
532
-
533
- return typeof document.createElement( 'input' ).checkValidity === 'function'
534
-
535
- }
536
-
537
- var invalidHandler = Event.callback.new( function( event ) {
538
- event.preventDefault()
539
- event.stopPropagation()
540
- })
541
-
542
- // Watch for events ( if validation is suported )
543
- Event.ready( function(){
544
-
545
- if ( supported() ) {
546
-
547
- Event.bubbleFormEvents()
548
-
549
- document.addEventListener( 'invalid', invalidHandler, true )
550
-
551
- Event.on( document.body, 'click', '[type=submit]', submit )
552
-
553
- Event.on( document, 'validate', 'form', function( event ) {
554
- validateForm( event.target )
555
- })
556
-
557
- // Ensure all required inputs have aria-requrired attributes
558
- toolbox.slice( document.querySelectorAll( '[required]' ) ).forEach( function( element ) {
559
- element.setAttribute( 'aria-required', true )
560
- })
561
-
562
- // Watch input events
563
- Event.on( document, 'blur', '[required]', checkValidation )
564
- Event.on( document, 'keydown', '[required]', Event.debounce( checkValidation, 200 ) )
565
- Event.on( document, 'input', 'select[required]', Event.debounce( checkValidation, 200 ) )
566
- Event.on( document, 'change', '[type=checkbox][required]', checkValidation )
567
-
568
- }
569
- })
570
-
571
- function validateForm ( form ) {
572
-
573
- // Scoped variables
574
- var inputs = form.querySelectorAll( '[required]' ),
575
- invalidInput;
576
-
577
- toolbox.slice( inputs ).some( function( input ) {
578
-
579
- // if invalid
580
- if ( !getClosest( input, '[disabled]' ) && !checkInput( input ) ) {
581
- invalidInput = input
582
- return true
583
- }
584
- })
585
-
586
- if ( invalidInput ) {
587
-
588
- // Show validation message
589
- focus( invalidInput )
590
- showMessage( invalidInput )
591
-
592
- return false
593
- }
594
-
595
- // The form is valid, skip it
596
- else {
597
- return true
598
- }
599
-
600
- }
601
-
602
- // Handler for validation events
603
- var checkValidation = Event.callback.new( function( event ) {
604
-
605
- if ( checkInput( event.target, event.type ) ) {
606
-
607
- // Remove any pre-existing validation message
608
- hideMessage( event.target )
609
- }
610
-
611
- })
612
-
613
-
614
- function checkInput ( input, event ) {
615
-
616
- var el = statusEl( input ),
617
- valid = isValid( input ),
618
- neutral = event == 'keydown' && !valid;
619
-
620
- // Don't trigger invalid style while typing
621
- if ( neutral && input == document.activeElement ) {
622
-
623
- el.classList.remove( 'invalid', 'valid' )
624
- input.setAttribute( 'aria-invalid', false )
625
-
626
- } else {
627
-
628
- el.classList.toggle( 'invalid', !valid )
629
- el.classList.toggle( 'valid', valid )
630
- input.setAttribute( 'aria-invalid', valid )
631
-
632
- }
633
-
634
- return valid
635
-
636
- }
637
-
638
- // Is an input valid?
639
- function isValid ( input ) {
640
-
641
- // If element only contains whitespace, strip value
642
- if ( !input.value.replace( /\s/g, '' ).length )
643
- input.value = ''
644
-
645
- // Set a custom validation message for word count
646
- var message = checkValue( input ) || checkLength( input ) || checkTime( input ) || ''
647
- input.setCustomValidity( message )
648
-
649
- var valid = input.checkValidity()
650
-
651
- return valid
652
-
653
- }
654
-
655
-
656
- function checkValue( input ) {
657
- if ( input.dataset.invalidValue ) {
658
-
659
- // Does input value == invalid value? (case insensitive)
660
- var regexp = escapedRegex( input.dataset.invalidValue, 'i' )
661
-
662
- if ( input.value.match( regexp ) ) {
663
-
664
- // Remove any standard custom message
665
- input.dataset.cachedMessage = input.dataset.message
666
- input.dataset.message = ''
667
-
668
- return input.dataset.invalidValueMessage || "Value '"+input.value+"' is not permitted"
669
-
670
- // If not invalid value reset standard validation message
671
- } else if ( input.dataset.cachedMessage ) {
672
-
673
- input.dataset.message = input.dataset.cachedMessage
674
- input.dataset.cachedMessage = ''
675
-
676
- }
677
- }
678
- }
679
-
680
- function escapedRegex( input, options ) {
681
- var str = input.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&')
682
- return new RegExp( "^" + str + '$', options )
683
- }
684
-
685
- function checkLength ( input ) {
686
- return checkCount( input, 'min' )
687
- || checkCount( input, 'max' )
688
- }
689
-
690
- // Test custom validation for maximum or minimum words present
691
- function checkCount ( input, limit ) {
692
-
693
- var goal = input.dataset[ limit + 'Words' ]
694
-
695
- if ( goal ) {
696
- var phrasing = ( limit == 'min' ) ? 'at least ' : 'no more than ',
697
- valid = ( limit == 'min' ) ? ( goal <= wordCount(input.value) ) : ( wordCount(input.value) <= goal )
698
-
699
- // Return a custom error message
700
- if ( input.value && !valid )
701
- return 'Please write ' + phrasing + goal + ' words.'
702
- }
703
-
704
-
705
- }
706
-
707
- // Test custom validation for maximum and minimum time
708
- function checkTime ( input ) {
709
- var before = input.dataset.beforeTime,
710
- after = input.dataset.afterTime
711
-
712
- if ( before || after || input.dataset.validateTime ) {
713
- var zone = input.dataset.zone || 'utc',
714
- options = { zone: zone },
715
- timeValue = tTime.parse( input.value, options ),
716
- err = '',
717
- isAfter, afterTime, isBefore, beforeTime
718
-
719
- // Enure that the time value is actually
720
- if ( !timeValue ) return "Please enter a valid date string: YYYY-MM-DD HH:MM:SS"
721
-
722
- if ( before ) {
723
- beforeTime = tTime.parse( before )
724
-
725
- if ( !beforeTime ) {
726
- err = `data-before-time='${before}' is not a valid date string`
727
- console.error( err )
728
- return err
729
- }
730
- }
731
-
732
- if ( after ) {
733
- afterTime = tTime.parse( after )
734
-
735
- if ( !afterTime ) {
736
- err = `data-after-time='${after}' is not a valid date string`
737
- console.error( err )
738
- return err
739
- }
740
- }
741
-
742
- if ( beforeTime && afterTime ) {
743
- if ( !tTime.isBetween( timeValue, afterTime, beforeTime ) ) {
744
- return "Please enter a time between "+formatDate( afterTime, options )+" and "+formatDate( beforeTime, options )
745
- }
746
- }
747
-
748
- else if ( afterTime ) {
749
- if ( !tTime.isAfter( timeValue, afterTime ) ) {
750
- return "Please enter a time after "+formatDate( afterTime, options )
751
- }
752
- }
753
-
754
- else if ( beforeTime ) {
755
- if ( !tTime.isBefore( timeValue, beforeTime ) ) {
756
- return "Please enter a time before "+formatDate( beforeTime, options )
757
- }
758
- }
759
- }
760
- }
761
-
762
- function formatDate( date, options ) {
763
- return tTime.prettyPrint( date, options ).replace( ' Z', '')
764
- }
765
-
766
-
767
- // If input is nested in a label, treat the label as the
768
- // target for assigning status (class names and messages).
769
- function statusEl ( input ) {
770
-
771
- return getClosest( input, 'label' ) || input
772
-
773
- }
774
-
775
- // Focus() if invalid element is not hidden
776
- // or Focus its immediate sibling (mostly used for upload buttons)
777
- function focus ( el ) {
778
-
779
- el = ( el.style.display !== 'none' ) ? el : el.nextSibling
780
- el.focus()
781
-
782
- }
783
-
784
- // Submission validation handler function
785
- function submit ( event ) {
786
-
787
- var form = ( event.target.tagName == "FORM" ) ? event.target : getClosest( event.target, 'form')
788
-
789
- // Skip validation if no invalid inputs found
790
- if ( !validateForm( form ) ) {
791
-
792
- // Pause keydown/blur triggers for the next second to avoid neutral empty style
793
- checkValidation.stop()
794
- Event.delay( checkValidation.start, 500 )
795
-
796
- // Stop the submission event
797
- event.preventDefault()
798
- event.stopImmediatePropagation()
799
-
800
- }
801
-
802
- }
803
-
804
- function invalidateField ( el, message ) {
805
- if ( el && el.value ) {
806
- el.dataset.invalidValue = el.value
807
- if ( message )
808
- el.dataset.invalidValueMessage = message
809
- }
810
- }
811
-
812
- function hideMessage ( el ) {
813
-
814
- var form = getClosest( el, 'form' ),
815
- msg = form.querySelector( '.validation-message' )
816
-
817
- if ( msg ) msg.parentNode.removeChild( msg )
818
-
819
- }
820
-
821
-
822
- // Validation message handler function
823
- function showMessage ( el ) {
824
-
825
- //hideMessage( el )
826
-
827
- var label = getClosest( el, 'label' ),
828
- message = el.dataset.message || el.validationMessage
829
-
830
- if ( label ) {
831
- var existingMessage = label.querySelector( '.validation-message-text' )
832
-
833
- if ( !existingMessage ) {
834
- label.insertAdjacentHTML( 'beforeend', '<span class="validation-message"><span class="validation-message-text" role="alert">' + message + '</span></span>' )
835
-
836
- } else if ( existingMessage.textContent != message ) {
837
- existingMessage.innerHTML = message
838
- }
839
- }
840
-
841
- }
842
-
843
- // Public API
844
- module.exports = {
845
- validate: validateForm,
846
- invalidateField: invalidateField
847
- }
848
-
849
- },{"compose-toolbox":40}],40:[function(require,module,exports){
850
- require("./lib/shims/_classlist");var merge=require("./lib/shims/_object.assign"),event=require("compose-event"),luxon=require("luxon"),time=merge(require("./lib/time"),luxon),scrollTo=require("./lib/scrollto"),fromTop=require("./lib/fromtop"),ease=require("./lib/ease"),toolbox={event:event,scrollTo:scrollTo,fromTop:fromTop,merge:merge,ease:ease,time:time,getClosest:function(e,r){for(;e&&e!==document;e=e.parentNode)if(toolbox.matches(e,r))return e;return!1},childOf:function(e,r){for(;e&&e!==document;e=e.parentNode)if(e==r)return!0;return!1},getNext:function(e,r){for(;e&&e!==document;e=e.parentNode)if(e.querySelector(r))return e.querySelector(r);return!1},matches:function(e,r){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,r)},wordCount:function(e){var r=e.match(/\S+/g);return r?r.length:0},slice:function(e,r){return Array.prototype.slice.call(e,r)},each:function(e,r){return Array.prototype.forEach.call(e,r)},formData:function(e){var r=new FormData,o=e.querySelectorAll("input[name]");return toolbox.each(o,function(e){r.append(e.name,e.value)}),r}};module.exports=toolbox;
851
- },{"./lib/ease":41,"./lib/fromtop":42,"./lib/scrollto":43,"./lib/shims/_classlist":44,"./lib/shims/_object.assign":45,"./lib/time":46,"compose-event":16,"luxon":61}],41:[function(require,module,exports){
852
- var ease={inOutQuad:function(t,u,n,e){return(t/=e/2)<1?n/2*t*t+u:(t--,-n/2*(t*(t-2)-1)+u)},inOutCubic:function(t,u,n,e){return(t/=e/2)<1?n/2*t*t*t+u:(t-=2,n/2*(t*t*t+2)+u)},inOutQuint:function(t,u,n,e){var r=(t/=e)*t,i=r*t;return u+n*(6*i*r+-15*r*r+10*i)},inOutCirc:function(t,u,n,e){return(t/=e/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+u:(t-=2,n/2*(Math.sqrt(1-t*t)+1)+u)}};ease.default=ease.inOutQuad,module.exports=ease;
853
- },{}],42:[function(require,module,exports){
854
- module.exports=function(t){return Math.round(t.getBoundingClientRect().top+window.pageYOffset)};
855
- },{}],43:[function(require,module,exports){
856
- function move(o){document.documentElement.scrollTop=o,document.body.parentNode.scrollTop=o,document.body.scrollTop=o}function position(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function scrollTo(o,e,n){"object"==typeof o&&(o=fromTop(o)),"number"==typeof e&&(n=e,e=null),n=void 0===n?500:n;var t=position(),r=o-t,c=0,l=function(){c+=20,move(ease.default(c,t,r,n)),c<n?requestAnimationFrame(l):e&&"function"==typeof e&&e()};l()}var ease=require("./ease"),fromTop=require("./fromtop");module.exports=scrollTo;
857
- },{"./ease":41,"./fromtop":42}],44:[function(require,module,exports){
858
- "document"in self&&("classList"in document.createElement("_")?function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var n,i=arguments.length;for(n=0;n<i;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}t=null}():function(t){"use strict";if("Element"in t){var e=t.Element.prototype,n=Object,i=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},s=Array.prototype.indexOf||function(t){for(var e=0;e<this.length;e++)if(e in this&&this[e]===t)return e;return-1},r=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},o=function(t,e){if(""===e)throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(e))throw new r("INVALID_CHARACTER_ERR","String contains an invalid character");return s.call(t,e)},a=function(t){for(var e=i.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],s=0;s<n.length;s++)this.push(n[s]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},c=a.prototype=[],l=function(){return new a(this)};if(r.prototype=Error.prototype,c.item=function(t){return this[t]||null},c.contains=function(t){return t+="",-1!==o(this,t)},c.add=function(){var t,e=arguments,n=0,i=e.length,s=!1;do{t=e[n]+"",-1===o(this,t)&&(this.push(t),s=!0)}while(++n<i);s&&this._updateClassName()},c.remove=function(){var t,e,n=arguments,i=0,s=n.length,r=!1;do{for(t=n[i]+"",e=o(this,t);-1!==e;)this.splice(e,1),r=!0,e=o(this,t)}while(++i<s);r&&this._updateClassName()},c.toggle=function(t,e){t+="";var n=this.contains(t),i=n?!0!==e&&"remove":!1!==e&&"add";return i&&this[i](t),!0===e||!1===e?e:!n},c.toString=function(){return this.join(" ")},n.defineProperty){var u={get:l,enumerable:!0,configurable:!0};try{n.defineProperty(e,"classList",u)}catch(t){-2146823252===t.number&&(u.enumerable=!1,n.defineProperty(e,"classList",u))}}else n.prototype.__defineGetter__&&e.__defineGetter__("classList",l)}}(self));
859
- },{}],45:[function(require,module,exports){
860
- "function"!=typeof Object.assign&&function(){Object.assign=function(t){"use strict";if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(t),e=1;e<arguments.length;e++){var n=arguments[e];if(void 0!==n&&null!==n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])}return r}}();var merge=function(){var t=[{}].concat(Array.prototype.slice.call(arguments));return Object.assign.apply(this,t)};module.exports=merge;
861
- },{}],46:[function(require,module,exports){
862
- function isBefore(e,i){return i=parse(i),(e=parse(e))==DateTime.min(i,e)}function isAfter(e,i){return i=parse(i),(e=parse(e))==DateTime.max(i,e)}function isBetween(e,i,r){if(e=parse(e),i=parse(i),r=parse(r),e.isValid&&i.isValid&&r.isValid){var t=DateTime.min(i,r),a=DateTime.max(i,r);return DateTime.max(t,e)==DateTime.min(e,a)}return!1}function parse(e,i){var r,t=["ISO","SQL","HTTP","RFC2822"];if(i=i||{},i.millis&&!isNaN(e)&&(e=Number(e),t.unshift("Millis")),"object"==typeof e){if(e.toISO)return e;t.unshift("Object")}return t.forEach(function(t){r&&r.isValid||!DateTime["from"+t]||(r=DateTime["from"+t](e,i))}),!!r.isValid&&r}function prettyPrint(e,i){return e=parse(e,i),i&&i.zone&&(e=e.setZone(i.zone)),e?e.toISO().replace("T"," ").replace(".000"," ").replace(":00 "," "):"Unparseable date string"}var DateTime=require("luxon").DateTime;module.exports={isBefore:isBefore,isAfter:isAfter,isBetween:isBetween,parse:parse,prettyPrint:prettyPrint};
863
- },{"luxon":61}],47:[function(require,module,exports){
864
- require("./lib/object.assign");var Event=require("compose-event"),sliders=[],listening,Slider={change:function(e){self.refresh(e.currentTarget)},refresh:function(e){self.setLabels(e),self.setInput(e),self.setFill(e),self.setState(e)},focus:function(e){e.isTrusted&&e.currentTarget.focus()},setup:function(){listening||(Event.on(document,"input toggler:show","[type=range]",self.change,{useCapture:!0}),Event.on(document,"click change input","[type=range]",self.focus,{useCapture:!0}),listening=!0);var e=document.querySelectorAll("[type=range]:not(.slider-input)");Array.prototype.forEach.call(e,function(e){var t=self.data(e);sliders.push(t),e.dataset.id=t.id,e.dataset.initialValue=e.value,e=self.template(e),self.refresh(e)})},data:function(e){var t={id:sliders.length,min:Number(e.getAttribute("min"))||0,max:Number(e.getAttribute("max"))||100,labels:{},externalLabels:{}};Object.assign(t,self.extractData(e)),t=self.extractValues(t),t=self.getLabels(t),t.values&&(t.max=t.min+t.values.length-1),t.segments=t.max-t.min+1;for(var l in t)l.match(/-/)&&(t[this.camelCase(l)]=t[l],delete t[l]);return!t.input&&e.getAttribute("name")&&(t.input=e.getAttribute("name"),e.removeAttribute("name")),t.input&&(t.inputClass=t.input.replace(/\W/g,"-"),t.inputExists=self.inputExists(e,t)),t=self.getLineLabels(t),t.mark&&(t.mark=t.mark.split(",").map(Number)),t},getData:function(e){return"string"!=typeof e&&e.dataset&&(e=e.dataset.id),sliders[e]},extractValues:function(e){if(e.values)e.values=e.values.split(",").map(self.trim);else{e.values=[];for(var t=e.min;t<=e.max;t++)e.values.push(t)}return e},getLabels:function(e){e.label&&e.label.match(/false|none/)&&(e.label=!1);for(var t in e)if(e.hasOwnProperty(t)&&!1!==e[t]){var l=t.match(/^(external-)?label-(.+)|^label$/);if(l){var a=e[t].match(/;/)?";":",",s=e[t].split(a).map(self.trim),n=l[1],r=l[2];n?e.externalLabels[r]=s:"label"==t?(e.labels.default=s,delete e.label):e.labels[r]=s,delete e[t]}var i=self.objectSize(e.labels);0==i&&(e.labels.default=e.values),i>1&&delete e.labels.default}return e},getLineLabels:function(e){var t={};if(e.lineLabels){var l=e.lineLabels.match(/;/)?";":",";e.lineLabels.split(l).map(function(e,l){var a=e.split(":");label=a[1]?a[1]:a[0],l=a[1]?a[0]:l+1,t[l]=label}),e.lineLabels=t}return e},template:function(e){var t=self.getData(e);e.setAttribute("min",t.min),e.setAttribute("max",t.max),e.classList.add("slider-input"),e.classList.contains("left-label")&&e.classList.remove("left-label");var l=self.templateHTML(t),a=["slider-container"];l.match("slider-line-label")&&a.push("line-labels"),l.match("slider-label")?a.push("with-label"):a.push("without-label"),l='<div class="'+a.join(" ")+'" id="slider'+t.id+'">'+l+"</div>",e.insertAdjacentHTML("beforebegin",l);var s=e.previousSibling;return s.querySelector(".slider-input-container").insertAdjacentHTML("afterbegin",e.outerHTML),e.parentNode.removeChild(e),e=s.querySelector(".slider-input"),e.getAttribute("value")||(e.value=t.value||t.min),e},templateHTML:function(e){var t="",l="";if(e.mark||e.lineLabels)for(var a=1;a<=e.segments;a++)t+="<div class='slider-segment'><span class='slider-segment-content'>",e.mark&&-1!=e.mark.indexOf(a)&&(t+="<span class='slider-segment-mark' data-index='"+a+"'></span>"),e.lineLabels&&e.lineLabels[a]&&(t+="<span class='slider-line-label'>"+e.lineLabels[a]+"</span>"),t+="</span></div>";for(var a=1;a<e.segments;a++)l+="<span class='slider-fill' data-index='"+a+"'></span>";return t="<div class='slider-input-container'><div class='slider-track'>"+t+"</div><div class='slider-fills'>"+l+"</div></div>"+self.labelTemplate(e),!e.inputExists&&e.inputClass&&(t+="<input class='"+e.inputClass+"' type='hidden' name='"+e.input+"' value=''>"),t},labelTemplate:function(e){var t="";if(0==e.label)return t;for(var l in e.labels)t+='<span class="slider-label-'+l+' internal-label" data-slider-label="'+l+'">',t+=self.labelHTML(e,l,""),t+="</span></span> ";return t.length>0&&(t="<div class='slider-label align-"+(e.positionLabel||"right")+"'>"+t+"</div>"),t},labelHTML:function(e,t,l){return self.labelMeta(e,t,"before")+"<span class='label-content'>"+l+"</span>"+self.labelMeta(e,t,"after")},labelMeta:function(e,t,l){var a=self.camelCase("-label-"+t),s=e[l+a]||e[l+"Label"];return s?"<span class='"+l+"-label'>"+s+"</span>":""},inputExists:function(e,t){if(t.inputClass){var l=self.scope(e).querySelector('input[name="'+t.input+'"]');if(l)return l.classList.add(t.inputClass),!0}},extractData:function(e){for(var t={},l=0;l<e.attributes.length;l++){var a=e.attributes[l].nodeName;new RegExp("^data-").test(a)&&(a=a.replace("data-",""),t[a]=e.attributes[l].nodeValue)}return t},getChange:function(e){var t=Number(e.dataset.initialValue);return t<e.value?"increased":e.value<t?"decreased":"initial"},labelElements:function(e,t,l){var a="[data-slider-label="+t+"]",s="#slider"+e+" "+a,n=a+=":not(.internal-label)";return a=l?n:s+", "+n,document.querySelectorAll(a)},setState:function(e){var t=self.getData(e),l=document.querySelectorAll('[data-track-slider-state="#'+e.id+'"]'),a=self.getChange(e);document.querySelector("#slider"+t.id).dataset.sliderState=a,Array.prototype.forEach.call(l,function(e){e.dataset.sliderState=a})},setFill:function(e){var t=self.getData(e),l=document.querySelectorAll("#slider"+t.id+" .slider-segment"),a=document.querySelectorAll("#slider"+t.id+" .slider-fill"),s=self.sliderIndex(e);Array.prototype.forEach.call(a,function(e,t){e.dataset.index<=s?(e.classList.add("filled"),l[t]&&l[t].classList.add("filled")):(e.classList.remove("filled"),l[t]&&l[t].classList.remove("filled"))})},setInput:function(e){var t=self.getData(e);if(null!==e.offsetParent&&t.input&&t.values){var l=t.values[self.sliderIndex(e)],a="."+t.input.replace(/\W/g,"-"),s=self.scope(e).querySelectorAll(a);Array.prototype.forEach.call(s,function(e){e.value=l})}},setLabels:function(e){var t=self.getData(e),l=self.sliderIndex(e);null!==e.offsetParent&&Array.prototype.forEach.call(["labels","externalLabels"],function(e){var a="externalLabels"==e;for(var s in t[e]){var n=self.labelElements(t.id,s,a),r=self.labelAtIndex(t[e],l);Array.prototype.forEach.call(n,function(e){var l=e.querySelector(".label-content");l?l.innerHTML=r[s]:e.innerHTML=self.labelHTML(t,s,r[s]),e.classList.toggle("empty-label",""===r[s])})}})},labelAtIndex:function(e,t){var l={};for(var a in e)l[a]=e[a][t];return l},sliderIndex:function(e){return Number(e.value)-Number(e.getAttribute("min"))},scope:function(e){for(var t=e;t&&"FORM"!=t.tagName;)t=t.parentNode;return t||document},trim:function(e){return e.trim()},objectSize:function(e){var t=0;for(var l in e)t++;return t},camelCase:function(e){return e.toLowerCase().replace(/-(.)/g,function(e,t){return t.toUpperCase()})}},self=Slider;Event.change(Slider.setup),module.exports=Slider;
865
- },{"./lib/object.assign":48,"compose-event":16}],48:[function(require,module,exports){
866
- "function"!=typeof Object.assign&&function(){Object.assign=function(n){"use strict";if(void 0===n||null===n)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(n),o=1;o<arguments.length;o++){var r=arguments[o];if(void 0!==r&&null!==r)for(var e in r)Object.prototype.hasOwnProperty.call(r,e)&&(t[e]=r[e])}return t}}();
867
- },{}],49:[function(require,module,exports){
868
- var TimeToggle=require("./lib/toggle.js"),Event=require("compose-event");TimeToggle.timeago=require("./lib/timeago.js"),TimeToggle.dateToHTML=require("./lib/date-to-html.js"),Event.ready(TimeToggle.listen),Event.change(TimeToggle.setup),module.exports=TimeToggle;
869
- },{"./lib/date-to-html.js":50,"./lib/timeago.js":51,"./lib/toggle.js":52,"compose-event":16}],50:[function(require,module,exports){
870
- var DateToHTML={supported:function(){return!isNaN(new Date("2014-01-29T18:14:29+00:00").getDate())},local:function(e){return DateToHTML.parse(e,!1)},utc:function(e){return DateToHTML.parse(e,!0)},parse:function(e,t){if(!DateToHTML.supported())return!1;var a=new Date(e);if(isNaN(a.getDate()))return!1;if(t)var n=a.getUTCFullYear(),r=pad(a.getUTCMonth()+1),s=pad(a.getUTCDate()),o=pad(a.getUTCHours()),p=pad(a.getUTCMinutes()),u=pad(a.getUTCSeconds()),T="UTC";else var n=a.getFullYear(),r=pad(a.getMonth()+1),s=pad(a.getDate()),o=pad(a.getHours()),p=pad(a.getMinutes()),u=pad(a.getSeconds()),T=DateToHTML.timezone(a);var i='<span class="date">'+n+"-"+r+"-"+s+"</span>";return i+=' <span class="time">'+o+":"+p+":"+u+"</span>",i+=' <span class="timezone">'+T+"</span>"},timezone:function(e){var t=e.getTimezoneOffset()/-60,a=String(e).match(/\((.+)\)$/);if(a)var t=a[1];else{var t="GMT ";t+=t>0?"+":"",t+=" "+pad(100*t,4)}return t}},pad=function(e,t){for(t=t||2;String(e).length<t;)e="0"+e;return e};module.exports=DateToHTML;
871
- },{}],51:[function(require,module,exports){
872
- var Timeago={setup:function(){var e=document.querySelectorAll(".timeago[datetime]");Array.prototype.forEach.call(e,function(e){var a=e.attributes.datetime.value,o=e.dataset.timeagoStyle;e.innerHTML=Timeago.parse(a,o)})},browserSupport:function(){return!isNaN(new Date("2014-01-29T18:14:29+00:00").getDate())},parse:function(e,a){if("string"==typeof e&&(e=new Date(e)),"short"===a)var o={just_now:"now",minute_ago:"1m",minutes_ago:"m",hour_ago:"1h",hours_ago:"h",yesterday:"1d",days_ago:"d",last_week:"1w",weeks_ago:"w"};else if("long"===a)var o={just_now:"just now",minute_ago:"1 minute ago",minutes_ago:" minutes ago",hour_ago:"1 hour ago",hours_ago:" hours ago",yesterday:"1 day ago",days_ago:" days ago",last_week:"1 week ago",weeks_ago:" weeks ago"};else var o={just_now:"just now",minute_ago:"1 minute",minutes_ago:" minutes",hour_ago:"1 hour",hours_ago:" hours",yesterday:"1 day",days_ago:" days",last_week:"1 week",weeks_ago:" weeks"};var t=((new Date).getTime()-new Date(e).getTime())/1e3,s=Math.floor(t/60),r=Math.floor(t/3600),u=Math.floor(t/86400),g=Math.floor(u/7);Math.floor(u/30);return!(isNaN(t)||u<0)&&(0===u?t<60?o.just_now:t<120?o.minute_ago:t<3600?s+o.minutes_ago:t<7200?o.hour_ago:r+o.hours_ago:1===u?o.yesterday:u<7?u+o.days_ago:1===g?o.last_week:g+o.weeks_ago)}};module.exports=Timeago;
873
- },{}],52:[function(require,module,exports){
874
- var Timeago=require("./timeago"),DateToHTML=require("./date-to-html"),Event=require("compose-event"),Toggle={timeEls:function(){return document.querySelectorAll(".time-toggle[datetime]")},nextTime:{timeago:"local",local:"utc",utc:"timeago"},setup:function(){if(!Timeago.browserSupport())return!1;Array.prototype.forEach.call(Toggle.timeEls(),Toggle.init)},listen:function(){if(!Timeago.browserSupport())return!1;Event.on(document,"click",".time-toggle",Toggle.toggle)},toggle:function(e){Array.prototype.forEach.call(Toggle.timeEls(),function(e){Toggle.toggleEl(e)}),e&&e.target&&e.stopPropagation()},toggleEl:function(e){var t=e.getAttribute("datetime"),o=Toggle.nextTime[e.dataset.mode||"timeago"];return Toggle.setContent(e,Toggle.dateHTML(t,o,e),o),e},init:function(e){var t=e.getAttribute("datetime"),o=e.dataset.mode||"timeago",a=Toggle.dateHTML(t,o,e);return a?(e.setAttribute("title","toggle time"),Toggle.setContent(e,a,o)):e.classList.remove("time-toggle"),e},setContent:function(e,t,o){var a=e.querySelector(".date-text");a?a.innerHTML=t:e.innerHTML='<span class="date-text">'+t+"</span",e.dataset.mode=o},dateHTML:function(e,t,o){if("timeago"==t)var a=Timeago.parse(e,o.dataset.timeago);else if(DateToHTML[t])var a=DateToHTML[t](e);if(a)return"<span class='time-toggle-date "+t+"'>"+a+"</span>"}};module.exports=Toggle;
875
- },{"./date-to-html":50,"./timeago":51,"compose-event":16}],53:[function(require,module,exports){
876
- var Event=require("compose-event"),Toggler={checkboxSelector:"[type=checkbox][data-toggle], [type=checkbox][data-show], [type=checkbox][data-hide]",radioSelector:"input[type=radio][data-show], input[type=radio][data-hide], input[type=radio][data-add-class], input[type=radio][data-remove-class]",selectSelector:"option[data-hide], option[data-show]",listen:function(){Event.on(document,"click change","[data-toggle], [data-show], [data-hide], [data-toggle-class], [data-add-class], [data-remove-class]",Toggler.trigger),Event.on(document,"change",".select-toggler",Toggler.trigger),Event.on(window,"hashchange",Toggler.hashChange)},hashChange:function(){if(window.location.hash){var e='[data-anchor="'+window.location.hash+'"]',t=document.querySelector("input"+e+", option"+e);if(t){if("radio"==t.type)t.checked=!0;else{var a=Toggler.getSelectFromOption(t);a.selectedIndex=t.index,t=a}Toggler.triggerToggling(t)}}},refresh:function(){Toggler.toggleCheckboxes(),Toggler.setupSelects(),Toggler.setupRadios()},trigger:function(e){"#"==e.currentTarget.getAttribute("href")&&(e.preventDefault(),e.stop()),Toggler.triggerToggling(e.currentTarget,e)},triggerToggling:function(e,t){var a,o=["hide","toggle","show","removeClass","toggleClass","addClass"];e.tagName.match(/select/i)&&(a=e,e=a.selectedOptions[0]),o=o.filter(function(t){return a||"radio"==e.type?!t.match(/toggle/):null!=e.dataset[t]}),o.forEach(function(t){Toggler.dispatch(e,t)})},dispatch:function(e,t){var a=t,o=e.dataset[t];o&&void 0!==o&&""!=o&&("checkbox"==e.type&&(a=t.match(/hide|remove/i)?!e.checked:e.checked),o&&(t.match(/class/i)?Toggler.setClass(o,a,e):Toggler.setState(o,a)))},setClass:function(e,t,a){if(void 0!==e&&""!=e){if("boolean"==typeof t&&(t=t?"add":"remove"),e.match(/&/))return void e.split("&").forEach(function(e){Toggler.setClass(e.trim(),t,a)});var o=e.split(";"),r=o[0].trim(),s=[];e=o[1],e?s=document.querySelectorAll(e):a&&a.tagName.match(/option/i)?s=[Toggler.getSelectFromOption(a)]:a&&(s=[a]),Array.prototype.forEach.call(s,function(e){Array.prototype.forEach.call(r.split(" "),function(a){var o=t.replace(/Class/,"");e.classList[o](a)}),Toggler.triggerTogglerEventsOnChildren(e,"class")})}},setState:function(e,t){var a=document.querySelectorAll(e);Array.prototype.forEach.call(a,function(e){var a=Toggler.toggleAction(e,t);Toggler[a](e),Toggler.triggerTogglerEventsOnChildren(e,a)})},toggleAction:function(e,t){return"boolean"==typeof t&&(t=t?"show":"hide"),"toggle"==t&&(t=e.classList.contains("hidden")||e.classList.contains("hiding")?"show":"hide"),t},show:function(e){if(!e.classList.contains("visible")&&!e.classList.contains("showing")&&null==e.offsetParent){e.classList.remove("hidden","hiding");var t=function(){e.classList.remove("showing","hidden"),e.classList.add("visible"),void 0!==e.disabled&&(e.disabled=!1);var t=e.querySelector("[data-focus]");t&&t.focus();e.querySelectorAll("[type=range]")};e.dataset.animate?(Event.afterAnimation(e,t,!0),e.classList.add("showing")):t()}},hide:function(e){if(!e.classList.contains("hidden")&&!e.classList.contains("hiding")){e.classList.remove("visible","showing");var t=function(){e.classList.remove("hiding","visible"),e.classList.add("hidden"),void 0!==e.disabled&&(e.disabled=!0)};e.dataset.animate?(Event.afterAnimation(e,t,!0),e.classList.add("hiding")):t()}},getLeafNodes:function(e){return e.hasChildNodes()?Array.prototype.slice.call(e.getElementsByTagName("*"),0).filter(function(e){return e.children&&0===e.children.length}):[e]},triggerTogglerEventsOnChildren:function(e,t){var a=Toggler.getLeafNodes(e);Array.prototype.forEach.call(a,function(e){Event.fire(e,"toggler:"+t)})},toggleCheckboxes:function(e){e=e||document.querySelectorAll(Toggler.checkboxSelector),Array.prototype.forEach.call(e,Toggler.triggerToggling)},setupRadios:function(){Array.prototype.forEach.call(document.querySelectorAll(Toggler.radioSelector),function(e,t){if(!e.dataset.togglerActive){var a,o=e.getAttribute("name"),r=Toggler.parentForm(e).querySelectorAll('[type=radio][name="'+o+'"]'),s=Toggler.dataAttributes(r,"show"),i=Toggler.dataAttributes(r,"addClass");Array.prototype.forEach.call(r,function(e){e.dataset.anchor&&window.location.hash=="#"+e.dataset.anchor.replace("#","")&&(e.checked=!0),e.dataset.show=e.dataset.show||"",e.dataset.addClass=e.dataset.addClass||"",e.dataset.hide&&e.dataset.hide.length>0&&(s=s.concat(e.dataset.hide.split(","))),e.dataset.hide=s.filter(function(t){return e.dataset.show.indexOf(t)}).join(","),e.dataset.addClass=e.dataset.addClass||"",e.dataset.removeClass=i.filter(function(t){return e.dataset.addClass.indexOf(t)}).join("&"),e.dataset.togglerActive=!0,e.checked&&(a=e)}),a?Toggler.triggerToggling(a):(Toggler.setState(s.join(","),"hide"),Toggler.setClass(i.join(" & "),"removeClass"))}})},setupSelects:function(){Array.prototype.forEach.call(document.querySelectorAll(Toggler.selectSelector),function(e){if(!e.dataset.togglerActive){e.dataset.show=e.dataset.show||"";var t=Toggler.getSelectFromOption(e);t.classList.add("select-toggler");var a=t.querySelectorAll("option"),o=Toggler.dataAttributes(a,"show"),r=Toggler.dataAttributes(a,"addClass");Array.prototype.forEach.call(a,function(e,a){e.dataset.anchor&&window.location.hash=="#"+e.dataset.anchor.replace("#","")&&(t.selectedIndex=a),e.dataset.show=e.dataset.show||"",e.dataset.addClass=e.dataset.addClass||"",e.dataset.hide&&e.dataset.hide.length>0&&(o=o.concat(e.dataset.hide.split(","))),e.dataset.hide=o.filter(function(t){return e.dataset.show.indexOf(t)}).join(","),e.dataset.removeClass=r.filter(function(t){return e.dataset.addClass.indexOf(t)}).join(" & "),e.dataset.togglerActive=!0}),Toggler.triggerToggling(t)}})},getSelectFromOption:function(e){var t=e.parentElement;return"SELECT"==t.tagName?t:Toggler.getSelectFromOption(t)},parentForm:function(e){for(var t=e;t&&"FORM"!=t.tagName;)t=t.parentNode;return t||document},dataAttributes:function(e,t){return Array.prototype.map.call(e,function(e){return e.dataset[t]}).filter(function(e,t,a){return""!=e&&void 0!==e&&a.indexOf(e)===t})}};Event.ready(Toggler.listen),Event.change(Toggler.refresh),module.exports=Toggler;
877
- },{"compose-event":16}],54:[function(require,module,exports){
878
- require("./lib/shims/_classlist");var merge=require("./lib/shims/_object.assign"),event=require("compose-event"),scrollTo=require("./lib/scrollto"),fromTop=require("./lib/fromtop"),ease=require("./lib/ease"),toolbox={event:event,scrollTo:scrollTo,fromTop:fromTop,merge:merge,ease:ease,getClosest:function(e,r){for(;e&&e!==document;e=e.parentNode)if(toolbox.matches(e,r))return e;return!1},childOf:function(e,r){for(;e&&e!==document;e=e.parentNode)if(e==r)return!0;return!1},getNext:function(e,r){for(;e&&e!==document;e=e.parentNode)if(e.querySelector(r))return e.querySelector(r);return!1},matches:function(e,r){return(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,r)},wordCount:function(e){var r=e.match(/\S+/g);return r?r.length:0},slice:function(e,r){return Array.prototype.slice.call(e,r)},each:function(e,r){return Array.prototype.forEach.call(e,r)},formData:function(e){var r=new FormData,o=e.querySelectorAll("input[name]");return toolbox.each(o,function(e){r.append(e.name,e.value)}),r}};module.exports=toolbox;
879
- },{"./lib/ease":55,"./lib/fromtop":56,"./lib/scrollto":57,"./lib/shims/_classlist":58,"./lib/shims/_object.assign":59,"compose-event":16}],55:[function(require,module,exports){
880
- arguments[4][41][0].apply(exports,arguments)
881
- },{"dup":41}],56:[function(require,module,exports){
882
- arguments[4][42][0].apply(exports,arguments)
883
- },{"dup":42}],57:[function(require,module,exports){
884
- arguments[4][43][0].apply(exports,arguments)
885
- },{"./ease":55,"./fromtop":56,"dup":43}],58:[function(require,module,exports){
886
- arguments[4][44][0].apply(exports,arguments)
887
- },{"dup":44}],59:[function(require,module,exports){
888
- arguments[4][45][0].apply(exports,arguments)
889
- },{"dup":45}],60:[function(require,module,exports){
890
- !function(e){function n(e,n){for(var t=e.length;t--;)if(e[t]===n)return t;return-1}function t(e,n){if(e.length!=n.length)return!1;for(var t=0;t<e.length;t++)if(e[t]!==n[t])return!1;return!0}function o(e){for(m in b)b[m]=e[T[m]]}function r(e){var t,r,i,l,c,u;if(t=e.keyCode,-1==n(S,t)&&S.push(t),93!=t&&224!=t||(t=91),t in b){b[t]=!0;for(i in C)C[i]==t&&(f[i]=!0)}else if(o(e),f.filter.call(this,e)&&t in E)for(u=p(),l=0;l<E[t].length;l++)if(r=E[t][l],r.scope==u||"all"==r.scope){c=r.mods.length>0;for(i in b)(!b[i]&&n(r.mods,+i)>-1||b[i]&&-1==n(r.mods,+i))&&(c=!1);(0!=r.mods.length||b[16]||b[18]||b[17]||b[91])&&!c||!1===r.method(e,r)&&(e.preventDefault?e.preventDefault():e.returnValue=!1,e.stopPropagation&&e.stopPropagation(),e.cancelBubble&&(e.cancelBubble=!0))}}function i(e){var t,o=e.keyCode,r=n(S,o);if(r>=0&&S.splice(r,1),93!=o&&224!=o||(o=91),o in b){b[o]=!1;for(t in C)C[t]==o&&(f[t]=!1)}}function l(){for(m in b)b[m]=!1;for(m in C)f[m]=!1}function f(e,n,t){var o,r;o=g(e),void 0===t&&(t=n,n="all");for(var i=0;i<o.length;i++)r=[],e=o[i].split("+"),e.length>1&&(r=v(e),e=[e[e.length-1]]),e=e[0],e=P(e),e in E||(E[e]=[]),E[e].push({shortcut:o[i],scope:n,method:t,key:o[i],mods:r})}function c(e,n){var o,r,i,l,f,c=[];for(o=g(e),l=0;l<o.length;l++){if(r=o[l].split("+"),r.length>1&&(c=v(r),e=r[r.length-1]),e=P(e),void 0===n&&(n=p()),!E[e])return;for(i=0;i<E[e].length;i++)f=E[e][i],f.scope===n&&t(f.mods,c)&&(E[e][i]={})}}function u(e){return"string"==typeof e&&(e=P(e)),-1!=n(S,e)}function a(){return S.slice(0)}function s(e){var n=(e.target||e.srcElement).tagName;return!("INPUT"==n||"SELECT"==n||"TEXTAREA"==n)}function d(e){w=e||"all"}function p(){return w||"all"}function h(e){var n,t,o;for(n in E)for(t=E[n],o=0;o<t.length;)t[o].scope===e?t.splice(o,1):o++}function g(e){var n;return e=e.replace(/\s/g,""),n=e.split(","),""==n[n.length-1]&&(n[n.length-2]+=","),n}function v(e){for(var n=e.slice(0,e.length-1),t=0;t<n.length;t++)n[t]=C[n[t]];return n}function y(e,n,t){e.addEventListener?e.addEventListener(n,t,!1):e.attachEvent&&e.attachEvent("on"+n,function(){t(window.event)})}function k(){var n=e.key;return e.key=A,n}var m,E={},b={16:!1,18:!1,17:!1,91:!1},w="all",C={"⇧":16,shift:16,"⌥":18,alt:18,option:18,"⌃":17,ctrl:17,control:17,"⌘":91,command:91},K={backspace:8,tab:9,clear:12,enter:13,return:13,esc:27,escape:27,space:32,left:37,up:38,right:39,down:40,del:46,delete:46,home:36,end:35,pageup:33,pagedown:34,",":188,".":190,"/":191,"`":192,"-":189,"=":187,";":186,"'":222,"[":219,"]":221,"\\":220},P=function(e){return K[e]||e.toUpperCase().charCodeAt(0)},S=[];for(m=1;m<20;m++)K["f"+m]=111+m;var T={16:"shiftKey",18:"altKey",17:"ctrlKey",91:"metaKey"};for(m in C)f[m]=!1;y(document,"keydown",function(e){r(e)}),y(document,"keyup",i),y(window,"focus",l);var A=e.key;e.key=f,e.key.setScope=d,e.key.getScope=p,e.key.deleteScope=h,e.key.filter=s,e.key.isPressed=u,e.key.getPressedKeyCodes=a,e.key.noConflict=k,e.key.unbind=c,"undefined"!=typeof module&&(module.exports=f)}(this);
891
- },{}],61:[function(require,module,exports){
892
- "use strict";function isUndefined(e){return void 0===e}function isNumber(e){return"number"==typeof e}function isString(e){return"string"==typeof e}function isDate(e){return"[object Date]"===Object.prototype.toString.call(e)}function hasIntl(){return"undefined"!=typeof Intl&&Intl.DateTimeFormat}function hasFormatToParts(){return!isUndefined(Intl.DateTimeFormat.prototype.formatToParts)}function maybeArray(e){return Array.isArray(e)?e:[e]}function bestBy(e,t,n){if(0!==e.length)return e.reduce(function(e,r){var i=[t(r),r];return e&&n.apply(null,[e[0],i[0]])===e[0]?e:i},null)[1]}function pick(e,t){return t.reduce(function(t,n){return t[n]=e[n],t},{})}function numberBetween(e,t,n){return isNumber(e)&&e>=t&&e<=n}function floorMod(e,t){return e-t*Math.floor(e/t)}function padStart(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return e.toString().length<t?("0".repeat(t)+e).slice(-t):e.toString()}function parseMillis(e){if(isUndefined(e))return NaN;var t=1e3*parseFloat("0."+e);return Math.floor(t)}function roundTo(e,t){var n=Math.pow(10,t);return Math.round(e*n)/n}function isLeapYear(e){return e%4==0&&(e%100!=0||e%400==0)}function daysInYear(e){return isLeapYear(e)?366:365}function daysInMonth(e,t){var n=floorMod(t-1,12)+1,r=e+(t-n)/12;return 2===n?isLeapYear(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function weeksInWeekYear(e){var t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===t||3===r?53:52}function untruncateYear(e){return e>99?e:e>60?1900+e:2e3+e}function parseZoneInfo(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=new Date(e),o={hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);var a=Object.assign({timeZoneName:t},o),s=hasIntl();if(s&&hasFormatToParts()){var u=new Intl.DateTimeFormat(n,a).formatToParts(i).find(function(e){return"timezonename"===e.type.toLowerCase()});return u?u.value:null}if(s){var l=new Intl.DateTimeFormat(n,o).format(i);return new Intl.DateTimeFormat(n,a).format(i).substring(l.length).replace(/^[, ]+/,"")}return null}function signedOffset(e,t){var n=parseInt(e,10)||0,r=parseInt(t,10)||0;return 60*n+(n<0?-r:r)}function normalizeObject(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={};for(var i in e)if(e.hasOwnProperty(i)){var o=e[i];if(null!==o&&!isUndefined(o)&&!Number.isNaN(o)){var a=t(i,n);a&&(r[a]=o)}}return r}function timeObject(e){return pick(e,["hour","minute","second","millisecond"])}function stringify(e){return JSON.stringify(e,Object.keys(e).sort())}function months(e){switch(e){case"narrow":return monthsNarrow;case"short":return monthsShort;case"long":return monthsLong;case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}function weekdays(e){switch(e){case"narrow":return weekdaysNarrow;case"short":return weekdaysShort;case"long":return weekdaysLong;case"numeric":return["1","2","3","4","5","6","7"];default:return null}}function eras(e){switch(e){case"narrow":return erasNarrow;case"short":return erasShort;case"long":return erasLong;default:return null}}function meridiemForDateTime(e){return meridiems[e.hour<12?0:1]}function weekdayForDateTime(e,t){return weekdays(t)[e.weekday-1]}function monthForDateTime(e,t){return months(t)[e.month-1]}function eraForDateTime(e,t){return eras(t)[e.year<0?0:1]}function formatString(e){var t=pick(e,["weekday","era","year","month","day","hour","minute","second","timeZoneName","hour12"]),n=stringify(t);switch(n){case stringify(DATE_SHORT):return"M/d/yyyy";case stringify(DATE_MED):return"LLL d, yyyy";case stringify(DATE_FULL):return"LLLL d, yyyy";case stringify(DATE_HUGE):return"EEEE, LLLL d, yyyy";case stringify(TIME_SIMPLE):return"h:mm a";case stringify(TIME_WITH_SECONDS):return"h:mm:ss a";case stringify(TIME_WITH_SHORT_OFFSET):case stringify(TIME_WITH_LONG_OFFSET):return"h:mm a";case stringify(TIME_24_SIMPLE):return"HH:mm";case stringify(TIME_24_WITH_SECONDS):return"HH:mm:ss";case stringify(TIME_24_WITH_SHORT_OFFSET):case stringify(TIME_24_WITH_LONG_OFFSET):return"HH:mm";case stringify(DATETIME_SHORT):return"M/d/yyyy, h:mm a";case stringify(DATETIME_MED):return"LLL d, yyyy, h:mm a";case stringify(DATETIME_FULL):return"LLLL d, yyyy, h:mm a";case stringify(DATETIME_HUGE):return"EEEE, LLLL d, yyyy, h:mm a";case stringify(DATETIME_SHORT_WITH_SECONDS):return"M/d/yyyy, h:mm:ss a";case stringify(DATETIME_MED_WITH_SECONDS):return"LLL d, yyyy, h:mm:ss a";case stringify(DATETIME_FULL_WITH_SECONDS):return"LLLL d, yyyy, h:mm:ss a";case stringify(DATETIME_HUGE_WITH_SECONDS):return"EEEE, LLLL d, yyyy, h:mm:ss a";default:return"EEEE, LLLL d, yyyy, h:mm a"}}function makeDTF(e){return dtfCache[e]||(dtfCache[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})),dtfCache[e]}function hackyOffset(e,t){var n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n),i=r[1],o=r[2];return[r[3],i,o,r[4],r[5],r[6]]}function partsOffset(e,t){for(var n=e.formatToParts(t),r=[],i=0;i<n.length;i++){var o=n[i],a=o.type,s=o.value,u=typeToPos[a];isUndefined(u)||(r[u]=parseInt(s,10))}return r}function hoursMinutesOffset(e){var t=Math.trunc(e.fixed/60),n=Math.abs(e.fixed%60),r=t>0?"+":"-",i=r+Math.abs(t);return n>0?i+":"+padStart(n,2):i}function normalizeZone(e,t){var n=void 0;if(isUndefined(e)||null===e)return t;if(e instanceof Zone)return e;if(isString(e)){var r=e.toLowerCase();return"local"===r?LocalZone.instance:"utc"===r||"gmt"===r?FixedOffsetZone.utcInstance:null!=(n=IANAZone.parseGMTOffset(e))?FixedOffsetZone.instance(n):IANAZone.isValidSpecifier(r)?new IANAZone(e):FixedOffsetZone.parseSpecifier(r)||InvalidZone.instance}return isNumber(e)?FixedOffsetZone.instance(e):"object"===(void 0===e?"undefined":_typeof(e))&&e.offset?e:InvalidZone.instance}function stringifyTokens(e,t){for(var n="",r=e,i=Array.isArray(r),o=0,r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a;s.literal?n+=s.val:n+=t(s.val)}return n}function systemLocale(){if(sysLocaleCache)return sysLocaleCache;if(hasIntl()){var e=(new Intl.DateTimeFormat).resolvedOptions().locale;return sysLocaleCache="und"===e?"en-US":e}return sysLocaleCache="en-US"}function intlConfigString(e,t,n){return hasIntl()?(e=Array.isArray(e)?e:[e],(n||t)&&(e=e.map(function(e){return e+="-u",n&&(e+="-ca-"+n),t&&(e+="-nu-"+t),e})),e):[]}function mapMonths(e){for(var t=[],n=1;n<=12;n++){var r=DateTime.utc(2016,n,1);t.push(e(r))}return t}function mapWeekdays(e){for(var t=[],n=1;n<=7;n++){var r=DateTime.utc(2016,11,13+n);t.push(e(r))}return t}function listStuff(e,t,n,r,i){var o=e.listingMode(n);return"error"===o?null:"en"===o?r(t):i(t)}function supportsFastNumbers(e){return(!e.numberingSystem||"latn"===e.numberingSystem)&&("latn"===e.numberingSystem||!e.locale||e.locale.startsWith("en")||hasIntl()&&"latn"===Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem)}function combineRegexes(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.reduce(function(e,t){return e+t.source},"");return RegExp("^"+r+"$")}function combineExtractors(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return t.reduce(function(t,n){var r=t[0],i=t[1],o=t[2],a=n(e,o),s=a[0],u=a[1],l=a[2];return[Object.assign(r,s),i||u,l]},[{},null,1]).slice(0,2)}}function parse(e){if(null==e)return[null,null];for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var i=n,o=Array.isArray(i),a=0,i=o?i:i[Symbol.iterator]();;){var s;if(o){if(a>=i.length)break;s=i[a++]}else{if(a=i.next(),a.done)break;s=a.value}var u=s,l=u[0],c=u[1],d=l.exec(e);if(d)return c(d)}return[null,null]}function simpleParse(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,n){var r={},i=void 0;for(i=0;i<t.length;i++)r[t[i]]=parseInt(e[n+i]);return[r,null,n+i]}}function extractISOYmd(e,t){return[{year:parseInt(e[t]),month:parseInt(e[t+1])||1,day:parseInt(e[t+2])||1},null,t+3]}function extractISOTime(e,t){return[{hour:parseInt(e[t])||0,minute:parseInt(e[t+1])||0,second:parseInt(e[t+2])||0,millisecond:parseMillis(e[t+3])},null,t+4]}function extractISOOffset(e,t){var n=!e[t]&&!e[t+1],r=signedOffset(e[t+1],e[t+2]);return[{},n?null:FixedOffsetZone.instance(r),t+3]}function extractIANAZone(e,t){return[{},e[t]?new IANAZone(e[t]):null,t+1]}function extractISODuration(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6],s=e[7],u=e[8];return[{years:parseInt(t),months:parseInt(n),weeks:parseInt(u),days:parseInt(r),hours:parseInt(i),minutes:parseInt(o),seconds:parseInt(a),milliseconds:parseMillis(s)}]}function fromStrings(e,t,n,r,i,o,a){var s={year:2===t.length?untruncateYear(parseInt(t)):parseInt(t),month:2===n.length?parseInt(n,10):monthsShort.indexOf(n)+1,day:parseInt(r),hour:parseInt(i),minute:parseInt(o)};return a&&(s.second=parseInt(a)),e&&(s.weekday=e.length>3?weekdaysLong.indexOf(e)+1:weekdaysShort.indexOf(e)+1),s}function extractRFC2822(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6],s=e[7],u=e[8],l=e[9],c=e[10],d=e[11],f=fromStrings(t,i,r,n,o,a,s),h=void 0;return h=u?obsOffsets[u]:l?0:signedOffset(c,d),[f,new FixedOffsetZone(h)]}function preprocessRFC2822(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}function extractRFC1123Or850(e){var t=e[1],n=e[2],r=e[3];return[fromStrings(t,e[4],r,n,e[5],e[6],e[7]),FixedOffsetZone.utcInstance]}function extractASCII(e){var t=e[1],n=e[2],r=e[3],i=e[4],o=e[5],a=e[6];return[fromStrings(t,e[7],n,r,i,o,a),FixedOffsetZone.utcInstance]}function parseISODate(e){return parse(e,[combineRegexes(isoYmdRegex,isoTimeExtensionRegex),combineExtractors(extractISOYmd,extractISOTime,extractISOOffset)],[combineRegexes(isoWeekRegex,isoTimeExtensionRegex),combineExtractors(extractISOWeekData,extractISOTime,extractISOOffset)],[combineRegexes(isoOrdinalRegex,isoTimeExtensionRegex),combineExtractors(extractISOOrdinalData,extractISOTime)],[combineRegexes(isoTimeRegex),combineExtractors(extractISOTime,extractISOOffset)])}function parseRFC2822Date(e){return parse(preprocessRFC2822(e),[rfc2822,extractRFC2822])}function parseHTTPDate(e){return parse(e,[rfc1123,extractRFC1123Or850],[rfc850,extractRFC1123Or850],[ascii,extractASCII])}function parseISODuration(e){return parse(e,[isoDuration,extractISODuration])}function parseSQL(e){return parse(e,[combineRegexes(sqlYmdRegex,sqlTimeExtensionRegex),combineExtractors(extractISOYmd,extractISOTime,extractISOOffset,extractIANAZone)],[combineRegexes(sqlTimeRegex),combineExtractors(extractISOTime,extractISOOffset,extractIANAZone)])}function clone(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r={values:n?t.values:Object.assign({},e.values,t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new Duration(r)}function isHighOrderNegative(e){for(var t=orderedUnits,n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(e[o])return e[o]<0}return!1}function convert(e,t,n,r,i){var o=e[i][n],a=Math.floor(t[n]/o);r[i]+=a,t[n]-=a*o}function normalizeValues(e,t){reverseUnits.reduce(function(n,r){return isUndefined(t[r])?n:(n&&convert(e,t,n,t,r),r)},null)}function friendlyDuration(e){if(isNumber(e))return Duration.fromMillis(e);if(e instanceof Duration)return e;if(e instanceof Object)return Duration.fromObject(e);throw new InvalidArgumentError("Unknown duration argument")}function validateStartEnd(e,t){return!!e&&!!t&&e.isValid&&t.isValid&&e<=t}function dayDiff(e,t){var n=function(e){return e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf()},r=n(t)-n(e);return Math.floor(Duration.fromMillis(r).as("days"))}function highOrderDiffs(e,t,n){for(var r=[["years",function(e,t){return t.year-e.year}],["months",function(e,t){return t.month-e.month+12*(t.year-e.year)}],["weeks",function(e,t){var n=dayDiff(e,t);return(n-n%7)/7}],["days",dayDiff]],i={},o=void 0,a=void 0,s=r,u=Array.isArray(s),l=0,s=u?s:s[Symbol.iterator]();;){var c;if(u){if(l>=s.length)break;c=s[l++]}else{if(l=s.next(),l.done)break;c=l.value}var d=c,f=d[0],h=d[1];if(n.indexOf(f)>=0){var m;o=f;var y=h(e,t);if((a=e.plus((m={},m[f]=y,m)))>t){var p;e=a.minus((p={},p[f]=1,p)),y-=1}else e=a;y>0&&(i[f]=y)}}return[e,i,a,o]}function _diff(e,t,n,r){var i=highOrderDiffs(e,t,n),o=i[0],a=i[1],s=i[2],u=i[3],l=t-o,c=n.filter(function(e){return["hours","minutes","seconds","milliseconds"].indexOf(e)>=0});if(0===c.length){if(s<t){var d;s=o.plus((d={},d[u]=1,d))}s!==o&&(a[u]=(a[u]||0)+l/(s-o))}var f=Duration.fromObject(Object.assign(a,r));if(c.length>0){var h;return(h=Duration.fromMillis(l,r)).shiftTo.apply(h,c).plus(f)}return f}function intUnit(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(e){return e};return{regex:e,deser:function(e){var n=e[0];return t(parseInt(n))}}}function fixListRegex(e){return e.replace(/\./,"\\.?")}function stripInsensitivities(e){return e.replace(/\./,"").toLowerCase()}function oneOf(e,t){return null===e?null:{regex:RegExp(e.map(fixListRegex).join("|")),deser:function(n){var r=n[0];return e.findIndex(function(e){return stripInsensitivities(r)===stripInsensitivities(e)})+t}}}function offset(e,t){return{regex:e,deser:function(e){return signedOffset(e[1],e[2])},groups:t}}function simple(e){return{regex:e,deser:function(e){return e[0]}}}function unitForToken(e,t){var n=/\d/,r=/\d{2}/,i=/\d{3}/,o=/\d{4}/,a=/\d{1,2}/,s=/\d{1,3}/,u=/\d{2,4}/,l=function(e){return{regex:RegExp(e.val),deser:function(e){return e[0]},literal:!0}},c=function(c){if(e.literal)return l(c);switch(c.val){case"G":return oneOf(t.eras("short",!1),0);case"GG":return oneOf(t.eras("long",!1),0);case"y":return intUnit(/\d{1,6}/);case"yy":return intUnit(u,untruncateYear);case"yyyy":return intUnit(o);case"yyyyy":return intUnit(/\d{4,6}/);case"yyyyyy":return intUnit(/\d{6}/);case"M":return intUnit(a);case"MM":return intUnit(r);case"MMM":return oneOf(t.months("short",!1,!1),1);case"MMMM":return oneOf(t.months("long",!1,!1),1);case"L":return intUnit(a);case"LL":return intUnit(r);case"LLL":return oneOf(t.months("short",!0,!1),1);case"LLLL":return oneOf(t.months("long",!0,!1),1);case"d":return intUnit(a);case"dd":return intUnit(r);case"o":return intUnit(s);case"ooo":return intUnit(i);case"HH":return intUnit(r);case"H":return intUnit(a);case"hh":return intUnit(r);case"h":return intUnit(a);case"mm":return intUnit(r);case"m":case"s":return intUnit(a);case"ss":return intUnit(r);case"S":return intUnit(s);case"SSS":return intUnit(i);case"u":return simple(/\d{1,9}/);case"a":return oneOf(t.meridiems(),0);case"kkkk":return intUnit(o);case"kk":return intUnit(u,untruncateYear);case"W":return intUnit(a);case"WW":return intUnit(r);case"E":case"c":return intUnit(n);case"EEE":return oneOf(t.weekdays("short",!1,!1),1);case"EEEE":return oneOf(t.weekdays("long",!1,!1),1);case"ccc":return oneOf(t.weekdays("short",!0,!1),1);case"cccc":return oneOf(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return offset(/([+-]\d{1,2})(?::(\d{2}))?/,2);case"ZZZ":return offset(/([+-]\d{1,2})(\d{2})?/,2);case"z":return simple(/[A-Za-z_]{1,256}\/[A-Za-z_]{1,256}/);default:return l(c)}}(e)||{invalidReason:MISSING_FTP};return c.token=e,c}function buildRegex(e){return["^"+e.map(function(e){return e.regex}).reduce(function(e,t){return e+"("+t.source+")"},"")+"$",e]}function match(e,t,n){var r=e.match(t);if(r){var i={},o=1;for(var a in n)if(n.hasOwnProperty(a)){var s=n[a],u=s.groups?s.groups+1:1;!s.literal&&s.token&&(i[s.token.val[0]]=s.deser(r.slice(o,o+u))),o+=u}return[r,i]}return[r,{}]}function dateTimeFromMatches(e){var t=function(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";default:return null}},n=void 0;return n=isUndefined(e.Z)?isUndefined(e.z)?null:new IANAZone(e.z):new FixedOffsetZone(e.Z),isUndefined(e.h)||(e.h<12&&1===e.a?e.h+=12:12===e.h&&0===e.a&&(e.h=0)),0===e.G&&e.y&&(e.y=-e.y),isUndefined(e.u)||(e.S=parseMillis(e.u)),[Object.keys(e).reduce(function(n,r){var i=t(r);return i&&(n[i]=e[r]),n},{}),n]}function explainFromTokens(e,t,n){var r=Formatter.parseFormat(n),i=r.map(function(t){return unitForToken(t,e)}),o=i.find(function(e){return e.invalidReason});if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};var a=buildRegex(i),s=a[0],u=a[1],l=RegExp(s,"i"),c=match(t,l,u),d=c[0],f=c[1],h=f?dateTimeFromMatches(f):[null,null];return{input:t,tokens:r,regex:l,rawMatches:d,matches:f,result:h[0],zone:h[1]}}function parseFromTokens(e,t,n){var r=explainFromTokens(e,t,n);return[r.result,r.zone,r.invalidReason]}function dayOfWeek(e,t,n){var r=new Date(Date.UTC(e,t-1,n)).getUTCDay();return 0===r?7:r}function computeOrdinal(e,t,n){return n+(isLeapYear(e)?leapLadder:nonLeapLadder)[t-1]}function uncomputeOrdinal(e,t){var n=isLeapYear(e)?leapLadder:nonLeapLadder,r=n.findIndex(function(e){return e<t});return{month:r+1,day:t-n[r]}}function gregorianToWeek(e){var t=e.year,n=e.month,r=e.day,i=computeOrdinal(t,n,r),o=dayOfWeek(t,n,r),a=Math.floor((i-o+10)/7),s=void 0;return a<1?(s=t-1,a=weeksInWeekYear(s)):a>weeksInWeekYear(t)?(s=t+1,a=1):s=t,Object.assign({weekYear:s,weekNumber:a,weekday:o},timeObject(e))}function weekToGregorian(e){var t=e.weekYear,n=e.weekNumber,r=e.weekday,i=dayOfWeek(t,1,4),o=daysInYear(t),a=7*n+r-i-3,s=void 0;a<1?(s=t-1,a+=daysInYear(s)):a>o?(s=t+1,a-=daysInYear(s)):s=t;var u=uncomputeOrdinal(s,a),l=u.month,c=u.day;return Object.assign({year:s,month:l,day:c},timeObject(e))}function gregorianToOrdinal(e){var t=e.year,n=e.month,r=e.day,i=computeOrdinal(t,n,r);return Object.assign({year:t,ordinal:i},timeObject(e))}function ordinalToGregorian(e){var t=e.year,n=e.ordinal,r=uncomputeOrdinal(t,n),i=r.month,o=r.day;return Object.assign({year:t,month:i,day:o},timeObject(e))}function hasInvalidWeekData(e){var t=isNumber(e.weekYear),n=numberBetween(e.weekNumber,1,weeksInWeekYear(e.weekYear)),r=numberBetween(e.weekday,1,7);return t?n?!r&&"weekday out of range":"week out of range":"weekYear out of range"}function hasInvalidOrdinalData(e){var t=isNumber(e.year),n=numberBetween(e.ordinal,1,daysInYear(e.year));return t?!n&&"ordinal out of range":"year out of range"}function hasInvalidGregorianData(e){var t=isNumber(e.year),n=numberBetween(e.month,1,12),r=numberBetween(e.day,1,daysInMonth(e.year,e.month));return t?n?!r&&"day out of range":"month out of range":"year out of range"}function hasInvalidTimeData(e){var t=numberBetween(e.hour,0,23),n=numberBetween(e.minute,0,59),r=numberBetween(e.second,0,59),i=numberBetween(e.millisecond,0,999);return t?n?r?!i&&"millisecond out of range":"second out of range":"minute out of range":"hour out of range"}function possiblyCachedWeekData(e){return null===e.weekData&&(e.weekData=gregorianToWeek(e.c)),e.weekData}function clone$1(e,t){var n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalidReason:e.invalidReason};return new DateTime(Object.assign({},n,t,{old:n}))}function fixOffset(e,t,n){var r=e-60*t*1e3,i=n.offset(r);if(t===i)return[r,t];r-=60*(i-t)*1e3;var o=n.offset(r);return i===o?[r,i]:[e-60*Math.min(i,o)*1e3,Math.max(i,o)]}function tsToObj(e,t){e+=60*t*1e3;var n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function objToLocalTS(e){var t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(e.year)),+t}function objToTS(e,t,n){return fixOffset(objToLocalTS(e),t,n)}function adjustTime(e,t){var n=e.o,r=e.c.year+t.years,i=e.c.month+t.months+3*t.quarters,o=Object.assign({},e.c,{year:r,month:i,day:Math.min(e.c.day,daysInMonth(r,i))+t.days+7*t.weeks}),a=Duration.fromObject({hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),s=objToLocalTS(o),u=fixOffset(s,n,e.zone),l=u[0],c=u[1];return 0!==a&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function parseDataToDateTime(e,t,n){var r=n.setZone,i=n.zone;if(e&&0!==Object.keys(e).length){var o=t||i,a=DateTime.fromObject(Object.assign(e,n,{zone:o}));return r?a:a.setZone(i)}return DateTime.invalid(UNPARSABLE$1)}function toTechFormat(e,t){return e.isValid?Formatter.create(Locale.create("en-US"),{allowZ:!0,forceSimple:!0}).formatDateTimeFromString(e,t):null}function toTechTimeFormat(e,t){var n=t.suppressSeconds,r=void 0!==n&&n,i=t.suppressMilliseconds,o=void 0!==i&&i,a=t.includeOffset,s=void 0===a||a,u=t.includeZone,l=void 0!==u&&u,c=t.spaceZone,d=void 0!==c&&c,f="HH:mm";return r&&0===e.second&&0===e.millisecond||(f+=":ss",o&&0===e.millisecond||(f+=".SSS")),(l||s)&&d&&(f+=" "),l?f+="z":s&&(f+="ZZ"),toTechFormat(e,f)}function normalizeUnit(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e?e.toLowerCase():e];if(!t&&!n)throw new InvalidUnitError(e);return n}function quickDT(e,t){for(var n=orderedUnits$1,r=Array.isArray(n),i=0,n=r?n:n[Symbol.iterator]();;){var o;if(r){if(i>=n.length)break;o=n[i++]}else{if(i=n.next(),i.done)break;o=i.value}var a=o;isUndefined(e[a])&&(e[a]=defaultUnitValues[a])}var s=hasInvalidGregorianData(e)||hasInvalidTimeData(e);if(s)return DateTime.invalid(s);var u=Settings.now(),l=t.offset(u),c=objToTS(e,l,t),d=c[0],f=c[1];return new DateTime({ts:d,zone:t,o:f})}function friendlyDateTime(e){if(e instanceof DateTime)return e;if(e.valueOf&&isNumber(e.valueOf()))return DateTime.fromJSDate(e);if(e instanceof Object)return DateTime.fromObject(e);throw new InvalidArgumentError("Unknown datetime argument")}Object.defineProperty(exports,"__esModule",{value:!0});var n="numeric",s="short",l="long",d2="2-digit",DATE_SHORT={year:n,month:n,day:n},DATE_MED={year:n,month:s,day:n},DATE_FULL={year:n,month:l,day:n},DATE_HUGE={year:n,month:l,day:n,weekday:l},TIME_SIMPLE={hour:n,minute:d2},TIME_WITH_SECONDS={hour:n,minute:d2,second:d2},TIME_WITH_SHORT_OFFSET={hour:n,minute:d2,second:d2,timeZoneName:s},TIME_WITH_LONG_OFFSET={hour:n,minute:d2,second:d2,timeZoneName:l},TIME_24_SIMPLE={hour:n,minute:d2,hour12:!1},TIME_24_WITH_SECONDS={hour:n,minute:d2,second:d2,hour12:!1},TIME_24_WITH_SHORT_OFFSET={hour:n,minute:d2,second:d2,hour12:!1,timeZoneName:s},TIME_24_WITH_LONG_OFFSET={hour:n,minute:d2,second:d2,hour12:!1,timeZoneName:l},DATETIME_SHORT={year:n,month:n,day:n,hour:n,minute:d2},DATETIME_SHORT_WITH_SECONDS={year:n,month:n,day:n,hour:n,minute:d2,second:d2},DATETIME_MED={year:n,month:s,day:n,hour:n,minute:d2},DATETIME_MED_WITH_SECONDS={year:n,month:s,day:n,hour:n,minute:d2,second:d2},DATETIME_FULL={year:n,month:l,day:n,hour:n,minute:d2,timeZoneName:s},DATETIME_FULL_WITH_SECONDS={year:n,month:l,day:n,hour:n,minute:d2,second:d2,timeZoneName:s},DATETIME_HUGE={year:n,month:l,day:n,weekday:l,hour:n,minute:d2,timeZoneName:l},DATETIME_HUGE_WITH_SECONDS={year:n,month:l,day:n,weekday:l,hour:n,minute:d2,second:d2,timeZoneName:l},monthsLong=["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],monthsNarrow=["J","F","M","A","M","J","J","A","S","O","N","D"],weekdaysLong=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],weekdaysShort=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],weekdaysNarrow=["M","T","W","T","F","S","S"],meridiems=["AM","PM"],erasLong=["Before Christ","Anno Domini"],erasShort=["BC","AD"],erasNarrow=["B","A"],_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},classCallCheck=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},createClass=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),inherits=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)},possibleConstructorReturn=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},LuxonError=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.apply(this,arguments))}return inherits(t,e),t}(Error),InvalidDateTimeError=function(e){function t(n){return classCallCheck(this,t),possibleConstructorReturn(this,e.call(this,"Invalid DateTime: "+n))}return inherits(t,e),t}(LuxonError),InvalidIntervalError=function(e){function t(n){return classCallCheck(this,t),possibleConstructorReturn(this,e.call(this,"Invalid Interval: "+n))}return inherits(t,e),t}(LuxonError),InvalidDurationError=function(e){function t(n){return classCallCheck(this,t),possibleConstructorReturn(this,e.call(this,"Invalid Duration: "+n))}return inherits(t,e),t}(LuxonError),ConflictingSpecificationError=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.apply(this,arguments))}return inherits(t,e),t}(LuxonError),InvalidUnitError=function(e){function t(n){return classCallCheck(this,t),possibleConstructorReturn(this,e.call(this,"Invalid unit "+n))}return inherits(t,e),t}(LuxonError),InvalidArgumentError=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.apply(this,arguments))}return inherits(t,e),t}(LuxonError),ZoneIsAbstractError=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.call(this,"Zone is an abstract class"))}return inherits(t,e),t}(LuxonError),Zone=function(){function e(){classCallCheck(this,e)}return e.prototype.offsetName=function(e,t){throw new ZoneIsAbstractError},e.prototype.offset=function(e){throw new ZoneIsAbstractError},e.prototype.equals=function(e){throw new ZoneIsAbstractError},createClass(e,[{key:"type",get:function(){throw new ZoneIsAbstractError}},{key:"name",get:function(){throw new ZoneIsAbstractError}},{key:"universal",get:function(){throw new ZoneIsAbstractError}},{key:"isValid",get:function(){throw new ZoneIsAbstractError}}]),e}(),singleton=null,LocalZone=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.apply(this,arguments))}return inherits(t,e),t.prototype.offsetName=function(e,t){return parseZoneInfo(e,t.format,t.locale)},t.prototype.offset=function(e){return-new Date(e).getTimezoneOffset()},t.prototype.equals=function(e){return"local"===e.type},createClass(t,[{key:"type",get:function(){return"local"}},{key:"name",get:function(){return hasIntl()?(new Intl.DateTimeFormat).resolvedOptions().timeZone:"local"}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!0}}],[{key:"instance",get:function(){return null===singleton&&(singleton=new t),singleton}}]),t}(Zone),dtfCache={},typeToPos={year:0,month:1,day:2,hour:3,minute:4,second:5},IANAZone=function(e){function t(n){classCallCheck(this,t);var r=possibleConstructorReturn(this,e.call(this));return r.zoneName=n,r.valid=t.isValidZone(n),r}return inherits(t,e),t.isValidSpecifier=function(e){return e&&e.match(/^[a-z_+-]{1,256}\/[a-z_+-]{1,256}(\/[a-z_+-]{1,256})?$/i)},t.isValidZone=function(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}},t.parseGMTOffset=function(e){if(e){var t=e.match(/^Etc\/GMT([+-]\d{1,2})$/i);if(t)return 60*parseInt(t[1])}return null},t.prototype.offsetName=function(e,t){return parseZoneInfo(e,t.format,t.locale,this.zoneName)},t.prototype.offset=function(e){var t=new Date(e),n=makeDTF(this.zoneName),r=n.formatToParts?partsOffset(n,t):hackyOffset(n,t),i=r[0],o=r[1],a=r[2],s=r[3],u=r[4],l=r[5],c=Date.UTC(i,o-1,a,s,u,l),d=t.valueOf();return d-=d%1e3,(c-d)/6e4},t.prototype.equals=function(e){return"iana"===e.type&&e.zoneName===this.zoneName},createClass(t,[{key:"type",get:function(){return"iana"}},{key:"name",get:function(){return this.zoneName}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return this.valid}}]),t}(Zone),singleton$1=null,FixedOffsetZone=function(e){function t(n){classCallCheck(this,t);var r=possibleConstructorReturn(this,e.call(this));return r.fixed=n,r}return inherits(t,e),t.instance=function(e){return 0===e?t.utcInstance:new t(e)},t.parseSpecifier=function(e){if(e){var n=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new t(signedOffset(n[1],n[2]))}return null},createClass(t,null,[{key:"utcInstance",get:function(){return null===singleton$1&&(singleton$1=new t(0)),singleton$1}}]),t.prototype.offsetName=function(){return this.name},t.prototype.offset=function(){return this.fixed},t.prototype.equals=function(e){return"fixed"===e.type&&e.fixed===this.fixed},createClass(t,[{key:"type",get:function(){return"fixed"}},{key:"name",get:function(){return 0===this.fixed?"UTC":"UTC"+hoursMinutesOffset(this)}},{key:"universal",get:function(){return!0}},{key:"isValid",get:function(){return!0}}]),t}(Zone),singleton$2=null,InvalidZone=function(e){function t(){return classCallCheck(this,t),possibleConstructorReturn(this,e.apply(this,arguments))}return inherits(t,e),t.prototype.offsetName=function(){return null},t.prototype.offset=function(){return NaN},t.prototype.equals=function(){return!1},createClass(t,[{key:"type",get:function(){return"invalid"}},{key:"name",get:function(){return null}},{key:"universal",get:function(){return!1}},{key:"isValid",get:function(){return!1}}],[{key:"instance",get:function(){return null===singleton$2&&(singleton$2=new t),singleton$2}}]),t}(Zone),now=function(){return(new Date).valueOf()},defaultZone=null,defaultLocale=null,defaultNumberingSystem=null,defaultOutputCalendar=null,throwOnInvalid=!1,Settings=function(){function e(){classCallCheck(this,e)}return e.resetCaches=function(){Locale.resetCache()},createClass(e,null,[{key:"now",get:function(){return now},set:function(e){now=e}},{key:"defaultZoneName",get:function(){return(defaultZone||LocalZone.instance).name},set:function(e){defaultZone=e?normalizeZone(e):null}},{key:"defaultZone",get:function(){return defaultZone||LocalZone.instance}},{key:"defaultLocale",get:function(){return defaultLocale},set:function(e){defaultLocale=e}},{key:"defaultNumberingSystem",get:function(){return defaultNumberingSystem},set:function(e){defaultNumberingSystem=e}},{key:"defaultOutputCalendar",get:function(){return defaultOutputCalendar},set:function(e){defaultOutputCalendar=e}},{key:"throwOnInvalid",get:function(){return throwOnInvalid},set:function(e){throwOnInvalid=e}}]),e}(),tokenToObject={D:DATE_SHORT,DD:DATE_MED,DDD:DATE_FULL,DDDD:DATE_HUGE,t:TIME_SIMPLE,tt:TIME_WITH_SECONDS,ttt:TIME_WITH_SHORT_OFFSET,tttt:TIME_WITH_LONG_OFFSET,T:TIME_24_SIMPLE,TT:TIME_24_WITH_SECONDS,TTT:TIME_24_WITH_SHORT_OFFSET,TTTT:TIME_24_WITH_LONG_OFFSET,f:DATETIME_SHORT,ff:DATETIME_MED,
893
- fff:DATETIME_FULL,ffff:DATETIME_HUGE,F:DATETIME_SHORT_WITH_SECONDS,FF:DATETIME_MED_WITH_SECONDS,FFF:DATETIME_FULL_WITH_SECONDS,FFFF:DATETIME_HUGE_WITH_SECONDS},Formatter=function(){function e(t,n){classCallCheck(this,e),this.opts=n,this.loc=t,this.systemLoc=null}return e.create=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new e(t,Object.assign({},{round:!0},n))},e.parseFormat=function(e){for(var t=null,n="",r=!1,i=[],o=0;o<e.length;o++){var a=e.charAt(o);"'"===a?(n.length>0&&i.push({literal:r,val:n}),t=null,n="",r=!r):r?n+=a:a===t?n+=a:(n.length>0&&i.push({literal:!1,val:n}),n=a,t=a)}return n.length>0&&i.push({literal:r,val:n}),i},e.prototype.formatWithSystemDefault=function(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,Object.assign({},this.opts,t)).format()},e.prototype.formatDateTime=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).format()},e.prototype.formatDateTimeParts=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).formatToParts()},e.prototype.resolvedOptions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.loc.dtFormatter(e,Object.assign({},this.opts,t)).resolvedOptions()},e.prototype.num=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.opts.forceSimple)return padStart(e,t);var n=Object.assign({},this.opts);return t>0&&(n.padTo=t),this.loc.numberFormatter(n).format(e)},e.prototype.formatDateTimeFromString=function(t,n){var r=this,i="en"===this.loc.listingMode(),o=function(e,n){return r.loc.extract(t,e,n)},a=function(e){if(t.isOffsetFixed&&0===t.offset&&e.allowZ)return"Z";var n=Math.trunc(t.offset/60),i=Math.abs(t.offset%60),o=n>=0?"+":"-",a=""+o+Math.abs(n);switch(e.format){case"short":return""+o+r.num(Math.abs(n),2)+":"+r.num(i,2);case"narrow":return i>0?a+":"+i:a;case"techie":return""+o+r.num(Math.abs(n),2)+r.num(i,2);default:throw new RangeError("Value format "+e.format+" is out of range for property format")}},s=function(){return i?meridiemForDateTime(t):o({hour:"numeric",hour12:!0},"dayperiod")},u=function(e,n){return i?monthForDateTime(t,e):o(n?{month:e}:{month:e,day:"numeric"},"month")},l=function(e,n){return i?weekdayForDateTime(t,e):o(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday")},c=function(e){var n=tokenToObject[e];return n?r.formatWithSystemDefault(t,n):e},d=function(e){return i?eraForDateTime(t,e):o({era:e},"era")},f=function(e){var n=r.loc.outputCalendar;switch(e){case"S":return r.num(t.millisecond);case"u":case"SSS":return r.num(t.millisecond,3);case"s":return r.num(t.second);case"ss":return r.num(t.second,2);case"m":return r.num(t.minute);case"mm":return r.num(t.minute,2);case"h":return r.num(t.hour%12==0?12:t.hour%12);case"hh":return r.num(t.hour%12==0?12:t.hour%12,2);case"H":return r.num(t.hour);case"HH":return r.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:r.opts.allowZ});case"ZZ":return a({format:"short",allowZ:r.opts.allowZ});case"ZZZ":return a({format:"techie",allowZ:!1});case"ZZZZ":return t.offsetNameShort;case"ZZZZZ":return t.offsetNameLong;case"z":return t.zoneName;case"a":return s();case"d":return n?o({day:"numeric"},"day"):r.num(t.day);case"dd":return n?o({day:"2-digit"},"day"):r.num(t.day,2);case"c":return r.num(t.weekday);case"ccc":return l("short",!0);case"cccc":return l("long",!0);case"ccccc":return l("narrow",!0);case"E":return r.num(t.weekday);case"EEE":return l("short",!1);case"EEEE":return l("long",!1);case"EEEEE":return l("narrow",!1);case"L":return n?o({month:"numeric",day:"numeric"},"month"):r.num(t.month);case"LL":return n?o({month:"2-digit",day:"numeric"},"month"):r.num(t.month,2);case"LLL":return u("short",!0);case"LLLL":return u("long",!0);case"LLLLL":return u("narrow",!0);case"M":return n?o({month:"numeric"},"month"):r.num(t.month);case"MM":return n?o({month:"2-digit"},"month"):r.num(t.month,2);case"MMM":return u("short",!1);case"MMMM":return u("long",!1);case"MMMMM":return u("narrow",!1);case"y":return n?o({year:"numeric"},"year"):r.num(t.year);case"yy":return n?o({year:"2-digit"},"year"):r.num(t.year.toString().slice(-2),2);case"yyyy":return n?o({year:"numeric"},"year"):r.num(t.year,4);case"yyyyyy":return n?o({year:"numeric"},"year"):r.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("narrow");case"kk":return r.num(t.weekYear.toString().slice(-2),2);case"kkkk":return r.num(t.weekYear,4);case"W":return r.num(t.weekNumber);case"WW":return r.num(t.weekNumber,2);case"o":return r.num(t.ordinal);case"ooo":return r.num(t.ordinal,3);case"q":return r.num(t.quarter);case"qq":return r.num(t.quarter,2);default:return c(e)}};return stringifyTokens(e.parseFormat(n),f)},e.prototype.formatDurationFromString=function(t,n){var r=this,i=function(e){switch(e[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"M":return"month";case"y":return"year";default:return null}},o=e.parseFormat(n),a=o.reduce(function(e,t){var n=t.literal,r=t.val;return n?e:e.concat(r)},[]),s=t.shiftTo.apply(t,a.map(i).filter(function(e){return e}));return stringifyTokens(o,function(e){return function(t){var n=i(t);return n?r.num(e.get(n),t.length):t}}(s))},e}(),sysLocaleCache=null,SimpleNumberFormatter=function(){function e(t){classCallCheck(this,e),this.padTo=t.padTo||0,this.round=t.round||!1}return e.prototype.format=function(e){return padStart(roundTo(e,this.round?0:3),this.padTo)},e}(),PolyDateFormatter=function(){function e(t,n,r){classCallCheck(this,e),this.opts=r,this.hasIntl=hasIntl();var i=void 0;if(t.zone.universal&&this.hasIntl?(i="UTC",r.timeZoneName?this.dt=t:this.dt=0===t.offset?t:DateTime.fromMillis(t.ts+60*t.offset*1e3)):"local"===t.zone.type?this.dt=t:(this.dt=t,i=t.zone.name),this.hasIntl){var o=Object.assign({},this.opts);i&&(o.timeZone=i),this.dtf=new Intl.DateTimeFormat(n,o)}}return e.prototype.format=function(){if(this.hasIntl)return this.dtf.format(this.dt.toJSDate());var e=formatString(this.opts),t=Locale.create("en-US");return Formatter.create(t).formatDateTimeFromString(this.dt,e)},e.prototype.formatToParts=function(){return this.hasIntl&&hasFormatToParts()?this.dtf.formatToParts(this.dt.toJSDate()):[]},e.prototype.resolvedOptions=function(){return this.hasIntl?this.dtf.resolvedOptions():{locale:"en-US",numberingSystem:"latn",outputCalendar:"gregory"}},e}(),Locale=function(){function e(t,n,r,i){classCallCheck(this,e),this.locale=t,this.numberingSystem=n,this.outputCalendar=r,this.intl=intlConfigString(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=i,this.fastNumbersCached=null}return e.fromOpts=function(t){return e.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)},e.create=function(t,n,r){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=t||Settings.defaultLocale;return new e(o||(i?"en-US":systemLocale()),n||Settings.defaultNumberingSystem,r||Settings.defaultOutputCalendar,o)},e.resetCache=function(){sysLocaleCache=null},e.fromObject=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.locale,r=t.numberingSystem,i=t.outputCalendar;return e.create(n,r,i)},e.prototype.listingMode=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=hasIntl(),n=t&&hasFormatToParts(),r="en"===this.locale||"en-us"===this.locale.toLowerCase()||t&&Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us"),i=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return n||r&&i||e?!n||r&&i?"en":"intl":"error"},e.prototype.clone=function(t){return t&&0!==Object.getOwnPropertyNames(t).length?e.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this},e.prototype.redefaultToEN=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clone(Object.assign({},e,{defaultToEN:!0}))},e.prototype.redefaultToSystem=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clone(Object.assign({},e,{defaultToEN:!1}))},e.prototype.months=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return listStuff(this,e,r,months,function(){var r=n?{month:e,day:"numeric"}:{month:e},i=n?"format":"standalone";return t.monthsCache[i][e]||(t.monthsCache[i][e]=mapMonths(function(e){return t.extract(e,r,"month")})),t.monthsCache[i][e]})},e.prototype.weekdays=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return listStuff(this,e,r,weekdays,function(){var r=n?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=n?"format":"standalone";return t.weekdaysCache[i][e]||(t.weekdaysCache[i][e]=mapWeekdays(function(e){return t.extract(e,r,"weekday")})),t.weekdaysCache[i][e]})},e.prototype.meridiems=function(){var e=this;return listStuff(this,void 0,!(arguments.length>0&&void 0!==arguments[0])||arguments[0],function(){return meridiems},function(){if(!e.meridiemCache){var t={hour:"numeric",hour12:!0};e.meridiemCache=[DateTime.utc(2016,11,13,9),DateTime.utc(2016,11,13,19)].map(function(n){return e.extract(n,t,"dayperiod")})}return e.meridiemCache})},e.prototype.eras=function(e){var t=this,n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return listStuff(this,e,n,eras,function(){var n={era:e};return t.eraCache[e]||(t.eraCache[e]=[DateTime.utc(-40,1,1),DateTime.utc(2017,1,1)].map(function(e){return t.extract(e,n,"era")})),t.eraCache[e]})},e.prototype.extract=function(e,t,n){var r=this.dtFormatter(e,t),i=r.formatToParts(),o=i.find(function(e){return e.type.toLowerCase()===n});return o?o.value:null},e.prototype.numberFormatter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(e.forceSimple||this.fastNumbers)return new SimpleNumberFormatter(e);if(hasIntl()){var t={useGrouping:!1};return e.padTo>0&&(t.minimumIntegerDigits=e.padTo),e.round&&(t.maximumFractionDigits=0),new Intl.NumberFormat(this.intl,t)}return new SimpleNumberFormatter(e)},e.prototype.dtFormatter=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new PolyDateFormatter(e,this.intl,t)},e.prototype.equals=function(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar},createClass(e,[{key:"fastNumbers",get:function(){return null!==this.fastNumbersCached&&(this.fastNumbersCached=supportsFastNumbers(this)),this.fastNumbersCached}}]),e}(),offsetRegex=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,isoTimeBaseRegex=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,9}))?)?)?/,isoTimeRegex=RegExp(""+isoTimeBaseRegex.source+offsetRegex.source+"?"),isoTimeExtensionRegex=RegExp("(?:T"+isoTimeRegex.source+")?"),isoYmdRegex=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,isoWeekRegex=/(\d{4})-?W(\d\d)-?(\d)/,isoOrdinalRegex=/(\d{4})-?(\d{3})/,extractISOWeekData=simpleParse("weekYear","weekNumber","weekDay"),extractISOOrdinalData=simpleParse("year","ordinal"),sqlYmdRegex=/(\d{4})-(\d\d)-(\d\d)/,sqlTimeRegex=RegExp(isoTimeBaseRegex.source+" ?(?:"+offsetRegex.source+"|([a-zA-Z_]{1,256}/[a-zA-Z_]{1,256}))?"),sqlTimeExtensionRegex=RegExp("(?: "+sqlTimeRegex.source+")?"),isoDuration=/^P(?:(?:(\d{1,9})Y)?(?:(\d{1,9})M)?(?:(\d{1,9})D)?(?:T(?:(\d{1,9})H)?(?:(\d{1,9})M)?(?:(\d{1,9})(?:[.,](\d{1,9}))?S)?)?|(\d{1,9})W)$/,obsOffsets={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480},rfc2822=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/,rfc1123=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,rfc850=/^(Monday|Tuesday|Wedsday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ascii=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/,INVALID="Invalid Duration",UNPARSABLE="unparsable",lowOrderMatrix={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},casualMatrix=Object.assign({years:{months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6}},lowOrderMatrix),daysInYearAccurate=365.2425,daysInMonthAccurate=30.436875,accurateMatrix=Object.assign({years:{months:12,weeks:daysInYearAccurate/7,days:daysInYearAccurate,hours:24*daysInYearAccurate,minutes:24*daysInYearAccurate*60,seconds:24*daysInYearAccurate*60*60,milliseconds:24*daysInYearAccurate*60*60*1e3},quarters:{months:3,weeks:daysInYearAccurate/28,days:daysInYearAccurate/4,hours:24*daysInYearAccurate/4,minutes:24*daysInYearAccurate*60/4,seconds:24*daysInYearAccurate*60*60/4,milliseconds:24*daysInYearAccurate*60*60*1e3/4},months:{weeks:daysInMonthAccurate/7,days:daysInMonthAccurate,hours:24*daysInMonthAccurate,minutes:24*daysInMonthAccurate*60,seconds:24*daysInMonthAccurate*60*60,milliseconds:24*daysInMonthAccurate*60*60*1e3}},lowOrderMatrix),orderedUnits=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],reverseUnits=orderedUnits.slice(0).reverse(),Duration=function(){function e(t){classCallCheck(this,e);var n="longterm"===t.conversionAccuracy||!1;this.values=t.values,this.loc=t.loc||Locale.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalidReason||null,this.matrix=n?accurateMatrix:casualMatrix}return e.fromMillis=function(t,n){return e.fromObject(Object.assign({milliseconds:t},n))},e.fromObject=function(t){return new e({values:normalizeObject(t,e.normalizeUnit,!0),loc:Locale.fromObject(t),conversionAccuracy:t.conversionAccuracy})},e.fromISO=function(t,n){var r=parseISODuration(t),i=r[0];if(i){var o=Object.assign(i,n);return e.fromObject(o)}return e.invalid(UNPARSABLE)},e.invalid=function(t){if(!t)throw new InvalidArgumentError("need to specify a reason the Duration is invalid");if(Settings.throwOnInvalid)throw new InvalidDurationError(t);return new e({invalidReason:t})},e.normalizeUnit=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t&&!n)throw new InvalidUnitError(e);return n},e.prototype.toFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isValid?Formatter.create(this.loc,t).formatDurationFromString(this,e):INVALID},e.prototype.toObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isValid)return{};var t=Object.assign({},this.values);return e.includeConfig&&(t.conversionAccuracy=this.conversionAccuracy,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},e.prototype.toISO=function(){if(!this.isValid)return null;var e="P",t=this.normalize();return t=isHighOrderNegative(t.values)?t.negate():t,t.years>0&&(e+=t.years+"Y"),(t.months>0||t.quarters>0)&&(e+=t.months+3*t.quarters+"M"),(t.days>0||t.weeks>0)&&(e+=t.days+7*t.weeks+"D"),(t.hours>0||t.minutes>0||t.seconds>0||t.milliseconds>0)&&(e+="T"),t.hours>0&&(e+=t.hours+"H"),t.minutes>0&&(e+=t.minutes+"M"),t.seconds>0&&(e+=t.seconds+"S"),e},e.prototype.toJSON=function(){return this.toISO()},e.prototype.toString=function(){return this.toISO()},e.prototype.inspect=function(){if(this.isValid){return"Duration {\n values: "+JSON.stringify(this.toObject())+",\n locale: "+this.locale+",\n conversionAccuracy: "+this.conversionAccuracy+" }"}return"Duration { Invalid, reason: "+this.invalidReason+" }"},e.prototype.plus=function(e){if(!this.isValid)return this;for(var t=friendlyDuration(e),n={},r=orderedUnits,i=Array.isArray(r),o=0,r=i?r:r[Symbol.iterator]();;){var a;if(i){if(o>=r.length)break;a=r[o++]}else{if(o=r.next(),o.done)break;a=o.value}var s=a,u=t.get(s)+this.get(s);0!==u&&(n[s]=u)}return clone(this,{values:n},!0)},e.prototype.minus=function(e){if(!this.isValid)return this;var t=friendlyDuration(e);return this.plus(t.negate())},e.prototype.get=function(t){return this[e.normalizeUnit(t)]},e.prototype.set=function(t){return clone(this,{values:Object.assign(this.values,normalizeObject(t,e.normalizeUnit))})},e.prototype.reconfigure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locale,n=e.numberingSystem,r=e.conversionAccuracy,i=this.loc.clone({locale:t,numberingSystem:n}),o={loc:i};return r&&(o.conversionAccuracy=r),clone(this,o)},e.prototype.as=function(e){return this.isValid?this.shiftTo(e).get(e):NaN},e.prototype.normalize=function(){if(!this.isValid)return this;var t=isHighOrderNegative(this.values),n=(t?this.negate():this).toObject();normalizeValues(this.matrix,n);var r=e.fromObject(n);return t?r.negate():r},e.prototype.shiftTo=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];if(!this.isValid)return this;if(0===n.length)return this;n=n.map(function(t){return e.normalizeUnit(t)});var i={},o={},a=this.toObject(),s=void 0;normalizeValues(this.matrix,a);for(var u=orderedUnits,l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){var d;if(l){if(c>=u.length)break;d=u[c++]}else{if(c=u.next(),c.done)break;d=c.value}var f=d;if(n.indexOf(f)>=0){s=f;var h=0;for(var m in o)o.hasOwnProperty(m)&&(h+=this.matrix[m][f]*o[m],o[m]=0);isNumber(a[f])&&(h+=a[f]);var y=Math.trunc(h);i[f]=y,o[f]=h-y;for(var p in a)orderedUnits.indexOf(p)>orderedUnits.indexOf(f)&&convert(this.matrix,a,p,i,f)}else isNumber(a[f])&&(o[f]=a[f])}if(s)for(var v in o)o.hasOwnProperty(v)&&o[v]>0&&(i[s]+=v===s?o[v]:o[v]/this.matrix[s][v]);return clone(this,{values:i},!0)},e.prototype.negate=function(){if(!this.isValid)return this;for(var e={},t=Object.keys(this.values),n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;e[o]=-this.values[o]}return clone(this,{values:e},!0)},e.prototype.equals=function(e){if(!this.isValid||!e.isValid)return!1;if(!this.loc.equals(e.loc))return!1;for(var t=orderedUnits,n=Array.isArray(t),r=0,t=n?t:t[Symbol.iterator]();;){var i;if(n){if(r>=t.length)break;i=t[r++]}else{if(r=t.next(),r.done)break;i=r.value}var o=i;if(this.values[o]!==e.values[o])return!1}return!0},createClass(e,[{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"years",get:function(){return this.isValid?this.values.years||0:NaN}},{key:"quarters",get:function(){return this.isValid?this.values.quarters||0:NaN}},{key:"months",get:function(){return this.isValid?this.values.months||0:NaN}},{key:"weeks",get:function(){return this.isValid?this.values.weeks||0:NaN}},{key:"days",get:function(){return this.isValid?this.values.days||0:NaN}},{key:"hours",get:function(){return this.isValid?this.values.hours||0:NaN}},{key:"minutes",get:function(){return this.isValid?this.values.minutes||0:NaN}},{key:"seconds",get:function(){return this.isValid?this.values.seconds||0:NaN}},{key:"milliseconds",get:function(){return this.isValid?this.values.milliseconds||0:NaN}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid}}]),e}(),INVALID$1="Invalid Interval",Interval=function(){function e(t){classCallCheck(this,e),this.s=t.start,this.e=t.end,this.invalid=t.invalidReason||null}return e.invalid=function(t){if(!t)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");if(Settings.throwOnInvalid)throw new InvalidIntervalError(t);return new e({invalidReason:t})},e.fromDateTimes=function(t,n){var r=friendlyDateTime(t),i=friendlyDateTime(n);return new e({start:r,end:i,invalidReason:validateStartEnd(r,i)?null:"invalid endpoints"})},e.after=function(t,n){var r=friendlyDuration(n),i=friendlyDateTime(t);return e.fromDateTimes(i,i.plus(r))},e.before=function(t,n){var r=friendlyDuration(n),i=friendlyDateTime(t);return e.fromDateTimes(i.minus(r),i)},e.fromISO=function(t,n){if(t){var r=t.split(/\//),i=r[0],o=r[1];if(i&&o)return e.fromDateTimes(DateTime.fromISO(i,n),DateTime.fromISO(o,n))}return e.invalid("invalid ISO format")},e.prototype.length=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"milliseconds";return this.isValid?this.toDuration.apply(this,[e]).get(e):NaN},e.prototype.count=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"milliseconds";if(!this.isValid)return NaN;var t=this.start.startOf(e),n=this.end.startOf(e);return Math.floor(n.diff(t,e).get(e))+1},e.prototype.hasSame=function(e){return!!this.isValid&&this.e.minus(1).hasSame(this.s,e)},e.prototype.isEmpty=function(){return this.s.valueOf()===this.e.valueOf()},e.prototype.isAfter=function(e){return!!this.isValid&&this.s>e},e.prototype.isBefore=function(e){return!!this.isValid&&this.e<=e},e.prototype.contains=function(e){return!!this.isValid&&(this.s<=e&&this.e>e)},e.prototype.set=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.start,r=t.end;return this.isValid?e.fromDateTimes(n||this.s,r||this.e):this},e.prototype.splitAt=function(){if(!this.isValid)return[];for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var i=n.map(friendlyDateTime).sort(),o=[],a=this.s,s=0;a<this.e;){var u=i[s]||this.e,l=+u>+this.e?this.e:u;o.push(e.fromDateTimes(a,l)),a=l,s+=1}return o},e.prototype.splitBy=function(t){if(!this.isValid)return[];for(var n=friendlyDuration(t),r=[],i=this.s,o=void 0,a=void 0;i<this.e;)o=i.plus(n),a=+o>+this.e?this.e:o,r.push(e.fromDateTimes(i,a)),i=a;return r},e.prototype.divideEqually=function(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]},e.prototype.overlaps=function(e){return this.e>e.s&&this.s<e.e},e.prototype.abutsStart=function(e){return!!this.isValid&&+this.e==+e.s},e.prototype.abutsEnd=function(e){return!!this.isValid&&+e.e==+this.s},e.prototype.engulfs=function(e){return!!this.isValid&&(this.s<=e.s&&this.e>=e.e)},e.prototype.equals=function(e){return this.s.equals(e.s)&&this.e.equals(e.e)},e.prototype.intersection=function(t){if(!this.isValid)return this;var n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>r?null:e.fromDateTimes(n,r)},e.prototype.union=function(t){if(!this.isValid)return this;var n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return e.fromDateTimes(n,r)},e.merge=function(e){var t=e.sort(function(e,t){return e.s-t.s}).reduce(function(e,t){var n=e[0],r=e[1];return r?r.overlaps(t)||r.abutsStart(t)?[n,r.union(t)]:[n.concat([r]),t]:[n,t]},[[],null]),n=t[0],r=t[1];return r&&n.push(r),n},e.xor=function(t){for(var n,r=null,i=0,o=[],a=t.map(function(e){return[{time:e.s,type:"s"},{time:e.e,type:"e"}]}),s=(n=Array.prototype).concat.apply(n,a),u=s.sort(function(e,t){return e.time-t.time}),l=u,c=Array.isArray(l),d=0,l=c?l:l[Symbol.iterator]();;){var f;if(c){if(d>=l.length)break;f=l[d++]}else{if(d=l.next(),d.done)break;f=d.value}var h=f;i+="s"===h.type?1:-1,1===i?r=h.time:(r&&+r!=+h.time&&o.push(e.fromDateTimes(r,h.time)),r=null)}return e.merge(o)},e.prototype.difference=function(){for(var t=this,n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];return e.xor([this].concat(r)).map(function(e){return t.intersection(e)}).filter(function(e){return e&&!e.isEmpty()})},e.prototype.toString=function(){return this.isValid?"["+this.s.toISO()+" – "+this.e.toISO()+")":INVALID$1},e.prototype.inspect=function(){return this.isValid?"Interval {\n start: "+this.start.toISO()+",\n end: "+this.end.toISO()+",\n zone: "+this.start.zone.name+",\n locale: "+this.start.locale+" }":"Interval { Invalid, reason: "+this.invalidReason+" }"},e.prototype.toISO=function(e){return this.isValid?this.s.toISO(e)+"/"+this.e.toISO(e):INVALID$1},e.prototype.toFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.separator,r=void 0===n?" – ":n;return this.isValid?""+this.s.toFormat(e)+r+this.e.toFormat(e):INVALID$1},e.prototype.toDuration=function(e,t){return this.isValid?this.e.diff(this.s,e,t):Duration.invalid(this.invalidReason)},createClass(e,[{key:"start",get:function(){return this.isValid?this.s:null}},{key:"end",get:function(){return this.isValid?this.e:null}},{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid}}]),e}(),Info=function(){function e(){classCallCheck(this,e)}return e.hasDST=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Settings.defaultZone,t=DateTime.local().setZone(e).set({month:12});return!e.universal&&t.offset!==t.set({month:6}).offset},e.isValidIANAZone=function(e){return!!IANAZone.isValidSpecifier(e)&&IANAZone.isValidZone(e)},e.months=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?null:n,i=t.numberingSystem,o=void 0===i?null:i,a=t.outputCalendar,s=void 0===a?"gregory":a;return Locale.create(r,o,s).months(e)},e.monthsFormat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?null:n,i=t.numberingSystem,o=void 0===i?null:i,a=t.outputCalendar,s=void 0===a?"gregory":a;return Locale.create(r,o,s).months(e,!0)},e.weekdays=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?null:n,i=t.numberingSystem,o=void 0===i?null:i;return Locale.create(r,o,null).weekdays(e)},e.weekdaysFormat=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"long",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?null:n,i=t.numberingSystem,o=void 0===i?null:i;return Locale.create(r,o,null).weekdays(e,!0)},e.meridiems=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locale,n=void 0===t?null:t;return Locale.create(n).meridiems()},e.eras=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"short",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.locale,r=void 0===n?null:n;return Locale.create(r,null,"gregory").eras(e)},e.features=function(){var e=!1,t=!1,n=!1;if(hasIntl()){e=!0,t=hasFormatToParts();try{n="America/New_York"===new Intl.DateTimeFormat("en",{timeZone:"America/New_York"}).resolvedOptions().timeZone}catch(e){n=!1}}return{intl:e,intlTokens:t,zones:n}},e}(),MISSING_FTP="missing Intl.DateTimeFormat.formatToParts support",nonLeapLadder=[0,31,59,90,120,151,181,212,243,273,304,334],leapLadder=[0,31,60,91,121,152,182,213,244,274,305,335],INVALID$2="Invalid DateTime",INVALID_INPUT="invalid input",UNSUPPORTED_ZONE="unsupported zone",UNPARSABLE$1="unparsable",defaultUnitValues={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},defaultWeekUnitValues={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},defaultOrdinalUnitValues={ordinal:1,hour:0,minute:0,second:0,millisecond:0},orderedUnits$1=["year","month","day","hour","minute","second","millisecond"],orderedWeekUnits=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],orderedOrdinalUnits=["year","ordinal","hour","minute","second","millisecond"],DateTime=function(){function e(t){classCallCheck(this,e);var n=t.zone||Settings.defaultZone,r=t.invalidReason||(Number.isNaN(t.ts)?INVALID_INPUT:null)||(n.isValid?null:UNSUPPORTED_ZONE);this.ts=isUndefined(t.ts)?Settings.now():t.ts;var i=null,o=null;if(!r){var a=t.old&&t.old.ts===this.ts&&t.old.zone.equals(n);i=a?t.old.c:tsToObj(this.ts,n.offset(this.ts)),o=a?t.old.o:n.offset(this.ts)}this.zone=n,this.loc=t.loc||Locale.create(),this.invalid=r,this.weekData=null,this.c=i,this.o=o}return e.local=function(t,n,r,i,o,a,s){return isUndefined(t)?new e({ts:Settings.now()}):quickDT({year:t,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},Settings.defaultZone)},e.utc=function(t,n,r,i,o,a,s){return isUndefined(t)?new e({ts:Settings.now(),zone:FixedOffsetZone.utcInstance}):quickDT({year:t,month:n,day:r,hour:i,minute:o,second:a,millisecond:s},FixedOffsetZone.utcInstance)},e.fromJSDate=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new e({ts:isDate(t)?t.valueOf():NaN,zone:normalizeZone(n.zone,Settings.defaultZone),loc:Locale.fromObject(n)})},e.fromMillis=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new e({ts:t,zone:normalizeZone(n.zone,Settings.defaultZone),loc:Locale.fromObject(n)})},e.fromObject=function(t){var n=normalizeZone(t.zone,Settings.defaultZone);if(!n.isValid)return e.invalid(UNSUPPORTED_ZONE);var r=Settings.now(),i=n.offset(r),o=normalizeObject(t,normalizeUnit,!0),a=!isUndefined(o.ordinal),s=!isUndefined(o.year),u=!isUndefined(o.month)||!isUndefined(o.day),l=s||u,c=o.weekYear||o.weekNumber,d=Locale.fromObject(t);if((l||a)&&c)throw new ConflictingSpecificationError("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(u&&a)throw new ConflictingSpecificationError("Can't mix ordinal dates with month/day");var f=c||o.weekday&&!l,h=void 0,m=void 0,y=tsToObj(r,i);f?(h=orderedWeekUnits,m=defaultWeekUnitValues,y=gregorianToWeek(y)):a?(h=orderedOrdinalUnits,m=defaultOrdinalUnitValues,y=gregorianToOrdinal(y)):(h=orderedUnits$1,m=defaultUnitValues);for(var p=!1,v=h,g=Array.isArray(v),T=0,v=g?v:v[Symbol.iterator]();;){var I;if(g){if(T>=v.length)break;I=v[T++]}else{if(T=v.next(),T.done)break;I=T.value}var S=I;isUndefined(o[S])?o[S]=p?m[S]:y[S]:p=!0}var O=f?hasInvalidWeekData(o):a?hasInvalidOrdinalData(o):hasInvalidGregorianData(o),k=O||hasInvalidTimeData(o);if(k)return e.invalid(k);var E=f?weekToGregorian(o):a?ordinalToGregorian(o):o,D=objToTS(E,i,n),w=D[0],b=D[1],M=new e({ts:w,zone:n,o:b,loc:d});return o.weekday&&l&&t.weekday!==M.weekday?e.invalid("mismatched weekday"):M},e.fromISO=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseISODate(e);return parseDataToDateTime(n[0],n[1],t)},e.fromRFC2822=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseRFC2822Date(e);return parseDataToDateTime(n[0],n[1],t)},e.fromHTTP=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseHTTPDate(e);return parseDataToDateTime(n[0],n[1],t)},e.fromFormat=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(isUndefined(t)||isUndefined(n))throw new InvalidArgumentError("fromFormat requires an input string and a format");var i=r.locale,o=void 0===i?null:i,a=r.numberingSystem,s=void 0===a?null:a,u=Locale.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),l=parseFromTokens(u,t,n),c=l[0],d=l[1],f=l[2];return f?e.invalid(f):parseDataToDateTime(c,d,r)},e.fromString=function(t,n){
894
- var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fromFormat(t,n,r)},e.fromSQL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=parseSQL(e);return parseDataToDateTime(n[0],n[1],t)},e.invalid=function(t){if(!t)throw new InvalidArgumentError("need to specify a reason the DateTime is invalid");if(Settings.throwOnInvalid)throw new InvalidDateTimeError(t);return new e({invalidReason:t})},e.prototype.get=function(e){return this[e]},e.prototype.resolvedLocaleOpts=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Formatter.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t.locale,numberingSystem:t.numberingSystem,outputCalendar:t.calendar}},e.prototype.toUTC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.setZone(FixedOffsetZone.instance(e),t)},e.prototype.toLocal=function(){return this.setZone(new LocalZone)},e.prototype.setZone=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.keepLocalTime,i=void 0!==r&&r,o=n.keepCalendarTime,a=void 0!==o&&o;if(t=normalizeZone(t,Settings.defaultZone),t.equals(this.zone))return this;if(t.isValid){return clone$1(this,{ts:i||a?this.ts+60*(this.o-t.offset(this.ts))*1e3:this.ts,zone:t})}return e.invalid(UNSUPPORTED_ZONE)},e.prototype.reconfigure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locale,n=e.numberingSystem,r=e.outputCalendar;return clone$1(this,{loc:this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r})})},e.prototype.setLocale=function(e){return this.reconfigure({locale:e})},e.prototype.set=function(e){if(!this.isValid)return this;var t=normalizeObject(e,normalizeUnit),n=!isUndefined(t.weekYear)||!isUndefined(t.weekNumber)||!isUndefined(t.weekday),r=void 0;n?r=weekToGregorian(Object.assign(gregorianToWeek(this.c),t)):isUndefined(t.ordinal)?(r=Object.assign(this.toObject(),t),isUndefined(t.day)&&(r.day=Math.min(daysInMonth(r.year,r.month),r.day))):r=ordinalToGregorian(Object.assign(gregorianToOrdinal(this.c),t));var i=objToTS(r,this.o,this.zone);return clone$1(this,{ts:i[0],o:i[1]})},e.prototype.plus=function(e){return this.isValid?clone$1(this,adjustTime(this,friendlyDuration(e))):this},e.prototype.minus=function(e){return this.isValid?clone$1(this,adjustTime(this,friendlyDuration(e).negate())):this},e.prototype.startOf=function(e){if(!this.isValid)return this;var t={},n=Duration.normalizeUnit(e);switch(n){case"years":t.month=1;case"quarters":case"months":t.day=1;case"weeks":case"days":t.hour=0;case"hours":t.minute=0;case"minutes":t.second=0;case"seconds":t.millisecond=0;break;case"milliseconds":break;default:throw new InvalidUnitError(e)}if("weeks"===n&&(t.weekday=1),"quarters"===n){var r=Math.ceil(this.month/3);t.month=3*(r-1)+1}return this.set(t)},e.prototype.endOf=function(e){var t;return this.isValid?this.startOf(e).plus((t={},t[e]=1,t)).minus(1):this},e.prototype.toFormat=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isValid?Formatter.create(this.loc.redefaultToEN(),t).formatDateTimeFromString(this,e):INVALID$2},e.prototype.toLocaleString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:DATE_SHORT;return this.isValid?Formatter.create(this.loc.clone(e),e).formatDateTime(this):INVALID$2},e.prototype.toLocaleParts=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?Formatter.create(this.loc.clone(e),e).formatDateTimeParts(this):[]},e.prototype.toISO=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?this.toISODate()+"T"+this.toISOTime(e):null},e.prototype.toISODate=function(){return toTechFormat(this,"yyyy-MM-dd")},e.prototype.toISOWeekDate=function(){return toTechFormat(this,"kkkk-'W'WW-c")},e.prototype.toISOTime=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.suppressMilliseconds,n=void 0!==t&&t,r=e.suppressSeconds,i=void 0!==r&&r,o=e.includeOffset;return toTechTimeFormat(this,{suppressSeconds:i,suppressMilliseconds:n,includeOffset:void 0===o||o})},e.prototype.toRFC2822=function(){return toTechFormat(this,"EEE, dd LLL yyyy hh:mm:ss ZZZ")},e.prototype.toHTTP=function(){return toTechFormat(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")},e.prototype.toSQLDate=function(){return toTechFormat(this,"yyyy-MM-dd")},e.prototype.toSQLTime=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.includeOffset,n=void 0===t||t,r=e.includeZone;return toTechTimeFormat(this,{includeOffset:n,includeZone:void 0!==r&&r,spaceZone:!0})},e.prototype.toSQL=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.isValid?this.toSQLDate()+" "+this.toSQLTime(e):null},e.prototype.toString=function(){return this.isValid?this.toISO():INVALID$2},e.prototype.inspect=function(){return this.isValid?"DateTime {\n ts: "+this.toISO()+",\n zone: "+this.zone.name+",\n locale: "+this.locale+" }":"DateTime { Invalid, reason: "+this.invalidReason+" }"},e.prototype.valueOf=function(){return this.isValid?this.ts:NaN},e.prototype.toMillis=function(){return this.valueOf()},e.prototype.toJSON=function(){return this.toISO()},e.prototype.toObject=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.isValid)return{};var t=Object.assign({},this.c);return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t},e.prototype.toJSDate=function(){return new Date(this.isValid?this.ts:NaN)},e.prototype.diff=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"milliseconds",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!this.isValid||!e.isValid)return Duration.invalid(this.invalidReason||e.invalidReason);var r=maybeArray(t).map(Duration.normalizeUnit),i=e.valueOf()>this.valueOf(),o=i?this:e,a=i?e:this,s=_diff(o,a,r,n);return i?s.negate():s},e.prototype.diffNow=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"milliseconds",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.diff(e.local(),t,n)},e.prototype.until=function(e){return this.isValid?Interval.fromDateTimes(this,e):this},e.prototype.hasSame=function(e,t){if(!this.isValid)return!1;if("millisecond"===t)return this.valueOf()===e.valueOf();var n=e.valueOf();return this.startOf(t)<=n&&n<=this.endOf(t)},e.prototype.equals=function(e){return!(!this.isValid||!e.isValid)&&(this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc))},e.min=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return bestBy(t,function(e){return e.valueOf()},Math.min)},e.max=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return bestBy(t,function(e){return e.valueOf()},Math.max)},e.fromFormatExplain=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.locale,i=void 0===r?null:r,o=n.numberingSystem,a=void 0===o?null:o;return explainFromTokens(Locale.fromOpts({locale:i,numberingSystem:a,defaultToEN:!0}),e,t)},e.fromStringExplain=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.fromFormatExplain(t,n,r)},createClass(e,[{key:"isValid",get:function(){return null===this.invalidReason}},{key:"invalidReason",get:function(){return this.invalid}},{key:"locale",get:function(){return this.isValid?this.loc.locale:null}},{key:"numberingSystem",get:function(){return this.isValid?this.loc.numberingSystem:null}},{key:"outputCalendar",get:function(){return this.isValid?this.loc.outputCalendar:null}},{key:"zoneName",get:function(){return this.isValid?this.zone.name:null}},{key:"year",get:function(){return this.isValid?this.c.year:NaN}},{key:"quarter",get:function(){return this.isValid?Math.ceil(this.c.month/3):NaN}},{key:"month",get:function(){return this.isValid?this.c.month:NaN}},{key:"day",get:function(){return this.isValid?this.c.day:NaN}},{key:"hour",get:function(){return this.isValid?this.c.hour:NaN}},{key:"minute",get:function(){return this.isValid?this.c.minute:NaN}},{key:"second",get:function(){return this.isValid?this.c.second:NaN}},{key:"millisecond",get:function(){return this.isValid?this.c.millisecond:NaN}},{key:"weekYear",get:function(){return this.isValid?possiblyCachedWeekData(this).weekYear:NaN}},{key:"weekNumber",get:function(){return this.isValid?possiblyCachedWeekData(this).weekNumber:NaN}},{key:"weekday",get:function(){return this.isValid?possiblyCachedWeekData(this).weekday:NaN}},{key:"ordinal",get:function(){return this.isValid?gregorianToOrdinal(this.c).ordinal:NaN}},{key:"monthShort",get:function(){return this.isValid?Info.months("short",{locale:this.locale})[this.month-1]:null}},{key:"monthLong",get:function(){return this.isValid?Info.months("long",{locale:this.locale})[this.month-1]:null}},{key:"weekdayShort",get:function(){return this.isValid?Info.weekdays("short",{locale:this.locale})[this.weekday-1]:null}},{key:"weekdayLong",get:function(){return this.isValid?Info.weekdays("long",{locale:this.locale})[this.weekday-1]:null}},{key:"offset",get:function(){return this.isValid?this.zone.offset(this.ts):NaN}},{key:"offsetNameShort",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}},{key:"offsetNameLong",get:function(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}},{key:"isOffsetFixed",get:function(){return this.isValid?this.zone.universal:null}},{key:"isInDST",get:function(){return!this.isOffsetFixed&&(this.offset>this.set({month:1}).offset||this.offset>this.set({month:5}).offset)}},{key:"isInLeapYear",get:function(){return isLeapYear(this.year)}},{key:"daysInMonth",get:function(){return daysInMonth(this.year,this.month)}},{key:"daysInYear",get:function(){return this.isValid?daysInYear(this.year):NaN}},{key:"weeksInWeekYear",get:function(){return this.isValid?weeksInWeekYear(this.weekYear):NaN}}],[{key:"DATE_SHORT",get:function(){return DATE_SHORT}},{key:"DATE_MED",get:function(){return DATE_MED}},{key:"DATE_FULL",get:function(){return DATE_FULL}},{key:"DATE_HUGE",get:function(){return DATE_HUGE}},{key:"TIME_SIMPLE",get:function(){return TIME_SIMPLE}},{key:"TIME_WITH_SECONDS",get:function(){return TIME_WITH_SECONDS}},{key:"TIME_WITH_SHORT_OFFSET",get:function(){return TIME_WITH_SHORT_OFFSET}},{key:"TIME_WITH_LONG_OFFSET",get:function(){return TIME_WITH_LONG_OFFSET}},{key:"TIME_24_SIMPLE",get:function(){return TIME_24_SIMPLE}},{key:"TIME_24_WITH_SECONDS",get:function(){return TIME_24_WITH_SECONDS}},{key:"TIME_24_WITH_SHORT_OFFSET",get:function(){return TIME_24_WITH_SHORT_OFFSET}},{key:"TIME_24_WITH_LONG_OFFSET",get:function(){return TIME_24_WITH_LONG_OFFSET}},{key:"DATETIME_SHORT",get:function(){return DATETIME_SHORT}},{key:"DATETIME_SHORT_WITH_SECONDS",get:function(){return DATETIME_SHORT_WITH_SECONDS}},{key:"DATETIME_MED",get:function(){return DATETIME_MED}},{key:"DATETIME_MED_WITH_SECONDS",get:function(){return DATETIME_MED_WITH_SECONDS}},{key:"DATETIME_FULL",get:function(){return DATETIME_FULL}},{key:"DATETIME_FULL_WITH_SECONDS",get:function(){return DATETIME_FULL_WITH_SECONDS}},{key:"DATETIME_HUGE",get:function(){return DATETIME_HUGE}},{key:"DATETIME_HUGE_WITH_SECONDS",get:function(){return DATETIME_HUGE_WITH_SECONDS}}]),e}();exports.DateTime=DateTime,exports.Duration=Duration,exports.Interval=Interval,exports.Info=Info,exports.Zone=Zone,exports.FixedOffsetZone=FixedOffsetZone,exports.IANAZone=IANAZone,exports.LocalZone=LocalZone,exports.Settings=Settings;
895
- },{}],62:[function(require,module,exports){
896
- function noop(){}function serialize(e){if(!isObject(e))return e;var t=[];for(var r in e)pushEncodedKeyValuePair(t,r,e[r]);return t.join("&")}function pushEncodedKeyValuePair(e,t,r){if(null!=r)if(Array.isArray(r))r.forEach(function(r){pushEncodedKeyValuePair(e,t,r)});else if(isObject(r))for(var s in r)pushEncodedKeyValuePair(e,t+"["+s+"]",r[s]);else e.push(encodeURIComponent(t)+"="+encodeURIComponent(r));else null===r&&e.push(encodeURIComponent(t))}function parseString(e){for(var t,r,s={},n=e.split("&"),o=0,i=n.length;o<i;++o)t=n[o],r=t.indexOf("="),-1==r?s[decodeURIComponent(t)]="":s[decodeURIComponent(t.slice(0,r))]=decodeURIComponent(t.slice(r+1));return s}function parseHeader(e){var t,r,s,n,o=e.split(/\r?\n/),i={};o.pop();for(var u=0,a=o.length;u<a;++u)r=o[u],t=r.indexOf(":"),s=r.slice(0,t).toLowerCase(),n=trim(r.slice(t+1)),i[s]=n;return i}function isJSON(e){return/[\/+]json\b/.test(e)}function type(e){return e.split(/ *; */).shift()}function params(e){return e.split(/ *; */).reduce(function(e,t){var r=t.split(/ *= */),s=r.shift(),n=r.shift();return s&&n&&(e[s]=n),e},{})}function Response(e,t){t=t||{},this.req=e,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText,this._setStatusProperties(this.xhr.status),this.header=this.headers=parseHeader(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function Request(e,t){var r=this;this._query=this._query||[],this.method=e,this.url=t,this.header={},this._header={},this.on("end",function(){var e=null,t=null;try{t=new Response(r)}catch(t){return e=new Error("Parser is unable to parse the response"),e.parse=!0,e.original=t,e.rawResponse=r.xhr&&r.xhr.responseText?r.xhr.responseText:null,e.statusCode=r.xhr&&r.xhr.status?r.xhr.status:null,r.callback(e)}r.emit("response",t);var s;try{(t.status<200||t.status>=300)&&(s=new Error(t.statusText||"Unsuccessful HTTP response"),s.original=e,s.response=t,s.status=t.status)}catch(e){s=e}s?r.callback(s,t):r.callback(null,t)})}function del(e,t){var r=request("DELETE",e);return t&&r.end(t),r}var root;"undefined"!=typeof window?root=window:"undefined"!=typeof self?root=self:(console.warn("Using browser-only version of superagent in non-browser environment"),root=this);var Emitter=require("emitter"),requestBase=require("./request-base"),isObject=require("./is-object"),request=module.exports=require("./request").bind(null,Request);request.getXHR=function(){if(!(!root.XMLHttpRequest||root.location&&"file:"==root.location.protocol&&root.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(e){}throw Error("Browser-only verison of superagent could not find XHR")};var trim="".trim?function(e){return e.trim()}:function(e){return e.replace(/(^\s*|\s*$)/g,"")};request.serializeObject=serialize,request.parseString=parseString,request.types={html:"text/html",json:"application/json",xml:"application/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},request.serialize={"application/x-www-form-urlencoded":serialize,"application/json":JSON.stringify},request.parse={"application/x-www-form-urlencoded":parseString,"application/json":JSON.parse},Response.prototype.get=function(e){return this.header[e.toLowerCase()]},Response.prototype._setHeaderProperties=function(e){var t=this.header["content-type"]||"";this.type=type(t);var r=params(t);for(var s in r)this[s]=r[s]},Response.prototype._parseBody=function(e){var t=request.parse[this.type];return!t&&isJSON(this.type)&&(t=request.parse["application/json"]),t&&e&&(e.length||e instanceof Object)?t(e):null},Response.prototype._setStatusProperties=function(e){1223===e&&(e=204);var t=e/100|0;this.status=this.statusCode=e,this.statusType=t,this.info=1==t,this.ok=2==t,this.clientError=4==t,this.serverError=5==t,this.error=(4==t||5==t)&&this.toError(),this.accepted=202==e,this.noContent=204==e,this.badRequest=400==e,this.unauthorized=401==e,this.notAcceptable=406==e,this.notFound=404==e,this.forbidden=403==e},Response.prototype.toError=function(){var e=this.req,t=e.method,r=e.url,s="cannot "+t+" "+r+" ("+this.status+")",n=new Error(s);return n.status=this.status,n.method=t,n.url=r,n},request.Response=Response,Emitter(Request.prototype);for(var key in requestBase)Request.prototype[key]=requestBase[key];Request.prototype.type=function(e){return this.set("Content-Type",request.types[e]||e),this},Request.prototype.responseType=function(e){return this._responseType=e,this},Request.prototype.accept=function(e){return this.set("Accept",request.types[e]||e),this},Request.prototype.auth=function(e,t,r){switch(r||(r={type:"basic"}),r.type){case"basic":var s=btoa(e+":"+t);this.set("Authorization","Basic "+s);break;case"auto":this.username=e,this.password=t}return this},Request.prototype.query=function(e){return"string"!=typeof e&&(e=serialize(e)),e&&this._query.push(e),this},Request.prototype.attach=function(e,t,r){return this._getFormData().append(e,t,r||t.name),this},Request.prototype._getFormData=function(){return this._formData||(this._formData=new root.FormData),this._formData},Request.prototype.callback=function(e,t){var r=this._callback;this.clearTimeout(),r(e,t)},Request.prototype.crossDomainError=function(){var e=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");e.crossDomain=!0,e.status=this.status,e.method=this.method,e.url=this.url,this.callback(e)},Request.prototype._timeoutError=function(){var e=this._timeout,t=new Error("timeout of "+e+"ms exceeded");t.timeout=e,this.callback(t)},Request.prototype._appendQueryString=function(){var e=this._query.join("&");e&&(this.url+=~this.url.indexOf("?")?"&"+e:"?"+e)},Request.prototype.end=function(e){var t=this,r=this.xhr=request.getXHR(),s=this._timeout,n=this._formData||this._data;this._callback=e||noop,r.onreadystatechange=function(){if(4==r.readyState){var e;try{e=r.status}catch(t){e=0}if(0==e){if(t.timedout)return t._timeoutError();if(t._aborted)return;return t.crossDomainError()}t.emit("end")}};var o=function(e,r){r.total>0&&(r.percent=r.loaded/r.total*100),r.direction=e,t.emit("progress",r)};if(this.hasListeners("progress"))try{r.onprogress=o.bind(null,"download"),r.upload&&(r.upload.onprogress=o.bind(null,"upload"))}catch(e){}if(s&&!this._timer&&(this._timer=setTimeout(function(){t.timedout=!0,t.abort()},s)),this._appendQueryString(),this.username&&this.password?r.open(this.method,this.url,!0,this.username,this.password):r.open(this.method,this.url,!0),this._withCredentials&&(r.withCredentials=!0),"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],u=this._serializer||request.serialize[i?i.split(";")[0]:""];!u&&isJSON(i)&&(u=request.serialize["application/json"]),u&&(n=u(n))}for(var a in this.header)null!=this.header[a]&&r.setRequestHeader(a,this.header[a]);return this._responseType&&(r.responseType=this._responseType),this.emit("request",this),r.send(void 0!==n?n:null),this},request.Request=Request,request.get=function(e,t,r){var s=request("GET",e);return"function"==typeof t&&(r=t,t=null),t&&s.query(t),r&&s.end(r),s},request.head=function(e,t,r){var s=request("HEAD",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.options=function(e,t,r){var s=request("OPTIONS",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.del=del,request.delete=del,request.patch=function(e,t,r){var s=request("PATCH",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.post=function(e,t,r){var s=request("POST",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s},request.put=function(e,t,r){var s=request("PUT",e);return"function"==typeof t&&(r=t,t=null),t&&s.send(t),r&&s.end(r),s};
897
- },{"./is-object":63,"./request":65,"./request-base":64,"emitter":14}],63:[function(require,module,exports){
898
- function isObject(e){return null!==e&&"object"==typeof e}module.exports=isObject;
899
- },{}],64:[function(require,module,exports){
900
- var isObject=require("./is-object");exports.clearTimeout=function(){return this._timeout=0,clearTimeout(this._timer),this},exports.parse=function(t){return this._parser=t,this},exports.serialize=function(t){return this._serializer=t,this},exports.timeout=function(t){return this._timeout=t,this},exports.then=function(t,e){if(!this._fullfilledPromise){var i=this;this._fullfilledPromise=new Promise(function(t,e){i.end(function(i,r){i?e(i):t(r)})})}return this._fullfilledPromise.then(t,e)},exports.catch=function(t){return this.then(void 0,t)},exports.use=function(t){return t(this),this},exports.get=function(t){return this._header[t.toLowerCase()]},exports.getHeader=exports.get,exports.set=function(t,e){if(isObject(t)){for(var i in t)this.set(i,t[i]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},exports.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},exports.field=function(t,e){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(isObject(t)){for(var i in t)this.field(i,t[i]);return this}if(null===e||void 0===e)throw new Error(".field(name, val) val can not be empty");return this._getFormData().append(t,e),this},exports.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},exports.withCredentials=function(){return this._withCredentials=!0,this},exports.redirects=function(t){return this._maxRedirects=t,this},exports.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},exports._isHost=function(t){switch({}.toString.call(t)){case"[object File]":case"[object Blob]":case"[object FormData]":return!0;default:return!1}},exports.send=function(t){var e=isObject(t),i=this._header["content-type"];if(e&&isObject(this._data))for(var r in t)this._data[r]=t[r];else"string"==typeof t?(i||this.type("form"),i=this._header["content-type"],this._data="application/x-www-form-urlencoded"==i?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)?this:(i||this.type("json"),this)};
901
- },{"./is-object":63}],65:[function(require,module,exports){
902
- function request(e,n,t){return"function"==typeof t?new e("GET",n).end(t):2==arguments.length?new e("GET",n):new e(n,t)}module.exports=request;
903
- },{}]},{},[12])(12)
904
- });
905
-
906
-
907
- //# sourceMappingURL=/assets/tungsten/tungsten-0.2.1.map.json