PageSourceSearch

https://www.weworkmeteor.com/24b39009cd8e4ba5c8226860cb610baa97e2c9f1.js?meteor_js_resource=true

js weworkmeteor.com collected 2026-10-03 23:19:27 UTC 1,432,578 bytes, 457 lines download raw bytes

1!function(){var t,e,n;(function(){t=this}).call(this),function(){var t=__meteor_runtime_config__;e=t.meteorEnv,n={isProduction:"production"===e.NODE_ENV,isDevelopment:"production"!==e.NODE_ENV,isClient:!0,isServer:!1,isCordova:!1,isModern:t.isModern},t.gitCommitHash&&(n.gitCommitHash=t.gitCommitHash),t.PUBLIC_SETTINGS&&(n.settings={public:t.PUBLIC_SETTINGS})}.call(this),function(){function e(){this._promiseInfoMap=Object.create(null)}var r=e.prototype;r._define=function t(e,n){n=n||{};for(var r=arguments.length,o=2;o<r;++o){var i=arguments[o];for(var s in i)s in n||(n[s]=i[s])}this[e]=n;var a=this._promiseInfoMap[e];return a&&a.resolve(n),n},r._has=function t(e){return Object.prototype.hasOwnProperty.call(this,e)},r._promise=function t(e){var r=this,o=r._promiseInfoMap[e];return o||((o=r._promiseInfoMap[e]={}).promise=new Promise((function(t,i){o.resolve=t,r._has(e)?t(r[e]):n.startup((function(){r._has(e)||i(new Error("Package "+e+" not installed"))}))}))),o.promise},t.Package=new e,"object"==typeof exports&&(exports.PackageRegistry=e)}.call(this),function(){if(n.isServer)var t=Npm.require("fibers/future");"object"==typeof __meteor_runtime_config__&&__meteor_runtime_config__.meteorRelease&&(n.release=__meteor_runtime_config__.meteorRelease),n._get=function(t){for(var e=1;e<arguments.length;e++){if(!(arguments[e]in t))return;t=t[arguments[e]]}return t},n._ensure=function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];n in t||(t[n]={}),t=t[n]}return t},n._delete=function(t){for(var e=[t],n=!0,r=1;r<arguments.length-1;r++){var o;if(!((o=arguments[r])in t)){n=!1;break}if("object"!=typeof(t=t[o]))break;e.push(t)}for(var r=e.length-1;r>=0;r--){var o=arguments[r+1];if(n)n=!1;else for(var i in e[r][o])return;delete e[r][o]}},n.wrapAsync=function(e,r){return function(){for(var i=r||this,s=Array.prototype.slice.call(arguments),a,u=s.length-1;u>=0;--u){var c=s[u],l=typeof c;if("undefined"!==l){"function"===l&&(a=c);break}}if(!a){if(n.isClient)a=o;else{var f=new t;a=f.resolver()}++u}s[u]=n.bindEnvironment(a);var p=e.apply(i,s);return f?f.wait():p}};var e=Object.prototype.hasOwnProperty;n._inherits=function(t,n){for(var r in n)e.call(n,r)&&(t[r]=n[r]);var o=function(){this.constructor=t};return o.prototype=n.prototype,t.prototype=new o,t.__super__=n.prototype,t};var r=!1;function o(t){if(t)return n._debug("Exception in callback of async function",t)}n._wrapAsync=function(t,e){return r||(n._debug("Meteor._wrapAsync has been renamed to Meteor.wrapAsync"),r=!0),n.wrapAsync.apply(n,arguments)}}.call(this),function(){"use strict";var t=this;function e(){if(t.setImmediate){var e=function(e){t.setImmediate(e)};return e.implementation="setImmediate",e}return null}function r(){if(!t.postMessage||t.importScripts)return null;var e=!0,n=t.onmessage;if(t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,!e)return null;var r=0,o={},i="Meteor._setImmediate."+Math.random()+".";function s(t,e){return"string"==typeof t&&t.substring(0,e.length)===e}function a(e){if(e.source===t&&s(e.data,i)){var n=e.data.substring(i.length);try{o[n]&&o[n]()}finally{delete o[n]}}}t.addEventListener?t.addEventListener("message",a,!1):t.attachEvent("onmessage",a);var u=function(e){++r,o[r]=e,t.postMessage(i+r,"*")};return u.implementation="postMessage",u}function o(){var e=function(e){t.setTimeout(e,0)};return e.implementation="setTimeout",e}n._setImmediate=e()||r()||o()}.call(this),function(){function t(t){if(Package.ddp){var e=Package.ddp.DDP,n=e._CurrentMethodInvocation||e._CurrentInvocation,r=n.get();if(r&&r.isSimulation)throw new Error("Can't set timers inside simulations");return function(){n.withValue(null,t)}}return t}function e(e,r){return n.bindEnvironment(t(r),e)}n.setTimeout=function(t,n){return setTimeout(e("setTimeout callback",t),n)},n.setInterval=function(t,n){return setInterval(e("setInterval callback",t),n)},n.clearInterval=function(t){return clearInterval(t)},n.clearTimeout=function(t){return clearTimeout(t)},n.defer=function(t){n._setImmediate(e("defer callback",t))}}.call(this),function(){n.makeErrorType=function(t,e){var r=function(){Error.captureStackTrace?Error.captureStackTrace(this,r):this.stack=(new Error).stack,e.apply(this,arguments),this.errorType=t};return n._inherits(r,Error),r},n.Error=n.makeErrorType("Meteor.Error",(function(t,e,n){var r=this;r.isClientSafe=!0,r.error=t,r.reason=e,r.details=n,r.reason?r.message=r.reason+" ["+r.error+"]":r.message="["+r.error+"]"})),n.Error.prototype.clone=function(){var t=this;return new n.Error(t.error,t.reason,t.details)}}.call(this),function(){n._noYieldsAllowed=function(t){return t()},n._SynchronousQueue=function(){var t=this;t._tasks=[],t._running=!1,t._runTimeout=null};var t=n._SynchronousQueue.prototype;t.runTask=function(t){var e=this;if(!e.safeToRunTask())throw new Error("Could not synchronously run a task from a running task");e._tasks.push(t);var r=e._tasks;e._tasks=[],e._running=!0,e._runTimeout&&(clearTimeout(e._runTimeout),e._runTimeout=null);try{for(;r.length>0;){var o=r.shift();try{o()}catch(i){if(0===r.length)throw i;n._debug("Exception in queued task",i)}}}finally{e._running=!1}},t.queueTask=function(t){var e=this;e._tasks.push(t),e._runTimeout||(e._runTimeout=setTimeout((function(){return e.flush.apply(e,arguments)}),0))},t.flush=function(){var t;this.runTask((function(){}))},t.drain=function(){var t=this;if(t.safeToRunTask())for(;t._tasks.length>0;)t.flush()},t.safeToRunTask=function(){var t;return!this._running}}.call(this),function(){var t=[],e=!1,r=!1,o=0,i=function(){o++},s=function(){o--,a()},a=function(){if(!(r||!e||o>0)){for(r=!0;t.length;)t.shift()();
1n.isCordova&&WebAppLocalServer.startupDidComplete()}},u=function(){e||(e=!0,a())};n.isCordova&&(i(),document.addEventListener("deviceready",s,!1)),"complete"===document.readyState||"loaded"===document.readyState?window.setTimeout(u):document.addEventListener?(document.addEventListener("DOMContentLoaded",u,!1),window.addEventListener("load",u,!1)):(document.attachEvent("onreadystatechange",(function(){"complete"===document.readyState&&u()})),window.attachEvent("load",u)),n.startup=function(e){var o=!document.addEventListener&&document.documentElement.doScroll;if(o&&window===top){try{o("left")}catch(i){return void setTimeout((function(){n.startup(e)}),50)}e()}else r?e():t.push(e)}}.call(this),function(){var t=0;n._debug=function(){if(t)t--;else if("undefined"!=typeof console&&"undefined"!=typeof console.log)if(0==arguments.length)console.log("");else if("function"==typeof console.log.apply){for(var e=!0,n=0;n<arguments.length;n++)"string"!=typeof arguments[n]&&(e=!1);e?console.log.apply(console,[Array.prototype.join.call(arguments," ")]):console.log.apply(console,arguments)}else if("function"==typeof Function.prototype.bind){var r=Function.prototype.bind.call(console.log,console);r.apply(console,arguments)}},n._suppress_log=function(e){t+=e},n._suppressed_log_expected=function(){return 0!==t}}.call(this),function(){n._escapeRegExp=function(t){return String(t).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}.call(this),function(){var t;t=n.isClient?e.TEST_METADATA:process.env.TEST_METADATA;var r=JSON.parse(t||"{}"),o=r.driverPackage;n.isTest=!!r.isTest,n.isAppTest=!!r.isAppTest,n.isPackageTest=!!o&&!n.isTest&&!n.isAppTest,"string"==typeof o&&n.startup((function(){var t=Package[o];if(!t)throw new Error("Can't find test driver package: "+o);if(n.isClient){if("function"!=typeof t.runTests)throw new Error("Test driver package "+o+" missing `runTests` export");t.runTests()}else"function"==typeof t.start&&t.start()}))}.call(this),function(){var t=0,e=[];n.EnvironmentVariable=function(){this.slot=t++};var r=n.EnvironmentVariable.prototype;r.get=function(){return e[this.slot]},r.getOrNullIfOutsideFiber=function(){return this.get()},r.withValue=function(t,n){var r=e[this.slot];try{e[this.slot]=t;var o=n()}finally{e[this.slot]=r}return o},n.bindEnvironment=function(t,r,o){var i=e.slice();if(!r||"string"==typeof r){var s=r||"callback of async function";r=function(t){n._debug("Exception in "+s+":",t)}}return function(){var n=e;try{e=i;var s=t.apply(o,arguments)}catch(a){r(a)}finally{e=n}return s}},n._nodeCodeMustBeInFiber=function(){}}.call(this),function(){n.absoluteUrl=function(t,e){e||"object"!=typeof t||(e=t,t=void 0);var r=(e=Object.assign({},n.absoluteUrl.defaultOptions,e||{})).rootUrl;
1if(!r)throw new Error("Must pass options.rootUrl or set ROOT_URL in the server environment");if(/^http[s]?:\/\//i.test(r)||(r="http://"+r),r.endsWith("/")||(r+="/"),t){for(;t.startsWith("/");)t=t.slice(1);r+=t}return e.secure&&/^http:/.test(r)&&!/http:\/\/localhost[:\/]/.test(r)&&!/http:\/\/127\.0\.0\.1[:\/]/.test(r)&&(r=r.replace(/^http:/,"https:")),e.replaceLocalhost&&(r=r.replace(/^http:\/\/localhost([:\/].*)/,"http://127.0.0.1$1")),r};var t=n.absoluteUrl.defaultOptions={},e="object"==typeof window&&window.location;"object"==typeof __meteor_runtime_config__&&__meteor_runtime_config__.ROOT_URL?t.rootUrl=__meteor_runtime_config__.ROOT_URL:e&&e.protocol&&e.host&&(t.rootUrl=e.protocol+"//"+e.host),e&&"https:"===e.protocol&&(t.secure=!0),n._relativeToSiteRootUrl=function(t){return"object"==typeof __meteor_runtime_config__&&"/"===t.substr(0,1)&&(t=(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"")+t),t}}.call(this),Package._define("meteor",{Meteor:n,global:t,meteorEnv:e})}();
2
3Package._define("less");
4
5!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r,o;r=function(n){"use strict";var e=(n=n||{}).extensions||[".js",".json"],t=n.fallback,r=n.mainFields||(n.browser?["browser","main"]:["main"]),o={}.hasOwnProperty;function i(n,e){return h(n)&&v(e)&&o.call(n,e)}var u={},s=new b("/",new b("/..")),c=y(s),f,a;function l(n,e){return h(n)&&P(s,n,e),c}function d(n){this.id=n,this.children=[],this.childrenById={}}function p(n,e){return i(n,e)&&n[e]}function h(n){return null!==n&&"object"==typeof n}function m(n){return"function"==typeof n}function v(n){return"string"==typeof n}function w(n){return new Error("Cannot find module '"+n+"'")}function y(n){var e=n.module;function t(n){return e.require(n)}return t.extensions=j(n).slice(0),t.resolve=function n(t){return e.resolve(t)},t}function b(n,e){var t=this;t.parent=e=e||null,t.module=new d(n),u[n]=t,t.contents=null,t.deps={}}function g(n,e){var t=n.module;if(!i(t,"exports")){var r=n.contents;if(!r){if(n.stub)return n.stub;throw w(t.id)}if(e){t.parent=e;var o=e.children;Array.isArray(o)&&o.push(t)}r(y(n),t.exports=n.stub||{},t,n.module.id,n.parent.module.id),t.loaded=!0}var u=t.runSetters||t.runModuleSetters;return m(u)&&u.call(t),t.exports}function k(n){return n&&h(n.contents)}function E(n){return n&&null===n.contents}function P(n,e,t){Array.isArray(e)?(e.forEach((function(t){v(t)?n.deps[t]=n.module.id:m(t)?e=t:h(t)&&(n.stub=n.stub||{},x(t,(function(e,t){n.stub[t]=e})))})),m(e)||(e=null)):m(e)||v(e)||h(e)||(e=null),e&&(n.contents=n.contents||(h(e)?{}:e),h(e)&&k(n)&&x(e,(function(e,r){if(".."===r)o=n.parent;else{var o=p(n.contents,r);o||((o=n.contents[r]=new b(n.module.id.replace(/\/*$/,"/")+r,n)).options=t)}P(o,e,t)})))}function x(n,e,t){Object.keys(n).forEach((function(t){e.call(this,n[t],t)}),t)}function j(n){return n.options&&n.options.extensions||e}function O(n,e,t){for(;n&&!k(n);)n=n.parent;if(!n||!e||"."===e)return n;if(".."===e)return n.parent;var r=p(n.contents,e);if(t&&(!r||k(r)))for(var o=0;o<t.length;++o){var i=p(n.contents,e+t[o]);if(i&&!k(i))return i}return r}function I(n,e,t){var r=e.split("/");return r.every((function(e,o){return n=o<r.length-1?O(n,e):O(n,e,t)})),n}function A(n,e){var t=e&&e.module;n&&t&&(n.childrenById[t.id]=t)}function q(n,e,t,o){var t=t||n.module,i=j(n);for(n="/"===e.charAt(0)?I(s,e,i):"."===e.charAt(0)?I(n,e,i):M(n,e,i);k(n);){if((o=o||[]).indexOf(n)<0){o.push(n);var u=O(n,"package.json"),c=u&&g(u,t),f,a;if(c&&r.some((function(e){var r=c[e];if(v(r))return f=I(n,r,i)||q(n,r,t,o)}))&&f){n=f,A(t,u);continue}}n=O(n,"index",i)}return n&&v(n.contents)&&(n=q(n,n.contents,t,o)),A(t,n),n}function M(n,e,t){for(var r;n&&!r;n=n.parent)r=k(n)&&I(n,"node_modules/"+e,t);return r}return l.fetch=function(n){throw new Error("fetch not implemented")},d.prototype.prefetch=function(n){var e=this,t=p(u,e.id),r=f=f||Promise.resolve();function o(n){var e=p(u,n.id);E(e)&&!e.pending&&(e.pending=!0,(a=a||{})[n.id]={module:e.module,deps:Object.keys(e.deps),options:e.options,stub:e.stub},x(e.deps,(function(n,t){q(e,t)})),x(n.childrenById,o))}return f=new Promise((function(t){var r=e.resolve(n);x(e.childrenById,o),t(r)})).then((function(n){var e=a;function t(){e&&Object.keys(e).forEach((function(n){p(u,n).pending=!1}))}return a=null,new Promise((function(n){n(e&&l.fetch(e))})).then((function(e){function o(){return l(e),t(),n}return r.then(o,o)}),(function(n){throw t(),n}))}))},l.Module=d,d.prototype.resolve=function(n){var e=q(u[this.id],n);if(e)return e.module.id;var r=w(n);if(t&&m(t.resolve))return t.resolve(n,this.id,r);throw r},d.prototype.require=function n(e){var r=q(u[this.id],e);if(r)return g(r,this);var o=w(e);if(m(t))return t(e,this.id,o);throw o},l},"object"==typeof exports&&(exports.makeInstaller=r),function(){o=r({browser:!0,mainFields:["browser","module","main"],fallback:function(n,e,t){if(n&&n.startsWith("meteor/")){var r=n.split("/",2)[1];throw new Error('Cannot find package "'+r+'". Try "meteor add '+r+'".')}throw t}})}.call(this),function(){o=r({browser:!0,mainFields:["browser","main","module"],fallback:function(n,e,t){if(n&&n.startsWith("meteor/")){var r=n.split("/",2)[1];throw new Error('Cannot find package "'+r+'". Try "meteor add '+r+'".')}throw t}})}.call(this),function(){if("function"==typeof Profile&&process.env.METEOR_PROFILE){var n=o.Module.prototype;n.require=Profile((function(n){return"require("+JSON.stringify(n)+")"}),n.require)}}.call(this),Package._define("modules-runtime",{meteorInstall:o})}();
6
7!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,s=Package.meteor.meteorEnv,t=Package["modules-runtime"].meteorInstall,l,o=t({node_modules:{meteor:{modules:{
7"client.js":function e(r,s){r("./install-packages.js"),r("./stubs.js"),r("./process.js"),r("./reify.js"),s.addStyles=r("./css").addStyles},
7"legacy.js":function e(r){l=r("meteor-babel-helpers")},
7"css.js":function e(r,s){var t=document,l=t.getElementsByTagName("head").item(0);s.addStyles=function(e){var r=t.createElement("style");r.setAttribute("type","text/css");var s=r.sheet||r.styleSheet;return s?s.cssText=e:r.appendChild(t.createTextNode(e)),l.appendChild(r)}},
7"install-packages.js":function e(r,s,e){function l(e,r){var s={};s[e+".js"]="string"==typeof r?r:function(r,s,t){t.exports=Package[e]},t({node_modules:{meteor:s}})}l("meteor"),l("less"),l("modules-runtime"),l("modules","meteor/modules/client.js"),l("modern-browsers"),l("babel-compiler"),l("react-fast-refresh"),l("ecmascript"),l("ecmascript-runtime"),l("babel-runtime","meteor/babel-runtime/babel-runtime.js"),l("promise","meteor/promise/client.js"),l("fetch","meteor/fetch/legacy.js"),l("dynamic-import","meteor/dynamic-import/client.js"),l("es5-shim","meteor/es5-shim/client.js"),l("ecmascript-runtime-client","meteor/ecmascript-runtime-client/legacy.js"),l("ddp-rate-limiter"),l("random","meteor/random/main_client.js"),l("localstorage"),l("tracker"),l("callback-hook","meteor/callback-hook/hook.js"),l("reactive-var"),l("url","meteor/url/legacy.js"),l("base64","meteor/base64/base64.js"),l("ejson","meteor/ejson/ejson.js"),l("check","meteor/check/match.js"),l("retry","meteor/retry/retry.js"),l("id-map","meteor/id-map/id-map.js"),l("ddp-common"),l("reload","meteor/reload/reload.js"),l("socket-stream-client","meteor/socket-stream-client/browser.js"),l("diff-sequence","meteor/diff-sequence/diff.js"),l("mongo-id","meteor/mongo-id/id.js"),l("ddp-client","meteor/ddp-client/client/client.js"),l("ddp"),l("geojson-utils","meteor/geojson-utils/main.js"),l("ordered-dict","meteor/ordered-dict/ordered_dict.js"),l("minimongo","meteor/minimongo/minimongo_client.js"),l("ddp-server"),l("allow-deny"),l("logging","meteor/logging/logging.js"),l("mongo"),l("jquery","meteor/jquery/main.js"),l("observe-sequence"),l("htmljs","meteor/htmljs/preamble.js"),l("blaze"),l("accounts-base","meteor/accounts-base/client_main.js"),l("service-configuration"),l("spacebars"),l("templating-compiler"),l("templating-runtime"),l("templating"),l("reactive-dict","meteor/reactive-dict/migration.js"),l("session","meteor/session/session.js"),l("oauth"),l("accounts-oauth"),l("sha"),l("accounts-password"),l("accounts-ui-unstyled"),l("accounts-ui"),l("oauth2"),l("github-oauth"),l("github-config-ui"),l("accounts-github"),l("google-oauth","meteor/google-oauth/namespace.js"),l("google-config-ui"),l("accounts-google"),l("minifier-css"),l("standard-minifier-css"),l("standard-minifier-js"),l("email"),l("meteor-base"),l("mobile-experience"),l("blaze-html-templates"),l("force-ssl","meteor/force-ssl/force_ssl_both.js"),l("http","meteor/http/httpcall_client.js"),l("underscore"),l("deps"),l("ui"),l("iron:core"),l("iron:dynamic-template"),l("iron:layout"),l("iron:url"),l("iron:middleware-stack"),l("iron:location"),l("iron:controller"),l("iron:router"),l("natestrauser:font-awesome"),l("raix:handlebar-helpers"),l("momentjs:moment"),l("aldeed:simple-schema"),l("livedata"),l("raix:eventemitter"),l("aldeed:collection2-core"),l("aldeed:schema-index"),l("aldeed:schema-deny"),l("aldeed:collection2"),l("aldeed:autoform"),l("natestrauser:connection-banner"),l("lampe:rssfeed"),l("aldeed:delete-button"),l("useraccounts:core"),l("useraccounts:iron-routing"),l("useraccounts:bootstrap"),l("meteorhacks:subs-manager"),l("dburles:collection-helpers"),l("alanning:roles"),l("nemo64:bootstrap-data"),l("nemo64:bootstrap"),l("coffeescript"),l("zimme:active-route"),l("zimme:iron-router-active"),l("percolate:migrations"),l("jparker:crypto-core"),l("jparker:crypto-md5"),l("jparker:gravatar"),l("utilities:avatar"),l("percolatestudio:synced-cron"),l("reywood:publish-composite"),l("simple:json-routes"),l("nimble:restivus"),l("peppelg:bootstrap-3-modal"),l("summernote:standalone"),l("mpowaga:autoform-summernote"),l("djedi:sanitize-html"),l("gadicohen:sitemaps"),l("natestrauser:uploadcare-plus"),l("ongoworks:speakingurl"),l("ostrio:iron-router-helper-class"),l("ostrio:iron-router-title"),l("copleykj:stripe-sync"),l("mdg:seo"),l("natestrauser:publish-performant-counts"),l("shell-server"),l("facebook-config-ui"),l("meteor-developer-config-ui"),l("twitter-config-ui"),l("webapp","meteor/webapp/webapp_client.js"),l("hot-code-push"),l("launch-screen"),l("dferber:prerender"),l("autoupdate","meteor/autoupdate/autoupdate_client.js"),l("mdg:validation-error")},
7"process.js":function l(o,a,l){if(!r.process)try{r.process=o("process")}catch(c){r.process={}}var p=r.process;e.isServer?t({node_modules:{
7"process.js":function(e,r,s){s.exports=p}}}):(p.platform="browser",p.nextTick=p.nextTick||e._setImmediate),"object"!=typeof p.env&&(p.env={});var i=Object.prototype.hasOwnProperty;for(var n in s)i.call(s,n)&&(p.env[n]=s[n])},
7"reify.js":function e(r,s,e){r("@meteorjs/reify/lib/runtime").enable(e.constructor.prototype)},
7"stubs.js":function e(r){var s=!1;try{r.resolve("meteor-node-stubs"),s=!0}catch(t){}s&&r("meteor-node-stubs")},node_modules:{"@meteorjs":{reify:{lib:{runtime:{
7"index.js":function e(r,s,e){"use strict";var t=r("./utils.js"),l=r("./entry.js");function o(e,r,s){t.setESModule(this.exports),l.getOrCreate(this.id,this);var o=this.resolve(e),a=l.getOrCreate(o);t.isObject(r)&&a.addSetters(this,r,s);var p=this.require(o);null===a.module&&(a.module={id:o,exports:p}),a.runSetters()}function a(e,r){t.setESModule(this.exports);var s=l.getOrCreate(this.id,this);s.addGetters(e,r),this.loaded&&s.runSetters()}function p(e){return this.export({default:function(){return e}},!0)}function i(e){var r=this,s="*+"===e,l=function(l){"*"===e||"*+"===e?Object.keys(l).forEach((function(e){(s||"default"!==e)&&t.copyKey(e,r.exports,l)})):r.exports[e]=l};return"*+"!==e&&"*"!==e&&(l.exportAs=e),l}function n(e,r){return l.getOrCreate(this.id,this).runSetters(r,!0),e}function c(e){return this.exportAs(e?"*+":"*")}s.enable=function(e){return e.link!==o&&(e.link=o,e.export=a,e.exportDefault=p,e.exportAs=i,e.runSetters=n,e.makeNsSetter=c,!0)}},
7"utils.js":function e(r,s,e){"use strict";var t="function"==typeof Object.setPrototypeOf,l="function"==typeof Symbol,o="__esModule",a=l?Symbol.for(o):null,p=l&&"symbol"==typeof Symbol.toStringTag,i="function"==typeof Object.getOwnPropertyDescriptor,n=Object.prototype.hasOwnProperty;function c(e,r,s){if(i){var t=Object.getOwnPropertyDescriptor(s,e);t.configurable=!0,Object.defineProperty(r,e,t)}else r[e]=s[e]}function h(e){if(m(e)){if(l&&n.call(e,a))return!!e[a];if(n.call(e,o))return!!e[o]}return!1}function u(e){m(e)&&(l&&(e[a]=!0),e[o]||Object.defineProperty(e,o,{configurable:!0,enumerable:!1,value:!0,writable:!1}))}function d(e){return"object"==typeof e&&null!==e}function m(e){var r=typeof e;return"function"===r||"object"===r&&null!==e}function j(){var e=Object.create(null);return p&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module",configurable:!1,enumerable:!1,writable:!1}),u(e),e}function f(e,r){return t?Object.setPrototypeOf(e,r):e.__proto__=r,e}s.copyKey=c,s.valueOrGetter=function(e,r){if(i&&n.call(e,r)){var s=Object.getOwnPropertyDescriptor(e,r);if("function"==typeof s.get)return s.get}return e[r]},s.getESModule=h,s.setESModule=u,s.isObject=d,s.isObjectLike=m,s.ensureObjectProperty=function(e,r){return n.call(e,r)?e[r]:e[r]=Object.create(null)},s.createNamespace=j,s.setPrototypeOf=f},
7"entry.js":function e(r,s,e){"use strict";var t=r("./utils.js"),l={},o={},a={},p=Object.prototype.hasOwnProperty,i=0;function n(e){this.id=e,this.module=null,this.namespace=t.createNamespace(),this.getters=Object.create(null),this.setters=Object.create(null),this.newSetters=Object.create(null),this.snapshots=Object.create(null)}var c=t.setPrototypeOf(n.prototype,null),h=Object.create(null);function u(e){var r=Object.keys(e),s=r.indexOf("__esModule");return s>=0&&r.splice(s,1),r}function d(e,r){if("function"==typeof r)return r;if("string"==typeof r)return e.exportAs(r);if(Array.isArray(r))switch(r.length){case 0:return null;case 1:return d(e,r[0]);default:var s=r.map((function(r){return d(e,r)}));return function(e){s.forEach((function(r){r(e)}))}}return null}function m(e,r){var s=!1;if(null!==e.module){var l=e.module.exports;t.getESModule(l)||(e.namespace.default=l,s=!0),t.isObjectLike(l)&&((void 0===r||r.indexOf("*")>=0)&&(r=Object.keys(l)),r.forEach((function(r){p.call(e.getters,r)||s&&"default"===r||!p.call(l,r)||t.copyKey(r,e.namespace,l)})))}}function j(e,r,s){var l=Object.create(null),o=[];"*"===r?u(s).forEach((function(e){o.push(e),l[e]=f(t.valueOrGetter(s,e))})):(o.push(r),l[r]=f(s));var a=e.snapshots[r];return a&&o.every((function(e){return a[e]===l[e]}))&&o.length===Object.keys(a).length?a:l}function f(e){return void 0===e?a:e!=e&&isNaN(e)?o:e}function y(e,r,s){if(e.snapshots[r]!==s)return e.snapshots[r]=s,delete e.newSetters[r],Object.keys(e.setters[r]);var t=e.newSetters[r],l=t&&Object.keys(t);return l&&l.length?(delete e.newSetters[r],l):void 0}function b(e,r,s){void 0===r&&(r=Object.keys(e.setters)),r.forEach((function(r){if("__esModule"!==r){var t=e.setters[r];if(t){var l=e.getters[r],o="function"==typeof l&&l.runCount>0&&l.constant,a=v(e,r),p=j(e,r,a),i=y(e,r,p);void 0!==i&&i.forEach((function(e){var l=t[e];l&&(s(l,r,a),o&&delete t[e])}))}}}))}function v(e,r){if("*"===r)return e.namespace;if(p.call(e.namespace,r))return e.namespace[r];if(null!==e.module){var s=e.module.exports;if(!("default"!==r||t.getESModule(s)&&"default"in s))return s;if(null!=s)return s[r]}}function P(){return Math.random().toString(36).replace("0.",++i+"$")}function S(e,r){var s=e.getters[r];if(!s)return l;try{var t=s();return++s.runCount,t}catch(o){}return l}n.getOrCreate=function(e,r){var s=p.call(h,e)?h[e]:h[e]=new n(e);return t.isObject(r)&&r.id===s.id&&(s.module=r),s},c.addGetters=function(e,r){var s=u(e),t=s.length;r=!!r;for(var l=0;l<t;++l){var o=s[l],a=e[o];"function"!=typeof a||o in this.getters||(this.getters[o]=a,a.constant=r,a.runCount=0)}},c.addSetters=function(e,r,s){var l=u(r),o=l.length;if(o){s=void 0===s?P():e.id+":"+s;for(var a=this,p=0;p<o;++p){var i=l[p],n=d(e,r[i]);"function"==typeof n&&(n.parent=e,t.ensureObjectProperty(a.setters,i)[s]=n,t.ensureObjectProperty(a.newSetters,i)[s]=n)}a.runSetters(l)}},c.runGetters=function(e){m(this,e),(void 0===e||e.indexOf("*")>=0)&&(e=Object.keys(this.getters));for(var r=e.length,s=0;s<r;++s){var t=e[s],o=S(this,t);o!==l&&(this.namespace[t]=o,this.module.exports[t]=o)}},c.runSetters=function(e,r){var s,t;if(this.runGetters(e),r&&void 0!==e&&e.push("*"),b(this,e,(function(e,r,l){void 0===s&&(s=Object.create(null)),void 0===t&&(t=Object.create(null));var o=e.parent.id;void 0!==e.exportAs&&!1!==t[o]?(t[o]=t[o]||[],t[o].push(e.exportAs)):!1!==t[o]&&(t[o]=!1),s[o]=e.parent,e(l,r)})),s)for(var l=Object.keys(s),o=l.length,a=0;a<o;++a){var p=s[l[a]],i=h[p.id];i&&i.runSetters(t[l[a]]||void 0,!!t[l[a]])}},e.exports=n}}}}},"meteor-babel-helpers":{
7"package.json":function e(r,s,e){e.exports={name:"meteor-babel-helpers",version:"0.0.3",main:"index.js"}},
7"index.js":function e(r,s,e){function t(){var e={},r="t";try{for(var s in Object.defineProperty(e,r,{enumerable:!1,value:e}),e)if(s===r)return!1}catch(t){return!1}return e.t===e}function o(e){return e}function a(e){if(Array.isArray(e)){for(var r={},s=Object.keys(e),t=s.length,l=0;l<t;++l){var o=s[l];r[o]=e[o]}return r}return e}l=e.exports={sanitizeForInObject:t()?o:a,_sanitizeForInObjectHard:a}}}}}},"@babel":{runtime:{
7"package.json":function e(r,s,e){e.exports={author:{name:"The Babel Team",url:"https://babel.dev/team"},bugs:{url:"https://github.com/babel/babel/issues"},dependencies:{"regenerator-runtime":"^0.13.4"},description:"babel's modular runtime helpers",engines:{node:">=6.9.0"},exports:{"./helpers/applyDecs":[{node:"./helpers/applyDecs.js",import:"./helpers/esm/applyDecs.js",default:"./helpers/applyDecs.js"},"./helpers/applyDecs.js"],"./helpers/esm/applyDecs":"./helpers/esm/applyDecs.js","./helpers/asyncIterator":[{node:"./helpers/asyncIterator.js",import:"./helpers/esm/asyncIterator.js",default:"./helpers/asyncIterator.js"},"./helpers/asyncIterator.js"],"./helpers/esm/asyncIterator":"./helpers/esm/asyncIterator.js","./helpers/jsx":[{node:"./helpers/jsx.js",import:"./helpers/esm/jsx.js",default:"./helpers/jsx.js"},"./helpers/jsx.js"],"./helpers/esm/jsx":"./helpers/esm/jsx.js","./helpers/objectSpread2":[{node:"./helpers/objectSpread2.js",import:"./helpers/esm/objectSpread2.js",default:"./helpers/objectSpread2.js"},"./helpers/objectSpread2.js"],"./helpers/esm/objectSpread2":"./helpers/esm/objectSpread2.js","./helpers/typeof":[{node:"./helpers/typeof.js",import:"./helpers/esm/typeof.js",default:"./helpers/typeof.js"},"./helpers/typeof.js"],"./helpers/esm/typeof":"./helpers/esm/typeof.js","./helpers/wrapRegExp":[{node:"./helpers/wrapRegExp.js",import:"./helpers/esm/wrapRegExp.js",default:"./helpers/wrapRegExp.js"},"./helpers/wrapRegExp.js"],"./helpers/esm/wrapRegExp":"./helpers/esm/wrapRegExp.js","./helpers/AwaitValue":[{node:"./helpers/AwaitValue.js",import:"./helpers/esm/AwaitValue.js",default:"./helpers/AwaitValue.js"},"./helpers/AwaitValue.js"],"./helpers/esm/AwaitValue":"./helpers/esm/AwaitValue.js","./helpers/AsyncGenerator":[{node:"./helpers/AsyncGenerator.js",import:"./helpers/esm/AsyncGenerator.js",default:"./helpers/AsyncGenerator.js"},"./helpers/AsyncGenerator.js"],"./helpers/esm/AsyncGenerator":"./helpers/esm/AsyncGenerator.js","./helpers/wrapAsyncGenerator":[{node:"./helpers/wrapAsyncGenerator.js",import:"./helpers/esm/wrapAsyncGenerator.js",default:"./helpers/wrapAsyncGenerator.js"},"./helpers/wrapAsyncGenerator.js"],"./helpers/esm/wrapAsyncGenerator":"./helpers/esm/wrapAsyncGenerator.js","./helpers/awaitAsyncGenerator":[{node:"./helpers/awaitAsyncGenerator.js",import:"./helpers/esm/awaitAsyncGenerator.js",default:"./helpers/awaitAsyncGenerator.js"},"./helpers/awaitAsyncGenerator.js"],"./helpers/esm/awaitAsyncGenerator":"./helpers/esm/awaitAsyncGenerator.js","./helpers/asyncGeneratorDelegate":[{node:"./helpers/asyncGeneratorDelegate.js",import:"./helpers/esm/asyncGeneratorDelegate.js",default:"./helpers/asyncGeneratorDelegate.js"},"./helpers/asyncGeneratorDelegate.js"],"./helpers/esm/asyncGeneratorDelegate":"./helpers/esm/asyncGeneratorDelegate.js","./helpers/asyncToGenerator":[{node:"./helpers/asyncToGenerator.js",import:"./helpers/esm/asyncToGenerator.js",default:"./helpers/asyncToGenerator.js"},"./helpers/asyncToGenerator.js"],"./helpers/esm/asyncToGenerator":"./helpers/esm/asyncToGenerator.js","./helpers/classCallCheck":[{node:"./helpers/classCallCheck.js",import:"./helpers/esm/classCallCheck.js",default:"./helpers/classCallCheck.js"},"./helpers/classCallCheck.js"],"./helpers/esm/classCallCheck":"./helpers/esm/classCallCheck.js","./helpers/createClass":[{node:"./helpers/createClass.js",import:"./helpers/esm/createClass.js",default:"./helpers/createClass.js"},"./helpers/createClass.js"],"./helpers/esm/createClass":"./helpers/esm/createClass.js","./helpers/define
7EnumerableProperties":[{node:"./helpers/defineEnumerableProperties.js",import:"./helpers/esm/defineEnumerableProperties.js",default:"./helpers/defineEnumerableProperties.js"},"./helpers/defineEnumerableProperties.js"],"./helpers/esm/defineEnumerableProperties":"./helpers/esm/defineEnumerableProperties.js","./helpers/defaults":[{node:"./helpers/defaults.js",import:"./helpers/esm/defaults.js",default:"./helpers/defaults.js"},"./helpers/defaults.js"],"./helpers/esm/defaults":"./helpers/esm/defaults.js","./helpers/defineProperty":[{node:"./helpers/defineProperty.js",import:"./helpers/esm/defineProperty.js",default:"./helpers/defineProperty.js"},"./helpers/defineProperty.js"],"./helpers/esm/defineProperty":"./helpers/esm/defineProperty.js","./helpers/extends":[{node:"./helpers/extends.js",import:"./helpers/esm/extends.js",default:"./helpers/extends.js"},"./helpers/extends.js"],"./helpers/esm/extends":"./helpers/esm/extends.js","./helpers/objectSpread":[{node:"./helpers/objectSpread.js",import:"./helpers/esm/objectSpread.js",default:"./helpers/objectSpread.js"},"./helpers/objectSpread.js"],"./helpers/esm/objectSpread":"./helpers/esm/objectSpread.js","./helpers/inherits":[{node:"./helpers/inherits.js",import:"./helpers/esm/inherits.js",default:"./helpers/inherits.js"},"./helpers/inherits.js"],"./helpers/esm/inherits":"./helpers/esm/inherits.js","./helpers/inheritsLoose":[{node:"./helpers/inheritsLoose.js",import:"./helpers/esm/inheritsLoose.js",default:"./helpers/inheritsLoose.js"},"./helpers/inheritsLoose.js"],"./helpers/esm/inheritsLoose":"./helpers/esm/inheritsLoose.js","./helpers/getPrototypeOf":[{node:"./helpers/getPrototypeOf.js",import:"./helpers/esm/getPrototypeOf.js",default:"./helpers/getPrototypeOf.js"},"./helpers/getPrototypeOf.js"],"./helpers/esm/getPrototypeOf":"./helpers/esm/getPrototypeOf.js","./helpers/setPrototypeOf":[{node:"./helpers/setPrototypeOf.js",import:"./helpers/esm/setPrototypeOf.js",default:"./helpers/setPrototypeOf.js"},"./helpers/setPrototypeOf.js"],"./helpers/esm/setPrototypeOf":"./helpers/esm/setPrototypeOf.js","./helpers/isNativeReflectConstruct":[{node:"./helpers/isNativeReflectConstruct.js",import:"./helpers/esm/isNativeReflectConstruct.js",default:"./helpers/isNativeReflectConstruct.js"},"./helpers/isNativeReflectConstruct.js"],"./helpers/esm/isNativeReflectConstruct":"./helpers/esm/isNativeReflectConstruct.js","./helpers/construct":[{node:"./helpers/construct.js",import:"./helpers/esm/construct.js",default:"./helpers/construct.js"},"./helpers/construct.js"],"./helpers/esm/construct":"./helpers/esm/construct.js","./helpers/isNativeFunction":[{node:"./helpers/isNativeFunction.js",import:"./helpers/esm/isNativeFunction.js",default:"./helpers/isNativeFunction.js"},"./helpers/isNativeFunction.js"],"./helpers/esm/isNativeFunction":"./helpers/esm/isNativeFunction.js","./helpers/wrapNativeSuper":[{node:"./helpers/wrapNativeSuper.js",import:"./helpers/esm/wrapNativeSuper.js",default:"./helpers/wrapNativeSuper.js"},"./helpers/wrapNativeSuper.js"],"./helpers/esm/wrapNativeSuper":"./helpers/esm/wrapNativeSuper.js","./helpers/instanceof":[{node:"./helpers/instanceof.js",import:"./helpers/esm/instanceof.js",default:"./helpers/instanceof.js"},"./helpers/instanceof.js"],"./helpers/esm/instanceof":"./helpers/esm/instanceof.js","./helpers/interopRequireDefault":[{node:"./helpers/interopRequireDefault.js",import:"./helpers/esm/interopRequireDefault.js",default:"./helpers/interopRequireDefault.js"},"./helpers/interopRequireDefault.js"],"./helpers/esm/interopRequireDefault":"./helpers/esm/interopRequireDefault.js","./helpers/interopRequireWildcard":[{node:"./helpers/interopRequireWildcard.js",import:"./helpers/esm/interopRequireWildcard.js",default:"./helpers/interopRequireWildcard.js"},"./helpers/interopRequireWildcard.js"],"./helpers/esm/interopRequireWildcard":"./helpers/esm/interopRequireWildcard.js","./helpers/newArrowCheck":[{node:"./helpers/newArrowCheck.js",import:"./helpers/esm/newArrowCheck.js",default:"./helpers/newArrowCheck.js"},"./helpers/newArrowCheck.js"],"./helpers/esm/newArrowCheck":"./helpers/esm/newArrowCheck.js","./helpers/objectDestructuringEmpty":[{node:"./helpers/objectDestructuringEmpty.js",import:"./helpers/esm/objectDestructuringEmpty.js",default:"./helpers/objectDestructuringEmpty.js"},"./helpers/objectDestructuringEmpty.js"],"./helpers/esm/objectDestructuringEmpty":"./helpers/esm/objectDestructuringEmpty.js","./helpers/objectWithoutPropertiesLoose":[{node:"./helpers/objectWithoutPropertiesLoose.js",import:"./helpers/esm/objectWithoutPropertiesLoose.js",default:"./helpers/objectWithoutPropertiesLoose.js"},"./helpers/objectWithoutPropertiesLoose.js"],"./helpers/esm/objectWithoutPropertiesLoose":"./helpers/esm/objectWithoutPropertiesLoose.js","./helpers/objectWithoutProperties":[{node:"./helpers/objectWithoutProperties.js",import:"./helpers/esm/objectWithoutProperties.js",default:"./helpers/objectWithoutProperties.js"},"./helpers/objectWithoutProperties.js"],"./helpers/esm/objectWithoutProperties":"./helpers/esm/objectWithoutProperties.js","./helpers/assertThisInitialized":[{node:"./helpers/assertThisInitialized.js",import:"./helpers/esm/assertThisInitialized.js",default:"./helpers/assertThisInitialized.js"},"./helpers/assertThisInitialized.js"],"./helpers/esm/assertThisInitialized":"./helpers/esm/assertThisInitialized.js","./helpers/possibleConstructorReturn":[{node:"./helpers/possibleConstructorReturn.js",import:"./helpers/esm/possibleConstructorReturn.js",default:"./helpers/possibleConstructorReturn.js"},"./helpers/possibleConstructorReturn.js"],"./helpers/esm/possibleConstructorReturn":"./
7helpers/esm/possibleConstructorReturn.js","./helpers/createSuper":[{node:"./helpers/createSuper.js",import:"./helpers/esm/createSuper.js",default:"./helpers/createSuper.js"},"./helpers/createSuper.js"],"./helpers/esm/createSuper":"./helpers/esm/createSuper.js","./helpers/superPropBase":[{node:"./helpers/superPropBase.js",import:"./helpers/esm/superPropBase.js",default:"./helpers/superPropBase.js"},"./helpers/superPropBase.js"],"./helpers/esm/superPropBase":"./helpers/esm/superPropBase.js","./helpers/get":[{node:"./helpers/get.js",import:"./helpers/esm/get.js",default:"./helpers/get.js"},"./helpers/get.js"],"./helpers/esm/get":"./helpers/esm/get.js","./helpers/set":[{node:"./helpers/set.js",import:"./helpers/esm/set.js",default:"./helpers/set.js"},"./helpers/set.js"],"./helpers/esm/set":"./helpers/esm/set.js","./helpers/taggedTemplateLiteral":[{node:"./helpers/taggedTemplateLiteral.js",import:"./helpers/esm/taggedTemplateLiteral.js",default:"./helpers/taggedTemplateLiteral.js"},"./helpers/taggedTemplateLiteral.js"],"./helpers/esm/taggedTemplateLiteral":"./helpers/esm/taggedTemplateLiteral.js","./helpers/taggedTemplateLiteralLoose":[{node:"./helpers/taggedTemplateLiteralLoose.js",import:"./helpers/esm/taggedTemplateLiteralLoose.js",default:"./helpers/taggedTemplateLiteralLoose.js"},"./helpers/taggedTemplateLiteralLoose.js"],"./helpers/esm/taggedTemplateLiteralLoose":"./helpers/esm/taggedTemplateLiteralLoose.js","./helpers/readOnlyError":[{node:"./helpers/readOnlyError.js",import:"./helpers/esm/readOnlyError.js",default:"./helpers/readOnlyError.js"},"./helpers/readOnlyError.js"],"./helpers/esm/readOnlyError":"./helpers/esm/readOnlyError.js","./helpers/writeOnlyError":[{node:"./helpers/writeOnlyError.js",import:"./helpers/esm/writeOnlyError.js",default:"./helpers/writeOnlyError.js"},"./helpers/writeOnlyError.js"],"./helpers/esm/writeOnlyError":"./helpers/esm/writeOnlyError.js","./helpers/classNameTDZError":[{node:"./helpers/classNameTDZError.js",import:"./helpers/esm/classNameTDZError.js",default:"./helpers/classNameTDZError.js"},"./helpers/classNameTDZError.js"],"./helpers/esm/classNameTDZError":"./helpers/esm/classNameTDZError.js","./helpers/temporalUndefined":[{node:"./helpers/temporalUndefined.js",import:"./helpers/esm/temporalUndefined.js",default:"./helpers/temporalUndefined.js"},"./helpers/temporalUndefined.js"],"./helpers/esm/temporalUndefined":"./helpers/esm/temporalUndefined.js","./helpers/tdz":[{node:"./helpers/tdz.js",import:"./helpers/esm/tdz.js",default:"./helpers/tdz.js"},"./helpers/tdz.js"],"./helpers/esm/tdz":"./helpers/esm/tdz.js","./helpers/temporalRef":[{node:"./helpers/temporalRef.js",import:"./helpers/esm/temporalRef.js",default:"./helpers/temporalRef.js"},"./helpers/temporalRef.js"],"./helpers/esm/temporalRef":"./helpers/esm/temporalRef.js","./helpers/slicedToArray":[{node:"./helpers/slicedToArray.js",import:"./helpers/esm/slicedToArray.js",default:"./helpers/slicedToArray.js"},"./helpers/slicedToArray.js"],"./helpers/esm/slicedToArray":"./helpers/esm/slicedToArray.js","./helpers/slicedToArrayLoose":[{node:"./helpers/slicedToArrayLoose.js",import:"./helpers/esm/slicedToArrayLoose.js",default:"./helpers/slicedToArrayLoose.js"},"./helpers/slicedToArrayLoose.js"],"./helpers/esm/slicedToArrayLoose":"./helpers/esm/slicedToArrayLoose.js","./helpers/toArray":[{node:"./helpers/toArray.js",import:"./helpers/esm/toArray.js",default:"./helpers/toArray.js"},"./helpers/toArray.js"],"./helpers/esm/toArray":"./helpers/esm/toArray.js","./helpers/toConsumableArray":[{node:"./helpers/toConsumableArray.js",import:"./helpers/esm/toConsumableArray.js",default:"./helpers/toConsumableArray.js"},"./helpers/toConsumableArray.js"],"./helpers/esm/toConsumableArray":"./helpers/esm/toConsumableArray.js","./helpers/arrayWithoutHoles":[{node:"./helpers/arrayWithoutHoles.js",import:"./helpers/esm/arrayWithoutHoles.js",default:"./helpers/arrayWithoutHoles.js"},"./helpers/arrayWithoutHoles.js"],"./helpers/esm/arrayWithoutHoles":"./helpers/esm/arrayWithoutHoles.js","./helpers/arrayWithHoles":[{node:"./helpers/arrayWithHoles.js",import:"./helpers/esm/arrayWithHoles.js",default:"./helpers/arrayWithHoles.js"},"./helpers/arrayWithHoles.js"],"./helpers/esm/arrayWithHoles":"./helpers/esm/arrayWithHoles.js","./helpers/maybeArrayLike":[{node:"./helpers/maybeArrayLike.js",import:"./helpers/esm/maybeArrayLike.js",default:"./helpers/maybeArrayLike.js"},"./helpers/maybeArrayLike.js"],"./helpers/esm/maybeArrayLike":"./helpers/esm/maybeArrayLike.js","./helpers/iterableToArray":[{node:"./helpers/iterableToArray.js",import:"./helpers/esm/iterableToArray.js",default:"./helpers/iterableToArray.js"},"./helpers/iterableToArray.js"],"./helpers/esm/iterableToArray":"./helpers/esm/iterableToArray.js","./helpers/iterableToArrayLimit":[{node:"./helpers/iterableToArrayLimit.js",import:"./helpers/esm/iterableToArrayLimit.js",default:"./helpers/iterableToArrayLimit.js"},"./helpers/iterableToArrayLimit.js"],"./helpers/esm/iterableToArrayLimit":"./helpers/esm/iterableToArrayLimit.js","./helpers/iterableToArrayLimitLoose":[{node:"./helpers/iterableToArrayLimitLoose.js",import:"./helpers/esm/iterableToArrayLimitLoose.js",default:"./helpers/iterableToArrayLimitLoose.js"},"./helpers/iterableToArrayLimitLoose.js"],"./helpers/esm/iterableToArrayLimitLoose":"./helpers/esm/iterableToArrayLimitLoose.js","./helpers/unsupportedIterableToArray":[{node:"./helpers/unsupportedIterableToArray.js",import:"./helpers/esm/unsupportedIterableToArray.js",default:"./helpers/unsupportedIterableToArray.js"},"./helpers/unsupportedIterableToArray.js"],"./helpers/esm/unsupportedIterableToArray":"./helpers/esm/unsupportedIterableToArray.js","./helpers/arrayLikeToArray":[{node:"./helpers/arrayLikeToArray.js",import:"./helpers/esm/arrayLikeToArray.js",default:"./helpers/arrayLikeToArray.js"},"./helpers/arrayLikeToArray.js"],"./helpers/esm/arrayLikeToArray":"./helpers/esm/arrayLikeToArray.js","./helpers/nonIterableSpread":[{node:"./helpers/nonIterableSpread.js",import:"./helpers/esm/nonIterableSpread.js",default:"./helpers/nonIterableSpread.js"},"./helpers/nonIterableSpread.js"],"./helpers/esm/nonIterableSpread":"./helpers/esm/nonIterableSpread.js","./helpers/nonIterableRest":[{node:"./helpers/nonIterableRest.js",import:"./helpers/esm/nonIterableRest.js",default:"./helpers/nonIterableRest.js"},"./helpers/nonIterableRest.js"],"./helpers/esm/nonIterableRest":"./helpers/esm/nonIterableRest.js","./helpers/createForOfIteratorHelper":[{node:"./helpers/createForOfIteratorHelper.js",import:"./helpers/esm/createForOfIteratorHelper.js",default:"./helpers/createForOfIteratorHelper.js"},"./helpers/createForOfIteratorHelper.js"],"./helpers/esm/createForOfIteratorHelper":"./helpers/esm/createForOfIteratorHelper.js","./helpers/createForOfIteratorHelperLoose":[{node:"./helpers/createForOfIteratorHelperLoose.js",import:"./helpers/esm/createForOfIteratorHelperLoose.js",default:"./helpers/createForOfIteratorHelperLoose.js"},"./helpers/createForOfIteratorHelperLoose.js"],"./helpers/esm/createForOfIteratorHelperLoose":"./helpers/esm/createForOfIteratorHelperLoose.js","./helpers/skipFirstGeneratorNext":[{node:"./helpers/skipFirstGeneratorNext.js",import:"./helpers/esm/skipFirstGeneratorNext.js",default:"./helpers/skipFirstGeneratorNext.js"},"./helpers/skipFirstGeneratorNext.js"],"./helpers/esm/skipFirstGeneratorNext":"./helpers/esm/skipFirstGeneratorNext.js","./helpers/toPrimitive":[{node:"./helpers/toPrimitive.js",import:"./helpers/esm/toPrimitive.js",default:"./helpers/toPrimitive.js"},"./helpers/toPrimitive.js"],"./helpers/esm/toPrimitive":"./helpers/esm/toPrimitive.js","./helpers/toPropertyKey":[{node:"./helpers/toPropertyKey.js",import:"./helpers/esm/toPropertyKey.js",default:"./helpers/toPropertyKey.js"},"./helpers/toPropertyKey.js"],"./helpers/esm/toPropertyKey":"./helpers/esm/toPropertyKey.js","./helpers/initializerWarningHelper":[{node:"./helpers/initializerWarningHelper.js",import:"./helpers/esm/initializerWarningHelper.js",default:"./helpers/initializerWarningHelper.js"},"./helpers/initializerWarningHelper.js"],"./helpers/esm/initializerWarningHelper":"./helpers/esm/initializerWarningHelper.js","./helpers/initializerDefineProperty":[{node:"./helpers/initializerDefineProperty.js",import:"./helpers/esm/initializerDefineProperty.js",default:"./helpers/initializerDefineProperty.js"},"./helpers/initializerDefineProperty.js"],"./helpers/esm/initializerDefineProperty":"./helpers/esm/initializerDefineProperty.js","./helpers/applyDecoratedDescriptor":[{node:"./helpers/applyDecoratedDescriptor.js",import:"./helpers/esm/applyDecoratedDescriptor.js",default:"./helpers/applyDecoratedDescriptor.js"},"./helpers/applyDecoratedDescriptor.js"],"./helpers/esm/applyDecoratedDescriptor":"./helpers/esm/applyDecoratedDescriptor.js","./helpers/classPrivateFieldLooseKey":[{node:"./helpers/classPrivateFieldLooseKey.js",import:"./helpers/esm/classPrivateFieldLooseKey.js",default:"./helpers/classPrivateFieldLooseKey.js"},"./helpers/classPrivateFieldLooseKey.js"],"./helpers/esm/classPrivateFieldLooseKey":"./
7helpers/esm/classPrivateFieldLooseKey.js","./helpers/classPrivateFieldLooseBase":[{node:"./helpers/classPrivateFieldLooseBase.js",import:"./helpers/esm/classPrivateFieldLooseBase.js",default:"./helpers/classPrivateFieldLooseBase.js"},"./helpers/classPrivateFieldLooseBase.js"],"./helpers/esm/classPrivateFieldLooseBase":"./helpers/esm/classPrivateFieldLooseBase.js","./helpers/classPrivateFieldGet":[{node:"./helpers/classPrivateFieldGet.js",import:"./helpers/esm/classPrivateFieldGet.js",default:"./helpers/classPrivateFieldGet.js"},"./helpers/classPrivateFieldGet.js"],"./helpers/esm/classPrivateFieldGet":"./helpers/esm/classPrivateFieldGet.js","./helpers/classPrivateFieldSet":[{node:"./helpers/classPrivateFieldSet.js",import:"./helpers/esm/classPrivateFieldSet.js",default:"./helpers/classPrivateFieldSet.js"},"./helpers/classPrivateFieldSet.js"],"./helpers/esm/classPrivateFieldSet":"./helpers/esm/classPrivateFieldSet.js","./helpers/classPrivateFieldDestructureSet":[{node:"./helpers/classPrivateFieldDestructureSet.js",import:"./helpers/esm/classPrivateFieldDestructureSet.js",default:"./helpers/classPrivateFieldDestructureSet.js"},"./helpers/classPrivateFieldDestructureSet.js"],"./helpers/esm/classPrivateFieldDestructureSet":"./helpers/esm/classPrivateFieldDestructureSet.js","./helpers/classExtractFieldDescriptor":[{node:"./helpers/classExtractFieldDescriptor.js",import:"./helpers/esm/classExtractFieldDescriptor.js",default:"./helpers/classExtractFieldDescriptor.js"},"./helpers/classExtractFieldDescriptor.js"],"./helpers/esm/classExtractFieldDescriptor":"./helpers/esm/classExtractFieldDescriptor.js","./helpers/classStaticPrivateFieldSpecGet":[{node:"./helpers/classStaticPrivateFieldSpecGet.js",import:"./helpers/esm/classStaticPrivateFieldSpecGet.js",default:"./helpers/classStaticPrivateFieldSpecGet.js"},"./helpers/classStaticPrivateFieldSpecGet.js"],"./helpers/esm/classStaticPrivateFieldSpecGet":"./helpers/esm/classStaticPrivateFieldSpecGet.js","./helpers/classStaticPrivateFieldSpecSet":[{node:"./helpers/classStaticPrivateFieldSpecSet.js",import:"./helpers/esm/classStaticPrivateFieldSpecSet.js",default:"./helpers/classStaticPrivateFieldSpecSet.js"},"./helpers/classStaticPrivateFieldSpecSet.js"],"./helpers/esm/classStaticPrivateFieldSpecSet":"./helpers/esm/classStaticPrivateFieldSpecSet.js","./helpers/classStaticPrivateMethodGet":[{node:"./helpers/classStaticPrivateMethodGet.js",import:"./helpers/esm/classStaticPrivateMethodGet.js",default:"./helpers/classStaticPrivateMethodGet.js"},"./helpers/classStaticPrivateMethodGet.js"],"./helpers/esm/classStaticPrivateMethodGet":"./helpers/esm/classStaticPrivateMethodGet.js","./helpers/classStaticPrivateMethodSet":[{node:"./helpers/classStaticPrivateMethodSet.js",import:"./helpers/esm/classStaticPrivateMethodSet.js",default:"./helpers/classStaticPrivateMethodSet.js"},"./helpers/classStaticPrivateMethodSet.js"],"./helpers/esm/classStaticPrivateMethodSet":"./helpers/esm/classStaticPrivateMethodSet.js","./helpers/classApplyDescriptorGet":[{node:"./helpers/classApplyDescriptorGet.js",import:"./helpers/esm/classApplyDescriptorGet.js",default:"./helpers/classApplyDescriptorGet.js"},"./helpers/classApplyDescriptorGet.js"],"./helpers/esm/classApplyDescriptorGet":"./helpers/esm/classApplyDescriptorGet.js","./helpers/classApplyDescriptorSet":[{node:"./helpers/classApplyDescriptorSet.js",import:"./helpers/esm/classApplyDescriptorSet.js",default:"./helpers/classApplyDescriptorSet.js"},"./helpers/classApplyDescriptorSet.js"],"./helpers/esm/classApplyDescriptorSet":"./helpers/esm/classApplyDescriptorSet.js","./helpers/classApplyDescriptorDestructureSet":[{node:"./helpers/classApplyDescriptorDestructureSet.js",import:"./helpers/esm/classApplyDescriptorDestructureSet.js",default:"./helpers/classApplyDescriptorDestructureSet.js"},"./helpers/classApplyDescriptorDestructureSet.js"],"./helpers/esm/classApplyDescriptorDestructureSet":"./helpers/esm/classApplyDescriptorDestructureSet.js","./helpers/classStaticPrivateFieldDestructureSet":[{node:"./helpers/classStaticPrivateFieldDestructureSet.js",import:"./helpers/esm/classStaticPrivateFieldDestructureSet.js",default:"./helpers/classStaticPrivateFieldDestructureSet.js"},"./helpers/classStaticPrivateFieldDestructureSet.js"],"./helpers/esm/classStaticPrivateFieldDestructureSet":"./helpers/esm/classStaticPrivateFieldDestructureSet.js","./helpers/classCheckPrivateStaticAccess":[{node:"./helpers/classCheckPrivateStaticAccess.js",import:"./helpers/esm/classCheckPrivateStaticAccess.js",default:"./helpers/classCheckPrivateStaticAccess.js"},"./helpers/classCheckPrivateStaticAccess.js"],"./helpers/esm/classCheckPrivateStaticAccess":"./helpers/esm/classCheckPrivateStaticAccess.js","./helpers/classCheckPrivateStaticFieldDescriptor":[{node:"./helpers/classCheckPrivateStaticFieldDescriptor.js",import:"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js",default:"./helpers/classCheckPrivateStaticFieldDescriptor.js"},"./helpers/classCheckPrivateStaticFieldDescriptor.js"],"./helpers/esm/classCheckPrivateStaticFieldDescriptor":"./helpers/esm/classCheckPrivateStaticFieldDescriptor.js","./helpers/
7decorate":[{node:"./helpers/decorate.js",import:"./helpers/esm/decorate.js",default:"./helpers/decorate.js"},"./helpers/decorate.js"],"./helpers/esm/decorate":"./helpers/esm/decorate.js","./helpers/classPrivateMethodGet":[{node:"./helpers/classPrivateMethodGet.js",import:"./helpers/esm/classPrivateMethodGet.js",default:"./helpers/classPrivateMethodGet.js"},"./helpers/classPrivateMethodGet.js"],"./helpers/esm/classPrivateMethodGet":"./helpers/esm/classPrivateMethodGet.js","./helpers/checkPrivateRedeclaration":[{node:"./helpers/checkPrivateRedeclaration.js",import:"./helpers/esm/checkPrivateRedeclaration.js",default:"./helpers/checkPrivateRedeclaration.js"},"./helpers/checkPrivateRedeclaration.js"],"./helpers/esm/checkPrivateRedeclaration":"./helpers/esm/checkPrivateRedeclaration.js","./helpers/classPrivateFieldInitSpec":[{node:"./helpers/classPrivateFieldInitSpec.js",import:"./helpers/esm/classPrivateFieldInitSpec.js",default:"./helpers/classPrivateFieldInitSpec.js"},"./helpers/classPrivateFieldInitSpec.js"],"./helpers/esm/classPrivateFieldInitSpec":"./helpers/esm/classPrivateFieldInitSpec.js","./helpers/classPrivateMethodInitSpec":[{node:"./helpers/classPrivateMethodInitSpec.js",import:"./helpers/esm/classPrivateMethodInitSpec.js",default:"./helpers/classPrivateMethodInitSpec.js"},"./helpers/classPrivateMethodInitSpec.js"],"./helpers/esm/classPrivateMethodInitSpec":"./helpers/esm/classPrivateMethodInitSpec.js","./helpers/classPrivateMethodSet":[{node:"./helpers/classPrivateMethodSet.js",import:"./helpers/esm/classPrivateMethodSet.js",default:"./helpers/classPrivateMethodSet.js"},"./helpers/classPrivateMethodSet.js"],"./helpers/esm/classPrivateMethodSet":"./helpers/esm/classPrivateMethodSet.js","./helpers/identity":[{node:"./helpers/identity.js",import:"./helpers/esm/identity.js",default:"./helpers/identity.js"},"./helpers/identity.js"],"./helpers/esm/identity":"./helpers/esm/identity.js","./package":"./package.json","./package.json":"./package.json","./regenerator":"./regenerator/index.js","./regenerator/*.js":"./regenerator/*.js","./regenerator/":"./regenerator/"},homepage:"https://babel.dev/docs/en/next/babel-runtime",license:"MIT",name:"@babel/runtime",publishConfig:{access:"public"},repository:{type:"git",url:"git+https://github.com/babel/babel.git",directory:"packages/babel-runtime"},version:"7.17.2"}},helpers:{
7"inheritsLoose.js":function e(r,s,e){var t=r("./setPrototypeOf.js");function l(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e,t(e,r)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
7"setPrototypeOf.js":function e(r,s,e){function t(r,s){return e.exports=t=Object.setPrototypeOf||function e(r,s){return r.__proto__=s,r},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,s)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"slicedToArray.js":function e(r,s,e){var t=r("./arrayWithHoles.js"),l=r("./iterableToArrayLimit.js"),o=r("./unsupportedIterableToArray.js"),a=r("./nonIterableRest.js");function p(e,r){return t(e)||l(e,r)||o(e,r)||a()}e.exports=p,e.exports.__esModule=!0,e.exports.default=e.exports},
7"arrayWithHoles.js":function e(r,s,e){function t(e){if(Array.isArray(e))return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"iterableToArrayLimit.js":function e(r,s,e){function t(e,r){var s=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=s){var t=[],l=!0,o=!1,a,p;try{for(s=s.call(e);!(l=(a=s.next()).done)&&(t.push(a.value),!r||t.length!==r);l=!0);}catch(i){o=!0,p=i}finally{try{l||null==s.return||s.return()}finally{if(o)throw p}}return t}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"unsupportedIterableToArray.js":function e(r,s,e){var t=r("./arrayLikeToArray.js");function l(e,r){if(e){if("string"==typeof e)return t(e,r);var s=Object.prototype.toString.call(e).slice(8,-1);return"Object"===s&&e.constructor&&(s=e.constructor.name),"Map"===s||"Set"===s?Array.from(e):"Arguments"===s||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)?t(e,r):void 0}}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
7"arrayLikeToArray.js":function e(r,s,e){function t(e,r){(null==r||r>e.length)&&(r=e.length);for(var s=0,t=new Array(r);s<r;s++)t[s]=e[s];return t}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"nonIterableRest.js":function e(r,s,e){function t(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"typeof.js":function e(r,s,e){function t(r){return e.exports=t="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},e.exports.__esModule=!0,e.exports.default=e.exports,t(r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"toConsumableArray.js":function e(r,s,e){var t=r("./arrayWithoutHoles.js"),l=r("./iterableToArray.js"),o=r("./unsupportedIterableToArray.js"),a=r("./nonIterableSpread.js");function p(e){return t(e)||l(e)||o(e)||a()}e.exports=p,e.exports.__esModule=!0,e.exports.default=e.exports},
7"arrayWithoutHoles.js":function e(r,s,e){var t=r("./arrayLikeToArray.js");function l(e){if(Array.isArray(e))return t(e)}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
7"iterableToArray.js":function e(r,s,e){function t(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"nonIterableSpread.js":function e(r,s,e){function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"createForOfIteratorHelperLoose.js":function e(r,s,e){var t=r("./unsupportedIterableToArray.js");function l(e,r){var s="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(s)return(s=s.call(e)).next.bind(s);if(Array.isArray(e)||(s=t(e))||r&&e&&"number"==typeof e.length){s&&(e=s);var l=0;return function(){return l>=e.length?{done:!0}:{done:!1,value:e[l++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
7"objectSpread2.js":function e(r,s,e){var t=r("./defineProperty.js");function l(e,r){var s=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),s.push.apply(s,t)}return s}function o(e){for(var r=1;r<arguments.length;r++){var s=null!=arguments[r]?arguments[r]:{};r%2?l(Object(s),!0).forEach((function(r){t(e,r,s[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(s)):l(Object(s)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(s,r))}))}return e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},
7"defineProperty.js":function e(r,s,e){function t(e,r,s){return r in e?Object.defineProperty(e,r,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[r]=s,e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"objectWithoutProperties.js":function e(r,s,e){var t=r("./objectWithoutPropertiesLoose.js");function l(e,r){if(null==e)return{};var s=t(e,r),l,o;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)l=a[o],r.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(s[l]=e[l])}return s}e.exports=l,e.exports.__esModule=!0,e.exports.default=e.exports},
7"objectWithoutPropertiesLoose.js":function e(r,s,e){function t(e,r){if(null==e)return{};var s={},t=Object.keys(e),l,o;for(o=0;o<t.length;o++)l=t[o],r.indexOf(l)>=0||(s[l]=e[l]);return s}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},
7"assertThisInitialized.js":function e(r,s,e){function t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}}}}}},{extensions:[".js",".json"]}),a=o("/node_modules/meteor/modules/client.js");o("/node_modules/meteor/modules/legacy.js"),Package._define("modules",a,{meteorInstall:t,meteorBabelHelpers:l})}();
8
9Package._define("modern-browsers");
10
11Package._define("babel-compiler");
12
13!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,s;n({node_modules:{meteor:{"react-fast-refresh":{
13"client.js":function e(r,t,e){let n=__meteor_runtime_config__&&__meteor_runtime_config__.reactFastRefreshEnabled,o=!!e.hot;var i;function s(e){o&&(i=i||r("./client-runtime.js"))(e)}if(o&&n){let r=!1;e.hot.onRequire({before:function(e){r||(r=!0,s(e),r=!1)}}),window.___INIT_METEOR_FAST_REFRESH=function(){}}else window.___INIT_METEOR_FAST_REFRESH=s},
13"client-runtime.js":function e(r,t,e){const n=r("react-refresh/runtime");let o=null;function i(){o||(o=setTimeout((function(){o=null,n.performReactRefresh()}),0))}function s(e,r){if(n.register(r,e+" %exports%"),null!=r&&"object"==typeof r)for(var t in r){var o=Object.getOwnPropertyDescriptor(r,t);if(!o||!o.get){var i=r[t],s=e+" %exports% "+t;n.register(i,s)}}}function c(e){if(n.isLikelyComponentType(e))return!0;if(null==e||"object"!=typeof e)return!1;if(e instanceof Element)return!1;var r=!1,t=!0;for(var o in e){r=!0;var i=Object.getOwnPropertyDescriptor(e,o);if(i&&i.get)return!1;try{n.isLikelyComponentType(e[o])||(t=!1)}catch(s){if("SecurityError"===s.name)return!1;throw s}}return r&&t}n.injectIntoGlobalHook(window),window.$RefreshReg$=function(){},window.$RefreshSig$=function(){return function(e){return e}};const f=new WeakMap;e.hot.onRequire({after:function(e){const r=f.get(e),t=r&&r.pop();t&&(window.$RefreshReg$=t.prevRefreshReg,window.$RefreshSig$=t.prevRefreshSig,c(e.exports)&&(s(e.id,e.exports),e.hot.accept(),i()))}}),e.exports=function e(r){if(r.loaded)return;let t=f.get(r);void 0===t&&(t=[],f.set(r,t));var o=window.$RefreshReg$,i=window.$RefreshSig$;window.RefreshRuntime=n,window.$RefreshReg$=function(e,t){const n=r.id+" "+t;RefreshRuntime.register(e,n)},window.$RefreshSig$=RefreshRuntime.createSignatureFunctionForTransform,t.push({prevRefreshReg:o,prevRefreshSig:i})}},node_modules:{"react-refresh":{
13"runtime.js":function e(r,t,e){"use strict";e.exports=r("./cjs/react-refresh-runtime.production.min.js")},cjs:{
13"react-refresh-runtime.production.min.js":function e(){
14/** @license React vundefined
15 * react-refresh-runtime.production.min.js
16 *
17 * Copyright (c) Facebook, Inc. and its affiliates.
18 *
19 * This source code is licensed under the MIT license found in the
20 * LICENSE file in the root directory of this source tree.
21 */
22"use strict";throw Error("React Refresh runtime should not be included in the production bundle.")},
22"react-refresh-runtime.development.js":function e(r,t,e){
23/** @license React vundefined
24 * react-refresh-runtime.development.js
25 *
26 * Copyright (c) Facebook, Inc. and its affiliates.
27 *
28 * This source code is licensed under the MIT license found in the
29 * LICENSE file in the root directory of this source tree.
30 */
31"use strict"}}}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/react-fast-refresh/client.js"),Package._define("react-fast-refresh",{ReactFastRefresh:i})}();
32
33Package._define("ecmascript");
34
35Package._define("ecmascript-runtime");
36
37!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,a=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,r,l=a({node_modules:{meteor:{"babel-runtime":{
37"babel-runtime.js":function e(n){try{var o=n("@babel/runtime/package.json").version}catch(a){throw new Error(["","The @babel/runtime npm package could not be found in your node_modules ","directory. Please run the following command to install it:","","  meteor npm install --save @babel/runtime",""].join("\n"))}(parseInt(o,10)<7||0===o.indexOf("7.0.0-beta.")&&parseInt(o.split(".").pop(),10)<56)&&console.error(["The version of @babel/runtime installed in your node_modules directory ","("+o+") is out of date. Please upgrade it by running ","","  meteor npm install --save @babel/runtime@latest","","in your application directory.",""].join("\n"))}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/babel-runtime/babel-runtime.js");Package._define("babel-runtime",l)}();
38
39!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,s=r({node_modules:{meteor:{promise:{
39"modern.js":function n(){i=e.Promise},
39"legacy.js":function n(t){i="function"==typeof e.Promise?e.Promise:e.Promise=t("promise/lib/es6-extensions")},
39"client.js":function n(e){e("./extensions.js"),e("meteor-promise").makeCompatible(i)},
39"extensions.js":function e(){var t=i.prototype,r=Object.prototype.hasOwnProperty;t.done=function(e,t){var r=this;arguments.length>0&&(r=this.then.apply(this,arguments)),r.then(null,(function(e){n._setImmediate((function(){throw e}))}))},r.call(t,"finally")||(t.finally=function(n){var e=!1,t;return this.then((function(e){return t=e,n()}),(function(r){return e=!0,t=r,n()})).then((function(){if(e)throw t;return t}))})},node_modules:{promise:{lib:{
39"es6-extensions.js":function n(e,t,n){"use strict";var r=e("./core.js");n.exports=r;var o=a(!0),i=a(!1),s=a(null),u=a(void 0),c=a(0),f=a("");function a(n){var e=new r(r._0);return e._V=1,e._W=n,e}r.resolve=function(n){if(n instanceof r)return n;if(null===n)return s;if(void 0===n)return u;if(!0===n)return o;if(!1===n)return i;if(0===n)return c;if(""===n)return f;if("object"==typeof n||"function"==typeof n)try{var e=n.then;if("function"==typeof e)return new r(e.bind(n))}catch(t){return new r((function(n,e){e(t)}))}return a(n)};var l=function(n){return"function"==typeof Array.from?(l=Array.from,Array.from(n)):(l=function(n){return Array.prototype.slice.call(n)},Array.prototype.slice.call(n))};r.all=function(n){var e=l(n);return new r((function(n,t){if(0===e.length)return n([]);var o=e.length;function i(s,u){if(u&&("object"==typeof u||"function"==typeof u)){if(u instanceof r&&u.then===r.prototype.then){for(;3===u._V;)u=u._W;return 1===u._V?i(s,u._W):(2===u._V&&t(u._W),void u.then((function(n){i(s,n)}),t))}var c=u.then,f;if("function"==typeof c)return void new r(c.bind(u)).then((function(n){i(s,n)}),t)}e[s]=u,0==--o&&n(e)}for(var s=0;s<e.length;s++)i(s,e[s])}))},r.reject=function(n){return new r((function(e,t){t(n)}))},r.race=function(n){return new r((function(e,t){l(n).forEach((function(n){r.resolve(n).then(e,t)}))}))},r.prototype.catch=function(n){return this.then(null,n)}},
39"core.js":function n(e,t,n){"use strict";var r=e("asap/raw");function o(){}var i=null,s={};function u(n){try{return n.then}catch(e){return i=e,s}}function c(n,e){try{return n(e)}catch(t){return i=t,s}}function f(n,e,t){try{n(e,t)}catch(r){return i=r,s}}function a(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("Promise constructor's argument is not a function");this._U=0,this._V=0,this._W=null,this._X=null,n!==o&&y(n,this)}function l(n,e,t){return new n.constructor((function(r,i){var s=new a(o);s.then(r,i),p(n,new d(e,t,s))}))}function p(n,e){for(;3===n._V;)n=n._W;if(a._Y&&a._Y(n),0===n._V)return 0===n._U?(n._U=1,void(n._X=e)):1===n._U?(n._U=2,void(n._X=[n._X,e])):void n._X.push(e);m(n,e)}function m(n,e){r((function(){var t=1===n._V?e.onFulfilled:e.onRejected;if(null!==t){var r=c(t,n._W);r===s?_(e.promise,i):h(e.promise,r)}else 1===n._V?h(e.promise,n._W):_(e.promise,n._W)}))}function h(n,e){if(e===n)return _(n,new TypeError("A promise cannot be resolved with itself."));if(e&&("object"==typeof e||"function"==typeof e)){var t=u(e);if(t===s)return _(n,i);if(t===n.then&&e instanceof a)return n._V=3,n._W=e,void v(n);if("function"==typeof t)return void y(t.bind(e),n)}n._V=1,n._W=e,v(n)}function _(n,e){n._V=2,n._W=e,a._Z&&a._Z(n,e),v(n)}function v(n){if(1===n._U&&(p(n,n._X),n._X=null),2===n._U){for(var e=0;e<n._X.length;e++)p(n,n._X[e]);n._X=null}}function d(n,e,t){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof e?e:null,this.promise=t}function y(n,e){var t=!1,r=f(n,(function(n){t||(t=!0,h(e,n))}),(function(n){t||(t=!0,_(e,n))}));t||r!==s||(t=!0,_(e,i))}n.exports=a,a._Y=null,a._Z=null,a._0=o,a.prototype.then=function(n,e){if(this.constructor!==a)return l(this,n,e);var t=new a(o);return p(this,new d(n,e,t)),t}}}},asap:{
39"package.json":function n(e,t,n){n.exports={name:"asap",version:"2.0.6",browser:{"./asap":"./browser-asap.js","./asap.js":"./browser-asap.js","./raw":"./browser-raw.js","./raw.js":"./browser-raw.js","./test/domain.js":"./test/browser-domain.js"},main:"./asap.js"}},"raw.js":"/node_modules/meteor/promise/node_modules/asap/browser-raw.js",
39"browser-raw.js":function n(t,r,n){"use strict";function o(n){i.length||(u(),s=!0),i[i.length]=n}n.exports=o;var i=[],s=!1,u,c=0,f=1024;function a(){for(;c<i.length;){var n=c;if(c+=1,i[n].call(),c>f){for(var e=0,t=i.length-c;e<t;e++)i[e]=i[e+c];i.length-=c,c=0}}i.length=0,c=0,s=!1}var l="undefined"!=typeof e?e:self,p=l.MutationObserver||l.WebKitMutationObserver;function m(n){var e=1,t=new p(n),r=document.createTextNode("");return t.observe(r,{characterData:!0}),function n(){e=-e,r.data=e}}function h(n){return function e(){var t=setTimeout(o,0),r=setInterval(o,50);function o(){clearTimeout(t),clearInterval(r),n()}}}u="function"==typeof p?m(a):h(a),o.requestFlush=u,o.makeRequestCallFromTimer=h}},"meteor-promise":{
39"package.json":function n(e,t,n){n.exports={name:"meteor-promise",version:"0.9.0",browser:"promise_client.js",main:"promise_server.js"}},
39"promise_client.js":function e(t,r){function o(n){throw n}r.makeCompatible=function(e){var t=e.prototype.then;e.prototype.then=function(e,r){return"object"==typeof n&&"function"==typeof n.bindEnvironment?t.call(this,e&&n.bindEnvironment(e,o),r&&n.bindEnvironment(r,o)):t.call(this,e,r)}}}}}}}}},{extensions:[".js",".json"]});s("/node_modules/meteor/promise/modern.js"),s("/node_modules/meteor/promise/legacy.js");var u=s("/node_modules/meteor/promise/client.js");Package._define("promise",u,{Promise:i})}();
40
41!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,o=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,s,a=o({node_modules:{meteor:{fetch:{
41"legacy.js":function t(r,o){r("whatwg-fetch"),o.fetch=e.fetch,o.Headers=e.Headers,o.Request=e.Request,o.Response=e.Response},node_modules:{"whatwg-fetch":{
41"package.json":function t(e,r,t){t.exports={name:"whatwg-fetch",version:"2.0.4",main:"fetch.js"}},
vendor: 6,710 bytes, line 41
41"fetch.js":function t(){!function(t){"use strict";if(!t.fetch){var e="URLSearchParams"in t,r="Symbol"in t&&"iterator"in Symbol,o="FileReader"in t&&"Blob"in t&&function(){try{return new Blob,!0}catch(t){return!1}}(),n="FormData"in t,s="ArrayBuffer"in t;if(s)var a=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=function(t){return t&&DataView.prototype.isPrototypeOf(t)},u=ArrayBuffer.isView||function(t){return t&&a.indexOf(Object.prototype.toString.call(t))>-1};p.prototype.append=function(t,e){t=c(t),e=y(e);var r=this.map[t];this.map[t]=r?r+","+e:e},p.prototype.delete=function(t){delete this.map[c(t)]},p.prototype.get=function(t){return t=c(t),this.has(t)?this.map[t]:null},p.prototype.has=function(t){return this.map.hasOwnProperty(c(t))},p.prototype.set=function(t,e){this.map[c(t)]=y(e)},p.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},p.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),l(t)},p.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),l(t)},p.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),l(t)},r&&(p.prototype[Symbol.iterator]=p.prototype.entries);var f=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];T.prototype.clone=function(){return new T(this,{body:this._bodyInit})},A.call(T.prototype),A.call(U.prototype),U.prototype.clone=function(){return new U(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},U.error=function(){var t=new U(null,{status:0,statusText:""});return t.type="error",t};var d=[301,302,303,307,308];U.redirect=function(t,e){if(-1===d.indexOf(e))throw new RangeError("Invalid status code");return new U(null,{status:e,headers:{location:t}})},t.Headers=p,t.Request=T,t.Response=U,t.fetch=function(t,e){return new i((function(r,n){var i=new T(t,e),s=new XMLHttpRequest;s.onload=function(){var t={status:s.status,statusText:s.statusText,headers:x(s.getAllResponseHeaders()||"")};t.url="responseURL"in s?s.responseURL:t.headers.get("X-Request-URL");var e="response"in s?s.response:s.responseText;r(new U(e,t))},s.onerror=function(){n(new TypeError("Network request failed"))},s.ontimeout=function(){n(new TypeError("Network request failed"))},s.open(i.method,i.url,!0),"include"===i.credentials?s.withCredentials=!0:"omit"===i.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),i.headers.forEach((function(t,e){s.setRequestHeader(e,t)})),s.send("undefined"==typeof i._bodyInit?null:i._bodyInit)}))},t.fetch.polyfill=!0}function c(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.\^_`|~]/i.test(t))throw new TypeError("Invalid character in header field name");return t.toLowerCase()}function y(t){return"string"!=typeof t&&(t=String(t)),t}function l(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return r&&(e[Symbol.iterator]=function(){return e}),e}function p(t){this.map={},t instanceof p?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function b(t){if(t.bodyUsed)return i.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new i((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function w(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function v(t){var e=new FileReader,r=m(e);return e.readAsText(t),r}function _(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o<e.length;o++)r[o]=String.fromCharCode(e[o]);return r.join("")}function g(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function A(){return this.bodyUsed=!1,this._initBody=function(t){if(this._bodyInit=t,t)if("string"==typeof t)this._bodyText=t;else if(o&&Blob.prototype.isPrototypeOf(t))this._bodyBlob=t;else if(n&&FormData.prototype.isPrototypeOf(t))this._bodyFormData=t;else if(e&&URLSearchParams.prototype.isPrototypeOf(t))this._bodyText=t.toString();else if(s&&o&&h(t))this._bodyArrayBuffer=g(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer]);else{if(!s||!ArrayBuffer.prototype.isPrototypeOf(t)&&!u(t))throw new Error("unsupported BodyInit type");this._bodyArrayBuffer=g(t)}else this._bodyText="";this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):e&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return i.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return i.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return i.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?b(this)||i.resolve(this._bodyArrayBuffer):this.blob().then(w)}),this.text=function(){var t=b(this);if(t)return t;if(this._bodyBlob)return v(this._bodyBlob);if(this._bodyArrayBuffer)return i.resolve(_(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return i.resolve(this._bodyText)},n&&(this.formData=function(){return this.text().then(E)}),this.json=function(){return this.text().then(JSON.parse)},this}function B(t){var e=t.toUpperCase();return f.indexOf(e)>-1?e:t}function T(t,e){var r=(e=e||{}).body;if(t instanceof T){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new p(t.headers)),this.method=t.method,this.mode=t.mode,r||null==t._bodyInit||(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"omit",!e.headers&&this.headers||(this.headers=new p(e.headers)),this.method=B(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(r)}function E(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),o=r.shift().replace(/\+/g," "),n=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(o),decodeURIComponent(n))}})),e}function x(t){var e=new p,r;
41return t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}})),e}function U(t,e){e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new p(e.headers),this.url=e.url||"",this._initBody(t)}}("undefined"!=typeof self?self:this)}}}}}}},{extensions:[".js",".json"]}),h=a("/node_modules/meteor/fetch/legacy.js");Package._define("fetch",h,{fetch:s})}();
42
43!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,i=Package.fetch.fetch,u=r({node_modules:{meteor:{"dynamic-import":{
43"client.js":function t(r,o,t){var c=t.constructor,u=r("./cache.js"),a=r("meteor/modules").meteorInstall,s=r("./dynamic-versions.js"),f=n.indexedDB,l=e.settings&&e.settings.public&&e.settings.public.packages&&e.settings.public.packages["dynamic-import"]||{};function d(e){var n=[""],t=Object.create(null);function r(e){e&&"object"==typeof e?Object.keys(e).forEach((function(t){n.push(t),r(e[t]),n.pop()})):"string"==typeof e&&(t[n.join("/")]=e)}return r(e),t}function m(e,n,t){return function(){return(t&&t.eval||eval)("("+n+")\n//# sourceURL="+e).apply(this,arguments)}}c.prototype.dynamicImport=function(e){var n=this;return n.prefetch(e).then((function(){return b(n,e)}))},a.fetch=function(e){var n=Object.create(null),t=Object.create(null),r;function o(t,r){j(n,t,m(t,r,e[t].options))}function c(e){j(r=r||Object.create(null),e,1)}return Object.keys(e).forEach((function(e){var n=s.get(e);n?t[e]=n:c(e)})),u.checkMany(t).then((function(e){return Object.keys(e).forEach((function(n){var t=e[n];t?o(n,t):c(n)})),r&&y(r).then((function(e){var n=Object.create(null),t=d(e);Object.keys(t).forEach((function(e){var r=t[e];o(e,r);var c=s.get(e);c&&(n[e]={version:c,source:r})})),u.setMany(n)}))})).then((function(){return n}))};var p=null;o.setSecretKey=function(e){p=e};var v=r("./common.js").fetchURL;function h(){try{return window.self!==window.top}catch(e){return!0}}function y(n){var t=v,r=l.useLocationOrigin,o=l.disableLocationOriginIframe;return t=!r||!location||o&&h()?e.absoluteUrl(t):location.origin.concat(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"",t),p&&(t+="key="+p),i(t,{method:"POST",body:JSON.stringify(n)}).then((function(e){if(!e.ok)throw e;return e.json()}))}function j(e,n,t){var r=n.split("/"),o=r.length-1;r.forEach((function(n,r){n&&(e=e[n]=e[n]||(r<o?Object.create(null):t))}))}function b(e,n){var t;return e.link(n,{"*":function(e){t=e}}),Object.defineProperty(t,"__esModule",{value:!0,enumerable:!1}),t}},
43"cache.js":function n(t,r,n){var o,i=e.isClient&&!e.isCordova&&e.isProduction;function u(){return"undefined"!=typeof indexedDB?indexedDB:"undefined"!=typeof webkitIndexedDB?webkitIndexedDB:"undefined"!=typeof mozIndexedDB?mozIndexedDB:"undefined"!=typeof OIndexedDB?OIndexedDB:"undefined"!=typeof msIndexedDB?msIndexedDB:void 0}function a(e){return(o=o||new c((function(e,n){var t=u();if(!t)throw new Error("IndexedDB not available");var r=t.open("MeteorDynamicImportCache",2);r.onupgradeneeded=function(e){var n=e.target.result;Array.from(n.objectStoreNames).forEach(n.deleteObjectStore,n),Object.keys(s).forEach((function(e){n.createObjectStore(e,s[e])}))},r.onerror=f(n,"indexedDB.open"),r.onsuccess=function(n){e(n.target.result)}}))).then(e,(function(n){return e(null)}))}var s={sourcesByVersion:{keyPath:"version"}};function f(e,n){return function(t){return e(new Error("IndexedDB failure in "+n+" "+JSON.stringify(t.target))),!0}}var l=0;r.checkMany=function(e){var n=Object.keys(e),t=Object.create(null);return n.forEach((function(e){t[e]=null})),i?a((function(r){if(!r)return t;var o,i=r.transaction(["sourcesByVersion"],"readonly").objectStore("sourcesByVersion");function u(){return--l,t}return++l,c.all(n.map((function(n){return new c((function(r,o){var c=e[n];if(c){var u=i.get(c);u.onerror=f(o,"sourcesByVersion.get"),u.onsuccess=function(e){var o=e.target.result;o&&(t[n]=o.source),r()}}else r()}))}))).then(u,u)})):c.resolve(t)};var d=Object.create(null);function m(){if(l>0)return m.timer=setTimeout(m,100);m.timer=null;var e=d;return d=Object.create(null),a((function(n){if(n){var t,r=n.transaction(["sourcesByVersion"],"readwrite").objectStore("sourcesByVersion");return c.all(Object.keys(e).map((function(n){var t=e[n];return new c((function(e,n){var o=r.put({version:t.version,source:t.source});o.onerror=f(n,"sourcesByVersion.put"),o.onsuccess=e}))})))}}))}r.setMany=function(e){i&&(Object.assign(d,e),m.timer||(m.timer=setTimeout(m,100)))}},
43"common.js":function e(n,t){t.fetchURL="/__meteor__/dynamic-import/fetch"},
43"dynamic-versions.js":function e(t,r,e){var o={};const i="/node_modules/meteor/";function u(e){var n=[""],t=[];function r(e){e&&"object"==typeof e?Object.keys(e).forEach((function(t){n.push(t),r(e[t]),n.pop()})):"string"==typeof e&&t.push(n.join("/"))}return r(e),t}function a(n){function t(n,r){c.all(n.splice(0,r).map((function(n){return new c((function(t,r){e.prefetch(n).then(t).catch((function(o){0===n.indexOf(i)?e.prefetch(i+n.replace(i,"").replace("_",":")).then(t).catch(r):r(o)}))}))}))).then((function(){n.length>0&&setTimeout((function(){t(n,r)}),0)}))}Package.appcache&&t(u(o),50)}r.get=function(e){var n=o,t=null;return e.split("/").some((function(e){return e&&(n=n[e]||n[e.replace(":","_")]),!n||("string"==typeof n?(t=n,!0):void 0)})),t},n.addEventListener?n.addEventListener("load",a,!1):n.attachEvent&&n.attachEvent("onload",a)}}}}},{extensions:[".js",".json"]}),a=u("/node_modules/meteor/dynamic-import/client.js");Package._define("dynamic-import",a)}();
44
45!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,n=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,a,c,u,l=n({node_modules:{meteor:{"es5-shim":{
45"client.js":function t(e){e("./import_globals.js"),e("es5-shim/es5-shim.js"),e("es5-shim/es5-sham.js"),e("./console.js"),e("./export_globals.js")},
45"console.js":function t(){var e=Object.prototype.hasOwnProperty;function r(t){var e=console[t];e&&"object"==typeof e&&(console[t]=function(){return Function.prototype.apply.call(e,console,arguments)})}if("object"==typeof console&&"object"==typeof console.log)for(var n in console)e.call(console,n)&&r(n)},
45"export_globals.js":function t(){e.Date!==i&&(e.Date=i),e.parseInt!==a&&(e.parseInt=a),e.parseFloat!==c&&(e.parseFloat=c);var r=String.prototype;r.replace!==u&&(r.replace=u)},
45"import_globals.js":function t(){i=e.Date,a=e.parseInt,c=e.parseFloat,u=String.prototype.replace},node_modules:{"es5-shim":{
vendor: 3,725 bytes, line 45
45"es5-shim.js":function t(e,r,t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):"object"==typeof r?t.exports=n():e.returnExports=n()}(this,(function(){var t=Array,e=t.prototype,r=Object,n=r.prototype,o=Function,u=o.prototype,l=String,f=l.prototype,s=Number,p=s.prototype,h=e.slice,y=e.splice,d=e.push,b=e.unshift,g=e.concat,v=e.join,w=u.call,j=u.apply,O=Math.max,m=Math.min,T=n.toString,E="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,x,S=Function.prototype.toString,_=/^\s*class /,P=function t(e){try{var r,n,o,i=S.call(e).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return _.test(i)}catch(a){return!1}},M=function t(e){try{return!P(e)&&(S.call(e),!0)}catch(r){return!1}},I="[object Function]",D="[object GeneratorFunction]",x=function t(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(E)return M(e);if(P(e))return!1;var r=T.call(e);return r===I||r===D},F,k=RegExp.prototype.exec,N=function t(e){try{return k.call(e),!0}catch(r){return!1}},U="[object RegExp]",$;F=function t(e){return"object"==typeof e&&(E?N(e):T.call(e)===U)};var C=String.prototype.valueOf,A=function t(e){try{return C.call(e),!0}catch(r){return!1}},R="[object String]";$=function t(e){return"string"==typeof e||"object"==typeof e&&(E?A(e):T.call(e)===R)};var z=r.defineProperty&&function(){try{var t={};for(var e in r.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(n){return!1}}(),J=(G=n.hasOwnProperty,Z=z?function(t,e,n,o){!o&&e in t||r.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(t,e,r,n){!n&&e in t||(t[e]=r)},function t(e,r,n){for(var o in r)G.call(r,o)&&Z(e,o,r[o],n)}),G,Z,Y=function t(e){var r=typeof e;return null===e||"object"!==r&&"function"!==r},W=s.isNaN||function t(e){return e!=e},B={ToInteger:function t(e){var r=+e;return W(r)?r=0:0!==r&&r!==1/0&&r!==-1/0&&(r=(r>0||-1)*Math.floor(Math.abs(r))),r},ToPrimitive:function t(e){var r,n,o;if(Y(e))return e;if(n=e.valueOf,x(n)&&(r=n.call(e),Y(r)))return r;if(o=e.toString,x(o)&&(r=o.call(e),Y(r)))return r;throw new TypeError},ToObject:function(t){if(null==t)throw new TypeError("can't convert "+t+" to object");return r(t)},ToUint32:function t(e){return e>>>0}},H=function t(){};J(u,{bind:function t(e){var n=this;if(!x(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i=h.call(arguments,1),a,c=function(){if(this instanceof a){var t=j.call(n,this,g.call(i,h.call(arguments)));return r(t)===t?t:this}return j.call(n,e,g.call(i,h.call(arguments)))},u=O(0,n.length-i.length),l=[],f=0;f<u;f++)d.call(l,"$"+f);return a=o("binder","return function ("+v.call(l,",")+"){ return binder.apply(this, arguments); }")(c),n.prototype&&(H.prototype=n.prototype,a.prototype=new H,H.prototype=null),a}});var X=w.bind(n.hasOwnProperty),L=w.bind(n.toString),q=w.bind(h),K=j.bind(h);if("object"==typeof document&&document&&document.documentElement)try{q(document.documentElement.childNodes)}catch(Qe){var Q=q,V=K;q=function t(e){for(var r=[],n=e.length;n-- >0;)r[n]=e[n];return V(r,Q(arguments,1))},K=function t(e,r){return V(q(e),r)}}var tt=w.bind(f.slice),et=w.bind(f.split),rt=w.bind(f.indexOf),nt=w.bind(d),ot=w.bind(n.propertyIsEnumerable),it=w.bind(e.sort),at=t.isArray||function t(e){return"[object Array]"===L(e)},ct=1!==[].unshift(0);J(e,{unshift:function(){return b.apply(this,arguments),this.length}},ct),J(t,{isArray:at});var ut=r("a"),lt="a"!==ut[0]||!(0 in ut),ft=function t(e){var r=!0,n=!0,o=!1;if(e)try{e.call("foo",(function(t,e,n){"object"!=typeof n&&(r=!1)})),e.call([1],(function(){"use strict";n="string"==typeof this}),"x")}catch(Qe){o=!0}return!!e&&!o&&r&&n};
45J(e,{forEach:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=-1,i=B.ToUint32(n.length),a;if(arguments.length>1&&(a=arguments[1]),!x(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++o<i;)o in n&&("undefined"==typeof a?e(n[o],o,r):e.call(a,n[o],o,r))}},!ft(e.forEach)),J(e,{map:function e(r){var n=B.ToObject(this),o=lt&&$(this)?et(this,""):n,i=B.ToUint32(o.length),a=t(i),c;if(arguments.length>1&&(c=arguments[1]),!x(r))throw new TypeError("Array.prototype.map callback must be a function");for(var u=0;u<i;u++)u in o&&(a[u]="undefined"==typeof c?r(o[u],u,n):r.call(c,o[u],u,n));return a}},!ft(e.map)),J(e,{filter:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i=[],a,c;if(arguments.length>1&&(c=arguments[1]),!x(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var u=0;u<o;u++)u in n&&(a=n[u],("undefined"==typeof c?e(a,u,r):e.call(c,a,u,r))&&nt(i,a));return i}},!ft(e.filter)),J(e,{every:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(arguments.length>1&&(i=arguments[1]),!x(e))throw new TypeError("Array.prototype.every callback must be a function");for(var a=0;a<o;a++)if(a in n&&!("undefined"==typeof i?e(n[a],a,r):e.call(i,n[a],a,r)))return!1;return!0}},!ft(e.every)),J(e,{some:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(arguments.length>1&&(i=arguments[1]),!x(e))throw new TypeError("Array.prototype.some callback must be a function");for(var a=0;a<o;a++)if(a in n&&("undefined"==typeof i?e(n[a],a,r):e.call(i,n[a],a,r)))return!0;return!1}},!ft(e.some));var st=!1;e.reduce&&(st="object"==typeof e.reduce.call("es5",(function(t,e,r,n){return n}))),J(e,{reduce:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length);if(!x(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===o&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var i=0,a;if(arguments.length>=2)a=arguments[1];else for(;;){if(i in n){a=n[i++];break}if(++i>=o)throw new TypeError("reduce of empty array with no initial value")}for(;i<o;i++)i in n&&(a=e(a,n[i],i,r));return a}},!st);var pt=!1;e.reduceRight&&(pt="object"==typeof e.reduceRight.call("es5",(function(t,e,r,n){return n}))),J(e,{reduceRight:function t(e){var r=B.ToObject(this),n=lt&&$(this)?et(this,""):r,o=B.ToUint32(n.length),i;if(!x(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===o&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var a=o-1;if(arguments.length>=2)i=arguments[1];else for(;;){if(a in n){i=n[a--];break}if(--a<0)throw new TypeError("reduceRight of empty array with no initial value")}if(a<0)return i;do{a in n&&(i=e(i,n[a],a,r))}while(a--);return i}},!pt);var ht=e.indexOf&&-1!==[0,1].indexOf(1,2);J(e,{indexOf:function t(e){var r=lt&&$(this)?et(this,""):B.ToObject(this),n=B.ToUint32(r.length);if(0===n)return-1;var o=0;for(arguments.length>1&&(o=B.ToInteger(arguments[1])),o=o>
vendor: 9,136 bytes, line 45
45=0?o:O(0,n+o);o<n;o++)if(o in r&&r[o]===e)return o;return-1}},ht);var yt=e.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3);J(e,{lastIndexOf:function t(e){var r=lt&&$(this)?et(this,""):B.ToObject(this),n=B.ToUint32(r.length);if(0===n)return-1;var o=n-1;for(arguments.length>1&&(o=m(o,B.ToInteger(arguments[1]))),o=o>=0?o:n-Math.abs(o);o>=0;o--)if(o in r&&e===r[o])return o;return-1}},yt);var dt=(gt=(bt=[1,2]).splice(),2===bt.length&&at(gt)&&0===gt.length),bt,gt;J(e,{splice:function t(e,r){return 0===arguments.length?[]:y.apply(this,arguments)}},!dt);var vt=(wt={},e.splice.call(wt,0,0,1),1===wt.length),wt;J(e,{splice:function t(e,r){if(0===arguments.length)return[];var n=arguments;return this.length=O(B.ToInteger(this.length),0),arguments.length>0&&"number"!=typeof r&&((n=q(arguments)).length<2?nt(n,this.length-e):n[1]=B.ToInteger(r)),y.apply(this,n)}},!vt);var jt=((Ot=new t(1e5))[8]="x",Ot.splice(1,1),7===Ot.indexOf("x")),Ot,mt=function(){var t=256,e=[];return e[t]="a",e.splice(257,0,"b"),"a"===e[t]}();J(e,{splice:function t(e,r){for(var n=B.ToObject(this),o=[],i=B.ToUint32(n.length),a=B.ToInteger(e),c=a<0?O(i+a,0):m(a,i),u=m(O(B.ToInteger(r),0),i-c),f=0,s;f<u;)s=l(c+f),X(n,s)&&(o[f]=n[s]),f+=1;var p=q(arguments,2),h=p.length,y;if(h<u){f=c;for(var d=i-u;f<d;)s=l(f+u),y=l(f+h),X(n,s)?n[y]=n[s]:delete n[y],f+=1;f=i;for(var b=i-u+h;f>b;)delete n[f-1],f-=1}else if(h>u)for(f=i-u;f>c;)s=l(f+u-1),y=l(f+h-1),X(n,s)?n[y]=n[s]:delete n[y],f-=1;f=c;for(var g=0;g<p.length;++g)n[f]=p[g],f+=1;return n.length=i-u+h,o}},!jt||!mt);var Tt=e.join,Et;try{Et="1,2,3"!==Array.prototype.join.call("123",",")}catch(Qe){Et=!0}Et&&J(e,{join:function t(e){var r="undefined"==typeof e?",":e;return Tt.call($(this)?et(this,""):this,r)}},Et);var xt="1,2"!==[1,2].join(void 0);xt&&J(e,{join:function t(e){var r="undefined"==typeof e?",":e;return Tt.call(this,r)}},xt);var St=function t(e){for(var r=B.ToObject(this),n=B.ToUint32(r.length),o=0;o<arguments.length;)r[n+o]=arguments[o],o+=1;return r.length=n+o,n+o},_t=function(){var t={},e;return 1!==Array.prototype.push.call(t,void 0)||1!==t.length||"undefined"!=typeof t[0]||!X(t,0)}();J(e,{push:function t(e){return at(this)?d.apply(this,arguments):St.apply(this,arguments)}},_t);var Pt=function(){var t=[],e;return 1!==t.push(void 0)||1!==t.length||"undefined"!=typeof t[0]||!X(t,0)}();J(e,{push:St},Pt),J(e,{slice:function(t,e){var r=$(this)?et(this,""):this;return K(r,arguments)}},lt);var Mt=function(){try{[1,2].sort(null)}catch(Qe){try{[1,2].sort({})}catch(t){return!1}}return!0}(),It=function(){try{return[1,2].sort(/a/),!1}catch(Qe){}return!0}(),Dt=function(){try{return[1,2].sort(void 0),!0}catch(Qe){}return!1}();J(e,{sort:function t(e){if("undefined"==typeof e)return it(this);if(!x(e))throw new TypeError("Array.prototype.sort callback must be a function");return it(this,e)}},Mt||!Dt||!It);var Ft=!ot({toString:null},"toString"),kt=ot((function(){}),"prototype"),Nt=!X("x","0"),Ut=function(t){var e=t.constructor;return e&&e.prototype===t},$t={$window:!0,$console:!0,$parent:!0,$self:!0,$frame:!0,$frames:!0,$frameElement:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$external:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},Ct=function(){if("undefined"==typeof window)return!1;for(var t in window)try{!$t["$"+t]&&X(window,t)&&null!==window[t]&&"object"==typeof window[t]&&Ut(window[t])}catch(Qe){return!0}return!1}(),At=function(t){if("undefined"==typeof window||!Ct)return Ut(t);try{return Ut(t)}catch(Qe){return!1}},Rt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],zt=Rt.length,Jt=function t(e){return"[object Arguments]"===L(e)},Gt=function t(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&!at(e)&&x(e.callee)},Zt=Jt(arguments)?Jt:Gt;J(r,{keys:function t(e){var r=x(e),n=Zt(e),o=null!==e&&"object"==typeof e,i=o&&$(e);if(!o&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var a=[],c=kt&&r;if(i&&Nt||n)for(var u=0;u<e.length;++u)nt(a,l(u));if(!n)for(var f in e)c&&"prototype"===f||!X(e,f)||nt(a,l(f));if(Ft)for(var s=At(e),p=0;p<zt;p++){var h=Rt[p];s&&"constructor"===h||!X(e,h)||nt(a,h)}return a}});var Yt=r.keys&&function(){return 2===r.keys(arguments).length}(1,2),Wt=r.keys&&function(){var t=r.keys(arguments);return 1!==arguments.length||1!==t.length||1!==t[0]}(1),Bt=r.keys;J(r,{keys:function t(e){return Zt(e)?Bt(q(e)):Bt(e)}},!Yt||Wt);var Ht=0!==new i(-0xc782b5b342b24).getUTCMonth(),Xt=new i(-0x55d318d56a724),Lt=new i(14496624e5),qt="Mon, 01 Jan -45875 11:59:59 GMT"!==Xt.toUTCString(),Kt,Qt,Vt=Xt.getTimezoneOffset();Vt<-720?(Kt="Tue Jan 02 -45875"!==Xt.toDateString(),Qt=!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Lt))):(Kt="Mon Jan 01 -45875"!==Xt.toDateString(),Qt=!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(Lt)));var te=w.bind(i.prototype.getFullYear),ee=w.bind(i.prototype.getMonth),re=w.bind(i.prototype.getDate),ne=w.bind(i.prototype.getUTCFullYear),oe=w.bind(i.prototype.getUTCMonth),ie=w.bind(i.prototype.getUTCDate),ae=w.bind(i.prototype.getUTCDay),ce=w.bind(i.prototype.getUTCHours),ue=w.bind(i.prototype.getUTCMinutes),le=w.bind(i.prototype.getUTCSeconds),fe=w.bind(i.prototype.getUTCMilliseconds),se=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],pe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],he=function t(e,r){return re(new i(r,e,0))};J(i.prototype,{getFullYear:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this);return e<0&&ee(this)>11?e+1:e},getMonth:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this),r=ee(this);return e<0&&r>11?0:r},getDate:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=te(this),r=ee(this),n=re(this),o;return e<0&&r>11?12===r?n:he(0,e+1)-n+1:n},getUTCFullYear:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this);return e<0&&oe(this)>11?e+1:e},getUTCMonth:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this),r=oe(this);return e<0&&r>11?0:r},getUTCDate:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ne(this),r=oe(this),n=ie(this),o;return e<0&&r>11?12===r?n:he(0,e+1)-n+1:n}},Ht),J(i.prototype,{toUTCString:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=ae(this),r=ie(this),n=oe(this),o=ne(this),a=ce(this),c=ue(this),u=le(this);return se[e]+", "+(r<10?"0"+r:r)+" "+pe[n]+" "+o+" "+(a<10?"0"+a:a)+":"+(c<10?"0"+c:c)+":"+(u<10?"0"+u:u)+" GMT"}},Ht||qt),J(i.prototype,{toDateString:function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=this.getDay(),r=this.getDate(),n=this.getMonth(),o=this.getFullYear();return se[e]+" "+pe[n]+" "+(r<10?"0"+r:r)+" "+o}},Ht||Kt),(Ht||Qt)&&(i.prototype.toString=function t(){if(!(this&&this instanceof i))throw new TypeError("this is not a Date object.");var e=this.getDay(),r=this.getDate(),n=this.getMonth(),o=this.getFullYear(),a=this.getHours(),c=this.getMinutes(),u=this.getSeconds(),l=this.getTimezoneOffset(),f=Math.floor(Math.abs(l)/60),s=Math.floor(Math.abs(l)%60);return se[e]+" "+pe[n]+" "+(r<10?"0"+r:r)+" "+o+" "+(a<10?"0"+a:a)+":"+(c<10?"0"+c:c)+":"+(u<10?"0"+u:u)+" GMT"+(l>0?"-":"+")+(f<10?"0"+f:f)+(s<10?"0"+s:s)},z&&r.defineProperty(i.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0}));var ye=-621987552e5,de="-000001",be=i.prototype.toISOString&&-1===new i(ye).toISOString().indexOf(de),ge=i.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new i(-1).toISOString(),ve=w.bind(i.prototype.getTime);J(i.prototype,{toISOString:function t(){if(!isFinite(this)||!isFinite(ve(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");var e=ne(this),r=oe(this);e+=Math.floor(r/12);var n=[(r=(r%12+12)%12)+1,ie(this),ce(this),ue(this),le(this)];e=(e<0?"-":e>9999?"+":"")+tt("00000"+Math.abs(e),0<=e&&e<=9999?-4:-6);for(var o=0;o<n.length;++o)n[o]=tt("00"+n[o],-2);return e+"-"+q(n,0,2).join("-")+"T"+q(n,2).join(":")+"."+tt("000"+fe(this),-3)+"Z"}},be||ge);var we=function(){try{return i.prototype.toJSON&&null===new i(NaN).toJSON()&&-1!==new i(ye).toJSON().indexOf(de)&&i.prototype.toJSON.call({toISOString:function(){return!0}})}catch(Qe){return!1}}();we||(i.prototype.toJSON=function t(e){var n=r(this),o=B.ToPrimitive(n);if("number"==typeof o&&!isFinite(o))return null;var i=n.toISOString;if(!x(i))throw new TypeError("toISOString property is not callable");return i.call(n)});var je=1e15===i.parse("+033658-09-27T01:46:40.000Z"),Oe=!isNaN(i.parse("2012-04-04T24:00:00.500Z"))||!isNaN(i.parse("2012-11-31T23:59:59.000Z"))||!isNaN(i.parse("2012-12-31T23:59:60.000Z")),me=isNaN(i.parse("2000-01-01T00:00:00.000Z"));if(me||Oe||!je){var Te=Math.pow(2,31)-1,Ee=W(new i(1970,0,1,0,0,0,Te+1).getTime());i=function(t){var e=function r(n,o,i,a,c,u,f){var s=arguments.length,p;if(this instanceof t){var h=u,y=f;if(Ee&&s>=7&&f>
45Te){var d=Math.floor(f/Te)*Te,b=Math.floor(d/1e3);h+=b,y-=1e3*b}p=1===s&&l(n)===n?new t(e.parse(n)):s>=7?new t(n,o,i,a,c,h,y):s>=6?new t(n,o,i,a,c,h):s>=5?new t(n,o,i,a,c):s>=4?new t(n,o,i,a):s>=3?new t(n,o,i):s>=2?new t(n,o):s>=1?new t(n instanceof t?+n:n):new t}else p=t.apply(this,arguments);return Y(p)||J(p,{constructor:e},!0),p},r=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),n=[0,31,59,90,120,151,181,212,243,273,304,334,365],o=function t(e,r){var o=r>1?1:0;return n[r]+Math.floor((e-1969+o)/4)-Math.floor((e-1901+o)/100)+Math.floor((e-1601+o)/400)+365*(e-1970)},i=function e(r){var n=0,o=r;if(Ee&&o>Te){var i=Math.floor(o/Te)*Te,a=Math.floor(i/1e3);n+=a,o-=1e3*a}return s(new t(1970,0,1,0,0,n,o))};for(var a in t)X(t,a)&&(e[a]=t[a]);J(e,{now:t.now,UTC:t.UTC},!0),e.prototype=t.prototype,J(e.prototype,{constructor:e},!0);var c=function e(n){var a=r.exec(n);if(a){var c=s(a[1]),u=s(a[2]||1)-1,l=s(a[3]||1)-1,f=s(a[4]||0),p=s(a[5]||0),h=s(a[6]||0),y=Math.floor(1e3*s(a[7]||0)),d=Boolean(a[4]&&!a[8]),b="-"===a[9]?1:-1,g=s(a[10]||0),v=s(a[11]||0),w,j=p>0||h>0||y>0;return f<(j?24:25)&&p<60&&h<60&&y<1e3&&u>-1&&u<12&&g<24&&v<60&&l>-1&&l<o(c,u+1)-o(c,u)&&(w=1e3*(60*((w=60*(24*(o(c,u)+l)+f+g*b))+p+v*b)+h)+y,d&&(w=i(w)),-864e13<=w&&w<=864e13)?w:NaN}return t.parse.apply(this,arguments)};return J(e,{parse:c}),e}(i)}i.now||(i.now=function t(){return(new i).getTime()});var xe=p.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0)),Se={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function t(e,r){for(var n=-1,o=r;++n<Se.size;)o+=e*Se.data[n],Se.data[n]=o%Se.base,o=Math.floor(o/Se.base)},divide:function t(e){for(var r=Se.size,n=0;--r>=0;)n+=Se.data[r],Se.data[r]=Math.floor(n/e),n=n%e*Se.base},numToString:function t(){for(var e=Se.size,r="";--e>=0;)if(""!==r||0===e||0!==Se.data[e]){var n=l(Se.data[e]);""===r?r=n:r+=tt("0000000",0,7-n.length)+n}return r},pow:function t(e,r,n){return 0===r?n:r%2==1?t(e,r-1,n*e):t(e*e,r/2,n)},log:function t(e){for(var r=0,n=e;n>=4096;)r+=12,n/=4096;for(;n>=2;)r+=1,n/=2;return r}},_e=function t(e){var r,n,o,i,a,c,u,f;if(r=s(e),(r=W(r)?0:Math.floor(r))<0||r>20)throw new RangeError("Number.toFixed called with invalid number of decimals");if(n=s(this),W(n))return"NaN";if(n<=-1e21||n>=1e21)return l(n);if(o="",n<0&&(o="-",n=-n),i="0",n>1e-21)if(c=(a=Se.log(n*Se.pow(2,69,1))-69)<0?n*Se.pow(2,-a,1):n/Se.pow(2,a,1),c*=4503599627370496,(a=52-a)>0){for(Se.multiply(0,c),u=r;u>=7;)Se.multiply(1e7,0),u-=7;for(Se.multiply(Se.pow(10,u,1),0),u=a-1;u>=23;)Se.divide(1<<23),u-=23;Se.divide(1<<u),Se.multiply(1,1),Se.divide(2),i=Se.numToString()}else Se.multiply(0,c),Se.multiply(1<<-a,0),i=Se.numToString()+tt("0.00000000000000000000",2,2+r);return i=r>0?(f=i.length)<=r?o+tt("0.0000000000000000000",0,r-f+2)+i:o+tt(i,0,f-r)+"."+tt(i,f-r):o+i};J(p,{toFixed:_e},xe);var Pe=function(){try{return"1"===1..toPrecision(void 0)}catch(Qe){return!0}}(),Me=p.toPrecision,Ie,De;J(p,{toPrecision:function t(e){return"undefined"==typeof e?Me.call(this):Me.call(this,e)}},Pe),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||".".split(/()()/).length>1?(Ie="undefined"==typeof/()??/.exec("")[1],De=Math.pow(2,32)-1,f.split=function(t,e){var r=String(this);if("undefined"==typeof t&&0===e)return[];if(!F(t))return et(this,t,e);var n=[],o=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),i=0,a,c,u,l,f=new RegExp(t.source,o+"g");Ie||(a=new RegExp("^"+f.source+"$(?!\\s)",o));var s="undefined"==typeof e?De:B.ToUint32(e);for(c=f.exec(r);c&&!((u=c.index+c[0].length)>i&&(nt(n,tt(r,i,c.index)),!Ie&&c.length>1&&c[0].replace(a,(function(){for(var t=1;t<arguments.length-2;t++)"undefined"==typeof arguments[t]&&(c[t]=void 0)})),c.length>1&&c.index<r.length&&d.apply(n,q(c,1)),l=c[0].length,i=u,n.length>=s));)f.lastIndex===c.index&&f.lastIndex++,c=f.exec(r);return i===r.length?!l&&f.test("")||nt(n,""):nt(n,tt(r,i)),n.length>s?q(n,0,s):n}
45):"0".split(void 0,0).length&&(f.split=function t(e,r){return"undefined"==typeof e&&0===r?[]:et(this,e,r)});var Fe=f.replace,ke=(Ne=[],"x".replace(/x(.)?/g,(function(t,e){nt(Ne,e)})),1===Ne.length&&"undefined"==typeof Ne[0]),Ne;ke||(f.replace=function t(e,r){var n=x(r),o=F(e)&&/\)[*?]/.test(e.source);if(n&&o){var i=function(t){var n=arguments.length,o=e.lastIndex;e.lastIndex=0;var i=e.exec(t)||[];return e.lastIndex=o,nt(i,arguments[n-2],arguments[n-1]),r.apply(this,i)};return Fe.call(this,e,i)}return Fe.call(this,e,r)});var Ue=f.substr,$e="".substr&&"b"!=="0b".substr(-1);J(f,{substr:function t(e,r){var n=e;return e<0&&(n=O(this.length+e,0)),Ue.call(this,n,r)}},$e);var Ce="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff",Ae="​",Re="["+Ce+"]",ze=new RegExp("^"+Re+Re+"*"),Je=new RegExp(Re+Re+"*$"),Ge=f.trim&&(Ce.trim()||!Ae.trim());J(f,{trim:function t(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");return l(this).replace(ze,"").replace(Je,"")}},Ge);var Ze=w.bind(String.prototype.trim),Ye=f.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2);J(f,{lastIndexOf:function t(e){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");for(var r=l(this),n=l(e),o=arguments.length>1?s(arguments[1]):NaN,i=W(o)?1/0:B.ToInteger(o),a=m(O(i,0),r.length),c=n.length,u=a+c;u>0;){u=O(0,u-c);var f=rt(tt(r,u,a+c),n);if(-1!==f)return u+f}return-1}},Ye);var We=f.lastIndexOf,Be,He,Xe;if(J(f,{lastIndexOf:function t(e){return We.apply(this,arguments)}},1!==f.lastIndexOf.length),8===a(Ce+"08")&&22===a(Ce+"0x16")||(Be=a,He=/^[-+]?0[xX]/,a=function t(e,r){var n=Ze(String(e)),o=s(r)||(He.test(n)?16:10);return Be(n,o)}),1/c("-0")!=-1/0&&(Xe=c,c=function t(e){var r=Ze(String(e)),n=Xe(r);return 0===n&&"-"===tt(r,0,1)?-0:n}),"RangeError: test"!==String(new RangeError("test"))){var Le=function t(){if("undefined"==typeof this||null===this)throw new TypeError("can't convert "+this+" to object");var e=this.name;"undefined"==typeof e?e="Error":"string"!=typeof e&&(e=l(e));var r=this.message;return"undefined"==typeof r?r="":"string"!=typeof r&&(r=l(r)),e?r?e+": "+r:e:r};Error.prototype.toString=Le}if(z){var qe=function(t,e){if(ot(t,e)){var r=Object.getOwnPropertyDescriptor(t,e);r.configurable&&(r.enumerable=!1,Object.defineProperty(t,e,r))}};qe(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),qe(Error.prototype,"name")}if("/a/gim"!==String(/a/gim)){var Ke=function t(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e};RegExp.prototype.toString=Ke}}))},
45"es5-sham.js":function t(e,r,t){!function(e,n){"use strict";"function"==typeof define&&define.amd?define(n):"object"==typeof r?t.exports=n():e.returnExports=n()}(this,(function(){var t=Function.call,e=Object.prototype,r=t.bind(e.hasOwnProperty),n=t.bind(e.propertyIsEnumerable),o=t.bind(e.toString),i,a,c,u,l=r(e,"__defineGetter__");l&&(i=t.bind(e.__defineGetter__),a=t.bind(e.__defineSetter__),c=t.bind(e.__lookupGetter__),u=t.bind(e.__lookupSetter__));var f=function t(e){return null==e||"object"!=typeof e&&"function"!=typeof e};Object.getPrototypeOf||(Object.getPrototypeOf=function t(r){var n=r.__proto__;return n||null===n?n:"[object Function]"===o(r.constructor)?r.constructor.prototype:r instanceof Object?e:null});var s=function t(e){try{return e.sentinel=0,0===Object.getOwnPropertyDescriptor(e,"sentinel").value}catch(r){return!1}};if(Object.defineProperty){var p=s({}),h;if(!("undefined"==typeof document||s(document.createElement("div")))||!p)var y=Object.getOwnPropertyDescriptor}if(!Object.getOwnPropertyDescriptor||y){var d="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function t(o,i){if(f(o))throw new TypeError(d+o);if(y)try{return y.call(Object,o,i)}catch(g){}var a;if(!r(o,i))return a;if(a={enumerable:n(o,i),configurable:!0},l){var s=o.__proto__,p=o!==e;p&&(o.__proto__=e);var h=c(o,i),b=u(o,i);if(p&&(o.__proto__=s),h||b)return h&&(a.get=h),b&&(a.set=b),a}return a.value=o[i],a.writable=!0,a}}if(Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function t(e){return Object.keys(e)}),!Object.create){var b,g,v=function t(){if(!document.domain)return!1;try{return!!new ActiveXObject("htmlfile")}catch(e){return!1}},w=function t(){var e,r,n="script";
45return(r=new ActiveXObject("htmlfile")).write("<script><\/script>"),r.close(),e=r.parentWindow.Object.prototype,r=null,e},j=function t(){var e=document.createElement("iframe"),r=document.body||document.documentElement,n;return e.style.display="none",r.appendChild(e),e.src="javascript:",n=e.contentWindow.Object.prototype,r.removeChild(e),e=null,n};b=!({__proto__:null}instanceof Object)||"undefined"==typeof document?function(){return{__proto__:null}}:function(){var t=v()?w():j();delete t.constructor,delete t.hasOwnProperty,delete t.propertyIsEnumerable,delete t.isPrototypeOf,delete t.toLocaleString,delete t.toString,delete t.valueOf;var e=function t(){};return e.prototype=t,b=function(){return new e},new e},Object.create=function t(e,r){var n,o=function t(){};if(null===e)n=b();else{if(null!==e&&f(e))throw new TypeError("Object prototype may only be an Object or null");o.prototype=e,(n=new o).__proto__=e}return void 0!==r&&Object.defineProperties(n,r),n}}var O=function t(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(r){return!1}},m;if(Object.defineProperty){var T=O({}),E="undefined"==typeof document||O(document.createElement("div"));if(!T||!E)var x=Object.defineProperty,S=Object.defineProperties}if(!Object.defineProperty||x){var _="Property description must be an object: ",P="Object.defineProperty called on non-object: ",M="getters & setters can not be defined on this javascript engine";Object.defineProperty=function t(r,n,o){if(f(r))throw new TypeError(P+r);if(f(o))throw new TypeError(_+o);if(x)try{return x.call(Object,r,n,o)}catch(y){}if("value"in o)if(l&&(c(r,n)||u(r,n))){var s=r.__proto__;r.__proto__=e,delete r[n],r[n]=o.value,r.__proto__=s}else r[n]=o.value;else{var p="get"in o,h="set"in o;if(!l&&(p||h))throw new TypeError(M);p&&i(r,n,o.get),h&&a(r,n,o.set)}return r}}Object.defineProperties&&!S||(Object.defineProperties=function t(e,r){if(S)try{return S.call(Object,e,r)}catch(n){}return Object.keys(r).forEach((function(t){"__proto__"!==t&&Object.defineProperty(e,t,r[t])})),e}),Object.seal||(Object.seal=function t(e){if(Object(e)!==e)throw new TypeError("Object.seal can only be called on Objects.");return e}),Object.freeze||(Object.freeze=function t(e){if(Object(e)!==e)throw new TypeError("Object.freeze can only be called on Objects.");return e});try{Object.freeze((function(){}))}catch(I){Object.freeze=(m=Object.freeze,function t(e){return"function"==typeof e?e:m(e)})}Object.preventExtensions||(Object.preventExtensions=function t(e){if(Object(e)!==e)throw new TypeError("Object.preventExtensions can only be called on Objects.");return e}),Object.isSealed||(Object.isSealed=function t(e){if(Object(e)!==e)throw new TypeError("Object.isSealed can only be called on Objects.");return!1}),Object.isFrozen||(Object.isFrozen=function t(e){if(Object(e)!==e)throw new TypeError("Object.isFrozen can only be called on Objects.");return!1}),Object.isExtensible||(Object.isExtensible=function t(e){if(Object(e)!==e)throw new TypeError("Object.isExtensible can only be called on Objects.");for(var n="";r(e,n);)n+="?";e[n]=!0;var o=r(e,n);return delete e[n],o})}))}}}}}}},{extensions:[".js",".json"]}),f=l("/node_modules/meteor/es5-shim/client.js");Package._define("es5-shim",f)}();
46
47!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,o,a,l,c=r({node_modules:{meteor:{"ecmascript-runtime-client":{
47"modern.js":function t(e){try{e("core-js/modules/es.object.get-own-property-descriptors")}catch(n){throw new Error(["The core-js npm package could not be found in your node_modules ","directory. Please run the following command to install it:","","  meteor npm install --save core-js",""].join("\n"))}e("core-js/modules/es.object.is"),e("core-js/modules/es.function.name"),e("core-js/modules/es.number.is-finite"),e("core-js/modules/es.number.is-nan"),e("core-js/modules/es.array.flat"),e("core-js/modules/es.array.flat-map"),e("core-js/modules/es.object.from-entries"),e("core-js/modules/es.string.pad-start"),e("core-js/modules/es.string.pad-end"),e("core-js/modules/es.string.trim-start"),e("core-js/modules/es.string.trim-end"),e("core-js/modules/es.symbol.async-iterator")},
47"legacy.js":function t(n,r,t){try{o=r.Symbol=n("core-js/es/symbol"),a=r.Map=n("core-js/es/map"),l=r.Set=n("core-js/es/set")}catch(i){throw new Error(["The core-js npm package could not be found in your node_modules ","directory. Please run the following command to install it:","","  meteor npm install --save core-js",""].join("\n"))}n("core-js/es/array"),n("core-js/es/function"),n("core-js/es/math"),n("core-js/es/object"),n("core-js/es/regexp"),n("core-js/es/string"),n("core-js/es/weak-map"),n("core-js/es/weak-set"),"undefined"==typeof Reflect&&(e.Reflect=void 0),n("core-js/modules/es.number.epsilon"),n("core-js/modules/es.number.is-finite"),n("core-js/modules/es.number.is-integer"),n("core-js/modules/es.number.is-nan"),n("core-js/modules/es.number.is-safe-integer"),n("core-js/modules/es.number.max-safe-integer"),n("core-js/modules/es.number.min-safe-integer"),n("core-js/modules/es.number.parse-float"),n("core-js/modules/es.number.parse-int"),n("core-js/modules/es.typed-array.uint8-array"),n("core-js/modules/es.typed-array.uint32-array"),n("./modern.js")},node_modules:{"core-js":{es:{symbol:{
47"index.js":function t(e,n,t){e("../../modules/es.array.concat"),e("../../modules/es.object.to-string"),e("../../modules/es.symbol"),e("../../modules/es.symbol.async-iterator"),e("../../modules/es.symbol.description"),e("../../modules/es.symbol.has-instance"),e("../../modules/es.symbol.is-concat-spreadable"),e("../../modules/es.symbol.iterator"),e("../../modules/es.symbol.match"),e("../../modules/es.symbol.match-all"),e("../../modules/es.symbol.replace"),e("../../modules/es.symbol.search"),e("../../modules/es.symbol.species"),e("../../modules/es.symbol.split"),e("../../modules/es.symbol.to-primitive"),e("../../modules/es.symbol.to-string-tag"),e("../../modules/es.symbol.unscopables"),e("../../modules/es.json.to-string-tag"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.reflect.to-string-tag");var r=e("../../internals/path");t.exports=r.Symbol}},map:{
47"index.js":function t(e,n,t){e("../../modules/es.map"),e("../../modules/es.object.to-string"),e("../../modules/es.string.iterator"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.Map}},set:{
47"index.js":function t(e,n,t){e("../../modules/es.set"),e("../../modules/es.object.to-string"),e("../../modules/es.string.iterator"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.Set}},array:{
47"index.js":function t(e,n,t){e("../../modules/es.string.iterator"),e("../../modules/es.array.from"),e("../../modules/es.array.is-array"),e("../../modules/es.array.of"),e("../../modules/es.array.concat"),e("../../modules/es.array.copy-within"),e("../../modules/es.array.every"),e("../../modules/es.array.fill"),e("../../modules/es.array.filter"),e("../../modules/es.array.find"),e("../../modules/es.array.find-index"),e("../../modules/es.array.flat"),e("../../modules/es.array.flat-map"),e("../../modules/es.array.for-each"),e("../../modules/es.array.includes"),e("../../modules/es.array.index-of"),e("../../modules/es.array.iterator"),e("../../modules/es.array.join"),e("../../modules/es.array.last-index-of"),e("../../modules/es.array.map"),e("../../modules/es.array.reduce"),e("../../modules/es.array.reduce-right"),e("../../modules/es.array.reverse"),e("../../modules/es.array.slice"),e("../../modules/es.array.some"),e("../../modules/es.array.sort"),e("../../modules/es.array.species"),e("../../modules/es.array.splice"),e("../../modules/es.array.unscopables.flat"),e("../../modules/es.array.unscopables.flat-map");var r=e("../../internals/path");t.exports=r.Array}},function:{
47"index.js":function t(e,n,t){e("../../modules/es.function.bind"),e("../../modules/es.function.name"),e("../../modules/es.function.has-instance");var r=e("../../internals/path");t.exports=r.Function}},math:{
47"index.js":function t(e,n,t){e("../../modules/es.math.acosh"),e("../../modules/es.math.asinh"),e("../../modules/es.math.atanh"),e("../../modules/es.math.cbrt"),e("../../modules/es.math.clz32"),e("../../modules/es.math.cosh"),e("../../modules/es.math.expm1"),e("../../modules/es.math.fround"),e("../../modules/es.math.hypot"),e("../../modules/es.math.imul"),e("../../modules/es.math.log10"),e("../../modules/es.math.log1p"),e("../../modules/es.math.log2"),e("../../modules/es.math.sign"),e("../../modules/es.math.sinh"),e("../../modules/es.math.tanh"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.math.trunc");var r=e("../../internals/path");t.exports=r.Math}},object:{
47"index.js":function t(e,n,t){e("../../modules/es.symbol"),e("../../modules/es.object.assign"),e("../../modules/es.object.create"),e("../../modules/es.object.define-property"),e("../../modules/es.object.define-properties"),e("../../modules/es.object.entries"),e("../../modules/es.object.freeze"),e("../../modules/es.object.from-entries"),e("../../modules/es.object.get-own-property-descriptor"),e("../../modules/es.object.get-own-property-descriptors"),e("../../modules/es.object.get-own-property-names"),e("../../modules/es.object.get-prototype-of"),e("../../modules/es.object.is"),e("../../modules/es.object.is-extensible"),e("../../modules/es.object.is-frozen"),e("../../modules/es.object.is-sealed"),e("../../modules/es.object.keys"),e("../../modules/es.object.prevent-extensions"),e("../../modules/es.object.seal"),e("../../modules/es.object.set-prototype-of"),e("../../modules/es.object.values"),e("../../modules/es.object.to-string"),e("../../modules/es.object.define-getter"),e("../../modules/es.object.define-setter"),e("../../modules/es.object.lookup-getter"),e("../../modules/es.object.lookup-setter"),e("../../modules/es.json.to-string-tag"),e("../../modules/es.math.to-string-tag"),e("../../modules/es.reflect.to-string-tag");var r=e("../../internals/path");t.exports=r.Object}},regexp:{
47"index.js":function t(e){e("../../modules/es.regexp.constructor"),e("../../modules/es.regexp.to-string"),e("../../modules/es.regexp.dot-all"),e("../../modules/es.regexp.exec"),e("../../modules/es.regexp.flags"),e("../../modules/es.regexp.sticky"),e("../../modules/es.regexp.test"),e("../../modules/es.string.match"),e("../../modules/es.string.replace"),e("../../modules/es.string.search"),e("../../modules/es.string.split")}},string:{
47"index.js":function t(e,n,t){e("../../modules/es.regexp.exec"),e("../../modules/es.string.from-code-point"),e("../../modules/es.string.raw"),e("../../modules/es.string.code-point-at"),e("../../modules/es.string.ends-with"),e("../../modules/es.string.includes"),e("../../modules/es.string.match"),e("../../modules/es.string.match-all"),e("../../modules/es.string.pad-end"),e("../../modules/es.string.pad-start"),e("../../modules/es.string.repeat"),e("../../modules/es.string.replace"),e("../../modules/es.string.replace-all"),e("../../modules/es.string.search"),e("../../modules/es.string.split"),e("../../modules/es.string.starts-with"),e("../../modules/es.string.substr"),e("../../modules/es.string.trim"),e("../../modules/es.string.trim-start"),e("../../modules/es.string.trim-end"),e("../../modules/es.string.iterator"),e("../../modules/es.string.anchor"),e("../../modules/es.string.big"),e("../../modules/es.string.blink"),e("../../modules/es.string.bold"),e("../../modules/es.string.fixed"),e("../../modules/es.string.fontcolor"),e("../../modules/es.string.fontsize"),e("../../modules/es.string.italics"),e("../../modules/es.string.link"),e("../../modules/es.string.small"),e("../../modules/es.string.strike"),e("../../modules/es.string.sub"),e("../../modules/es.string.sup");var r=e("../../internals/path");t.exports=r.String}},"weak-map":{
47"index.js":function t(e,n,t){e("../../modules/es.object.to-string"),e("../../modules/es.weak-map"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.WeakMap}},"weak-set":{
47"index.js":function t(e,n,t){e("../../modules/es.object.to-string"),e("../../modules/es.weak-set"),e("../../modules/web.dom-collections.iterator");var r=e("../../internals/path");t.exports=r.WeakSet}}},modules:{
vendor: 983 bytes, line 47
47"es.array.concat.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-array"),s=e("../internals/is-object"),o=e("../internals/to-object"),a=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/array-species-create"),u=e("../internals/array-method-has-species-support"),f=e("../internals/well-known-symbol"),p=e("../internals/engine-v8-version"),d=f("isConcatSpreadable"),g=9007199254740991,h="Maximum allowed index exceeded",y=p>=51||!r((function(){var t=[];return t[d]=!1,t.concat()[0]!==t})),b=u("concat"),v=function(t){if(!s(t))return!1;var e=t[d];return void 0!==e?!!e:i(t)},m;n({target:"Array",proto:!0,forced:!y||!b},{concat:function t(e){var n=o(this),r=c(n,0),i=0,s,u,f,p,d;for(s=-1,f=arguments.length;s<f;s++)if(v(d=-1===s?n:arguments[s])){if(i+(p=a(d.length))>g)throw TypeError(h);for(u=0;u<p;u++,i++)u in d&&l(r,i,d[u])}else{if(i>=g)throw TypeError(h);l(r,i++,d)}return r.length=i,r}})},
47"es.object.to-string.js":function t(e){var n=e("../internals/to-string-tag-support"),r=e("../internals/redefine"),i=e("../internals/object-to-string");n||r(Object.prototype,"toString",i,{unsafe:!0})},
vendor: 4,707 bytes, line 47
47"es.symbol.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/global"),i=e("../internals/get-built-in"),s=e("../internals/is-pure"),o=e("../internals/descriptors"),a=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=e("../internals/fails"),u=e("../internals/has"),f=e("../internals/is-array"),p=e("../internals/is-object"),d=e("../internals/an-object"),g=e("../internals/to-object"),h=e("../internals/to-indexed-object"),y=e("../internals/to-primitive"),b=e("../internals/create-property-descriptor"),v=e("../internals/object-create"),m=e("../internals/object-keys"),j=e("../internals/object-get-own-property-names"),x=e("../internals/object-get-own-property-names-external"),w=e("../internals/object-get-own-property-symbols"),S=e("../internals/object-get-own-property-descriptor"),k=e("../internals/object-define-property"),E=e("../internals/object-property-is-enumerable"),O=e("../internals/create-non-enumerable-property"),A=e("../internals/redefine"),M=e("../internals/shared"),I=e("../internals/shared-key"),R=e("../internals/hidden-keys"),T=e("../internals/uid"),_=e("../internals/well-known-symbol"),P=e("../internals/well-known-symbol-wrapped"),N=e("../internals/define-well-known-symbol"),F=e("../internals/set-to-string-tag"),z=e("../internals/internal-state"),L=e("../internals/array-iteration").forEach,C=I("hidden"),D="Symbol",U="prototype",W=_("toPrimitive"),q=z.set,V=z.getterFor(D),B=Object.prototype,G=r.Symbol,$=i("JSON","stringify"),Y=S.f,K=k.f,H=x.f,X=E.f,J=M("symbols"),Q=M("op-symbols"),Z=M("string-to-symbol-registry"),tt=M("symbol-to-string-registry"),et=M("wks"),nt=r.QObject,rt=!nt||!nt.prototype||!nt.prototype.findChild,it=o&&c((function(){return 7!=v(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=Y(B,e);r&&delete B[e],K(t,e,n),r&&t!==B&&K(B,e,r)}:K,st=function(t,e){var n=J[t]=v(G.prototype);return q(n,{type:D,tag:t,description:e}),o||(n.description=e),n},ot=l?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof G},at=function t(e,n,r){e===B&&at(Q,n,r),d(e);var i=y(n,!0);return d(r),u(J,i)?(r.enumerable?(u(e,C)&&e[C][i]&&(e[C][i]=!1),r=v(r,{enumerable:b(0,!1)})):(u(e,C)||K(e,C,b(1,{})),e[C][i]=!0),it(e,i,r)):K(e,i,r)},lt=function t(e,n){d(e);var r=h(n),i=m(r).concat(dt(r));return L(i,(function(t){o&&!ut.call(r,t)||at(e,t,r[t])})),e},ct=function t(e,n){return void 0===n?v(e):lt(v(e),n)},ut=function t(e){var n=y(e,!0),r=X.call(this,n);return!(this===B&&u(J,n)&&!u(Q,n))&&(!(r||!u(this,n)||!u(J,n)||u(this,C)&&this[C][n])||r)},ft=function t(e,n){var r=h(e),i=y(n,!0);if(r!==B||!u(J,i)||u(Q,i)){var s=Y(r,i);return!s||!u(J,i)||u(r,C)&&r[C][i]||(s.enumerable=!0),s}},pt=function t(e){var n=H(h(e)),r=[];return L(n,(function(t){u(J,t)||u(R,t)||r.push(t)})),r},dt=function t(e){var n=e===B,r=H(n?Q:h(e)),i=[];return L(r,(function(t){!u(J,t)||n&&!u(B,t)||i.push(J[t])})),i},gt;(a||(G=function t(){if(this instanceof G)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,n=T(e),r=function(t){this===B&&r.call(Q,t),u(this,C)&&u(this[C],n)&&(this[C][n]=!1),it(this,n,b(1,t))};return o&&rt&&it(B,n,{configurable:!0,set:r}),st(n,e)},A(G.prototype,"toString",(function t(){return V(this).tag})),A(G,"withoutSetter",(function(t){return st(T(t),t)})),E.f=ut,k.f=at,S.f=ft,j.f=x.f=pt,w.f=dt,P.f=function(t){return st(_(t),t)},o&&(K(G.prototype,"description",{configurable:!0,get:function t(){return V(this).description}}),s||A(B,"propertyIsEnumerable",ut,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!a,sham:!a},{Symbol:G}),L(m(et),(function(t){N(t)})),n({target:D,stat:!0,forced:!a},{for:function(t){var e=String(t);if(u(Z,e))return Z[e];var n=G(e);return Z[e]=n,tt[n]=e,n},keyFor:function t(e){if(!ot(e))throw TypeError(e+" is not a symbol");if(u(tt,e))return tt[e]},useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),n({target:"Object",stat:!0,forced:!a,sham:!o},{create:ct,defineProperty:at,defineProperties:lt,getOwnPropertyDescriptor:ft}),n({target:"Object",stat:!0,forced:!a},{getOwnPropertyNames:pt,getOwnPropertySymbols:dt}),n({target:"Object",stat:!0,forced:c((function(){w.f(1)}))},{getOwnPropertySymbols:function t(e){return w.f(g(e))}}),$)&&n({target:"JSON",stat:!0,forced:!a||c((function(){var t=G();return"[null]"!=$([t])||"{}"!=$({a:t})||"{}"!=$(Object(t))}))},{stringify:function t(e,n,r){for(var i=[e],s=1,o;arguments.length>s;)i.push(arguments[s++]);if(o=n,(p(n)||void 0!==e)&&!ot(e))return f(n)||(n=function(t,e){if("function"==typeof o&&(e=o.call(this,t,e)),!ot(e))return e}),i[1]=n,$.apply(null,i)}});G.prototype[W]||O(G.prototype,W,G.prototype.valueOf),F(G,D),R[C]=!0},
47"es.symbol.async-iterator.js":function t(e){var n;e("../internals/define-well-known-symbol")("asyncIterator")},
vendor: 918 bytes, line 47
47"es.symbol.description.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/global"),s=e("../internals/has"),o=e("../internals/is-object"),a=e("../internals/object-define-property").f,l=e("../internals/copy-constructor-properties"),c=i.Symbol;if(r&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var u={},f=function t(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),n=this instanceof f?new c(e):void 0===e?c():c(e);return""===e&&(u[n]=!0),n};l(f,c);var p=f.prototype=c.prototype;p.constructor=f;var d=p.toString,g="Symbol(test)"==String(c("test")),h=/^Symbol\((.*)\)[^)]+$/;a(p,"description",{configurable:!0,get:function t(){var e=o(this)?this.valueOf():this,n=d.call(e);if(s(u,e))return"";var r=g?n.slice(7,-1):n.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:f})}},
47"es.symbol.has-instance.js":function t(e){var n;e("../internals/define-well-known-symbol")("hasInstance")},
47"es.symbol.is-concat-spreadable.js":function t(e){var n;e("../internals/define-well-known-symbol")("isConcatSpreadable")},
47"es.symbol.iterator.js":function t(e){var n;e("../internals/define-well-known-symbol")("iterator")},
47"es.symbol.match.js":function t(e){var n;e("../internals/define-well-known-symbol")("match")},
47"es.symbol.match-all.js":function t(e){var n;e("../internals/define-well-known-symbol")("matchAll")},
47"es.symbol.replace.js":function t(e){var n;e("../internals/define-well-known-symbol")("replace")},
47"es.symbol.search.js":function t(e){var n;e("../internals/define-well-known-symbol")("search")},
47"es.symbol.species.js":function t(e){var n;e("../internals/define-well-known-symbol")("species")},
47"es.symbol.split.js":function t(e){var n;e("../internals/define-well-known-symbol")("split")},
47"es.symbol.to-primitive.js":function t(e){var n;e("../internals/define-well-known-symbol")("toPrimitive")},
47"es.symbol.to-string-tag.js":function t(e){var n;e("../internals/define-well-known-symbol")("toStringTag")},
47"es.symbol.unscopables.js":function t(e){var n;e("../internals/define-well-known-symbol")("unscopables")},
47"es.json.to-string-tag.js":function t(e){var n=e("../internals/global"),r;e("../internals/set-to-string-tag")(n.JSON,"JSON",!0)},
47"es.math.to-string-tag.js":function t(e){var n;e("../internals/set-to-string-tag")(Math,"Math",!0)},
47"es.reflect.to-string-tag.js":function t(e){var n=e("../internals/export"),r=e("../internals/global"),i=e("../internals/set-to-string-tag");n({global:!0},{Reflect:{}}),i(r.Reflect,"Reflect",!0)},
47"es.map.js":function t(e,n,t){"use strict";var r=e("../internals/collection"),i=e("../internals/collection-strong");t.exports=r("Map",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},
47"es.string.iterator.js":function t(e){"use strict";var n=e("../internals/string-multibyte").charAt,r=e("../internals/internal-state"),i=e("../internals/define-iterator"),s="String Iterator",o=r.set,a=r.getterFor(s);i(String,"String",(function(t){o(this,{type:s,string:String(t),index:0})}),(function t(){var e=a(this),r=e.string,i=e.index,s;return i>=r.length?{value:void 0,done:!0}:(s=n(r,i),e.index+=s.length,{value:s,done:!1})}))},
vendor: 467 bytes, line 47
47"web.dom-collections.iterator.js":function t(e){var n=e("../internals/global"),r=e("../internals/dom-iterables"),i=e("../modules/es.array.iterator"),s=e("../internals/create-non-enumerable-property"),o=e("../internals/well-known-symbol"),a=o("iterator"),l=o("toStringTag"),c=i.values;for(var u in r){var f=n[u],p=f&&f.prototype;if(p){if(p[a]!==c)try{s(p,a,c)}catch(g){p[a]=c}if(p[l]||s(p,l,u),r[u])for(var d in i)if(p[d]!==i[d])try{s(p,d,i[d])}catch(g){p[d]=i[d]}}}},
vendor: 642 bytes, line 47
47"es.array.iterator.js":function t(e,n,t){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/add-to-unscopables"),s=e("../internals/iterators"),o=e("../internals/internal-state"),a=e("../internals/define-iterator"),l="Array Iterator",c=o.set,u=o.getterFor(l);t.exports=a(Array,"Array",(function(t,e){c(this,{type:l,target:r(t),index:0,kind:e})}),(function(){var t=u(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),s.Arguments=s.Array,i("keys"),i("values"),i("entries")},
47"es.set.js":function t(e,n,t){"use strict";var r=e("../internals/collection"),i=e("../internals/collection-strong");t.exports=r("Set",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),i)},
47"es.array.from.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-from"),i,s;n({target:"Array",stat:!0,forced:!e("../internals/check-correctness-of-iteration")((function(t){Array.from(t)}))},{from:r})},
47"es.array.is-array.js":function t(e){var n,r;e("../internals/export")({target:"Array",stat:!0},{isArray:e("../internals/is-array")})},
47"es.array.of.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/create-property"),s;n({target:"Array",stat:!0,forced:r((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function t(){for(var e=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>e;)i(r,e,arguments[e++]);return r.length=n,r}})},
47"es.array.copy-within.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-copy-within"),i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{copyWithin:r}),i("copyWithin")},
47"es.array.every.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").every,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-is-strict")("every")},{every:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.fill.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-fill"),i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{fill:r}),i("fill")},
47"es.array.filter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").filter,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("filter")},{filter:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.find.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").find,i=e("../internals/add-to-unscopables"),s="find",o=!0;s in[]&&Array(1).find((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{find:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},
47"es.array.find-index.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").findIndex,i=e("../internals/add-to-unscopables"),s="findIndex",o=!0;s in[]&&Array(1).findIndex((function(){o=!1})),n({target:"Array",proto:!0,forced:o},{findIndex:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i(s)},
47"es.array.flat.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/flatten-into-array"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/to-integer"),a=e("../internals/array-species-create");n({target:"Array",proto:!0},{flat:function t(){var e=arguments.length?arguments[0]:void 0,n=i(this),l=s(n.length),c=a(n,0);return c.length=r(c,n,n,l,0,void 0===e?1:o(e)),c}})},
47"es.array.flat-map.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/flatten-into-array"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/a-function"),a=e("../internals/array-species-create");n({target:"Array",proto:!0},{flatMap:function t(e){var n=i(this),l=s(n.length),c;return o(e),(c=a(n,0)).length=r(c,n,n,l,0,1,e,arguments.length>1?arguments[1]:void 0),c}})},
47"es.array.for-each.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-for-each");n({target:"Array",proto:!0,forced:[].forEach!=r},{forEach:r})},
47"es.array.includes.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-includes").includes,i=e("../internals/add-to-unscopables");n({target:"Array",proto:!0},{includes:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},
vendor: 377 bytes, line 47
47"es.array.index-of.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-includes").indexOf,i=e("../internals/array-method-is-strict"),s=[].indexOf,o=!!s&&1/[1].indexOf(1,-0)<0,a=i("indexOf");n({target:"Array",proto:!0,forced:o||!a},{indexOf:function t(e){return o?s.apply(this,arguments)||0:r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.join.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/indexed-object"),i=e("../internals/to-indexed-object"),s=e("../internals/array-method-is-strict"),o=[].join,a=r!=Object,l=s("join",",");n({target:"Array",proto:!0,forced:a||!l},{join:function t(e){return o.call(i(this),void 0===e?",":e)}})},
47"es.array.last-index-of.js":function t(e){var n=e("../internals/export"),r=e("../internals/array-last-index-of");n({target:"Array",proto:!0,forced:r!==[].lastIndexOf},{lastIndexOf:r})},
47"es.array.map.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").map,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-has-species-support")("map")},{map:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.reduce.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-reduce").left,i=e("../internals/array-method-is-strict"),s=e("../internals/engine-v8-version"),o=e("../internals/engine-is-node"),a,l;n({target:"Array",proto:!0,forced:!i("reduce")||!o&&s>79&&s<83},{reduce:function t(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.reduce-right.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-reduce").right,i=e("../internals/array-method-is-strict"),s=e("../internals/engine-v8-version"),o=e("../internals/engine-is-node"),a,l;n({target:"Array",proto:!0,forced:!i("reduceRight")||!o&&s>79&&s<83},{reduceRight:function t(e){return r(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.reverse.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/is-array"),i=[].reverse,s=[1,2];n({target:"Array",proto:!0,forced:String(s)===String(s.reverse())},{reverse:function t(){return r(this)&&(this.length=this.length),i.call(this)}})},
vendor: 805 bytes, line 47
47"es.array.slice.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/is-array"),s=e("../internals/to-absolute-index"),o=e("../internals/to-length"),a=e("../internals/to-indexed-object"),l=e("../internals/create-property"),c=e("../internals/well-known-symbol"),u,f=e("../internals/array-method-has-species-support")("slice"),p=c("species"),d=[].slice,g=Math.max;n({target:"Array",proto:!0,forced:!f},{slice:function t(e,n){var c=a(this),u=o(c.length),f=s(e,u),h=s(void 0===n?u:n,u),y,b,v;if(i(c)&&("function"!=typeof(y=c.constructor)||y!==Array&&!i(y.prototype)?r(y)&&null===(y=y[p])&&(y=void 0):y=void 0,y===Array||void 0===y))return d.call(c,f,h);for(b=new(void 0===y?Array:y)(g(h-f,0)),v=0;f<h;f++,v++)f in c&&l(b,v,c[f]);return b.length=v,b}})},
47"es.array.some.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/array-iteration").some,i,s;n({target:"Array",proto:!0,forced:!e("../internals/array-method-is-strict")("some")},{some:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.array.sort.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/a-function"),i=e("../internals/to-object"),s=e("../internals/to-length"),o=e("../internals/fails"),a=e("../internals/array-sort"),l=e("../internals/array-method-is-strict"),c=e("../internals/engine-ff-version"),u=e("../internals/engine-is-ie-or-edge"),f=e("../internals/engine-v8-version"),p=e("../internals/engine-webkit-version"),d=[],g=d.sort,h=o((function(){d.sort(void 0)})),y=o((function(){d.sort(null)})),b=l("sort"),v=!o((function(){if(f)return f<70;if(!(c&&c>3)){if(u)return!0;if(p)return p<603;var t="",e,n,r,i;for(e=65;e<76;e++){switch(n=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(i=0;i<47;i++)d.push({k:n+i,v:r})}for(d.sort((function(t,e){return e.v-t.v})),i=0;i<d.length;i++)n=d[i].k.charAt(0),t.charAt(t.length-1)!==n&&(t+=n);return"DGBEFHACIJK"!==t}})),m,j=function(t){return function(e,n){return void 0===n?-1:void 0===e?1:void 0!==t?+t(e,n)||0:String(e)>String(n)?1:-1}};n({target:"Array",proto:!0,forced:h||!y||!b||!v},{sort:function t(e){void 0!==e&&r(e);var n=i(this);if(v)return void 0===e?g.call(n):g.call(n,e);var o=[],l=s(n.length),c,u;for(u=0;
47u<l;u++)u in n&&o.push(n[u]);for(c=(o=a(o,j(e))).length,u=0;u<c;)n[u]=o[u++];for(;u<l;)delete n[u++];return n}})},
47"es.array.species.js":function t(e){var n;e("../internals/set-species")("Array")},
vendor: 945 bytes, line 47
47"es.array.splice.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/to-absolute-index"),i=e("../internals/to-integer"),s=e("../internals/to-length"),o=e("../internals/to-object"),a=e("../internals/array-species-create"),l=e("../internals/create-property"),c,u=e("../internals/array-method-has-species-support")("splice"),f=Math.max,p=Math.min,d=9007199254740991,g="Maximum allowed length exceeded";n({target:"Array",proto:!0,forced:!u},{splice:function t(e,n){var c=o(this),u=s(c.length),h=r(e,u),y=arguments.length,b,v,m,j,x,w;if(0===y?b=v=0:1===y?(b=0,v=u-h):(b=y-2,v=p(f(i(n),0),u-h)),u+b-v>d)throw TypeError(g);for(m=a(c,v),j=0;j<v;j++)(x=h+j)in c&&l(m,j,c[x]);if(m.length=v,b<v){for(j=h;j<u-v;j++)w=j+b,(x=j+v)in c?c[w]=c[x]:delete c[w];for(j=u;j>u-v+b;j--)delete c[j-1]}else if(b>v)for(j=u-v;j>h;j--)w=j+b-1,(x=j+v-1)in c?c[w]=c[x]:delete c[w];for(j=0;j<b;j++)c[j+h]=arguments[j+2];return c.length=u-v+b,m}})},
47"es.array.unscopables.flat.js":function t(e,n,t){var r;e("../internals/add-to-unscopables")("flat")},
47"es.array.unscopables.flat-map.js":function t(e,n,t){var r;e("../internals/add-to-unscopables")("flatMap")},
47"es.function.bind.js":function t(e){var n,r;e("../internals/export")({target:"Function",proto:!0},{bind:e("../internals/function-bind")})},
47"es.function.name.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/object-define-property").f,i=Function.prototype,s=i.toString,o=/^\s*function ([^ (]*)/,a="name";n&&!(a in i)&&r(i,a,{configurable:!0,get:function(){try{return s.call(this).match(o)[1]}catch(t){return""}}})},
vendor: 436 bytes, line 47
47"es.function.has-instance.js":function t(e){"use strict";var n=e("../internals/is-object"),r=e("../internals/object-define-property"),i=e("../internals/object-get-prototype-of"),s,o=e("../internals/well-known-symbol")("hasInstance"),a=Function.prototype;o in a||r.f(a,o,{value:function(t){if("function"!=typeof this||!n(t))return!1;if(!n(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},
47"es.math.acosh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-log1p"),i=Math.acosh,s=Math.log,o=Math.sqrt,a=Math.LN2,l;n({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function t(e){return(e=+e)<1?NaN:e>94906265.62425156?s(e)+a:r(e-1+o(e-1)*o(e+1))}})},
47"es.math.asinh.js":function t(e){var n=e("../internals/export"),r=Math.asinh,i=Math.log,s=Math.sqrt;function o(t){return isFinite(t=+t)&&0!=t?t<0?-o(-t):i(t+s(t*t+1)):t}n({target:"Math",stat:!0,forced:!(r&&1/r(0)>0)},{asinh:o})},
47"es.math.atanh.js":function t(e){var n=e("../internals/export"),r=Math.atanh,i=Math.log;n({target:"Math",stat:!0,forced:!(r&&1/r(-0)<0)},{atanh:function t(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},
47"es.math.cbrt.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-sign"),i=Math.abs,s=Math.pow;n({target:"Math",stat:!0},{cbrt:function t(e){return r(e=+e)*s(i(e),1/3)}})},
47"es.math.clz32.js":function t(e){var n=e("../internals/export"),r=Math.floor,i=Math.log,s=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function t(e){return(e>>>=0)?31-r(i(e+.5)*s):32}})},
47"es.math.cosh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1"),i=Math.cosh,s=Math.abs,o=Math.E;n({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function t(e){var n=r(s(e)-1)+1;return(n+1/(n*o*o))*(o/2)}})},
47"es.math.expm1.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1");n({target:"Math",stat:!0,forced:r!=Math.expm1},{expm1:r})},
47"es.math.fround.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{fround:e("../internals/math-fround")})},
47"es.math.hypot.js":function t(e){var n=e("../internals/export"),r=Math.hypot,i=Math.abs,s=Math.sqrt,o;n({target:"Math",stat:!0,forced:!!r&&r(1/0,NaN)!==1/0},{hypot:function t(e,n){for(var r=0,o=0,a=arguments.length,l=0,c,u;o<a;)l<(c=i(arguments[o++]))?(r=r*(u=l/c)*u+1,l=c):r+=c>0?(u=c/l)*u:c;return l===1/0?1/0:l*s(r)}})},
47"es.math.imul.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=Math.imul,s;n({target:"Math",stat:!0,forced:r((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function t(e,n){var r=65535,i=+e,s=+n,o=r&i,a=r&s;return 0|o*a+((r&i>>>16)*a+o*(r&s>>>16)<<16>>>0)}})},
47"es.math.log10.js":function t(e){var n=e("../internals/export"),r=Math.log,i=Math.LOG10E;n({target:"Math",stat:!0},{log10:function t(e){return r(e)*i}})},
47"es.math.log1p.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{log1p:e("../internals/math-log1p")})},
47"es.math.log2.js":function t(e){var n=e("../internals/export"),r=Math.log,i=Math.LN2;n({target:"Math",stat:!0},{log2:function t(e){return r(e)/i}})},
47"es.math.sign.js":function t(e){var n,r;e("../internals/export")({target:"Math",stat:!0},{sign:e("../internals/math-sign")})},
47"es.math.sinh.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/math-expm1"),s=Math.abs,o=Math.exp,a=Math.E,l;n({target:"Math",stat:!0,forced:r((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function t(e){return s(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(a/2)}})},
47"es.math.tanh.js":function t(e){var n=e("../internals/export"),r=e("../internals/math-expm1"),i=Math.exp;n({target:"Math",stat:!0},{tanh:function t(e){var n=r(e=+e),s=r(-e);return n==1/0?1:s==1/0?-1:(n-s)/(i(e)+i(-e))}})},
47"es.math.trunc.js":function t(e){var n=e("../internals/export"),r=Math.ceil,i=Math.floor;n({target:"Math",stat:!0},{trunc:function t(e){return(e>0?i:r)(e)}})},
47"es.object.assign.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-assign");n({target:"Object",stat:!0,forced:Object.assign!==r},{assign:r})},
47"es.object.create.js":function t(e){var n,r,i;e("../internals/export")({target:"Object",stat:!0,sham:!e("../internals/descriptors")},{create:e("../internals/object-create")})},
47"es.object.define-property.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i;n({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperty:e("../internals/object-define-property").f})},
47"es.object.define-properties.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i;n({target:"Object",stat:!0,forced:!r,sham:!r},{defineProperties:e("../internals/object-define-properties")})},
47"es.object.entries.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-to-array").entries;n({target:"Object",stat:!0},{entries:function t(e){return r(e)}})},
47"es.object.freeze.js":function t(e){var n=e("../internals/export"),r=e("../internals/freezing"),i=e("../internals/fails"),s=e("../internals/is-object"),o=e("../internals/internal-metadata").onFreeze,a=Object.freeze,l;n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!r},{freeze:function t(e){return a&&s(e)?a(o(e)):e}})},
47"es.object.from-entries.js":function t(e){var n=e("../internals/export"),r=e("../internals/iterate"),i=e("../internals/create-property");n({target:"Object",stat:!0},{fromEntries:function t(e){var n={};return r(e,(function(t,e){i(n,t,e)}),{AS_ENTRIES:!0}),n}})},
47"es.object.get-own-property-descriptor.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/to-indexed-object"),s=e("../internals/object-get-own-property-descriptor").f,o=e("../internals/descriptors"),a=r((function(){s(1)})),l;n({target:"Object",stat:!0,forced:!o||a,sham:!o},{getOwnPropertyDescriptor:function t(e,n){return s(i(e),n)}})},
47"es.object.get-own-property-descriptors.js":function t(e){var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/own-keys"),s=e("../internals/to-indexed-object"),o=e("../internals/object-get-own-property-descriptor"),a=e("../internals/create-property");n({target:"Object",stat:!0,sham:!r},{getOwnPropertyDescriptors:function t(e){for(var n=s(e),r=o.f,l=i(n),c={},u=0,f,p;l.length>u;)void 0!==(p=r(n,f=l[u++]))&&a(c,f,p);return c}})},
47"es.object.get-own-property-names.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/object-get-own-property-names-external").f,s;n({target:"Object",stat:!0,forced:r((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},
47"es.object.get-prototype-of.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/to-object"),s=e("../internals/object-get-prototype-of"),o=e("../internals/correct-prototype-getter"),a;n({target:"Object",stat:!0,forced:r((function(){s(1)})),sham:!o},{getPrototypeOf:function t(e){return s(i(e))}})},
47"es.object.is.js":function t(e){var n,r;e("../internals/export")({target:"Object",stat:!0},{is:e("../internals/same-value")})},
47"es.object.is-extensible.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isExtensible,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isExtensible:function t(e){return!!i(e)&&(!s||s(e))}})},
47"es.object.is-frozen.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isFrozen,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isFrozen:function t(e){return!i(e)||!!s&&s(e)}})},
47"es.object.is-sealed.js":function t(e){var n=e("../internals/export"),r=e("../internals/fails"),i=e("../internals/is-object"),s=Object.isSealed,o;n({target:"Object",stat:!0,forced:r((function(){s(1)}))},{isSealed:function t(e){return!i(e)||!!s&&s(e)}})},
47"es.object.keys.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-object"),i=e("../internals/object-keys"),s,o;n({target:"Object",stat:!0,forced:e("../internals/fails")((function(){i(1)}))},{keys:function t(e){return i(r(e))}})},
47"es.object.prevent-extensions.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/internal-metadata").onFreeze,s=e("../internals/freezing"),o=e("../internals/fails"),a=Object.preventExtensions,l;n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{preventExtensions:function t(e){return a&&r(e)?a(i(e)):e}})},
47"es.object.seal.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-object"),i=e("../internals/internal-metadata").onFreeze,s=e("../internals/freezing"),o=e("../internals/fails"),a=Object.seal,l;n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{seal:function t(e){return a&&r(e)?a(i(e)):e}})},
47"es.object.set-prototype-of.js":function t(e){var n,r;e("../internals/export")({target:"Object",stat:!0},{setPrototypeOf:e("../internals/object-set-prototype-of")})},
47"es.object.values.js":function t(e){var n=e("../internals/export"),r=e("../internals/object-to-array").values;n({target:"Object",stat:!0},{values:function t(e){return r(e)}})},
47"es.object.define-getter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/a-function"),a=e("../internals/object-define-property");r&&n({target:"Object",proto:!0,forced:i},{__defineGetter__:function t(e,n){a.f(s(this),e,{get:o(n),enumerable:!0,configurable:!0})}})},
47"es.object.define-setter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/a-function"),a=e("../internals/object-define-property");r&&n({target:"Object",proto:!0,forced:i},{__defineSetter__:function t(e,n){a.f(s(this),e,{set:o(n),enumerable:!0,configurable:!0})}})},
47"es.object.lookup-getter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/to-primitive"),a=e("../internals/object-get-prototype-of"),l=e("../internals/object-get-own-property-descriptor").f;r&&n({target:"Object",proto:!0,forced:i},{__lookupGetter__:function t(e){var n=s(this),r=o(e,!0),i;do{if(i=l(n,r))return i.get}while(n=a(n))}})},
47"es.object.lookup-setter.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/descriptors"),i=e("../internals/object-prototype-accessors-forced"),s=e("../internals/to-object"),o=e("../internals/to-primitive"),a=e("../internals/object-get-prototype-of"),l=e("../internals/object-get-own-property-descriptor").f;r&&n({target:"Object",proto:!0,forced:i},{__lookupSetter__:function t(e){var n=s(this),r=o(e,!0),i;do{if(i=l(n,r))return i.set}while(n=a(n))}})},
47"es.regexp.constructor.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/global"),i=e("../internals/is-forced"),s=e("../internals/inherit-if-required"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/object-define-property").f,l=e("../internals/object-get-own-property-names").f,c=e("../internals/is-regexp"),u=e("../internals/regexp-flags"),f=e("../internals/regexp-sticky-helpers"),p=e("../internals/redefine"),d=e("../internals/fails"),g=e("../internals/has"),h=e("../internals/internal-state").enforce,y=e("../internals/set-species"),b=e("../internals/well-known-symbol"),v=e("../internals/regexp-unsupported-dot-all"),m=e("../internals/regexp-unsupported-ncg"),j=b("match"),x=r.RegExp,w=x.prototype,S=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,E=/a/g,O=new x(k)!==k,A=f.UNSUPPORTED_Y,M=n&&(!O||A||v||m||d((function(){return E[j]=!1,x(k)!=k||x(E)==E||"/a/i"!=x(k,"i")}))),I=function(t){for(var e=t.length,n=0,r="",i=!1,s;n<=e;n++)"\\"!==(s=t.charAt(n))?i||"."!==s?("["===s?i=!0:"]"===s&&(i=!1),r+=s):r+="[\\s\\S]":r+=s+t.charAt(++n);return r},R=function(t){for(var e=t.length,n=0,r="",i=[],s={},o=!1,a=!1,l=0,c="",u;n<=e;n++){if("\\"===(u=t.charAt(n)))u+=t.charAt(++n);else if("]"===u)o=!1;else if(!o)switch(!0){case"["===u:o=!0;break;case"("===u:S.test(t.slice(n+1))&&(n+=2,a=!0),r+=u,l++;continue;case">"===u&&a:if(""===c||g(s,c))throw new SyntaxError("Invalid capture group name");s[c]=!0,i.push([c,l]),a=!1,c="";continue}a?c+=u:r+=u}return[r,i]};if(i("RegExp",M)){for(var T=function t(e,n){var r=this instanceof T,i=c(e),a=void 0===n,l=[],f=e,p,d,g,y,b,j;if(!r&&i&&a&&e.constructor===T)return e;if((i||e instanceof T)&&(e=e.source,a&&(n="flags"in f?f.flags:u.call(f))),e=void 0===e?"":String(e),n=void 0===n?"":String(n),f=e,v&&"dotAll"in k&&(d=!!n&&n.indexOf("s")>-1)&&(n=n.replace(/s/g,"")),p=n,A&&"sticky"in k&&(g=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,"")),m&&(e=(y=R(e))[0],l=y[1]),b=s(x(e,n),r?this:w,T),(d||g||l.length)&&(j=h(b),d&&(j.dotAll=!0,j.raw=T(I(e),p)),g&&(j.sticky=!0),l.length&&(j.groups=l)),e!==f)try{o(b,"source",""===f?"(?:)":f)}catch(S){}return b},_=function(t){t in T||a(T,t,{configurable:!0,get:function(){return x[t]},set:function(e){x[t]=e}})},P=l(x),N=0;P.length>N;)_(P[N++]);w.constructor=T,T.prototype=w,p(r,"RegExp",T)}y("RegExp")},
47"es.regexp.to-string.js":function t(e){"use strict";var n=e("../internals/redefine"),r=e("../internals/an-object"),i=e("../internals/fails"),s=e("../internals/regexp-flags"),o="toString",a=RegExp.prototype,l=a.toString,c=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u=l.name!=o;(c||u)&&n(RegExp.prototype,o,(function t(){var e=r(this),n=String(e.source),i=e.flags,o;return"/"+n+"/"+String(void 0===i&&e instanceof RegExp&&!("flags"in a)?s.call(e):i)}),{unsafe:!0})},
47"es.regexp.dot-all.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/regexp-unsupported-dot-all"),i=e("../internals/object-define-property").f,s=e("../internals/internal-state").get,o=RegExp.prototype;n&&r&&i(o,"dotAll",{configurable:!0,get:function(){if(this!==o){if(this instanceof RegExp)return!!s(this).dotAll;throw TypeError("Incompatible receiver, RegExp required")}}})},
47"es.regexp.exec.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/regexp-exec");n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},
47"es.regexp.flags.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/object-define-property"),i=e("../internals/regexp-flags"),s=e("../internals/fails"),o;n&&s((function(){return"sy"!==Object.getOwnPropertyDescriptor(RegExp.prototype,"flags").get.call({dotAll:!0,sticky:!0})}))&&r.f(RegExp.prototype,"flags",{configurable:!0,get:i})},
47"es.regexp.sticky.js":function t(e){var n=e("../internals/descriptors"),r=e("../internals/regexp-sticky-helpers").UNSUPPORTED_Y,i=e("../internals/object-define-property").f,s=e("../internals/internal-state").get,o=RegExp.prototype;n&&r&&i(o,"sticky",{configurable:!0,get:function(){if(this!==o){if(this instanceof RegExp)return!!s(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},
47"es.regexp.test.js":function t(e){"use strict";e("../modules/es.regexp.exec");var n=e("../internals/export"),r=e("../internals/is-object"),i=(s=!1,(o=/[ac]/).exec=function(){return s=!0,/./.exec.apply(this,arguments)},!0===o.test("abc")&&s),s,o,a=/./.test;n({target:"RegExp",proto:!0,forced:!i},{test:function(t){if("function"!=typeof this.exec)return a.call(this,t);var e=this.exec(t);if(null!==e&&!r(e))throw new Error("RegExp exec method returned something other than an Object or null");return!!e}})},
47"es.string.match.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/an-object"),i=e("../internals/to-length"),s=e("../internals/require-object-coercible"),o=e("../internals/advance-string-index"),a=e("../internals/regexp-exec-abstract");n("match",(function(t,e,n){return[function e(n){var r=s(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,r):new RegExp(n)[t](String(r))},function(t){var s=n(e,this,t);if(s.done)return s.value;var l=r(this),c=String(t);if(!l.global)return a(l,c);var u=l.unicode;l.lastIndex=0;for(var f=[],p=0,d;null!==(d=a(l,c));){var g=String(d[0]);f[p]=g,""===g&&(l.lastIndex=o(c,i(l.lastIndex),u)),p++}return 0===p?null:f}]}))},
47"es.string.replace.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/fails"),i=e("../internals/an-object"),s=e("../internals/to-length"),o=e("../internals/to-integer"),a=e("../internals/require-object-coercible"),l=e("../internals/advance-string-index"),c=e("../internals/get-substitution"),u=e("../internals/regexp-exec-abstract"),f,p=e("../internals/well-known-symbol")("replace"),d=Math.max,g=Math.min,h=function(t){return void 0===t?t:String(t)},y="$0"==="a".replace(/./,"$0"),b=!!/./[p]&&""===/./[p]("a","$0"),v;n("replace",(function(t,e,n){var r=b?"$":"$0";return[function t(n,r){var i=a(this),s=null==n?void 0:n[p];return void 0!==s?s.call(n,i,r):e.call(String(i),n,r)},function(t,a){if("string"==typeof a&&-1===a.indexOf(r)&&-1===a.indexOf("$<")){var f=n(e,this,t,a);if(f.done)return f.value}var p=i(this),y=String(t),b="function"==typeof a;b||(a=String(a));var v=p.global;if(v){var m=p.unicode;p.lastIndex=0}for(var j=[];;){var x=u(p,y),w;if(null===x)break;if(j.push(x),!v)break;""===String(x[0])&&(p.lastIndex=l(y,s(p.lastIndex),m))}for(var S="",k=0,E=0;E<j.length;E++){x=j[E];for(var O=String(x[0]),A=d(g(o(x.index),y.length),0),M=[],I=1;I<x.length;I++)M.push(h(x[I]));var R=x.groups;if(b){var T=[O].concat(M,A,y);void 0!==R&&T.push(R);var _=String(a.apply(void 0,T))}else _=c(O,y,A,M,R,a);A>=k&&(S+=y.slice(k,A)+_,k=A+O.length)}return S+y.slice(k)}]}),!!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!y||b)},
47"es.string.search.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/an-object"),i=e("../internals/require-object-coercible"),s=e("../internals/same-value"),o=e("../internals/regexp-exec-abstract");n("search",(function(t,e,n){return[function e(n){var r=i(this),s=null==n?void 0:n[t];return void 0!==s?s.call(n,r):new RegExp(n)[t](String(r))},function(t){var i=n(e,this,t);if(i.done)return i.value;var a=r(this),l=String(t),c=a.lastIndex;s(c,0)||(a.lastIndex=0);var u=o(a,l);return s(a.lastIndex,c)||(a.lastIndex=c),null===u?-1:u.index}]}))},
vendor: 2,094 bytes, line 47
47"es.string.split.js":function t(e){"use strict";var n=e("../internals/fix-regexp-well-known-symbol-logic"),r=e("../internals/is-regexp"),i=e("../internals/an-object"),s=e("../internals/require-object-coercible"),o=e("../internals/species-constructor"),a=e("../internals/advance-string-index"),l=e("../internals/to-length"),c=e("../internals/regexp-exec-abstract"),u=e("../internals/regexp-exec"),f=e("../internals/regexp-sticky-helpers"),p=e("../internals/fails"),d=f.UNSUPPORTED_Y,g=[].push,h=Math.min,y=4294967295,b=!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));n("split",(function(t,e,n){var f;return f="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var i=String(s(this)),o=void 0===n?y:n>>>0;if(0===o)return[];if(void 0===t)return[i];if(!r(t))return e.call(i,t,o);for(var a=[],l=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,f=new RegExp(t.source,l+"g"),p,d,h;(p=u.call(f,i))&&!((d=f.lastIndex)>c&&(a.push(i.slice(c,p.index)),p.length>1&&p.index<i.length&&g.apply(a,p.slice(1)),h=p[0].length,c=d,a.length>=o));)f.lastIndex===p.index&&f.lastIndex++;return c===i.length?!h&&f.test("")||a.push(""):a.push(i.slice(c)),a.length>o?a.slice(0,o):a}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function e(n,r){var i=s(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):f.call(String(i),n,r)},function(t,r){var s=n(f,this,t,r,f!==e);if(s.done)return s.value;var u=i(this),p=String(t),g=o(u,RegExp),b=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(d?"g":"y"),m=new g(d?"^(?:"+u.source+")":u,v),j=void 0===r?y:r>>>0;if(0===j)return[];if(0===p.length)return null===c(m,p)?[p]:[];for(var x=0,w=0,S=[];w<p.length;){m.lastIndex=d?0:w;var k=c(m,d?p.slice(w):p),E;if(null===k||(E=h(l(m.lastIndex+(d?w:0)),p.length))===x)w=a(p,w,b);
47else{if(S.push(p.slice(x,w)),S.length===j)return S;for(var O=1;O<=k.length-1;O++)if(S.push(k[O]),S.length===j)return S;w=x=E}}return S.push(p.slice(x)),S}]}),!b,d)},
47"es.string.from-code-point.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-absolute-index"),i=String.fromCharCode,s=String.fromCodePoint,o;n({target:"String",stat:!0,forced:!!s&&1!=s.length},{fromCodePoint:function t(e){for(var n=[],s=arguments.length,o=0,a;s>o;){if(a=+arguments[o++],r(a,1114111)!==a)throw RangeError(a+" is not a valid code point");n.push(a<65536?i(a):i(55296+((a-=65536)>>10),a%1024+56320))}return n.join("")}})},
47"es.string.raw.js":function t(e){var n=e("../internals/export"),r=e("../internals/to-indexed-object"),i=e("../internals/to-length");n({target:"String",stat:!0},{raw:function t(e){for(var n=r(e.raw),s=i(n.length),o=arguments.length,a=[],l=0;s>l;)a.push(String(n[l++])),l<o&&a.push(String(arguments[l]));return a.join("")}})},
47"es.string.code-point-at.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-multibyte").codeAt;n({target:"String",proto:!0},{codePointAt:function t(e){return r(this,e)}})},
vendor: 665 bytes, line 47
47"es.string.ends-with.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/object-get-own-property-descriptor").f,i=e("../internals/to-length"),s=e("../internals/not-a-regexp"),o=e("../internals/require-object-coercible"),a=e("../internals/correct-is-regexp-logic"),l=e("../internals/is-pure"),c="".endsWith,u=Math.min,f=a("endsWith"),p,d;n({target:"String",proto:!0,forced:!!(l||f||(d=r(String.prototype,"endsWith"),!d||d.writable))&&!f},{endsWith:function t(e){var n=String(o(this));s(e);var r=arguments.length>1?arguments[1]:void 0,a=i(n.length),l=void 0===r?a:u(i(r),a),f=String(e);return c?c.call(n,f,l):n.slice(l-f.length,l)===f}})},
47"es.string.includes.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/not-a-regexp"),i=e("../internals/require-object-coercible"),s;n({target:"String",proto:!0,forced:!e("../internals/correct-is-regexp-logic")("includes")},{includes:function t(e){return!!~String(i(this)).indexOf(r(e),arguments.length>1?arguments[1]:void 0)}})},
47"es.string.match-all.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-iterator-constructor"),i=e("../internals/require-object-coercible"),s=e("../internals/to-length"),o=e("../internals/a-function"),a=e("../internals/an-object"),l=e("../internals/classof-raw"),c=e("../internals/is-regexp"),u=e("../internals/regexp-flags"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/fails"),d=e("../internals/well-known-symbol"),g=e("../internals/species-constructor"),h=e("../internals/advance-string-index"),y=e("../internals/internal-state"),b=e("../internals/is-pure"),v=d("matchAll"),m="RegExp String",j="RegExp String Iterator",x=y.set,w=y.getterFor(j),S=RegExp.prototype,k=S.exec,E="".matchAll,O=!!E&&!p((function(){"a".matchAll(/./)})),A=function(t,e){var n=t.exec,r;if("function"==typeof n){if("object"!=typeof(r=n.call(t,e)))throw TypeError("Incorrect exec result");return r}return k.call(t,e)},M=r((function t(e,n,r,i){x(this,{type:j,regexp:e,string:n,global:r,unicode:i,done:!1})}),m,(function t(){var e=w(this);if(e.done)return{value:void 0,done:!0};var n=e.regexp,r=e.string,i=A(n,r);return null===i?{value:void 0,done:e.done=!0}:e.global?(""==String(i[0])&&(n.lastIndex=h(r,s(n.lastIndex),e.unicode)),{value:i,done:!1}):(e.done=!0,{value:i,done:!1})})),I=function(t){var e=a(this),n=String(t),r,i,o,l,c,f;return r=g(e,RegExp),void 0===(i=e.flags)&&e instanceof RegExp&&!("flags"in S)&&(i=u.call(e)),o=void 0===i?"":String(i),l=new r(r===RegExp?e.source:e,o),c=!!~o.indexOf("g"),f=!!~o.indexOf("u"),l.lastIndex=s(e.lastIndex),new M(l,n,c,f)};n({target:"String",proto:!0,forced:O},{matchAll:function t(e){var n=i(this),r,s,a,f;if(null!=e){if(c(e)&&!~(r=String(i("flags"in S?e.flags:u.call(e)))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(O)return E.apply(n,arguments);if(void 0===(a=e[v])&&b&&"RegExp"==l(e)&&(a=I),null!=a)return o(a).call(e,n)}else if(O)return E.apply(n,arguments);return s=String(n),f=new RegExp(e,"g"),b?I.call(f,s):f[v](s)}}),b||v in S||f(S,v,I)},
47"es.string.pad-end.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-pad").end,i;n({target:"String",proto:!0,forced:e("../internals/string-pad-webkit-bug")},{padEnd:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.string.pad-start.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-pad").start,i;n({target:"String",proto:!0,forced:e("../internals/string-pad-webkit-bug")},{padStart:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},
47"es.string.repeat.js":function t(e){var n,r;e("../internals/export")({target:"String",proto:!0},{repeat:e("../internals/string-repeat")})},
vendor: 1,617 bytes, line 47
47"es.string.replace-all.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/require-object-coercible"),i=e("../internals/is-regexp"),s=e("../internals/regexp-flags"),o=e("../internals/get-substitution"),a=e("../internals/well-known-symbol"),l=e("../internals/is-pure"),c=a("replace"),u=RegExp.prototype,f=Math.max,p=function(t,e,n){return n>t.length?-1:""===e?n:t.indexOf(e,n)};n({target:"String",proto:!0},{replaceAll:function t(e,n){var a=r(this),d,g,h,y,b,v,m,j,x,w=0,S=0,k="";if(null!=e){if((d=i(e))&&!~(g=String(r("flags"in u?e.flags:s.call(e)))).indexOf("g"))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(h=e[c]))return h.call(e,a,n);if(l&&d)return String(a).replace(e,n)}for(y=String(a),b=String(e),(v="function"==typeof n)||(n=String(n)),m=b.length,j=f(1,m),w=p(y,b,0);-1!==w;)x=v?String(n(b,w,y)):o(b,y,w,[],void 0,n),k+=y.slice(S,w)+x,S=w+m,w=p(y,b,w+j);return S<y.length&&(k+=y.slice(S)),k}})},"es.string.starts-with.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/object-get-own-property-descriptor").f,i=e("../internals/to-length"),s=e("../internals/not-a-regexp"),o=e("../internals/require-object-coercible"),a=e("../internals/correct-is-regexp-logic"),l=e("../internals/is-pure"),c="".startsWith,u=Math.min,f=a("startsWith"),p,d;n({target:"String",proto:!0,forced:!!(l||f||(d=r(String.prototype,"startsWith"),!d||d.writable))&&!f},{startsWith:function t(e){var n=String(o(this));s(e);var r=i(u(arguments.length>1?arguments[1]:void 0,n.length)),a=String(e);return c?c.call(n,a,r):n.slice(r,r+a.length)===a}})},
47"es.string.substr.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/require-object-coercible"),i=e("../internals/to-integer"),s="".slice,o=Math.max,a=Math.min;n({target:"String",proto:!0},{substr:function t(e,n){var l=String(r(this)),c=l.length,u=i(e),f,p;return u===1/0&&(u=0),u<0&&(u=o(c+u,0)),(f=void 0===n?c:i(n))<=0||f===1/0||u>=(p=a(u+f,c))?"":s.call(l,u,p)}})},
47"es.string.trim.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").trim,i;n({target:"String",proto:!0,forced:e("../internals/string-trim-forced")("trim")},{trim:function t(){return r(this)}})},
47"es.string.trim-start.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").start,i,s=e("../internals/string-trim-forced")("trimStart"),o=s?function t(){return r(this)}:"".trimStart;n({target:"String",proto:!0,forced:s},{trimStart:o,trimLeft:o})},
47"es.string.trim-end.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/string-trim").end,i,s=e("../internals/string-trim-forced")("trimEnd"),o=s?function t(){return r(this)}:"".trimEnd;n({target:"String",proto:!0,forced:s},{trimEnd:o,trimRight:o})},
47"es.string.anchor.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("anchor")},{anchor:function t(e){return r(this,"a","name",e)}})},
47"es.string.big.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("big")},{big:function t(){return r(this,"big","","")}})},
47"es.string.blink.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("blink")},{blink:function t(){return r(this,"blink","","")}})},
47"es.string.bold.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("bold")},{bold:function t(){return r(this,"b","","")}})},
47"es.string.fixed.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fixed")},{fixed:function t(){return r(this,"tt","","")}})},
47"es.string.fontcolor.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fontcolor")},{fontcolor:function t(e){return r(this,"font","color",e)}})},
47"es.string.fontsize.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("fontsize")},{fontsize:function t(e){return r(this,"font","size",e)}})},
47"es.string.italics.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("italics")},{italics:function t(){return r(this,"i","","")}})},
47"es.string.link.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("link")},{link:function t(e){return r(this,"a","href",e)}})},
47"es.string.small.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("small")},{small:function t(){return r(this,"small","","")}})},
47"es.string.strike.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("strike")},{strike:function t(){return r(this,"strike","","")}})},
47"es.string.sub.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("sub")},{sub:function t(){return r(this,"sub","","")}})},
47"es.string.sup.js":function t(e){"use strict";var n=e("../internals/export"),r=e("../internals/create-html"),i;n({target:"String",proto:!0,forced:e("../internals/string-html-forced")("sup")},{sup:function t(){return r(this,"sup","","")}})},
47"es.weak-map.js":function t(e,n,t){"use strict";var r=e("../internals/global"),i=e("../internals/redefine-all"),s=e("../internals/internal-metadata"),o=e("../internals/collection"),a=e("../internals/collection-weak"),l=e("../internals/is-object"),c=e("../internals/internal-state").enforce,u=e("../internals/native-weak-map"),f=!r.ActiveXObject&&"ActiveXObject"in r,p=Object.isExtensible,d,g=function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}},h=t.exports=o("WeakMap",g,a);if(u&&f){d=a.getConstructor(g,"WeakMap",!0),s.REQUIRED=!0;var y=h.prototype,b=y.delete,v=y.has,m=y.get,j=y.set;i(y,{delete:function(t){if(l(t)&&!p(t)){var e=c(this);return e.frozen||(e.frozen=new d),b.call(this,t)||e.frozen.delete(t)}return b.call(this,t)},has:function t(e){if(l(e)&&!p(e)){var n=c(this);return n.frozen||(n.frozen=new d),v.call(this,e)||n.frozen.has(e)}return v.call(this,e)},get:function t(e){if(l(e)&&!p(e)){var n=c(this);return n.frozen||(n.frozen=new d),v.call(this,e)?m.call(this,e):n.frozen.get(e)}return m.call(this,e)},set:function t(e,n){if(l(e)&&!p(e)){var r=c(this);r.frozen||(r.frozen=new d),v.call(this,e)?j.call(this,e,n):r.frozen.set(e,n)}else j.call(this,e,n);return this}})}},
47"es.weak-set.js":function t(e){"use strict";var n,r;e("../internals/collection")("WeakSet",(function(t){return function e(){return t(this,arguments.length?arguments[0]:void 0)}}),e("../internals/collection-weak"))},
47"es.number.epsilon.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},
47"es.number.is-finite.js":function t(e){var n,r;e("../internals/export")({target:"Number",stat:!0},{isFinite:e("../internals/number-is-finite")})},
47"es.number.is-integer.js":function t(e){var n,r;e("../internals/export")({target:"Number",stat:!0},{isInteger:e("../internals/is-integer")})},
47"es.number.is-nan.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{isNaN:function t(e){return e!=e}})},
47"es.number.is-safe-integer.js":function t(e){var n=e("../internals/export"),r=e("../internals/is-integer"),i=Math.abs;n({target:"Number",stat:!0},{isSafeInteger:function t(e){return r(e)&&i(e)<=9007199254740991}})},
47"es.number.max-safe-integer.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},
47"es.number.min-safe-integer.js":function t(e){var n;e("../internals/export")({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},
47"es.number.parse-float.js":function t(e){var n=e("../internals/export"),r=e("../internals/number-parse-float");n({target:"Number",stat:!0,forced:Number.parseFloat!=r},{parseFloat:r})},
47"es.number.parse-int.js":function t(e){var n=e("../internals/export"),r=e("../internals/number-parse-int");n({target:"Number",stat:!0,forced:Number.parseInt!=r},{parseInt:r})},
47"es.typed-array.uint8-array.js":function t(e){var n;e("../internals/typed-array-constructor")("Uint8",(function(t){return function e(n,r,i){return t(this,n,r,i)}}))},
47"es.typed-array.uint32-array.js":function t(e){var n;e("../internals/typed-array-constructor")("Uint32",(function(t){return function e(n,r,i){return t(this,n,r,i)}}))}},internals:{
47"export.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/object-get-own-property-descriptor").f,s=e("../internals/create-non-enumerable-property"),o=e("../internals/redefine"),a=e("../internals/set-global"),l=e("../internals/copy-constructor-properties"),c=e("../internals/is-forced");t.exports=function(t,e){var n=t.target,u=t.global,f=t.stat,p,d,g,h,y,b;if(d=u?r:f?r[n]||a(n,{}):(r[n]||{}).prototype)for(g in e){if(y=e[g],h=t.noTargetGet?(b=i(d,g))&&b.value:d[g],!(p=c(u?g:n+(f?".":"#")+g,t.forced))&&void 0!==h){if(typeof y==typeof h)continue;l(y,h)}(t.sham||h&&h.sham)&&s(y,"sham",!0),o(d,g,y,t)}}},
47"global.js":function t(n,r,t){var i=function(t){return t&&t.Math==Math&&t};t.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")()},
47"object-get-own-property-descriptor.js":function t(e,n){var r=e("../internals/descriptors"),i=e("../internals/object-property-is-enumerable"),s=e("../internals/create-property-descriptor"),o=e("../internals/to-indexed-object"),a=e("../internals/to-primitive"),l=e("../internals/has"),c=e("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function t(e,n){if(e=o(e),n=a(n,!0),c)try{return u(e,n)}catch(r){}if(l(e,n))return s(!i.f.call(e,n),e[n])}},
47"descriptors.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},
47"fails.js":function t(e,n,t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},
47"object-property-is-enumerable.js":function t(e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,s=i&&!r.call({1:2},1);n.f=s?function t(e){var n=i(this,e);return!!n&&n.enumerable}:r},
47"create-property-descriptor.js":function t(e,n,t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},
47"to-indexed-object.js":function t(e,n,t){var r=e("../internals/indexed-object"),i=e("../internals/require-object-coercible");t.exports=function(t){return r(i(t))}},
47"indexed-object.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/classof-raw"),s="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s.call(t,""):Object(t)}:Object},
47"classof-raw.js":function t(e,n,t){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},
47"require-object-coercible.js":function t(e,n,t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},
47"to-primitive.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},
47"is-object.js":function t(e,n,t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},
47"has.js":function t(e,n,t){var r=e("../internals/to-object"),i={}.hasOwnProperty;t.exports=Object.hasOwn||function t(e,n){return i.call(r(e),n)}},
47"to-object.js":function t(e,n,t){var r=e("../internals/require-object-coercible");t.exports=function(t){return Object(r(t))}},
47"ie8-dom-define.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/document-create-element");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},
47"document-create-element.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/is-object"),s=r.document,o=i(s)&&i(s.createElement);t.exports=function(t){return o?s.createElement(t):{}}},
47"create-non-enumerable-property.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=r?function(t,e,n){return i.f(t,e,s(1,n))}:function(t,e,n){return t[e]=n,t}},
47"object-define-property.js":function t(e,n){var r=e("../internals/descriptors"),i=e("../internals/ie8-dom-define"),s=e("../internals/an-object"),o=e("../internals/to-primitive"),a=Object.defineProperty;n.f=r?a:function t(e,n,r){if(s(e),n=o(n,!0),s(r),i)try{return a(e,n,r)}catch(l){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[n]=r.value),e}},
47"an-object.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},
47"redefine.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property"),s=e("../internals/has"),o=e("../internals/set-global"),a=e("../internals/inspect-source"),l=e("../internals/internal-state"),c=l.get,u=l.enforce,f=String(String).split("String");(t.exports=function(t,e,n,a){var l=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet,d;"function"==typeof n&&("string"!=typeof e||s(n,"name")||i(n,"name",e),(d=u(n)).source||(d.source=f.join("string"==typeof e?e:""))),t!==r?(l?!p&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:o(e,n)})(Function.prototype,"toString",(function t(){return"function"==typeof this&&c(this).source||a(this)}))},
47"set-global.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/create-non-enumerable-property");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},
47"inspect-source.js":function t(e,n,t){var r=e("../internals/shared-store"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},
47"shared-store.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/set-global"),s="__core-js_shared__",o=r[s]||i(s,{});t.exports=o},
vendor: 989 bytes, line 47
47"internal-state.js":function t(e,n,t){var r=e("../internals/native-weak-map"),i=e("../internals/global"),s=e("../internals/is-object"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/has"),l=e("../internals/shared-store"),c=e("../internals/shared-key"),u=e("../internals/hidden-keys"),f="Object already initialized",p=i.WeakMap,d,g,h,y=function(t){return h(t)?g(t):d(t,{})},b=function(t){return function(e){var n;if(!s(e)||(n=g(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(r||l.state){var v=l.state||(l.state=new p),m=v.get,j=v.has,x=v.set;d=function(t,e){if(j.call(v,t))throw new TypeError(f);return e.facade=t,x.call(v,t,e),e},g=function(t){return m.call(v,t)||{}},h=function(t){return j.call(v,t)}}else{var w=c("state");u[w]=!0,d=function(t,e){if(a(t,w))throw new TypeError(f);return e.facade=t,o(t,w,e),e},g=function(t){return a(t,w)?t[w]:{}},h=function(t){return a(t,w)}}t.exports={set:d,get:g,has:h,enforce:y,getterFor:b}},
47"native-weak-map.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/inspect-source"),s=r.WeakMap;t.exports="function"==typeof s&&/native code/.test(i(s))},
47"shared-key.js":function t(e,n,t){var r=e("../internals/shared"),i=e("../internals/uid"),s=r("keys");t.exports=function(t){return s[t]||(s[t]=i(t))}},
47"shared.js":function t(e,n,t){var r=e("../internals/is-pure"),i=e("../internals/shared-store");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},
47"is-pure.js":function t(e,n,t){t.exports=!1},
47"uid.js":function t(e,n,t){var r=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++r+i).toString(36)}},
47"hidden-keys.js":function t(e,n,t){t.exports={}},
47"copy-constructor-properties.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/own-keys"),s=e("../internals/object-get-own-property-descriptor"),o=e("../internals/object-define-property");t.exports=function(t,e){for(var n=i(e),a=o.f,l=s.f,c=0;c<n.length;c++){var u=n[c];r(t,u)||a(t,u,l(e,u))}}},
47"own-keys.js":function t(e,n,t){var r=e("../internals/get-built-in"),i=e("../internals/object-get-own-property-names"),s=e("../internals/object-get-own-property-symbols"),o=e("../internals/an-object");t.exports=r("Reflect","ownKeys")||function t(e){var n=i.f(o(e)),r=s.f;return r?n.concat(r(e)):n}},
47"get-built-in.js":function t(e,n,t){var r=e("../internals/path"),i=e("../internals/global"),s=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?s(r[t])||s(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},
47"path.js":function t(e,n,t){var r=e("../internals/global");t.exports=r},
47"object-get-own-property-names.js":function t(e,n){var r=e("../internals/object-keys-internal"),i,s=e("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function t(e){return r(e,s)}},
47"object-keys-internal.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/to-indexed-object"),s=e("../internals/array-includes").indexOf,o=e("../internals/hidden-keys");t.exports=function(t,e){var n=i(t),a=0,l=[],c;for(c in n)!r(o,c)&&r(n,c)&&l.push(c);for(;e.length>a;)r(n,c=e[a++])&&(~s(l,c)||l.push(c));return l}},
47"array-includes.js":function t(e,n,t){var r=e("../internals/to-indexed-object"),i=e("../internals/to-length"),s=e("../internals/to-absolute-index"),o=function(t){return function(e,n,o){var a=r(e),l=i(a.length),c=s(o,l),u;if(t&&n!=n){for(;l>c;)if((u=a[c++])!=u)return!0}else for(;l>c;c++)if((t||c in a)&&a[c]===n)return t||c||0;return!t&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}},
47"to-length.js":function t(e,n,t){var r=e("../internals/to-integer"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},
47"to-integer.js":function t(e,n,t){var r=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:r)(t)}},
47"to-absolute-index.js":function t(e,n,t){var r=e("../internals/to-integer"),i=Math.max,s=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):s(n,e)}},
47"enum-bug-keys.js":function t(e,n,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
47"object-get-own-property-symbols.js":function t(e,n){n.f=Object.getOwnPropertySymbols},
47"is-forced.js":function t(e,n,t){var r=e("../internals/fails"),i=/#|\.prototype\./,s=function(t,e){var n=a[o(t)];return n==c||n!=l&&("function"==typeof e?r(e):!!e)},o=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";t.exports=s},
47"is-array.js":function t(e,n,t){var r=e("../internals/classof-raw");t.exports=Array.isArray||function t(e){return"Array"==r(e)}},
47"create-property.js":function t(e,n,t){"use strict";var r=e("../internals/to-primitive"),i=e("../internals/object-define-property"),s=e("../internals/create-property-descriptor");t.exports=function(t,e,n){var o=r(e);o in t?i.f(t,o,s(0,n)):t[o]=n}},
vendor: 347 bytes, line 47
47"array-species-create.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/is-array"),s,o=e("../internals/well-known-symbol")("species");t.exports=function(t,e){var n;return i(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!i(n.prototype)?r(n)&&null===(n=n[o])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},
47"well-known-symbol.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/shared"),s=e("../internals/has"),o=e("../internals/uid"),a=e("../internals/native-symbol"),l=e("../internals/use-symbol-as-uid"),c=i("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||o;t.exports=function(t){return s(c,t)&&(a||"string"==typeof c[t])||(a&&s(u,t)?c[t]=u[t]:c[t]=f("Symbol."+t)),c[t]}},
47"native-symbol.js":function t(e,n,t){var r=e("../internals/engine-v8-version"),i=e("../internals/fails");t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=o();return!String(t)||!(Object(t)instanceof o)||!o.sham&&r&&r<41}))},
47"engine-v8-version.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/engine-user-agent"),s=r.process,o=s&&s.versions,a=o&&o.v8,l,c;a?c=(l=a.split("."))[0]<4?1:l[0]+l[1]:i&&(!(l=i.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/))&&(c=l[1]),t.exports=c&&+c},
47"engine-user-agent.js":function t(e,n,t){var r=e("../internals/get-built-in");t.exports=r("navigator","userAgent")||""},
47"use-symbol-as-uid.js":function t(e,n,t){var r=e("../internals/native-symbol");t.exports=r&&!o.sham&&"symbol"==typeof o.iterator},
47"array-method-has-species-support.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/well-known-symbol"),s=e("../internals/engine-v8-version"),o=i("species");t.exports=function(t){return s>=51||!r((function(){var e=[],n;return(e.constructor={})[o]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},
47"to-string-tag-support.js":function t(e,n,t){var r,i,s={};s[e("../internals/well-known-symbol")("toStringTag")]="z",t.exports="[object z]"===String(s)},
47"object-to-string.js":function t(e,n,t){"use strict";var r=e("../internals/to-string-tag-support"),i=e("../internals/classof");t.exports=r?{}.toString:function t(){return"[object "+i(this)+"]"}},
47"classof.js":function t(e,n,t){var r=e("../internals/to-string-tag-support"),i=e("../internals/classof-raw"),s,o=e("../internals/well-known-symbol")("toStringTag"),a="Arguments"==i(function(){return arguments}()),l=function(t,e){try{return t[e]}catch(n){}};t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=l(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},
47"object-create.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/object-define-properties"),s=e("../internals/enum-bug-keys"),o=e("../internals/hidden-keys"),a=e("../internals/html"),l=e("../internals/document-create-element"),c=e("../internals/shared-key"),u=">",f="<",p="prototype",d="script",g=c("IE_PROTO"),h=function(){},y=function(t){return"<script>"+t+"</"+d+u},b=function(t){t.write(y("")),t.close();var e=t.parentWindow.Object;return t=null,e},v=function(){var t=l("iframe"),e="javascript:",n;return t.style.display="none",a.appendChild(t),t.src=String(e),(n=t.contentWindow.document).open(),n.write(y("document.F=Object")),n.close(),n.F},m,j=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch(e){}j=m?b(m):v();for(var t=s.length;t--;)delete j.prototype[s[t]];return j()};o[g]=!0,t.exports=Object.create||function t(e,n){var s;return null!==e?(h.prototype=r(e),s=new h,h.prototype=null,s[g]=e):s=j(),void 0===n?s:i(s,n)}},
47"object-define-properties.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-define-property"),s=e("../internals/an-object"),o=e("../internals/object-keys");t.exports=r?Object.defineProperties:function t(e,n){s(e);for(var r=o(n),a=r.length,l=0,c;a>l;)i.f(e,c=r[l++],n[c]);return e}},
47"object-keys.js":function t(e,n,t){var r=e("../internals/object-keys-internal"),i=e("../internals/enum-bug-keys");t.exports=Object.keys||function t(e){return r(e,i)}},
47"html.js":function t(e,n,t){var r=e("../internals/get-built-in");t.exports=r("document","documentElement")},
47"object-get-own-property-names-external.js":function t(e,n,t){var r=e("../internals/to-indexed-object"),i=e("../internals/object-get-own-property-names").f,s={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(t){try{return i(t)}catch(e){return o.slice()}};t.exports.f=function t(e){return o&&"[object Window]"==s.call(e)?a(e):i(r(e))}},
47"well-known-symbol-wrapped.js":function t(e,n){var r=e("../internals/well-known-symbol");n.f=r},
47"define-well-known-symbol.js":function t(e,n,t){var r=e("../internals/path"),i=e("../internals/has"),s=e("../internals/well-known-symbol-wrapped"),o=e("../internals/object-define-property").f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});i(e,t)||o(e,t,{value:s.f(t)})}},
47"set-to-string-tag.js":function t(e,n,t){var r=e("../internals/object-define-property").f,i=e("../internals/has"),s,o=e("../internals/well-known-symbol")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},
vendor: 742 bytes, line 47
47"array-iteration.js":function t(e,n,t){var r=e("../internals/function-bind-context"),i=e("../internals/indexed-object"),s=e("../internals/to-object"),o=e("../internals/to-length"),a=e("../internals/array-species-create"),l=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,u=4==t,f=6==t,p=7==t,d=5==t||f;return function(g,h,y,b){for(var v=s(g),m=i(v),j=r(h,y,3),x=o(m.length),w=0,S=b||a,k=e?S(g,x):n||p?S(g,0):void 0,E,O;x>w;w++)if((d||w in m)&&(O=j(E=m[w],w,v),t))if(e)k[w]=O;else if(O)switch(t){case 3:return!0;case 5:return E;case 6:return w;case 2:l.call(k,E)}else switch(t){case 4:return!1;case 7:l.call(k,E)}return f?-1:c||u?u:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},
47"function-bind-context.js":function t(e,n,t){var r=e("../internals/a-function");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},
47"a-function.js":function t(e,n,t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},
vendor: 1,534 bytes, line 47
47"collection.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/global"),s=e("../internals/is-forced"),o=e("../internals/redefine"),a=e("../internals/internal-metadata"),l=e("../internals/iterate"),c=e("../internals/an-instance"),u=e("../internals/is-object"),f=e("../internals/fails"),p=e("../internals/check-correctness-of-iteration"),d=e("../internals/set-to-string-tag"),g=e("../internals/inherit-if-required");t.exports=function(t,e,n){var h=-1!==t.indexOf("Map"),y=-1!==t.indexOf("Weak"),b=h?"set":"add",v=i[t],m=v&&v.prototype,j=v,x={},w=function(t){var e=m[t];o(m,t,"add"==t?function t(n){return e.call(this,0===n?0:n),this}:"delete"==t?function(t){return!(y&&!u(t))&&e.call(this,0===t?0:t)}:"get"==t?function t(n){return y&&!u(n)?void 0:e.call(this,0===n?0:n)}:"has"==t?function t(n){return!(y&&!u(n))&&e.call(this,0===n?0:n)}:function t(n,r){return e.call(this,0===n?0:n,r),this})},S;if(s(t,"function"!=typeof v||!(y||m.forEach&&!f((function(){(new v).entries().next()})))))j=n.getConstructor(e,t,h,b),a.REQUIRED=!0;else if(s(t,!0)){var k=new j,E=k[b](y?{}:-0,1)!=k,O=f((function(){k.has(1)})),A=p((function(t){new v(t)})),M=!y&&f((function(){for(var t=new v,e=5;e--;)t[b](e,e);return!t.has(-0)}));A||((j=e((function(e,n){c(e,j,t);var r=g(new v,e,j);return null!=n&&l(n,r[b],{that:r,AS_ENTRIES:h}),r}))).prototype=m,m.constructor=j),(O||M)&&(w("delete"),w("has"),h&&w("get")),(M||E)&&w(b),y&&m.clear&&delete m.clear}return x[t]=j,r({global:!0,forced:j!=v},x),d(j,t),y||n.setStrong(j,t,h),j}},
vendor: 724 bytes, line 47
47"internal-metadata.js":function t(e,n,t){var r=e("../internals/hidden-keys"),i=e("../internals/is-object"),s=e("../internals/has"),o=e("../internals/object-define-property").f,a=e("../internals/uid"),l=e("../internals/freezing"),c=a("meta"),u=0,f=Object.isExtensible||function(){return!0},p=function(t){o(t,c,{value:{objectID:"O"+u++,weakData:{}}})},d=function(t,e){if(!i(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,c)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},g=function(t,e){if(!s(t,c)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},h=function(t){return l&&y.REQUIRED&&f(t)&&!s(t,c)&&p(t),t},y=t.exports={REQUIRED:!1,fastKey:d,getWeakData:g,onFreeze:h};r[c]=!0},
47"freezing.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},
vendor: 899 bytes, line 47
47"iterate.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/is-array-iterator-method"),s=e("../internals/to-length"),o=e("../internals/function-bind-context"),a=e("../internals/get-iterator-method"),l=e("../internals/iterator-close"),c=function(t,e){this.stopped=t,this.result=e};t.exports=function(t,e,n){var u=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),g=o(e,u,1+f+d),h,y,b,v,m,j,x,w=function(t){return h&&l(h),new c(!0,t)},S=function(t){return f?(r(t),d?g(t[0],t[1],w):g(t[0],t[1])):d?g(t,w):g(t)};if(p)h=t;else{if("function"!=typeof(y=a(t)))throw TypeError("Target is not iterable");if(i(y)){for(b=0,v=s(t.length);v>b;b++)if((m=S(t[b]))&&m instanceof c)return m;return new c(!1)}h=y.call(t)}for(j=h.next;!(x=j.call(h)).done;){try{m=S(x.value)}catch(k){throw l(h),k}if("object"==typeof m&&m&&m instanceof c)return m}return new c(!1)}},
47"is-array-iterator-method.js":function t(e,n,t){var r=e("../internals/well-known-symbol"),i=e("../internals/iterators"),s=r("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||o[s]===t)}},
47"iterators.js":function t(e,n,t){t.exports={}},
47"get-iterator-method.js":function t(e,n,t){var r=e("../internals/classof"),i=e("../internals/iterators"),s,o=e("../internals/well-known-symbol")("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},
47"iterator-close.js":function t(e,n,t){var r=e("../internals/an-object");t.exports=function(t){var e=t.return;if(void 0!==e)return r(e.call(t)).value}},
47"an-instance.js":function t(e,n,t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},
vendor: 417 bytes, line 47
47"check-correctness-of-iteration.js":function t(e,n,t){var r,i=e("../internals/well-known-symbol")("iterator"),s=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){s=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(l){}t.exports=function(t,e){if(!e&&!s)return!1;var n=!1;try{var r={};r[i]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(l){}return n}},
47"inherit-if-required.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/object-set-prototype-of");t.exports=function(t,e,n){var s,o;return i&&"function"==typeof(s=e.constructor)&&s!==n&&r(o=s.prototype)&&o!==n.prototype&&i(t,o),t}},
47"object-set-prototype-of.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/a-possible-prototype");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},n;try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),t=e instanceof Array}catch(s){}return function e(s,o){return r(s),i(o),t?n.call(s,o):s.__proto__=o,s}}():void 0)},
47"a-possible-prototype.js":function t(e,n,t){var r=e("../internals/is-object");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},
47"collection-strong.js":function t(e,n,t){"use strict";var r=e("../internals/object-define-property").f,i=e("../internals/object-create"),s=e("../internals/redefine-all"),o=e("../internals/function-bind-context"),a=e("../internals/an-instance"),l=e("../internals/iterate"),c=e("../internals/define-iterator"),u=e("../internals/set-species"),f=e("../internals/descriptors"),p=e("../internals/internal-metadata").fastKey,d=e("../internals/internal-state"),g=d.set,h=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var u=t((function(t,r){a(t,u,e),g(t,{type:e,index:i(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&l(r,t[c],{that:t,AS_ENTRIES:n})})),d=h(e),y=function(t,e,n){var r=d(t),i=b(t,e),s,o;return i?i.value=n:(r.last=i={index:o=p(e,!0),key:e,value:n,previous:s=r.last,next:void 0,removed:!1},r.first||(r.first=i),s&&(s.next=i),f?r.size++:t.size++,"F"!==o&&(r.index[o]=i)),t},b=function(t,e){var n=d(t),r=p(e),i;if("F"!==r)return n.index[r];for(i=n.first;i;i=i.next)if(i.key==e)return i};return s(u.prototype,{clear:function t(){for(var e=this,n=d(e),r=n.index,i=n.first;i;)i.removed=!0,i.previous&&(i.previous=i.previous.next=void 0),delete r[i.index],i=i.next;n.first=n.last=void 0,f?n.size=0:e.size=0},delete:function(t){var e=this,n=d(e),r=b(e,t);if(r){var i=r.next,s=r.previous;delete n.index[r.index],r.removed=!0,s&&(s.next=i),i&&(i.previous=s),n.first==r&&(n.first=i),n.last==r&&(n.last=s),f?n.size--:e.size--}return!!r},forEach:function t(e){for(var n=d(this),r=o(e,arguments.length>1?arguments[1]:void 0,3),i;i=i?i.next:n.first;)for(r(i.value,i.key,this);i&&i.removed;)i=i.previous},has:function t(e){return!!b(this,e)}}),s(u.prototype,n?{get:function t(e){var n=b(this,e);return n&&n.value},set:function t(e,n){return y(this,0===e?0:e,n)}}:{add:function t(e){return y(this,e=0===e?0:e,e)}}),f&&r(u.prototype,"size",{get:function(){return d(this).size}}),u},setStrong:function(t,e,n){var r=e+" Iterator",i=h(e),s=h(r);c(t,e,(function(t,e){g(this,{type:r,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=s(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),u(e)}}},
47"redefine-all.js":function t(e,n,t){var r=e("../internals/redefine");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},
vendor: 1,394 bytes, line 47
47"define-iterator.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/create-iterator-constructor"),s=e("../internals/object-get-prototype-of"),o=e("../internals/object-set-prototype-of"),a=e("../internals/set-to-string-tag"),l=e("../internals/create-non-enumerable-property"),c=e("../internals/redefine"),u=e("../internals/well-known-symbol"),f=e("../internals/is-pure"),p=e("../internals/iterators"),d=e("../internals/iterators-core"),g=d.IteratorPrototype,h=d.BUGGY_SAFARI_ITERATORS,y=u("iterator"),b="keys",v="values",m="entries",j=function(){return this};t.exports=function(t,e,n,u,d,x,w){i(n,e,u);var S=function(t){if(t===d&&M)return M;if(!h&&t in O)return O[t];switch(t){case b:return function e(){return new n(this,t)};case v:return function e(){return new n(this,t)};case m:return function e(){return new n(this,t)}}return function(){return new n(this)}},k=e+" Iterator",E=!1,O=t.prototype,A=O[y]||O["@@iterator"]||d&&O[d],M=!h&&A||S(d),I="Array"==e&&O.entries||A,R,T,_;if(I&&(R=s(I.call(new t)),g!==Object.prototype&&R.next&&(f||s(R)===g||(o?o(R,g):"function"!=typeof R[y]&&l(R,y,j)),a(R,k,!0,!0),f&&(p[k]=j))),d==v&&A&&A.name!==v&&(E=!0,M=function t(){return A.call(this)}),f&&!w||O[y]===M||l(O,y,M),p[e]=M,d)if(T={values:S(v),keys:x?M:S(b),entries:S(m)},w)for(_ in T)(h||E||!(_ in O))&&c(O,_,T[_]);else r({target:e,proto:!0,forced:h||E},T);return T}},
47"create-iterator-constructor.js":function t(e,n,t){"use strict";var r=e("../internals/iterators-core").IteratorPrototype,i=e("../internals/object-create"),s=e("../internals/create-property-descriptor"),o=e("../internals/set-to-string-tag"),a=e("../internals/iterators"),l=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=i(r,{next:s(1,n)}),o(t,c,!1,!0),a[c]=l,t}},
47"iterators-core.js":function t(e,n,t){"use strict";var r=e("../internals/fails"),i=e("../internals/object-get-prototype-of"),s=e("../internals/create-non-enumerable-property"),o=e("../internals/has"),a=e("../internals/well-known-symbol"),l=e("../internals/is-pure"),c=a("iterator"),u=!1,f=function(){return this},p,d,g;[].keys&&("next"in(g=[].keys())?(d=i(i(g)))!==Object.prototype&&(p=d):u=!0);var h=null==p||r((function(){var t={};return p[c].call(t)!==t}));h&&(p={}),l&&!h||o(p,c)||s(p,c,f),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:u}},
47"object-get-prototype-of.js":function t(e,n,t){var r=e("../internals/has"),i=e("../internals/to-object"),s=e("../internals/shared-key"),o=e("../internals/correct-prototype-getter"),a=s("IE_PROTO"),l=Object.prototype;t.exports=o?Object.getPrototypeOf:function(t){return t=i(t),r(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?l:null}},
47"correct-prototype-getter.js":function t(e,n,t){var r=e("../internals/fails");t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},
47"set-species.js":function t(e,n,t){"use strict";var r=e("../internals/get-built-in"),i=e("../internals/object-define-property"),s=e("../internals/well-known-symbol"),o=e("../internals/descriptors"),a=s("species");t.exports=function(t){var e=r(t),n=i.f;o&&e&&!e[a]&&n(e,a,{configurable:!0,get:function(){return this}})}},
vendor: 409 bytes, line 47
47"string-multibyte.js":function t(e,n,t){var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible"),s=function(t){return function(e,n){var s=String(i(e)),o=r(n),a=s.length,l,c;return o<0||o>=a?t?"":void 0:(l=s.charCodeAt(o))<55296||l>56319||o+1===a||(c=s.charCodeAt(o+1))<56320||c>57343?t?s.charAt(o):l:t?s.slice(o,o+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},
47"dom-iterables.js":function t(e,n,t){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},
47"add-to-unscopables.js":function t(e,n,t){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),s=e("../internals/object-define-property"),o=r("unscopables"),a=Array.prototype;null==a[o]&&s.f(a,o,{configurable:!0,value:i(null)}),t.exports=function(t){a[o][t]=!0}},
vendor: 735 bytes, line 47
47"array-from.js":function t(e,n,t){"use strict";var r=e("../internals/function-bind-context"),i=e("../internals/to-object"),s=e("../internals/call-with-safe-iteration-closing"),o=e("../internals/is-array-iterator-method"),a=e("../internals/to-length"),l=e("../internals/create-property"),c=e("../internals/get-iterator-method");t.exports=function t(e){var n=i(e),u="function"==typeof this?this:Array,f=arguments.length,p=f>1?arguments[1]:void 0,d=void 0!==p,g=c(n),h=0,y,b,v,m,j,x;if(d&&(p=r(p,f>2?arguments[2]:void 0,2)),null==g||u==Array&&o(g))for(b=new u(y=a(n.length));y>h;h++)x=d?p(n[h],h):n[h],l(b,h,x);else for(j=(m=g.call(n)).next,b=new u;!(v=j.call(m)).done;h++)x=d?s(m,p,[v.value,h],!0):v.value,l(b,h,x);return b.length=h,b}},
47"call-with-safe-iteration-closing.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/iterator-close");t.exports=function(t,e,n,s){try{return s?e(r(n)[0],n[1]):e(n)}catch(o){throw i(t),o}}},
vendor: 427 bytes, line 47
47"array-copy-within.js":function t(e,n,t){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),s=e("../internals/to-length"),o=Math.min;t.exports=[].copyWithin||function t(e,n){var a=r(this),l=s(a.length),c=i(e,l),u=i(n,l),f=arguments.length>2?arguments[2]:void 0,p=o((void 0===f?l:i(f,l))-u,l-c),d=1;for(u<c&&c<u+p&&(d=-1,u+=p-1,c+=p-1);p-- >0;)u in a?a[c]=a[u]:delete a[c],c+=d,u+=d;return a}},
47"array-method-is-strict.js":function t(e,n,t){"use strict";var r=e("../internals/fails");t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},
vendor: 328 bytes, line 47
47"array-fill.js":function t(e,n,t){"use strict";var r=e("../internals/to-object"),i=e("../internals/to-absolute-index"),s=e("../internals/to-length");t.exports=function t(e){for(var n=r(this),o=s(n.length),a=arguments.length,l=i(a>1?arguments[1]:void 0,o),c=a>2?arguments[2]:void 0,u=void 0===c?o:i(c,o);u>l;)n[l++]=e;return n}},
47"flatten-into-array.js":function t(e,n,t){"use strict";var r=e("../internals/is-array"),i=e("../internals/to-length"),s=e("../internals/function-bind-context"),o=function(t,e,n,a,l,c,u,f){for(var p=l,d=0,g=!!u&&s(u,f,3),h;d<a;){if(d in n){if(h=g?g(n[d],d,e):n[d],c>0&&r(h))p=o(t,e,h,i(h.length),p,c-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[p]=h}p++}d++}return p};t.exports=o},
47"array-for-each.js":function t(e,n,t){"use strict";var r=e("../internals/array-iteration").forEach,i,s=e("../internals/array-method-is-strict")("forEach");t.exports=s?[].forEach:function t(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},
vendor: 986 bytes, line 47
47"array-last-index-of.js":function t(e,n,t){"use strict";var r=e("../internals/to-indexed-object"),i=e("../internals/to-integer"),s=e("../internals/to-length"),o=e("../internals/array-method-is-strict"),a=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),f=c||!u;t.exports=f?function t(e){if(c)return l.apply(this,arguments)||0;var n=r(this),o=s(n.length),u=o-1;for(arguments.length>1&&(u=a(u,i(arguments[1]))),u<0&&(u=o+u);u>=0;u--)if(u in n&&n[u]===e)return u||0;return-1}:l},"array-reduce.js":function t(e,n,t){var r=e("../internals/a-function"),i=e("../internals/to-object"),s=e("../internals/indexed-object"),o=e("../internals/to-length"),a=function(t){return function(e,n,a,l){r(n);var c=i(e),u=s(c),f=o(c.length),p=t?f-1:0,d=t?-1:1;if(a<2)for(;;){if(p in u){l=u[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in u&&(l=n(l,u[p],p,c));return l}};t.exports={left:a(!1),right:a(!0)}},
47"engine-is-node.js":function t(e,n,t){var r=e("../internals/classof-raw"),i=e("../internals/global");t.exports="process"==r(i.process)},
vendor: 438 bytes, line 47
47"array-sort.js":function t(e,n,t){var r=Math.floor,i=function(t,e){var n=t.length,a=r(n/2);return n<8?s(t,e):o(i(t.slice(0,a),e),i(t.slice(a),e),e)},s=function(t,e){for(var n=t.length,r=1,i,s;r<n;){for(s=r,i=t[r];s&&e(t[s-1],i)>0;)t[s]=t[--s];s!==r++&&(t[s]=i)}return t},o=function(t,e,n){for(var r=t.length,i=e.length,s=0,o=0,a=[];s<r||o<i;)s<r&&o<i?a.push(n(t[s],e[o])<=0?t[s++]:e[o++]):a.push(s<r?t[s++]:e[o++]);return a};t.exports=i},
47"engine-ff-version.js":function t(e,n,t){var r,i=e("../internals/engine-user-agent").match(/firefox\/(\d+)/i);t.exports=!!i&&+i[1]},
47"engine-is-ie-or-edge.js":function t(e,n,t){var r=e("../internals/engine-user-agent");t.exports=/MSIE|Trident/.test(r)},
47"engine-webkit-version.js":function t(e,n,t){var r,i=e("../internals/engine-user-agent").match(/AppleWebKit\/(\d+)\./);t.exports=!!i&&+i[1]},
vendor: 507 bytes, line 47
47"function-bind.js":function t(e,n,t){"use strict";var r=e("../internals/a-function"),i=e("../internals/is-object"),s=[].slice,o={},a=function(t,e,n){if(!(e in o)){for(var r=[],i=0;i<e;i++)r[i]="a["+i+"]";o[e]=Function("C,a","return new C("+r.join(",")+")")}return o[e](t,n)};t.exports=Function.bind||function t(e){var n=r(this),o=s.call(arguments,1),l=function t(){var r=o.concat(s.call(arguments));return this instanceof l?a(n,r.length,r):n.apply(e,r)};return i(n.prototype)&&(l.prototype=n.prototype),l}},
47"math-log1p.js":function t(e,n,t){var r=Math.log;t.exports=Math.log1p||function t(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:r(1+e)}},
47"math-sign.js":function t(e,n,t){t.exports=Math.sign||function t(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},
47"math-expm1.js":function t(e,n,t){var r=Math.expm1,i=Math.exp;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function t(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:i(e)-1}:r},
47"math-fround.js":function t(e,n,t){var r=e("../internals/math-sign"),i=Math.abs,s=Math.pow,o=s(2,-52),a=s(2,-23),l=s(2,127)*(2-a),c=s(2,-126),u=function(t){return t+1/o-1/o};t.exports=Math.fround||function t(e){var n=i(e),s=r(e),f,p;return n<c?s*u(n/c/a)*c*a:(p=(f=(1+a/o)*n)-(f-n))>l||p!=p?s*(1/0):s*p}},
vendor: 838 bytes, line 47
47"object-assign.js":function t(e,n,t){"use strict";var r=e("../internals/descriptors"),i=e("../internals/fails"),s=e("../internals/object-keys"),a=e("../internals/object-get-own-property-symbols"),l=e("../internals/object-property-is-enumerable"),c=e("../internals/to-object"),u=e("../internals/indexed-object"),f=Object.assign,p=Object.defineProperty;t.exports=!f||i((function(){if(r&&1!==f({b:1},f(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},n=o(),i="abcdefghijklmnopqrst";return t[n]=7,i.split("").forEach((function(t){e[t]=t})),7!=f({},t)[n]||s(f({},e)).join("")!=i}))?function t(e,n){for(var i=c(e),o=arguments.length,f=1,p=a.f,d=l.f;o>f;)for(var g=u(arguments[f++]),h=p?s(g).concat(p(g)):s(g),y=h.length,b=0,v;y>b;)v=h[b++],r&&!d.call(g,v)||(i[v]=g[v]);return i}:f},
47"object-to-array.js":function t(e,n,t){var r=e("../internals/descriptors"),i=e("../internals/object-keys"),s=e("../internals/to-indexed-object"),o=e("../internals/object-property-is-enumerable").f,a=function(t){return function(e){for(var n=s(e),a=i(n),l=a.length,c=0,u=[],f;l>c;)f=a[c++],r&&!o.call(n,f)||u.push(t?[f,n[f]]:n[f]);return u}};t.exports={entries:a(!0),values:a(!1)}},
47"same-value.js":function t(e,n,t){t.exports=Object.is||function t(e,n){return e===n?0!==e||1/e==1/n:e!=e&&n!=n}},
47"object-prototype-accessors-forced.js":function t(e,n,t){"use strict";var r=e("../internals/is-pure"),i=e("../internals/global"),s=e("../internals/fails"),o=e("../internals/engine-webkit-version");t.exports=r||!s((function(){if(!(o&&o<535)){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete i[t]}}))},
47"is-regexp.js":function t(e,n,t){var r=e("../internals/is-object"),i=e("../internals/classof-raw"),s,o=e("../internals/well-known-symbol")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},
47"regexp-flags.js":function t(e,n,t){"use strict";var r=e("../internals/an-object");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},
47"regexp-sticky-helpers.js":function t(e,n){var r=e("../internals/fails"),i=function(t,e){return RegExp(t,e)};n.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),n.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},
47"regexp-unsupported-dot-all.js":function t(e,n,t){var r=e("./fails");t.exports=r((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},
47"regexp-unsupported-ncg.js":function t(e,n,t){var r=e("./fails");t.exports=r((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},
vendor: 1,420 bytes, line 47
47"regexp-exec.js":function t(e,n,t){"use strict";var r=e("../internals/regexp-flags"),i=e("../internals/regexp-sticky-helpers"),s=e("../internals/shared"),o=e("../internals/object-create"),a=e("../internals/internal-state").get,l=e("../internals/regexp-unsupported-dot-all"),c=e("../internals/regexp-unsupported-ncg"),u=RegExp.prototype.exec,f=s("native-string-replace",String.prototype.replace),p=u,d=(g=/a/,h=/b*/g,u.call(g,"a"),u.call(h,"a"),0!==g.lastIndex||0!==h.lastIndex),g,h,y=i.UNSUPPORTED_Y||i.BROKEN_CARET,b=void 0!==/()??/.exec("")[1],v;(d||b||y||l||c)&&(p=function t(e){var n=this,i=a(n),s=i.raw,l,c,g,h,v,m,j;if(s)return s.lastIndex=n.lastIndex,l=p.call(s,e),n.lastIndex=s.lastIndex,l;var x=i.groups,w=y&&n.sticky,S=r.call(n),k=n.source,E=0,O=e;if(w&&(-1===(S=S.replace("y","")).indexOf("g")&&(S+="g"),O=String(e).slice(n.lastIndex),n.lastIndex>0&&(!n.multiline||n.multiline&&"\n"!==e[n.lastIndex-1])&&(k="(?: "+k+")",O=" "+O,E++),c=new RegExp("^(?:"+k+")",S)),b&&(c=new RegExp("^"+k+"$(?!\\s)",S)),d&&(g=n.lastIndex),h=u.call(w?c:n,O),w?h?(h.input=h.input.slice(E),h[0]=h[0].slice(E),h.index=n.lastIndex,n.lastIndex+=h[0].length):n.lastIndex=0:d&&h&&(n.lastIndex=n.global?h.index+h[0].length:g),b&&h&&h.length>1&&f.call(h[0],c,(function(){for(v=1;v<arguments.length-2;v++)void 0===arguments[v]&&(h[v]=void 0)})),h&&x)for(h.groups=m=o(null),v=0;v<x.length;v++)m[(j=x[v])[0]]=h[j[1]];return h}),t.exports=p},
vendor: 858 bytes, line 47
47"fix-regexp-well-known-symbol-logic.js":function t(e,n,t){"use strict";e("../modules/es.regexp.exec");var r=e("../internals/redefine"),i=e("../internals/regexp-exec"),s=e("../internals/fails"),o=e("../internals/well-known-symbol"),a=e("../internals/create-non-enumerable-property"),l=o("species"),c=RegExp.prototype;t.exports=function(t,e,n,u){var f=o(t),p=!s((function(){var e={};return e[f]=function(){return 7},7!=""[t](e)})),d=p&&!s((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return e=!0,null},n[f](""),!e}));if(!p||!d||n){var g=/./[f],h=e(f,""[t],(function(t,e,n,r,s){var o=e.exec;return o===i||o===c.exec?p&&!s?{done:!0,value:g.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,h[0]),r(c,f,h[1])}u&&a(c[f],"sham",!0)}},
47"advance-string-index.js":function t(e,n,t){"use strict";var r=e("../internals/string-multibyte").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},
47"regexp-exec-abstract.js":function t(e,n,t){var r=e("./classof-raw"),i=e("./regexp-exec");t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var s=n.call(t,e);if("object"!=typeof s)throw TypeError("RegExp exec method returned something other than an Object or null");return s}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},
vendor: 589 bytes, line 47
47"get-substitution.js":function t(e,n,t){var r=e("../internals/to-object"),i=Math.floor,s="".replace,o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,l,c,u){var f=n+t.length,p=l.length,d=a;return void 0!==c&&(c=r(c),d=o),s.call(u,d,(function(r,s){var o;switch(s.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(f);case"<":o=c[s.slice(1,-1)];break;default:var a=+s;if(0===a)return r;if(a>p){var u=i(a/10);return 0===u?r:u<=p?void 0===l[u-1]?s.charAt(1):l[u-1]+s.charAt(1):r}o=l[a-1]}return void 0===o?"":o}))}},
47"species-constructor.js":function t(e,n,t){var r=e("../internals/an-object"),i=e("../internals/a-function"),s,o=e("../internals/well-known-symbol")("species");t.exports=function(t,e){var n=r(t).constructor,s;return void 0===n||null==(s=r(n)[o])?e:i(s)}},
47"not-a-regexp.js":function t(e,n,t){var r=e("../internals/is-regexp");t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},
47"correct-is-regexp-logic.js":function t(e,n,t){var r,i=e("../internals/well-known-symbol")("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[i]=!1,"/./"[t](e)}catch(r){}}return!1}},
vendor: 395 bytes, line 47
47"string-pad.js":function t(e,n,t){var r=e("../internals/to-length"),i=e("../internals/string-repeat"),s=e("../internals/require-object-coercible"),o=Math.ceil,a=function(t){return function(e,n,a){var l=String(s(e)),c=l.length,u=void 0===a?" ":String(a),f=r(n),p,d;return f<=c||""==u?l:(p=f-c,(d=i.call(u,o(p/u.length))).length>p&&(d=d.slice(0,p)),t?l+d:d+l)}};t.exports={start:a(!1),end:a(!0)}},
47"string-repeat.js":function t(e,n,t){"use strict";var r=e("../internals/to-integer"),i=e("../internals/require-object-coercible");t.exports=function t(e){var n=String(i(this)),s="",o=r(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(s+=n);return s}},
47"string-pad-webkit-bug.js":function t(e,n,t){var r=e("../internals/engine-user-agent");t.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(r)},
vendor: 323 bytes, line 47
47"string-trim.js":function t(e,n,t){var r=e("../internals/require-object-coercible"),i,s="["+e("../internals/whitespaces")+"]",o=RegExp("^"+s+s+"*"),a=RegExp(s+s+"*$"),l=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(o,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:l(1),end:l(2),trim:l(3)}},
47"whitespaces.js":function t(e,n,t){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},
47"string-trim-forced.js":function t(e,n,t){var r=e("../internals/fails"),i=e("../internals/whitespaces"),s="​…᠎";t.exports=function(t){return r((function(){return!!i[t]()||s[t]()!=s||i[t].name!==t}))}},
47"create-html.js":function t(e,n,t){var r=e("../internals/require-object-coercible"),i=/"/g;t.exports=function(t,e,n,s){var o=String(r(t)),a="<"+e;return""!==n&&(a+=" "+n+'="'+String(s).replace(i,"&quot;")+'"'),a+">"+o+"</"+e+">"}},
47"string-html-forced.js":function t(e,n,t){var r=e("../internals/fails");t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},
vendor: 1,520 bytes, line 47
47"collection-weak.js":function t(e,n,t){"use strict";var r=e("../internals/redefine-all"),i=e("../internals/internal-metadata").getWeakData,s=e("../internals/an-object"),o=e("../internals/is-object"),a=e("../internals/an-instance"),l=e("../internals/iterate"),c=e("../internals/array-iteration"),u=e("../internals/has"),f=e("../internals/internal-state"),p=f.set,d=f.getterFor,g=c.find,h=c.findIndex,y=0,b=function(t){return t.frozen||(t.frozen=new v)},v=function(){this.entries=[]},m=function(t,e){return g(t.entries,(function(t){return t[0]===e}))};v.prototype={get:function(t){var e=m(this,t);if(e)return e[1]},has:function(t){return!!m(this,t)},set:function(t,e){var n=m(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){a(t,f,e),p(t,{type:e,id:y++,frozen:void 0}),null!=r&&l(r,t[c],{that:t,AS_ENTRIES:n})})),g=d(e),h=function(t,e,n){var r=g(t),o=i(s(e),!0);return!0===o?b(r).set(e,n):o[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=g(this);if(!o(t))return!1;var n=i(t);return!0===n?b(e).delete(t):n&&u(n,e.id)&&delete n[e.id]},has:function t(e){var n=g(this);if(!o(e))return!1;var r=i(e);return!0===r?b(n).has(e):r&&u(r,n.id)}}),r(f.prototype,n?{get:function t(e){var n=g(this);if(o(e)){var r=i(e);return!0===r?b(n).get(e):r?r[n.id]:void 0}},set:function t(e,n){return h(this,e,n)}}:{add:function t(e){return h(this,e,!0)}}),f}}},
47"number-is-finite.js":function t(e,n,t){var r,i=e("../internals/global").isFinite;t.exports=Number.isFinite||function t(e){return"number"==typeof e&&i(e)}},
47"is-integer.js":function t(e,n,t){var r=e("../internals/is-object"),i=Math.floor;t.exports=function t(e){return!r(e)&&isFinite(e)&&i(e)===e}},
47"number-parse-float.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/string-trim").trim,s=e("../internals/whitespaces"),o=r.parseFloat,a=1/o(s+"-0")!=-1/0;t.exports=a?function t(e){var n=i(String(e)),r=o(n);return 0===r&&"-"==n.charAt(0)?-0:r}:o},
47"number-parse-int.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/string-trim").trim,s=e("../internals/whitespaces"),o=r.parseInt,a=/^[+-]?0[Xx]/,l=8!==o(s+"08")||22!==o(s+"0x16");t.exports=l?function t(e,n){var r=i(String(e));return o(r,n>>>0||(a.test(r)?16:10))}:o},
vendor: 3,667 bytes, line 47
47"typed-array-constructor.js":function t(e,n,t){"use strict";var r=e("../internals/export"),i=e("../internals/global"),s=e("../internals/descriptors"),o=e("../internals/typed-array-constructors-require-wrappers"),a=e("../internals/array-buffer-view-core"),l=e("../internals/array-buffer"),c=e("../internals/an-instance"),u=e("../internals/create-property-descriptor"),f=e("../internals/create-non-enumerable-property"),p=e("../internals/to-length"),d=e("../internals/to-index"),g=e("../internals/to-offset"),h=e("../internals/to-primitive"),y=e("../internals/has"),b=e("../internals/classof"),v=e("../internals/is-object"),m=e("../internals/object-create"),j=e("../internals/object-set-prototype-of"),x=e("../internals/object-get-own-property-names").f,w=e("../internals/typed-array-from"),S=e("../internals/array-iteration").forEach,k=e("../internals/set-species"),E=e("../internals/object-define-property"),O=e("../internals/object-get-own-property-descriptor"),A=e("../internals/internal-state"),M=e("../internals/inherit-if-required"),I=A.get,R=A.set,T=E.f,_=O.f,P=Math.round,N=i.RangeError,F=l.ArrayBuffer,z=l.DataView,L=a.NATIVE_ARRAY_BUFFER_VIEWS,C=a.TYPED_ARRAY_TAG,D=a.TypedArray,U=a.TypedArrayPrototype,W=a.aTypedArrayConstructor,q=a.isTypedArray,V="BYTES_PER_ELEMENT",B="Wrong length",G=function(t,e){for(var n=0,r=e.length,i=new(W(t))(r);r>n;)i[n]=e[n++];return i},$=function(t,e){T(t,e,{get:function(){return I(this)[e]}})},Y=function(t){var e;return t instanceof F||"ArrayBuffer"==(e=b(t))||"SharedArrayBuffer"==e},K=function(t,e){return q(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},H=function t(e,n){return K(e,n=h(n,!0))?u(2,e[n]):_(e,n)},X=function t(e,n,r){return!(K(e,n=h(n,!0))&&v(r)&&y(r,"value"))||y(r,"get")||y(r,"set")||r.configurable||y(r,"writable")&&!r.writable||y(r,"enumerable")&&!r.enumerable?T(e,n,r):(e[n]=r.value,e)};s?(L||(O.f=H,E.f=X,$(U,"buffer"),$(U,"byteOffset"),$(U,"byteLength"),$(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:H,defineProperty:X}),t.exports=function(t,e,n){var s=t.match(/\d+$/)[0]/8,a=t+(n?"Clamped":"")+"Array",l="get"+t,u="set"+t,h=i[a],y=h,b=y&&y.prototype,E={},O=function(t,e){var n=I(t);return n.view[l](e*s+n.byteOffset,!0)},A=function(t,e,r){var i=I(t);n&&(r=(r=P(r))<0?0:r>255?255:255&r),i.view[u](e*s+i.byteOffset,r,!0)},_=function(t,e){T(t,e,{get:function(){return O(this,e)},set:function(t){return A(this,e,t)},enumerable:!0})};L?o&&(y=e((function(t,e,n,r){return c(t,y,a),M(v(e)?Y(e)?void 0!==r?new h(e,g(n,s),r):void 0!==n?new h(e,g(n,s)):new h(e):q(e)?G(y,e):w.call(y,e):new h(d(e)),t,y)})),j&&j(y,D),S(x(h),(function(t){t in y||f(y,t,h[t])})),y.prototype=b):(y=e((function(t,e,n,r){c(t,y,a);var i=0,o=0,l,u,f;if(v(e)){if(!Y(e))return q(e)?G(y,e):w.call(y,e);l=e,o=g(n,s);var h=e.byteLength;if(void 0===r){if(h%s)throw N(B);if((u=h-o)<0)throw N(B)}else if((u=p(r)*s)+o>h)throw N(B);f=u/s}else f=d(e),l=new F(u=f*s);for(R(t,{buffer:l,byteOffset:o,byteLength:u,length:f,view:new z(l)});i<f;)_(t,i++)})),j&&j(y,D),b=y.prototype=m(U)),b.constructor!==y&&f(b,"constructor",y),C&&f(b,C,a),E[a]=y,r({global:!0,forced:y!=h,sham:!L},E),V in y||f(y,V,s),V in b||f(b,V,s),k(a)}):t.exports=function(){}},"typed-array-constructors-require-wrappers.js":function t(e,n,t){var r=e("../internals/global"),i=e("../internals/fails"),s=e("../internals/check-correctness-of-iteration"),o=e("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,a=r.ArrayBuffer,l=r.Int8Array;t.exports=!o||!i((function(){l(1)}))||!i((function(){new l(-1)}))||!s((function(t){new l,new l(null),new l(1.5),new l(t)}),!0)||i((function(){return 1!==new l(new a(2),1,void 0).length}))},
47"array-buffer-view-core.js":function t(e,n,t){"use strict";var r=e("../internals/array-buffer-native"),i=e("../internals/descriptors"),s=e("../internals/global"),o=e("../internals/is-object"),a=e("../internals/has"),l=e("../internals/classof"),c=e("../internals/create-non-enumerable-property"),u=e("../internals/redefine"),f=e("../internals/object-define-property").f,p=e("../internals/object-get-prototype-of"),d=e("../internals/object-set-prototype-of"),g=e("../internals/well-known-symbol"),h=e("../internals/uid"),y=s.Int8Array,b=y&&y.prototype,v=s.Uint8ClampedArray,m=v&&v.prototype,j=y&&p(y),x=b&&p(b),w=Object.prototype,S=w.isPrototypeOf,k=g("toStringTag"),E=h("TYPED_ARRAY_TAG"),O=r&&!!d&&"Opera"!==l(s.opera),A=!1,M,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},T=function t(e){if(!o(e))return!1;var n=l(e);return"DataView"===n||a(I,n)||a(R,n)},_=function(t){if(!o(t))return!1;var e=l(t);return a(I,e)||a(R,e)},P=function(t){if(_(t))return t;throw TypeError("Target is not a typed array")},N=function(t){if(d){if(S.call(j,t))return t}else for(var e in I)if(a(I,M)){var n=s[e];if(n&&(t===n||S.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},F=function(t,e,n){if(i){if(n)for(var r in I){var o=s[r];if(o&&a(o.prototype,t))try{delete o.prototype[t]}catch(l){}}x[t]&&!n||u(x,t,n?e:O&&b[t]||e)}},z=function(t,e,n){var r,o;if(i){if(d){if(n)for(r in I)if((o=s[r])&&a(o,t))try{delete o[t]}catch(l){}if(j[t]&&!n)return;try{return u(j,t,n?e:O&&j[t]||e)}catch(l){}}for(r in I)!(o=s[r])||o[t]&&!n||u(o,t,e)}};
vendor: 580 bytes, line 47
47for(M in I)s[M]||(O=!1);if((!O||"function"!=typeof j||j===Function.prototype)&&(j=function t(){throw TypeError("Incorrect invocation")},O))for(M in I)s[M]&&d(s[M],j);if((!O||!x||x===w)&&(x=j.prototype,O))for(M in I)s[M]&&d(s[M].prototype,x);if(O&&p(m)!==x&&d(m,x),i&&!a(x,k))for(M in A=!0,f(x,k,{get:function(){return o(this)?this[E]:void 0}}),I)s[M]&&c(s[M],E,M);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:A&&E,aTypedArray:P,aTypedArrayConstructor:N,exportTypedArrayMethod:F,exportTypedArrayStaticMethod:z,isView:T,isTypedArray:_,TypedArray:j,TypedArrayPrototype:x}},
47"array-buffer-native.js":function t(e,n,t){t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},
vendor: 3,796 bytes, line 47
47"array-buffer.js":function t(e,n,t){"use strict";var r=e("../internals/global"),i=e("../internals/descriptors"),s=e("../internals/array-buffer-native"),o=e("../internals/create-non-enumerable-property"),a=e("../internals/redefine-all"),l=e("../internals/fails"),c=e("../internals/an-instance"),u=e("../internals/to-integer"),f=e("../internals/to-length"),p=e("../internals/to-index"),d=e("../internals/ieee754"),g=e("../internals/object-get-prototype-of"),h=e("../internals/object-set-prototype-of"),y=e("../internals/object-get-own-property-names").f,b=e("../internals/object-define-property").f,v=e("../internals/array-fill"),m=e("../internals/set-to-string-tag"),j=e("../internals/internal-state"),x=j.get,w=j.set,S="ArrayBuffer",k="DataView",E="prototype",O="Wrong length",A="Wrong index",M=r.ArrayBuffer,I=M,R=r.DataView,T=R&&R.prototype,_=Object.prototype,P=r.RangeError,N=d.pack,F=d.unpack,z=function(t){return[255&t]},L=function(t){return[255&t,t>>8&255]},C=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},D=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},U=function(t){return N(t,23,4)},W=function(t){return N(t,52,8)},q=function(t,e){b(t.prototype,e,{get:function(){return x(this)[e]}})},V=function(t,e,n,r){var i=p(n),s=x(t);if(i+e>s.byteLength)throw P(A);var o=x(s.buffer).bytes,a=i+s.byteOffset,l=o.slice(a,a+e);return r?l:l.reverse()},B=function(t,e,n,r,i,s){var o=p(n),a=x(t);if(o+e>a.byteLength)throw P(A);for(var l=x(a.buffer).bytes,c=o+a.byteOffset,u=r(+i),f=0;f<e;f++)l[c+f]=u[s?f:e-f-1]};if(s){if(!l((function(){M(1)}))||!l((function(){new M(-1)}))||l((function(){return new M,new M(1.5),new M(NaN),M.name!=S}))){for(var G=(I=function t(e){return c(this,I),new M(p(e))}).prototype=M.prototype,$=y(M),Y=0,K;$.length>Y;)(K=$[Y++])in I||o(I,K,M[K]);G.constructor=I}h&&g(T)!==_&&h(T,_);var H=new R(new I(2)),X=T.setInt8;H.setInt8(0,2147483648),H.setInt8(1,2147483649),!H.getInt8(0)&&H.getInt8(1)||a(T,{setInt8:function t(e,n){X.call(this,e,n<<24>>24)},setUint8:function t(e,n){X.call(this,e,n<<24>>24)}},{unsafe:!0})}else I=function t(e){c(this,I,S);var n=p(e);w(this,{bytes:v.call(new Array(n),0),byteLength:n}),i||(this.byteLength=n)},R=function t(e,n,r){c(this,R,k),c(e,I,k);var s=x(e).byteLength,o=u(n);if(o<0||o>s)throw P("Wrong offset");if(o+(r=void 0===r?s-o:f(r))>s)throw P(O);w(this,{buffer:e,byteLength:r,byteOffset:o}),i||(this.buffer=e,this.byteLength=r,this.byteOffset=o)},i&&(q(I,"byteLength"),q(R,"buffer"),q(R,"byteLength"),q(R,"byteOffset")),a(R.prototype,{getInt8:function t(e){return V(this,1,e)[0]<<24>>24},getUint8:function t(e){return V(this,1,e)[0]},getInt16:function t(e){var n=V(this,2,e,arguments.length>1?arguments[1]:void 0);return(n[1]<<8|n[0])<<16>>16},getUint16:function t(e){var n=V(this,2,e,arguments.length>1?arguments[1]:void 0);return n[1]<<8|n[0]},getInt32:function t(e){return D(V(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function t(e){return D(V(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function t(e){return F(V(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function t(e){return F(V(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function t(e,n){B(this,1,e,z,n)},setUint8:function t(e,n){B(this,1,e,z,n)},setInt16:function t(e,n){B(this,2,e,L,n,arguments.length>2?arguments[2]:void 0)},setUint16:function t(e,n){B(this,2,e,L,n,arguments.length>2?arguments[2]:void 0)},setInt32:function t(e,n){B(this,4,e,C,n,arguments.length>2?arguments[2]:void 0)},setUint32:function t(e,n){B(this,4,e,C,n,arguments.length>2?arguments[2]:void 0)},setFloat32:function t(e,n){B(this,4,e,U,n,arguments.length>2?arguments[2]:void 0)},setFloat64:function t(e,n){B(this,8,e,W,n,arguments.length>2?arguments[2]:void 0)}});m(I,S),m(R,k),t.exports={ArrayBuffer:I,DataView:R}},
47"to-index.js":function t(e,n,t){var r=e("../internals/to-integer"),i=e("../internals/to-length");t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=i(e);if(e!==n)throw RangeError("Wrong length or index");return n}},
vendor: 833 bytes, line 47
47"ieee754.js":function t(e,n,t){var r=Math.abs,i=Math.pow,s=Math.floor,o=Math.log,a=Math.LN2,l=function(t,e,n){var l=new Array(n),c=8*n-e-1,u=(1<<c)-1,f=u>>1,p=23===e?i(2,-24)-i(2,-77):0,d=t<0||0===t&&1/t<0?1:0,g=0,h,y,b;for((t=r(t))!=t||t===1/0?(y=t!=t?1:0,h=u):(h=s(o(t)/a),t*(b=i(2,-h))<1&&(h--,b*=2),(t+=h+f>=1?p/b:p*i(2,1-f))*b>=2&&(h++,b/=2),h+f>=u?(y=0,h=u):h+f>=1?(y=(t*b-1)*i(2,e),h+=f):(y=t*i(2,f-1)*i(2,e),h=0));e>=8;l[g++]=255&y,y/=256,e-=8);for(h=h<<e|y,c+=e;c>0;l[g++]=255&h,h/=256,c-=8);return l[--g]|=128*d,l},c=function(t,e){var n=t.length,r=8*n-e-1,s=(1<<r)-1,o=s>>1,a=r-7,l=n-1,c=t[l--],u=127&c,f;for(c>>=7;a>0;u=256*u+t[l],l--,a-=8);for(f=u&(1<<-a)-1,u>>=-a,a+=e;a>0;f=256*f+t[l],l--,a-=8);if(0===u)u=1-o;else{if(u===s)return f?NaN:c?-1/0:1/0;f+=i(2,e),u-=o}return(c?-1:1)*f*i(2,u-e)};t.exports={pack:l,unpack:c}},
47"to-offset.js":function t(e,n,t){var r=e("../internals/to-positive-integer");t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},
47"to-positive-integer.js":function t(e,n,t){var r=e("../internals/to-integer");t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},
47"typed-array-from.js":function t(e,n,t){var r=e("../internals/to-object"),i=e("../internals/to-length"),s=e("../internals/get-iterator-method"),o=e("../internals/is-array-iterator-method"),a=e("../internals/function-bind-context"),l=e("../internals/array-buffer-view-core").aTypedArrayConstructor;t.exports=function t(e){var n=r(e),c=arguments.length,u=c>1?arguments[1]:void 0,f=void 0!==u,p=s(n),d,g,h,y,b,v;if(null!=p&&!o(p))for(v=(b=p.call(n)).next,n=[];!(y=v.call(b)).done;)n.push(y.value);for(f&&c>2&&(u=a(u,arguments[2],2)),g=i(n.length),h=new(l(this))(g),d=0;g>d;d++)h[d]=f?u(n[d],d):n[d];return h}}}}}}}}},{extensions:[".js",".json"]}),u=c("/node_modules/meteor/ecmascript-runtime-client/legacy.js");Package._define("ecmascript-runtime-client",u,{Symbol:o,Map:a,Set:l})}();
48
49Package._define("ddp-rate-limiter");
50
51!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,d,f=r({node_modules:{meteor:{random:{
51"main_client.js":function n(e,t,n){var r,o,i,a;n.export({Random:function(){return u}}),n.link("./BrowserRandomGenerator",{default:function(n){r=n}},0),n.link("./createAleaGenerator",{default:function(n){o=n}},1),n.link("./createRandom",{default:function(n){i=n}},2),a="undefined"!=typeof window&&window.crypto&&window.crypto.getRandomValues?new r:o();var u=i(a)},
51"AbstractRandomGenerator.js":function n(e,t,n){var r;n.export({default:function(){return a}}),n.link("meteor/meteor",{Meteor:function(n){r=n}},0);var o="23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz",i="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_",a=function(){function n(){}var e=n.prototype;return e.fraction=function(){function n(){throw new Error("Unknown random generator type")}return n}(),e.hexString=function(){function n(n){return this._randomString(n,"0123456789abcdef")}return n}(),e._randomString=function(){function n(n,e){for(var t="",r=0;r<n;r++)t+=this.choice(e);return t}return n}(),e.id=function(){function n(n){return void 0===n&&(n=17),this._randomString(n,o)}return n}(),e.secret=function(){function n(n){return void 0===n&&(n=43),this._randomString(n,i)}return n}(),e.choice=function(){function n(n){var e=Math.floor(this.fraction()*n.length);return"string"==typeof n?n.substr(e,1):n[e]}return n}(),n}()},
51"AleaRandomGenerator.js":function n(e,t,n){var r,o;function i(n){function e(){var n=4022871197,e=function(e){e=e.toString();for(var t=0;t<e.length;t++){var r=.02519603282416938*(n+=e.charCodeAt(t));r-=n=r>>>0,n=(r*=n)>>>0,n+=4294967296*(r-=n)}return 2.3283064365386963e-10*(n>>>0)};return e.version="Mash 0.9",e}var t=0,r=0,o=0,i=1;0===n.length&&(n=[+new Date]);var a=e();t=a(" "),r=a(" "),o=a(" ");for(var u=0;u<n.length;u++)(t-=a(n[u]))<0&&(t+=1),(r-=a(n[u]))<0&&(r+=1),(o-=a(n[u]))<0&&(o+=1);a=null;var c=function(){var n=2091639*t+2.3283064365386963e-10*i;return t=r,r=o,o=n-(i=0|n)};return c.uint32=function(){return 4294967296*c()},c.fract53=function(){return c()+11102230246251565e-32*(2097152*c()|0)},c.version="Alea 0.9",c.args=n,c}n.link("@babel/runtime/helpers/inheritsLoose",{default:function(n){r=n}},0),n.export({default:function(){return a}}),n.link("./AbstractRandomGenerator",{default:function(n){o=n}},0);var a=function(n){function e(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.seeds,o=void 0===r?[]:r;if(e=n.call(this)||this,!o)throw new Error("No seeds were provided for Alea PRNG");return e.alea=i(o),e}var t;return r(e,n),e.prototype.fraction=function(){function n(){return this.alea()}return n}(),e}(o)},
51"BrowserRandomGenerator.js":function n(e,t,n){var r,o;n.link("@babel/runtime/helpers/inheritsLoose",{default:function(n){r=n}},0),n.export({default:function(){return i}}),n.link("./AbstractRandomGenerator",{default:function(n){o=n}},0);var i=function(n){function e(){return n.apply(this,arguments)||this}var t;return r(e,n),e.prototype.fraction=function(){function n(){var n=new Uint32Array(1);return window.crypto.getRandomValues(n),2.3283064365386963e-10*n[0]}return n}(),e}(o)},
51"createAleaGenerator.js":function n(e,t,n){var r;n.export({default:function(){return u}}),n.link("./AleaRandomGenerator",{default:function(n){r=n}},0);var o="undefined"!=typeof window&&window.innerHeight||"undefined"!=typeof document&&document.documentElement&&document.documentElement.clientHeight||"undefined"!=typeof document&&document.body&&document.body.clientHeight||1,i="undefined"!=typeof window&&window.innerWidth||"undefined"!=typeof document&&document.documentElement&&document.documentElement.clientWidth||"undefined"!=typeof document&&document.body&&document.body.clientWidth||1,a="undefined"!=typeof navigator&&navigator.userAgent||"";function u(){return new r({seeds:[new Date,o,i,a,Math.random()]})}},
51"createRandom.js":function n(e,t,n){var r,o;function i(n){return n.createWithSeeds=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];if(0===e.length)throw new Error("No seeds were provided");return new r({seeds:e})},n.insecure=o(),n}n.export({default:function(){return i}}),n.link("./AleaRandomGenerator",{default:function(n){r=n}},0),n.link("./createAleaGenerator",{default:function(n){o=n}},1)}}}}},{extensions:[".js",".json"]}),l=f("/node_modules/meteor/random/main_client.js");Package._define("random",l,{Random:d})}();
52
53!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,a=Package.random.Random;(function(){var o=Object.prototype.hasOwnProperty,r="_localstorage_test_"+a.id(),n,l;try{(l=t.localStorage)&&(l.setItem(r,r),n=l.getItem(r),l.removeItem(r))}catch(c){}r===n&&(e.isServer?e._localStorage=l:["getItem","setItem","removeItem"].forEach((function(e){this[e]=function(){return l[e].apply(l,arguments)}}),e._localStorage={})),e._localStorage||(e.isClient&&e._debug("You are running a browser with no localStorage or userData support. Logging in from one tab will not cause another tab to be logged in."),e._localStorage=Object.create({setItem:function(e,t){this[e]=t},removeItem:function(e){delete this[e]},getItem:function(e){return o.call(this,e)?this[e]:null}}))}).call(this),Package._define("localstorage")}();
54
55!function(){var n=Package.meteor.Meteor,t=Package.meteor.global,e=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,a=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,c,f,h=r({node_modules:{meteor:{tracker:{
55"tracker.js":function t(){function e(n){c.currentComputation=n,c.active=!!n}function r(){return"undefined"!=typeof n?n._debug:"undefined"!=typeof console&&console.error?function(){console.error.apply(console,arguments)}:function(){}}function o(t){"undefined"!=typeof n&&n._suppressed_log_expected()&&n._suppress_log(t-1)}function u(n,t){if(v)throw t;var e=["Exception from Tracker "+n+" function:"];if(t.stack&&t.message&&t.name){var i=t.stack.indexOf(t.message);if(i<0||i>t.name.length+2){var u=t.name+": "+t.message;e.push(u)}}e.push(t.stack),o(e.length);for(var a=0;a<e.length;a++)r()(e[a])}function a(t){return"undefined"==typeof n||n.isClient?t:function(){var e=arguments;n._noYieldsAllowed((function(){t.apply(null,e)}))}}f=c={},c.active=!1,c.currentComputation=null;var s=1,h=[],l=!1,p=!1,d=!1,v=!1,m=[];function _(){l||("undefined"!=typeof n?n._setImmediate(c._runFlush):setTimeout(c._runFlush,0),l=!0)}var y=!1;c.Computation=function(){function n(n,t,e){if(!y)throw new Error("Tracker.Computation constructor is private; use Tracker.autorun");y=!1,this.stopped=!1,this.invalidated=!1,this.firstRun=!0,this._id=s++,this._onInvalidateCallbacks=[],this._onStopCallbacks=[],this._parent=t,this._func=n,this._onError=e,this._recomputing=!1;var r=!0;try{this._compute(),r=!1}finally{this.firstRun=!1,r&&this.stop()}}var t=n.prototype;return t.onInvalidate=function(){function n(n){var t=this;if("function"!=typeof n)throw new Error("onInvalidate requires a function");this.invalidated?c.nonreactive((function(){a(n)(t)})):this._onInvalidateCallbacks.push(n)}return n}(),t.onStop=function(){function n(n){var t=this;if("function"!=typeof n)throw new Error("onStop requires a function");this.stopped?c.nonreactive((function(){a(n)(t)})):this._onStopCallbacks.push(n)}return n}(),t.invalidate=function(){function n(){var n=this;if(!this.invalidated){this._recomputing||this.stopped||(_(),h.push(this)),this.invalidated=!0;for(var t=0,e;e=this._onInvalidateCallbacks[t];t++)c.nonreactive((function(){a(e)(n)}));this._onInvalidateCallbacks=[]}}return n}(),t.stop=function(){function n(){var n=this;if(!this.stopped){this.stopped=!0,this.invalidate();for(var t=0,e;e=this._onStopCallbacks[t];t++)c.nonreactive((function(){a(e)(n)}));this._onStopCallbacks=[]}}return n}(),t._compute=function(){function n(){this.invalidated=!1;var n=c.currentComputation;e(this);var t=d;d=!0;try{a(this._func)(this)}finally{e(n),d=t}}return n}(),t._needsRecompute=function(){function n(){return this.invalidated&&!this.stopped}return n}(),t._recompute=function(){function n(){this._recomputing=!0;try{if(this._needsRecompute())try{this._compute()}catch(n){this._onError?this._onError(n):u("recompute",n)}}finally{this._recomputing=!1}}return n}(),t.flush=function(){function n(){this._recomputing||this._recompute()}return n}(),t.run=function(){function n(){this.invalidate(),this.flush()}return n}(),n}(),c.Dependency=function(){function n(){this._dependentsById=Object.create(null)}var t=n.prototype;return t.depend=function(){function n(n){var t=this;if(!n){if(!c.active)return!1;n=c.currentComputation}var e=n._id;return!(e in this._dependentsById)&&(this._dependentsById[e]=n,n.onInvalidate((function(){delete t._dependentsById[e]})),!0)}return n}(),t.changed=function(){function n(){for(var n in i.sanitizeForInObject(this._dependentsById))this._dependentsById[n].invalidate()}return n}(),t.hasDependents=function(){function n(){for(var n in i.sanitizeForInObject(this._dependentsById))return!0;return!1}return n}(),n}(),c.flush=function(n){c._runFlush({finishSynchronously:!0,throwFirstError:n&&n._throwFirstError})},c.inFlush=function(){return p},c._runFlush=function(n){if(c.inFlush())throw new Error("Can't call Tracker.flush while flushing");if(d)throw new Error("Can't flush inside Tracker.autorun");p=!0,l=!0,v=!!(n=n||{}).throwFirstError;var t=0,e=!1;try{for(;h.length||m.length;){for(;h.length;){var r=h.shift();if(r._recompute(),r._needsRecompute()&&h.unshift(r),!n.finishSynchronously&&++t>1e3)return void(e=!0)}if(m.length){var i=m.shift();try{i()}catch(o){u("afterFlush",o)}}}e=!0}finally{if(e||(p=!1,c._runFlush({finishSynchronously:n.finishSynchronously,throwFirstError:!1})),l=!1,p=!1,h.length||m.length){if(n.finishSynchronously)throw new Error("still have more to do?");setTimeout(_,10)}}},c.autorun=function(n,t){if("function"!=typeof n)throw new Error("Tracker.autorun requires a function argument");t=t||{},y=!0;var e=new c.Computation(n,c.currentComputation,t.onError);return c.active&&c.onInvalidate((function(){e.stop()})),e},c.nonreactive=function(n){var t=c.currentComputation;e(null);try{return n()}finally{e(t)}},c.onInvalidate=function(n){if(!c.active)throw new Error("Tracker.onInvalidate requires a currentComputation");c.currentComputation.onInvalidate(n)},c.afterFlush=function(n){m.push(n),_()}}}}}},{extensions:[".js",".json"]});h("/node_modules/meteor/tracker/tracker.js"),Package._define("tracker",{Tracker:c,Deps:f})}();
56
57!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,o=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,a=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,s,u=o({node_modules:{meteor:{"callback-hook":{
57"hook.js":function n(t,o,n){n.export({Hook:function(){return i}});var r=Object.prototype.hasOwnProperty,i=function(){function n(e){if(e=e||{},this.nextCallbackId=0,this.callbacks=Object.create(null),this.bindEnvironment=!0,!1===e.bindEnvironment&&(this.bindEnvironment=!1),e.exceptionHandler)this.exceptionHandler=e.exceptionHandler;else if(e.debugPrintExceptions){if("string"!=typeof e.debugPrintExceptions)throw new Error("Hook option debugPrintExceptions should be a string");this.exceptionHandler=e.debugPrintExceptions}}var t=n.prototype;return t.register=function(){function n(n){var t=this,o=this.exceptionHandler||function(e){throw e};n=this.bindEnvironment?e.bindEnvironment(n,o):c(n,o);var r=this.nextCallbackId++;return this.callbacks[r]=n,{callback:n,stop:function(){delete t.callbacks[r]}}}return n}(),t.forEach=function(){function n(n){e._nodeCodeMustBeInFiber();for(var t=Object.keys(this.callbacks),o=0;o<t.length;++o){var i=t[o],c;if(r.call(this.callbacks,i))if(!n(this.callbacks[i]))break}}return n}(),t.each=function(){function e(e){return this.forEach(e)}return e}(),n}();function c(n,t,o){if(!t||"string"==typeof t){var r=t||"callback of async function";t=function(n){e._debug("Exception in "+r,n)}}return function(){var e;try{for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];e=n.apply(o,i)}catch(a){t(a)}return e}}}}}}},{extensions:[".js",".json"]}),k=u("/node_modules/meteor/callback-hook/hook.js");Package._define("callback-hook",k,{Hook:s})}();
58
59!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,r=Package.meteor.meteorEnv,n=Package.tracker.Tracker,a=Package.tracker.Deps,i;(function(){(i=function(e,t){if(!(this instanceof i))return new i(e,t);this.curValue=e,this.equalsFunc=t,this.dep=new n.Dependency})._isEqual=function(e,t){var r=e,n;return e===t&&(!e||"number"==typeof e||"boolean"==typeof e||"string"==typeof e)},i.prototype.get=function(){return n.active&&this.dep.depend(),this.curValue},i.prototype.set=function(e){var t=this.curValue;(this.equalsFunc||i._isEqual)(t,e)||(this.curValue=e,this.dep.changed())},i.prototype.toString=function(){return"ReactiveVar{"+this.get()+"}"},i.prototype._numListeners=function(){var e=0;for(var t in this.dep._dependentsById)e++;return e}}).call(this),Package._define("reactive-var",{ReactiveVar:i})}();
60
61!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,i,a,s=r({node_modules:{meteor:{url:{
61"modern.js":function e(n,r){i=t.URL,a=t.URLSearchParams,r.URL=i,r.URLSearchParams=a,Object.assign(i,n("./bc/url_client"))},
61"legacy.js":function e(t){try{t("core-js/proposals/url")}catch(n){throw new Error(["The core-js npm package could not be found in your node_modules ","directory. Please run the following command to install it:","","  meteor npm install --save core-js",""].join("\n"))}t("./modern.js")},bc:{
61"url_client.js":function e(t,n){var r=t("./url_common.js");n._constructUrl=function(e,t,n){var o=/^(.*?)(\?.*)?$/.exec(e);return r.buildUrl(o[1],o[2],t,n)},n._encodeParams=r._encodeParams},
61"url_common.js":function e(t,n){function r(e){return encodeURIComponent(e).replace(/\*/g,"%2A")}var o=function(e,t){var n=[],i=Array.isArray(e);for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=t?t+"["+(i?"":a)+"]":a,l=e[a];if("object"==typeof l)n.push(o(l,s));else{var c=r(s).replace("%5B","[").replace("%5D","]");n.push(c+"="+r(l))}}return n.join("&").replace(/%20/g,"+")};n._encodeParams=o,n.buildUrl=function(e,t,n,r){var i=e,a=t?t.slice(1):null;if("string"==typeof n&&(a=String(n)),r){a=a||"";var s=o(r);a&&s&&(a+="&"),a+=s}var l=i;return null!==a&&(l+="?"+a),l}}},node_modules:{"core-js":{proposals:{
61"url.js":function e(t){t("../modules/web.url"),t("../modules/web.url.to-json"),t("../modules/web.url-search-params")}},modules:{
vendor: 11,645 bytes, line 61
61"web.url.js":function e(t){"use strict";t("../modules/es.string.iterator");var n=t("../internals/export"),r=t("../internals/descriptors"),o=t("../internals/native-url"),i=t("../internals/global"),a=t("../internals/object-define-properties"),s=t("../internals/redefine"),l=t("../internals/an-instance"),c=t("../internals/has"),u=t("../internals/object-assign"),f=t("../internals/array-from"),p=t("../internals/string-multibyte").codeAt,h=t("../internals/string-punycode-to-ascii"),y=t("../internals/set-to-string-tag"),g=t("../modules/web.url-search-params"),d=t("../internals/internal-state"),v=i.URL,b=g.URLSearchParams,m=g.getState,j=d.set,w=d.getterFor("URL"),x=Math.floor,k=Math.pow,S="Invalid authority",O="Invalid scheme",A="Invalid host",R="Invalid port",P=/[A-Za-z]/,U=/[\d+-.A-Za-z]/,L=/\d/,E=/^(0x|0X)/,_=/^[0-7]+$/,I=/^\d+$/,q=/^[\dA-Fa-f]+$/,T=/[\0\t\n\r #%/:?@[\\]]/,B=/[\0\t\n\r #/:?@[\\]]/,C=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\t\n\r]/g,M,N=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return A;if(!(n=D(t.slice(1,-1))))return A;e.host=n}else if(K(e)){if(t=h(t),T.test(t))return A;if(null===(n=z(t)))return A;e.host=n}else{if(B.test(t))return A;for(n="",r=f(t),o=0;o<r.length;o++)n+=X(r[o],W);e.host=n}},z=function(e){var t=e.split("."),n,r,o,i,a,s,l;if(t.length&&""==t[t.length-1]&&t.pop(),(n=t.length)>4)return e;for(r=[],o=0;o<n;o++){if(""==(i=t[o]))return e;if(a=10,i.length>1&&"0"==i.charAt(0)&&(a=E.test(i)?16:8,i=i.slice(8==a?1:2)),""===i)s=0;else{if(!(10==a?I:8==a?_:q).test(i))return e;s=parseInt(i,a)}r.push(s)}for(o=0;o<n;o++)if(s=r[o],o==n-1){if(s>=k(256,5-n))return null}else if(s>255)return null;for(l=r.pop(),o=0;o<r.length;o++)l+=r[o]*k(256,3-o);return l},D=function(e){var t=[0,0,0,0,0,0,0,0],n=0,r=null,o=0,i,a,s,l,c,u,f,p=function(){return e.charAt(o)};if(":"==p()){if(":"!=e.charAt(1))return;o+=2,r=++n}for(;p();){if(8==n)return;if(":"!=p()){for(i=a=0;a<4&&q.test(p());)i=16*i+parseInt(p(),16),o++,a++;if("."==p()){if(0==a)return;if(o-=a,n>6)return;for(s=0;p();){if(l=null,s>0){if(!("."==p()&&s<4))return;o++}if(!L.test(p()))return;for(;L.test(p());){if(c=parseInt(p(),10),null===l)l=c;else{if(0==l)return;l=10*l+c}if(l>255)return;o++}t[n]=256*t[n]+l,2!=++s&&4!=s||n++}if(4!=s)return;break}if(":"==p()){if(o++,!p())return}else if(p())return;t[n++]=i}else{if(null!==r)return;o++,r=++n}}if(null!==r)for(u=n-r,n=7;0!=n&&u>0;)f=t[n],t[n--]=t[r+u-1],t[r+--u]=f;else if(8!=n)return;return t},G=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t},$=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=x(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=G(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},J=u({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),Y=u({},J,{"#":1,"?":1,"{":1,"}":1}),H=u({},Y,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),X=function(e,t){var n=p(e,0);return n>32&&n<127&&!c(t,e)?e:encodeURIComponent(e)},Z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},K=function(e){return c(Z,e.scheme)},V=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},ee=function(e,t){var n;return 2==e.length&&P.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},te=function(e){var t;return e.length>1&&ee(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},ne=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&ee(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},oe=function(e){return".."===(e=e.toLowerCase())||"%2e."===e||".%2e"===e||"%2e%2e"===e},ie={},ae={},se={},le={},ce={},ue={},fe={},pe={},he={},ye={},ge={},de={},ve={},be={},me={},je={},we={},xe={},ke={},Se={},Oe={},Ae=function(e,t,n,r){var o=n||ie,i=0,a="",s=!1,l=!1,u=!1,p,h,y,g;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(C,"")),t=t.replace(F,""),p=f(t);i<=p.length;){switch(h=p[i],o){case ie:if(!h||!P.test(h)){if(n)return O;o=se;continue}a+=h.toLowerCase(),o=ae;break;case ae:if(h&&(U.test(h)||"+"==h||"-"==h||"."==h))a+=h.toLowerCase();else{if(":"!=h){if(n)return O;a="",o=se,i=0;continue}if(n&&(K(e)!=c(Z,a)||"file"==a&&(V(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=a,n)return void(K(e)&&Z[e.scheme]==e.port&&(e.port=null));a="","file"==e.scheme?o=be:K(e)&&r&&r.scheme==e.scheme?o=le:K(e)?o=pe:"/"==p[i+1]?(o=ce,i++):(e.cannotBeABaseURL=!0,e.path.push(""),o=ke)}break;case se:if(!r||r.cannotBeABaseURL&&"#"!=h)return O;if(r.cannotBeABaseURL&&"#"==h){e.scheme=r.scheme,e.path=r.path.slice(),e.query=r.query,e.fragment="",e.cannotBeABaseURL=!0,o=Oe;break}o="file"==r.scheme?be:ue;continue;case le:if("/"!=h||"/"!=p[i+1]){o=ue;continue}o=he,i++;break;case ce:if("/"==h){o=ye;break}o=xe;continue;case ue:if(e.scheme=r.scheme,h==M)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query;else if("/"==h||"\\"==h&&K(e))o=fe;else if("?"==h)e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query="",o=Se;else{if("#"!=h){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.path.pop(),o=xe;continue}e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,e.path=r.path.slice(),e.query=r.query,e.fragment="",o=Oe}break;case fe:if(!K(e)||"/"!=h&&"\\"!=h){if("/"!=h){e.username=r.username,e.password=r.password,e.host=r.host,e.port=r.port,o=xe;continue}o=ye}else o=he;break;case pe:if(o=he,"/"!=h||"/"!=a.charAt(i+1))continue;i++;break;case he:if("/"!=h&&"\\"!=h){o=ye;continue}break;case ye:if("@"==h){s&&(a="%40"+a),s=!0,y=f(a);for(var d=0;d<y.length;d++){var v=y[d];if(":"!=v||u){var b=X(v,H);u?e.password+=b:e.username+=b}else u=!0}a=""}else if(h==M||"/"==h||"?"==h||"#"==h||"\\"==h&&K(e)){if(s&&""==a)return S;i-=f(a).length+1,a="",o=ge}else a+=h;break;case ge:case de:if(n&&"file"==e.scheme){o=je;continue}if(":"!=h||l){if(h==M||"/"==h||"?"==h||"#"==h||"\\"==h&&K(e)){if(K(e)&&""==a)return A;if(n&&""==a&&(V(e)||null!==e.port))return;if(g=N(e,a))return g;if(a="",o=we,n)return;continue}"["==h?l=!0:"]"==h&&(l=!1),a+=h}else{if(""==a)return A;if(g=N(e,a))return g;if(a="",o=ve,n==de)return}break;case ve:if(!L.test(h)){if(h==M||"/"==h||"?"==h||"#"==h||"\\"==h&&K(e)||n){if(""!=a){var m=parseInt(a,10);if(m>65535)return R;e.port=K(e)&&m===Z[e.scheme]?null:m,a=""}if(n)return;o=we;continue}return R}a+=h;break;case be:if(e.scheme="file","/"==h||"\\"==h)o=me;else{if(!r||"file"!=r.scheme){o=xe;continue}if(h==M)e.host=r.host,e.path=r.path.slice(),e.query=r.query;else if("?"==h)e.host=r.host,e.path=r.path.slice(),e.query="",o=Se;else{if("#"!=h){te(p.slice(i).join(""))||(e.host=r.host,e.path=r.path.slice(),ne(e)),o=xe;continue}e.host=r.host,e.path=r.path.slice(),e.query=r.query,e.fragment="",o=Oe}}break;case me:if("/"==h||"\\"==h){o=je;break}r&&"file"==r.scheme&&!te(p.slice(i).join(""))&&(ee(r.path[0],!0)?e.path.push(r.path[0]):e.host=r.host),o=xe;continue;case je:if(h==M||"/"==h||"\\"==h||"?"==h||"#"==h){if(!n&&ee(a))o=xe;else if(""==a){if(e.host="",n)return;o=we}else{if(g=N(e,a))return g;if("localhost"==e.host&&(e.host=""),n)return;a="",o=we}continue}a+=h;break;case we:if(K(e)){if(o=xe,"/"!=h&&"\\"!=h)continue}else if(n||"?"!=h)if(n||"#"!=h){if(h!=M&&(o=xe,"/"!=h))continue}else e.fragment="",o=Oe;else e.query="",o=Se;break;case xe:if(h==M||"/"==h||"\\"==h&&K(e)||!n&&("?"==h||"#"==h)){if(oe(a)?(ne(e),"/"==h||"\\"==h&&K(e)||e.path.push("")):re(a)?"/"==h||"\\"==h&&K(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&ee(a)&&(e.host&&(e.host=""),a=a.charAt(0)+":"),e.path.push(a)),a="","file"==e.scheme&&(h==M||"?"==h||"#"==h))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==h?(e.query="",o=Se):"#"==h&&(e.fragment="",o=Oe)}else a+=X(h,Y);break;case ke:"?"==h?(e.query="",o=Se):"#"==h?(e.fragment="",o=Oe):h!=M&&(e.path[0]+=X(h,W));break;case Se:n||"#"!=h?h!=M&&("'"==h&&K(e)?e.query+="%27":e.query+="#"==h?"%23":X(h,W)):(e.fragment="",o=Oe);break;case Oe:h!=M&&(e.fragment+=X(h,J))}i++}},Re=function e(t){var n=l(this,Re,"URL"),o=arguments.length>1?arguments[1]:void 0,i=String(t),a=j(n,{type:"URL"}),s,c;if(void 0!==o)if(o instanceof Re)s=w(o);else if(c=Ae(s={},String(o)))throw TypeError(c);if(c=Ae(a,i,null,s))throw TypeError(c);var u=a.searchParams=new b,f=m(u);f.updateSearchParams(a.query),f.updateURL=function(){a.query=String(u)||null},r||(n.href=Ue.call(n),n.origin=Le.call(n),n.protocol=Ee.call(n),n.username=_e.call(n),n.password=Ie.call(n),n.host=qe.call(n),n.hostname=Te.call(n),n.port=Be.call(n),n.pathname=Ce.call(n),n.search=Fe.call(n),n.searchParams=Me.call(n),n.hash=Ne.call(n))},Pe=Re.prototype,Ue=function(){var e=w(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",V(e)&&(c+=n+(r?":"+r:"")+"@"),c+=$(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Le=function(){var e=w(this),t=e.scheme,n=e.port;if("blob"==t)try{return new Re(t.path[0]).origin}catch(r){return"null"}return"file"!=t&&K(e)?t+"://"+$(e.host)+(null!==n?":"+n:""):"null"},Ee=function(){return w(this).scheme+":"},_e=function(){return w(this).username},Ie=function(){return w(this).password},qe=function(){var e=w(this),t=e.host,n=e.port;return null===t?"":null===n?$(t):$(t)+":"+n},Te=function(){var e=w(this).host;return null===e?"":$(e)},Be=function(){var e=w(this).port;return null===e?"":String(e)},Ce=function(){var e=w(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Fe=function(){var e=w(this).query;return e?"?"+e:""},Me=function(){return w(this).searchParams},Ne=function(){var e=w(this).fragment;return e?"#"+e:""},ze=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(r&&a(Pe,{href:ze(Ue,(function(e){var t=w(this),n=String(e),r=Ae(t,n);if(r)throw TypeError(r);m(t.searchParams).updateSearchParams(t.query)})),origin:ze(Le),protocol:ze(Ee,(function(e){var t=w(this);Ae(t,String(e)+":",ie)})),username:ze(_e,(function(e){var t=w(this),n=f(String(e));if(!Q(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=X(n[r],H)}})),password:ze(Ie,(function(e){var t=w(this),n=f(String(e));if(!Q(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=X(n[r],H)}})),host:ze(qe,(function(e){var t=w(this);t.cannotBeABaseURL||Ae(t,String(e),ge)})),hostname:ze(Te,(function(e){var t=w(this);t.cannotBeABaseURL||Ae(t,String(e),de)})),port:ze(Be,(function(e){var t=w(this);Q(t)||(""==(e=String(e))?t.port=null:Ae(t,e,ve))})),pathname:ze(Ce,(function(e){var t=w(this);t.cannotBeABaseURL||(t.path=[],Ae(t,e+"",we))})),search:ze(Fe,(function(e){var t=w(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ae(t,e,Se)),m(t.searchParams).updateSearchParams(t.query)})),searchParams:ze(Me),hash:ze(Ne,(function(e){var t=w(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ae(t,e,Oe)):t.fragment=null}))}),s(Pe,"toJSON",(function e(){return Ue.call(this)}),{enumerable:!0}),s(Pe,"toString",(function e(){return Ue.call(this)}),{enumerable:!0}),v){var De=v.createObjectURL,Ge=v.revokeObjectURL;De&&s(Re,"createObjectURL",(function e(t){return De.apply(v,arguments)})),Ge&&s(Re,"revokeObjectURL",(function e(t){return Ge.apply(v,arguments)}))}y(Re,"URL"),n({global:!0,forced:!o,sham:!r},{URL:Re})},
61"es.string.iterator.js":function e(t){"use strict";var n=t("../internals/string-multibyte").charAt,r=t("../internals/internal-state"),o=t("../internals/define-iterator"),i="String Iterator",a=r.set,s=r.getterFor(i);o(String,"String",(function(e){a(this,{type:i,string:String(e),index:0})}),(function e(){var t=s(this),r=t.string,o=t.index,i;return o>=r.length?{value:void 0,done:!0}:(i=n(r,o),t.index+=i.length,{value:i,done:!1})}))},
vendor: 4,459 bytes, line 61
61"web.url-search-params.js":function e(t,n,e){"use strict";t("../modules/es.array.iterator");var r=t("../internals/export"),o=t("../internals/get-built-in"),i=t("../internals/native-url"),a=t("../internals/redefine"),s=t("../internals/redefine-all"),l=t("../internals/set-to-string-tag"),c=t("../internals/create-iterator-constructor"),u=t("../internals/internal-state"),f=t("../internals/an-instance"),p=t("../internals/has"),h=t("../internals/function-bind-context"),y=t("../internals/classof"),g=t("../internals/an-object"),d=t("../internals/is-object"),v=t("../internals/object-create"),b=t("../internals/create-property-descriptor"),m=t("../internals/get-iterator"),j=t("../internals/get-iterator-method"),w=t("../internals/well-known-symbol"),x=o("fetch"),k=o("Headers"),S=w("iterator"),O="URLSearchParams",A="URLSearchParamsIterator",R=u.set,P=u.getterFor(O),U=u.getterFor(A),L=/\+/g,E=Array(4),_=function(e){return E[e-1]||(E[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},q=function(e){var t=e.replace(L," "),n=4;try{return decodeURIComponent(t)}catch(r){for(;n;)t=t.replace(_(n--),I);return t}},T=/[!'()~]|%20/g,B={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},C=function(e){return B[e]},F=function(e){return encodeURIComponent(e).replace(T,C)},M=function(e,t){if(t)for(var n=t.split("&"),r=0,o,i;r<n.length;)(o=n[r++]).length&&(i=o.split("="),e.push({key:q(i.shift()),value:q(i.join("="))}))},N=function(e){this.entries.length=0,M(this.entries,e)},z=function(e,t){if(e<t)throw TypeError("Not enough arguments")},D=c((function e(t,n){R(this,{type:A,iterator:m(P(t).entries),kind:n})}),"Iterator",(function e(){var t=U(this),n=t.kind,r=t.iterator.next(),o=r.value;return r.done||(r.value="keys"===n?o.key:"values"===n?o.value:[o.key,o.value]),r})),G=function e(){f(this,G,O);var t=arguments.length>0?arguments[0]:void 0,n=this,r=[],o,i,a,s,l,c,u,h,y;if(R(n,{type:O,entries:r,updateURL:function(){},updateSearchParams:N}),void 0!==t)if(d(t))if("function"==typeof(o=j(t)))for(a=(i=o.call(t)).next;!(s=a.call(i)).done;){if((u=(c=(l=m(g(s.value))).next).call(l)).done||(h=c.call(l)).done||!c.call(l).done)throw TypeError("Expected sequence with length 2");r.push({key:u.value+"",value:h.value+""})}else for(y in t)p(t,y)&&r.push({key:y,value:t[y]+""});else M(r,"string"==typeof t?"?"===t.charAt(0)?t.slice(1):t:t+"")},$=G.prototype;s($,{append:function e(t,n){z(arguments.length,2);var r=P(this);r.entries.push({key:t+"",value:n+""}),r.updateURL()},delete:function(e){z(arguments.length,1);for(var t=P(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function e(t){z(arguments.length,1);for(var n=P(this).entries,r=t+"",o=0;o<n.length;o++)if(n[o].key===r)return n[o].value;return null},getAll:function e(t){z(arguments.length,1);for(var n=P(this).entries,r=t+"",o=[],i=0;i<n.length;i++)n[i].key===r&&o.push(n[i].value);return o},has:function e(t){z(arguments.length,1);for(var n=P(this).entries,r=t+"",o=0;o<n.length;)if(n[o++].key===r)return!0;return!1},set:function e(t,n){z(arguments.length,1);for(var r=P(this),o=r.entries,i=!1,a=t+"",s=n+"",l=0,c;l<o.length;l++)(c=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,c.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function e(){var t=P(this),n=t.entries,r=n.slice(),o,i,a;for(n.length=0,a=0;a<r.length;a++){for(o=r[a],i=0;i<a;i++)if(n[i].key>o.key){n.splice(i,0,o);break}i===a&&n.push(o)}t.updateURL()},forEach:function e(t){for(var n=P(this).entries,r=h(t,arguments.length>1?arguments[1]:void 0,3),o=0,i;o<n.length;)r((i=n[o++]).value,i.key,this)},keys:function e(){return new D(this,"keys")},values:function e(){return new D(this,"values")},entries:function e(){return new D(this,"entries")}},{enumerable:!0}),a($,S,$.entries),a($,"toString",(function e(){for(var t=P(this).entries,n=[],r=0,o;r<t.length;)o=t[r++],n.push(F(o.key)+"="+F(o.value));return n.join("&")}),{enumerable:!0}),l(G,O),r({global:!0,forced:!i},{URLSearchParams:G}),i||"function"!=typeof x||"function"!=typeof k||r({global:!0,enumerable:!0,forced:!0},{fetch:function e(t){var n=[t],r,o,i;return arguments.length>1&&(d(r=arguments[1])&&(o=r.body,y(o)===O&&((i=r.headers?new k(r.headers):new k).has("content-type")||i.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),r=v(r,{body:b(0,String(o)),headers:b(0,i)}))),n.push(r)),x.apply(this,n)}}),e.exports={URLSearchParams:G,getState:P}},
vendor: 642 bytes, line 61
61"es.array.iterator.js":function e(t,n,e){"use strict";var r=t("../internals/to-indexed-object"),o=t("../internals/add-to-unscopables"),i=t("../internals/iterators"),a=t("../internals/internal-state"),s=t("../internals/define-iterator"),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},
61"web.url.to-json.js":function e(t){"use strict";var n;t("../internals/export")({target:"URL",proto:!0,enumerable:!0},{toJSON:function e(){return i.prototype.toString.call(this)}})}},internals:{
vendor: 409 bytes, line 61
61"string-multibyte.js":function e(t,n,e){var r=t("../internals/to-integer"),o=t("../internals/require-object-coercible"),i=function(e){return function(t,n){var i=String(o(t)),a=r(n),s=i.length,l,c;return a<0||a>=s?e?"":void 0:(l=i.charCodeAt(a))<55296||l>56319||a+1===s||(c=i.charCodeAt(a+1))<56320||c>57343?e?i.charAt(a):l:e?i.slice(a,a+2):c-56320+(l-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},
61"to-integer.js":function e(t,n,e){var r=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:r)(e)}},
61"require-object-coercible.js":function e(t,n,e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},
vendor: 989 bytes, line 61
61"internal-state.js":function e(t,n,e){var r=t("../internals/native-weak-map"),o=t("../internals/global"),i=t("../internals/is-object"),a=t("../internals/create-non-enumerable-property"),s=t("../internals/has"),l=t("../internals/shared-store"),c=t("../internals/shared-key"),u=t("../internals/hidden-keys"),f="Object already initialized",p=o.WeakMap,h,y,g,d=function(e){return g(e)?y(e):h(e,{})},v=function(e){return function(t){var n;if(!i(t)||(n=y(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(r||l.state){var b=l.state||(l.state=new p),m=b.get,j=b.has,w=b.set;h=function(e,t){if(j.call(b,e))throw new TypeError(f);return t.facade=e,w.call(b,e,t),t},y=function(e){return m.call(b,e)||{}},g=function(e){return j.call(b,e)}}else{var x=c("state");u[x]=!0,h=function(e,t){if(s(e,x))throw new TypeError(f);return t.facade=e,a(e,x,t),t},y=function(e){return s(e,x)?e[x]:{}},g=function(e){return s(e,x)}}e.exports={set:h,get:y,has:g,enforce:d,getterFor:v}},
61"native-weak-map.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/inspect-source"),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},
61"global.js":function e(n,r,e){var o=function(e){return e&&e.Math==Math&&e};e.exports=o("object"==typeof globalThis&&globalThis)||o("object"==typeof window&&window)||o("object"==typeof self&&self)||o("object"==typeof t&&t)||function(){return this}()||Function("return this")()},
61"inspect-source.js":function e(t,n,e){var r=t("../internals/shared-store"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},
61"shared-store.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/set-global"),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},
61"set-global.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/create-non-enumerable-property");e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},
61"create-non-enumerable-property.js":function e(t,n,e){var r=t("../internals/descriptors"),o=t("../internals/object-define-property"),i=t("../internals/create-property-descriptor");e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},
61"descriptors.js":function e(t,n,e){var r=t("../internals/fails");e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},
61"fails.js":function e(t,n,e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},
61"object-define-property.js":function e(t,n){var r=t("../internals/descriptors"),o=t("../internals/ie8-dom-define"),i=t("../internals/an-object"),a=t("../internals/to-primitive"),s=Object.defineProperty;n.f=r?s:function e(t,n,r){if(i(t),n=a(n,!0),i(r),o)try{return s(t,n,r)}catch(l){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},
61"ie8-dom-define.js":function e(t,n,e){var r=t("../internals/descriptors"),o=t("../internals/fails"),i=t("../internals/document-create-element");e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},
61"document-create-element.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/is-object"),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},
61"is-object.js":function e(t,n,e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},
61"an-object.js":function e(t,n,e){var r=t("../internals/is-object");e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},
61"to-primitive.js":function e(t,n,e){var r=t("../internals/is-object");e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},
61"create-property-descriptor.js":function e(t,n,e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},
61"has.js":function e(t,n,e){var r=t("../internals/to-object"),o={}.hasOwnProperty;e.exports=Object.hasOwn||function e(t,n){return o.call(r(t),n)}},
61"to-object.js":function e(t,n,e){var r=t("../internals/require-object-coercible");e.exports=function(e){return Object(r(e))}},
61"shared-key.js":function e(t,n,e){var r=t("../internals/shared"),o=t("../internals/uid"),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},
61"shared.js":function e(t,n,e){var r=t("../internals/is-pure"),o=t("../internals/shared-store");(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.14.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},
61"is-pure.js":function e(t,n,e){e.exports=!1},
61"uid.js":function e(t,n,e){var r=0,o=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++r+o).toString(36)}},
61"hidden-keys.js":function e(t,n,e){e.exports={}},
vendor: 1,394 bytes, line 61
61"define-iterator.js":function e(t,n,e){"use strict";var r=t("../internals/export"),o=t("../internals/create-iterator-constructor"),i=t("../internals/object-get-prototype-of"),a=t("../internals/object-set-prototype-of"),s=t("../internals/set-to-string-tag"),l=t("../internals/create-non-enumerable-property"),c=t("../internals/redefine"),u=t("../internals/well-known-symbol"),f=t("../internals/is-pure"),p=t("../internals/iterators"),h=t("../internals/iterators-core"),y=h.IteratorPrototype,g=h.BUGGY_SAFARI_ITERATORS,d=u("iterator"),v="keys",b="values",m="entries",j=function(){return this};e.exports=function(e,t,n,u,h,w,x){o(n,t,u);var k=function(e){if(e===h&&P)return P;if(!g&&e in A)return A[e];switch(e){case v:return function t(){return new n(this,e)};case b:return function t(){return new n(this,e)};case m:return function t(){return new n(this,e)}}return function(){return new n(this)}},S=t+" Iterator",O=!1,A=e.prototype,R=A[d]||A["@@iterator"]||h&&A[h],P=!g&&R||k(h),U="Array"==t&&A.entries||R,L,E,_;if(U&&(L=i(U.call(new e)),y!==Object.prototype&&L.next&&(f||i(L)===y||(a?a(L,y):"function"!=typeof L[d]&&l(L,d,j)),s(L,S,!0,!0),f&&(p[S]=j))),h==b&&R&&R.name!==b&&(O=!0,P=function e(){return R.call(this)}),f&&!x||A[d]===P||l(A,d,P),p[t]=P,h)if(E={values:k(b),keys:w?P:k(v),entries:k(m)},x)for(_ in E)(g||O||!(_ in A))&&c(A,_,E[_]);else r({target:t,proto:!0,forced:g||O},E);return E}},
61"export.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/object-get-own-property-descriptor").f,i=t("../internals/create-non-enumerable-property"),a=t("../internals/redefine"),s=t("../internals/set-global"),l=t("../internals/copy-constructor-properties"),c=t("../internals/is-forced");e.exports=function(e,t){var n=e.target,u=e.global,f=e.stat,p,h,y,g,d,v;if(h=u?r:f?r[n]||s(n,{}):(r[n]||{}).prototype)for(y in t){if(d=t[y],g=e.noTargetGet?(v=o(h,y))&&v.value:h[y],!(p=c(u?y:n+(f?".":"#")+y,e.forced))&&void 0!==g){if(typeof d==typeof g)continue;l(d,g)}(e.sham||g&&g.sham)&&i(d,"sham",!0),a(h,y,d,e)}}},
61"object-get-own-property-descriptor.js":function e(t,n){var r=t("../internals/descriptors"),o=t("../internals/object-property-is-enumerable"),i=t("../internals/create-property-descriptor"),a=t("../internals/to-indexed-object"),s=t("../internals/to-primitive"),l=t("../internals/has"),c=t("../internals/ie8-dom-define"),u=Object.getOwnPropertyDescriptor;n.f=r?u:function e(t,n){if(t=a(t),n=s(n,!0),c)try{return u(t,n)}catch(r){}if(l(t,n))return i(!o.f.call(t,n),t[n])}},
61"object-property-is-enumerable.js":function e(t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function e(t){var n=o(this,t);return!!n&&n.enumerable}:r},
61"to-indexed-object.js":function e(t,n,e){var r=t("../internals/indexed-object"),o=t("../internals/require-object-coercible");e.exports=function(e){return r(o(e))}},
61"indexed-object.js":function e(t,n,e){var r=t("../internals/fails"),o=t("../internals/classof-raw"),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},
61"classof-raw.js":function e(t,n,e){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},
61"redefine.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/create-non-enumerable-property"),i=t("../internals/has"),a=t("../internals/set-global"),s=t("../internals/inspect-source"),l=t("../internals/internal-state"),c=l.get,u=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l=!!s&&!!s.unsafe,c=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,h;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(h=u(n)).source||(h.source=f.join("string"==typeof t?t:""))),e!==r?(l?!p&&e[t]&&(c=!0):delete e[t],c?e[t]=n:o(e,t,n)):c?e[t]=n:a(t,n)})(Function.prototype,"toString",(function e(){return"function"==typeof this&&c(this).source||s(this)}))},
61"copy-constructor-properties.js":function e(t,n,e){var r=t("../internals/has"),o=t("../internals/own-keys"),i=t("../internals/object-get-own-property-descriptor"),a=t("../internals/object-define-property");e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},
61"own-keys.js":function e(t,n,e){var r=t("../internals/get-built-in"),o=t("../internals/object-get-own-property-names"),i=t("../internals/object-get-own-property-symbols"),a=t("../internals/an-object");e.exports=r("Reflect","ownKeys")||function e(t){var n=o.f(a(t)),r=i.f;return r?n.concat(r(t)):n}},
61"get-built-in.js":function e(t,n,e){var r=t("../internals/path"),o=t("../internals/global"),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},
61"path.js":function e(t,n,e){var r=t("../internals/global");e.exports=r},
61"object-get-own-property-names.js":function e(t,n){var r=t("../internals/object-keys-internal"),o,i=t("../internals/enum-bug-keys").concat("length","prototype");n.f=Object.getOwnPropertyNames||function e(t){return r(t,i)}},
61"object-keys-internal.js":function e(t,n,e){var r=t("../internals/has"),o=t("../internals/to-indexed-object"),i=t("../internals/array-includes").indexOf,a=t("../internals/hidden-keys");e.exports=function(e,t){var n=o(e),s=0,l=[],c;for(c in n)!r(a,c)&&r(n,c)&&l.push(c);for(;t.length>s;)r(n,c=t[s++])&&(~i(l,c)||l.push(c));return l}},
61"array-includes.js":function e(t,n,e){var r=t("../internals/to-indexed-object"),o=t("../internals/to-length"),i=t("../internals/to-absolute-index"),a=function(e){return function(t,n,a){var s=r(t),l=o(s.length),c=i(a,l),u;if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},
61"to-length.js":function e(t,n,e){var r=t("../internals/to-integer"),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},
61"to-absolute-index.js":function e(t,n,e){var r=t("../internals/to-integer"),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},
61"enum-bug-keys.js":function e(t,n,e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
61"object-get-own-property-symbols.js":function e(t,n){n.f=Object.getOwnPropertySymbols},
61"is-forced.js":function e(t,n,e){var r=t("../internals/fails"),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},
61"create-iterator-constructor.js":function e(t,n,e){"use strict";var r=t("../internals/iterators-core").IteratorPrototype,o=t("../internals/object-create"),i=t("../internals/create-property-descriptor"),a=t("../internals/set-to-string-tag"),s=t("../internals/iterators"),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},
61"iterators-core.js":function e(t,n,e){"use strict";var r=t("../internals/fails"),o=t("../internals/object-get-prototype-of"),i=t("../internals/create-non-enumerable-property"),a=t("../internals/has"),s=t("../internals/well-known-symbol"),l=t("../internals/is-pure"),c=s("iterator"),u=!1,f=function(){return this},p,h,y;[].keys&&("next"in(y=[].keys())?(h=o(o(y)))!==Object.prototype&&(p=h):u=!0);var g=null==p||r((function(){var e={};return p[c].call(e)!==e}));g&&(p={}),l&&!g||a(p,c)||i(p,c,f),e.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:u}},
61"object-get-prototype-of.js":function e(t,n,e){var r=t("../internals/has"),o=t("../internals/to-object"),i=t("../internals/shared-key"),a=t("../internals/correct-prototype-getter"),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},
61"correct-prototype-getter.js":function e(t,n,e){var r=t("../internals/fails");e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},
61"well-known-symbol.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/shared"),i=t("../internals/has"),a=t("../internals/uid"),s=t("../internals/native-symbol"),l=t("../internals/use-symbol-as-uid"),c=o("wks"),u=r.Symbol,f=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)&&(s||"string"==typeof c[e])||(s&&i(u,e)?c[e]=u[e]:c[e]=f("Symbol."+e)),c[e]}},
61"native-symbol.js":function e(t,n,e){var r=t("../internals/engine-v8-version"),o=t("../internals/fails");e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},
61"engine-v8-version.js":function e(t,n,e){var r=t("../internals/global"),o=t("../internals/engine-user-agent"),i=r.process,a=i&&i.versions,s=a&&a.v8,l,c;s?c=(l=s.split("."))[0]<4?1:l[0]+l[1]:o&&(!(l=o.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=o.match(/Chrome\/(\d+)/))&&(c=l[1]),e.exports=c&&+c},
61"engine-user-agent.js":function e(t,n,e){var r=t("../internals/get-built-in");e.exports=r("navigator","userAgent")||""},
61"use-symbol-as-uid.js":function e(t,n,e){var r=t("../internals/native-symbol");e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},
61"object-create.js":function e(t,n,e){var r=t("../internals/an-object"),o=t("../internals/object-define-properties"),i=t("../internals/enum-bug-keys"),a=t("../internals/hidden-keys"),s=t("../internals/html"),l=t("../internals/document-create-element"),c=t("../internals/shared-key"),u=">",f="<",p="prototype",h="script",y=c("IE_PROTO"),g=function(){},d=function(e){return"<script>"+e+"</"+h+u},v=function(e){e.write(d("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){var e=l("iframe"),t="javascript:",n;return e.style.display="none",s.appendChild(e),e.src=String(t),(n=e.contentWindow.document).open(),n.write(d("document.F=Object")),n.close(),n.F},m,j=function(){try{m=document.domain&&new ActiveXObject("htmlfile")}catch(t){}j=m?v(m):b();for(var e=i.length;e--;)delete j.prototype[i[e]];return j()};a[y]=!0,e.exports=Object.create||function e(t,n){var i;return null!==t?(g.prototype=r(t),i=new g,g.prototype=null,i[y]=t):i=j(),void 0===n?i:o(i,n)}},
61"object-define-properties.js":function e(t,n,e){var r=t("../internals/descriptors"),o=t("../internals/object-define-property"),i=t("../internals/an-object"),a=t("../internals/object-keys");e.exports=r?Object.defineProperties:function e(t,n){i(t);for(var r=a(n),s=r.length,l=0,c;s>l;)o.f(t,c=r[l++],n[c]);return t}},
61"object-keys.js":function e(t,n,e){var r=t("../internals/object-keys-internal"),o=t("../internals/enum-bug-keys");e.exports=Object.keys||function e(t){return r(t,o)}},
61"html.js":function e(t,n,e){var r=t("../internals/get-built-in");e.exports=r("document","documentElement")},
61"set-to-string-tag.js":function e(t,n,e){var r=t("../internals/object-define-property").f,o=t("../internals/has"),i,a=t("../internals/well-known-symbol")("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},
61"iterators.js":function e(t,n,e){e.exports={}},
61"object-set-prototype-of.js":function e(t,n,e){var r=t("../internals/an-object"),o=t("../internals/a-possible-prototype");e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e=!1,t={},n;try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(t,[]),e=t instanceof Array}catch(i){}return function t(i,a){return r(i),o(a),e?n.call(i,a):i.__proto__=a,i}}():void 0)},
61"a-possible-prototype.js":function e(t,n,e){var r=t("../internals/is-object");e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},
vendor: 632 bytes, line 61
61"native-url.js":function e(t,n,e){var r=t("../internals/fails"),o=t("../internals/well-known-symbol"),s=t("../internals/is-pure"),l=o("iterator");e.exports=!r((function(){var e=new i("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new a("?a=1"))||!t[l]||"a"!==new i("https://a@b").username||"b"!==new a(new a("a=b")).get("a")||"xn--e1aybc"!==new i("http://тест").host||"#%D0%B1"!==new i("http://a#б").hash||"a1c3"!==n||"x"!==new i("http://x",void 0).host}))},
61"an-instance.js":function e(t,n,e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},
vendor: 1,578 bytes, line 61
61"object-assign.js":function e(t,n,e){"use strict";var r=t("../internals/descriptors"),o=t("../internals/fails"),i=t("../internals/object-keys"),a=t("../internals/object-get-own-property-symbols"),s=t("../internals/object-property-is-enumerable"),l=t("../internals/to-object"),c=t("../internals/indexed-object"),u=Object.assign,f=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||i(u({},t)).join("")!=o}))?function e(t,n){for(var o=l(t),u=arguments.length,f=1,p=a.f,h=s.f;u>f;)for(var y=c(arguments[f++]),g=p?i(y).concat(p(y)):i(y),d=g.length,v=0,b;d>v;)b=g[v++],r&&!h.call(y,b)||(o[b]=y[b]);return o}:u},"array-from.js":function e(t,n,e){"use strict";var r=t("../internals/function-bind-context"),o=t("../internals/to-object"),i=t("../internals/call-with-safe-iteration-closing"),a=t("../internals/is-array-iterator-method"),s=t("../internals/to-length"),l=t("../internals/create-property"),c=t("../internals/get-iterator-method");e.exports=function e(t){var n=o(t),u="function"==typeof this?this:Array,f=arguments.length,p=f>1?arguments[1]:void 0,h=void 0!==p,y=c(n),g=0,d,v,b,m,j,w;if(h&&(p=r(p,f>2?arguments[2]:void 0,2)),null==y||u==Array&&a(y))for(v=new u(d=s(n.length));d>g;g++)w=h?p(n[g],g):n[g],l(v,g,w);else for(j=(m=y.call(n)).next,v=new u;!(b=j.call(m)).done;g++)w=h?i(m,p,[b.value,g],!0):b.value,l(v,g,w);return v.length=g,v}},
61"function-bind-context.js":function e(t,n,e){var r=t("../internals/a-function");e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},
61"a-function.js":function e(t,n,e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},
61"call-with-safe-iteration-closing.js":function e(t,n,e){var r=t("../internals/an-object"),o=t("../internals/iterator-close");e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(a){throw o(e),a}}},
61"iterator-close.js":function e(t,n,e){var r=t("../internals/an-object");e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},
61"is-array-iterator-method.js":function e(t,n,e){var r=t("../internals/well-known-symbol"),o=t("../internals/iterators"),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},
61"create-property.js":function e(t,n,e){"use strict";var r=t("../internals/to-primitive"),o=t("../internals/object-define-property"),i=t("../internals/create-property-descriptor");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},
61"get-iterator-method.js":function e(t,n,e){var r=t("../internals/classof"),o=t("../internals/iterators"),i,a=t("../internals/well-known-symbol")("iterator");e.exports=function(e){if(null!=e)return e[a]||e["@@iterator"]||o[r(e)]}},
61"classof.js":function e(t,n,e){var r=t("../internals/to-string-tag-support"),o=t("../internals/classof-raw"),i,a=t("../internals/well-known-symbol")("toStringTag"),s="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(n){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},
61"to-string-tag-support.js":function e(t,n,e){var r,o,i={};i[t("../internals/well-known-symbol")("toStringTag")]="z",e.exports="[object z]"===String(i)},
61"string-punycode-to-ascii.js":function e(t,n,e){"use strict";var r=2147483647,o=36,i=1,a=26,s=38,l=700,c=72,u=128,f="-",p=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,y="Overflow: input needs wider integers to process",g=35,d=Math.floor,v=String.fromCharCode,b=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},m=function(e){return e+22+75*(e<26)},j=function(e,t,n){var r=0;for(e=n?d(e/l):e>>1,e+=d(e/t);e>455;r+=o)e=d(e/g);return d(r+36*e/(e+s))},w=function(e){var t=[],n=(e=b(e)).length,i=u,s=0,l=c,p,h;for(p=0;p<e.length;p++)(h=e[p])<128&&t.push(v(h));var g=t.length,w=g;for(g&&t.push(f);w<n;){var x=r;for(p=0;p<e.length;p++)(h=e[p])>=i&&h<x&&(x=h);var k=w+1;if(x-i>d((r-s)/k))throw RangeError(y);for(s+=(x-i)*k,i=x,p=0;p<e.length;p++){if((h=e[p])<i&&++s>r)throw RangeError(y);if(h==i){for(var S=s,O=o;;O+=o){var A=O<=l?1:O>=l+a?a:O-l;if(S<A)break;var R=S-A,P=o-A;t.push(v(m(A+R%P))),S=d(R/P)}t.push(v(m(S))),l=j(s,k,w==g),s=0,++w}}++s,++i}return t.join("")};e.exports=function(e){var t=[],n=e.toLowerCase().replace(h,".").split("."),r,o;for(r=0;r<n.length;r++)o=n[r],t.push(p.test(o)?"xn--"+w(o):o);return t.join(".")}},
61"add-to-unscopables.js":function e(t,n,e){var r=t("../internals/well-known-symbol"),o=t("../internals/object-create"),i=t("../internals/object-define-property"),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},
61"redefine-all.js":function e(t,n,e){var r=t("../internals/redefine");e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},
61"get-iterator.js":function e(t,n,e){var r=t("../internals/an-object"),o=t("../internals/get-iterator-method");e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}}}}}}}}},{extensions:[".js",".json"]}),l=s("/node_modules/meteor/url/legacy.js");Package._define("url",l,{URL:i,URLSearchParams:a})}();
62
63!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,n=Package.meteor.meteorEnv,a=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,l=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,c,i=a({node_modules:{meteor:{base64:{
63"base64.js":function e(r,n,e){e.export({Base64:function(){return f}});for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=Object.create(null),l=function(e){return a.charAt(e)},o=function(e){return"="===e?-1:t[e]},s=0;s<a.length;s++)t[l(s)]=s;var u=function(e){if("string"==typeof e){var r=e;e=c(r.length);for(var n=0;n<r.length;n++){var a=r.charCodeAt(n);if(a>255)throw new Error("Not ascii. Base64.encode can only take ascii strings.");e[n]=a}}for(var t=[],o=null,s=null,u=null,i=null,f=0;f<e.length;f++)switch(f%3){case 0:o=e[f]>>2&63,s=(3&e[f])<<4;break;case 1:s|=e[f]>>4&15,u=(15&e[f])<<2;break;case 2:u|=e[f]>>6&3,i=63&e[f],t.push(l(o)),t.push(l(s)),t.push(l(u)),t.push(l(i)),o=null,s=null,u=null,i=null}return null!=o&&(t.push(l(o)),t.push(l(s)),null==u?t.push("="):t.push(l(u)),null==i&&t.push("=")),t.join("")},c=function(e){if("undefined"==typeof Uint8Array||"undefined"==typeof ArrayBuffer){for(var r=[],n=0;n<e;n++)r.push(0);return r.$Uint8ArrayPolyfill=!0,r}return new Uint8Array(new ArrayBuffer(e))},i,f={encode:u,decode:function(e){var r=Math.floor(3*e.length/4);"="==e.charAt(e.length-1)&&(r--,"="==e.charAt(e.length-2)&&r--);for(var n=c(r),a=null,t=null,l=null,s=0,u=0;u<e.length;u++){var i=e.charAt(u),f=o(i);switch(u%4){case 0:if(f<0)throw new Error("invalid base64 string");a=f<<2;break;case 1:if(f<0)throw new Error("invalid base64 string");a|=f>>4,n[s++]=a,t=(15&f)<<4;break;case 2:f>=0&&(t|=f>>2,n[s++]=t,l=(3&f)<<6);break;case 3:f>=0&&(n[s++]=l|f)}}return n},newBinary:c}}}}}},{extensions:[".js",".json"]}),f=i("/node_modules/meteor/base64/base64.js");Package._define("base64",f,{Base64:c})}();
64
65!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package.base64.Base64,u=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,c=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,l,s=u({node_modules:{meteor:{ejson:{
65"ejson.js":function e(r,u,e){var a,i,o,f,l,s,m,y,O;e.export({EJSON:function(){return g}}),e.link("./utils",{isFunction:function(n){a=n},isObject:function(n){i=n},keysOf:function(n){o=n},lengthOf:function(n){f=n},hasOwn:function(n){l=n},convertMapToObject:function(n){s=n},isArguments:function(n){m=n},isInfOrNaN:function(n){y=n},handleError:function(n){O=n}},0);var g={},N=new c;g.addType=function(n,e){if(N.has(n))throw new Error("Type "+n+" already present");N.set(n,e)};var v=[{matchJSONValue:function(n){return l(n,"$date")&&1===f(n)},matchObject:function(n){return n instanceof Date},toJSONValue:function(n){return{$date:n.getTime()}},fromJSONValue:function(n){return new Date(n.$date)}},{matchJSONValue:function(n){return l(n,"$regexp")&&l(n,"$flags")&&2===f(n)},matchObject:function(n){return n instanceof RegExp},toJSONValue:function(n){return{$regexp:n.source,$flags:n.flags}},fromJSONValue:function(n){return new RegExp(n.$regexp,n.$flags.slice(0,50).replace(/[^gimuy]/g,"").replace(/(.)(?=.*\1)/g,""))}},{matchJSONValue:function(n){return l(n,"$InfNaN")&&1===f(n)},matchObject:y,toJSONValue:function(n){var e;return{$InfNaN:e=Number.isNaN(n)?0:n===1/0?1:-1}},fromJSONValue:function(n){return n.$InfNaN/0}},{matchJSONValue:function(n){return l(n,"$binary")&&1===f(n)},matchObject:function(n){return"undefined"!=typeof Uint8Array&&n instanceof Uint8Array||n&&l(n,"$Uint8ArrayPolyfill")},toJSONValue:function(n){return{$binary:t.encode(n)}},fromJSONValue:function(n){return t.decode(n.$binary)}},{matchJSONValue:function(n){return l(n,"$escape")&&1===f(n)},matchObject:function(n){var e=!1;if(n){var r=f(n);1!==r&&2!==r||(e=v.some((function(e){return e.matchJSONValue(n)})))}return e},toJSONValue:function(n){var e={};
65return o(n).forEach((function(r){e[r]=g.toJSONValue(n[r])})),{$escape:e}},fromJSONValue:function(n){var e={};return o(n.$escape).forEach((function(r){e[r]=g.fromJSONValue(n.$escape[r])})),e}},{matchJSONValue:function(n){return l(n,"$type")&&l(n,"$value")&&2===f(n)},matchObject:function(n){return g._isCustomType(n)},toJSONValue:function(e){var r=n._noYieldsAllowed((function(){return e.toJSONValue()}));return{$type:e.typeName(),$value:r}},fromJSONValue:function(e){var r=e.$type;if(!N.has(r))throw new Error("Custom EJSON type "+r+" is not defined");var t=N.get(r);return n._noYieldsAllowed((function(){return t(e.$value)}))}}];g._isCustomType=function(n){return n&&a(n.toJSONValue)&&a(n.typeName)&&N.has(n.typeName())},g._getTypes=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return n?N:s(N)},g._getConverters=function(){return v};var h=function(n){for(var e=0;e<v.length;e++){var r=v[e];if(r.matchObject(n))return r.toJSONValue(n)}},p=function(n){if(null===n)return null;var e=h(n);return void 0!==e?e:i(n)?(o(n).forEach((function(e){var r=n[e];if(i(r)||void 0===r||y(r)){var t=h(r);t?n[e]=t:p(r)}})),n):n};g._adjustTypesToJSONValue=p,g.toJSONValue=function(n){var e=h(n);if(void 0!==e)return e;var r=n;return i(n)&&(r=g.clone(n),p(r)),r};var d=function(n){if(i(n)&&null!==n){var e=o(n);if(e.length<=2&&e.every((function(n){return"string"==typeof n&&"$"===n.substr(0,1)})))for(var r=0;r<v.length;r++){var t=v[r];if(t.matchJSONValue(n))return t.fromJSONValue(n)}}return n},S=function(n){if(null===n)return null;var e=d(n);return e!==n?e:i(n)?(o(n).forEach((function(e){var r=n[e];if(i(r)){var t=d(r);if(r!==t)return void(n[e]=t);S(r)}})),n):n};g._adjustTypesFromJSONValue=S,g.fromJSONValue=function(n){var e=d(n);return e===n&&i(n)&&(e=g.clone(n),S(e)),e},g.stringify=O((function(n,r){var t,u=g.toJSONValue(n),a;r&&(r.canonical||r.indent)?(e.link("./stringify",{default:function(n){a=n}},1),t=a(u,r)):t=JSON.stringify(u);return t})),g.parse=function(n){if("string"!=typeof n)throw new Error("EJSON.parse argument should be a string");return g.fromJSONValue(JSON.parse(n))},g.isBinary=function(n){return!!("undefined"!=typeof Uint8Array&&n instanceof Uint8Array||n&&n.$Uint8ArrayPolyfill)},g.equals=function(n,e,r){var t,u=!(!r||!r.keyOrderSensitive);if(n===e)return!0;if(Number.isNaN(n)&&Number.isNaN(e))return!0;if(!n||!e)return!1;if(!i(n)||!i(e))return!1;if(n instanceof Date&&e instanceof Date)return n.valueOf()===e.valueOf();if(g.isBinary(n)&&g.isBinary(e)){if(n.length!==e.length)return!1;for(t=0;t<n.length;t++)if(n[t]!==e[t])return!1;return!0}if(a(n.equals))return n.equals(e,r);if(a(e.equals))return e.equals(n,r);var c=Array.isArray(n),f=Array.isArray(e),s;if(c!==f)return!1;if(c&&f){if(n.length!==e.length)return!1;for(t=0;t<n.length;t++)if(!g.equals(n[t],e[t],r))return!1;return!0}switch(g._isCustomType(n)+g._isCustomType(e)){case 1:return!1;case 2:return g.equals(g.toJSONValue(n),g.toJSONValue(e))}var m=o(n),y=o(e);return u?(t=0,s=m.every((function(u){return!(t>=y.length)&&(u===y[t]&&(!!g.equals(n[u],e[y[t]],r)&&(t++,!0)))}))):(t=0,s=m.every((function(u){return!!l(e,u)&&(!!g.equals(n[u],e[u],r)&&(t++,!0))}))),s&&t===y.length},g.clone=function(n){var e;if(!i(n))return n;if(null===n)return null;if(n instanceof Date)return new Date(n.getTime());if(n instanceof RegExp)return n;if(g.isBinary(n)){e=g.newBinary(n.length);for(var r=0;r<n.length;r++)e[r]=n[r];return e}return Array.isArray(n)?n.map(g.clone):m(n)?Array.from(n).map(g.clone):a(n.clone)?n.clone():g._isCustomType(n)?g.fromJSONValue(g.clone(g.toJSONValue(n)),!0):(e={},o(n).forEach((function(r){e[r]=g.clone(n[r])})),e)},g.newBinary=t.newBinary},
65"stringify.js":function n(e,r,n){var t;function u(n){return JSON.stringify(n)}n.link("@babel/runtime/helpers/typeof",{default:function(n){t=n}},0);var a=function(n,e,r,i,o){var c=e[n];switch(t(c)){case"string":return u(c);case"number":return isFinite(c)?String(c):"null";case"boolean":return String(c);case"object":if(!c)return"null";var f=i+r,l=[],s;if(Array.isArray(c)||{}.hasOwnProperty.call(c,"callee")){for(var m=c.length,y=0;y<m;y+=1)l[y]=a(y,c,r,f,o)||"null";return s=0===l.length?"[]":f?"[\n"+f+l.join(",\n"+f)+"\n"+i+"]":"["+l.join(",")+"]"}var O=Object.keys(c);return o&&(O=O.sort()),O.forEach((function(n){(s=a(n,c,r,f,o))&&l.push(u(n)+(f?": ":":")+s)})),s=0===l.length?"{}":f?"{\n"+f+l.join(",\n"+f)+"\n"+i+"}":"{"+l.join(",")+"}"}},i=function(n,e){var r=Object.assign({indent:"",canonical:!1},e);if(!0===r.indent)r.indent="  ";else if("number"==typeof r.indent){for(var t="",u=0;u<r.indent;u++)t+=" ";r.indent=t}return a("",{"":n},r.indent,"",r.canonical)};n.exportDefault(i)},
65"utils.js":function n(e,r,n){var t,u;n.link("@babel/runtime/helpers/slicedToArray",{default:function(n){t=n}},0),n.link("@babel/runtime/helpers/typeof",{default:function(n){u=n}},1),n.export({isFunction:function(){return a},isObject:function(){return i},keysOf:function(){return o},lengthOf:function(){return c},hasOwn:function(){return f},convertMapToObject:function(){return l},isArguments:function(){return s},isInfOrNaN:function(){return m},checkError:function(){return y},handleError:function(){return O}});var a=function(n){return"function"==typeof n},i=function(n){return"object"===u(n)},o=function(n){return Object.keys(n)},c=function(n){return Object.keys(n).length},f=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},l=function(n){return Array.from(n).reduce((function(n,e){var r=t(e,2),u=r[0],a=r[1];return n[u]=a,n}),{})},s=function(n){return null!=n&&f(n,"callee")},m=function(n){return Number.isNaN(n)||n===1/0||n===-1/0},y={maxStack:function(n){return new RegExp("Maximum call stack size exceeded","g").test(n)}},O=function(n){return function(){try{return n.apply(this,arguments)}catch(r){var e=y.maxStack(r.message);if(e)throw new Error("Converting circular structure to JSON");throw r}}}}}}}},{extensions:[".js",".json"]}),m=s("/node_modules/meteor/ejson/ejson.js");Package._define("ejson",m,{EJSON:l})}();
66
67!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.ejson.EJSON,a=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,o=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,f,l,h=a({node_modules:{meteor:{check:{
67"match.js":function t(n,a,t){var c,o,u;t.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){c=e}},0),t.link("@babel/runtime/helpers/typeof",{default:function(e){o=e}},1),t.export({check:function(){return l},Match:function(){return h}}),t.link("./isPlainObject",{isPlainObject:function(e){u=e}},0);var s=new e.EnvironmentVariable,f=Object.prototype.hasOwnProperty;function l(e,t){var n=s.getOrNullIfOutsideFiber();n&&n.checking(e);var r=k(e,t);if(r){var a=new h.Error(r.message);throw r.path&&(a.message+=" in field "+r.path,a.path=r.path),a}}var h={Optional:function(e){return new p(e)},Maybe:function(e){return new g(e)},OneOf:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new m(t)},Any:["__any__"],Where:function(e){return new d(e)},ObjectIncluding:function(e){return new y(e)},ObjectWithValues:function(e){return new b(e)},Integer:["__integer__"],Error:e.makeErrorType("Match.Error",(function(t){this.message="Match error: "+t,this.path="",this.sanitizedError=new e.Error(400,"Match failed")})),test:function(e,t){return!k(e,t)},_failIfArgumentsAreNotAllChecked:function(e,t,n,r){var a=new j(n,r),i=s.withValue(a,(function(){return e.apply(t,n)}));return a.throwUnlessAllArgumentsHaveBeenChecked(),i}},p=function(){function e(e){this.pattern=e}return e}(),g=function(){function e(e){this.pattern=e}return e}(),m=function(){function e(e){if(!e||0===e.length)throw new Error("Mu
67st provide at least one choice to Match.OneOf");this.choices=e}return e}(),d=function(){function e(e){this.condition=e}return e}(),y=function(){function e(e){this.pattern=e}return e}(),b=function(){function e(e){this.pattern=e}return e}(),v=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return"null";if(t.onlyShowType)return o(e);if("object"!==o(e))return r.stringify(e);try{JSON.stringify(e)}catch(n){if("TypeError"===n.name)return o(e)}return r.stringify(e)},O=[[String,"string"],[Number,"number"],[Boolean,"boolean"],[Function,"function"],[void 0,"undefined"]],k=function(e,t){if(t===h.Any)return!1;for(var n=0;n<O.length;++n)if(t===O[n][0])return o(e)!==O[n][1]&&{message:"Expected "+O[n][1]+", got "+v(e,{onlyShowType:!0}),path:""};if(null===t)return null!==e&&{message:"Expected null, got "+v(e),path:""};if("string"==typeof t||"number"==typeof t||"boolean"==typeof t)return e!==t&&{message:"Expected "+t+", got "+v(e),path:""};if(t===h.Integer)return("number"!=typeof e||(0|e)!==e)&&{message:"Expected Integer, got "+v(e),path:""};if(t===Object&&(t=h.ObjectIncluding({})),t instanceof Array){if(1!==t.length)return{message:"Bad pattern: arrays must have one type element "+v(t),path:""};if(!Array.isArray(e)&&!_(e))return{message:"Expected array, got "+v(e),path:""};for(var r=0,a=e.length;r<a;r++){var c=k(e[r],t[0]);if(c)return c.path=E(r,c.path),c}return!1}if(t instanceof d){var s;try{s=t.condition(e)}catch(V){if(!(V instanceof h.Error))throw V;return{message:V.message,path:V.path}}return!s&&{message:"Failed Match.Where validation",path:""}}if(t instanceof g?t=h.OneOf(void 0,null,t.pattern):t instanceof p&&(t=h.OneOf(void 0,t.pattern)),t instanceof m){for(var l=0;l<t.choices.length;++l){var j;if(!k(e,t.choices[l]))return!1}return{message:"Failed Match.OneOf, Match.Maybe or Match.Optional validation",path:""}}if(t instanceof Function)return!(e instanceof t)&&{message:"Expected "+(t.name||"particular constructor"),path:""};var w=!1,P;if(t instanceof y&&(w=!0,t=t.pattern),t instanceof b&&(w=!0,P=[t.pattern],t={}),"object"!==o(t))return{message:"Bad pattern: unknown pattern type",path:""};if("object"!==o(e))return{message:"Expected object, got "+o(e),path:""};if(null===e)return{message:"Expected object, got null",path:""};if(!u(e))return{message:"Expected plain object",path:""};var A=Object.create(null),M=Object.create(null);for(var x in Object.keys(t).forEach((function(e){var n=t[e];n instanceof p||n instanceof g?M[e]=n.pattern:A[e]=n})),i.sanitizeForInObject(Object(e))){var N=e[x];if(f.call(A,x)){var S=k(N,A[x]);if(S)return S.path=E(x,S.path),S;delete A[x]}else if(f.call(M,x)){var I=k(N,M[x]);if(I)return I.path=E(x,I.path),I}else{if(!w)return{message:"Unknown key",path:x};if(P){var B=k(N,P[0]);if(B)return B.path=E(x,B.path),B}}}var F=Object.keys(A);return F.length?{message:"Missing key '"+F[0]+"'",path:""}:void 0},j=function(){function e(e,t){this.args=c(e),this.args.reverse(),this.description=t}var t=e.prototype;return t.checking=function(){function e(e){this._checkingOneValue(e)||(Array.isArray(e)||_(e))&&Array.prototype.forEach.call(e,this._checkingOneValue.bind(this))}return e}(),t._checkingOneValue=function(){function e(e){for(var t=0;t<this.args.length;++t)if(e===this.args[t]||Number.isNaN(e)&&Number.isNaN(this.args[t]))return this.args.splice(t,1),!0;return!1}return e}(),t.throwUnlessAllArgumentsHaveBeenChecked=function(){function e(){if(this.args.length>0)throw new Error("Did not check() all arguments during "+this.description)}return e}(),e}(),w=["do","if","in","for","let","new","try","var","case","else","enum","eval","false","null","this","true","void","with","break","catch","class","const","super","throw","while","yield","delete","export","import","public","return","static","switch","typeof","default","extends","finally","package","private","continue","debugger","function","arguments","interface","protected","implements","instanceof"],E=function(e,t){return"number"==typeof e||e.match(/^[0-9]+$/)?e="["+e+"]":(!e.match(/^[a-z_$][0-9a-z_$]*$/i)||w.indexOf(e)>=0)&&(e=JSON.stringify([e])),t&&"["!==t[0]?e+"."+t:e+t},P=function(e){return"object"===o(e)&&null!==e},A=function(e){return P(e)&&"[object Arguments]"===Object.prototype.toString.call(e)},_=A(function(){return arguments}())?A:function(e){return P(e)&&"function"==typeof e.callee}},
67"isPlainObject.js":function e(t,n,e){e.export({isPlainObject:function(){return s}});var r,a={}.toString,i=Object.prototype.hasOwnProperty,c=i.toString,o=c.call(Object),u=Object.getPrototypeOf,s=function(e){var t,n;return!(!e||"[object Object]"!==a.call(e))&&(!(t=u(e))||"function"==typeof(n=i.call(t,"constructor")&&t.constructor)&&c.call(n)===o)}}}}}},{extensions:[".js",".json"]}),p=h("/node_modules/meteor/check/match.js");Package._define("check",p,{check:f,Match:l})}();
68
69!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,r=Package.random.Random,o=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,m=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,c,h=o({node_modules:{meteor:{retry:{
69"retry.js":function t(i,o,t){t.export({Retry:function(){return n}});var n=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseTimeout,i=void 0===t?1e3:t,r=e.exponent,o=void 0===r?2.2:r,n=e.maxTimeout,m=void 0===n?3e5:n,a=e.minTimeout,u=void 0===a?10:a,s=e.minCount,c=void 0===s?2:s,h=e.fuzz,l=void 0===h?.5:h;this.baseTimeout=i,this.exponent=o,this.maxTimeout=m,this.minTimeout=u,this.minCount=c,this.fuzz=l,this.retryTimer=null}var i=t.prototype;return i.clear=function(){function e(){this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=null}return e}(),i._timeout=function(){function e(e){return e<this.minCount?this.minTimeout:Math.min(this.maxTimeout,this.baseTimeout*Math.pow(this.exponent,e))*(r.fraction()*this.fuzz+(1-this.fuzz/2));var t}return e}(),i.retryLater=function(){function t(t,i){var r=this._timeout(t);return this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=e.setTimeout(i,r),r}return t}(),t}()}}}}},{extensions:[".js",".json"]}),l=h("/node_modules/meteor/retry/retry.js");Package._define("retry",l,{Retry:c})}();
70
71!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.ejson.EJSON,r=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,f,m=r({node_modules:{meteor:{"id-map":{
71"id-map.js":function e(t,n,e){var r,a;e.link("@babel/runtime/helpers/createForOfIteratorHelperLoose",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){a=e}},1),e.export({IdMap:function(){return o}});var o=function(){function e(e,t){this._map=new u,this._idStringify=e||JSON.stringify,this._idParse=t||JSON.parse}var t=e.prototype;return t.get=function(){function e(e){var t=this._idStringify(e);return this._map.get(t)}return e}(),t.set=function(){function e(e,t){var n=this._idStringify(e);this._map.set(n,t)}return e}(),t.remove=function(){function e(e){var t=this._idStringify(e);this._map.delete(t)}return e}(),t.has=function(){function e(e){var t=this._idStringify(e);return this._map.has(t)}return e}(),t.empty=function(){function e(){return 0===this._map.size}return e}(),t.clear=function(){function e(){this._map.clear()}return e}(),t.forEach=function(){function e(e){for(var t=r(this._map),n;!(n=t()).done;){var i=n.value,o=a(i,2),s=o[0],u=o[1],c;if(!1===e.call(null,u,this._idParse(s)))return}}return e}(),t.size=function(){function e(){return this._map.size}return e}(),t.setDefault=function(){function e(e,t){var n=this._idStringify(e);return this._map.has(n)?this._map.get(n):(this._map.set(n,t),t)}return e}(),t.clone=function(){function t(){var t=new e(this._idStringify,this._idParse);return this._map.forEach((function(e,n){t._map.set(n,i.clone(e))})),t}return t}(),e}()}}}}},{extensions:[".js",".json"]}),l=m("/node_modules/meteor/id-map/id-map.js");Package._define("id-map",l,{IdMap:f})}();
72
73!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.check.check,a=Package.check.Match,i=Package.random.Random,o=Package.ejson.EJSON,s=Package.tracker.Tracker,c=Package.tracker.Deps,u=Package.retry.Retry,l=Package.modules.meteorInstall,d=Package.modules.meteorBabelHelpers,m=Package.promise.Promise,h=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,b,p=l({node_modules:{meteor:{"ddp-common":{
73"namespace.js":function e(){b={}},
73"heartbeat.js":function t(){b.Heartbeat=function(){function t(e){this.heartbeatInterval=e.heartbeatInterval,this.heartbeatTimeout=e.heartbeatTimeout,this._sendPing=e.sendPing,this._onTimeout=e.onTimeout,this._seenPacket=!1,this._heartbeatIntervalHandle=null,this._heartbeatTimeoutHandle=null}var n=t.prototype;return n.stop=function(){function e(){this._clearHeartbeatIntervalTimer(),this._clearHeartbeatTimeoutTimer()}return e}(),n.start=function(){function e(){this.stop(),this._startHeartbeatIntervalTimer()}return e}(),n._startHeartbeatIntervalTimer=function(){function t(){var t=this;this._heartbeatIntervalHandle=e.setInterval((function(){return t._heartbeatIntervalFired()}),this.heartbeatInterval)}return t}(),n._startHeartbeatTimeoutTimer=function(){function t(){var t=this;this._heartbeatTimeoutHandle=e.setTimeout((function(){return t._heartbeatTimeoutFired()}),this.heartbeatTimeout)}return t}(),n._clearHeartbeatIntervalTimer=function(){function t(){this._heartbeatIntervalHandle&&(e.clearInterval(this._heartbeatIntervalHandle),this._heartbeatIntervalHandle=null)}return t}(),n._clearHeartbeatTimeoutTimer=function(){function t(){this._heartbeatTimeoutHandle&&(e.clearTimeout(this._heartbeatTimeoutHandle),this._heartbeatTimeoutHandle=null)}return t}(),n._heartbeatIntervalFired=function(){function e(){this._seenPacket||this._heartbeatTimeoutHandle||(this._sendPing(),this._startHeartbeatTimeoutTimer()),this._seenPacket=!1}return e}(),n._heartbeatTimeoutFired=function(){function e(){this._heartbeatTimeoutHandle=null,this._onTimeout()}return e}(),n.messageReceived=function(){function e(){this._seenPacket=!0,this._heartbeatTimeoutHandle&&this._clearHeartbeatTimeoutTimer()}return e}(),t}()},
73"utils.js":function t(n,r,t){"use strict";var a;t.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},0),t.export({hasOwn:function(){return i},slice:function(){return s},keys:function(){return c},isEmpty:function(){return u},last:function(){return l}});var i=Object.prototype.hasOwnProperty,s=Array.prototype.slice;function c(e){return Object.keys(Object(e))}function u(e){if(null==e)return!0;if(Array.isArray(e)||"string"==typeof e)return 0===e.length;for(var t in d.sanitizeForInObject(e))if(i.call(e,t))return!1;return!0}function l(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:s.call(e,Math.max(e.length-t,0))}b.SUPPORTED_DDP_VERSIONS=["1","pre2","pre1"],b.parseDDP=function(t){try{var n=JSON.parse(t)}catch(r){return e._debug("Discarding message with invalid JSON",t),null}return null===n||"object"!==a(n)?(e._debug("Discarding non-object DDP message",t),null):(i.call(n,"cleared")&&(i.call(n,"fields")||(n.fields={}),n.cleared.forEach((function(e){n.fields[e]=void 0})),delete n.cleared),["fields","params","result"].forEach((function(e){i.call(n,e)&&(n[e]=o._adjustTypesFromJSONValue(n[e]))})),n)},b.stringifyDDP=function(e){var t=o.clone(e);if(i.call(e,"fields")){var n=[];Object.keys(e.fields).forEach((function(r){var a;"undefined"==typeof e.fields[r]&&(n.push(r),delete t.fields[r])})),u(n)||(t.cleared=n),u(t.fields)&&delete t.fields}if(["fields","params","result"].forEach((function(e){i.call(t,e)&&(t[e]=o._adjustTypesToJSONValue(t[e]))})),e.id&&"string"!=typeof e.id)throw new Error("Message id is not a string");return JSON.stringify(t)}},
73"method_invocation.js":function e(){b.MethodInvocation=function(){function e(e){this.isSimulation=e.isSimulation,this._unblock=e.unblock||function(){},this._calledUnblock=!1,this.userId=e.userId,this._setUserId=e.setUserId||function(){},this.connection=e.connection,this.randomSeed=e.randomSeed,this.randomStream=null}var t=e.prototype;return t.unblock=function(){function e(){this._calledUnblock=!0,this._unblock()}return e}(),t.setUserId=function(){function e(e){if(this._calledUnblock)throw new Error("Can't call setUserId in a method after calling unblock");this.userId=e,this._setUserId(e)}return e}(),e}()},
73"random_stream.js":function e(){function t(){return i.hexString(20)}b.RandomStream=function(){function e(e){this.seed=[].concat(e.seed||t()),this.sequences=Object.create(null)}var n;return e.prototype._sequence=function(){function e(e){var t=this,n=t.sequences[e]||null;if(null===n){for(var r=t.seed.concat(e),a=0;a<r.length;a++)"function"==typeof r[a]&&(r[a]=r[a]());t.sequences[e]=n=i.createWithSeeds.apply(null,r)}return n}return e}(),e}(),b.RandomStream.get=function(e,t){if(t||(t="default"),!e)return i.insecure;var n=e.randomStream;return n||(e.randomStream=n=new b.RandomStream({seed:e.randomSeed})),n._sequence(t)},b.makeRpcSeed=function(e,t){var n;return b.RandomStream.get(e,"/rpc/"+t).hexString(20)}}}}}},{extensions:[".js",".json"]});p("/node_modules/meteor/ddp-common/namespace.js"),p("/node_modules/meteor/ddp-common/heartbeat.js"),p("/node_modules/meteor/ddp-common/utils.js"),p("/node_modules/meteor/ddp-common/method_invocation.js"),p("/node_modules/meteor/ddp-common/random_stream.js"),Package._define("ddp-common",{DDPCommon:b})}();
74
75!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,a=Package.meteor.meteorEnv,t=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,n=Package.promise.Promise,i=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,d,c=t({node_modules:{meteor:{reload:{
75"reload.js":function o(a,t,o){var r,n;o.link("@babel/runtime/helpers/slicedToArray",{default:function(e){r=e}},0),o.link("@babel/runtime/helpers/typeof",{default:function(e){n=e}},1),o.export({Reload:function(){return i}});var i={},l=e.settings&&e.settings.public&&e.settings.public.packages&&e.settings.public.packages.reload||{};function s(e,o){l.debug&&console.log("[reload] "+e,JSON.stringify(o))}var d="Meteor_Reload",c={},u,g=null;try{(g=window.sessionStorage)?(g.setItem("__dummy__","1"),g.removeItem("__dummy__")):g=null}catch(_){g=null}i._getData=function(){return g&&g.getItem(d)},g&&(u=i._getData(),g.removeItem(d)),u||(u="{}");var m={};try{m=JSON.parse(u),"object"!==n(m)&&(e._debug("Got bad data on reload. Ignoring."),m={})}catch(b){e._debug("Got invalid JSON on reload. Ignoring.")}m.reload&&"object"===n(m.data)&&(c=m.data);var p=[];i._onMigrate=function(e,o){s("_onMigrate",{name:e}),o||(o=e,e=void 0,s("_onMigrate no callback")),p.push({name:e,callback:o})},i._migrationData=function(e){return s("_migrationData",{name:e}),c[e]};var f=function(e,o){s("pollProviders",{options:o}),e=e||function(){};var a,t=(o=o||{}).immediateMigration;s("pollProviders is "+(t?"":"NOT ")+"immediateMigration",{options:o});var n={},i=!0;return p.forEach((function(a){var t=a||{},l=t.callback,d=t.name,c=l(e,o)||[],u=r(c,2),g=u[0],m=u[1];s("pollProviders provider "+(d||"unknown")+" is "+(g?"ready":"NOT ready"),{options:o}),g||(i=!1),void 0!==m&&d&&(n[d]=m)})),i?(s("pollProviders allReady",{options:o,migrationData:n}),n):t?(s("pollProviders immediateMigration",{options:o,migrationData:n}),n):null};i._migrate=function(o,a){s("_migrate",{options:a});var t=f(o,a),r;if(null===t)return!1;try{r=JSON.stringify({data:t,reload:!0})}catch(b){throw e._debug("Couldn't serialize data for migration",t),b}if(g)try{g.setItem(d,r)}catch(b){e._debug("Couldn't save data for migration to sessionStorage",b)}else e._debug("Browser does not support sessionStorage. Not saving migration state.");return!0},i._withFreshProvidersForTest=function(e){var o=p.slice(0);p=[];try{e()}finally{p=o}};var v=!1;i._reload=function(o){function a(){s("tryReload"),setTimeout(r,1)}function t(){s("forceBrowserReload"),window.location.hash||window.location.href.endsWith("#")?window.location.reload():window.location.replace(window.location.href)}function r(){s("reload"),i._migrate(a,o)&&(e.isCordova?WebAppLocalServer.switchToPendingVersion((function(){t()})):t())}s("_reload",{options:o}),o=o||{},v?s("reloading in progress already",{options:o}):(v=!0,a())}}}}}},{extensions:[".js",".json"]}),u=c("/node_modules/meteor/reload/reload.js");Package._define("reload",u,{Reload:d})}();
76
77!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.retry.Retry,o=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,l,f=o({node_modules:{meteor:{"socket-stream-client":{
77"sockjs-0.3.4.js":function e(t,n,e){var r;e.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),l=function(){var e=document,t=window,n={},o=function(){};o.prototype.addEventListener=function(e,t){this._listeners||(this._listeners={}),e in this._listeners||(this._listeners[e]=[]);var r=this._listeners[e];-1===n.arrIndexOf(r,t)&&r.push(t)},o.prototype.removeEventListener=function(e,t){if(this._listeners&&e in this._listeners){var r=this._listeners[e],o=n.arrIndexOf(r,t);-1===o||(r.length>1?this._listeners[e]=r.slice(0,o).concat(r.slice(o+1)):delete this._listeners[e])}},o.prototype.dispatchEvent=function(e){var t=e.type,n=Array.prototype.slice.call(arguments,0);if(this["on"+t]&&this["on"+t].apply(this,n),this._listeners&&t in this._listeners)for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].apply(this,n)};var s=function(e,t){if(this.type=e,"undefined"!=typeof t)for(var n in i.sanitizeForInObject(t))t.hasOwnProperty(n)&&(this[n]=t[n])};s.prototype.toString=function(){var e=[];for(var t in i.sanitizeForInObject(this))if(this.hasOwnProperty(t)){var n=this[t];"function"==typeof n&&(n="[function]"),e.push(t+"="+n)}return"SimpleEvent("+e.join(", ")+")"};var a=function(e){var t=this;t._events=e||[],t._listeners={}};a.prototype.emit=function(e){var t=this;if(t._verifyType(e),!t._nuked){var n=Array.prototype.slice.call(arguments,1);if(t["on"+e]&&t["on"+e].apply(t,n),e in t._listeners)for(var r=0;r<t._listeners[e].length;r++)t._listeners[e][r].apply(t,n)}},a.prototype.on=function(e,t){var n=this;n._verifyType(e),n._nuked||(e in n._listeners||(n._listeners[e]=[]),n._listeners[e].push(t))},a.prototype._verifyType=function(e){var t=this;-1===n.arrIndexOf(t._events,e)&&n.log("Event "+JSON.stringify(e)+" not listed "+JSON.stringify(t._events)+" in "+t)},a.prototype.nuke=function(){var e=this;e._nuked=!0;for(var t=0;t<e._events.length;t++)delete e[e._events[t]];e._listeners={}};var u="abcdefghijklmnopqrstuvwxyz0123456789_";n.random_string=function(e,t){t=t||u.length;var n,r=[];for(n=0;n<e;n++)r.push(u.substr(Math.floor(Math.random()*t),1));return r.join("")},n.random_number=function(e){return Math.floor(Math.random()*e)},n.random_number_string=function(e){var t=(""+(e-1)).length,r;return(Array(t+1).join("0")+n.random_number(e)).slice(-t)},n.getOrigin=function(e){var t;return(e+="/").split("/").slice(0,3).join("/")},n.isSameOriginUrl=function(e,n){return n||(n=t.location.href),e.split("/").slice(0,3).join("/")===n.split("/").slice(0,3).join("/")},n.isSameOriginScheme=function(e,n){return n||(n=t.location.href),e.split(":")[0]===n.split(":")[0]},n.getParentDomain=function(e){return/^[0-9.]*$/.test(e)||/^\[/.test(e)?e:/[.]/.test(e)?e.split(".").slice(1).join("."):e;var t},n.objectExtend=function(e,t){for(var n in i.sanitizeForInObject(t))t.hasOwnProperty(n)&&(e[n]=t[n]);return e};var c="_jp";n.polluteGlobalNamespace=function(){c in t||(t._jp={})},n.closeFrame=function(e,t){return"c"+JSON.stringify([e,t])},n.userSetCode=function(e){return 1e3===e||e>=3e3&&e<=4999},n.countRTO=function(e){var t;return t=e>100?3*e:e+200},n.log=function(){t.console&&console.log&&console.log.apply&&console.log.apply(console,arguments)},n.debug=function(){t.console&&console.debug&&console.debug.apply&&console.debug.apply(console,arguments)},n.bind=function(e,t){return e.bind?e.bind(t):function(){return e.apply(t,arguments)}},n.flatUrl=function(e){return-1===e.indexOf("?")&&-1===e.indexOf("#")},n.amendUrl=function(t,r){var o;if(void 0===r)o=e.location;else{var i=/^([a-z0-9.+-]+:)/i.exec(r);if(i){var s=i[0].toLowerCase(),a=r.substring(s.length),u=/[a-z0-9\.-]+(:[0-9]+)?/.exec(a);if(u)var c=u[0]}if(!s||!c)throw new Error("relativeTo must be an absolute url");o={protocol:s,host:c}}if(!t)throw new Error("Wrong url for SockJS");if(!n.flatUrl(t))throw new Error("Only basic urls are supported in SockJS");0===t.indexOf("//")&&(t=o.protocol+t),0===t.indexOf("/")&&(t=o.protocol+"//"+o.host+t);var l=(t=t.replace(/[/]+$/,"")).split("/");return("http:"===l[0]&&/:80$/.test(l[2])||"https:"===l[0]&&/:443$/.test(l[2]))&&(l[2]=l[2].replace(/:(80|443)$/,"")),t=l.join("/")},n.arrIndexOf=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1}
77,n.arrSkip=function(e,t){var r=n.arrIndexOf(e,t),o;return-1===r?e.slice():e.slice(0,r).concat(e.slice(r+1))},n.isArray=Array.isArray||function(e){return{}.toString.call(e).indexOf("Array")>=0},n.delay=function(e,t){return"function"==typeof e&&(t=e,e=0),setTimeout(t,e)};var l=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,f={"\0":"\\u0000","�":"\\u0001","�":"\\u0002","�":"\\u0003","�":"\\u0004","�":"\\u0005","�":"\\u0006","�":"\\u0007","\b":"\\b","\t":"\\t","\n":"\\n","\v":"\\u000b","\f":"\\f","\r":"\\r","�":"\\u000e","�":"\\u000f","�":"\\u0010","�":"\\u0011","�":"\\u0012","�":"\\u0013","�":"\\u0014","�":"\\u0015","�":"\\u0016","�":"\\u0017","�":"\\u0018","�":"\\u0019","�":"\\u001a","�":"\\u001b","�":"\\u001c","�":"\\u001d","�":"\\u001e","�":"\\u001f",'"':'\\"',"\\":"\\\\","�":"\\u007f","€":"\\u0080","":"\\u0081","‚":"\\u0082","ƒ":"\\u0083","„":"\\u0084","…":"\\u0085","†":"\\u0086","‡":"\\u0087","ˆ":"\\u0088","‰":"\\u0089","Š":"\\u008a","‹":"\\u008b","Œ":"\\u008c","":"\\u008d","Ž":"\\u008e","":"\\u008f","":"\\u0090","‘":"\\u0091","’":"\\u0092","“":"\\u0093","”":"\\u0094","•":"\\u0095","–":"\\u0096","—":"\\u0097","˜":"\\u0098","™":"\\u0099","š":"\\u009a","›":"\\u009b","œ":"\\u009c","":"\\u009d","ž":"\\u009e","Ÿ":"\\u009f","­":"\\u00ad","؀":"\\u0600","؁":"\\u0601","؂":"\\u0602","؃":"\\u0603","؄":"\\u0604","܏":"\\u070f","឴":"\\u17b4","឵":"\\u17b5","‌":"\\u200c","‍":"\\u200d","‎":"\\u200e","‏":"\\u200f","\u2028":"\\u2028","\u2029":"\\u2029","‪":"\\u202a","‫":"\\u202b","‬":"\\u202c","‭":"\\u202d","‮":"\\u202e"," ":"\\u202f","⁠":"\\u2060","⁡":"\\u2061","⁢":"\\u2062","⁣":"\\u2063","⁤":"\\u2064","⁥":"\\u2065","⁦":"\\u2066","⁧":"\\u2067","⁨":"\\u2068","⁩":"\\u2069","":"\\u206a","":"\\u206b","":"\\u206c","":"\\u206d","":"\\u206e","":"\\u206f","\ufeff":"\\ufeff","ï¿°":"\\ufff0","￱":"\\ufff1","￲":"\\ufff2","￳":"\\ufff3","ï¿´":"\\ufff4","￵":"\\ufff5","ï¿¶":"\\ufff6","ï¿·":"\\ufff7","￸":"\\ufff8","":"\\ufff9","":"\\ufffa","ï¿»":"\\ufffb","":"\\ufffc","�":"\\ufffd","￾":"\\ufffe","ï¿¿":"\\uffff"},d=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u05c4\u0610-\u0617\u0653-\u0654\u0657-\u065b\u065d-\u065e\u06df-\u06e2\u06eb-\u06ec\u0730\u0732-\u0733\u0735-\u0736\u073a\u073d\u073f-\u0741\u0743\u0745\u0747\u07eb-\u07f1\u0951\u0958-\u095f\u09dc-\u09dd\u09df\u0a33\u0a36\u0a59-\u0a5b\u0a5e\u0b5c-\u0b5d\u0e38-\u0e39\u0f43\u0f4d\u0f52\u0f57\u0f5c\u0f69\u0f72-\u0f76\u0f78\u0f80-\u0f83\u0f93\u0f9d\u0fa2\u0fa7\u0fac\u0fb9\u1939-\u193a\u1a17\u1b6b\u1cda-\u1cdb\u1dc0-\u1dcf\u1dfc\u1dfe\u1f71\u1f73\u1f75\u1f77\u1f79\u1f7b\u1f7d\u1fbb\u1fbe\u1fc9\u1fcb\u1fd3\u1fdb\u1fe3\u1feb\u1fee-\u1fef\u1ff9\u1ffb\u1ffd\u2000-\u2001\u20d0-\u20d1\u20d4-\u20d7\u20e7-\u20e9\u2126\u212a-\u212b\u2329-\u232a\u2adc\u302b-\u302c\uaab2-\uaab3\uf900-\ufa0d\ufa10\ufa12\ufa15-\ufa1e\ufa20\ufa22\ufa25-\ufa26\ufa2a-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufb4e\ufff0-\uffff]/g,p,h=JSON&&JSON.stringify||function(e){return l.lastIndex=0,l.test(e)&&(e=e.replace(l,(function(e){return f[e]}))),'"'+e+'"'},_=function(e){var t,n={},r=[];for(t=0;t<65536;t++)r.push(String.fromCharCode(t));return e.lastIndex=0,r.join("").replace(e,(function(e){return n[e]="\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4),""})),e.lastIndex=0,n};n.quote=function(e){var t=h(e);return d.lastIndex=0,d.test(t)?(p||(p=_(d)),t.replace(d,(function(e){return p[e]}))):t};var m=["websocket","xdr-streaming","xhr-streaming","iframe-eventsource","iframe-htmlfile","xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"];n.probeProtocols=function(){for(var e={},t=0;t<m.length;t++){var n=m[t];e[n]=T[n]&&T[n].enabled()}return e},n.detectProtocols=function(e,t,n){var r={},o=[];t||(t=m);for(var i=0;i<t.length;i++){var s=t[i];r[s]=e[s]}var a=function(e){var t=e.shift();r[t]?o.push(t):e.length>0&&a(e)};return!1!==n.websocket&&a(["websocket"]),r["xhr-streaming"]&&!n.null_origin?o.push("xhr-streaming"):!r["xdr-streaming"]||n.c
77ookie_needed||n.null_origin?a(["iframe-eventsource","iframe-htmlfile"]):o.push("xdr-streaming"),r["xhr-polling"]&&!n.null_origin?o.push("xhr-polling"):!r["xdr-polling"]||n.cookie_needed||n.null_origin?a(["iframe-xhr-polling","jsonp-polling"]):o.push("xdr-polling"),o};var v="_sockjs_global";n.createHook=function(){var e="a"+n.random_string(8);if(!(v in t)){var r={};t[v]=function(e){return e in r||(r[e]={id:e,del:function(){delete r[e]}}),r[e]}}return t[v](e)},n.attachMessage=function(e){n.attachEvent("message",e)},n.attachEvent=function(n,r){"undefined"!=typeof t.addEventListener?t.addEventListener(n,r,!1):(e.attachEvent("on"+n,r),t.attachEvent("on"+n,r))},n.detachMessage=function(e){n.detachEvent("message",e)},n.detachEvent=function(n,r){"undefined"!=typeof t.addEventListener?t.removeEventListener(n,r,!1):(e.detachEvent("on"+n,r),t.detachEvent("on"+n,r))};var b={},y=!1,g=function(){for(var e in i.sanitizeForInObject(b))b[e](),delete b[e]},w=function(){y||(y=!0,g())};n.attachEvent("unload",w),n.unload_add=function(e){var t=n.random_string(8);return b[t]=e,y&&n.delay(g),t},n.unload_del=function(e){e in b&&delete b[e]},n.createIframe=function(t,r){var o=e.createElement("iframe"),i,s,a=function(){clearTimeout(i);try{o.onload=null}catch(e){}o.onerror=null},u=function(){o&&(a(),setTimeout((function(){o&&o.parentNode.removeChild(o),o=null}),0),n.unload_del(s))},c=function(e){o&&(u(),r(e))},l=function(e,t){try{o&&o.contentWindow&&o.contentWindow.postMessage(e,t)}catch(n){}};return o.src=t,o.style.display="none",o.style.position="absolute",o.onerror=function(){c("onerror")},o.onload=function(){clearTimeout(i),i=setTimeout((function(){c("onload timeout")}),2e3)},e.body.appendChild(o),i=setTimeout((function(){c("timeout")}),15e3),s=n.unload_add(u),{post:l,cleanup:u,loaded:a}},n.createHtmlfile=function(e,r){var o=new ActiveXObject("htmlfile"),i,s,a,u=function(){clearTimeout(i)},c=function(){o&&(u(),n.unload_del(s),a.parentNode.removeChild(a),a=o=null,CollectGarbage())},l=function(e){o&&(c(),r(e))},f=function(e,t){try{a&&a.contentWindow&&a.contentWindow.postMessage(e,t)}catch(n){}};o.open(),o.write('<html><script>document.domain="'+document.domain+'";<\/script></html>'),o.close(),o.parentWindow._jp=t._jp;var d=o.createElement("div");return o.body.appendChild(d),a=o.createElement("iframe"),d.appendChild(a),a.src=e,i=setTimeout((function(){l("timeout")}),15e3),s=n.unload_add(c),{post:f,cleanup:c,loaded:u}};var S=function(){};(S.prototype=new a(["chunk","finish"]))._start=function(e,r,o,s){var a=this;try{a.xhr=new XMLHttpRequest}catch(c){}if(!a.xhr)try{a.xhr=new t.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}(t.ActiveXObject||t.XDomainRequest)&&(r+=(-1===r.indexOf("?")?"?":"&")+"t="+ +new Date),a.unload_ref=n.unload_add((function(){a._cleanup(!0)}));try{a.xhr.open(e,r,!0)}catch(l){return a.emit("finish",0,""),void a._cleanup()}if(s&&s.no_credentials||(a.xhr.withCredentials="true"),s&&s.headers)for(var u in i.sanitizeForInObject(s.headers))a.xhr.setRequestHeader(u,s.headers[u]);a.xhr.onreadystatechange=function(){if(a.xhr){var e=a.xhr;switch(e.readyState){case 3:try{var t=e.status,n=e.responseText}catch(e){}1223===t&&(t=204),n&&n.length>0&&a.emit("chunk",t,n);break;case 4:var t;1223===(t=e.status)&&(t=204),a.emit("finish",t,e.responseText),a._cleanup(!1)}}},a.xhr.send(o)},S.prototype._cleanup=function(e){var t=this;if(t.xhr){if(n.unload_del(t.unload_ref),t.xhr.onreadystatechange=function(){},e)try{t.xhr.abort()}catch(r){}t.unload_ref=t.xhr=null}},S.prototype.close=function(){var e=this;e.nuke(),e._cleanup(!0)};var C=n.XHRCorsObject=function(){var e=this,t=arguments;n.delay((function(){e._start.apply(e,t)}))},k;C.prototype=new S,(n.XHRLocalObject=function(e,t,r){var o=this;n.delay((function(){o._start(e,t,r,{no_credentials:!0})}))}).prototype=new S;var O=n.XDRObject=function(e,t,r){var o=this;n.delay((function(){o._start(e,t,r)}))};O.prototype=new a(["chunk","finish"]),O.prototype._start=function(e,t,r){var o=this,i=new XDomainRequest;t+=(-1===t.indexOf("?")?"?":"&")+"t="+ +new Date;var s=i.ontimeout=i.onerror=function(){o.emit("finish",0,""),o._cleanup(!1)};
77i.onprogress=function(){o.emit("chunk",200,i.responseText)},i.onload=function(){o.emit("finish",200,i.responseText),o._cleanup(!1)},o.xdr=i,o.unload_ref=n.unload_add((function(){o._cleanup(!0)}));try{o.xdr.open(e,t),o.xdr.send(r)}catch(a){s()}},O.prototype._cleanup=function(e){var t=this;if(t.xdr){if(n.unload_del(t.unload_ref),t.xdr.ontimeout=t.xdr.onerror=t.xdr.onprogress=t.xdr.onload=null,e)try{t.xdr.abort()}catch(r){}t.unload_ref=t.xdr=null}},O.prototype.close=function(){var e=this;e.nuke(),e._cleanup(!0)},n.isXHRCorsCapable=function(){return t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest?1:t.XDomainRequest&&e.domain?2:U.enabled()?3:4};var T=function(e,t,r){if(!(this instanceof T))return new T(e,t,r);var o=this,i;o._options={devel:!1,debug:!1,protocols_whitelist:[],info:void 0,rtt:void 0},r&&n.objectExtend(o._options,r),o._base_url=n.amendUrl(e),o._server=o._options.server||n.random_number_string(1e3),o._options.protocols_whitelist&&o._options.protocols_whitelist.length?i=o._options.protocols_whitelist:(i="string"==typeof t&&t.length>0?[t]:n.isArray(t)?t:null)&&o._debug('Deprecated API: Use "protocols_whitelist" option instead of supplying protocol list as a second parameter to SockJS constructor.'),o._protocols=[],o.protocol=null,o.readyState=T.CONNECTING,o._ir=z(o._base_url),o._ir.onfinish=function(e,t){o._ir=null,e?(o._options.info&&(e=n.objectExtend(e,o._options.info)),o._options.rtt&&(t=o._options.rtt),o._applyInfo(e,t,i),o._didClose()):o._didClose(1002,"Can't connect to server",!0)}};T.prototype=new o,T.version="0.3.4",T.CONNECTING=0,T.OPEN=1,T.CLOSING=2,T.CLOSED=3,T.prototype._debug=function(){this._options.debug&&n.log.apply(n,arguments)},T.prototype._dispatchOpen=function(){var e=this;e.readyState===T.CONNECTING?(e._transport_tref&&(clearTimeout(e._transport_tref),e._transport_tref=null),e.readyState=T.OPEN,e.dispatchEvent(new s("open"))):e._didClose(1006,"Server lost session")},T.prototype._dispatchMessage=function(e){var t=this;t.readyState===T.OPEN&&t.dispatchEvent(new s("message",{data:e}))},T.prototype._dispatchHeartbeat=function(e){var t=this;t.readyState===T.OPEN&&t.dispatchEvent(new s("heartbeat",{}))},T.prototype._didClose=function(e,t,r){var o=this;if(o.readyState===T.CONNECTING||o.readyState===T.OPEN||o.readyState===T.CLOSING){o._ir&&(o._ir.nuke(),o._ir=null),o._transport&&(o._transport.doCleanup(),o._transport=null);
77var i=new s("close",{code:e,reason:t,wasClean:n.userSetCode(e)});if(!n.userSetCode(e)&&o.readyState===T.CONNECTING&&!r){if(o._try_next_protocol(i))return;i=new s("close",{code:2e3,reason:"All transports failed",wasClean:!1,last_event:i})}o.readyState=T.CLOSED,n.delay((function(){o.dispatchEvent(i)}))}else n.debug("INVALID_STATE_ERR",o.readyState)},T.prototype._didMessage=function(e){var t=this,n;switch(e.slice(0,1)){case"o":t._dispatchOpen();break;case"a":for(var r=JSON.parse(e.slice(1)||"[]"),o=0;o<r.length;o++)t._dispatchMessage(r[o]);break;case"m":var r=JSON.parse(e.slice(1)||"null");t._dispatchMessage(r);break;case"c":var r=JSON.parse(e.slice(1)||"[]");t._didClose(r[0],r[1]);break;case"h":t._dispatchHeartbeat()}},T.prototype._try_next_protocol=function(t){var r=this;for(r.protocol&&(r._debug("Closed transport:",r.protocol,""+t),r.protocol=null),r._transport_tref&&(clearTimeout(r._transport_tref),r._transport_tref=null);;){var o=r.protocol=r._protocols.shift();if(!o)return!1;if(T[o]&&!0===T[o].need_body&&(!e.body||"undefined"!=typeof e.readyState&&"complete"!==e.readyState))return r._protocols.unshift(o),r.protocol="waiting-for-load",n.attachEvent("load",(function(){r._try_next_protocol()})),!0;if(T[o]&&T[o].enabled(r._options)){var i=T[o].roundTrips||1,s=(r._options.rto||0)*i||5e3;r._transport_tref=n.delay(s,(function(){r.readyState===T.CONNECTING&&r._didClose(2007,"Transport timeouted")}));var a=n.random_string(8),u=r._base_url+"/"+r._server+"/"+a;return r._debug("Opening transport:",o," url:"+u," RTO:"+r._options.rto),r._transport=new T[o](r,u,r._base_url),!0}r._debug("Skipping transport:",o)}},T.prototype.close=function(e,t){var r=this;if(e&&!n.userSetCode(e))throw new Error("INVALID_ACCESS_ERR");return(r.readyState===T.CONNECTING||r.readyState===T.OPEN)&&(r.readyState=T.CLOSING,r._didClose(e||1e3,t||"Normal closure"),!0)},T.prototype.send=function(e){var t=this;if(t.readyState===T.CONNECTING)throw new Error("INVALID_STATE_ERR");return t.readyState===T.OPEN&&t._transport.doSend(n.quote(""+e)),!0},T.prototype._applyInfo=function(t,r,o){var i=this;i._options.info=t,i._options.rtt=r,i._options.rto=n.countRTO(r),i._options.info.null_origin=!e.domain,t.base_url&&(i._base_url=n.amendUrl(t.base_url,i._base_url));var s=n.probeProtocols();i._protocols=n.detectProtocols(s,o,t),n.isSameOriginScheme(i._base_url)||2!==n.isXHRCorsCapable()||(i._protocols=["jsonp-polling"])};var x=T.websocket=function(e,r){var o=this,i=r+"/websocket";i="https"===i.slice(0,5)?"wss"+i.slice(5):"ws"+i.slice(4),o.ri=e,o.url=i;var s=t.WebSocket||t.MozWebSocket;o.ws=new s(o.url),o.ws.onmessage=function(e){o.ri._didMessage(e.data)},o.unload_ref=n.unload_add((function(){o.ws.close()})),o.ws.onclose=function(){o.ri._didMessage(n.closeFrame(1006,"WebSocket connection broken"))}};x.prototype.doSend=function(e){this.ws.send("["+e+"]")},x.prototype.doCleanup=function(){var e=this,t=e.ws;t&&(t.onmessage=t.onclose=null,t.close(),n.unload_del(e.unload_ref),e.unload_ref=e.ri=e.ws=null)},x.enabled=function(){return!(!t.WebSocket&&!t.MozWebSocket)},x.roundTrips=2;var j=function(){};j.prototype.send_constructor=function(e){var t=this;t.send_buffer=[],t.sender=e},j.prototype.doSend=function(e){var t=this;t.send_buffer.push(e),t.send_stop||t.send_schedule()},j.prototype.send_schedule_wait=function(){var e=this,t;e.send_stop=function(){e.send_stop=null,clearTimeout(t)},t=n.delay(25,(function(){e.send_stop=null,e.send_schedule()}))},j.prototype.send_schedule=function(){var e=this;if(e.send_buffer.length>0){var t="["+e.send_buffer.join(",")+"]";e.send_stop=e.sender(e.trans_url,t,(function(t,n){e.send_stop=null,!1===t?e.ri._didClose(1006,"Sending error "+n):e.send_schedule_wait()})),e.send_buffer=[]}},j.prototype.send_destructor=function(){var e=this;e._send_stop&&e._send_stop(),e._send_stop=null};var E=function(t,r,o){var i=this;if(!("_send_form"in i)){var s=i._send_form=e.createElement("form"),a;(a=i._send_area=e.createElement("textarea")).name="d",s.style.display="none",s.style.position="absolute",s.method="POST",s.enctype="application/x-www-form-urlencoded",s.acceptCharset="UTF-8",s.appendChild(a),e.body.appendChild(s)}var s=i._send_form,a=i._send_area,u="a"+n.random_string(8),c;s.target=u,s.action=t+"/jsonp_send?i="+u;try{c=e.createElement('<iframe name="'+u+'">')}catch(f){(c=e.createElement("iframe")).name=u}c.id=u,s.appendChild(c),c.style.display="none";try{a.value=r}catch(d){n.log("Your browser is seriously broken. Go home! "+d.message)}s.submit();var l=function(e){c.onerror&&(c.onreadystatechange=c.onerror=c.onload=null,n.delay(500,(function(){c.parentNode.removeChild(c),c=null})),a.value="",o(!0))};return c.onerror=c.onload=l,c.onreadystatechange=function(e){"complete"==c.readyState&&l()},l},N=function(e){return function(t,n,r){var o;return new e("POST",t+"/xhr_send",n).onfinish=function(e,t){r(200===e||204===e,"http status "+e)},function(e){r(!1,e)}}},M=function(t,r){var o,i=e.createElement("script"),s,a=function(e){s&&(s.parentNode.removeChild(s),s=null),i&&(clearTimeout(o),i.parentNode.removeChild(i),i.onreadystatechange=i.onerror=i.onload=i.onclick=null,i=null,r(e),r=null)},u=!1,c=null;if(i.id="a"+n.random_string(8),i.src=t,i.type="text/javascript",i.charset="UTF-8",i.onerror=function(e){c||(c=setTimeout((function(){u||a(n.closeFrame
77(1006,"JSONP script loaded abnormally (onerror)"))}),1e3))},i.onload=function(e){a(n.closeFrame(1006,"JSONP script loaded abnormally (onload)"))},i.onreadystatechange=function(e){if(/loaded|closed/.test(i.readyState)){if(i&&i.htmlFor&&i.onclick){u=!0;try{i.onclick()}catch(t){}}i&&a(n.closeFrame(1006,"JSONP script loaded abnormally (onreadystatechange)"))}},"undefined"==typeof i.async&&e.attachEvent)if(/opera/i.test(navigator.userAgent))(s=e.createElement("script")).text="try{var a = document.getElementById('"+i.id+"'); if(a)a.onerror();}catch(x){};",i.async=s.async=!1;else{try{i.htmlFor=i.id,i.event="onclick"}catch(f){}i.async=!0}"undefined"!=typeof i.async&&(i.async=!0),o=setTimeout((function(){a(n.closeFrame(1006,"JSONP script loaded abnormally (timeout)"))}),35e3);var l=e.getElementsByTagName("head")[0];return l.insertBefore(i,l.firstChild),s&&l.insertBefore(s,l.firstChild),a},R=T["jsonp-polling"]=function(e,t){n.polluteGlobalNamespace();var r=this;r.ri=e,r.trans_url=t,r.send_constructor(E),r._schedule_recv()};R.prototype=new j,R.prototype._schedule_recv=function(){var e=this,t=function(t){e._recv_stop=null,t&&(e._is_closing||e.ri._didMessage(t)),e._is_closing||e._schedule_recv()};e._recv_stop=I(e.trans_url+"/jsonp",M,t)},R.enabled=function(){return!0},R.need_body=!0,R.prototype.doCleanup=function(){var e=this;e._is_closing=!0,e._recv_stop&&e._recv_stop(),e.ri=e._recv_stop=null,e.send_destructor()};var I=function(e,r,o){var i="a"+n.random_string(6),s=e+"?c="+escape("_jp."+i),a=0,u,c=r(s,(function(e){switch(a){case 0:delete t._jp[i],o(e);break;case 1:o(e),a=2;break;case 2:delete t._jp[i]}})),l;return t._jp[i]=c,function(){t._jp[i]&&(a=1,t._jp[i](n.closeFrame(1e3,"JSONP user aborted read")))}},P=function(){};(P.prototype=new j).run=function(e,t,n,r,o){var i=this;i.ri=e,i.trans_url=t,i.send_constructor(N(o)),i.poll=new ee(e,r,t+n,o)},P.prototype.doCleanup=function(){var e=this;e.poll&&(e.poll.abort(),e.poll=null)};var L=T["xhr-streaming"]=function(e,t){this.run(e,t,"/xhr_streaming",ie,n.XHRCorsObject)};L.prototype=new P,L.enabled=function(){return t.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest&&!/opera/i.test(navigator.userAgent)},L.roundTrips=2,L.need_body=!0;var A=T["xdr-streaming"]=function(e,t){this.run(e,t,"/xhr_streaming",ie,n.XDRObject)};A.prototype=new P,A.enabled=function(){return!!t.XDomainRequest},A.roundTrips=2;var X=T["xhr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XHRCorsObject)};X.prototype=new P,X.enabled=L.enabled,X.roundTrips=2;var H=T["xdr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XDRObject)};H.prototype=new P,H.enabled=A.enabled,H.roundTrips=2;var U=function(){},D;U.prototype.i_constructor=function(e,t,r){var o=this;o.ri=e,o.origin=n.getOrigin(r),o.base_url=r,o.trans_url=t;var i=r+"/iframe.html";o.ri._options.devel&&(i+="?t="+ +new Date),o.window_id=n.random_string(8),i+="#"+o.window_id,o.iframeObj=n.createIframe(i,(function(e){o.ri._didClose(1006,"Unable to load an iframe ("+e+")")})),o.onmessage_cb=n.bind(o.onmessage,o),n.attachMessage(o.onmessage_cb)},U.prototype.doCleanup=function(){var e=this;if(e.iframeObj){n.detachMessage(e.onmessage_cb);try{e.iframeObj.iframe.contentWindow&&e.postMessage("c")}catch(t){}e.iframeObj.cleanup(),e.iframeObj=null,e.onmessage_cb=e.iframeObj=null}},U.prototype.onmessage=function(e){var t=this;if(e.origin===t.origin){var n=e.data.slice(0,8),r=e.data.slice(8,9),o=e.data.slice(9);if(n===t.window_id)switch(r){case"s":t.iframeObj.loaded(),t.postMessage("s",JSON.stringify([T.version,t.protocol,t.trans_url,t.base_url]));break;case"t":t.ri._didMessage(o)}}},U.prototype.postMessage=function(e,t){var n=this;n.iframeObj.post(n.window_id+e+(t||""),n.origin)},U.prototype.doSend=function(e){this.postMessage("m",e)},U.enabled=function(){var e=navigator&&navigator.userAgent&&-1!==navigator.userAgent.indexOf("Konqueror");return("function"==typeof t.postMessage||"object"===r(t.postMessage))&&!e};var J=function(e,r){parent!==t?parent.postMessage(D+e+(r||""),"*"):n.log("Can't postMessage, no parent window.",e,r)},W=function(){};
77W.prototype._didClose=function(e,t){J("t",n.closeFrame(e,t))},W.prototype._didMessage=function(e){J("t",e)},W.prototype._doSend=function(e){this._transport.doSend(e)},W.prototype._doCleanup=function(){this._transport.doCleanup()},n.parent_origin=void 0,T.bootstrap_iframe=function(){var r;D=e.location.hash.slice(1);var o=function(e){if(e.source===parent&&("undefined"==typeof n.parent_origin&&(n.parent_origin=e.origin),e.origin===n.parent_origin)){var o=e.data.slice(0,8),i=e.data.slice(8,9),s=e.data.slice(9);if(o===D)switch(i){case"s":var a=JSON.parse(s),u=a[0],c=a[1],l=a[2],f=a[3];if(u!==T.version&&n.log('Incompatibile SockJS! Main site uses: "'+u+'", the iframe: "'+T.version+'".'),!n.flatUrl(l)||!n.flatUrl(f))return void n.log("Only basic urls are supported in SockJS");if(!n.isSameOriginUrl(l)||!n.isSameOriginUrl(f))return void n.log("Can't connect to different domain from within an iframe. ("+JSON.stringify([t.location.href,l,f])+")");(r=new W)._transport=new W[c](r,l,f);break;case"m":r._doSend(s);break;case"c":r&&r._doCleanup(),r=null}}};n.attachMessage(o),J("s")};var F=function(e,t){var r=this;n.delay((function(){r.doXhr(e,t)}))};(F.prototype=new a(["finish"])).doXhr=function(e,t){var o=this,i=(new Date).getTime(),s=new t("GET",e+"/info?cb="+n.random_string(10)),a=n.delay(8e3,(function(){s.ontimeout()}));s.onfinish=function(e,t){if(clearTimeout(a),a=null,200===e){var n=(new Date).getTime()-i,s=JSON.parse(t);"object"!==r(s)&&(s={}),o.emit("finish",s,n)}else o.emit("finish")},s.ontimeout=function(){s.close(),o.emit("finish")}};var G=function(t){var r=this,o=function(){var e=new U;e.protocol="w-iframe-info-receiver";var n=function(t){if("string"==typeof t&&"m"===t.substr(0,1)){var n=JSON.parse(t.substr(1)),o=n[0],i=n[1];r.emit("finish",o,i)}else r.emit("finish");e.doCleanup(),e=null},o={_options:{},_didClose:n,_didMessage:n};e.i_constructor(o,t,t)};e.body?o():n.attachEvent("load",o)};G.prototype=new a(["finish"]);var q=function(){var e=this;n.delay((function(){e.emit("finish",{},2e3)}))};q.prototype=new a(["finish"]);var z=function(e){if(n.isSameOriginUrl(e))return new F(e,n.XHRLocalObject);switch(n.isXHRCorsCapable()){case 1:return new F(e,n.XHRLocalObject);case 2:return n.isSameOriginScheme(e)?new F(e,n.XDRObject):new q;case 3:return new G(e);default:return new q}},B;(W["w-iframe-info-receiver"]=function(e,t,r){var o;new F(r,n.XHRLocalObject).onfinish=function(t,n){e._didMessage("m"+JSON.stringify([t,n])),e._didClose()}}).prototype.doCleanup=function(){};var $=T["iframe-eventsource"]=function(){var e=this;e.protocol="w-iframe-eventsource",e.i_constructor.apply(e,arguments)},V;$.prototype=new U,$.enabled=function(){return"EventSource"in t&&U.enabled()},$.need_body=!0,$.roundTrips=3,(W["w-iframe-eventsource"]=function(e,t){this.run(e,t,"/eventsource",te,n.XHRLocalObject)}).prototype=new P;var K=T["iframe-xhr-polling"]=function(){var e=this;e.protocol="w-iframe-xhr-polling",e.i_constructor.apply(e,arguments)},Y;K.prototype=new U,K.enabled=function(){return t.XMLHttpRequest&&U.enabled()},K.need_body=!0,K.roundTrips=3,(W["w-iframe-xhr-polling"]=function(e,t){this.run(e,t,"/xhr",ie,n.XHRLocalObject)}).prototype=new P;var Q=T["iframe-htmlfile"]=function(){var e=this;e.protocol="w-iframe-htmlfile",e.i_constructor.apply(e,arguments)},Z;Q.prototype=new U,Q.enabled=function(){return U.enabled()},Q.need_body=!0,Q.roundTrips=3,(W["w-iframe-htmlfile"]=function(e,t){this.run(e,t,"/htmlfile",oe,n.XHRLocalObject)}).prototype=new P;var ee=function(e,t,n,r){var o=this;o.ri=e,o.Receiver=t,o.recv_url=n,o.AjaxObject=r,o._scheduleRecv()};ee.prototype._scheduleRecv=function(){var e=this,t=e.poll=new e.Receiver(e.recv_url,e.AjaxObject),n=0;t.onmessage=function(t){n+=1,e.ri._didMessage(t.data)},t.onclose=function(n){e.poll=t=t.onmessage=t.onclose=null,e.poll_is_closing||("permanent"===n.reason?e.ri._didClose(1006,"Polling error ("+n.reason+")"):e._scheduleRecv())}},ee.prototype.abort=function(){var e=this;e.poll_is_closing=!0,e.poll&&e.poll.abort()};var te=function(e){var t=this,r=new EventSource(e);r.onmessage=function(e){t.dispatchEvent(new s("message",{data:unescape(e.data)}))},t.es_close=r.onerror=function(e,o){var i=o?"user":2!==r.readyState?"network":"permanent";t.es_close=r.onmessage=r.onerror=null,r.close(),r=null,n.delay(200,(function(){t.dispatchEvent(new s("close",{reason:i}))}))}},ne;te.prototype=new o,te.prototype.abort=function(){var e=this;e.es_close&&e.es_close({},!0)};var re=function(){if(void 0===ne)if("ActiveXObject"in t)try{ne=!!new ActiveXObject("htmlfile")}catch(e){}else ne=!1;return ne},oe=function(e){var r=this;n.polluteGlobalNamespace(),r.id="a"+n.random_string(6,26),e+=(-1===e.indexOf("?")?"?":"&")+"c="+escape("_jp."+r.id);var o=re()?n.createHtmlfile:n.createIframe,i;t._jp[r.id]={start:function(){i.loaded()},message:function(e){r.dispatchEvent(new s("message",{data:e}))},stop:function(){r.iframe_close({},"network")}},r.iframe_close=function(e,n){i.cleanup(),r.iframe_close=i=null,delete t._jp[r.id],r.dispatchEvent(new s("close",{reason:n}))},i=o(e,(function(e){r.iframe_close({},"permanent")}))};oe.prototype=new o,oe.prototype.abort=function(){var e=this;e.iframe_close&&e.iframe_close({},"user")};var ie=function(e,t){var n=this,r=0;
77n.xo=new t("POST",e,null),n.xo.onchunk=function(e,t){if(200===e)for(;;){var o=t.slice(r),i=o.indexOf("\n");if(-1===i)break;r+=i+1;var a=o.slice(0,i);n.dispatchEvent(new s("message",{data:a}))}},n.xo.onfinish=function(e,t){n.xo.onchunk(e,t),n.xo=null;var r=200===e?"network":"permanent";n.dispatchEvent(new s("close",{reason:r}))}};return ie.prototype=new o,ie.prototype.abort=function(){var e=this;e.xo&&(e.xo.close(),e.dispatchEvent(new s("close",{reason:"user"})),e.xo=null)},T.getUtils=function(){return n},T.getIframeTransport=function(){return U},T}(),"_sockjs_onload"in window&&setTimeout(_sockjs_onload,1),"function"==typeof define&&define.amd&&define("sockjs",[],(function(){return l}))},
77"browser.js":function e(t,n,e){var r,o,i,s,a,u;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/assertThisInitialized",{default:function(e){o=e}},1),e.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){i=e}},2),e.export({ClientStream:function(){return c}}),e.link("./urls.js",{toSockjsUrl:function(e){s=e},toWebsocketUrl:function(e){a=e}},0),e.link("./common.js",{StreamClientCommon:function(e){u=e}},1),e.link("./sockjs-0.3.4.js");var c=function(e){function t(t,n){var r;return(r=e.call(this,n)||this)._initCommon(r.options),r.HEARTBEAT_TIMEOUT=1e5,r.rawUrl=t,r.socket=null,r.lastError=null,r.heartbeatTimer=null,window.addEventListener("online",r._online.bind(o(r)),!1),r._launchConnection(),r}i(t,e);var n=t.prototype;return n.send=function(){function e(e){this.currentStatus.connected&&this.socket.send(e)}return e}(),n._changeUrl=function(){function e(e){this.rawUrl=e}return e}(),n._connected=function(){function e(){this.connectionTimer&&(clearTimeout(this.connectionTimer),this.connectionTimer=null),this.currentStatus.connected||(this.currentStatus.status="connected",this.currentStatus.connected=!0,this.currentStatus.retryCount=0,this.statusChanged(),this.forEachCallback("reset",(function(e){e()})))}return e}(),n._cleanup=function(){function e(e){this._clearConnectionAndHeartbeatTimers(),this.socket&&(this.socket.onmessage=this.socket.onclose=this.socket.onerror=this.socket.onheartbeat=function(){},this.socket.close(),this.socket=null),this.forEachCallback("disconnect",(function(t){t(e)}))}return e}(),n._clearConnectionAndHeartbeatTimers=function(){function e(){this.connectionTimer&&(clearTimeout(this.connectionTimer),this.connectionTimer=null),this.heartbeatTimer&&(clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null)}return e}(),n._heartbeat_timeout=function(){function e(){console.log("Connection timeout. No sockjs heartbeat received."),this._lostConnection(new this.ConnectionError("Heartbeat timed out"))}return e}(),n._heartbeat_received=function(){function e(){this._forcedToDisconnect||(this.heartbeatTimer&&clearTimeout(this.heartbeatTimer),this.heartbeatTimer=setTimeout(this._heartbeat_timeout.bind(this),this.HEARTBEAT_TIMEOUT))}return e}(),n._sockjsProtocolsWhitelist=function(){function e(){var e=["xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"],t;return navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent)&&/OS 4_|OS 5_/.test(navigator.userAgent)||(e=["websocket"].concat(e)),e}return e}(),n._launchConnection=function(){function e(){var e=this;this._cleanup();var t=r({protocols_whitelist:this._sockjsProtocolsWhitelist()},this.options._sockjsOptions),n="function"==typeof l;this.socket=n?new l(s(this.rawUrl),void 0,t):new WebSocket(a(this.rawUrl)),this.socket.onopen=function(t){e.lastError=null,e._connected()},this.socket.onmessage=function(t){e.lastError=null,e._heartbeat_received(),e.currentStatus.connected&&e.forEachCallback("message",(function(e){e(t.data)}))},this.socket.onclose=function(){e._lostConnection()},this.socket.onerror=function(t){var n=e.lastError;e.lastError=t,n||console.error("stream error",t,(new Date).toDateString())},this.socket.onheartbeat=function(){e.lastError=null,e._heartbeat_received()},this.connectionTimer&&clearTimeout(this.connectionTimer),this.connectionTimer=setTimeout((function(){e._lostConnection(new e.ConnectionError("DDP connection timed out"))}),this.CONNECT_TIMEOUT)}return e}(),t}(u)},
77"common.js":function e(t,n,e){var r,o;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.export({StreamClientCommon:function(){return s}}),e.link("meteor/retry",{Retry:function(e){o=e}},0);var i=new Error("forced reconnect"),s=function(){function e(e){this.options=r({retry:!0},e||null),this.ConnectionError=e&&e.ConnectionError||Error}var t=e.prototype;return t.on=function(){function e(e,t){if("message"!==e&&"reset"!==e&&"disconnect"!==e)throw new Error("unknown event type: "+e);this.eventCallbacks[e]||(this.eventCallbacks[e]=[]),this.eventCallbacks[e].push(t)}return e}(),t.forEachCallback=function(){function e(e,t){this.eventCallbacks[e]&&this.eventCallbacks[e].length&&this.eventCallbacks[e].forEach(t)}return e}(),t._initCommon=function(){function e(e){var t=this;e=e||Object.create(null),this.CONNECT_TIMEOUT=e.connectTimeoutMs||1e4,this.eventCallbacks=Object.create(null),this._forcedToDisconnect=!1,this.currentStatus={status:"connecting",connected:!1,retryCount:0},Package.tracker&&(this.statusListeners=new Package.tracker.Tracker.Dependency),this.statusChanged=function(){t.statusListeners&&t.statusListeners.changed()},this._retry=new o,this.connectionTimer=null}return e}(),t.reconnect=function(){function e(e){(e=e||Object.create(null)).url&&this._changeUrl(e.url),e._sockjsOptions&&(this.options._sockjsOptions=e._sockjsOptions),this.currentStatus.connected?(e._force||e.url)&&this._lostConnection(i):("connecting"===this.currentStatus.status&&this._lostConnection(),this._retry.clear(),this.currentStatus.retryCount-=1,this._retryNow())}return e}(),t.disconnect=function(){function e(e){e=e||Object.create(null),this._forcedToDisconnect||(e._permanent&&(this._forcedToDisconnect=!0),this._cleanup(),this._retry.clear(),this.currentStatus={status:e._permanent?"failed":"offline",connected:!1,retryCount:0},e._permanent&&e._error&&(this.currentStatus.reason=e._error),this.statusChanged())}return e}(),t._lostConnection=function(){function e(e){this._cleanup(e),this._retryLater(e)}return e}(),t._online=function(){function e(){"offline"!=this.currentStatus.status&&this.reconnect()}return e}(),t._retryLater=function(){function e(e){var t=0;this.options.retry||e===i?(t=this._retry.retryLater(this.currentStatus.retryCount,this._retryNow.bind(this)),this.currentStatus.status="waiting",this.currentStatus.retryTime=(new Date).getTime()+t):(this.currentStatus.status="failed",delete this.currentStatus.retryTime),this.currentStatus.connected=!1,this.statusChanged()}return e}(),t._retryNow=function(){function e(){this._forcedToDisconnect||(this.currentStatus.retryCount+=1,this.currentStatus.status="connecting",this.currentStatus.connected=!1,delete this.currentStatus.retryTime,this.statusChanged(),this._launchConnection())}return e}(),t.status=function(){function e(){return this.statusListeners&&this.statusListeners.depend(),this.currentStatus}return e}(),e}()},
77"urls.js":function e(t,n,e){var r;function o(e,t,n){t||(t="http"),"sockjs"!==n&&e.startsWith("/")&&(e=r.absoluteUrl(e.substr(1)));var o=e.match(/^ddp(i?)\+sockjs:\/\//),i=e.match(/^http(s?):\/\//),s;if(o){var a=e.substr(o[0].length);s="i"===o[1]?t:t+"s";var u=a.indexOf("/"),c=-1===u?a:a.substr(0,u),l=-1===u?"":a.substr(u);return s+"://"+(c=c.replace(/\*/g,(function(){return Math.floor(10*Math.random())})))+l}if(i){s=i[1]?t+"s":t;var f=e.substr(i[0].length);e=s+"://"+f}return-1!==e.indexOf("://")||e.startsWith("/")||(e=t+"://"+e),(e=r._relativeToSiteRootUrl(e)).endsWith("/")?e+n:e+"/"+n}function i(e){return o(e,"http","sockjs")}function s(e){return o(e,"ws","websocket")}e.export({toSockjsUrl:function(){return i},toWebsocketUrl:function(){return s}}),e.link("meteor/meteor",{Meteor:function(e){r=e}},0)}}}}},{extensions:[".js",".json"]});f("/node_modules/meteor/socket-stream-client/sockjs-0.3.4.js"),Package._define("socket-stream-client")}();
78
79!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,r=Package.meteor.meteorEnv,i=Package.ejson.EJSON,d=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,t=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,c=Package["ecmascript-runtime-client"].Set,l,u=d({node_modules:{meteor:{"diff-sequence":{
79"diff.js":function n(r,d,n){n.export({DiffSequence:function(){return a}});var a={},t=Object.prototype.hasOwnProperty;function f(e){for(var n in o.sanitizeForInObject(Object(e)))if(t.call(e,n))return!1;return!0}a.diffQueryChanges=function(e,n,r,i,d){e?a.diffQueryOrderedChanges(n,r,i,d):a.diffQueryUnorderedChanges(n,r,i,d)},a.diffQueryUnorderedChanges=function(e,n,r,d){var o=(d=d||{}).projectionFn||i.clone;if(r.movedBefore)throw new Error("_diffQueryUnordered called with a movedBefore observer!");n.forEach((function(n,d){var t=e.get(d);if(t){if(r.changed&&!i.equals(t,n)){var c=o(n),l=o(t),u=a.makeChangedFields(c,l);f(u)||r.changed(d,u)}}else if(r.added){var s=o(n);delete s._id,r.added(n._id,s)}})),r.removed&&e.forEach((function(e,i){n.has(i)||r.removed(i)}))},a.diffQueryOrderedChanges=function(n,r,d,o){var c=(o=o||{}).projectionFn||i.clone,l={};r.forEach((function(n){l[n._id]&&e._debug("Duplicate _id in new_results"),l[n._id]=!0}));var u={};n.forEach((function(n,r){n._id in u&&e._debug("Duplicate _id in old_results"),u[n._id]=r}));for(var s=[],h=0,g=r.length,m=new Array(g),v=new Array(g),_=function(e){return u[r[e]._id]},y=0;y<g;y++)if(void 0!==u[r[y]._id]){for(var O=h;O>0&&!(_(m[O-1])<_(y));)O--;v[y]=0===O?-1:m[O-1],m[O]=y,O+1>h&&(h=O+1)}for(var p=0===h?-1:m[h-1];p>=0;)s.push(p),p=v[p];s.reverse(),s.push(r.length),n.forEach((function(e){l[e._id]||d.removed&&d.removed(e._id)}));var b=0;s.forEach((function(e){for(var i=r[e]?r[e]._id:null,o,l,s,h,g,m=b;m<e;m++)l=r[m],t.call(u,l._id)?(o=n[u[l._id]],h=c(l),g=c(o),f(s=a.makeChangedFields(h,g))||d.changed&&d.changed(l._id,s),d.movedBefore&&d.movedBefore(l._id,i)):(delete(s=c(l))._id,d.addedBefore&&d.addedBefore(l._id,s,i),d.added&&d.added(l._id,s));i&&(l=r[e],o=n[u[l._id]],h=c(l),g=c(o),f(s=a.makeChangedFields(h,g))||d.changed&&d.changed(l._id,s)),b=e+1}))},a.diffObjects=function(e,n,r){Object.keys(e).forEach((function(i){var d=e[i];t.call(n,i)?r.both&&r.both(i,d,n[i]):r.leftOnly&&r.leftOnly(i,d)})),r.rightOnly&&Object.keys(n).forEach((function(i){var d=n[i];t.call(e,i)||r.rightOnly(i,d)}))},a.diffMaps=function(e,n,r){e.forEach((function(e,i){n.has(i)?r.both&&r.both(i,e,n.get(i)):r.leftOnly&&r.leftOnly(i,e)})),r.rightOnly&&n.forEach((function(n,i){e.has(i)||r.rightOnly(i,n)}))},a.makeChangedFields=function(e,n){var r={};return a.diffObjects(n,e,{leftOnly:function(e,n){r[e]=void 0},rightOnly:function(e,n){r[e]=n},both:function(e,n,d){i.equals(n,d)||(r[e]=d)}}),r},a.applyChanges=function(e,n){Object.keys(n).forEach((function(r){var i=n[r];"undefined"==typeof i?delete e[r]:e[r]=i}))}}}}}},{extensions:[".js",".json"]}),s=u("/node_modules/meteor/diff-sequence/diff.js");Package._define("diff-sequence",s,{DiffSequence:l})}();
80
81!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.ejson.EJSON,o=Package.random.Random,i=Package.modules.meteorInstall,u=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,l,m=i({node_modules:{meteor:{"mongo-id":{
81"id.js":function e(t,n,e){var r,o,i;e.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),e.export({MongoID:function(){return u}}),e.link("meteor/ejson",{EJSON:function(e){o=e}},0),e.link("meteor/random",{Random:function(e){i=e}},1);var u={_looksLikeObjectID:function(e){return 24===e.length&&e.match(/^[0-9a-f]*$/)}};u.ObjectID=function(){function e(e){if(e){if(e=e.toLowerCase(),!u._looksLikeObjectID(e))throw new Error("Invalid hexadecimal string for creating an ObjectID");this._str=e}else this._str=i.hexString(24)}var t=e.prototype;return t.equals=function(){function e(e){return e instanceof u.ObjectID&&this.valueOf()===e.valueOf()}return e}(),t.toString=function(){function e(){return'ObjectID("'+this._str+'")'}return e}(),t.clone=function(){function e(){return new u.ObjectID(this._str)}return e}(),t.typeName=function(){function e(){return"oid"}return e}(),t.getTimestamp=function(){function e(){return Number.parseInt(this._str.substr(0,8),16)}return e}(),t.valueOf=function(){function e(){return this._str}return e}(),t.toJSONValue=function(){function e(){return this.valueOf()}return e}(),t.toHexString=function(){function e(){return this.valueOf()}return e}(),e}(),o.addType("oid",(function(e){return new u.ObjectID(e)})),u.idStringify=function(e){if(e instanceof u.ObjectID)return e.valueOf();if("string"==typeof e){var t=e.charAt(0);return""===e?e:"-"===t||"~"===t||u._looksLikeObjectID(e)||"{"===t?"-"+e:e}if(void 0===e)return"-";if("object"===r(e)&&null!==e)throw new Error("Meteor does not currently support objects other than ObjectID as ids");return"~"+JSON.stringify(e)},u.idParse=function(e){var t=e.charAt(0);return""===e?e:"-"===e?void 0:"-"===t?e.substr(1):"~"===t?JSON.parse(e.substr(1)):u._looksLikeObjectID(e)?new u.ObjectID(e):e}}}}}},{extensions:[".js",".json"]}),d=m("/node_modules/meteor/mongo-id/id.js");Package._define("mongo-id",d,{MongoID:l})}();
82
83!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.check.check,o=Package.check.Match,i=Package.random.Random,s=Package.ejson.EJSON,a=Package.tracker.Tracker,c=Package.tracker.Deps,u=Package.retry.Retry,d=Package["id-map"].IdMap,l=Package["callback-hook"].Hook,f=Package["ddp-common"].DDPCommon,h=Package.reload.Reload,_=Package["diff-sequence"].DiffSequence,m=Package["mongo-id"].MongoID,g=Package.modules.meteorInstall,v=Package.modules.meteorBabelHelpers,p=Package.promise.Promise,b=Package["ecmascript-runtime-client"].Symbol,k=Package["ecmascript-runtime-client"].Map,y=Package["ecmascript-runtime-client"].Set,D,M=g({node_modules:{meteor:{"ddp-client":{client:{
83"client.js":function e(t,n,e){e.link("../common/namespace.js",{DDP:"DDP"},0),e.link("../common/livedata_connection"),e.link("./client_convenience")},
83"client_convenience.js":function e(t,n,e){var r,o;e.link("../common/namespace.js",{DDP:function(e){r=e}},0),e.link("meteor/meteor",{Meteor:function(e){o=e}},1),o.refresh=function(){};var i,s=("undefined"!=typeof __meteor_runtime_config__?__meteor_runtime_config__:Object.create(null)).DDP_DEFAULT_CONNECTION_URL||"/",a=new u;function c(e){if(o._debug(e),Package.reload){var t,n=(Package.reload.Reload._migrationData("livedata")||Object.create(null)).DDPVersionNegotiationFailures||0;++n,Package.reload.Reload._onMigrate("livedata",(function(){return[!0,{DDPVersionNegotiationFailures:n}]})),a.retryLater(n,(function(){Package.reload.Reload._reload({immediateMigration:!0})}))}}o.connection=r.connect(s,{onDDPVersionNegotiationFailure:c}),["subscribe","methods","call","apply","status","reconnect","disconnect"].forEach((function(e){o[e]=o.connection[e].bind(o.connection)}))}},common:{
83"MethodInvoker.js":function e(t,n,e){e.export({default:function(){return r}});var r=function(){function e(e){this.methodId=e.methodId,this.sentMessage=!1,this._callback=e.callback,this._connection=e.connection,this._message=e.message,this._onResultReceived=e.onResultReceived||function(){},this._wait=e.wait,this.noRetry=e.noRetry,this._methodResult=null,this._dataVisible=!1,this._connection._methodInvokers[this.methodId]=this}var t=e.prototype;return t.sendMessage=function(){function e(){if(this.gotResult())throw new Error("sendingMethod is called on method with result");this._dataVisible=!1,this.sentMessage=!0,this._wait&&(this._connection._methodsBlockingQuiescence[this.methodId]=!0),this._connection._send(this._message)}return e}(),t._maybeInvokeCallback=function(){function e(){this._methodResult&&this._dataVisible&&(this._callback(this._methodResult[0],this._methodResult[1]),delete this._connection._methodInvokers[this.methodId],this._connection._outstandingMethodFinished())}return e}(),t.receiveResult=function(){function e(e,t){if(this.gotResult())throw new Error("Methods should only receive results once");this._methodResult=[e,t],this._onResultReceived(e,t),this._maybeInvokeCallback()}return e}(),t.dataVisible=function(){function e(){this._dataVisible=!0,this._maybeInvokeCallback()}return e}(),t.gotResult=function(){function e(){return!!this._methodResult}return e}(),e}()},
83"livedata_connection.js":function e(t,n,e){var r,o,i,s,a,c,u,l,f,h,m,g,v,p,b,k,y,D,M,S,w;e.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){o=e}},1),e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},2),e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){s=e}},3),e.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){a=e}},4),e.export({Connection:function(){return O}}),e.link("meteor/meteor",{Meteor:function(e){c=e}},0),e.link("meteor/ddp-common",{DDPCommon:function(e){u=e}},1),e.link("meteor/tracker",{Tracker:function(e){l=e}},2),e.link("meteor/ejson",{EJSON:function(e){f=e}},3),e.link("meteor/random",{Random:function(e){h=e}},4),e.link("meteor/callback-hook",{Hook:function(e){m=e}},5),e.link("meteor/mongo-id",{MongoID:function(e){g=e}},6),e.link("./namespace.js",{DDP:function(e){v=e}},7),e.link("./MethodInvoker.js",{default:function(e){p=e}},8),e.link("meteor/ddp-common/utils.js",{hasOwn:function(e){b=e},slice:function(e){k=e},keys:function(e){y=e},isEmpty:function(e){D=e},last:function(e){M=e}},9),c.isServer&&(S=Npm.require("fibers"),w=Npm.require("fibers/future"));var E=function(e){function t(){return e.call(this,g.idStringify,g.idParse)||this}return a(t,e),t}(d),O=function(){function e(e,n){var r=this;if(this.options=n=s({onConnected:function(){},onDDPVersionNegotiationFailure:function(e){c._debug(e)},heartbeatInterval:17500,heartbeatTimeout:15e3,npmFayeOptions:Object.create(null),reloadWithOutstanding:!1,supportedDDPVersions:u.SUPPORTED_DDP_VERSIONS,retry:!0,respondToPings:!0,bufferedWritesInterval:5,bufferedWritesMaxAge:500},n),r.onReconnect=null,"object"===i(e))r._stream=e;else{var o,a=t("meteor/socket-stream-client").ClientStream;r._stream=new a(e,{retry:n.retry,ConnectionError:v.ConnectionError,headers:n.headers,_sockjsOptions:n._sockjsOptions,_dontPrintErrors:n._dontPrintErrors,connectTimeoutMs:n.connectTimeoutMs,npmFayeOptions:n.npmFayeOptions})}r._lastSessionId=null,r._versionSuggestion=null,r._version=null,r._stores=Object.create(null),r._methodHandlers=Object.create(null),r._nextMethodId=1,r._supportedDDPVersions=n.supportedDDPVersions,r._heartbeatInterval=n.heartbeatInterval,r._heartbeatTimeout=n.heartbeatTimeout,r._methodInvokers=Object.create(null),r._outstandingMethodBlocks=[],r._documentsWrittenByStub={},r._serverDocuments={},r._afterUpdateCallbacks=[],r._messagesBufferedUntilQuiescence=[],r._methodsBlockingQuiescence={},r._subsBeingRevived={},r._resetStores=!1,r._updatesForUnknownStores={},r._retryMigrate=null,r.__flushBufferedWrites=c.bindEnvironment(r._flushBufferedWrites,"flushing DDP buffered writes",r),r._bufferedWrites={},r._bufferedWritesFlushAt=null,r._bufferedWritesFlushHandle=null,r._bufferedWritesInterval=n.bufferedWritesInterval,r._bufferedWritesMaxAge=n.bufferedWritesMaxAge,r._subscriptions={},r._userId=null,r._userIdDeps=new l.Dependency,c.isClient&&Package.reload&&!n.reloadWithOutstanding&&Package.reload.Reload._onMigrate((function(e){return r._readyToMigrate()?[!0]:(r._retryMigrate=e,[!1])}));var d=function(){r._heartbeat&&(r._heartbeat.stop(),r._heartbeat=null)};c.isServer?(r._stream.on("message",c.bindEnvironment(this.onMessage.bind(this),"handling DDP message")),r._stream.on("reset",c.bindEnvironment(this.onReset.bind(this),"handling DDP reset")),r._stream.on("disconnect",c.bindEnvironment(d,"handling DDP disconnect"))):(r._stream.on("message",this.onMessage.bind(this)),r._stream.on("reset",this.onReset.bind(this)),r._stream.on("disconnect",d))}var n=e.prototype;return n.registerStore=function(){function e(e,t){var n=this;if(e in n._stores)return!1;var r=Object.create(null),o;["update","beginUpdate","endUpdate","saveOriginals","retrieveOriginals","getDoc","_getCollection"].forEach((function(e){r[e]=function(){if(t[e])return t[e].apply(t,arguments)}})),n._stores[e]=r;var i=n._updatesForUnknownStores[e];return Array.isArray(i)&&(r.beginUpdate(i.length,!1),i.forEach((function(e){r.update(e)})),r.endUpdate(),delete n._updatesForUnknownStores[e]),!0}return e}(),n.subscribe=function(){function e(e){var t=this,n=k.call(arguments,1
83),r=Object.create(null);if(n.length){var o=n[n.length-1];"function"==typeof o?r.onReady=n.pop():o&&[o.onReady,o.onError,o.onStop].some((function(e){return"function"==typeof e}))&&(r=n.pop())}var i=Object.values(t._subscriptions).find((function(t){return t.inactive&&t.name===e&&f.equals(t.params,n)})),s;i?(s=i.id,i.inactive=!1,r.onReady&&(i.ready?r.onReady():i.readyCallback=r.onReady),r.onError&&(i.errorCallback=r.onError),r.onStop&&(i.stopCallback=r.onStop)):(s=h.id(),t._subscriptions[s]={id:s,name:e,params:f.clone(n),inactive:!1,ready:!1,readyDeps:new l.Dependency,readyCallback:r.onReady,errorCallback:r.onError,stopCallback:r.onStop,connection:t,remove:function(){delete this.connection._subscriptions[this.id],this.ready&&this.readyDeps.changed()},stop:function(){this.connection._send({msg:"unsub",id:s}),this.remove(),r.onStop&&r.onStop()}},t._send({msg:"sub",id:s,name:e,params:n}));var a={stop:function(){b.call(t._subscriptions,s)&&t._subscriptions[s].stop()},ready:function(){if(!b.call(t._subscriptions,s))return!1;var e=t._subscriptions[s];return e.readyDeps.depend(),e.ready},subscriptionId:s};return l.active&&l.onInvalidate((function(e){b.call(t._subscriptions,s)&&(t._subscriptions[s].inactive=!0),l.afterFlush((function(){b.call(t._subscriptions,s)&&t._subscriptions[s].inactive&&a.stop()}))})),a}return e}(),n._subscribeAndWait=function(){function e(e,t,n){var r=this,o=new w,i=!1;(t=t||[]).push({onReady:function(){i=!0,o.return()},onError:function(e){i?n&&n.onLateError&&n.onLateError(e):o.throw(e)}});var s=r.subscribe.apply(r,[e].concat(t));return o.wait(),s}return e}(),n.methods=function(){function e(e){var t=this;Object.entries(e).forEach((function(e){var n=o(e,2),r=n[0],i=n[1];if("function"!=typeof i)throw new Error("Method '"+r+"' must be a function");if(t._methodHandlers[r])throw new Error("A method named '"+r+"' is already defined");t._methodHandlers[r]=i}))}return e}(),n.call=function(){function e(e){var t=k.call(arguments,1),n;return t.length&&"function"==typeof t[t.length-1]&&(n=t.pop()),this.apply(e,t,n)}return e}(),n.apply=function(){function e(e,t,n,r){var o=this;r||"function"!=typeof n||(r=n,n=Object.create(null)),n=n||Object.create(null),r&&(r=c.bindEnvironment(r,"delivering result of invoking '"+e+"'")),t=f.clone(t);var i=v._CurrentMethodInvocation.get(),s=i&&i.isSimulation,a=null,d=function(){return null===a&&(a=u.makeRpcSeed(i,e)),a},l,h,_=o._methodHandlers[e];if(_){var m=function(e){o.setUserId(e)},g=new u.MethodInvocation({isSimulation:!0,userId:o.userId(),setUserId:m,randomSeed:function(){return d()}});s||o._saveOriginals();try{l=v._CurrentMethodInvocation.withValue(g,(function(){return c.isServer?c._noYieldsAllowed((function(){return _.apply(g,f.clone(t))})):_.apply(g,f.clone(t))}))}catch(E){h=E}}if(s){if(r)return void r(h,l);if(h)throw h;return l}var b=""+o._nextMethodId++;_&&o._retrieveAndStoreOriginals(b);var k={msg:"method",id:b,method:e,params:t},y;if(h){if(n.throwStubExceptions)throw h;h._expectedByTest||c._debug("Exception while simulating the effect of invoking '"+e+"'",h)}r||(r=c.isClient?function(t){t&&c._debug("Error invoking Method '"+e+"'",t)}:(y=new w).resolver()),null!==a&&(k.randomSeed=a);var S=new p({methodId:b,callback:r,connection:o,onResultReceived:n.onResultReceived,wait:!!n.wait,message:k,noRetry:!!n.noRetry});return n.wait?o._outstandingMethodBlocks.push({wait:!0,methods:[S]}):((D(o._outstandingMethodBlocks)||M(o._outstandingMethodBlocks).wait)&&o._outstandingMethodBlocks.push({wait:!1,methods:[]}),M(o._outstandingMethodBlocks).methods.push(S)),1===o._outstandingMethodBlocks.length&&S.sendMessage(),y?y.wait():n.returnStubValue?l:void 0}return e}(),n._saveOriginals=function(){function e(){this._waitingForQuiescence()||this._flushBufferedWrites(),Object.values(this._stores).forEach((function(e){e.saveOriginals()}))}return e}(),n._retrieveAndStoreOriginals=function(){function e(e){var t=this;if(t._documentsWrittenByStub[e])throw new Error("Duplicate methodId in _retrieveAndStoreOriginals");var n=[];Object.entries(t._stores).forEach((function(r){var i=o(r,2),s=i[0],a,c=i[1].retrieveOriginals();
83c&&c.forEach((function(r,o){n.push({collection:s,id:o}),b.call(t._serverDocuments,s)||(t._serverDocuments[s]=new E);var i=t._serverDocuments[s].setDefault(o,Object.create(null));i.writtenByStubs||(i.document=r,i.flushCallbacks=[],i.writtenByStubs=Object.create(null)),i.writtenByStubs[e]=!0}))})),D(n)||(t._documentsWrittenByStub[e]=n)}return e}(),n._unsubscribeAll=function(){function e(){Object.values(this._subscriptions).forEach((function(e){"meteor_autoupdate_clientVersions"!==e.name&&e.stop()}))}return e}(),n._send=function(){function e(e){this._stream.send(u.stringifyDDP(e))}return e}(),n._lostConnection=function(){function e(e){this._stream._lostConnection(e)}return e}(),n.status=function(){function e(){var e;return(e=this._stream).status.apply(e,arguments)}return e}(),n.reconnect=function(){function e(){var e;return(e=this._stream).reconnect.apply(e,arguments)}return e}(),n.disconnect=function(){function e(){var e;return(e=this._stream).disconnect.apply(e,arguments)}return e}(),n.close=function(){function e(){return this._stream.disconnect({_permanent:!0})}return e}(),n.userId=function(){function e(){return this._userIdDeps&&this._userIdDeps.depend(),this._userId}return e}(),n.setUserId=function(){function e(e){this._userId!==e&&(this._userId=e,this._userIdDeps&&this._userIdDeps.changed())}return e}(),n._waitingForQuiescence=function(){function e(){return!D(this._subsBeingRevived)||!D(this._methodsBlockingQuiescence)}return e}(),n._anyMethodsAreOutstanding=function(){function e(){var e=this._methodInvokers;return Object.values(e).some((function(e){return!!e.sentMessage}))}return e}(),n._livedata_connected=function(){function e(e){var t=this,n;if("pre1"!==t._version&&0!==t._heartbeatInterval&&(t._heartbeat=new u.Heartbeat({heartbeatInterval:t._heartbeatInterval,heartbeatTimeout:t._heartbeatTimeout,onTimeout:function(){t._lostConnection(new v.ConnectionError("DDP heartbeat timed out"))},sendPing:function(){t._send({msg:"ping"})}}),t._heartbeat.start()),t._lastSessionId&&(t._resetStores=!0),"string"==typeof e.session&&(n=t._lastSessionId===e.session,t._lastSessionId=e.session),!n){if(t._updatesForUnknownStores=Object.create(null),t._resetStores&&(t._documentsWrittenByStub=Object.create(null),t._serverDocuments=Object.create(null)),t._afterUpdateCallbacks=[],t._subsBeingRevived=Object.create(null),Object.entries(t._subscriptions).forEach((function(e){var n=o(e,2),r=n[0],i;n[1].ready&&(t._subsBeingRevived[r]=!0)})),t._methodsBlockingQuiescence=Object.create(null),t._resetStores){var r=t._methodInvokers;y(r).forEach((function(e){var n=r[e];n.gotResult()?t._afterUpdateCallbacks.push((function(){return n.dataVisible.apply(n,arguments)})):n.sentMessage&&(t._methodsBlockingQuiescence[n.methodId]=!0)}))}t._messagesBufferedUntilQuiescence=[],t._waitingForQuiescence()||(t._resetStores&&(Object.values(t._stores).forEach((function(e){e.beginUpdate(0,!0),e.endUpdate()})),t._resetStores=!1),t._runAfterUpdateCallbacks())}}return e}(),n._processOneDataMessage=function(){function e(e,t){var n=e.msg;"added"===n?this._process_added(e,t):"changed"===n?this._process_changed(e,t):"removed"===n?this._process_removed(e,t):"ready"===n?this._process_ready(e,t):"updated"===n?this._process_updated(e,t):"nosub"===n||c._debug("discarding unknown livedata data message type",e)}return e}(),n._livedata_data=function(){function e(e){var t=this;if(t._waitingForQuiescence()){if(t._messagesBufferedUntilQuiescence.push(e),"nosub"===e.msg&&delete t._subsBeingRevived[e.id],e.subs&&e.subs.forEach((function(e){delete t._subsBeingRevived[e]})),e.methods&&e.methods.forEach((function(e){delete t._methodsBlockingQuiescence[e]})),t._waitingForQuiescence())return;var n=t._messagesBufferedUntilQuiescence;Object.values(n).forEach((function(e){t._processOneDataMessage(e,t._bufferedWrites)})),t._messagesBufferedUntilQuiescence=[]}else t._processOneDataMessage(e,t._bufferedWrites);var r="added"===e.msg||"changed"===e.msg||"removed"===e.msg;if(0!==t._bufferedWritesInterval&&r){if(null===t._bufferedWritesFlushAt)t._bufferedWritesFlushAt=(new Date).valueOf()+t._bufferedWritesMaxAge;else if(t._bufferedWritesFlushAt<(new Date).valueOf())return void t._flushBufferedWrites();t._bufferedWritesFlushHandle&&clearTimeout(t._bufferedWritesFlushHandle),t._bufferedWritesFlushHandle=setTimeout(t.__flushBufferedWrites,t._bufferedWritesInterval)}else t._flushBufferedWrites()}return e}(),n._flushBufferedWrites=function(){function e(){var e=this;e._bufferedWritesFlushHandle&&(clearTimeout(e._bufferedWritesFlushHandle),e._bufferedWritesFlushHandle=null),e._bufferedWritesFlushAt=null;var t=e._bufferedWrites;e._bufferedWrites=Object.create(null),e._performWrites(t)}return e}(),n._performWrites=function(){function e(e){var t=this;
83!t._resetStores&&D(e)||(Object.entries(t._stores).forEach((function(n){var r=o(n,2),i=r[0],s;r[1].beginUpdate(b.call(e,i)?e[i].length:0,t._resetStores)})),t._resetStores=!1,Object.entries(e).forEach((function(e){var n=o(e,2),i=n[0],s=n[1],a=t._stores[i];if(a)s.forEach((function(e){a.update(e)}));else{var c,u=t._updatesForUnknownStores;b.call(u,i)||(u[i]=[]),(c=u[i]).push.apply(c,r(s))}})),Object.values(t._stores).forEach((function(e){e.endUpdate()}))),t._runAfterUpdateCallbacks()}return e}(),n._runAfterUpdateCallbacks=function(){function e(){var e=this,t=e._afterUpdateCallbacks;e._afterUpdateCallbacks=[],t.forEach((function(e){e()}))}return e}(),n._pushUpdate=function(){function e(e,t,n){b.call(e,t)||(e[t]=[]),e[t].push(n)}return e}(),n._getServerDoc=function(){function e(e,t){var n=this,r;return b.call(n._serverDocuments,e)&&n._serverDocuments[e].get(t)||null}return e}(),n._process_added=function(){function e(e,t){var n=this,r=g.idParse(e.id),o=n._getServerDoc(e.collection,r);if(o){var i=void 0!==o.document;if(o.document=e.fields||Object.create(null),o.document._id=r,n._resetStores){var s=n._stores[e.collection].getDoc(e.id);void 0!==s&&(e.fields=s),n._pushUpdate(t,e.collection,e)}else if(i)throw new Error("Server sent add for existing id: "+e.id)}else n._pushUpdate(t,e.collection,e)}return e}(),n._process_changed=function(){function e(e,t){var n=this,r=n._getServerDoc(e.collection,g.idParse(e.id));if(r){if(void 0===r.document)throw new Error("Server sent changed for nonexisting id: "+e.id);_.applyChanges(r.document,e.fields)}else n._pushUpdate(t,e.collection,e)}return e}(),n._process_removed=function(){function e(e,t){var n=this,r=n._getServerDoc(e.collection,g.idParse(e.id));if(r){if(void 0===r.document)throw new Error("Server sent removed for nonexisting id:"+e.id);r.document=void 0}else n._pushUpdate(t,e.collection,{msg:"removed",collection:e.collection,id:e.id})}return e}(),n._process_updated=function(){function e(e,t){var n=this;e.methods.forEach((function(e){var r=n._documentsWrittenByStub[e]||{};Object.values(r).forEach((function(r){var o=n._getServerDoc(r.collection,r.id);if(!o)throw new Error("Lost serverDoc for "+JSON.stringify(r));if(!o.writtenByStubs[e])throw new Error("Doc "+JSON.stringify(r)+" not written by  method "+e);delete o.writtenByStubs[e],D(o.writtenByStubs)&&(n._pushUpdate(t,r.collection,{msg:"replace",id:g.idStringify(r.id),replace:o.document}),o.flushCallbacks.forEach((function(e){e()})),n._serverDocuments[r.collection].remove(r.id))})),delete n._documentsWrittenByStub[e];var o=n._methodInvokers[e];if(!o)throw new Error("No callback invoker for method "+e);n._runWhenAllServerDocsAreFlushed((function(){return o.dataVisible.apply(o,arguments)}))}))}return e}(),n._process_ready=function(){function e(e,t){var n=this;e.subs.forEach((function(e){n._runWhenAllServerDocsAreFlushed((function(){var t=n._subscriptions[e];t&&(t.ready||(t.ready=!0,t.readyCallback&&t.readyCallback(),t.readyDeps.changed()))}))}))}return e}(),n._runWhenAllServerDocsAreFlushed=function(){function e(e){var t=this,n=function(){t._afterUpdateCallbacks.push(e)},r=0,o=function(){0===--r&&n()};Object.values(t._serverDocuments).forEach((function(e){e.forEach((function(e){var n;y(e.writtenByStubs).some((function(e){var n=t._methodInvokers[e];return n&&n.sentMessage}))&&(++r,e.flushCallbacks.push(o))}))})),0===r&&n()}return e}(),n._livedata_nosub=function(){function e(e){var t=this;if(t._livedata_data(e),b.call(t._subscriptions,e.id)){var n=t._subscriptions[e.id].errorCallback,r=t._subscriptions[e.id].stopCallback;t._subscriptions[e.id].remove();var o=function(e){return e&&e.error&&new c.Error(e.error.error,e.error.reason,e.error.details)};n&&e.error&&n(o(e)),r&&r(o(e))}}return e}(),n._livedata_result=function(){function e(e){var t=this;if(D(t._bufferedWrites)||t._flushBufferedWrites(),D(t._outstandingMethodBlocks))c._debug("Received method result but no methods outstanding");else{var n=t._outstandingMethodBlocks[0].methods,r,o=n.find((function(t,n){var o=t.methodId===e.id;return o&&(r=n),o}));o?(n.splice(r,1),b.call(e,"error")?o.receiveResult(new c.Error(e.error.error,e.error.reason,e.error.details)):o.receiveResult(void 0,e.result)):c._debug("Can't match method response to original method call",e)}
83}return e}(),n._outstandingMethodFinished=function(){function e(){var e=this;if(!e._anyMethodsAreOutstanding()){if(!D(e._outstandingMethodBlocks)){var t=e._outstandingMethodBlocks.shift();if(!D(t.methods))throw new Error("No methods outstanding but nonempty block: "+JSON.stringify(t));D(e._outstandingMethodBlocks)||e._sendOutstandingMethods()}e._maybeMigrate()}}return e}(),n._sendOutstandingMethods=function(){function e(){var e=this;D(e._outstandingMethodBlocks)||e._outstandingMethodBlocks[0].methods.forEach((function(e){e.sendMessage()}))}return e}(),n._livedata_error=function(){function e(e){c._debug("Received error from server: ",e.reason),e.offendingMessage&&c._debug("For: ",e.offendingMessage)}return e}(),n._callOnReconnectAndSendAppropriateOutstandingMethods=function(){function e(){var e,t=this,n=t._outstandingMethodBlocks;if(t._outstandingMethodBlocks=[],t.onReconnect&&t.onReconnect(),v._reconnectHook.each((function(e){return e(t),!0})),!D(n)){if(D(t._outstandingMethodBlocks))return t._outstandingMethodBlocks=n,void t._sendOutstandingMethods();M(t._outstandingMethodBlocks).wait||n[0].wait||(n[0].methods.forEach((function(e){M(t._outstandingMethodBlocks).methods.push(e),1===t._outstandingMethodBlocks.length&&e.sendMessage()})),n.shift()),(e=t._outstandingMethodBlocks).push.apply(e,r(n))}}return e}(),n._readyToMigrate=function(){function e(){return D(this._methodInvokers)}return e}(),n._maybeMigrate=function(){function e(){var e=this;e._retryMigrate&&e._readyToMigrate()&&(e._retryMigrate(),e._retryMigrate=null)}return e}(),n.onMessage=function(){function e(e){var t;try{t=u.parseDDP(e)}catch(r){return void c._debug("Exception while parsing DDP",r)}if(this._heartbeat&&this._heartbeat.messageReceived(),null!==t&&t.msg)if("connected"===t.msg)this._version=this._versionSuggestion,this._livedata_connected(t),this.options.onConnected();else if("failed"===t.msg)if(this._supportedDDPVersions.indexOf(t.version)>=0)this._versionSuggestion=t.version,this._stream.reconnect({_force:!0});else{var n="DDP version negotiation failed; server requested version "+t.version;this._stream.disconnect({_permanent:!0,_error:n}),this.options.onDDPVersionNegotiationFailure(n)}else"ping"===t.msg&&this.options.respondToPings?this._send({msg:"pong",id:t.id}):"pong"===t.msg||(["added","changed","removed","ready","updated"].includes(t.msg)?this._livedata_data(t):"nosub"===t.msg?this._livedata_nosub(t):"result"===t.msg?this._livedata_result(t):"error"===t.msg?this._livedata_error(t):c._debug("discarding unknown livedata message type",t));else if(!t||!t.testMessageOnConnect){if(1===Object.keys(t).length&&t.server_id)return;c._debug("discarding invalid livedata message",t)}}return e}(),n.onReset=function(){function e(){var e=this,t={msg:"connect"};if(this._lastSessionId&&(t.session=this._lastSessionId),t.version=this._versionSuggestion||this._supportedDDPVersions[0],this._versionSuggestion=t.version,t.support=this._supportedDDPVersions,this._send(t),this._outstandingMethodBlocks.length>0){var n=this._outstandingMethodBlocks[0].methods;this._outstandingMethodBlocks[0].methods=n.filter((function(e){return e.sentMessage&&e.noRetry&&e.receiveResult(new c.Error("invocation-failed","Method invocation might have failed due to dropped connection. Failing because `noRetry` option was passed to Meteor.apply.")),!(e.sentMessage&&e.noRetry)}))}this._outstandingMethodBlocks.length>0&&0===this._outstandingMethodBlocks[0].methods.length&&this._outstandingMethodBlocks.shift(),y(this._methodInvokers).forEach((function(t){e._methodInvokers[t].sentMessage=!1})),this._callOnReconnectAndSendAppropriateOutstandingMethods(),Object.entries(this._subscriptions).forEach((function(t){var n=o(t,2),r=n[0],i=n[1];e._send({msg:"sub",id:r,name:i.name,params:i.params})}))}return e}(),e}()},
83"namespace.js":function e(t,n,e){var r,o,i;e.export({DDP:function(){return a}}),e.link("meteor/ddp-common",{DDPCommon:function(e){r=e}},0),e.link("meteor/meteor",{Meteor:function(e){o=e}},1),e.link("./livedata_connection.js",{Connection:function(e){i=e}},2);var s=[],a={};function c(e){this.message=e}a._CurrentMethodInvocation=new o.EnvironmentVariable,a._CurrentPublicationInvocation=new o.EnvironmentVariable,a._CurrentInvocation=a._CurrentMethodInvocation,a.ConnectionError=o.makeErrorType("DDP.ConnectionError",c),a.ForcedReconnectError=o.makeErrorType("DDP.ForcedReconnectError",(function(){})),a.randomStream=function(e){var t=a._CurrentMethodInvocation.get();return r.RandomStream.get(t,e)},a.connect=function(e,t){var n=new i(e,t);return s.push(n),n},a._reconnectHook=new l({bindEnvironment:!1}),a.onReconnect=function(e){return a._reconnectHook.register(e)},a._allSubscriptionsReady=function(){return s.every((function(e){return Object.values(e._subscriptions).every((function(e){return e.ready}))}))}}}}}}},{extensions:[".js",".json"]}),S=M("/node_modules/meteor/ddp-client/client/client.js");Package._define("ddp-client",S,{DDP:D})}();
84
85!function(){var a=Package["ddp-client"].DDP;Package._define("ddp",{DDP:a})}();
86
87!function(){var t=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,e=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,r,i=e({node_modules:{meteor:{"geojson-utils":{
87"main.js":function t(n,o){o.GeoJSON=n("./geojson-utils.js")},
87"geojson-utils.js":function t(n,o,t){!function(){var n={};function o(t){for(var n=[],o=[],e=0;e<t[0].length;e++)n.push(t[0][e][1]),o.push(t[0][e][0]);return n=n.sort((function(t,n){return t-n})),o=o.sort((function(t,n){return t-n})),[[n[0],o[0]],[n[n.length-1],o[o.length-1]]]}function e(t,n,o){for(var e=[[0,0]],a=0;a<o.length;a++){for(var r=0;r<o[a].length;r++)e.push(o[a][r]);e.push([0,0])}for(var i=!1,a=0,r=e.length-1;a<e.length;r=a++)e[a][0]>n!=e[r][0]>n&&t<(e[r][1]-e[a][1])*(n-e[a][0])/(e[r][0]-e[a][0])+e[a][1]&&(i=!i);return i}"undefined"!=typeof t&&t.exports&&(t.exports=n),n.lineStringsIntersect=function(t,n){for(var o=[],e=0;e<=t.coordinates.length-2;++e)for(var a=0;a<=n.coordinates.length-2;++a){var r={x:t.coordinates[e][1],y:t.coordinates[e][0]},i={x:t.coordinates[e+1][1],y:t.coordinates[e+1][0]},s={x:n.coordinates[a][1],y:n.coordinates[a][0]},c={x:n.coordinates[a+1][1],y:n.coordinates[a+1][0]},u,h,d=(c.y-s.y)*(i.x-r.x)-(c.x-s.x)*(i.y-r.y);if(0!=d){var l=((c.x-s.x)*(r.y-s.y)-(c.y-s.y)*(r.x-s.x))/d,g=((i.x-r.x)*(r.y-s.y)-(i.y-r.y)*(r.x-s.x))/d;0<=l&&l<=1&&0<=g&&g<=1&&o.push({type:"Point",coordinates:[r.x+l*(i.x-r.x),r.y+l*(i.y-r.y)]})}}return 0==o.length&&(o=!1),o},n.pointInBoundingBox=function(t,n){return!(t.coordinates[1]<n[0][0]||t.coordinates[1]>n[1][0]||t.coordinates[0]<n[0][1]||t.coordinates[0]>n[1][1])},n.pointInPolygon=function(t,a){for(var r="Polygon"==a.type?[a.coordinates]:a.coordinates,i=!1,s=0;s<r.length;s++)n.pointInBoundingBox(t,o(r[s]))&&(i=!0);if(!i)return!1;for(var c=!1,s=0;s<r.length;s++)e(t.coordinates[1],t.coordinates[0],r[s])&&(c=!0);return c},n.numberToRadius=function(t){return t*Math.PI/180},n.numberToDegree=function(t){return 180*t/Math.PI},n.drawCircle=function(t,o,e){for(var a=[o.coordinates[1],o.coordinates[0]],r=t/1e3/6371,i=[n.numberToRadius(a[0]),n.numberToRadius(a[1])],e=e||15,s=[[a[0],a[1]]],c=0;c<e;c++){var u=2*Math.PI*c/e,h=Math.asin(Math.sin(i[0])*Math.cos(r)+Math.cos(i[0])*Math.sin(r)*Math.cos(u)),d=i[1]+Math.atan2(Math.sin(u)*Math.sin(r)*Math.cos(i[0]),Math.cos(r)-Math.sin(i[0])*Math.sin(h));s[c]=[],s[c][1]=n.numberToDegree(h),s[c][0]=n.numberToDegree(d)}return{type:"Polygon",coordinates:[s]}},n.rectangleCentroid=function(t){var n=t.coordinates[0],o=n[0][0],e=n[0][1],a,r,i,s;return{type:"Point",coordinates:[o+(n[2][0]-o)/2,e+(n[2][1]-e)/2]}},n.pointDistance=function(t,o){var e=t.coordinates[0],a=t.coordinates[1],r=o.coordinates[0],i=o.coordinates[1],s=n.numberToRadius(i-a),c=n.numberToRadius(r-e),u=Math.pow(Math.sin(s/2),2)+Math.cos(n.numberToRadius(a))*Math.cos(n.numberToRadius(i))*Math.pow(Math.sin(c/2),2),h;return 6371*(2*Math.atan2(Math.sqrt(u),Math.sqrt(1-u)))*1e3},n.geometryWithinRadius=function(t,o,e){if("Point"==t.type)return n.pointDistance(t,o)<=e;if("LineString"==t.type||"Polygon"==t.type){var a={},r;for(var i in r="Polygon"==t.type?t.coordinates[0]:t.coordinates)if(a.coordinates=r[i],n.pointDistance(a,o)>e)return!1}return!0},n.area=function(t){for(var n=0,o=t.coordinates[0],e=o.length-1,a,r,i=0;i<o.length;e=i++){var a={x:o[i][1],y:o[i][0]},r={x:o[e][1],y:o[e][0]};n+=a.x*r.y,n-=a.y*r.x}return n/=2},n.centroid=function(t){for(var o,e=0,a=0,r=t.coordinates[0],i=r.length-1,s,c,u=0;u<r.length;i=u++){var s={x:r[u][1],y:r[u][0]},c={x:r[i][1],y:r[i][0]};e+=(s.x+c.x)*(o=s.x*c.y-c.x*s.y),a+=(s.y+c.y)*o}return{type:"Point",coordinates:[a/(o=6*n.area(t)),e/o]}},n.simplify=function(t,n){var o,e,a,r,i,s,c,u,h,d,l,g,M,y,f,x,m,p,v;n=n||20,t=t.map((function(t){return{lng:t.coordinates[0],lat:t.coordinates[1]}}));var P=Math.PI/180*.5,b=new Array,T=new Array,I=new Array;if(t.length<3)return t;for(o=t.length,d=360*n/(2*Math.PI*6378137),d*=d,a=0,T[0]=0,I[0]=o-1,e=1;e>0;)if(r=T[e-1],i=I[e-1],e--,i-r>1){for(l=t[i].lng()-t[r].lng(),g=t[i].lat()-t[r].lat(),Math.abs(l)>180&&(l=360-Math.abs(l)),M=(l*=Math.cos(P*(t[i].lat()+t[r].lat())))*l+g*g,s=r+1,c=r,h=-1;s<i;s++)y=t[s].lng()-t[r].lng(),f=t[s].lat()-t[r].lat(),Math.abs(y)>180&&(y=360-Math.abs(y)),x=(y*=Math.cos(P*(t[s].lat()+t[r].lat())))*y+f*f,m=t[s].lng()-t[i].lng(),p=t[s].lat()-t[i].lat(),Math.abs(m)>180&&(m=360-Math.abs(m)),(u=x>=M+(v=(m*=Math.cos(P*(t[s].lat()+t[i].lat())))*m+p*p)?v:v>=M+x?x:(y*g-f*l)*(y*g-f*l)/M)>h&&(c=s,h=u);h<d?(b[a]=r,a++):(T[++e-1]=c,I[e-1]=i,T[++e-1]=r,I[e-1]=c)}else b[a]=r,a++;b[a]=o-1,a++;for(var j=new Array,s=0;s<a;s++)j.push(t[b[s]]);return j.map((function(t){return{type:"Point",coordinates:[t.lng,t.lat]}}))},n.destinationPoint=function(t,o,e){e/=6371,o=n.numberToRadius(o);var a=n.numberToRadius(t.coordinates[0]),r=n.numberToRadius(t.coordinates[1]),i=Math.asin(Math.sin(a)*Math.cos(e)+Math.cos(a)*Math.sin(e)*Math.cos(o)),s=r+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(a),Math.cos(e)-Math.sin(a)*Math.sin(i));return s=(s+3*Math.PI)%(2*Math.PI)-Math.PI,{type:"Point",coordinates:[n.numberToDegree(i),n.numberToDegree(s)]}}}()}}}}},{extensions:[".js",".json"]}),s=i("/node_modules/meteor/geojson-utils/main.js");Package._define("geojson-utils",s,{GeoJSON:r})}();
88
89!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,c,h=r({node_modules:{meteor:{"ordered-dict":{
89"ordered_dict.js":function t(e,n,t){function r(t,e,n,r){return{key:t,value:e,next:n,prev:r}}t.export({OrderedDict:function(){return i}});var i=function(){function t(){var t=this;this._dict=Object.create(null),this._first=null,this._last=null,this._size=0;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"function"==typeof n[0]?this._stringify=n.shift():this._stringify=function(t){return t},n.forEach((function(e){return t.putBefore(e[0],e[1],null)}))}var e=t.prototype;return e._k=function(){function t(t){return" "+this._stringify(t)}return t}(),e.empty=function(){function t(){return!this._first}return t}(),e.size=function(){function t(){return this._size}return t}(),e._linkEltIn=function(){function t(t){t.next?(t.prev=t.next.prev,t.next.prev=t,t.prev&&(t.prev.next=t)):(t.prev=this._last,this._last&&(this._last.next=t),this._last=t),null!==this._first&&this._first!==t.next||(this._first=t)}return t}(),e._linkEltOut=function(){function t(t){t.next&&(t.next.prev=t.prev),t.prev&&(t.prev.next=t.next),t===this._last&&(this._last=t.prev),t===this._first&&(this._first=t.next)}return t}(),e.putBefore=function(){function t(t,e,n){if(this._dict[this._k(t)])throw new Error("Item "+t+" already present in OrderedDict");var i=r(t,e,n?this._dict[this._k(n)]:null);if("undefined"==typeof i.next)throw new Error("could not find item to put this one before");this._linkEltIn(i),this._dict[this._k(t)]=i,this._size++}return t}(),e.append=function(){function t(t,e){this.putBefore(t,e,null)}return t}(),e.remove=function(){function t(t){var e=this._dict[this._k(t)];if("undefined"==typeof e)throw new Error("Item "+t+" not present in OrderedDict");return this._linkEltOut(e),this._size--,delete this._dict[this._k(t)],e.value}return t}(),e.get=function(){function t(t){if(this.has(t))return this._dict[this._k(t)].value}return t}(),e.has=function(){function t(t){return Object.prototype.hasOwnProperty.call(this._dict,this._k(t))}return t}(),e.forEach=function(){function e(e){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=0,i=this._first;null!==i;){var o=e.call(n,i.value,i.key,r);if(o===t.BREAK)return;i=i.next,r++}}return e}(),e.first=function(){function t(){if(!this.empty())return this._first.key}return t}(),e.firstValue=function(){function t(){if(!this.empty())return this._first.value}return t}(),e.last=function(){function t(){if(!this.empty())return this._last.key}return t}(),e.lastValue=function(){function t(){if(!this.empty())return this._last.value}return t}(),e.prev=function(){function t(t){if(this.has(t)){var e=this._dict[this._k(t)];if(e.prev)return e.prev.key}return null}return t}(),e.next=function(){function t(t){if(this.has(t)){var e=this._dict[this._k(t)];if(e.next)return e.next.key}return null}return t}(),e.moveBefore=function(){function t(t,e){var n=this._dict[this._k(t)],r=e?this._dict[this._k(e)]:null;if("undefined"==typeof n)throw new Error("Item to move is not present");if("undefined"==typeof r)throw new Error("Could not find element to move this one before");r!==n.next&&(this._linkEltOut(n),n.next=r,this._linkEltIn(n))}return t}(),e.indexOf=function(){function e(e){var n=this,r=null;return this.forEach((function(i,o,u){if(n._k(o)===n._k(e))return r=u,t.BREAK})),r}return e}(),e._checkRep=function(){function t(){var t=this;Object.keys(this._dict).forEach((function(e){var n=t._dict[e];if(n.next===n)throw new Error("Next is a loop");if(n.prev===n)throw new Error("Prev is a loop")}))}return t}(),t}();i.BREAK={break:!0}}}}}},{extensions:[".js",".json"]}),l=h("/node_modules/meteor/ordered-dict/ordered_dict.js");Package._define("ordered-dict",l,{OrderedDict:c})}();
90
91!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package["diff-sequence"].DiffSequence,i=Package.ejson.EJSON,o=Package["geojson-utils"].GeoJSON,a=Package["id-map"].IdMap,s=Package["mongo-id"].MongoID,c=Package["ordered-dict"].OrderedDict,u=Package.random.Random,f=Package.tracker.Tracker,l=Package.tracker.Deps,d=Package.modules.meteorInstall,h=Package.modules.meteorBabelHelpers,p=Package.promise.Promise,m=Package["ecmascript-runtime-client"].Symbol,v=Package["ecmascript-runtime-client"].Map,y=Package["ecmascript-runtime-client"].Set,_,g,b,w,$=d({node_modules:{meteor:{minimongo:{
91"minimongo_client.js":function e(r,t,e){e.link("./minimongo_common.js")},
91"common.js":function e(r,t,e){var n,a,s;e.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){n=e}},0),e.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},1),e.export({hasOwn:function(){return c},ELEMENT_OPERATORS:function(){return u},compileDocumentSelector:function(){return v},equalityElementMatcher:function(){return $},expandArraysInBranches:function(){return j},isIndexable:function(){return S},isNumericKey:function(){return M},isOperatorObject:function(){return C},makeLookupFunction:function(){return x},nothingMatcher:function(){return q},pathsToTree:function(){return F},populateDocumentWithQueryFields:function(){return U},projectionDetails:function(){return Q},regexpElementMatcher:function(){return N}}),e.link("./local_collection.js",{default:function(e){s=e}},0);var c=Object.prototype.hasOwnProperty,u={$lt:P((function(e){return e<0})),$gt:P((function(e){return e>0})),$lte:P((function(e){return e<=0})),$gte:P((function(e){return e>=0})),$mod:{compileElementSelector:function(e){if(!Array.isArray(e)||2!==e.length||"number"!=typeof e[0]||"number"!=typeof e[1])throw Error("argument to $mod must be an array of two numbers");var r=e[0],t=e[1];return function(e){return"number"==typeof e&&e%r===t}}},$in:{compileElementSelector:function(e){if(!Array.isArray(e))throw Error("$in needs an array");var r=e.map((function(e){if(e instanceof RegExp)return N(e);if(C(e))throw Error("cannot nest $ under $in");return $(e)}));return function(e){return void 0===e&&(e=null),r.some((function(r){return r(e)}))}}},$size:{dontExpandLeafArrays:!0,compileElementSelector:function(e){if("string"==typeof e)e=0;else if("number"!=typeof e)throw Error("$size needs a number");return function(r){return Array.isArray(r)&&r.length===e}}},$type:{dontIncludeLeafArrays:!0,compileElementSelector:function(e){if("string"==typeof e){var r={double:1,string:2,object:3,array:4,binData:5,undefined:6,objectId:7,bool:8,date:9,null:10,regex:11,dbPointer:12,javascript:13,symbol:14,javascriptWithScope:15,int:16,timestamp:17,long:18,decimal:19,minKey:-1,maxKey:127};if(!c.call(r,e))throw Error("unknown string alias for $type: "+e);e=r[e]}else{if("number"!=typeof e)throw Error("argument to $type is not a number or a string");if(0===e||e<-1||e>19&&127!==e)throw Error("Invalid numerical $type code: "+e)}return function(r){return void 0!==r&&s._f._type(r)===e}}},$bitsAllSet:{compileElementSelector:function(e){var r=O(e,"$bitsAllSet");return function(e){var t=k(e,r.length);return t&&r.every((function(e,r){return(t[r]&e)===e}))}}},$bitsAnySet:{compileElementSelector:function(e){var r=O(e,"$bitsAnySet");return function(e){var t=k(e,r.length);return t&&r.some((function(e,r){return(~t[r]&e)!==e}))}}},$bitsAllClear:{compileElementSelector:function(e){var r=O(e,"$bitsAllClear");return function(e){var t=k(e,r.length);return t&&r.every((function(e,r){return!(t[r]&e)}))}}},$bitsAnyClear:{compileElementSelector:function(e){var r=O(e,"$bitsAnyClear");return function(e){var t=k(e,r.length);return t&&r.some((function(e,r){return(t[r]&e)!==e}))}}},$regex:{compileElementSelector:function(e,r){if(!("string"==typeof e||e instanceof RegExp))throw Error("$regex has to be a string or RegExp");var t;if(void 0!==r.$options){if(/[^gim]/.test(r.$options))throw new Error("Only the i, m, and g regexp options are supported");var n=e instanceof RegExp?e.source:e;t=new RegExp(n,r.$options)}else t=e instanceof RegExp?e:new RegExp(e);return N(t)}},$elemMatch:{dontExpandLeafArrays:!0,compileElementSelector:function(e,r,t){if(!s._isPlainObject(e))throw Error("$elemMatch need an object");var n=!C(Object.keys(e).filter((function(e){return!c.call(f,e)})).reduce((function(r,t){var n;return Object.assign(r,((n={})[t]=e[t],n))}),{}),!0),i;return i=n?v(e,t,{inElemMatch:!0}):y(e,t),function(e){if(!Array.isArray(e))return!1;for(var r=0;r<e.length;++r){var t=e[r],o=void 0;if(n){if(!S(t))return!1;o=t}else o=[{value:t,dontIterate:!0}];if(i(o).result)return r}return!1}}}},f={$and:function(e,r,t){return h(m(e,r,t))},$or:function(e,r,t){var n=m(e,r,t);return 1===n.length?n[0]:function(e){var r;return{result:n.some((function(r){return r(e).result}))}}},$nor:function(e,r,t){var n=m(e,r,t);return function(e){var r;return{result:n.every((function(r){return!r(e).result}))}}},$where:function(e,r){return r._recordPathUsed(""),r._hasWhere=!0,e instanceof Function||(e=Function("obj","return "+e)),function(r){return{result:e.call(r,r)}}},$comment:function(){return function(){return{result:!0}}}},l={$eq:function(e){return b($(e))},$not:function(e,r,t){return I(y(e,t))},$ne:function(e){return I(b($(e)))},$nin:function(e){return I(b(u.$in.compileElementSelector(e)))},$exists:function(e){var r=b((function(e){return void 0!==e}));return e?r:I(r)},$options:function(e,r){if(!c.call(r,"$regex"))throw Error("$options needs a $regex");return E},$maxDistance:function(e,r){if(!r.$near)throw Error("$maxDistance needs a $near");return E},$all:function(e,r,t){if(!Array.isArray(e))throw Error("$all requires array");if(0===e.length)return q;var n=e.map((function(e){if(C(e))throw Error("no $ expressions in $all");return y(e,t)}));return p(n)},$near:function(e,r,t,n){if(!n)throw Error("$near can't be inside another $ operator");var i,u,f;if(t._hasGeoQuery=!0,s._isPlainObject(e)&&c.call(e,"$geometry"))i=e.$maxDistance,u=e.$geometry,f=function(e){return e?e.type?"Point"===e.type?o.pointDistance(u,e):o.geometryWithinRadius(e,u,i)?0:i+1:o.pointDistance(u,{type:"Point",coordinates:R(e)}):null};else{if(i=r.$maxDistance,!S(e))throw Error("$near argument must be coordinate pair or GeoJSON");u=R(e),f=function(e){return S(e)?w(u,e):null}}return function(e){var r={result:!1};return j(e).every((function(e){var n;if(!t._isUpdate){if("object"!==a(e.value))return!0;
91if(null===(n=f(e.value))||n>i)return!0;if(void 0!==r.distance&&r.distance<=n)return!0}return r.result=!0,r.distance=n,e.arrayIndices?r.arrayIndices=e.arrayIndices:delete r.arrayIndices,!t._isUpdate})),r}}};function d(e){return 0===e.length?E:1===e.length?e[0]:function(r){var t={};return t.result=e.every((function(e){var n=e(r);return n.result&&void 0!==n.distance&&void 0===t.distance&&(t.distance=n.distance),n.result&&n.arrayIndices&&(t.arrayIndices=n.arrayIndices),n.result})),t.result||(delete t.distance,delete t.arrayIndices),t}}var h=d,p=d;function m(e,r,t){if(!Array.isArray(e)||0===e.length)throw Error("$and/$or/$nor must be nonempty array");return e.map((function(e){if(!s._isPlainObject(e))throw Error("$or/$and/$nor entries need to be full objects");return v(e,r,{inElemMatch:t})}))}function v(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Object.keys(e).map((function(n){var i=e[n];if("$"===n.substr(0,1)){if(!c.call(f,n))throw new Error("Unrecognized logical operator: "+n);return r._isSimple=!1,f[n](i,r,t.inElemMatch)}if(t.inElemMatch||r._recordPathUsed(n),"function"!=typeof i){var o=x(n),a=y(i,r,t.isRoot);return function(e){return a(o(e))}}})).filter(Boolean);return h(n)}function y(e,r,t){return e instanceof RegExp?(r._isSimple=!1,b(N(e))):C(e)?B(e,r,t):b($(e))}function b(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t){var n=r.dontExpandLeafArrays?t:j(t,r.dontIncludeLeafArrays),i={};return i.result=n.some((function(r){var t=e(r.value);return"number"==typeof t&&(r.arrayIndices||(r.arrayIndices=[t]),t=!0),t&&r.arrayIndices&&(i.arrayIndices=r.arrayIndices),t})),i}}function w(e,r){var t=R(e),n=R(r);return Math.hypot(t[0]-n[0],t[1]-n[1])}function $(e){if(C(e))throw Error("Can't create equalityValueSelector for operator object");return null==e?function(e){return null==e}:function(r){return s._f._equal(e,r)}}function E(e){return{result:!0}}function j(e,r){var t=[];return e.forEach((function(e){var n=Array.isArray(e.value);r&&n&&!e.dontIterate||t.push({arrayIndices:e.arrayIndices,value:e.value}),n&&!e.dontIterate&&e.value.forEach((function(r,n){t.push({arrayIndices:(e.arrayIndices||[]).concat(n),value:r})}))})),t}function O(e,r){if(Number.isInteger(e)&&e>=0)return new Uint8Array(new Int32Array([e]).buffer);if(i.isBinary(e))return new Uint8Array(e.buffer);if(Array.isArray(e)&&e.every((function(e){return Number.isInteger(e)&&e>=0}))){var t=new ArrayBuffer(1+(Math.max.apply(Math,n(e))>>3)),o=new Uint8Array(t);return e.forEach((function(e){o[e>>3]|=1<<(7&e)})),o}throw Error("operand to "+r+" must be a numeric bitmask (representable as a non-negative 32-bit signed integer), a bindata bitmask or an array with bit positions (non-negative integers)")}function k(e,r){if(Number.isSafeInteger(e)){var t=new ArrayBuffer(Math.max(r,2*Uint32Array.BYTES_PER_ELEMENT)),n=new Uint32Array(t,0,2);return n[0]=e%4294967296|0,n[1]=e/4294967296|0,e<0&&(n=new Uint8Array(t,2)).forEach((function(e,r){n[r]=255})),new Uint8Array(t)}return!!i.isBinary(e)&&new Uint8Array(e.buffer)}function A(e,r,t){Object.keys(e).forEach((function(e){if(e.length>r.length&&0===e.indexOf(r+".")||r.length>e.length&&0===r.indexOf(e+"."))throw new Error("cannot infer query fields to set, both paths '"+e+"' and '"+r+"' are matched");if(e===r)throw new Error("cannot infer query fields to set, path '"+r+"' is matched twice")})),e[r]=t}function I(e){return function(r){return{result:!e(r).result}}}function S(e){return Array.isArray(e)||s._isPlainObject(e)}function M(e){return/^[0-9]+$/.test(e)}function C(e,r){if(!s._isPlainObject(e))return!1;var t=void 0;return Object.keys(e).forEach((function(n){var i="$"===n.substr(0,1)||"diff"===n;if(void 0===t)t=i;else if(t!==i){if(!r)throw new Error("Inconsistent operator: "+JSON.stringify(e));t=!1}})),!!t}function P(e){return{compileElementSelector:function(r){if(Array.isArray(r))return function(){return!1};void 0===r&&(r=null);var t=s._f._type(r);return function(n){return void 0===n&&(n=null),s._f._type(n)===t&&e(s._f._cmp(n,r))}}}}function x(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=e.split("."),i=t.length?t[0]:"",o=t.length>1&&x(t.slice(1).join("."),r),a=function(e){return e.dontIterate||delete e.dontIterate,e.arrayIndices&&!e.arrayIndices.length&&delete e.arrayIndices,e};return function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(Array.isArray(e)){if(!(M(i)&&i<e.length))return[];c=c.concat(+i,"x")}var u=e[i];if(!o)return[a({arrayIndices:c,dontIterate:Array.isArray(e)&&Array.isArray(u),value:u})];if(!S(u))return Array.isArray(e)?[]:[a({arrayIndices:c,value:void 0})];var f=[],l=function(e){f.push.apply(f,n(e))};return l(o(u,c)),!Array.isArray(u)||M(t[1])&&r.forSort||u.forEach((function(e,r){s._isPlainObject(e)&&l(o(e,c.concat(r)))})),f}}function q(e){return{result:!1}}function B(e,r,t){var n=Object.keys(e).map((function(n){var i=e[n],o=["$lt","$lte","$gt","$gte"].includes(n)&&"number"==typeof i,a=["$ne","$eq"].includes(n)&&i!==Object(i),s=["$in","$nin"].includes(n)&&Array.isArray(i)&&!i.some((function(e){return e===Object(e)}));if(o||s||a||(r._isSimple=!1),c.call(l,n))return l[n](i,e,r,t);if(c.call(u,n)){var f=u[n];return b(f.compileElementSelector(i,e,r),f)}throw new Error("Unrecognized operator: "+n)}));return p(n)}function F(e,r,t){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.forEach((function(e){var i=e.split("."),o=n,a;if(i.slice(0,-1).every((function(r,n){if(c.call(o,r)){if(o[r]!==Object(o[r])&&(o[r]=t(o[r],i.slice(0,n+1).join("."),e),o[r]!==Object(o[r])))return!1}else o[r]={};return o=o[r],!0}))){var s=i[i.length-1];c.call(o,s)?o[s]=t(o[s],e,e):o[s]=r(e)}})),n}function R(e){return Array.isArray(e)?e.slice():[e.x,e.y]}function D(e,r,t){t&&Object.getPrototypeOf(t)===Object.prototype?T(e,r,t):t instanceof RegExp||A(e,r,t)}function T(e,r,t){var n=Object.keys(t),i=n.filter((function(e){return"$"!==e[0]}));if(i.length>0||!n.length){if(n.length!==i.length)throw new Error("unknown operator: "+i[0]);K(t,r),A(e,r,t)}else Object.keys(t).forEach((function(n){var i=t[n];
91"$eq"===n?D(e,r,i):"$all"===n&&i.forEach((function(t){return D(e,r,t)}))}))}function U(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.getPrototypeOf(e)===Object.prototype?Object.keys(e).forEach((function(t){var n=e[t];"$and"===t?n.forEach((function(e){return U(e,r)})):"$or"===t?1===n.length&&U(n[0],r):"$"!==t[0]&&D(r,t,n)})):s._selectorIsId(e)&&A(r,"_id",e),r}function Q(e){var r=Object.keys(e).sort();1===r.length&&"_id"===r[0]||r.includes("_id")&&e._id||(r=r.filter((function(e){return"_id"!==e})));var t=null;r.forEach((function(r){var n=!!e[r];if(null===t&&(t=n),t!==n)throw g("You cannot currently mix including and excluding fields.")}));var n=F(r,(function(e){return t}),(function(e,r,t){var n,i;throw g("both "+t+" and "+r+" found in fields option, using both of them may trigger unexpected behavior. Did you mean to use only one of them?")}));return{including:t,tree:n}}function N(e){return function(r){return r instanceof RegExp?r.toString()===e.toString():"string"==typeof r&&(e.lastIndex=0,e.test(r))}}function L(e,r){if(e.includes("."))throw new Error("The dotted field '"+e+"' in '"+r+"."+e+" is not valid for storage.");if("$"===e[0])throw new Error("The dollar ($) prefixed field  '"+r+"."+e+" is not valid for storage.")}function K(e,r){e&&Object.getPrototypeOf(e)===Object.prototype&&Object.keys(e).forEach((function(t){L(t,r),K(e[t],r+"."+t)}))}_={makeLookupFunction:x},g=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"string"==typeof e&&r.field&&(e+=" for field '"+r.field+"'");var t=new Error(e);return t.name="MinimongoError",t}},
91"cursor.js":function e(r,t,e){var n,o;e.export({default:function(){return a}}),e.link("./local_collection.js",{default:function(e){n=e}},0),e.link("./common.js",{hasOwn:function(e){o=e}},1);var a=function(e){function r(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.collection=e,this.sorter=null,this.matcher=new w.Matcher(r),n._selectorIsIdPerhapsAsObject(r)?this._selectorId=o.call(r,"_id")?r._id:r:(this._selectorId=void 0,(this.matcher.hasGeoQuery()||t.sort)&&(this.sorter=new w.Sorter(t.sort||[]))),this.skip=t.skip||0,this.limit=t.limit,this.fields=t.projection||t.fields,this._projectionFn=n._compileProjection(this.fields||{}),this._transform=n.wrapTransform(t.transform),"undefined"!=typeof f&&(this.reactive=void 0===t.reactive||t.reactive)}var t=r.prototype;return t.count=function(){function e(){return this.reactive&&this._depend({added:!0,removed:!0},!0),this._getRawObjects({ordered:!0}).length}return e}(),t.fetch=function(){function e(){var e=[];return this.forEach((function(r){e.push(r)})),e}return e}(),t[e]=function(){var e=this;this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0});var r=0,t=this._getRawObjects({ordered:!0});return{next:function(){if(r<t.length){var n=e._projectionFn(t[r++]);return e._transform&&(n=e._transform(n)),{value:n}}return{done:!0}}}},t.forEach=function(){function e(e,r){var t=this;this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0}),this._getRawObjects({ordered:!0}).forEach((function(n,i){n=t._projectionFn(n),t._transform&&(n=t._transform(n)),e.call(r,n,i,t)}))}return e}(),t.getTransform=function(){function e(){return this._transform}return e}(),t.map=function(){function e(e,r){var t=this,n=[];return this.forEach((function(i,o){n.push(e.call(r,i,o,t))})),n}return e}(),t.observe=function(){function e(e){return n._observeFromObserveChanges(this,e)}return e}(),t.observeChanges=function(){function e(e){var r=this,t=n._observeChangesCallbacksAreOrdered(e);if(!e._allow_unordered&&!t&&(this.skip||this.limit))throw new Error("Mu
91st use an ordered observe with skip or limit (i.e. 'addedBefore' for observeChanges or 'addedAt' for observe, instead of 'added').");if(this.fields&&(0===this.fields._id||!1===this.fields._id))throw Error("You may not observe a cursor with {fields: {_id: 0}}");var o,a={cursor:this,dirty:!1,distances:this.matcher.hasGeoQuery()&&t&&new n._IdMap,matcher:this.matcher,ordered:t,projectionFn:this._projectionFn,resultsSnapshot:null,sorter:t&&this.sorter},s;this.reactive&&(s=this.collection.next_qid++,this.collection.queries[s]=a),a.results=this._getRawObjects({ordered:t,distances:a.distances}),this.collection.paused&&(a.resultsSnapshot=t?[]:new n._IdMap);var c=function(e){if(!e)return function(){};var t=r;return function(){var r=this;if(!t.collection.paused){var n=arguments;t.collection._observeQueue.queueTask((function(){e.apply(r,n)}))}}};a.added=c(e.added),a.changed=c(e.changed),a.removed=c(e.removed),t&&(a.addedBefore=c(e.addedBefore),a.movedBefore=c(e.movedBefore)),e._suppress_initial||this.collection.paused||a.results.forEach((function(e){var n=i.clone(e);delete n._id,t&&a.addedBefore(e._id,r._projectionFn(n),null),a.added(e._id,r._projectionFn(n))}));var u=Object.assign(new n.ObserveHandle,{collection:this.collection,stop:function(){r.reactive&&delete r.collection.queries[s]}});return this.reactive&&f.active&&f.onInvalidate((function(){u.stop()})),this.collection._observeQueue.drain(),u}return e}(),t._depend=function(){function e(e,r){if(f.active){var t=new f.Dependency,n=t.changed.bind(t);t.depend();var i={_allow_unordered:r,_suppress_initial:!0};["added","addedBefore","changed","movedBefore","removed"].forEach((function(r){e[r]&&(i[r]=n)})),this.observeChanges(i)}}return e}(),t._getCollectionName=function(){function e(){return this.collection.name}return e}(),t._getRawObjects=function(){function e(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1!==r.applySkipLimit,i=r.ordered?[]:new n._IdMap,o;if(void 0!==this._selectorId){if(t&&this.skip)return i;var a=this.collection._docs.get(this._selectorId);return a&&(r.ordered?i.push(a):i.set(this._selectorId,a)),i}return this.matcher.hasGeoQuery()&&r.ordered&&(r.distances?(o=r.distances).clear():o=new n._IdMap),this.collection._docs.forEach((function(n,a){var s=e.matcher.documentMatches(n);return s.result&&(r.ordered?(i.push(n),o&&void 0!==s.distance&&o.set(a,s.distance)):i.set(a,n)),!t||(!e.limit||e.skip||e.sorter||i.length!==e.limit)})),r.ordered?(this.sorter&&i.sort(this.sorter.getComparator({distances:o})),t&&(this.limit||this.skip)?i.slice(this.skip,this.limit?this.limit+this.skip:i.length):i):i}return e}(),t._publishCursor=function(){function e(e){if(!Package.mongo)throw new Error("Can't publish from Minimongo without the `mongo` package.");if(!this.collection.name)throw new Error("Can't publish a cursor from a collection without a name.");return Package.mongo.Mongo.Collection._publishCursor(this,e,this.collection.name)}return e}(),r}(m.iterator)},
91"local_collection.js":function r(t,o,r){var l,d,h,p,m,v,y,_,b,$,E,j;r.link("@babel/runtime/helpers/toConsumableArray",{default:function(e){l=e}},0),r.link("@babel/runtime/helpers/typeof",{default:function(e){d=e}},1),r.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){h=e}},2),r.link("@babel/runtime/helpers/objectSpread2",{default:function(e){p=e}},3),r.export({default:function(){return O}}),r.link("./cursor.js",{default:function(e){m=e}},0),r.link("./observe_handle.js",{default:function(e){v=e}},1),r.link("./common.js",{hasOwn:function(e){y=e},isIndexable:function(e){_=e},isNumericKey:function(e){b=e},isOperatorObject:function(e){$=e},populateDocumentWithQueryFields:function(e){E=e},projectionDetails:function(e){j=e}},2);var O=function(){function r(t){this.name=t,this._docs=new r._IdMap,this._observeQueue=new e._SynchronousQueue,this.next_qid=1,this.queries=Object.create(null),this._savedOriginals=null,this.paused=!1}var t=r.prototype;return t.find=function(){function e(e,t){return 0===arguments.length&&(e={}),new r.Cursor(this,e,t)}return e}(),t.findOne=function(){function e(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return 0===arguments.length&&(e={}),r.limit=1,this.find(e,r).fetch()[0]}return e}(),t.insert=function(){function t(t,n){var o=this;S(t=i.clone(t)),y.call(t,"_id")||(t._id=r._useOID?new s.ObjectID:u.id());var a=t._id;if(this._docs.has(a))throw g("Duplicate _id '"+a+"'");this._saveOriginal(a,void 0),this._docs.set(a,t);var c=[];return Object.keys(this.queries).forEach((function(e){var n=o.queries[e];if(!n.dirty){var i=n.matcher.documentMatches(t);i.result&&(n.distances&&void 0!==i.distance&&n.distances.set(a,i.distance),n.cursor.skip||n.cursor.limit?c.push(e):r._insertInResults(n,t))}})),c.forEach((function(e){o.queries[e]&&o._recomputeResults(o.queries[e])})),this._observeQueue.drain(),n&&e.defer((function(){n(null,a)})),a}return t}(),t.pauseObservers=function(){function e(){var e=this;this.paused||(this.paused=!0,Object.keys(this.queries).forEach((function(r){var t=e.queries[r];t.resultsSnapshot=i.clone(t.results)})))}return e}(),t.remove=function(){function t(t,n){var o=this;if(this.paused&&!this._savedOriginals&&i.equals(t,{})){var a=this._docs.size();return this._docs.clear(),Object.keys(this.queries).forEach((function(e){var r=o.queries[e];r.ordered?r.results=[]:r.results.clear()})),n&&e.defer((function(){n(null,a)})),a}var s=new w.Matcher(t),c=[];this._eachPossiblyMatchingDoc(t,(function(e,r){s.documentMatches(e).result&&c.push(r)}));for(var u=[],f=[],l=function(e){var r=c[e],t=o._docs.get(r);Object.keys(o.queries).forEach((function(e){var r=o.queries[e];r.dirty||r.matcher.documentMatches(t).result&&(r.cursor.skip||r.cursor.limit?u.push(e):f.push({qid:e,doc:t}))})),o._saveOriginal(r,t),o._docs.remove(r)},d=0;d<c.length;d++)l(d);f.forEach((function(e){var t=o.queries[e.qid];t&&(t.distances&&t.distances.remove(e.doc._id),r._removeFromResults(t,e.doc))})),u.forEach((function(e){var r=o.queries[e];r&&o._recomputeResults(r)})),this._observeQueue.drain();var h=c.length;return n&&e.defer((function(){n(null,h)})),h}return t}(),t.resumeObservers=function(){function e(){var e=this;this.paused&&(this.paused=!1,Object.keys(this.queries).forEach((function(t){var n=e.queries[t];n.dirty?(n.dirty=!1,e._recomputeResults(n,n.resultsSnapshot)):r._diffQueryChanges(n.ordered,n.resultsSnapshot,n.results,n,{projectionFn:n.projectionFn}),n.resultsSnapshot=null})),this._observeQueue.drain())}return e}(),t.retrieveOriginals=function(){function e(){if(!this._savedOriginals)throw new Error("Called retrieveOriginals without saveOriginals");var e=this._savedOriginals;return this._savedOriginals=null,e}return e}(),t.saveOriginals=function(){function e(){if(this._savedOriginals)throw new Error("Called saveOriginals twice without retrieveOriginals");this._savedOriginals=new r._IdMap}return e}(),t.update=function(){function t(t,n,o,a){var s=this;!a&&o instanceof Function&&(a=o,o=null),o||(o={});var c=new w.Matcher(t,!0),u={},f=new r._IdMap,l=r._idsMatchedBySelector(t);
91Object.keys(this.queries).forEach((function(e){var t=s.queries[e];if((t.cursor.skip||t.cursor.limit)&&!s.paused){if(t.results instanceof r._IdMap)return void(u[e]=t.results.clone());if(!(t.results instanceof Array))throw new Error("Assertion failed: query.results not an array");var n=function(e){if(f.has(e._id))return f.get(e._id);var r=l&&!l.some((function(r){return i.equals(r,e._id)}))?e:i.clone(e);return f.set(e._id,r),r};u[e]=t.results.map(n)}}));var d={},h=0,p,m;if(this._eachPossiblyMatchingDoc(t,(function(e,r){var t=c.documentMatches(e);return!(t.result&&(s._saveOriginal(r,e),s._modifyAndNotify(e,n,d,t.arrayIndices),++h,!o.multi))})),Object.keys(d).forEach((function(e){var r=s.queries[e];r&&s._recomputeResults(r,u[e])})),this._observeQueue.drain(),0===h&&o.upsert){var v=r._createUpsertDocument(t,n);!v._id&&o.insertedId&&(v._id=o.insertedId),p=this.insert(v),h=1}return o._returnObject?(m={numberAffected:h},void 0!==p&&(m.insertedId=p)):m=h,a&&e.defer((function(){a(null,m)})),m}return t}(),t.upsert=function(){function e(e,r,t,n){return n||"function"!=typeof t||(n=t,t={}),this.update(e,r,Object.assign({},t,{upsert:!0,_returnObject:!0}),n)}return e}(),t._eachPossiblyMatchingDoc=function(){function e(e,t){var n=this,i=r._idsMatchedBySelector(e);i?i.some((function(e){var r=n._docs.get(e);if(r)return!1===t(r,e)})):this._docs.forEach(t)}return e}(),t._modifyAndNotify=function(){function e(e,t,n,o){var a=this,s={};Object.keys(this.queries).forEach((function(r){var t=a.queries[r];t.dirty||(t.ordered?s[r]=t.matcher.documentMatches(e).result:s[r]=t.results.has(e._id))}));var c=i.clone(e);r._modify(e,t,{arrayIndices:o}),Object.keys(this.queries).forEach((function(t){var i=a.queries[t];if(!i.dirty){var o=i.matcher.documentMatches(e),u=o.result,f=s[t];u&&i.distances&&void 0!==o.distance&&i.distances.set(e._id,o.distance),i.cursor.skip||i.cursor.limit?(f||u)&&(n[t]=!0):f&&!u?r._removeFromResults(i,e):!f&&u?r._insertInResults(i,e):f&&u&&r._updateInResults(i,e,c)}}))}return e}(),t._recomputeResults=function(){function e(e,t){this.paused?e.dirty=!0:(this.paused||t||(t=e.results),e.distances&&e.distances.clear(),e.results=e.cursor._getRawObjects({distances:e.distances,ordered:e.ordered}),this.paused||r._diffQueryChanges(e.ordered,t,e.results,e,{projectionFn:e.projectionFn}))}return e}(),t._saveOriginal=function(){function e(e,r){this._savedOriginals&&(this._savedOriginals.has(e)||this._savedOriginals.set(e,i.clone(r)))}return e}(),r}();O.Cursor=m,O.ObserveHandle=v,O._CachingChangeObserver=function(){function e(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r.callbacks&&O._observeChangesCallbacksAreOrdered(r.callbacks);if(y.call(r,"ordered")){if(this.ordered=r.ordered,r.callbacks&&r.ordered!==t)throw Error("ordered option doesn't match callbacks")}else{if(!r.callbacks)throw Error("must provide ordered or callbacks");this.ordered=t}var o=r.callbacks||{};this.ordered?(this.docs=new c(s.idStringify),this.applyChange={addedBefore:function(r,t,n){var a=p({},t);a._id=r,o.addedBefore&&o.addedBefore.call(e,r,i.clone(t),n),o.added&&o.added.call(e,r,i.clone(t)),e.docs.putBefore(r,a,n||null)},movedBefore:function(r,t){var n=e.docs.get(r);o.movedBefore&&o.movedBefore.call(e,r,t),e.docs.moveBefore(r,t||null)}}):(this.docs=new O._IdMap,this.applyChange={added:function(r,t){var n=p({},t);o.added&&o.added.call(e,r,i.clone(t)),n._id=r,e.docs.set(r,n)}}),this.applyChange.changed=function(r,t){var a=e.docs.get(r);if(!a)throw new Error("Unknown id for changed: "+r);o.changed&&o.changed.call(e,r,i.clone(t)),n.applyChanges(a,t)},this.applyChange.removed=function(r){o.removed&&o.removed.call(e,r),e.docs.remove(r)}}return e}(),O._IdMap=function(e){function r(){return e.call(this,s.idStringify,s.idParse)||this}return h(r,e),r}(a),O.wrapTransform=function(e){if(!e)return null;if(e.__wrappedTransform__)return e;var r=function(r){if(!y.call(r,"_id"))throw new Error("can only transform documents with _id");var t=r._id,n=f.nonreactive((function(){return e(r)}));if(!O._isPlainObject(n))throw new Error("transform must return object");if(y.call(n,"_id")){if(!i.equals(n._id,t))throw new Error("transformed document can't have different _id")}else n._id=t;return n};return r.__wrappedTransform__=!0,r},O._binarySearch=function(e,r,t){for(var n=0,i=r.length;i>0;){var o=Math.floor(i/2);e(t,r[n+o])>=0?(n+=o+1,i-=o+1):i=o}return n},O._checkSupportedProjection=function(e){if(e!==Object(e)||Array.isArray(e))throw g("fields option must be an object");Object.keys(e).forEach((function(r){if(r.split(".").includes("$"))throw g("Minimongo doesn't support $ operator in projections yet.");var t=e[r];if("object"===d(t)&&["$elemMatch","$meta","$slice"].some((function(e){return y.c
91all(t,e)})))throw g("Minimongo doesn't support operators in projections yet.");if(![1,0,!0,!1].includes(t))throw g("Projection values should be one of 1, 0, true, or false")}))},O._compileProjection=function(e){O._checkSupportedProjection(e);var r=void 0===e._id||e._id,t=j(e),n=function(e,r){if(Array.isArray(e))return e.map((function(e){return n(e,r)}));var o=t.including?{}:i.clone(e);return Object.keys(r).forEach((function(a){if(null!=e&&y.call(e,a)){var s=r[a];s===Object(s)?e[a]===Object(e[a])&&(o[a]=n(e[a],s)):t.including?o[a]=i.clone(e[a]):delete o[a]}})),null!=e?o:e};return function(e){var i=n(e,t.tree);return r&&y.call(e,"_id")&&(i._id=e._id),!r&&y.call(i,"_id")&&delete i._id,i}},O._createUpsertDocument=function(e,r){var t=E(e),n=O._isModificationMod(r),i={};if(t._id&&(i._id=t._id,delete t._id),O._modify(i,{$set:t}),O._modify(i,r,{isInsert:!0}),n)return i;var o=Object.assign({},r);return i._id&&(o._id=i._id),o},O._diffObjects=function(e,r,t){return n.diffObjects(e,r,t)},O._diffQueryChanges=function(e,r,t,i,o){return n.diffQueryChanges(e,r,t,i,o)},O._diffQueryOrderedChanges=function(e,r,t,i){return n.diffQueryOrderedChanges(e,r,t,i)},O._diffQueryUnorderedChanges=function(e,r,t,i){return n.diffQueryUnorderedChanges(e,r,t,i)},O._findInOrderedResults=function(e,r){if(!e.ordered)throw new Error("Can't call _findInOrderedResults on unordered query");for(var t=0;t<e.results.length;t++)if(e.results[t]===r)return t;throw Error("object missing from query")},O._idsMatchedBySelector=function(e){if(O._selectorIsId(e))return[e];if(!e)return null;if(y.call(e,"_id"))return O._selectorIsId(e._id)?[e._id]:e._id&&Array.isArray(e._id.$in)&&e._id.$in.length&&e._id.$in.every(O._selectorIsId)?e._id.$in:null;if(Array.isArray(e.$and))for(var r=0;r<e.$and.length;++r){var t=O._idsMatchedBySelector(e.$and[r]);if(t)return t}return null},O._insertInResults=function(e,r){var t=i.clone(r);if(delete t._id,e.ordered){if(e.sorter){var n=O._insertInSortedList(e.sorter.getComparator({distances:e.distances}),e.results,r),o=e.results[n+1];o=o?o._id:null,e.addedBefore(r._id,e.projectionFn(t),o)}else e.addedBefore(r._id,e.projectionFn(t),null),e.results.push(r);e.added(r._id,e.projectionFn(t))}else e.added(r._id,e.projectionFn(t)),e.results.set(r._id,r)},O._insertInSortedList=function(e,r,t){if(0===r.length)return r.push(t),0;var n=O._binarySearch(e,r,t);return r.splice(n,0,t),n},O._isModificationMod=function(e){var r=!1,t=!1;if(Object.keys(e).forEach((function(e){"$"===e.substr(0,1)?r=!0:t=!0})),r&&t)throw new Error("Update parameter cannot have both modifier and non-modifier fields.");return r},O._isPlainObject=function(e){return e&&3===O._f._type(e)},O._modify=function(e,r){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!O._isPlainObject(r))throw g("Modifier must be an object");r=i.clone(r);var n=$(r),o=n?i.clone(e):r;if(n){if(Object.keys(r).forEach((function(e){var n=t.isInsert&&"$setOnInsert"===e,i=k[n?"$set":e],a=r[e];if(!i)throw g("Invalid modifier specified "+e);Object.keys(a).forEach((function(r){var n=a[r];if(""===r)throw g("An empty update path is not valid.");var s=r.split(".");if(!s.every(Boolean))throw g("The update path '"+r+"' contains an empty field name, which is not allowed.");var c=C(o,s,{arrayIndices:t.arrayIndices,forbidArray:"$rename"===e,noCreate:A[e]});i(c,s.pop(),n,r,o)}))})),e._id&&!i.equals(e._id,o._id))throw g('After applying the update to the document {_id: "'+e._id+"\", ...}, the (immutable) field '_id' was found to have been altered to _id: \""+o._id+'"')}else{if(e._id&&r._id&&!i.equals(e._id,r._id))throw g('The _id field cannot be changed from {_id: "'+e._id+'"} to {_id: "'+r._id+'"}');S(r)}Object.keys(e).forEach((function(r){"_id"!==r&&delete e[r]})),Object.keys(o).forEach((function(r){e[r]=o[r]}))},O._observeFromObserveChanges=function(e,r){var t=e.getTransform()||function(e){return e},o=!!r._suppress_initial,a;if(O._observeCallbacksAreOrdered(r)){var s=!r._no_indices;a={addedBefore:function(e,n,i){if(!o&&(r.addedAt||r.added)){var a=t(Object.assign(n,{_id:e}));r.addedAt?r.addedAt(a,s?i?this.docs.indexOf(i):this.docs.size():-1,i):r.added(a)}},changed:function(e,o){if(r.changedAt||r.changed){var a=i.clone(this.docs.get(e));if(!a)throw new Error("Unknown id for changed: "+e);var c=t(i.clone(a));n.applyChanges(a,o),r.changedAt?r.changedAt(t(a),c,s?this.docs.indexOf(e):-1):r.changed(t(a),c)}},movedBefore:function(e,n){if(r.movedTo){var o=s?this.docs.indexOf(e):-1,a=s?n?this.docs.indexOf(n):this.docs.size():-1;a>o&&--a,r.movedTo(t(i.clone(this.docs.get(e))),o,a,n||null)}},removed:function(e){if(r.removedAt||r.removed){var n=t(this.docs.get(e));r.removedAt?r.removedAt(n,s?this.docs.indexOf(e):-1):r.removed(n)}}}}else a={added:function(e,n){!o&&r.added&&r.added(t(Object.assign(n,{_id:e})))},changed:function(e,o){if(r.changed){var a=this.docs.get(e),s=i.clone(a);n.applyChanges(s,o),r.changed(t(s),t(i.clone(a)))}},removed:function(e){r.removed&&r.removed(t(this.docs.get(e)))}};var c=new O._CachingChangeObserver({callbacks:a});c.applyChange._fromObserve=!0;var u=e.observeChanges(c.applyChange,{nonMutatingCallbacks:!0});return o=!1,u},O._observeCallbacksAreOrdered=function(e){if(e.added&&e.addedAt)throw new Error("Please specify only one of added() and addedAt()");if(e.changed&&e.changedAt)throw new Error("Please specify only one of changed() and changedAt()");if(e.removed&&e.removedAt)throw new Error("Please specify only one of removed() and removedAt()");return!!(e.addedAt||e.changedAt||e.movedTo||e.removedAt)},O._observeChangesCallbacksAreOrdered=function(e){if(e.added&&e.addedBefore)throw new Error("Please specify only one of added() and addedBefore()");return!(!e.addedBefore&&!e.movedBefore)},O._removeFromResults=function(e,r){if(e.ordered){var t=O._findInOrderedResults(e,r);e.removed(r._id),e.results.splice(t,1)}else{var n=r._id;e.removed(r._id),e.results.remove(n)}},O._selectorIsId=function(e){return"number"==typeof e||"string"==typeof e||e instanceof s.ObjectID},O._selectorIsIdPerhapsAsObject=function(e){return O._selectorIsId(e)||O._selectorIsId(e&&e._id)&&1===Object.keys(e).length},O._updateInResults=function(e,r,t){if(!i.equals(r._id,t._id))throw new Error("Can't change a doc's _id while updating");var o=e.projectionFn,a=n.makeChangedFields(o(r),o(t));if(e.ordered){var s=O._findInOrderedResults(e,r);if(Object.keys(a).length&&e.changed(r._id,a),e.sorter){e.results.splice(s,1);var c=O._insertInSortedList(e.sorter.getComparator({distances:e.distances}),e.results,r);if(s!==c){var u=e.results[c+1];u=u?u._id:null,e.movedBefore&&e.movedBefore(r._id,u)}}}else Object.keys(a).length&&(e.changed(r._id,a),e.results.set(r._id,r))};var k={$currentDate:function(e,r,t){if("object"===d(t)&&y.call(t,"$type")){if("date"!==t.$type)throw g("Minimongo does currently only support the date type in $currentDate modifiers",{field:r})}else if(!0!==t)throw g("Invalid $currentDate modifier",{field:r});e[r]=new Date},$inc:function(e,r,t){if("number"!=typeof t)throw g("Modifier $inc allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $inc modifier to non-number",{field:r});e[r]+=t}else e[r]=t},$min:function(e,r,t){if("number"!=typeof t)throw g("Modifier $min allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $min modifier to non-number",{field:r});e[r]>t&&(e[r]=t)}else e[r]=t},$max:function(e,r,t){if("number"!=typeof t)throw g("Modifier $max allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $max modifier to non-number",{field:r});e[r]<t&&(e[r]=t)}else e[r]=t},$mul:function(e,r,t){if("number"!=typeof t)throw g("Modifier $mul allowed for numbers only",{field:r});if(r in e){if("number"!=typeof e[r])throw g("Cannot apply $mul modifier to non-number",{field:r});e[r]*=t}else e[r]=0},$rename:function(e,r,t,n,i){if(n===t)throw g("$rename source must differ from target",{field:r});
91if(null===e)throw g("$rename source field invalid",{field:r});if("string"!=typeof t)throw g("$rename target must be a string",{field:r});if(t.includes("\0"))throw g("The 'to' field for $rename cannot contain an embedded null byte",{field:r});if(void 0!==e){var o=e[r];delete e[r];var a=t.split("."),s=C(i,a,{forbidArray:!0});if(null===s)throw g("$rename target field invalid",{field:r});s[a.pop()]=o}},$set:function(e,r,t){if(e!==Object(e)){var n=g("Cannot set property on non-object field",{field:r});throw n.setPropertyError=!0,n}if(null===e){var i=g("Cannot set property on null",{field:r});throw i.setPropertyError=!0,i}S(t),e[r]=t},$setOnInsert:function(e,r,t){},$unset:function(e,r,t){void 0!==e&&(e instanceof Array?r in e&&(e[r]=null):delete e[r])},$push:function(e,r,t){if(void 0===e[r]&&(e[r]=[]),!(e[r]instanceof Array))throw g("Cannot apply $push modifier to non-array",{field:r});if(!t||!t.$each)return S(t),void e[r].push(t);var n=t.$each;if(!(n instanceof Array))throw g("$each must be an array",{field:r});S(n);var i=void 0;if("$position"in t){if("number"!=typeof t.$position)throw g("$position must be a numeric value",{field:r});if(t.$position<0)throw g("$position in $push must be zero or positive",{field:r});i=t.$position}var o=void 0;if("$slice"in t){if("number"!=typeof t.$slice)throw g("$slice must be a numeric value",{field:r});o=t.$slice}var a=void 0;if(t.$sort){if(void 0===o)throw g("$sort requires $slice to be present",{field:r});a=new w.Sorter(t.$sort).getComparator(),n.forEach((function(e){if(3!==O._f._type(e))throw g("$push like modifiers using $sort require all elements to be objects",{field:r})}))}if(void 0===i)n.forEach((function(t){e[r].push(t)}));else{var s,c=[i,0];n.forEach((function(e){c.push(e)})),(s=e[r]).splice.apply(s,c)}a&&e[r].sort(a),void 0!==o&&(e[r]=0===o?[]:o<0?e[r].slice(o):e[r].slice(0,o))},$pushAll:function(e,r,t){if(!("object"===d(t)&&t instanceof Array))throw g("Modifier $pushAll/pullAll allowed for arrays only");S(t);var n=e[r];if(void 0===n)e[r]=t;else{if(!(n instanceof Array))throw g("Cannot apply $pushAll modifier to non-array",{field:r});n.push.apply(n,l(t))}},$addToSet:function(e,r,t){var n=!1,i;"object"===d(t)&&("$each"===Object.keys(t)[0]&&(n=!0));var o=n?t.$each:[t];S(o);var a=e[r];if(void 0===a)e[r]=o;else{if(!(a instanceof Array))throw g("Cannot apply $addToSet modifier to non-array",{field:r});o.forEach((function(e){a.some((function(r){return O._f._equal(e,r)}))||a.push(e)}))}},$pop:function(e,r,t){if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pop modifier to non-array",{field:r});"number"==typeof t&&t<0?n.splice(0,1):n.pop()}}},$pull:function(e,r,t){if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pull/pullAll modifier to non-array",{field:r});var i;if(null==t||"object"!==d(t)||t instanceof Array)i=n.filter((function(e){return!O._f._equal(e,t)}));else{var o=new w.Matcher(t);i=n.filter((function(e){return!o.documentMatches(e).result}))}e[r]=i}}},$pullAll:function(e,r,t){if(!("object"===d(t)&&t instanceof Array))throw g("Modifier $pushAll/pullAll allowed for arrays only",{field:r});if(void 0!==e){var n=e[r];if(void 0!==n){if(!(n instanceof Array))throw g("Cannot apply $pull/pullAll modifier to non-array",{field:r});e[r]=n.filter((function(e){return!t.some((function(r){return O._f._equal(e,r)}))}))}}},$bit:function(e,r,t){throw g("$bit is not supported",{field:r})},$v:function(){}},A={$pop:!0,$pull:!0,$pullAll:!0,$rename:!0,$unset:!0},I={$:"start with '$'",".":"contain '.'","\0":"contain null bytes"};function S(e){e&&"object"===d(e)&&JSON.stringify(e,(function(e,r){return M(e),r}))}function M(e){var r;if("string"==typeof e&&(r=e.match(/^\$|\.|\0/)))throw g("Key "+e+" must not "+I[r[0]])}function C(e,r){for(var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=!1,i=0;i<r.length;i++){var o=i===r.length-1,a=r[i];if(!_(e)){if(t.noCreate)return;var s=g("cannot use the part '"+a+"' to traverse "+e);throw s.setPropertyError=!0,s}if(e instanceof Array){if(t.forbidArray)return null;if("$"===a){if(n)throw g("Too many positional (i.e. '$') elements");if(!t.arrayIndices||!t.arrayIndices.length)throw g("The positional operator did not find the match needed from the query");
91a=t.arrayIndices[0],n=!0}else{if(!b(a)){if(t.noCreate)return;throw g("can't append to array using string field name ["+a+"]")}a=parseInt(a)}if(o&&(r[i]=a),t.noCreate&&a>=e.length)return;for(;e.length<a;)e.push(null);if(!o)if(e.length===a)e.push({});else if("object"!==d(e[a]))throw g("can't modify field '"+r[i+1]+"' of list value "+JSON.stringify(e[a]))}else if(M(a),!(a in e)){if(t.noCreate)return;o||(e[a]={})}if(o)return e;e=e[a]}}},
91"matcher.js":function e(r,t,e){var n,o,a,c,u;e.export({default:function(){return l}}),e.link("./local_collection.js",{default:function(e){o=e}},0),e.link("./common.js",{compileDocumentSelector:function(e){a=e},hasOwn:function(e){c=e},nothingMatcher:function(e){u=e}},1);var f=(null===(n=Package["mongo-decimal"])||void 0===n?void 0:n.Decimal)||function(){function e(){}return e}(),l=function(){function e(e,r){this._paths={},this._hasGeoQuery=!1,this._hasWhere=!1,this._isSimple=!0,this._matchingDocument=void 0,this._selector=null,this._docMatcher=this._compileSelector(e),this._isUpdate=r}var r=e.prototype;return r.documentMatches=function(){function e(e){if(e!==Object(e))throw Error("documentMatches needs a document");return this._docMatcher(e)}return e}(),r.hasGeoQuery=function(){function e(){return this._hasGeoQuery}return e}(),r.hasWhere=function(){function e(){return this._hasWhere}return e}(),r.isSimple=function(){function e(){return this._isSimple}return e}(),r._compileSelector=function(){function e(e){if(e instanceof Function)return this._isSimple=!1,this._selector=e,this._recordPathUsed(""),function(r){return{result:!!e.call(r)}};if(o._selectorIsId(e))return this._selector={_id:e},this._recordPathUsed("_id"),function(r){return{result:i.equals(r._id,e)}};if(!e||c.call(e,"_id")&&!e._id)return this._isSimple=!1,u;if(Array.isArray(e)||i.isBinary(e)||"boolean"==typeof e)throw new Error("Invalid selector: "+e);return this._selector=i.clone(e),a(e,this,{isRoot:!0})}return e}(),r._getPaths=function(){function e(){return Object.keys(this._paths)}return e}(),r._recordPathUsed=function(){function e(e){this._paths[e]=!0}return e}(),e}();o._f={_type:function(e){return"number"==typeof e?1:"string"==typeof e?2:"boolean"==typeof e?8:Array.isArray(e)?4:null===e?10:e instanceof RegExp?11:"function"==typeof e?13:e instanceof Date?9:i.isBinary(e)?5:e instanceof s.ObjectID?7:e instanceof f?1:3},_equal:function(e,r){return i.equals(e,r,{keyOrderSensitive:!0})},_typeorder:function(e){return[-1,1,2,3,4,5,-1,6,7,8,0,9,-1,100,2,100,1,8,1][e]},_cmp:function(e,r){if(void 0===e)return void 0===r?0:-1;if(void 0===r)return 1;var t=o._f._type(e),n=o._f._type(r),i=o._f._typeorder(t),a=o._f._typeorder(n);if(i!==a)return i<a?-1:1;if(t!==n)throw Error("Missing type coercion logic in _cmp");if(7===t&&(t=n=2,e=e.toHexString(),r=r.toHexString()),9===t&&(t=n=1,e=e.getTime(),r=r.getTime()),1===t)return e instanceof f?e.minus(r).toNumber():e-r;if(2===n)return e<r?-1:e===r?0:1;if(3===t){var s=function(e){var r=[];return Object.keys(e).forEach((function(t){r.push(t,e[t])})),r};return o._f._cmp(s(e),s(r))}if(4===t)for(var c=0;;c++){if(c===e.length)return c===r.length?0:-1;if(c===r.length)return 1;var u=o._f._cmp(e[c],r[c]);if(0!==u)return u}if(5===t){if(e.length!==r.length)return e.length-r.length;for(var l=0;l<e.length;l++){if(e[l]<r[l])return-1;if(e[l]>r[l])return 1}return 0}if(8===t)return e?r?0:1:r?-1:0;if(10===t)return 0;if(11===t)throw Error("Sorting not supported on regular expression");if(13===t)throw Error("Sorting not supported on Javascript code");throw Error("Unknown type to sort")}}},
91"minimongo_common.js":function e(r,t,e){var n,i,o;e.link("./local_collection.js",{default:function(e){n=e}},0),e.link("./matcher.js",{default:function(e){i=e}},1),e.link("./sorter.js",{default:function(e){o=e}},2),b=n,w={LocalCollection:n,Matcher:i,Sorter:o}},
91"observe_handle.js":function e(r,t,e){e.export({default:function(){return n}});var n=function(){function e(){}return e}()},
91"sorter.js":function e(r,t,e){var n,i,o,a,s,c,u,f;e.link("@babel/runtime/helpers/typeof",{default:function(e){n=e}},0),e.export({default:function(){return l}}),e.link("./common.js",{ELEMENT_OPERATORS:function(e){i=e},equalityElementMatcher:function(e){o=e},expandArraysInBranches:function(e){a=e},hasOwn:function(e){s=e},isOperatorObject:function(e){c=e},makeLookupFunction:function(e){u=e},regexpElementMatcher:function(e){f=e}},0);var l=function(){function e(e){var r=this;this._sortSpecParts=[],this._sortFunction=null;var t=function(e,t){if(!e)throw Error("sort keys must be non-empty");if("$"===e.charAt(0))throw Error("unsupported sort key: "+e);r._sortSpecParts.push({ascending:t,lookup:u(e,{forSort:!0}),path:e})};if(e instanceof Array)e.forEach((function(e){"string"==typeof e?t(e,!0):t(e[0],"desc"!==e[1])}));else if("object"===n(e))Object.keys(e).forEach((function(r){t(r,e[r]>=0)}));else{if("function"!=typeof e)throw Error("Bad sort specification: "+JSON.stringify(e));this._sortFunction=e}if(!this._sortFunction){if(this.affectedByModifier){var i={};this._sortSpecParts.forEach((function(e){i[e.path]=1})),this._selectorForAffectedByModifier=new w.Matcher(i)}this._keyComparator=d(this._sortSpecParts.map((function(e,t){return r._keyFieldComparator(t)})))}}var r=e.prototype;return r.getComparator=function(){function e(e){if(this._sortSpecParts.length||!e||!e.distances)return this._getBaseComparator();var r=e.distances;return function(e,t){if(!r.has(e._id))throw Error("Missing distance for "+e._id);if(!r.has(t._id))throw Error("Missing distance for "+t._id);return r.get(e._id)-r.get(t._id)}}return e}(),r._compareKeys=function(){function e(e,r){if(e.length!==this._sortSpecParts.length||r.length!==this._sortSpecParts.length)throw Error("Key has wrong length");return this._keyComparator(e,r)}return e}(),r._generateKeysFromDoc=function(){function e(e,r){if(0===this._sortSpecParts.length)throw new Error("can't generate keys without a spec");var t=function(e){return e.join(",")+","},n=null,i=this._sortSpecParts.map((function(r){var i=a(r.lookup(e),!0);i.length||(i=[{value:void 0}]);var o=Object.create(null),c=!1;if(i.forEach((function(e){if(e.arrayIndices){c=!0;var r=t(e.arrayIndices);if(s.call(o,r))throw Error("duplicate path: "+r);if(o[r]=e.value,n&&!s.call(n,r))throw Error("cannot index parallel arrays")}else{if(i.length>1)throw Error("multiple branches but no array used?");o[""]=e.value}})),n){if(!s.call(o,"")&&Object.keys(n).length!==Object.keys(o).length)throw Error("cannot index parallel arrays!")}else c&&(n={},Object.keys(o).forEach((function(e){n[e]=!0})));return o}));if(n)Object.keys(n).forEach((function(e){var t=i.map((function(r){if(s.call(r,""))return r[""];if(!s.call(r,e))throw Error("missing path?");return r[e]}));r(t)}));else{var o=i.map((function(e){if(!s.call(e,""))throw Error("no value in sole key case?");return e[""]}));r(o)}}return e}(),r._getBaseComparator=function(){function e(){var e=this;return this._sortFunction?this._sortFunction:this._sortSpecParts.length?function(r,t){var n=e._getMinKeyFromDoc(r),i=e._getMinKeyFromDoc(t);return e._compareKeys(n,i)}:function(e,r){return 0}}return e}(),r._getMinKeyFromDoc=function(){function e(e){var r=this,t=null;return this._generateKeysFromDoc(e,(function(e){null!==t?r._compareKeys(e,t)<0&&(t=e):t=e})),t}return e}(),r._getPaths=function(){function e(){return this._sortSpecParts.map((function(e){return e.path}))}return e}(),r._keyFieldComparator=function(){function e(e){var r=!this._sortSpecParts[e].ascending;return function(t,n){var i=b._f._cmp(t[e],n[e]);return r?-i:i}}return e}(),e}();function d(e){return function(r,t){for(var n=0;n<e.length;++n){var i=e[n](r,t);if(0!==i)return i}return 0}}}}}}},{extensions:[".js",".json"]}),E=$("/node_modules/meteor/minimongo/minimongo_client.js");Package._define("minimongo",E,{LocalCollection:b,Minimongo:w,MinimongoTest:_,MinimongoError:g})}();
92
93Package._define("ddp-server");
94
95!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package.minimongo.LocalCollection,o=Package.minimongo.Minimongo,i=Package.check.check,a=Package.check.Match,c=Package.ejson.EJSON,l=Package["ddp-client"].DDP,s=Package.modules.meteorInstall,d=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,f=Package["ecmascript-runtime-client"].Symbol,h=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,m,v=s({node_modules:{meteor:{"allow-deny":{
95"allow-deny.js":function r(){var t=Object.prototype.hasOwnProperty,o=(m={CollectionPrototype:{}}).CollectionPrototype;o.allow=function(e){f(this,"allow",e)},o.deny=function(e){f(this,"deny",e)},o._defineMutationMethods=function(r){var n=this;if(r=r||{},n._restricted=!1,n._insecure=void 0,n._validators={insert:{allow:[],deny:[]},update:{allow:[],deny:[]},remove:{allow:[],deny:[]},upsert:{allow:[],deny:[]},fetch:[],fetchAllFields:!1},n._name&&(n._prefix="/"+n._name+"/",n._connection&&(n._connection===e.server||e.isClient))){var o={};["insert","update","remove"].forEach((function(c){var l=n._prefix+c;if(r.useExisting){var s=e.isClient?"_methodHandlers":"method_handlers";if(n._connection[s]&&"function"==typeof n._connection[s][l])return}o[l]=function(){i(arguments,[a.Any]);var r=Array.from(arguments);try{var o=null;if("insert"!==c||t.call(r[0],"_id")||(o=n._makeNewID()),this.isSimulation)return null!==o&&(r[0]._id=o),n._collection[c].apply(n._collection,r);if("insert"!==c&&h(r[0],c),n._restricted){if(0===n._validators[c].allow.length)throw new e.Error(403,"Access denied. No allow validators set on restricted collection for method '"+c+"'.");var l="_validated"+c.charAt(0).toUpperCase()+c.slice(1);return r.unshift(this.userId),"insert"===c&&r.push(o),n[l].apply(n,r)}if(n._isInsecure())return null!==o&&(r[0]._id=o),n._collection[c].apply(n._collection,r);throw new e.Error(403,"Access denied")}catch(s){throw"MongoError"===s.name||"BulkWriteError"===s.name||"MongoBulkWriteError"===s.name||"MinimongoError"===s.name?new e.Error(409,s.toString()):s}}})),n._connection.methods(o)}},o._updateFetch=function(e){var r=this;if(!r._validators.fetchAllFields)if(e){var t=Object.create(null),n=function(e){return e&&e.forEach((function(e){return t[e]=1}))};n(r._validators.fetch),n(e),r._validators.fetch=Object.keys(t)}else r._validators.fetchAllFields=!0,r._validators.fetch=null},o._isInsecure=function(){var e=this;return void 0===e._insecure?!!Package.insecure:e._insecure},o._validatedInsert=function(r,t,n){var o=this;if(o._validators.insert.deny.some((function(e){return e(r,u(e,t,n))})))throw new e.Error(403,"Access denied");if(o._validators.insert.allow.every((function(e){return!e(r,u(e,t,n))})))throw new e.Error(403,"Access denied");null!==n&&(t._id=n),o._collection.insert.call(o._collection,t)},o._validatedUpdate=function(r,o,a,c){var l=this;if(i(a,Object),c=Object.assign(Object.create(null),c),!n._selectorIsIdPerhapsAsObject(o))throw new Error("validated update should be of a single ID");if(c.upsert)throw new e.Error(403,"Access denied. Upserts not allowed in a restricted collection.");var u="Access denied. In a restricted collection you can only update documents, not replace them. Use a Mongo update operator, such as '$set'.",f=Object.keys(a),h={};if(0===f.length)throw new e.Error(403,u);f.forEach((function(r){var n=a[r];if("$"!==r.charAt(0))throw new e.Error(403,u);if(!t.call(s,r))throw new e.Error(403,"Access denied. Operator "+r+" not allowed in a restricted collection.");Object.keys(n).forEach((function(e){-1!==e.indexOf(".")&&(e=e.substring(0,e.indexOf("."))),h[e]=!0}))}));var _=Object.keys(h),m={transform:null};l._validators.fetchAllFields||(m.fields={},l._validators.fetch.forEach((function(e){m.fields[e]=1})));var v=l._collection.findOne(o,m);if(!v)return 0;if(l._validators.update.deny.some((function(e){var t=d(e,v);return e(r,t,_,a)})))throw new e.Error(403,"Access denied");if(l._validators.update.allow.every((function(e){var t=d(e,v);return!e(r,t,_,a)})))throw new e.Error(403,"Access denied");return c._forbidReplace=!0,l._collection.update.call(l._collection,o,a,c)};var s={$inc:1,$set:1,$unset:1,$addToSet:1,$pop:1,$pullAll:1,$pull:1,$pushAll:1,$push:1,$bit:1};function d(e,r){return e.transform?e.transform(r):r}function u(e,r,t){var n=r;return e.transform&&(n=c.clone(r),null!==t&&(n._id=t),n=e.transform(n)),n}function f(e,r,o){var i=/^(?:insert|update|remove|fetch|transform)$/;if(Object.keys(o).forEach((function(e){if(!i.test(e))throw new Error(r+": Invalid key: "+e)})),e._restricted=!0,["insert","update","remove"].forEach((function(i){if(t.call(o,i)){if(!(o[i]instanceof Function))throw new Error(r+": Value for `"+i+"` must be a function");void 0===o.transform?o[i].transform=e._transform:o[i].transform=n.wrapTransform(o.transform),e._validators[i][r].push(o[i])}})),o.update||o.remove||o.fetch){if(o.fetch&&!(o.fetch instanceof Array))throw new Error(r+": Value for `fetch` must be an array");e._updateFetch(o.fetch)}}function h(r,t){if(!n._selectorIsIdPerhapsAsObject(r))throw new e.Error(403,"Not permitted. Untrusted code may only "+t+" documents by ID.")}function _(){var e,r=(l._CurrentMethodInvocation||l._CurrentInvocation).get();return r&&r.isSimulation}o._validatedRemove=function(r,t){var n=this,o={transform:null};n._validators.fetchAllFields||(o.fields={}
95,n._validators.fetch.forEach((function(e){o.fields[e]=1})));var i=n._collection.findOne(t,o);if(!i)return 0;if(n._validators.remove.deny.some((function(e){return e(r,d(e,i))})))throw new e.Error(403,"Access denied");if(n._validators.remove.allow.every((function(e){return!e(r,d(e,i))})))throw new e.Error(403,"Access denied");return n._collection.remove.call(n._collection,t)},o._callMutatorMethod=function(){function r(r,t,n){var o;!e.isClient||n||_()||(n=function(t){t&&e._debug(r+" failed",t)}),("update"===r||"remove"===r)&&!_()&&h(t[0],r);var i=this._prefix+r;return this._connection.apply(i,t,{returnStubValue:!0},n)}return r}()}}}}},{extensions:[".js",".json"]});v("/node_modules/meteor/allow-deny/allow-deny.js"),Package._define("allow-deny",{AllowDeny:m})}();
96
97!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,n=Package.ejson.EJSON,r=Package["ecmascript-runtime-client"].Symbol,i=Package["ecmascript-runtime-client"].Map,a=Package["ecmascript-runtime-client"].Set,l=Package.modules.meteorInstall,s=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,g,f,u=l({node_modules:{meteor:{logging:{
97"logging.js":function e(t,o,e){var r,i,a,l;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/createForOfIteratorHelperLoose",{default:function(e){i=e}},1),e.link("@babel/runtime/helpers/typeof",{default:function(e){a=e}},2),e.export({Log:function(){return c}}),e.link("meteor/meteor",{Meteor:function(e){l=e}},0);var s=Object.prototype.hasOwnProperty;function c(){c.info.apply(c,arguments)}var f=0,u=[],p=0;c._intercept=function(e){f+=e},c._suppress=function(e){p+=e},c._intercepted=function(){var e=u;return u=[],f=0,e},c.outputFormat="json";var m={debug:"green",warn:"magenta",error:"red"},d="blue",v="object"===("undefined"==typeof process?"undefined":a(process))&&"win32"===process.platform,b=function(e){return v&&"string"==typeof e&&!e.endsWith("Bright")?e+"Bright":e},h=["time","timeInexact","level","file","line","program","originApp","satellite","stderr"],y=[].concat(h,["app","message"]),j=function(e){var t=c.format(e),o=e.level;if("undefined"!=typeof console&&console[o])console[o](t);else if("function"==typeof console.log.apply)console.log.apply(console,[t]);else if("function"==typeof Function.prototype.bind){var n;Function.prototype.bind.call(console.log,console).apply(console,[t])}};c._getCallerDetails=function(){var e,t=function(){var e,t;return(new Error).stack}(),o;if(!t)return{};for(var n=t.split("\n").slice(1),r=i(n),a;!(a=r()).done;){if((o=a.value).match(/^\s*(at eval \(eval)|(eval:)/))return{file:"eval"};if(!o.match(/packages\/(?:local-test[:_])?logging(?:\/|\.js)/))break}var l={},s=/(?:[@(]| at )([^(]+?):([0-9:]+)(?:\)|$)/.exec(o);return s?(l.line=s[2].split(":")[0],l.file=s[1].split("/").slice(-1)[0].split("?")[0],l):l},["debug","info","warn","error"].forEach((function(e){c[e]=function(t){if(p)p--;else{var o=!1;f&&(f--,o=!0);var i=t!==Object(t)||t instanceof RegExp||t instanceof Date?{message:new String(t).toString()}:t;if(h.forEach((function(e){if(i[e])throw new Error("Can't set '"+e+"' in log message")})),s.call(i,"message")&&"string"!=typeof i.message)throw new Error("The 'message' field in log objects must be a string");if(i.omitCallerDetails||(i=r(r({},c._getCallerDetails()),i)),i.time=new Date,i.level=e,"debug"!==e||!l.isProduction)if(o)u.push(n.stringify(i));else if(l.isServer)if("colored-text"===c.outputFormat)console.log(c.format(i,{color:!0}));else{if("json"!==c.outputFormat)throw new Error("Unknown logging output format: "+c.outputFormat);console.log(n.stringify(i))}else j(i)}}})),c.parse=function(e){var t=null;if(e&&e.startsWith("{"))try{t=n.parse(e)}catch(o){}return t&&t.time&&t.time instanceof Date?t:null},c.format=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=e=r({},e),i=o.time,a=o.timeInexact,l=o.level,s=void 0===l?"info":l,c=o.file,f=o.line,u=o.app,p=void 0===u?"":u,v=o.originApp,h=o.message,j=void 0===h?"":h,k=o.program,w=void 0===k?"":k,P=o.satellite,S=void 0===P?"":P,D=o.stderr,E=void 0===D?"":D;if(!(i instanceof Date))throw new Error("'time' must be a Date object");y.forEach((function(t){delete e[t]})),Object.keys(e).length>0&&(j&&(j+=" "),j+=n.stringify(e));var _=function(e){return e.toString().padStart(2,"0")},x=function(e){return e.toString().padStart(3,"0")},F=i.getFullYear().toString()+_(i.getMonth()+1)+_(i.getDate()),O=_(i.getHours())+":"+_(i.getMinutes())+":"+_(i.getSeconds())+"."+x(i.getMilliseconds()),C="("+-(new Date).getTimezoneOffset()/60+")",M="";p&&(M+=p),v&&v!==p&&(M+=" via "+v),M&&(M="["+M+"] ");var I=[];w&&I.push(w),c&&I.push(c),f&&I.push(f);var T=I.length?"("+I.join(":")+") ":"";S&&(T+="["+S+"]");var A=E?"(STDERR) ":"",B=[s.charAt(0).toUpperCase(),F,"-",O,C,a?"? ":" ",M,T,A].join("");return g.prettify(B,t.color&&b(t.metaColor||d))+g.prettify(j,t.color&&b(m[s]))},c.objFromText=function(e,t){return r({message:e,level:"info",time:new Date,timeInexact:!0},t)}},
97"logging_browser.js":function e(){(g={}).prettify=function(e,t){return e}}}}}},{extensions:[".js",".json"]}),p=u("/node_modules/meteor/logging/logging.js");u("/node_modules/meteor/logging/logging_browser.js"),Package._define("logging",p,{Log:f})}();
98
99!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,t=Package["allow-deny"].AllowDeny,r=Package.random.Random,i=Package.ejson.EJSON,c=Package.minimongo.LocalCollection,l=Package.minimongo.Minimongo,a=Package["ddp-client"].DDP,s=Package.tracker.Tracker,d=Package.tracker.Deps,u=Package["diff-sequence"].DiffSequence,f=Package["mongo-id"].MongoID,_=Package.check.check,h=Package.check.Match,g=Package.logging.Log,m=Package.modules.meteorInstall,p=Package.modules.meteorBabelHelpers,v=Package.promise.Promise,w=Package["ecmascript-runtime-client"].Symbol,b=Package["ecmascript-runtime-client"].Map,C=Package["ecmascript-runtime-client"].Set,O,I,y,k,j=m({node_modules:{meteor:{mongo:{
99"local_collection_driver.js":function e(n,o,e){e.export({LocalCollectionDriver:function(){return t}});var t=new(function(){function e(){this.noConnCollections=Object.create(null)}var n;return e.prototype.open=function(){function e(e,n){return e?n?(n._mongo_livedata_collections||(n._mongo_livedata_collections=Object.create(null)),r(e,n._mongo_livedata_collections)):r(e,this.noConnCollections):new c}return e}(),e}());function r(e,n){return e in n?n[e]:n[e]=new c(e)}},
99"collection.js":function n(o,l,n){(function(n){var l,s,d;function u(e,n){return e&&function(o,t){o?e(o):e(o,"function"==typeof n?n(t):t)}}function g(e){if(e.length&&(void 0===e[e.length-1]||e[e.length-1]instanceof Function))return e.pop()}n.link("@babel/runtime/helpers/slicedToArray",{default:function(e){l=e}},0),n.link("@babel/runtime/helpers/objectSpread2",{default:function(e){s=e}},1),n.link("./mongo_utils",{normalizeProjection:function(e){d=e}},0),(O={}).Collection=function(){function n(n,t){var i=this;if(n||null===n||(e._debug("Warning: creating anonymous collection. It will not be saved or synchronized over the network. (Pass null for the collection name to turn off this warning.)"),n=null),null!==n&&"string"!=typeof n)throw new Error("First argument to new Mongo.Collection must be a string or null");if(t&&t.methods&&(t={connection:t}),t&&t.manager&&!t.connection&&(t.connection=t.manager),"MONGO"===(t=s({connection:void 0,idGeneration:"STRING",transform:null,_driver:void 0,_preventAutopublish:!1},t)).idGeneration)this._makeNewID=function(){var e=n?a.randomStream("/collection/"+n):r.insecure;return new O.ObjectID(e.hexString(24))};else this._makeNewID=function(){var e;return(n?a.randomStream("/collection/"+n):r.insecure).id()};if(this._transform=c.wrapTransform(t.transform),n&&null!==t.connection?t.connection?this._connection=t.connection:e.isClient?this._connection=e.connection:this._connection=e.server:this._connection=null,!t._driver)if(n&&this._connection===e.server&&"undefined"!=typeof MongoInternals&&MongoInternals.defaultRemoteCollectionDriver)t._driver=MongoInternals.defaultRemoteCollectionDriver();else{var l,d=o("./local_collection_driver.js").LocalCollectionDriver;
99t._driver=d}if(this._collection=t._driver.open(n,this._connection),this._name=n,this._driver=t._driver,this._maybeSetUpReplication(n,t),!1!==t.defineMutationMethods)try{this._defineMutationMethods({useExisting:!0===t._suppressSameNameError})}catch(u){if(u.message==="A method named '/"+n+"/insert' is already defined")throw new Error('There is already a collection named "'+n+'"');throw u}Package.autopublish&&!t._preventAutopublish&&this._connection&&this._connection.publish&&this._connection.publish(null,(function(){return i.find()}),{is_auto:!0})}return n}(),Object.assign(O.Collection.prototype,{_maybeSetUpReplication:function(n,o){var t=o._suppressSameNameError,r=void 0!==t&&t,c=this,l;if(c._connection&&c._connection.registerStore&&!c._connection.registerStore(n,{beginUpdate:function(e,n){(e>1||n)&&c._collection.pauseObservers(),n&&c._collection.remove({})},update:function(n){var o=f.idParse(n.id),t=c._collection._docs.get(o);if(e.isClient)if("added"===n.msg&&t)n.msg="changed";else{if("removed"===n.msg&&!t)return;if("changed"===n.msg&&!t)for(y in n.msg="added",I=n.fields,p.sanitizeForInObject(I))void 0===(k=I[y])&&delete n.fields[y]}if("replace"!==n.msg)if("added"===n.msg){if(t)throw new Error("Expected not to find a document already present for an add");c._collection.insert(s({_id:o},n.fields))}else if("removed"===n.msg){if(!t)throw new Error("Expected to find a document already present for removed");c._collection.remove(o)}else{if("changed"!==n.msg)throw new Error("I don't know how to deal with this message");if(!t)throw new Error("Expected to find a document to change");var r=Object.keys(n.fields);if(r.length>0){var l={};r.forEach((function(e){var o=n.fields[e];i.equals(t[e],o)||("undefined"==typeof o?(l.$unset||(l.$unset={}),l.$unset[e]=1):(l.$set||(l.$set={}),l.$set[e]=o))})),Object.keys(l).length>0&&c._collection.update(o,l)}}else{var a=n.replace;a?t?c._collection.update(o,a):c._collection.insert(a):t&&c._collection.remove(o)}},endUpdate:function(){c._collection.resumeObservers()},saveOriginals:function(){c._collection.saveOriginals()},retrieveOriginals:function(){return c._collection.retrieveOriginals()},getDoc:function(e){return c.findOne(e)},_getCollection:function(){return c}})){var a='There is already a collection named "'+n+'"';if(!0!==r)throw new Error(a);console.warn?console.warn(a):console.log(a)}},_getFindSelector:function(e){return 0==e.length?{}:e[0]},_getFindOptions:function(e){var n,o,t=l(e||[],2)[1],r=d(t),i=this;return e.length<2?{transform:i._transform}:(_(r,h.Optional(h.ObjectIncluding({projection:h.Optional(h.OneOf(Object,void 0)),sort:h.Optional(h.OneOf(Object,Array,Function,void 0)),limit:h.Optional(h.OneOf(Number,void 0)),skip:h.Optional(h.OneOf(Number,void 0))}))),s({transform:i._transform},r))},find:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return this._collection.find(this._getFindSelector(n),this._getFindOptions(n))},findOne:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return this._collection.findOne(this._getFindSelector(n),this._getFindOptions(n))}}),Object.assign(O.Collection,{_publishCursor:function(e,n,o){var t=e.observeChanges({added:function(e,t){n.added(o,e,t)},changed:function(e,t){n.changed(o,e,t)},removed:function(e){n.removed(o,e)}},{nonMutatingCallbacks:!0});return n.onStop((function(){t.stop()})),t},_rewriteSelector:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.fallbackId;if(c._selectorIsId(e)&&(e={_id:e}),Array.isArray(e))throw new Error("Mongo selector can't be an array.");return!e||"_id"in e&&!e._id?{_id:o||r.id()}:e}}),Object.assign(O.Collection.prototype,{insert:function(e,n){if(!e)throw new Error("insert requires an argument");if("_id"in(e=Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)))){if(!e._id||!("string"==typeof e._id||e._id instanceof O.ObjectID))throw new Error("Meteor requires document _id fields to be non-empty strings or ObjectIDs")}else{var o=!0,t;if(this._isRemoteCollection())a._CurrentMethodInvocation.get()||(o=!1);o&&(e._id=this._makeNewID())}var r=function(n){return e._id?e._id:(e._id=n,n)},i=u(n,r),c;if(this._isRemoteCollection())return r(this._callMutatorMethod("insert",[e],i));try{var l;return r(this._collection.insert(e,i))}catch(s){if(n)return n(s),null;throw s}},update:function(e,n){for(var o=arguments.length,t=new Array(o>2?o-2:0),r=2;r<o;r++)t[r-2]=arguments[r];var i=g(t),c=s({},t[0]||null),l;if(c&&c.upsert)if(c.insertedId){if(!("string"==typeof c.insertedId||c.insertedId instanceof O.ObjectID))throw new Error("insertedId must be string or ObjectID");l=c.insertedId}else e&&e._id||(l=this._makeNewID(),c.generatedId=!0,c.insertedId=l);e=O.Collection._rewriteSelector(e,{fallbackId:l});var a=u(i);if(this._isRemoteCollection()){var d=[e,n,c];return this._callMutatorMethod("update",d,a)}try{return this._collection.update(e,n,c,a)}catch(f){if(i)return i(f),null;throw f}},remove:function(e,n){e=O.Collection._rewriteSelector(e);var o=u(n);if(this._isRemoteCollection())return this._callMutatorMethod("remove",[e],o);try{return this._collection.remove(e,o)}catch(t){if(n)return n(t),null;throw t}},_isRemoteCollection:function(){return this._connection&&this._connection!==e.server},upsert:function(e,n,o,t){return t||"function"!=typeof o||(t=o,o={}),this.update(e,n,s(s({},o),{},{_returnObject:!0,upsert:!0}),t)},_ensureIndex:function(e,o){var t=this,r;if(!t._collection._ensureIndex||!t._collection.createIndex)throw new Error("Can only call createIndex on server collections");t._collection.createIndex?t._collection.createIndex(e,o):(n.link("meteor/logging",{Log:function(e){r=e}},1),r.debug("_ensureIndex has been deprecated, please use the new 'createIndex' instead"+(null!=o&&o.name?", index name: "+o.name:", index: "+JSON.stringify(e))),t._collection._ensureIndex(e,o))},createIndex:function(e,n){var o=this;if(!o._collection.createIndex)throw new Error("Can only call createIndex on server collections");o._collection.createIndex(e,n)},_dropIndex:function(e){var n=this;if(!n._collection._dropIndex)throw new Error("Can only call _dropIndex on server collections");n._collection._dropIndex(e)},_dropCollection:function(){var e=this;if(!e._collection.dropCollection)throw new Error("Can only call _dropCollection on server collections");e._collection.dropCollection()},_createCappedCollection:function(e,n){var o=this;if(!o._collection._createCappedCollection)throw new Error("Can only call _createCappedCollection on server collections");o._collection._createCappedCollection(e,n)},rawCollection:function(){var e=this;if(!e._collection.rawCollection)throw new Error("Can only call rawCollection on server collections");return e._collection.rawCollection()},rawDatabase:function(){var e=this;if(!e._driver.mongo||!e._driver.mongo.db)throw new Error("Can only call rawDatabase on server collections");return e._driver.mongo.db}}),O.ObjectID=f.ObjectID,O.Cursor=c.Cursor,O.Collection.Cursor=O.Cursor,O.Collection.ObjectID=O.ObjectID,e.Collection=O.Collection,Object.assign(e.Collection.prototype,t.CollectionPrototype)}).call(this,n)},
99"mongo_utils.js":function e(n,o,e){var t=["fields","projection"],r,i;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.link("@babel/runtime/helpers/objectWithoutProperties",{default:function(e){i=e}},1),e.export({normalizeProjection:function(){return c}});var c=function(e){var n=e||{},o=n.fields,c=n.projection,l=i(n,t);return r(r({},l),c||o?{projection:o||c}:{})}}}}}},{extensions:[".js",".json"]});j("/node_modules/meteor/mongo/local_collection_driver.js"),j("/node_modules/meteor/mongo/collection.js"),Package._define("mongo",{Mongo:O})}();
100
101!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,o,a,s=r({node_modules:{meteor:{jquery:{
101"main.js":function e(t,n){var r=this;try{var i=t("jquery")}catch(o){i=t("./jquery.js")}n.$=n.jQuery=i,r.$=r.$||i,r.jQuery=r.jQuery||i},
vendor: 1,856 bytes, lines 101-115
101"jquery.js":function e(t,n,e){
102/*!
103 * jQuery JavaScript Library v1.12.1
104 * http://jquery.com/
105 *
106 * Includes Sizzle.js
107 * http://sizzlejs.com/
108 *
109 * Copyright jQuery Foundation and other contributors
110 * Released under the MIT license
111 * http://jquery.org/license
112 *
113 * Date: 2016-02-22T19:07Z
114 */
115!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(e,t){var n=[],r=e.document,i=n.slice,o=n.concat,a=n.push,s=n.indexOf,u={},l=u.toString,c=u.hasOwnProperty,f={},d="1.12.1",p=function(e,t){return new p.fn.init(e,t)},h=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,m=/^-ms-/,g=/-([\da-z])/gi,y=function(e,t){return t.toUpperCase()};function v(e){var t=!!e&&"length"in e&&e.length,n=p.type(e);return"function"!==n&&!p.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}p.fn=p.prototype={jquery:d,constructor:p,selector:"",length:0,toArray:function(){return i.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:i.call(this)},pushStack:function(e){var t=p.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return p.each(this,e)},map:function(e){return this.pushStack(p.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},p.extend=p.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{}
115,s++),"object"==typeof a||p.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],a!==(n=i[r])&&(l&&n&&(p.isPlainObject(n)||(t=p.isArray(n)))?(t?(t=!1,o=e&&p.isArray(e)?e:[]):o=e&&p.isPlainObject(e)?e:{},a[r]=p.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},p.extend({expando:"jQuery"+(d+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===p.type(e)},isArray:Array.isArray||function(e){return"array"===p.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!p.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==p.type(e)||e.nodeType||p.isWindow(e))return!1;try{if(e.constructor&&!c.call(e,"constructor")&&!c.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!f.ownFirst)for(t in e)return c.call(e,t);for(t in e);return void 0===t||c.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?u[l.call(e)]||"object":typeof e},globalEval:function(t){t&&p.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(m,"ms-").replace(g,y)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(v(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(h,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(v(Object(e))?p.merge(n,"string"==typeof e?[e]:e):a.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(s)return s.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!=n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,a=0,s=[];if(v(e))for(r=e.length;a<r;a++)null!=(i=t(e[a],a,n))&&s.push(i);else for(a in e)null!=(i=t(e[a],a,n))&&s.push(i);return o.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(o=e[t],t=e,e=o),p.isFunction(e))return n=i.call(arguments,2),r=function(){return e.apply(t||this,n.concat(i.call(arguments)))},r.guid=e.guid=e.guid||p.guid++,r},now:function(){return+new Date},support:f}),"function"==typeof Symbol&&(p.fn[Symbol.iterator]=n[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){u["[object "+t+"]"]=t.toLowerCase()}));var x=
116/*!
117 * Sizzle CSS Selector Engine v2.2.1
118 * http://sizzlejs.com/
119 *
120 * Copyright jQuery Foundation and other contributors
121 * Released under the MIT license
122 * http://jquery.org/license
123 *
124 * Date: 2015-10-17
125 */
126function(e){var t,n,r,i,o,a,s,u,l,c,f,d,p,h,m,g,y,v,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=oe(),k=oe(),N=oe(),S=function(e,t){return e===t&&(f=!0),0},j=1<<31,A={}.hasOwnProperty,D=[],L=D.pop,H=D.push,q=D.push,_=D.slice,M=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},F="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",O="[\\x20\\t\\r\\n\\f]",P="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",R="\\[[\\x20\\t\\r\\n\\f]*("+P+")(?:"+O+"*([*^$|!~]?=)"+O+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+P+"))|)"+O+"*\\]",B=":("+P+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+R+")*)|.*)\\)|)",W=new RegExp(O+"+","g"),$=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),I=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),X=new RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]","g"),U=new RegExp(B),V=new RegExp("^"+P+"$"),Q={ID:new RegExp("^#("+P+")"),CLASS:new RegExp("^\\.("+P+")"),TAG:new RegExp("^("+P+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+F+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,G=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=function(){d()};try{q.apply(D=_.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(Ce){q={apply:D.length?function(e,t){H.apply(e,_.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}
vendor: 6,651 bytes, line 126
126function ie(e,t,r,i){var o,s,l,c,f,h,y,v,T=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,m)){if(11!==C&&(h=K.exec(e)))if(o=h[1]){if(9===C){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(T&&(l=T.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(h[2])return q.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!N[e+" "]&&(!g||!g.test(e))){if(1!==C)T=t,v=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(ee,"\\$&"):t.setAttribute("id",c=b),s=(y=a(e)).length,f=V.test(c)?"#"+c:"[id='"+c+"']";s--;)y[s]=f+" "+me(y[s]);v=y.join(","),T=Z.test(e)&&pe(t.parentNode)||t}if(v)try{return q.apply(r,T.querySelectorAll(v)),r}catch(E){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace($,"$1"),t,r,i)}function oe(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function ae(e){return e[b]=!0,e}function se(e){var t=p.createElement("div");try{return!!e(t)}catch(Ce){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){var n;return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return ae((function(t){return t=+t,ae((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function pe(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(t in n=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ie.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!o(p),(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=se((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=G.test(p.getElementsByClassName),n.getById=se((function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length})),n.getById?(r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&m)return t.getElementsByClassName(e)},y=[],g=[],(n.qsa=G.test(p.querySelectorAll))&&(se((function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+F+")"),e.querySelectorAll("[id~="+b+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")})),se((function(e){var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),e.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=G.test(v=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se((function(e){n.disconnectedMatch=v.call(e,"div"),v.call(e,"[s!='']:x"),y.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),y=y.length&&new RegExp(y.join("|")),t=G.test(h.compareDocumentPosition),x=t||G.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&x(w,e)?-1:t===p||t.ownerDocument===w&&x(w,t)?1:c?M(c,e)-M(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:c?M(c,e)-M(c,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?le(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},p):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace(X,"='$1']"),n.matchesSelector&&m&&!N[t+" "]&&(!y||!y.test(t))&&(!g||!g.test(t)))try{var r=v.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(Ce){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),x(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!m):void 0;return void 0!==o?o:n.attributes||!m?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;
vendor: 4,517 bytes, line 126
126)e.splice(r[i],1)}return c=null,e},i=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=ie.selectors={cacheLength:50,createPseudo:ae,match:Q,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Q.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+O+"|$)"))&&E(e,(function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=ie.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=!1;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&v){for(x=(p=(l=(c=(f=(d=g)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[T,p,x];break}}else if(v&&(x=p=(l=(c=(f=(d=t)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)for(;(d=++p&&d&&d[m]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++x||(v&&((c=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[T,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=M(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ae((function(e){var t=[],n=[],r=s(e.replace($,"$1"));return r[b]?ae((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ae((function(e){return function(t){return ie(e,t).length>0}})),contains:ae((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}})),lang:ae((function(e){return V.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)}
vendor: 5,969 bytes, line 126
126,input:function(e){return Y.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de((function(){return[0]})),last:de((function(e,t){return[t-1]})),eq:de((function(e,t,n){return[n<0?n+t:n]})),even:de((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:de((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:de((function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e})),gt:de((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=ce(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=fe(t);function he(){}function me(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function ge(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=C++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[T,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if((s=(u=(l=t[b]||(t[b]={}))[t.uniqueID]||(l[t.uniqueID]={}))[r])&&s[0]===T&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function ye(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ve(e,t,n){for(var r=0,i=t.length;r<i;r++)ie(e,t[r],n);return n}function xe(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function be(e,t,n,r,i,o){return r&&!r[b]&&(r=be(r)),i&&!i[b]&&(i=be(i,o)),ae((function(o,a,s,u){var l,c,f,d=[],p=[],h=a.length,m=o||ve(t||"*",s.nodeType?[s]:s,[]),g=!e||!o&&t?m:xe(m,d,e,s,u),y=n?i||(o?e:h||r)?[]:a:g;if(n&&n(g,y,s,u),r)for(l=xe(y,p),r(l,[],s,u),c=l.length;c--;)(f=l[c])&&(y[p[c]]=!(g[p[c]]=f));if(o){if(i||e){if(i){for(l=[],c=y.length;c--;)(f=y[c])&&l.push(g[c]=f);i(null,y=[],l,u)}for(c=y.length;c--;)(f=y[c])&&(l=i?M(o,f):d[c])>-1&&(o[l]=!(a[l]=f))}}else y=xe(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):q.apply(a,y)}))}function we(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=ge((function(e){return e===t}),s,!0),f=ge((function(e){return M(t,e)>-1}),s,!0),d=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])d=[ge(ye(d),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o&&!r.relative[e[i].type];i++);return be(u>1&&ye(d),u>1&&me(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace($,"$1"),n,u<i&&we(e.slice(u,i)),i<o&&we(e=e.slice(i)),i<o&&me(e))}d.push(n)}return ye(d)}function Te(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,g,y=0,v="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===p||a||c);v!==k&&null!=(f=C[v]);v++){if(i&&f){for(h=0,a||f.ownerDocument===p||(d(f),s=!m);g=e[h++];)if(g(f,a||p,s)){u.push(f);break}c&&(T=E)}n&&((f=!g&&f)&&y--,o&&x.push(f))}if(y+=v,n&&v!==y){for(h=0;g=t[h++];)g(x,b,a,s);if(o){if(y>0)for(;v--;)x[v]||b[v]||(b[v]=L.call(u));b=xe(b)}q.apply(u,b),c&&!o&&b.length>0&&y+t.length>1&&ie.uniqueSort(u)}return c&&(T=E,l=w),x};return n?ae(o):o}return he.prototype=r.filters=r.pseudos,r.setFilters=new he,a=ie.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);for(s=e,u=[],l=r.preFilter;s;){for(a in n&&!(i=I.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=z.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace($," ")}),s=s.slice(n.length)),r.filter)!(i=Q[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?ie.error(e):k(e,u).slice(0)},s=ie.compile=function(e,t){var n,r=[],i=[],o=N[e+" "];if(!o){for(t||(t=a(e)),n=t.length;n--;)(o=we(t[n]))[b]?r.push(o):i.push(o);(o=N(e,Te(i,r))).selector=e}return o},u=ie.select=function(e,t,i,o){var u,l,c,f,d,p="function"==typeof e&&e,h=!o&&a(e=p.selector||e);if(i=i||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return i;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(u=Q.needsContext.test(e)?0:l.length;u--&&(c=l[u],!r.relative[f=c.type]);)if((d=r.find[f])&&(o=d(c.matches[0].replace(te,ne),Z.test(l[0].type)&&pe(t.parentNode)||t))){if(l.splice(u,1),!(e=o.length&&me(l)))return q.apply(i,o),i;break}}return(p||s(e,h))(o,t,!m,i,!t||Z.test(e)&&pe(t.parentNode)||t),i},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=se((function(e){return 1&e.compareDocumentPosition(p.createElement("div"))})),se((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||ue("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&se((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||ue("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),se((function(e){return null==e.getAttribute("disabled")}))||ue(F,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),ie}(e);p.find=x,p.expr=x.selectors,p.expr[":"]=p.expr.pseudos,p.uniqueSort=p.unique=x.uniqueSort,p.text=x.getText,p.isXMLDoc=x.isXML,p.contains=x.contains;var b=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&p(e).is(n))break;r.push(e)}return r},w=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},T=p.expr.match.needsContext,C=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;
126function k(e,t,n){if(p.isFunction(t))return p.grep(e,(function(e,r){return!!t.call(e,r,e)!==n}));if(t.nodeType)return p.grep(e,(function(e){return e===t!==n}));if("string"==typeof t){if(E.test(t))return p.filter(t,e,n);t=p.filter(t,e)}return p.grep(e,(function(e){return p.inArray(e,t)>-1!==n}))}p.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?p.find.matchesSelector(r,e)?[r]:[]:p.find.matches(e,p.grep(t,(function(e){return 1===e.nodeType})))},p.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(p(e).filter((function(){for(t=0;t<i;t++)if(p.contains(r[t],this))return!0})));for(t=0;t<i;t++)p.find(e,r[t],n);return(n=this.pushStack(i>1?p.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(k(this,e||[],!1))},not:function(e){return this.pushStack(k(this,e||[],!0))},is:function(e){return!!k(this,"string"==typeof e&&T.test(e)?p(e):e||[],!1).length}});var N,S=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,j;(p.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:S.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof p?t[0]:t,p.merge(this,p.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),C.test(i[1])&&p.isPlainObject(t))for(i in t)p.isFunction(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}if((o=r.getElementById(i[2]))&&o.parentNode){if(o.id!==i[2])return N.find(e);this.length=1,this[0]=o}return this.context=r,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):p.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(p):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),p.makeArray(e,this))}).prototype=p.fn,N=p(r);var A=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}p.fn.extend({has:function(e){var t,n=p(e,this),r=n.length;return this.filter((function(){for(t=0;t<r;t++)if(p.contains(this,n[t]))return!0}))},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=T.test(e)||"string"!=typeof e?p(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&p.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?p.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?p.inArray(this[0],p(e)):p.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),p.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b(e,"parentNode")},parentsUntil:function(e,t,n){return b(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return b(e,"nextSibling")},prevAll:function(e){return b(e,"previousSibling")},nextUntil:function(e,t,n){return b(e,"nextSibling",n)},prevUntil:function(e,t,n){return b(e,"previousSibling",n)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return p.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:p.merge([],e.childNodes)}},(function(e,t){p.fn[e]=function(n,r){var i=p.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=p.filter(r,i)),this.length>1&&(D[e]||(i=p.uniqueSort(i)),A.test(e)&&(i=i.reverse())),this.pushStack(i)}}));var H=/\S+/g,q,_;function M(e){var t={};return p.each(e.match(H)||[],(function(e,n){t[n]=!0})),t}function F(){r.addEventListener?(r.removeEventListener("DOMContentLoaded",O),e.removeEventListener("load",O)):(r.detachEvent("onreadystatechange",O),e.detachEvent("onload",O))}function O(){(r.addEventListener||"load"===e.event.type||"complete"===r.readyState)&&(F(),p.ready())}for(_ in p.Callbacks=function(e){e="string"==typeof e?M(e):p.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){p.each(n,(function(n,r){p.isFunction(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==p.type(r)&&t(r)}))}(arguments),n&&!t&&u()),this},remove:function(){return p.each(arguments,(function(e,t){for(var n;(n=p.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?p.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||l.disable(),this},locked:function(){return!!i}
126,fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},p.extend({Deferred:function(e){var t=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return p.Deferred((function(n){p.each(t,(function(t,o){var a=p.isFunction(e[t])&&e[t];i[o[1]]((function(){var e=a&&a.apply(this,arguments);e&&p.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)}))})),e=null})).promise()},promise:function(e){return null!=e?p.extend(e,r):r}},i={};return r.pipe=r.then,p.each(t,(function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add((function(){n=s}),t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=i.call(arguments),r=n.length,o=1!==r||e&&p.isFunction(e.promise)?r:0,a=1===o?e:p.Deferred(),s=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?i.call(arguments):r,n===u?a.notifyWith(t,n):--o||a.resolveWith(t,n)}},u,l,c;if(r>1)for(u=new Array(r),l=new Array(r),c=new Array(r);t<r;t++)n[t]&&p.isFunction(n[t].promise)?n[t].promise().progress(s(t,l,u)).done(s(t,c,n)).fail(a.reject):--o;return o||a.resolveWith(c,n),a.promise()}}),p.fn.ready=function(e){return p.ready.promise().done(e),this},p.extend({isReady:!1,readyWait:1,holdReady:function(e){e?p.readyWait++:p.ready(!0)},ready:function(e){(!0===e?--p.readyWait:p.isReady)||(p.isReady=!0,!0!==e&&--p.readyWait>0||(q.resolveWith(r,[p]),p.fn.triggerHandler&&(p(r).triggerHandler("ready"),p(r).off("ready"))))}}),p.ready.promise=function(t){if(!q)if(q=p.Deferred(),"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll)e.setTimeout(p.ready);else if(r.addEventListener)r.addEventListener("DOMContentLoaded",O),e.addEventListener("load",O);else{r.attachEvent("onreadystatechange",O),e.attachEvent("onload",O);var n=!1;try{n=null==e.frameElement&&r.documentElement}catch(i){}n&&n.doScroll&&function t(){if(!p.isReady){try{n.doScroll("left")}catch(i){return e.setTimeout(t,50)}F(),p.ready()}}()}return q.promise(t)},p.ready.promise(),p(f))break;f.ownFirst="0"===_,f.inlineBlockNeedsLayout=!1,p((function(){var e,t,n,i;(n=r.getElementsByTagName("body")[0])&&n.style&&(t=r.createElement("div"),(i=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",f.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(i))})),function(){var e=r.createElement("div");f.deleteExpando=!0;try{delete e.test}catch(t){f.deleteExpando=!1}e=null}();var P=function(e){var t=p.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},R=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,B=/([A-Z])/g,W;function $(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(B,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:R.test(n)?p.parseJSON(n):n)}catch(i){}p.data(e,t,n)}else n=void 0}return n}function I(e){var t;for(t in e)if(("data"!==t||!p.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function z(e,t,r,i){if(P(e)){var o,a,s=p.expando,u=e.nodeType,l=u?p.cache:e,c=u?e[s]:e[s]&&s;if(c&&l[c]&&(i||l[c].data)||void 0!==r||"string"!=typeof t)return c||(c=u?e[s]=n.pop()||p.guid++:s),l[c]||(l[c]=u?{}:{toJSON:p.noop}),"object"!=typeof t&&"function"!=typeof t||(i?l[c]=p.extend(l[c],t):l[c].data=p.extend(l[c].data,t)),a=l[c],i||(a.data||(a.data={}),a=a.data),void 0!==r&&(a[p.camelCase(t)]=r),"string"==typeof t?null==(o=a[t])&&(o=a[p.camelCase(t)]):o=a,o}}
126function X(e,t,n){if(P(e)){var r,i,o=e.nodeType,a=o?p.cache:e,s=o?e[p.expando]:p.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=p.isArray(t)?t.concat(p.map(t,p.camelCase)):t in r||(t=p.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!I(r):!p.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?p.cleanData([e],!0):f.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}p.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?p.cache[e[p.expando]]:e[p.expando])&&!I(e)},data:function(e,t,n){return z(e,t,n)},removeData:function(e,t){return X(e,t)},_data:function(e,t,n){return z(e,t,n,!0)},_removeData:function(e,t){return X(e,t,!0)}}),p.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=p.data(o),1===o.nodeType&&!p._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&$(o,r=p.camelCase(r.slice(5)),i[r]);p._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each((function(){p.data(this,e)})):arguments.length>1?this.each((function(){p.data(this,e,t)})):o?$(o,e,p.data(o,e)):void 0},removeData:function(e){return this.each((function(){p.removeData(this,e)}))}}),p.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=p._data(e,t),n&&(!r||p.isArray(n)?r=p._data(e,t,p.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=p.queue(e,t),r=n.length,i=n.shift(),o=p._queueHooks(e,t),a=function(){p.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return p._data(e,n)||p._data(e,n,{empty:p.Callbacks("once memory").add((function(){p._removeData(e,t+"queue"),p._removeData(e,n)}))})}}),p.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?p.queue(this[0],e):void 0===t?this:this.each((function(){var n=p.queue(this,e,t);p._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&p.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){p.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=p.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=p._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),f.shrinkWrapBlocks=function(){return null!=W?W:(W=!1,(t=r.getElementsByTagName("body")[0])&&t.style?(e=r.createElement("div"),(n=r.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",t.appendChild(n).appendChild(e),"undefined"!=typeof e.style.zoom&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(r.createElement("div")).style.width="5px",W=3!==e.offsetWidth),t.removeChild(n),W):void 0);var e,t,n};var U=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,V=new RegExp("^(?:([+-])=|)("+U+")([a-z%]*)$","i"),Q=["Top","Right","Bottom","Left"],Y=function(e,t){return e=t||e,"none"===p.css(e,"display")||!p.contains(e.ownerDocument,e)};function J(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return p.css(e,t,"")},u=s(),l=n&&n[3]||(p.cssNumber[t]?"":"px"),c=(p.cssNumber[t]||"px"!==l&&+u)&&V.exec(p.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do{c/=o=o||".5",p.style(e,t,c+l)}while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var G=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===p.type(n))for(s in i=!0,n)G(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,p.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(p(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},K=/^(?:checkbox|radio)$/i,Z=/<([\w:-]+)/,ee=/^$|\/(?:java|ecma)script/i,te=/^\s+/,ne="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video",re,ie,oe;function ae(e){var t=ne.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}re=r.createElement("div"),ie=r.createDocumentFragment(),oe=r.createElement("input"),re.innerHTML="  <link/><table></table><a href='/a'>a</a>
126<input type='checkbox'/>",f.leadingWhitespace=3===re.firstChild.nodeType,f.tbody=!re.getElementsByTagName("tbody").length,f.htmlSerialize=!!re.getElementsByTagName("link").length,f.html5Clone="<:nav></:nav>"!==r.createElement("nav").cloneNode(!0).outerHTML,oe.type="checkbox",oe.checked=!0,ie.appendChild(oe),f.appendChecked=oe.checked,re.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!re.cloneNode(!0).lastChild.defaultValue,ie.appendChild(re),(oe=r.createElement("input")).setAttribute("type","radio"),oe.setAttribute("checked","checked"),oe.setAttribute("name","t"),re.appendChild(oe),f.checkClone=re.cloneNode(!0).cloneNode(!0).lastChild.checked,f.noCloneEvent=!!re.addEventListener,re[p.expando]=1,f.attributes=!re.getAttribute(p.expando);var se={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:f.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};function ue(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||p.nodeName(r,t)?o.push(r):p.merge(o,ue(r,t));return void 0===t||t&&p.nodeName(e,t)?p.merge([e],o):o}function le(e,t){for(var n,r=0;null!=(n=e[r]);r++)p._data(n,"globalEval",!t||p._data(t[r],"globalEval"))}se.optgroup=se.option,se.tbody=se.tfoot=se.colgroup=se.caption=se.thead,se.th=se.td;var ce=/<|&#?\w+;/,fe=/<tbody/i;function de(e){K.test(e.type)&&(e.defaultChecked=e.checked)}function pe(e,t,n,r,i){for(var o,a,s,u,l,c,d,h=e.length,m=ae(t),g=[],y=0;y<h;y++)if((a=e[y])||0===a)if("object"===p.type(a))p.merge(g,a.nodeType?[a]:a);else if(ce.test(a)){for(u=u||m.appendChild(t.createElement("div")),l=(Z.exec(a)||["",""])[1].toLowerCase(),d=se[l]||se._default,u.innerHTML=d[1]+p.htmlPrefilter(a)+d[2],o=d[0];o--;)u=u.lastChild;if(!f.leadingWhitespace&&te.test(a)&&g.push(t.createTextNode(te.exec(a)[0])),!f.tbody)for(o=(a="table"!==l||fe.test(a)?"<table>"!==d[1]||fe.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)p.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(p.merge(g,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=m.lastChild}else g.push(t.createTextNode(a));for(u&&m.removeChild(u),f.appendChecked||p.grep(ue(g,"input"),de),y=0;a=g[y++];)if(r&&p.inArray(a,r)>-1)i&&i.push(a);else if(s=p.contains(a.ownerDocument,a),u=ue(m.appendChild(a),"script"),s&&le(u),n)for(o=0;a=u[o++];)ee.test(a.type||"")&&n.push(a);return u=null,m}!function(){var t,n,i=r.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(f[t]=n in e)||(i.setAttribute(n,"t"),f[t]=!1===i.attributes[n].expando);i=null}();var he=/^(?:input|select|textarea)$/i,me=/^key/,ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ye=/^(?:focusinfocus|focusoutblur)$/,ve=/^([^.]*)(?:\.(.+)|)/;function xe(){return!0}function be(){return!1}function we(){try{return r.activeElement}catch(e){}}function Te(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Te(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=be;else if(!i)return e;return 1===o&&(a=i,i=function(e){return p().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=p.guid++)),e.each((function(){p.event.add(this,t,i,r,n)}))}p.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,m,g,y=p._data(e);if(y){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=p.guid++),(a=y.events)||(a=y.events={}),(c=y.handle)||(c=y.handle=function(e){return"undefined"==typeof p||e&&p.event.triggered===e.type?void 0:p.event.dispatch.apply(c.elem,arguments)},c.elem=e),s=(t=(t||"").match(H)||[""]).length;s--;)h=g=(o=ve.exec(t[s])||[])[1],m=(o[2]||"").split(".").sort(),h&&(l=p.event.special[h]||{},h=(i?l.delegateType:l.bindType)||h,l=p.event.special[h]||{},f=p.extend({type:h,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&p.expr.match.needsContext.test(i),namespace:m.join(".")}
126,u),(d=a[h])||((d=a[h]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,m,c)||(e.addEventListener?e.addEventListener(h,c,!1):e.attachEvent&&e.attachEvent("on"+h,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),p.event.global[h]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,h,m,g,y=p.hasData(e)&&p._data(e);if(y&&(c=y.events)){for(l=(t=(t||"").match(H)||[""]).length;l--;)if(h=g=(s=ve.exec(t[l])||[])[1],m=(s[2]||"").split(".").sort(),h){for(f=p.event.special[h]||{},d=c[h=(r?f.delegateType:f.bindType)||h]||[],s=s[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,m,y.handle)||p.removeEvent(e,h,y.handle),delete c[h])}else for(h in c)p.event.remove(e,h+t[l],n,r,!0);p.isEmptyObject(c)&&(delete y.handle,p._removeData(e,"events"))}},trigger:function(t,n,i,o){var a,s,u,l,f,d,h,m=[i||r],g=c.call(t,"type")?t.type:t,y=c.call(t,"namespace")?t.namespace.split("."):[];if(u=d=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!ye.test(g+p.event.triggered)&&(g.indexOf(".")>-1&&(y=g.split("."),g=y.shift(),y.sort()),s=g.indexOf(":")<0&&"on"+g,(t=t[p.expando]?t:new p.Event(g,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:p.makeArray(n,[t]),f=p.event.special[g]||{},o||!f.trigger||!1!==f.trigger.apply(i,n))){if(!o&&!f.noBubble&&!p.isWindow(i)){for(l=f.delegateType||g,ye.test(l+g)||(u=u.parentNode);u;u=u.parentNode)m.push(u),d=u;d===(i.ownerDocument||r)&&m.push(d.defaultView||d.parentWindow||e)}for(h=0;(u=m[h++])&&!t.isPropagationStopped();)t.type=h>1?l:f.bindType||g,(a=(p._data(u,"events")||{})[t.type]&&p._data(u,"handle"))&&a.apply(u,n),(a=s&&u[s])&&a.apply&&P(u)&&(t.result=a.apply(u,n),!1===t.result&&t.preventDefault());if(t.type=g,!o&&!t.isDefaultPrevented()&&(!f._default||!1===f._default.apply(m.pop(),n))&&P(i)&&s&&i[g]&&!p.isWindow(i)){(d=i[s])&&(i[s]=null),p.event.triggered=g;try{i[g]()}catch(v){}p.event.triggered=void 0,d&&(i[s]=d)}return t.result}},dispatch:function(e){e=p.event.fix(e);var t,n,r,o,a,s=[],u=i.call(arguments),l=(p._data(this,"events")||{})[e.type]||[],c=p.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(s=p.event.handlers.call(this,e,l),t=0;(o=s[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(a=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(a.namespace)||(e.handleObj=a,e.data=a.data,void 0!==(r=((p.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)void 0===r[i=(o=t[n]).selector+" "]&&(r[i]=o.needsContext?p(i,this).index(u)>-1:p.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[p.expando])return e;var t,n,i,o=e.type,a=e,s=this.fixHooks[o];for(s||(this.fixHooks[o]=s=ge.test(o)?this.mouseHooks:me.test(o)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,e=new p.Event(a),t=i.length;t--;)e[n=i[t]]=a[n];return e.target||(e.target=a.srcElement||r),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{}
vendor: 2,542 bytes, line 126
126,keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,i,o,a=t.button,s=t.fromElement;return null==e.pageX&&null!=t.clientX&&(o=(i=e.target.ownerDocument||r).documentElement,n=i.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&s&&(e.relatedTarget=s===e.target?t.toElement:s),e.which||void 0===a||(e.which=1&a?1:2&a?3:4&a?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==we()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===we()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(p.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return p.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=p.extend(new p.Event,n,{type:e,isSimulated:!0});p.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},p.removeEvent=r.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},p.Event=function(e,t){if(!(this instanceof p.Event))return new p.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?xe:be):this.type=e,t&&p.extend(this,t),this.timeStamp=e&&e.timeStamp||p.now(),this[p.expando]=!0},p.Event.prototype={constructor:p.Event,isDefaultPrevented:be,isPropagationStopped:be,isImmediatePropagationStopped:be,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=xe,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=xe,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=xe,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}}
126,p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){p.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||p.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),f.submit||(p.event.special.submit={setup:function(){if(p.nodeName(this,"form"))return!1;p.event.add(this,"click._submit keypress._submit",(function(e){var t=e.target,n=p.nodeName(t,"input")||p.nodeName(t,"button")?p.prop(t,"form"):void 0;n&&!p._data(n,"submit")&&(p.event.add(n,"submit._submit",(function(e){e._submitBubble=!0})),p._data(n,"submit",!0))}))},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&p.event.simulate("submit",this.parentNode,e))},teardown:function(){if(p.nodeName(this,"form"))return!1;p.event.remove(this,"._submit")}}),f.change||(p.event.special.change={setup:function(){if(he.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(p.event.add(this,"propertychange._change",(function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)})),p.event.add(this,"click._change",(function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),p.event.simulate("change",this,e)}))),!1;p.event.add(this,"beforeactivate._change",(function(e){var t=e.target;he.test(t.nodeName)&&!p._data(t,"change")&&(p.event.add(t,"change._change",(function(e){!this.parentNode||e.isSimulated||e.isTrigger||p.event.simulate("change",this.parentNode,e)})),p._data(t,"change",!0))}))},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return p.event.remove(this,"._change"),!he.test(this.nodeName)}}),f.focusin||p.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){p.event.simulate(t,e.target,p.event.fix(e))};p.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=p._data(r,t);i||r.addEventListener(e,n,!0),p._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=p._data(r,t)-1;i?p._data(r,t,i):(r.removeEventListener(e,n,!0),p._removeData(r,t))}}})),p.fn.extend({on:function(e,t,n,r){return Te(this,e,t,n,r)},one:function(e,t,n,r){return Te(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,p(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=be),this.each((function(){p.event.remove(this,e,n,t)}))},trigger:function(e,t){return this.each((function(){p.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return p.event.trigger(e,t,n,!0)}});var Ce=/ jQuery\d+="(?:null|\d+)"/g,Ee=new RegExp("<(?:"+ne+")[\\s/>]","i"),ke=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ne=/<script|<style|<link/i,Se=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^true\/(.*)/,Ae=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,De,Le=ae(r).appendChild(r.createElement("div"));function He(e,t){return p.nodeName(e,"table")&&p.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function qe(e){return e.type=(null!==p.find.attr(e,"type"))+"/"+e.type,e}function _e(e){var t=je.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Me(e,t){if(1===t.nodeType&&p.hasData(e)){var n,r,i,o=p._data(e),a=p._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)p.event.add(t,n,s[n][r]);a.data&&(a.data=p.extend({},a.data))}}function Fe(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!f.noCloneEvent&&t[p.expando]){for(r in(i=p._data(t)).events)p.removeEvent(t,r,i.handle);t.removeAttribute(p.expando)}"script"===n&&t.text!==e.text?(qe(t).text=e.text,_e(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),f.html5Clone&&e.innerHTML&&!p.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&K.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function Oe(e,t,n,r){t=o.apply([],t);var i,a,s,u,l,c,d=0,h=e.length,m=h-1,g=t[0],y=p.isFunction(g);if(y||h>1&&"string"==typeof g&&!f.checkClone&&Se.test(g))return e.each((function(i){var o=e.eq(i);y&&(t[0]=g.call(this,i,o.html())),Oe(o,t,n,r)}));if(h&&(i=(c=pe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===c.childNodes.length&&(c=i),i||r)){for(s=(u=p.map(ue(c,"script"),qe)).length;d<h;
126d++)a=c,d!==m&&(a=p.clone(a,!0,!0),s&&p.merge(u,ue(a,"script"))),n.call(e[d],a,d);if(s)for(l=u[u.length-1].ownerDocument,p.map(u,_e),d=0;d<s;d++)a=u[d],ee.test(a.type||"")&&!p._data(a,"globalEval")&&p.contains(l,a)&&(a.src?p._evalUrl&&p._evalUrl(a.src):p.globalEval((a.text||a.textContent||a.innerHTML||"").replace(Ae,"")));c=i=null}return e}function Pe(e,t,n){for(var r,i=t?p.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||p.cleanData(ue(r)),r.parentNode&&(n&&p.contains(r.ownerDocument,r)&&le(ue(r,"script")),r.parentNode.removeChild(r));return e}p.extend({htmlPrefilter:function(e){return e.replace(ke,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=p.contains(e.ownerDocument,e);if(f.html5Clone||p.isXMLDoc(e)||!Ee.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Le.innerHTML=e.outerHTML,Le.removeChild(o=Le.firstChild)),!(f.noCloneEvent&&f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||p.isXMLDoc(e)))for(r=ue(o),s=ue(e),a=0;null!=(i=s[a]);++a)r[a]&&Fe(i,r[a]);if(t)if(n)for(s=s||ue(e),r=r||ue(o),a=0;null!=(i=s[a]);a++)Me(i,r[a]);else Me(e,o);return(r=ue(o,"script")).length>0&&le(r,!u&&ue(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var r,i,o,a,s=0,u=p.expando,l=p.cache,c=f.attributes,d=p.event.special;null!=(r=e[s]);s++)if((t||P(r))&&(a=(o=r[u])&&l[o])){if(a.events)for(i in a.events)d[i]?p.event.remove(r,i):p.removeEvent(r,i,a.handle);l[o]&&(delete l[o],c||"undefined"==typeof r.removeAttribute?r[u]=void 0:r.removeAttribute(u),n.push(o))}}}),p.fn.extend({domManip:Oe,detach:function(e){return Pe(this,e,!0)},remove:function(e){return Pe(this,e)},text:function(e){return G(this,(function(e){return void 0===e?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(e))}),null,e,arguments.length)},append:function(){return Oe(this,arguments,(function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return Oe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Oe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&p.cleanData(ue(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&p.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return p.clone(this,e,t)}))},html:function(e){return G(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ce,""):void 0;if("string"==typeof e&&!Ne.test(e)&&(f.htmlSerialize||!Ee.test(e))&&(f.leadingWhitespace||!te.test(e))&&!se[(Z.exec(e)||["",""])[1].toLowerCase()]){e=p.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(p.cleanData(ue(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Oe(this,arguments,(function(t){var n=this.parentNode;p.inArray(this,e)<0&&(p.cleanData(ue(this)),n&&n.replaceChild(t,this))}),e)}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){p.fn[e]=function(e){for(var n,r=0,i=[],o=p(e),s=o.length-1;r<=s;r++)n=r===s?this:this.clone(!0),p(o[r])[t](n),a.apply(i,n.get());return this.pushStack(i)}}));var Re,Be={HTML:"block",BODY:"block"};function We(e,t){var n=p(t.createElement(e)).appendTo(t.body),r=p.css(n[0],"display");return n.detach(),r}function $e(e){var t=r,n=Be[e];return n||("none"!==(n=We(e,t))&&n||((t=((Re=(Re||p("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement))[0].contentWindow||Re[0].contentDocument).document).write(),t.close(),n=We(e,t),Re.detach()),Be[e]=n),n}var Ie=/^margin/,ze=new RegExp("^("+U+")(?!px)[a-z%]+$","i"),Xe=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i},Ue=r.documentElement;!function(){var t,n,i,o,a,s,u=r.createElement("div"),l=r.createElement("div");function c(){var c,f,d=r.documentElement;d.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=i=s=!1,n=a=!0,e.getComputedStyle&&(f=e.getComputedStyle(l),t="1%"!==(f||{}).top,s="2px"===(f||{}).marginLeft,i="4px"===(f||{width:"4px"}).width,l.style.marginRight="50%",n="4px"===(f||{marginRight:"4px"}).marginRight,(c=l.appendChild(r.createElement("div"))).style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",c.style.marginRight=c.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(c)||{}).marginRight),l.removeChild(c)),l.style.display="none",(o=0===l.getClientRects().length)&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(c=l.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===c[0].offsetHeight)&&(c[0].style.display="",c[1].style.display="none",o=0===c[0].offsetHeight)),d.removeChild(u)}l.style&&(l.style.cssText="float:left;opacity:.5",f.opacity="0.5"===l.style.opacity,f.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===l.style.backgroundClip,(u=r.createElement("div")).style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),f.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,p.extend(f,{reliableHiddenOffsets:function(){return null==t&&c(),o},boxSizingReliable:function(){return null==t&&c(),i},pixelMarginRight:function(){return null==t&&c(),n},pixelPosition:function(){return null==t&&c(),t},reliableMarginRight:function(){return null==t&&c(),a},reliableMarginLeft:function(){return null==t&&c(),s}}))}();var Ve,Qe,Ye=/^(top|right|bottom|left)$/;function Je(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}e.getComputedStyle?(Ve=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Qe=function(e,t,n){var r,i,o,a,s=e.style;return""!==(a=(n=n||Ve(e))?n.getPropertyValue(t)||n[t]:void 0)&&void 0!==a||p.contains(e.ownerDocument,e)||(a=p.style(e,t)),n&&!f.pixelMarginRight()&&ze.test(a)&&Ie.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):Ue.currentStyle&&(Ve=function(e){return e.currentStyle},Qe=function(e,t,n){var r,i,o,a,s=e.style;return null==(a=(n=n||Ve(e))?n[t]:void 0)&&s&&s[t]&&(a=s[t]),ze.test(a)&&!Ye.test(t)&&(r=s.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left
126=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var Ge=/alpha\([^)]*\)/i,Ke=/opacity\s*=\s*([^)]*)/i,Ze=/^(none|table(?!-c[ea]).+)/,et=new RegExp("^("+U+")(.*)$","i"),tt={position:"absolute",visibility:"hidden",display:"block"},nt={letterSpacing:"0",fontWeight:"400"},rt=["Webkit","O","Moz","ms"],it=r.createElement("div").style;function ot(e){if(e in it)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=rt.length;n--;)if((e=rt[n]+t)in it)return e}function at(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=p._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Y(r)&&(o[a]=p._data(r,"olddisplay",$e(r.nodeName)))):(i=Y(r),(n&&"none"!==n||!i)&&p._data(r,"olddisplay",i?n:p.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function st(e,t,n){var r=et.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function ut(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=p.css(e,n+Q[o],!0,i)),r?("content"===n&&(a-=p.css(e,"padding"+Q[o],!0,i)),"margin"!==n&&(a-=p.css(e,"border"+Q[o]+"Width",!0,i))):(a+=p.css(e,"padding"+Q[o],!0,i),"padding"!==n&&(a+=p.css(e,"border"+Q[o]+"Width",!0,i)));return a}function lt(t,n,i){var o=!0,a="width"===n?t.offsetWidth:t.offsetHeight,s=Ve(t),u=f.boxSizing&&"border-box"===p.css(t,"boxSizing",!1,s);if(r.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(a=Math.round(100*t.getBoundingClientRect()[n])),a<=0||null==a){if(((a=Qe(t,n,s))<0||null==a)&&(a=t.style[n]),ze.test(a))return a;o=u&&(f.boxSizingReliable()||a===t.style[n]),a=parseFloat(a)||0}return a+ut(t,n,i||(u?"border":"content"),o,s)+"px"}function ct(e,t,n,r,i){return new ct.prototype.init(e,t,n,r,i)}p.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Qe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:f.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=p.camelCase(t),u=e.style;if(t=p.cssProps[s]||(p.cssProps[s]=ot(s)||s),a=p.cssHooks[t]||p.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(!("string"===(o=typeof n)&&(i=V.exec(n))&&i[1]&&(n=J(e,t,i),o="number"),null==n||n!=n||("number"===o&&(n+=i&&i[3]||(p.cssNumber[s]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=p.camelCase(t);return t=p.cssProps[s]||(p.cssProps[s]=ot(s)||s),(a=p.cssHooks[t]||p.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Qe(e,t,r)),"normal"===o&&t in nt&&(o=nt[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),p.each(["height","width"],(function(e,t){p.cssHooks[t]={get:function(e,n,r){if(n)return Ze.test(p.css(e,"display"))&&0===e.offsetWidth?Xe(e,tt,(function(){return lt(e,t,r)})):lt(e,t,r)},set:function(e,n,r){var i=r&&Ve(e);return st(e,n,r?ut(e,t,r,f.boxSizing&&"border-box"===p.css(e,"boxSizing",!1,i),i):0)}}})),f.opacity||(p.cssHooks.opacity={get:function(e,t){return Ke.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=p.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===p.trim(o.replace(Ge,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=Ge.test(o)?o.replace(Ge,i):o+" "+i)}}),p.cssHooks.marginRight=Je(f.reliableMarginRight,(function(e,t){if(t)return Xe(e,{display:"inline-block"},Qe,[e,"marginRight"])})),p.cssHooks.marginLeft=Je(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Qe(e,"marginLeft"))||(p.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-Xe(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})):0))+"px"})),p.each({margin:"",padding:"",border:"Width"},(function(e,t){p.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Q[r]+t]=o[r]||o[r-2]||o[0];return i}},Ie.test(e)||(p.cssHooks[e+t].set=st)})),p.fn.extend({css:function(e,t){return G(this,(function(e,t,n){var r,i,o={},a=0;if(p.isArray(t)){for(r=Ve(e),i=t.length;a<i;a++)o[t[a]]=p.css(e,t[a],!1,r);return o}return void 0!==n?p.style(e,t,n):p.css(e,t)}),e,t,arguments.length>1)},show:function(){return at(this,!0)},hide:function(){return at(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){Y(this)?p(this).show():p(this).hide()}))}}),p.Tween=ct,ct.prototype={constructor:ct,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||p.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(p.cssNumber[n]?"":"px")},cur:function(){var e=ct.propHooks[this.prop];return e&&e.get?e.get(this):ct.propHooks._default.get(this)},run:function(e){var t,n=ct.propHooks[this.prop];return this.options.duration?this.pos=t=p.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ct.propHooks._default.set(this),this}},ct.prototype.init.prototype=ct.prototype,ct.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=p.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){p.fx.step[e.prop]?p.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[p.cssProps[e.prop]]&&!p.cssHooks[e.prop]?e.elem[e.prop]=e.now:p.style(e.elem,e.prop,e.now+e.unit)}}},ct.propHooks.scrollTop=ct.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},p.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},p.fx=ct.prototype.init,p.fx.step={};var ft,dt,pt=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function mt(){return e.setTimeout((function(){ft=void 0})),ft=p.now()}function gt(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Q[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function yt(e,t,n){for(var r,i=(bt.tweeners[t]||[]).concat(bt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function vt(e,t,n){var r,i,o,a,s,u,l,c,d=this,h={},m=e.style,g=e.nodeType&&Y(e),y=p._data(e,"fxshow");for(r in n.queue||(null==(s=p._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,d.always((function(){d.always((function(){s.unqueued--,p.queue(e,"fx").length||s.empty.fire()}))}))),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[m.overflow,m.overflowX,m.overflowY],"inline"===(c="none"===(l=p.css(e,"display"))?p._data(e,"olddisplay")||$e(e.nodeName):l)&&"none"===p.css(e,"float")&&(f.inlineBlockNeedsLayout&&"inline"!==$e(e.nodeName)?m.zoom=1:m.display="inline-block")),n.overflow&&(m.overflow="hidden",f.shrinkWrapBlocks()||d.always((function(){m.overflow=n.overflow[0],m.overflowX=n.overflow[1],m.overflowY=n.overflow[2]}))),t)if(i=t[r],pt.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}h[r]=y&&y[r]||p.style(e,r)}else l=void 0;if(p.isEmptyObject(h))"inline"===("none"===l?$e(e.nodeName):l)&&(m.display=l);else for(r in y?"hidden"in y&&(g=y.hidden):y=p._data(e,"fxshow",{}),o&&(y.hidden=!g),g?p(e).show():d.done((function(){p(e).hide()})),d.done((function(){var t;for(t in p._removeData(e,"fxshow"),h)p.style(e,t,h[t])})),h)a=yt(g?y[r]:0,r,d),r in y||(y[r]=a.start,g&&(a.end=a.start,a.start="width"===r||"he
126ight"===r?1:0))}function xt(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=p.camelCase(n)],o=e[n],p.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=p.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function bt(e,t,n){var r,i,o=0,a=bt.prefilters.length,s=p.Deferred().always((function(){delete u.elem})),u=function(){if(i)return!1;for(var t=ft||mt(),n=Math.max(0,l.startTime+l.duration-t),r,o=1-(n/l.duration||0),a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:p.extend({},t),opts:p.extend(!0,{specialEasing:{},easing:p.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||mt(),duration:n.duration,tweens:[],createTween:function(t,n){var r=p.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(xt(c,l.opts.specialEasing);o<a;o++)if(r=bt.prefilters[o].call(l,e,c,l.opts))return p.isFunction(r.stop)&&(p._queueHooks(l.elem,l.opts.queue).stop=p.proxy(r.stop,r)),r;return p.map(c,yt,l),p.isFunction(l.opts.start)&&l.opts.start.call(e,l),p.fx.timer(p.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}p.Animation=p.extend(bt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return J(n.elem,e,V.exec(t),n),n}]},tweener:function(e,t){p.isFunction(e)?(t=e,e=["*"]):e=e.match(H);for(var n,r=0,i=e.length;r<i;r++)n=e[r],bt.tweeners[n]=bt.tweeners[n]||[],bt.tweeners[n].unshift(t)},prefilters:[vt],prefilter:function(e,t){t?bt.prefilters.unshift(e):bt.prefilters.push(e)}}),p.speed=function(e,t,n){var r=e&&"object"==typeof e?p.extend({},e):{complete:n||!n&&t||p.isFunction(e)&&e,duration:e,easing:n&&t||t&&!p.isFunction(t)&&t};return r.duration=p.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in p.fx.speeds?p.fx.speeds[r.duration]:p.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){p.isFunction(r.old)&&r.old.call(this),r.queue&&p.dequeue(this,r.queue)},r},p.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Y).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=p.isEmptyObject(e),o=p.speed(t,n,r),a=function(){var t=bt(this,p.extend({},e),o);(i||p._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each((function(){var t=!0,i=null!=e&&e+"queueHooks",o=p.timers,a=p._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ht.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||p.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=p._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=p.timers,a=r?r.length:0;for(n.finish=!0,p.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),p.each(["toggle","show","hide"],(function(e,t){var n=p.fn[t];p.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,r,i)}})),p.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){p.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),p.timers=[],p.fx.tick=function(){var e,t=p.timers,n=0;for(ft=p.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||p.fx.stop(),ft=void 0},p.fx.timer=function(e){p.timers.push(e),e()?p.fx.start():p.timers.pop()},p.fx.interval=13,p.fx.start=function(){dt||(dt=e.setInterval(p.fx.tick,p.fx.interval))},p.fx.stop=function(){e.clearInterval(dt),dt=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(t,n){return t=p.fx&&p.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}}))},function(){var e,t=r.createElement("input"),n=r.createElement("div"),i=r.createElement("select"),o=i.appendChild(r.createElement("option"));(n=r.createElement("div")).setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a>
126<input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),(e=n.getElementsByTagName("a")[0]).style.cssText="top:1px",f.getSetAttribute="t"!==n.className,f.style=/top/.test(e.getAttribute("style")),f.hrefNormalized="/a"===e.getAttribute("href"),f.checkOn=!!t.value,f.optSelected=o.selected,f.enctype=!!r.createElement("form").enctype,i.disabled=!0,f.optDisabled=!o.disabled,(t=r.createElement("input")).setAttribute("value",""),f.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),f.radioValue="t"===t.value}();var wt=/\r/g;p.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=p.isFunction(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,p(this).val()):e)?i="":"number"==typeof i?i+="":p.isArray(i)&&(i=p.map(i,(function(e){return null==e?"":e+""}))),(t=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=p.valHooks[i.type]||p.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(wt,""):null==n?"":n:void 0}}),p.extend({valHooks:{option:{get:function(e){var t=p.find.attr(e,"value");return null!=t?t:p.trim(p.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(((n=r[u]).selected||u===i)&&(f.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!p.nodeName(n.parentNode,"optgroup"))){if(t=p(n).val(),o)return t;a.push(t)}return a}
126,set:function(e,t){for(var n,r,i=e.options,o=p.makeArray(t),a=i.length;a--;)if(r=i[a],p.inArray(p.valHooks.option.get(r),o)>=0)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),p.each(["radio","checkbox"],(function(){p.valHooks[this]={set:function(e,t){if(p.isArray(t))return e.checked=p.inArray(p(e).val(),t)>-1}},f.checkOn||(p.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var Tt,Ct,Et=p.expr.attrHandle,kt=/^(?:checked|selected)$/i,Nt=f.getSetAttribute,St=f.input;p.fn.extend({attr:function(e,t){return G(this,p.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){p.removeAttr(this,e)}))}}),p.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?p.prop(e,t,n):(1===o&&p.isXMLDoc(e)||(t=t.toLowerCase(),i=p.attrHooks[t]||(p.expr.match.bool.test(t)?Ct:Tt)),void 0!==n?null===n?void p.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=p.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&p.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(H);if(o&&1===e.nodeType)for(;n=o[i++];)r=p.propFix[n]||n,p.expr.match.bool.test(n)?St&&Nt||!kt.test(n)?e[r]=!1:e[p.camelCase("default-"+n)]=e[r]=!1:p.attr(e,n,""),e.removeAttribute(Nt?n:r)}}),Ct={set:function(e,t,n){return!1===t?p.removeAttr(e,n):St&&Nt||!kt.test(n)?e.setAttribute(!Nt&&p.propFix[n]||n,n):e[p.camelCase("default-"+n)]=e[n]=!0,n}},p.each(p.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=Et[t]||p.find.attr;St&&Nt||!kt.test(t)?Et[t]=function(e,t,r){var i,o;return r||(o=Et[t],Et[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Et[t]=o),i}:Et[t]=function(e,t,n){if(!n)return e[p.camelCase("default-"+t)]?t.toLowerCase():null}})),St&&Nt||(p.attrHooks.value={set:function(e,t,n){if(!p.nodeName(e,"input"))return Tt&&Tt.set(e,t,n);e.defaultValue=t}}),Nt||(Tt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Et.id=Et.name=Et.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},p.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Tt.set},p.attrHooks.contenteditable={set:function(e,t,n){Tt.set(e,""!==t&&t,n)}},p.each(["width","height"],(function(e,t){p.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}}))),f.style||(p.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var jt=/^(?:input|select|textarea|button|object)$/i,At=/^(?:a|area)$/i;p.fn.extend({prop:function(e,t){return G(this,p.prop,e,t,arguments.length>1)},removeProp:function(e){return e=p.propFix[e]||e,this.each((function(){try{this[e]=void 0,delete this[e]}catch(t){}}))}}),p.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&p.isXMLDoc(e)||(t=p.propFix[t]||t,i=p.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=p.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||At.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.hrefNormalized||p.each(["href","src"],(function(e,t){p.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),f.optSelected||(p.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){p.propFix[this.toLowerCase()]=this})),f.enctype||(p.propFix.enctype="encoding");var Dt=/[\t\r\n\f]/g;function Lt(e){return p.attr(e,"class")||""}p.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(p.isFunction(e))return this.each((function(t){p(this).addClass(e.call(this,t,Lt(this)))}));if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[u++];)if(i=Lt(n),r=1===n.nodeType&&(" "+i+" ").replace(Dt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=p.trim(r))&&p.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(p.isFunction(e))return this.each((function(t){p(this).removeClass(e.call(this,t,Lt(this)))}));if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(H)||[];n=this[u++];)if(i=Lt(n),r=1===n.nodeType&&(" "+i+" ").replace(Dt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=p.trim(r))&&p.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):p.isFunction(e)?this.each((function(n){p(this).toggleClass(e.call(this,n,Lt(this),t),t)})):this.each((function(){var t,r,i,o;if("string"===n)for(r=0,i=p(this),o=e.match(H)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=Lt(this))&&p._data(this,"__className__",t),p.attr(this,"class",t||!1===e?"":p._data(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Lt(n)+" ").replace(Dt," ").indexOf(t)>-1)return!0;return!1}}),p.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),(function(e,t){p.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}})),p.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Ht=e.location,qt=p.now(),_t=/\?/,Mt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;p.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=p.trim(t+"");return i&&!p.trim(i.replace(Mt,(function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")})))?Function("return "+i)():p.error("Invalid JSON: "+t)},p.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?n=(r=new e.DOMParser).parseFromString(t,"text/xml"):((n=new e.ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||p.error("Invalid XML: "+t),n};var Ft=/#.*$/,Ot=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Rt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Bt=/^(?:GET|HEAD)$/,Wt=/^\/\//,$t=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,It={},zt={},Xt="*/".concat("*"),Ut=Ht.href,Vt=$t.exec(Ut.toLowerCase())||[];function Qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(H)||[];if(p.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Yt(e,t,n,r){var i={},o=e===zt;function a(s){var u;return i[s]=!0,p.each(e[s]||[],(function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function Jt(e,t){var n,r,i=p.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&p.extend(!0,e,n),e}function Gt(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Kt(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function Zt(e){return e.style&&e.style.display||p.css(e,"display")}function en(e){for(;e&&1===e.nodeType;){if("none"===Zt(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ut,type:"GET",isLocal:Rt.test(Vt[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML}
vendor: 6,085 bytes, line 126
126,flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Jt(Jt(e,p.ajaxSettings),t):Jt(p.ajaxSettings,e)},ajaxPrefilter:Qt(It),ajaxTransport:Qt(zt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,o,a,s,u,l,c,f=p.ajaxSetup({},n),d=f.context||f,h=f.context&&(d.nodeType||d.jquery)?p(d):p.event,m=p.Deferred(),g=p.Callbacks("once memory"),y=f.statusCode||{},v={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!c)for(c={};t=Pt.exec(a);)c[t[1].toLowerCase()]=t[2];t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return l&&l.abort(t),C(0,t),this}};if(m.promise(T).complete=g.add,T.success=T.done,T.error=T.fail,f.url=((t||f.url||Ut)+"").replace(Ft,"").replace(Wt,Vt[1]+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=p.trim(f.dataType||"*").toLowerCase().match(H)||[""],null==f.crossDomain&&(r=$t.exec(f.url.toLowerCase()),f.crossDomain=!(!r||r[1]===Vt[1]&&r[2]===Vt[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(Vt[3]||("http:"===Vt[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=p.param(f.data,f.traditional)),Yt(It,f,n,T),2===b)return T;for(i in(u=p.event&&f.global)&&0==p.active++&&p.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Bt.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=(_t.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Ot.test(o)?o.replace(Ot,"$1_="+qt++):o+(_t.test(o)?"&":"?")+"_="+qt++)),f.ifModified&&(p.lastModified[o]&&T.setRequestHeader("If-Modified-Since",p.lastModified[o]),p.etag[o]&&T.setRequestHeader("If-None-Match",p.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&T.setRequestHeader("Content-Type",f.contentType),T.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Xt+"; q=0.01":""):f.accepts["*"]),f.headers)T.setRequestHeader(i,f.headers[i]);if(f.beforeSend&&(!1===f.beforeSend.call(d,T,f)||2===b))return T.abort();for(i in w="abort",{success:1,error:1,complete:1})T[i](f[i]);if(l=Yt(zt,f,n,T)){if(T.readyState=1,u&&h.trigger("ajaxSend",[T,f]),2===b)return T;f.async&&f.timeout>0&&(s=e.setTimeout((function(){T.abort("timeout")}),f.timeout));try{b=1,l.send(v,C)}catch(E){if(!(b<2))throw E;C(-1,E)}}else C(-1,"No Transport");function C(t,n,r,i){var c,v,x,w,C,E=n;2!==b&&(b=2,s&&e.clearTimeout(s),l=void 0,a=i||"",T.readyState=t>0?4:0,c=t>=200&&t<300||304===t,r&&(w=Gt(f,T,r)),w=Kt(f,w,T,c),c?(f.ifModified&&((C=T.getResponseHeader("Last-Modified"))&&(p.lastModified[o]=C),(C=T.getResponseHeader("etag"))&&(p.etag[o]=C)),204===t||"HEAD"===f.type?E="nocontent":304===t?E="notmodified":(E=w.state,v=w.data,c=!(x=w.error))):(x=E,!t&&E||(E="error",t<0&&(t=0))),T.status=t,T.statusText=(n||E)+"",c?m.resolveWith(d,[v,E,T]):m.rejectWith(d,[T,E,x]),T.statusCode(y),y=void 0,u&&h.trigger(c?"ajaxSuccess":"ajaxError",[T,f,c?v:x]),g.fireWith(d,[T,E]),u&&(h.trigger("ajaxComplete",[T,f]),--p.active||p.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return p.get(e,t,n,"json")},getScript:function(e,t){return p.get(e,void 0,t,"script")}}),p.each(["get","post"],(function(e,t){p[t]=function(e,n,r,i){return p.isFunction(n)&&(i=i||r,r=n,n=void 0),p.ajax(p.extend({url:e,type:t,dataType:i,data:n,success:r},p.isPlainObject(e)&&e))}})),p._evalUrl=function(e){return p.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},p.fn.extend({wrapAll:function(e){if(p.isFunction(e))return this.each((function(t){p(this).wrapAll(e.call(this,t))}));if(this[0]){var t=p(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e})).append(this)}return this},wrapInner:function(e){return p.isFunction(e)?this.each((function(t){p(this).wrapInner(e.call(this,t))})):this.each((function(){var t=p(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p.isFunction(e);return this.each((function(n){p(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(){return this.parent().each((function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)})).end()}}),p.expr.filters.hidden=function(e){return f.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:en(e)},p.expr.filters.visible=function(e){return!p.expr.filters.hidden(e)};var tn=/%20/g,nn=/\[\]$/,rn=/\r?\n/g,on=/^(?:submit|button|image|reset|file)$/i,an=/^(?:input|select|textarea|keygen)/i;function sn(e,t,n,r){var i;if(p.isArray(t))p.each(t,(function(t,i){n||nn.test(e)?r(e,i):sn(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==p.type(t))r(e,t);else for(i in t)sn(e+"["+i+"]",t[i],n,r)}p.param=function(e,t){var n,r=[],i=function(e,t){t=p.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=p.ajaxSettings&&p.ajaxSettings.traditional),p.isArray(e)||e.jquery&&!p.isPlainObject(e))p.each(e,(function(){i(this.name,this.value)}));else for(n in e)sn(n,e[n],t,i);return r.join("&").replace(tn,"+")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=p.prop(this,"elements");return e?p.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!p(this).is(":disabled")&&an.test(this.nodeName)&&!on.test(e)&&(this.checked||!K.test(e))})).map((function(e,t){var n=p(this).val();return null==n?null:p.isArray(n)?p.map(n,(function(e){return{name:t.name,value:e.replace(rn,"\r\n")}})):{name:t.name,value:n.replace(rn,"\r\n")}})).get()}}),p.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?dn():r.documentMode>
1268?fn():/^(get|post|head|put|delete|options)$/i.test(this.type)&&fn()||dn()}:fn;var un=0,ln={},cn=p.ajaxSettings.xhr();function fn(){try{return new e.XMLHttpRequest}catch(t){}}function dn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}e.attachEvent&&e.attachEvent("onunload",(function(){for(var e in ln)ln[e](void 0,!0)})),f.cors=!!cn&&"withCredentials"in cn,(cn=f.ajax=!!cn)&&p.ajaxTransport((function(t){var n;if(!t.crossDomain||f.cors)return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];for(o in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=p.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}})),p.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return p.globalEval(e),e}}}),p.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)})),p.ajaxTransport("script",(function(e){if(e.crossDomain){var t,n=r.head||p("head")[0]||r.documentElement;return{send:function(i,o){(t=r.createElement("script")).async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}}));var pn=[],hn=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=pn.pop()||p.expando+"_"+qt++;return this[e]=!0,e}}),p.ajaxPrefilter("json jsonp",(function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(hn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=p.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(hn,"$1"+i):!1!==t.jsonp&&(t.url+=(_t.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||p.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always((function(){void 0===o?p(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,pn.push(i)),a&&p.isFunction(o)&&o(a[0]),a=o=void 0})),"script"})),f.createHTMLDocument=function(){if(!r.implementation.createHTMLDocument)return!1;var e=r.implementation.createHTMLDocument("");return e.body.innerHTML="<form></form><form></form>",2===e.body.childNodes.length}(),p.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||(f.createHTMLDocument?r.implementation.createHTMLDocument(""):r);var i=C.exec(e),o=!n&&[];return i?[t.createElement(i[1])]:(i=pe([e],t,o),o&&o.length&&p(o).remove(),p.merge([],i.childNodes))};var mn=p.fn.load;function gn(e){return p.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}p.fn.load=function(e,t,n){if("string"!=typeof e&&mn)return mn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=p.trim(e.slice(s,e.length)),e=e.slice(0,s)),p.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&p.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done((function(e){o=arguments,a.html(r?p("<div>").append(p.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(a,o||[e.responseText,t,e])}))}),this},p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){p.fn[t]=function(e){return this.on(t,e)}})),p.expr.filters.animated=function(e){return p.grep(p.timers,(function(t){return e===t.elem})).length},p.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=p.css(e,"position"),f=p(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=p.css(e,"to
126p"),u=p.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&p.inArray("auto",[o,u])>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),p.isFunction(t)&&(t=t.call(e,n,p.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},p.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){p.offset.setOffset(this,e,t)}));var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(t=o.documentElement,p.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=gn(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r):void 0},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===p.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),p.nodeName(e[0],"html")||(n=e.offset()),n.top+=p.css(e[0],"borderTopWidth",!0),n.left+=p.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-p.css(r,"marginTop",!0),left:t.left-n.left-p.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&!p.nodeName(e,"html")&&"static"===p.css(e,"position");)e=e.offsetParent;return e||Ue}))}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n=/Y/.test(t);p.fn[e]=function(r){return G(this,(function(e,r,i){var o=gn(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?p(o).scrollLeft():i,n?i:p(o).scrollTop()):e[r]=i}),e,r,arguments.length,null)}})),p.each(["top","left"],(function(e,t){p.cssHooks[t]=Je(f.pixelPosition,(function(e,n){if(n)return n=Qe(e,t),ze.test(n)?p(e).position()[t]+"px":n}))})),p.each({Height:"height",Width:"width"},(function(e,t){p.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){p.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return G(this,(function(t,n,r){var i;return p.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?p.css(t,n,a):p.style(t,n,r,a)}),t,o?r:void 0,o,null)}}))})),p.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),p.fn.size=function(){return this.length},p.fn.andSelf=p.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],(function(){return p}));var yn=e.jQuery,vn=e.$;return p.noConflict=function(t){return e.$===p&&(e.$=vn),t&&e.jQuery===p&&(e.jQuery=yn),p},t||(e.jQuery=e.$=p),p}))}}}}},{extensions:[".js",".json"]}),u=s("/node_modules/meteor/jquery/main.js");Package._define("jquery",u,{$:o,jQuery:a})}();
127
128!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package.tracker.Tracker,o=Package.tracker.Deps,i=Package["mongo-id"].MongoID,c=Package["diff-sequence"].DiffSequence,a=Package.random.Random,f,u,s,d;(function(){const e=function(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)},n=function(e,r){var t=r.split(".");return!!e&&(t.length>1?n(e[r.split(".")[0]],t.slice(1).join(".")):hasOwnProperty.call(e,r))},r=function(){f._suppressWarnings?f._suppressWarnings--:("undefined"!=typeof console&&console.warn&&console.warn.apply(console,arguments),f._loggedWarnings++)};function o(e){return e instanceof Array||Array.isArray(e)}function c(e){const n="undefined"!=typeof Symbol&&Symbol.iterator;return n&&e instanceof Object&&"function"==typeof e[n]}const l=i.idStringify,p=i.idParse;function g(e,n){return n||(n=100),e.length<n?e:e.substr(0,n-1)+"…"}function y(e,n){for(var r="",t="",o=0;o<e.length;o++){var i;if((r+=t+m(e[o],n)).length>n)return r;t=", "}return r}
128function m(e,n){n||(n=150);const r=typeof e;switch(r){case"undefined":return r;case"number":return e.toString();case"string":return JSON.stringify(e);case"object":return null===e?"null":Array.isArray(e)?"Array ["+y(e,n)+"]":Symbol.iterator in e?e.constructor.name+" ["+y(Array.from(e),n)+"]":e.constructor.name+" "+g(JSON.stringify(e),n);default:return r+": "+e.toString()}}function v(e){try{return" Got "+m(e)}catch(n){return""}}f={_suppressWarnings:0,_loggedWarnings:0,observe:function(e,n){var r=null,i=null,a=[],f=t.autorun((function(){var f=e();t.nonreactive((function(){var e;if(i&&(a=r.fetch().map((function(e){return{_id:e._id,item:e}})),i.stop(),i=null),f)if(o(f))e=s(a,f,n);else if(_(f)){var t=d(a,f,n);e=t[0],i=t[1]}else{if(!c(f))throw h(f);{const r=Array.from(f);e=s(a,r,n)}}else e=u(a,n);A(a,e,n),r=f,a=e}))}));return{stop:function(){f.stop(),i&&i.stop()}}},fetch:function(e){if(e){if(o(e))return e;if(_(e))return e.fetch();if(c(e))return Array.from(e);throw h(e)}return[]}};const h=function(e){return new Error("{{#each}} currently only accepts arrays, cursors, iterables or falsey values."+v(e))},b=e=>"function"==typeof e,_=function(n){return n&&e(n)&&b(n.observe)&&b(n.fetch)},A=function(e,r,t){var o=Package["diff-sequence"].DiffSequence.diffQueryOrderedChanges,i=[],c=[],a={},f={},u={},s=e.length;r.forEach((function(e,n){c.push({_id:e._id}),f[l(e._id)]=n})),e.forEach((function(e,n){i.push({_id:e._id}),a[l(e._id)]=n,u[l(e._id)]=n})),o(i,c,{addedBefore:function(e,n,o){var i=o?u[l(o)]:s;o&&Object.entries(u).forEach((function([e,n]){n>=i&&u[e]++})),s++,u[l(e)]=i,t.addedAt(e,r[f[l(e)]].item,i,o)},movedBefore:function(e,n){if(e!==n){var o=u[l(e)],i=n?u[l(n)]:s;i>o&&i--,Object.entries(u).forEach((function([e,n]){o<n&&n<i?u[e]--:i<=n&&n<o&&u[e]++})),u[l(e)]=i,t.movedTo(e,r[f[l(e)]].item,o,i,n)}},removed:function(n){var r=u[l(n)];Object.entries(u).forEach((function([e,n]){n>=r&&u[e]--})),delete u[l(n)],s--,t.removedAt(n,e[a[l(n)]].item,r)}}),Object.entries(f).forEach((function([o,i]){var c=p(o);if(n(a,o)){var f=r[i].item,u=e[a[o]].item;"object"!=typeof f&&f===u||t.changedAt(c,f,u,i)}}))};u=function(e,n){return[]},s=function(e,n,t){var o={},i;return n.map((function(e,t){var i;if("string"==typeof e)i="-"+e;else if("number"==typeof e||"boolean"==typeof e||null==e)i=e;else{if("object"!=typeof e)throw new Error("{{#each}} doesn't support arrays with elements of type "+typeof e);i=e&&"_id"in e?e._id:t}var c=l(i);return o[c]?(e&&"object"==typeof e&&"_id"in e&&r("duplicate id "+i+" in",n),i=a.id()):o[c]=!0,{_id:i,item:e}}))},d=function(e,n,r){var t=!0,o=[],i=n.observe({addedAt:function(e,n,i){if(t){if(null!==i)throw new Error("Expected initial data from observe in order");o.push({_id:e._id,item:e})}else r.addedAt(e._id,e,n,i)},changedAt:function(e,n,t){r.changedAt(e._id,e,n,t)},removedAt:function(e,n){r.removedAt(e._id,e,n)},movedTo:function(e,n,t,o){r.movedTo(e._id,e,n,t,o)}});return t=!1,[o,i]}}).call(this),Package._define("observe-sequence",{ObserveSequence:f})}();
129
130!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,a=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,c,f=i({node_modules:{meteor:{htmljs:{
130"preamble.js":function t(e,n,t){var i,r,o,a,s,u,c,f,l,h,m,p,v,g,d,y,T,b,w,j,A,E,x,C,M,k,R,N,O;t.export({HTML:function(){return V}}),t.link("./html",{HTMLTags:function(t){i=t},Tag:function(t){r=t},Attrs:function(t){o=t},getTag:function(t){a=t},ensureTag:function(t){s=t},isTagEnsured:function(t){u=t},getSymbolName:function(t){c=t},knownHTMLElementNames:function(t){f=t},knownSVGElementNames:function(t){l=t},knownElementNames:function(t){h=t},voidElementNames:function(t){m=t},isKnownElement:function(t){p=t},isKnownSVGElement:function(t){v=t},isVoidElement:function(t){g=t},CharRef:function(t){d=t},Comment:function(t){y=t},Raw:function(t){T=t},isArray:function(t){b=t},isConstructedObject:function(t){w=t},isNully:function(t){j=t},isValidAttributeName:function(t){A=t},flattenAttributes:function(t){E=t}},0),t.link("./visitors",{Visitor:function(t){x=t},TransformingVisitor:function(t){C=t},ToHTMLVisitor:function(t){M=t},ToTextVisitor:function(t){k=t},toHTML:function(t){R=t},TEXTMODE:function(t){N=t},toText:function(t){O=t}},1);var V=Object.assign(i,{Tag:r,Attrs:o,getTag:a,ensureTag:s,isTagEnsured:u,getSymbolName:c,knownHTMLElementNames:f,knownSVGElementNames:l,knownElementNames:h,voidElementNames:m,isKnownElement:p,isKnownSVGElement:v,isVoidElement:g,CharRef:d,Comment:y,Raw:T,isArray:b,isConstructedObject:w,isNully:j,isValidAttributeName:A,flattenAttributes:E,toHTML:R,TEXTMODE:N,toText:O,Visitor:x,TransformingVisitor:C,ToHTMLVisitor:M,ToTextVisitor:k})},
130"html.js":function t(e,n,t){var i;t.link("@babel/runtime/helpers/typeof",{default:function(t){i=t}},0),t.export({Tag:function(){return o},Attrs:function(){return s},HTMLTags:function(){return c},getTag:function(){return f},ensureTag:function(){return l},isTagEnsured:function(){return h},getSymbolName:function(){return m},knownHTMLElementNames:function(){return p},knownSVGElementNames:function(){return v},knownElementNames:function(){return g},voidElementNames:function(){return d},isKnownElement:function(){return w},isKnownSVGElement:function(){return j},isVoidElement:function(){return A},CharRef:function(){return E},Comment:function(){return x},Raw:function(){return C},isArray:function(){return M},isConstructedObject:function(){return k},isNully:function(){return R},isValidAttributeName:function(){return N},flattenAttributes:function(){return O}});var o=function(){};o.prototype.tagName="",o.prototype.attrs=null,o.prototype.children=Object.freeze?Object.freeze([]):[],o.prototype.htmljsType=o.htmljsType=["Tag"];var a=function(t){var e=function(){for(var t=this instanceof o?this:new e,n=0,r=arguments.length,a=new Array(r),u=0;u<r;u++)a[u]=arguments[u];var c=a.length&&a[0];if(c&&"object"===i(c))if(k(c)){if(c instanceof s){var f=c.value;1===f.length?t.attrs=f[0]:f.length>1&&(t.attrs=f),n++}}else t.attrs=c,n++;return n<a.length&&(t.children=a.slice(n)),t};return e.prototype=new o,e.prototype.constructor=e,e.prototype.tagName=t,e};function s(){for(var t=this instanceof s?this:new s,e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return t.value=n,t}var c={};function f(t){var e=m(t);if(e===t)throw new Error("Use the lowercase or camelCase form of '"+t+"' here");return c[e]||(c[e]=a(t)),c[e]}function l(t){f(t)}function h(t){return w(t)}function m(t){return t.toUpperCase().replace(/-/g,"_")}var p="a abbr acronym address applet area article aside audio b base basefont bdi bdo big blockquote body br button canvas caption center cite code col colgroup command data datagrid datalist dd del details dfn dir div dl dt em embed eventsource fieldset figcaption figure font footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins isindex kbd keygen label legend li link main map mark menu meta meter nav noframes noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small source span strike strong style sub summary sup table tbody td textarea tfoot th thead time title tr track tt u ul var video wbr".split(" "),v="altGlyph altGlyphDef altGlyphItem animate animateColor animateMotion animateTransform circle clipPath color-profile cursor defs desc ellipse feBlend feColorMatrix feComponentTransfer feComposite feConvolveMatrix feDiffuseLighting feDisplacementMap feDistantLight feFlood feFuncA feFuncB feFuncG feFuncR feGaussianBlur feImage feMerge feMergeNode feMorphology feOffset fePointLight feSpecularLighting feSpotLight feTile feTurbulence filter font font-face font-face-format font-face-name font-face-src font-face-uri foreignObject g glyph glyphRef hkern image line linearGradient marker mask metadata missing-glyph path pattern polygon polyline radialGradient rect set stop style svg switch symbol text textPath title tref tspan use view vkern".split(" "),g=p.concat(v),d="area base br col command embed hr img input keygen link meta param source track wbr".split(" "),y=new u(d),T=new u(g),b=new u(v);function w(t){return T.has(t)}function j(t){return b.has(t)}function A(t){return y.has(t)}function E(t){if(!(this instanceof E))return new E(t);if(!(t&&t.html&&t.str))throw new Error("HTML.CharRef must be constructed with ({html:..., str:...})");this.html=t.html,this.str=t.str}function x(t){if(!(this instanceof x))return new x(t);if("string"!=typeof t)throw new Error("HTML.Comment must be constructed with a string");this.value=t,this.sanitizedValue=t.replace(/^-|--+|-$/g,"")}function C(t){if(!(this instanceof C))return new C(t);if("string"!=typeof t)throw new Error("HTML.Raw must be constructed with a string");this.value=t}function M(t){return t instanceof Array||Array.isArray(t)}function k(t){if(!t||"object"!==i(t))return!1;var e=!1;if(null===Object.getPrototypeOf(t))e=!0;else{for(var n=t;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);e=Object.getPrototypeOf(t)===n}return!e&&"function"==typeof t.constructor&&t instanceof t.constructor}function R(t){if(null==t)return!0;
130if(M(t)){for(var e=0;e<t.length;e++)if(!R(t[e]))return!1;return!0}return!1}function N(t){return/^[:_A-Za-z][:_A-Za-z0-9.\-]*/.test(t)}function O(t){if(!t)return t;var e=M(t);if(e&&0===t.length)return null;for(var n={},o=0,a=e?t.length:1;o<a;o++){var s=e?t[o]:t;if("object"!==i(s)||k(s))throw new Error("Expected plain JS object as attrs, found: "+s);for(var u in r.sanitizeForInObject(s)){if(!N(u))throw new Error("Illegal HTML attribute name: "+u);var c=s[u];R(c)||(n[u]=c)}}return n}g.forEach(l),E.prototype.htmljsType=E.htmljsType=["CharRef"],x.prototype.htmljsType=x.htmljsType=["Comment"],C.prototype.htmljsType=C.htmljsType=["Raw"]},
130"visitors.js":function t(e,n,t){var i,o,a,s,u,c,f,l,h,m;t.link("@babel/runtime/helpers/typeof",{default:function(t){i=t}},0),t.export({Visitor:function(){return d},TransformingVisitor:function(){return y},ToTextVisitor:function(){return T},ToHTMLVisitor:function(){return b},toHTML:function(){return w},TEXTMODE:function(){return j},toText:function(){return A}}),t.link("./html",{Tag:function(t){o=t},CharRef:function(t){a=t},Comment:function(t){s=t},Raw:function(t){u=t},isArray:function(t){c=t},getTag:function(t){f=t},isConstructedObject:function(t){l=t},flattenAttributes:function(t){h=t},isVoidElement:function(t){m=t}},0);var p=function(t){return t},v=Object.prototype.hasOwnProperty,g=function(t,e){for(var n in r.sanitizeForInObject(e))v.call(e,n)&&(t[n]=e[n]);return t},d=function(t){g(this,t)};d.def=function(t){g(this.prototype,t)},d.extend=function(t){var e=this,n=function(){function t(){d.apply(this,arguments)}return t}();return n.prototype=new e,n.extend=e.extend,n.def=e.def,t&&g(n.prototype,t),n},d.def({visit:function(t){if(null==t)return this.visitNull.apply(this,arguments);if("object"===i(t)){if(t.htmljsType)switch(t.htmljsType){case o.htmljsType:return this.visitTag.apply(this,arguments);case a.htmljsType:return this.visitCharRef.apply(this,arguments);case s.htmljsType:return this.visitComment.apply(this,arguments);case u.htmljsType:return this.visitRaw.apply(this,arguments);default:throw new Error("Unknown htmljs type: "+t.htmljsType)}return c(t)?this.visitArray.apply(this,arguments):this.visitObject.apply(this,arguments)}if("string"==typeof t||"boolean"==typeof t||"number"==typeof t)return this.visitPrimitive.apply(this,arguments);if("function"==typeof t)return this.visitFunction.apply(this,arguments);throw new Error("Unexpected object in htmljs: "+t)},visitNull:function(t){},visitPrimitive:function(t){},visitArray:function(t){},visitComment:function(t){},visitCharRef:function(t){},visitRaw:function(t){},visitTag:function(t){},visitObject:function(t){throw new Error("Unexpected object in htmljs: "+t)},visitFunction:function(t){throw new Error("Unexpected function in htmljs: "+t)}});var y=d.extend();y.def({visitNull:p,visitPrimitive:p,visitArray:function(t){for(var e=t,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];for(var o=0;o<t.length;o++){var a=t[o],s=this.visit.apply(this,[a].concat(i));s!==a&&(e===t&&(e=t.slice()),e[o]=s)}return e},visitComment:p,visitCharRef:p,visitRaw:p,visitObject:function(t){if(null!=t.textMode)return t;for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return"content"in t&&(t.content=this.visit.apply(this,[t.content].concat(n))),"elseContent"in t&&(t.elseContent=this.visit.apply(this,[t.elseContent].concat(n))),t},visitFunction:p,visitTag:function(t){for(var e=t.children,n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];var o=this.visitChildren.apply(this,[e].concat(i)),a=t.attrs,s=this.visitAttributes.apply(this,[a].concat(i));if(s===a&&o===e)return t;var u=f(t.tagName).apply(null,o);return u.attrs=s,u},visitChildren:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return this.visitArray.apply(this,[t].concat(n))},visitAttributes:function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(c(t)){for(var o=t,a=0;a<t.length;a++){var s=t[a],u=this.visitAttributes.apply(this,[s].concat(n));u!==s&&(o===t&&(o=t.slice()),o[a]=u)}return o}if(t&&l(t))throw new Error("The basic TransformingVisitor does not support foreign objects in attributes.  Define a custom visitAttributes for this case.");var f=t,h=f;if(f){var m=[null,null];for(var p in m.push.apply(m,arguments),r.sanitizeForInObject(f)){var v=f[p];m[0]=p,m[1]=v;var d=this.visitAttribute.apply(this,m);d!==v&&(h===f&&(h=g({},f)),h[p]=d)}}return h},visitAttribute:function(t,e,n){for(var i=arguments.length,r=new Array(i>3?i-3:0),o=3;o<i;o++)r[o-3]=arguments[o];return this.visit.apply(this,[e].concat(r))}});var T=d.extend();T.def({visitNull:function(t){return""},visitPrimitive:function(t){var e=String(t);return this.textMode===j.RCDATA?e.replace(/&/g,"&amp;").replace(/</g,"&lt;"):this.textMode===j.ATTRIBUTE?e.replace(/&/g,"&amp;").replace(/"/g,"&quot;"):e},visitArray:function(t){for(var e=[],n=0;n<t.length;n++)e.push(this.visit(t[n]));return e.join("")},visitComment:function(t){throw new Error("Can't have a comment here")},visitCharRef:function(t){return this.textMode===j.RCDATA||this.textMode===j.ATTRIBUTE?t.html:t.str},visitRaw:function(t){return t.value},visitTag:function(t){return this.visit(this.toHTML(t))},visitObject:function(t){throw new Error("Unexpected object in htmljs in toText: "+t)},toHTML:function(t){return w(t)}});var b=d.extend();function w(t){return(new b).visit(t)}b.def({visitNull:function(t){return""},visitPrimitive:function(t){var e;return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;")},visitArray:function(t){for(var e=[],n=0;n<t.length;n++)e.push(this.visit(t[n]));return e.join("")},visitComment:function(t){return"\x3c!--"+t.sanitizedValue+"--\x3e"},visitCharRef:function(t){return t.html},visitRaw:function(t){return t.value},visitTag:function(t){var e=[],n=t.tagName,i=t.children,o=t.attrs;if(o)for(var a in o=h(o),r.sanitizeForInObject(o))if("value"===a&&"textarea"===n)i=[o[a],i];
130else{var s=this.toText(o[a],j.ATTRIBUTE);e.push(" "+a+'="'+s+'"')}var u="<"+n+e.join("")+">",c=[],f;if("textarea"===n){for(var l=0;l<i.length;l++)c.push(this.toText(i[l],j.RCDATA));"\n"===(f=c.join("")).slice(0,1)&&(f="\n"+f)}else{for(var l=0;l<i.length;l++)c.push(this.visit(i[l]));f=c.join("")}var p=u+f;return!i.length&&m(n)||(p+="</"+n+">"),p},visitObject:function(t){throw new Error("Unexpected object in htmljs in toHTML: "+t)},toText:function(t,e){return A(t,e)}});var j={STRING:1,RCDATA:2,ATTRIBUTE:3};function A(t,e){if(!e)throw new Error("textMode required for HTML.toText");if(e!==j.STRING&&e!==j.RCDATA&&e!==j.ATTRIBUTE)throw new Error("Unknown textMode: "+e);var n;return new T({textMode:e}).visit(t)}}}}}},{extensions:[".js",".json"]}),l=f("/node_modules/meteor/htmljs/preamble.js");Package._define("htmljs",l,{HTML:c})}();
131
132!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.tracker.Tracker,i=Package.tracker.Deps,a=Package.check.check,o=Package.check.Match,s=Package["observe-sequence"].ObserveSequence,u=Package["reactive-var"].ReactiveVar,c=Package["ordered-dict"].OrderedDict,l=Package.htmljs.HTML,f=Package.modules.meteorInstall,p=Package.modules.meteorBabelHelpers,d=Package.promise.Promise,h=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,_=Package["ecmascript-runtime-client"].Set,v,w,b,y,g,E=f({node_modules:{meteor:{blaze:{
132"preamble.js":function e(){var t,n;(v={})._escape=(t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","/":"&#x2F;","`":"&#x60;","&":"&amp;"},n=function(e){return t[e]},function(e){return e.replace(/[&<>"'`]/g,n)}),v._warn=function(e){e="Warning: "+e,"undefined"!=typeof console&&console.warn&&console.warn(e)};var r=Function.prototype.bind;v._bind=r?function(e,t){if(2===arguments.length)return r.call(e,t);for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];return r.apply(e,n.slice(1))}:function(e,t){e.bind(t)}},
132"dombackend.js":function e(){var t={};v._DOMBackend=t;var n="undefined"!=typeof jQuery?jQuery:"undefined"!=typeof Package?Package.jquery&&Package.jquery.jQuery:null;if(!n)throw new Error("jQuery not found");t._$jq=n,t.parseHTML=function(e){return n.parseHTML(e)||[]},t.Events={delegateEvents:function(e,t,r,i){n(e).on(t,r,i)},undelegateEvents:function(e,t,r){n(e).off(t,"**",r)},bindEventCapturer:function(e,r,i,a){var o=n(e),s=function(t){var r;(t=n.event.fix(t)).currentTarget=t.target,n(t.currentTarget).is(o.find(i))&&a.call(e,t)};a._meteorui_wrapper=s,r=t.Events.parseEventType(r),e.addEventListener(r,s,!0)},unbindEventCapturer:function(e,n,r){n=t.Events.parseEventType(n),e.removeEventListener(n,r._meteorui_wrapper,!0)},parseEventType:function(e){var t=e.indexOf(".");return t>=0?e.slice(0,t):e}};var r=function(){},i=function(e){this.next=this,this.prev=this,this.func=e};i.prototype.linkBefore=function(e){this.prev=e.prev,this.next=e,e.prev.next=this,e.prev=this},i.prototype.unlink=function(){this.prev.next=this.next,this.next.prev=this.prev},i.prototype.go=function(){var e=this.func;e&&e()},i.prototype.stop=i.prototype.unlink,t.Teardown={_JQUERY_EVENT_NAME:"blaze_teardown_watcher",_CB_PROP:"$blaze_teardown_callbacks",onElementTeardown:function(e,a){var o=new i(a),s=t.Teardown._CB_PROP;return e[s]||(e[s]=new i,n(e).on(t.Teardown._JQUERY_EVENT_NAME,r)),o.linkBefore(e[s]),o},tearDownElement:function(e){for(var t=[],r=e.getElementsByTagName("*"),i=0;i<r.length;i++)t.push(r[i]);t.push(e),n.cleanData(t)}},n.event.special[t.Teardown._JQUERY_EVENT_NAME]={setup:function(){},teardown:function(){var e=this,n=e[t.Teardown._CB_PROP];if(n){for(var r=n.next;r!==n;)r.go(),r=r.next;n.go(),e[t.Teardown._CB_PROP]=null}}},t.findBySelector=function(e,t){return n(e,t)}},
132"domrange.js":function e(){var t=Object.freeze?Object.freeze([]):[];v._DOMRange=function(e){if(!(this instanceof n))return new n(e);var r=e||t;if(!r||"number"!=typeof r.length)throw new Error("Expected array");for(var i=0;i<r.length;i++)this._memberIn(r[i]);this.members=r,this.emptyRangePlaceholder=null,this.attached=!1,this.parentElement=null,this.parentRange=null,this.attachedCallbacks=t};var n=v._DOMRange;n._USE_COMMENT_PLACEHOLDERS=function(){var e=!1,t=document.createTextNode("");try{t.someProp=!0}catch(n){e=!0}return e}(),n._insert=function(e,t,r,i){var a=e;a instanceof n?a.attach(t,r,i):i?n._moveNodeWithHooks(a,t,r):n._insertNodeWithHooks(a,t,r)},n._remove=function(e){var t=e;t instanceof n?t.detach():n._removeNodeWithHooks(t)},n._removeNodeWithHooks=function(e){e.parentNode&&(1===e.nodeType&&e.parentNode._uihooks&&e.parentNode._uihooks.removeElement?e.parentNode._uihooks.removeElement(e):e.parentNode.removeChild(e))},n._insertNodeWithHooks=function(e,t,n){n=n||null,1===e.nodeType&&t._uihooks&&t._uihooks.insertElement?t._uihooks.insertElement(e,n):t.insertBefore(e,n)},n._moveNodeWithHooks=function(e,t,n){e.parentNode===t&&(n=n||null,1===e.nodeType&&t._uihooks&&t._uihooks.moveElement?t._uihooks.moveElement(e,n):t.insertBefore(e,n))},n.forElement=function(e){if(1!==e.nodeType)throw new Error("Expected element, found: "+e);for(var t=null;e&&!t;)(t=e.$blaze_range||null)||(e=e.parentNode);return t},n.prototype.attach=function(e,t,r,i){if((r||i)&&(this.parentElement!==e||!this.attached))throw new Error("Can only move or replace an attached DOMRange, and only under the same parent element");var a=this.members;if(a.length){this.emptyRangePlaceholder=null;for(var o=0;o<a.length;o++)n._insert(a[o],e,t,r)}else{var s=n._USE_COMMENT_PLACEHOLDERS?document.createComment(""):document.createTextNode("");this.emptyRangePlaceholder=s,e.insertBefore(s,t||null)}if(this.attached=!0,this.parentElement=e,!r&&!i)for(var o=0;o<this.attachedCallbacks.length;o++){var u=this.attachedCallbacks[o];u.attached&&u.attached(this,e)}},n.prototype.setMembers=function(e){var t=e;if(!t||"number"!=typeof t.length)throw new Error("Expected array");for(var n=this.members,r=0;r<n.length;r++)this._memberOut(n[r]);for(var r=0;r<t.length;r++)this._memberIn(t[r]);if(this.attached){if(t.length||n.length){var i=this.lastNode().nextSibling,a=this.parentElement;this.detach(!0),this.members=t,this.attach(a,i,!1,!0)}}else this.members=t},n.prototype.firstNode=function(){if(!this.attached)throw new Error("Mu
132st be attached");if(!this.members.length)return this.emptyRangePlaceholder;var e=this.members[0];return e instanceof n?e.firstNode():e},n.prototype.lastNode=function(){if(!this.attached)throw new Error("Must be attached");if(!this.members.length)return this.emptyRangePlaceholder;var e=this.members[this.members.length-1];return e instanceof n?e.lastNode():e},n.prototype.detach=function(e){if(!this.attached)throw new Error("Must be attached");var t=this.parentElement,r=this.members;if(r.length)for(var i=0;i<r.length;i++)n._remove(r[i]);else{var a=this.emptyRangePlaceholder;this.parentElement.removeChild(a),this.emptyRangePlaceholder=null}if(!e){this.attached=!1,this.parentElement=null;for(var i=0;i<this.attachedCallbacks.length;i++){var o=this.attachedCallbacks[i];o.detached&&o.detached(this,t)}}},n.prototype.addMember=function(e,t,r){var i=this.members;if(!(t>=0&&t<=i.length))throw new Error("Bad index in range.addMember: "+t);if(r||this._memberIn(e),this.attached)if(0===i.length)this.setMembers([e]);else{var a;if(t===i.length)a=this.lastNode().nextSibling;else{var o=i[t];a=o instanceof n?o.firstNode():o}i.splice(t,0,e),n._insert(e,this.parentElement,a,r)}else i.splice(t,0,e)},n.prototype.removeMember=function(e,r){var i=this.members;if(!(e>=0&&e<i.length))throw new Error("Bad index in range.removeMember: "+e);if(r)i.splice(e,1);else{var a=i[e];this._memberOut(a),1===i.length?this.setMembers(t):(i.splice(e,1),this.attached&&n._remove(a))}},n.prototype.moveMember=function(e,t){var n=this.members[e];this.removeMember(e,!0),this.addMember(n,t,!0)},n.prototype.getMember=function(e){var t=this.members;if(!(e>=0&&e<t.length))throw new Error("Bad index in range.getMember: "+e);return this.members[e]},n.prototype._memberIn=function(e){e instanceof n?e.parentRange=this:1===e.nodeType&&(e.$blaze_range=this)},n._destroy=function(e,t){e instanceof n?e.view&&v._destroyView(e.view,t):t||1!==e.nodeType||e.$blaze_range&&(v._destroyNode(e),e.$blaze_range=null)},n.prototype._memberOut=n._destroy,n.prototype.destroyMembers=function(e){for(var t=this.members,n=0;n<t.length;n++)this._memberOut(t[n],e)},n.prototype.destroy=function(e){n._destroy(this,e)},n.prototype.containsElement=function(e){if(!this.attached)throw new Error("Mu
132st be attached");if(!v._elementContains(this.parentElement,e))return!1;for(;e.parentNode!==this.parentElement;)e=e.parentNode;for(var t=e.$blaze_range;t&&t!==this;)t=t.parentRange;return t===this},n.prototype.containsRange=function(e){if(!this.attached)throw new Error("Must be attached");if(!e.attached)return!1;if(e.parentElement!==this.parentElement)return this.containsElement(e.parentElement);if(e===this)return!1;for(;e&&e!==this;)e=e.parentRange;return e===this},n.prototype.onAttached=function(e){this.onAttachedDetached({attached:e})},n.prototype.onAttachedDetached=function(e){this.attachedCallbacks===t&&(this.attachedCallbacks=[]),this.attachedCallbacks.push(e)},n.prototype.$=function(e){var t=this,n=this.parentElement;if(!n)throw new Error("Can't select in removed DomRange");if(11===n.nodeType)throw new Error("Can't use $ on an offscreen range");var r=v._DOMBackend.findBySelector(e,n),i=function(e){return"number"==typeof e&&(e=this),t.containsElement(e)};if(r.filter)r=r.filter(i);else{for(var a=[],o=0;o<r.length;o++){var s=r[o];i(s)&&a.push(s)}r=a}return r},v._elementContains=function(e,t){return 1===e.nodeType&&(e!==t&&(e.compareDocumentPosition?16&e.compareDocumentPosition(t):!(!(t=t.parentNode)||1!==t.nodeType)&&(e===t||e.contains(t))))}},
132"events.js":function e(t,n,e){var r;e.link("lodash.has",{default:function(e){r=e}},0);var i=v._EventSupport={},a=v._DOMBackend,o=i.eventsToDelegate={blur:1,change:1,click:1,focus:1,focusin:1,focusout:1,reset:1,submit:1},s=i.EVENT_MODE={TBD:0,BUBBLING:1,CAPTURING:2},u=1,c=function(e,t,n,i,c){var l,f;this.elem=e,this.type=t,this.selector=n,this.handler=i,this.recipient=c,this.id=u++,this.mode=s.TBD,this.delegatedHandler=(l=this,function(e){if(l.selector||e.currentTarget===e.target)return l.handler.apply(l.recipient,arguments)}),e.addEventListener&&!r(o,a.Events.parseEventType(t))?this.capturingHandler=function(e){return function(t){if(e.mode===s.TBD){if(t.bubbles)return e.mode=s.BUBBLING,void a.Events.unbindEventCapturer(e.elem,e.type,e.capturingHandler);e.mode=s.CAPTURING,a.Events.undelegateEvents(e.elem,e.type,e.delegatedHandler)}e.delegatedHandler(t)}}(this):this.mode=s.BUBBLING};i.HandlerRec=c,c.prototype.bind=function(){this.mode!==s.BUBBLING&&a.Events.bindEventCapturer(this.elem,this.type,this.selector||"*",this.capturingHandler),this.mode!==s.CAPTURING&&a.Events.delegateEvents(this.elem,this.type,this.selector||"*",this.delegatedHandler)},c.prototype.unbind=function(){this.mode!==s.BUBBLING&&a.Events.unbindEventCapturer(this.elem,this.type,this.capturingHandler),this.mode!==s.CAPTURING&&a.Events.undelegateEvents(this.elem,this.type,this.delegatedHandler)},i.listen=function(e,t,n,r,i,a){try{e=e}finally{}var o=[];t.replace(/[^ /]+/g,(function(e){o.push(e)}));for(var s=[],u=0,l=o.length;u<l;u++){var f=o[u],p=e.$blaze_events;p||(p=e.$blaze_events={});var d=p[f];d||((d=p[f]={}).handlers=[]);var h=d.handlers,m=new c(e,f,n,r,i);if(s.push(m),m.bind(),h.push(m),a)for(var _=a(i);_;_=a(_))for(var v=0,w=h.length;v<w;v++){var b=h[v];b.recipient===_&&(b.unbind(),b.bind(),h.splice(v,1),h.push(b),v--,w--)}}return{stop:function(){var t=e.$blaze_events;if(t){for(var n=0;n<s.length;n++){var r=s[n],i=t[r.type];if(i)for(var a=i.handlers,o=a.length-1;o>=0;o--)a[o]===r&&(r.unbind(),a.splice(o,1))}s.length=0}}}}},
132"attrs.js":function t(n,r,t){var i;t.link("lodash.has",{default:function(e){i=e}},0);var a=!1;v._allowJavascriptUrls=function(){a=!0},v._javascriptUrlsAllowed=function(){return a},w=function(e,t){this.name=e,this.value=t},v._AttributeHandler=w,w.prototype.update=function(e,t,n){null===n?null!==t&&e.removeAttribute(this.name):e.setAttribute(this.name,n)},w.extend=function(e){var t=this,n=function(){function e(){w.apply(this,arguments)}return e}();return n.prototype=new t,n.extend=t.extend,e&&Object.assign(n.prototype,e),n},v._DiffingAttributeHandler=w.extend({update:function(e,t,n){if(!(this.getCurrentValue&&this.setValue&&this.parseValue&&this.joinValues))throw new Error("Missing methods in subclass of 'DiffingAttributeHandler'");var r=t?this.parseValue(t):new c,i=n?this.parseValue(n):new c,a=this.getCurrentValue(e),o;(a?this.parseValue(a):new c).forEach((function(e,t,n){i.has(t)||r.has(t)||i.append(t,e)}));var s=[];i.forEach((function(e,t,n){s.push(e)})),this.setValue(e,this.joinValues(s))}});var o=v._DiffingAttributeHandler.extend({getCurrentValue:function(e){return e.className},setValue:function(e,t){e.className=t},parseValue:function(e){var t=new c;return e.split(" ").forEach((function(e){e&&(t.has(e)||t.append(e,e))})),t},joinValues:function(e){return e.join(" ")}}),s=o.extend({getCurrentValue:function(e){return e.className.baseVal},setValue:function(e,t){e.setAttribute("class",t)}}),u=v._DiffingAttributeHandler.extend({getCurrentValue:function(e){return e.getAttribute("style")},setValue:function(e,t){""===t?e.removeAttribute("style"):e.setAttribute("style",t)},parseValue:function(e){for(var t=new c,n=/(\*?[-#\/\*\\\w]+(?:\[[0-9a-z_-]+\])?)\s*:\s*(?:\'(?:\\\'|.)*?\'|"(?:\\"|.)*?"|\([^\)]*?\)|[^};])+[;\s]*/g,r=n.exec(e);r;)t.has(r[1])&&t.remove(r[1]),t.append(r[1],r[0].trim()),r=n.exec(e);return t},joinValues:function(e){return e.join(" ")}}),l=w.extend({update:function(e,t,n){var r=this.name;null==n?null!=t&&(e[r]=!1):e[r]=!0}}),f=w.extend({update:function(e,t,n){var r=this.name;n!==e[r]&&(e[r]=n)}}),d=w.extend({update:function(e,t,n){var r="http://www.w3.org/1999/xlink";null===n?null!==t&&e.removeAttributeNS(r,this.name):e.setAttributeNS(r,this.name,this.value)}}),h=function(e){return"ownerSVGElement"in e},m=function(e,t){var n,r;return"itemid"===t||({FORM:["action"],BODY:["background"],BLOCKQUOTE:["cite"],Q:["cite"],DEL:["cite"],INS:["cite"],OBJECT:["classid","codebase","data","usemap"],APPLET:["codebase"],A:["href"],AREA:["href"],LINK:["href"],BASE:["href"],IMG:["longdesc","src","usemap"],FRAME:["longdesc","src"],IFRAME:["longdesc","src"],HEAD:["profile"],SCRIPT:["src"],INPUT:["src","usemap","formaction"],BUTTON:["formaction"],BASE:["href"],MENUITEM:["icon"],HTML:["manifest"],VIDEO:["poster"]}[e]||[]).includes(t)};if(e.isClient)var _=document.createElement("A");var y=function(t){if(e.isClient)return _.href=t,(_.protocol||"").toLowerCase();throw new Error("getUrlProtocol not implemented on the server")},g=w.prototype.update,E=w.extend({update:function(e,t,n){var r=this,i=arguments;if(v._javascriptUrlsAllowed())g.apply(r,i);else{var a="javascript:"===y(n),o="vbscript:"===y(n);a||o?(v._warn("URLs that use the 'javascript:' or 'vbscript:' protocol are not allowed in URL attribute values. Call Blaze._allowJavascriptUrls() to enable them."),g.apply(r,[e,t,null])):g.apply(r,i)}}});v._makeAttributeHandler=function(e,t,n){return"class"===t?h(e)?new s(t,n):new o(t,n):"style"===t?new u(t,n):"OPTION"===e.tagName&&"selected"===t||"INPUT"===e.tagName&&"checked"===t||"VIDEO"===e.tagName&&"muted"===t?new l(t,n):"TEXTAREA"!==e.tagName&&"INPUT"!==e.tagName||"value"!==t?"xlink:"===t.substring(0,6)?new d(t.substring(6),n):m(e.tagName,t)?new E(t,n):new w(t,n):new f(t,n)},(b=function(e){this.elem=e,this.handlers={}}).prototype.update=function(e){var t=this.elem,n=this.handlers;for(var r in p.sanitizeForInObject(n))if(!i(e,r)){var a,o=(a=n[r]).value;a.value=null,a.update(t,o,null),delete n[r]}for(var r in p.sanitizeForInObject(e)){var a=null,o=null,s=e[r];i(n,r)?o=(a=n[r]).value:null!==s&&(a=v._makeAttributeHandler(t,r,s),n[r]=a),o!==s&&(a.value=s,a.update(t,o,s),null===s&&delete n[r])}}},
132"materializer.js":function e(t,n,e){var i;e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},0),v._materializeDOM=function(e,t,n,r){var i=r||[];if(a(e,t,n,i),!r)for(;i.length;){var o;i.pop()()}return t};var a=function(e,t,n,r){if(null!=e){switch(i(e)){case"string":case"boolean":case"number":return void t.push(document.createTextNode(String(e)));case"object":if(e.htmljsType)switch(e.htmljsType){case l.Tag.htmljsType:return void t.push(o(e,n,r));case l.CharRef.htmljsType:return void t.push(document.createTextNode(e.str));case l.Comment.htmljsType:return void t.push(document.createComment(e.sanitizedValue));case l.Raw.htmljsType:for(var a=v._DOMBackend.parseHTML(e.value),s=0;s<a.length;s++)t.push(a[s]);return}else{if(l.isArray(e)){for(var s=e.length-1;s>=0;s--)r.push(v._bind(v._materializeDOM,null,e[s],t,n,r));return}if(e instanceof v.Template&&(e=e.constructView()),e instanceof v.View)return void v._materializeView(e,n,r,t)}}throw new Error("Unexpected object in htmljs: "+e)}},o=function(e,t,n){var i=e.tagName,a;a=(l.isKnownSVGElement(i)||s(e))&&document.createElementNS?document.createElementNS("http://www.w3.org/2000/svg",i):document.createElement(i);var o=e.attrs,u=e.children;if("textarea"===i&&e.children.length&&(!o||!("value"in o))){if("function"==typeof o||l.isArray(o))throw new Error("Can't have reactive children of TEXTAREA node; use the 'value' attribute instead.");(o=Object.assign({},o||null)).value=v._expand(u,t),u=[]}if(o){var c=new b(a),f=function(){var e=v._expandAttributes(o,t),n=l.flattenAttributes(e),r={};for(var i in p.sanitizeForInObject(n))null==n[i]||!1===n[i]?r[i]=null:r[i]=v._toText(n[i],t,l.TEXTMODE.STRING);c.update(r)},d;d=t?t.autorun(f,void 0,"updater"):r.nonreactive((function(){return r.autorun((function(){r._withCurrentView(t,f)}))})),v._DOMBackend.Teardown.onElementTeardown(a,function(){function e(){d.stop()}return e}())}if(u.length){var h=[];n.push((function(){for(var e=0;e<h.length;e++){var t=h[e];t instanceof v._DOMRange?t.attach(a):a.appendChild(t)}})),n.push(v._bind(v._materializeDOM,null,u,h,t,n))}return a},s=function(e){return"a"===e.tagName&&e.attrs&&void 0!==e.attrs["xlink:href"]}},
132"exceptions.js":function t(){var n;v._throwNextException=!1,v._reportException=function(t,r){if(v._throwNextException)throw v._throwNextException=!1,t;n||(n=function(){return"undefined"!=typeof e?e._debug:"undefined"!=typeof console&&console.log?console.log:function(){}}),n()(r||"Exception caught in template:",t.stack||t.message||t)},v._wrapCatchingExceptions=function(e,t){return"function"!=typeof e?e:function(){try{return e.apply(this,arguments)}catch(n){v._reportException(n,"Exception in "+t+":")}}}},
132"view.js":function t(){v.View=function(e,t){if(!(this instanceof v.View))return new v.View(e,t);"function"==typeof e&&(t=e,e=""),this.name=e,this._render=t,this._callbacks={created:null,rendered:null,destroyed:null},this.isCreated=!1,this._isCreatedForExpansion=!1,this.isRendered=!1,this._isAttached=!1,this.isDestroyed=!1,this._isInRender=!1,this.parentView=null,this._domrange=null,this._hasGeneratedParent=!1,this._scopeBindings={},this.renderCount=0},v.View.prototype._render=function(){return null},v.View.prototype.onViewCreated=function(e){this._callbacks.created=this._callbacks.created||[],this._callbacks.created.push(e)},v.View.prototype._onViewRendered=function(e){this._callbacks.rendered=this._callbacks.rendered||[],this._callbacks.rendered.push(e)},v.View.prototype.onViewReady=function(e){var t=this,n=function(){r.afterFlush((function(){t.isDestroyed||v._withCurrentView(t,(function(){e.call(t)}))}))};t._onViewRendered(function(){function e(){t.isDestroyed||(t._domrange.attached?n():t._domrange.onAttached(n))}return e}())},v.View.prototype.onViewDestroyed=function(e){this._callbacks.destroyed=this._callbacks.destroyed||[],this._callbacks.destroyed.push(e)},v.View.prototype.removeViewDestroyedListener=function(e){var t=this._callbacks.destroyed;if(t){var n=t.lastIndexOf(e);-1!==n&&(t[n]=null)}},v.View.prototype.autorun=function(e,t,n){var i=this;if(!i.isCreated)throw new Error("View#autorun must be called from the created callback at the earliest");if(this._isInRender)throw new Error("Can't call View#autorun from inside render(); try calling it from the created or rendered callback");var a=v.Template._currentTemplateInstanceFunc,o=function(){function n(n){return v._withCurrentView(t||i,(function(){return v.Template._withTemplateInstanceFunc(a,(function(){return e.call(i,n)}))}))}return n}();o.displayName=(i.name||"anonymous")+":"+(n||"anonymous");var s=r.autorun(o),u=function(){s.stop()};return i.onViewDestroyed(u),s.onStop((function(){i.removeViewDestroyedListener(u)})),s},v.View.prototype._errorIfShouldntCallSubscribe=function(){var e=this;if(!e.isCreated)throw new Error("View#subscribe must be called from the created callback at the earliest");if(e._isInRender)throw new Error("Can't call View#subscribe from inside render(); try calling it from the created or rendered callback");if(e.isDestroyed)throw new Error("Can't call View#subscribe from inside the destroyed callback, try calling it inside created or rendered.")},v.View.prototype.subscribe=function(t,n){var r=this,i;return n=n||{},r._errorIfShouldntCallSubscribe(),i=n.connection?n.connection.subscribe.apply(n.connection,t):e.subscribe.apply(e,t),r.onViewDestroyed((function(){i.stop()})),i},v.View.prototype.firstNode=function(){if(!this._isAttached)throw new Error("View must be attached before accessing its DOM");return this._domrange.firstNode()},v.View.prototype.lastNode=function(){if(!this._isAttached)throw new Error("View must be attached before accessing its DOM");return this._domrange.lastNode()},v._fireCallbacks=function(e,t){v._withCurrentView(e,(function(){r.nonreactive(function(){function n(){for(var n=e._callbacks[t],r=0,i=n&&n.length;r<i;r++)n[r]&&n[r].call(e)}return n}())}))},v._createView=function(e,t,n){if(e.isCreated)throw new Error("Can't render the same View twice");e.parentView=t||null,e.isCreated=!0,n&&(e._isCreatedForExpansion=!0),v._fireCallbacks(e,"created")};var n=function(e,t){var n=new v._DOMRange(t);e._domrange=n,n.view=e,e.isRendered=!0,v._fireCallbacks(e,"rendered");var r=null;return n.onAttached(function(){function t(t,n){e._isAttached=!0,r=v._DOMBackend.Teardown.onElementTeardown(n,function(){function t(){v._destroyView(e,!0)}return t}())}return t}()),e.onViewDestroyed((function(){r&&r.stop(),r=null})),n};v._materializeView=function(e,t,i,a){var o,s;return v._createView(e,t),r.nonreactive((function(){var t;e.autorun(function(){function t(t){e.renderCount++,e._isInRender=!0;var n=e._render();e._isInRender=!1,t.firstRun||v._isContentEqual(s,n)||r.nonreactive(function(){function t(){var t=v._materializeDOM(n,[],e);o.setMembers(t),v._fireCallbacks(e,"rendered")}return t}()),s=n,r.onInvalidate((function(){o&&o.destroyMembers()}))}return t}(),void 0,"materialize"),i?(t=[],i.push((function(){o=n(e,t),t=null,a.push(o)})),i.push(v._bind(v._materializeDOM,null,s,t,e,i))):(t=v._materializeDOM(s,[],e),o=n(e,t),t=null)})),i?null:o}
132,v._expandView=function(e,t){v._createView(e,t,!0),e._isInRender=!0;var n=v._withCurrentView(e,(function(){return e._render()}));e._isInRender=!1;var i=v._expand(n,e);return r.active?r.onInvalidate((function(){v._destroyView(e)})):v._destroyView(e),i},v._HTMLJSExpander=l.TransformingVisitor.extend(),v._HTMLJSExpander.def({visitObject:function(e){return e instanceof v.Template&&(e=e.constructView()),e instanceof v.View?v._expandView(e,this.parentView):l.TransformingVisitor.prototype.visitObject.call(this,e)},visitAttributes:function(e){return"function"==typeof e&&(e=v._withCurrentView(this.parentView,e)),l.TransformingVisitor.prototype.visitAttributes.call(this,e)},visitAttribute:function(e,t,n){return"function"==typeof t&&(t=v._withCurrentView(this.parentView,t)),l.TransformingVisitor.prototype.visitAttribute.call(this,e,t,n)}});var i=function(){var e=v.currentView;return e&&e._isInRender?e:null};v._expand=function(e,t){return t=t||i(),new v._HTMLJSExpander({parentView:t}).visit(e)},v._expandAttributes=function(e,t){return t=t||i(),new v._HTMLJSExpander({parentView:t}).visitAttributes(e)},v._destroyView=function(e,t){e.isDestroyed||(e.isDestroyed=!0,v._fireCallbacks(e,"destroyed"),e._domrange&&e._domrange.destroyMembers(t))},v._destroyNode=function(e){1===e.nodeType&&v._DOMBackend.Teardown.tearDownElement(e)},v._isContentEqual=function(e,t){return e instanceof l.Raw?t instanceof l.Raw&&e.value===t.value:null==e?null==t:e===t&&("number"==typeof e||"boolean"==typeof e||"string"==typeof e)},v.currentView=null,v._withCurrentView=function(e,t){var n=v.currentView;try{return v.currentView=e,t()}finally{v.currentView=n}};var a=function(e){if(null===e)throw new Error("Can't render null");if("undefined"==typeof e)throw new Error("Can't render undefined");if(!(e instanceof v.View||e instanceof v.Template||"function"==typeof e))try{(new l.Visitor).visit(e)}catch(t){throw new Error("Expected Template or View")}},o=function(e){if(a(e),e instanceof v.Template)return e.constructView();if(e instanceof v.View)return e;var t=e;return"function"!=typeof t&&(t=function(){return e}),v.View("render",t)},s=function(e){return a(e),"function"!=typeof e?function(){return e}:e};v.__rootViews=[],v.render=function(e,t,n,r){if(t||v._warn("Blaze.render without a parent element is deprecated. You must specify where to insert the rendered content."),n instanceof v.View&&(r=n,n=null),t&&"number"!=typeof t.nodeType)throw new Error("'parentElement' must be a DOM node");if(n&&"number"!=typeof n.nodeType)throw new Error("'nextNode' must be a DOM node");r=r||i();var a=o(e);return r||(a.onViewCreated((function(){v.__rootViews.push(a)})),a.onViewDestroyed((function(){var e=v.__rootViews.indexOf(a);e>-1&&v.__rootViews.splice(e,1)}))),v._materializeView(a,r),t&&a._domrange.attach(t,n),a},v.insert=function(e,t,n){if(v._warn("Blaze.insert has been deprecated.  Specify where to insert the rendered content in the call to Blaze.render."),!(e&&e._domrange instanceof v._DOMRange))throw new Error("Expected template rendered with Blaze.render");e._domrange.attach(t,n)},v.renderWithData=function(e,t,n,r,i){return v.render(v._TemplateWith(t,s(e)),n,r,i)},v.remove=function(e){if(!(e&&e._domrange instanceof v._DOMRange))throw new Error("Expected template rendered with Blaze.render");for(;e;){if(!e.isDestroyed){var t=e._domrange;t.attached&&!t.parentRange&&t.detach(),t.destroy()}e=e._hasGeneratedParent&&e.parentView}},v.toHTML=function(e,t){return t=t||i(),l.toHTML(v._expandView(o(e),t))},v.toHTMLWithData=function(e,t,n){return n=n||i(),l.toHTML(v._expandView(v._TemplateWith(t,s(e)),n))},v._toText=function(e,t,n){if("function"==typeof e)throw new Error("Blaze._toText doesn't take a function, just HTMLjs");if(null==t||t instanceof v.View||(n=t,t=null),t=t||i(),!n)throw new Error("textMode required");if(n!==l.TEXTMODE.STRING&&n!==l.TEXTMODE.RCDATA&&n!==l.TEXTMODE.ATTRIBUTE)throw new Error("Unknown textMode: "+n);return l.toText(v._expand(e,t),n)},v.getData=function(e){var t;if(e)if(e instanceof v.View){var n=e;t="with"===n.name?n:v.getView(n,"with")}else{if("number"!=typeof e.nodeType)throw new Error("Expected DOM element or View");if(1!==e.nodeType)throw new Error("Expected DOM element");t=v.getView(e,"with")}else t=v.getView("with");return t?t.dataVar.get():null},v.getElementData=function(e){if(v._warn("Blaze.getElementData has been deprecated.  Use Blaze.getData(element) instead."),1!==e.nodeType)throw new Error("Expected DOM element");return v.getData(e)},v.getView=function(e,t){var n=t;if("string"==typeof e&&(n=e,e=null),e){if(e instanceof v.View)return v._getParentView(e,n);if("number"==typeof e.nodeType)return v._getElementView(e,n);throw new Error("Expected DOM element or View")}return v._getCurrentView(n)},v._getCurrentView=function(e){var t=v.currentView;if(!t)throw new Error("There is no current view");if(e){for(;t&&t.name!==e;)t=t.parentView;return t||null}return t},v._getParentView=function(e,t){var n=e.parentView;if(t)for(;n&&n.name!==t;)n=n.parentView;return n||null},v._getElementView=function(e,t){for(var n=v._DOMRange.forElement(e),r=null;n&&!r;)(r=n.view||null)||(n=n.parentRange?n.parentRange:v._DOMRange.forElement(n.parentElement));if(t){for(;r&&r.name!==t;)r=r.parentView;return r||null}return r},v._addEventMap=function(e,t,n){n=n||null;var r=[];if(!e._domrange)throw new Error("View must have a DOMRange");e._domrange.onAttached(function(){function i(i,a){Object.keys(t).forEach((function(o){var s=t[o],u;
132o.split(/,\s+/).forEach((function(t){var o=t.split(/\s+/);if(0!==o.length){var u=o.shift(),c=o.join(" ");r.push(v._EventSupport.listen(a,u,c,(function(t){if(!i.containsElement(t.currentTarget))return null;var r=n||this,a=arguments;return v._withCurrentView(e,(function(){return s.apply(r,a)}))}),i,(function(e){return e.parentRange})))}}))}))}return i}()),e.onViewDestroyed((function(){r.forEach((function(e){e.stop()})),r.length=0}))}},
132"builtins.js":function e(t,n,e){var i,a,o;e.link("@babel/runtime/helpers/slicedToArray",{default:function(e){i=e}},0),e.link("lodash.has",{default:function(e){a=e}},0),e.link("lodash.isobject",{default:function(e){o=e}},1),v._calculateCondition=function(e){return l.isArray(e)&&0===e.length&&(e=!1),!!e},v.With=function(e,t){var n=v.View("with",t);return n.dataVar=new u,n.onViewCreated((function(){"function"==typeof e?n.autorun((function(){n.dataVar.set(e())}),n.parentView,"setData"):n.dataVar.set(e)})),n},v._attachBindingsToView=function(e,t){t.onViewCreated((function(){Object.entries(e).forEach((function(e){var n=i(e,2),r=n[0],a=n[1];t._scopeBindings[r]=new u,"function"==typeof a?t.autorun((function(){t._scopeBindings[r].set(a())}),t.parentView):t._scopeBindings[r].set(a)}))}))},v.Let=function(e,t){var n=v.View("let",t);return v._attachBindingsToView(e,n),n},v.If=function(e,t,n,r){var i=new u,a=v.View(r?"unless":"if",(function(){return i.get()?t():n?n():null}));return a.__conditionVar=i,a.onViewCreated((function(){this.autorun((function(){var t=v._calculateCondition(e());i.set(r?!t:t)}),this.parentView,"condition")})),a},v.Unless=function(e,t,n){return v.If(e,t,n,!0)},v.Each=function(e,t,n){var i=v.View("each",(function(){var e=this.initialSubviews;return this.initialSubviews=null,this._isCreatedForExpansion&&(this.expandedValueDep=new r.Dependency,this.expandedValueDep.depend()),e}));i.initialSubviews=[],i.numItems=0,i.inElseMode=!1,i.stopHandle=null,i.contentFunc=t,i.elseFunc=n,i.argVar=new u,i.variableName=null;var c=function(e,t){void 0===t&&(t=i.numItems-1);for(var n=e;n<=t;n++){var r;i._domrange.members[n].view._scopeBindings["@index"].set(n)}};return i.onViewCreated((function(){i.autorun((function(){var t=e();o(t)&&a(t,"_sequence")&&(i.variableName=t._variable||null,t=t._sequence),i.argVar.set(t)}),i.parentView,"collection"),i.stopHandle=s.observe((function(){return i.argVar.get()}),{addedAt:function(e,t,n){r.nonreactive((function(){var e;e=i.variableName?v.View("item",i.contentFunc):v.With(t,i.contentFunc),i.numItems++;var r={};if(r["@index"]=n,i.variableName&&(r[i.variableName]=t),v._attachBindingsToView(r,e),i.expandedValueDep)i.expandedValueDep.changed();else if(i._domrange){i.inElseMode&&(i._domrange.removeMember(0),i.inElseMode=!1);var a=v._materializeView(e,i);i._domrange.addMember(a,n),c(n)}else i.initialSubviews.splice(n,0,e)}))},removedAt:function(e,t,n){r.nonreactive((function(){i.numItems--,i.expandedValueDep?i.expandedValueDep.changed():i._domrange?(i._domrange.removeMember(n),c(n),i.elseFunc&&0===i.numItems&&(i.inElseMode=!0,i._domrange.addMember(v._materializeView(v.View("each_else",i.elseFunc),i),0))):i.initialSubviews.splice(n,1)}))},changedAt:function(e,t,n,a){r.nonreactive((function(){var e;i.expandedValueDep?i.expandedValueDep.changed():(e=i._domrange?i._domrange.getMember(a).view:i.initialSubviews[a],i.variableName?e._scopeBindings[i.variableName].set(t):e.dataVar.set(t))}))},movedTo:function(e,t,n,a){r.nonreactive((function(){if(i.expandedValueDep)i.expandedValueDep.changed();else if(i._domrange)i._domrange.moveMember(n,a),c(Math.min(n,a),Math.max(n,a));else{var e=i.initialSubviews,t=e[n];e.splice(n,1),e.splice(a,0,t)}}))}}),i.elseFunc&&0===i.numItems&&(i.inElseMode=!0,i.initialSubviews[0]=v.View("each_else",i.elseFunc))})),i.onViewDestroyed((function(){i.stopHandle&&i.stopHandle.stop()})),i},v._TemplateWith=function(e,t){var n,r=e;"function"!=typeof e&&(r=function(){return e});var i=function(){var e=null;return n.parentView&&"InOuterTemplateScope"===n.parentView.name&&(e=n.parentView.originalParentView),e?v._withCurrentView(e,r):r()},a=function(){var e=t.call(this);return e instanceof v.Template&&(e=e.constructView()),e instanceof v.View&&(e._hasGeneratedParent=!0),e};return(n=v.With(i,a)).__isTemplateWith=!0,n},v._InOuterTemplateScope=function(e,t){var n=v.View("InOuterTemplateScope",t),r=e.parentView;return r.__isTemplateWith&&(r=r.parentView),n.onViewCreated((function(){this.originalParentView=this.parentView,this.parentView=r,this.__childDoesntStartNewLexicalScope=!0})),n},v.InOuterTemplateScope=v._InOuterTemplateScope},
132"lookup.js":function e(t,n,e){var r;e.link("lodash.has",{default:function(e){r=e}},0),v._globalHelpers={},v.registerHelper=function(e,t){v._globalHelpers[e]=t},v.deregisterHelper=function(e){delete v._globalHelpers[e]};var i=function(e,t){return"function"!=typeof e?e:v._bind(e,t)},a=function(e){return"function"==typeof e?function(){var t=v.getData();return null==t&&(t={}),e.apply(t,arguments)}:e};v._OLDSTYLE_HELPER={},v._getTemplateHelper=function(e,t,n){var r=!1;if(e.__helpers.has(t)){var i=e.__helpers.get(t);if(i!==v._OLDSTYLE_HELPER)return null!=i?o(a(i),n):null;r=!0}return t in e&&(r||(e.__helpers.set(t,v._OLDSTYLE_HELPER),e._NOWARN_OLDSTYLE_HELPERS||v._warn("Assigning helper with `"+e.viewName+"."+t+" = ...` is deprecated.  Use `"+e.viewName+".helpers(...)` instead.")),null!=e[t])?o(a(e[t]),n):null};var o=function(e,t){return"function"!=typeof e?e:function(){var n=this,r=arguments;return v.Template._withTemplateInstanceFunc(t,(function(){return v._wrapCatchingExceptions(e,"template helper").apply(n,r)}))}};v._lexicalBindingLookup=function(e,t){var n=e,i=[];do{if(r(n._scopeBindings,t)){var a=n._scopeBindings[t];return function(){return a.get()}}}while((!n.__startsNewLexicalScope||n.parentView&&n.parentView.__childDoesntStartNewLexicalScope)&&(n=n.parentView));return null},v._getTemplate=function(e,t){return e in v.Template&&v.Template[e]instanceof v.Template?v.Template[e]:null},v._getGlobalHelper=function(e,t){return null!=v._globalHelpers[e]?o(a(v._globalHelpers[e]),t):null},v.View.prototype.lookup=function(e,t){var n=this.template,r=t&&t.template,i,a,o,s;if(this.templateInstance&&(o=v._bind(this.templateInstance,this)),/^\./.test(e)){if(!/^(\.)+$/.test(e))throw new Error("id starting with dot must be a series of dots");return v._parentData(e.length-1,!0)}return n&&null!=(i=v._getTemplateHelper(n,e,o))?i:n&&null!=(a=v._lexicalBindingLookup(v.currentView,e))?a:r&&null!=(s=v._getTemplate(e,o))?s:null!=(i=v._getGlobalHelper(e,o))?i:function(){var t=arguments.length>0,n=v.getData(),i=n&&n[e];if(!i){if(r)throw new Error("No such template: "+e);if(t)throw new Error("No such function: "+e);if("@"===e.charAt(0)&&null==i)throw new Error("Unsupported directive: "+e)}if(!n)return null;if("function"!=typeof i){if(t)throw new Error("Can't call non-function: "+i);return i}return i.apply(n,arguments)}},v._parentData=function(e,t){null==e&&(e=1);for(var n=v.getView("with"),r=0;r<e&&n;r++)n=v.getView(n,"with");return n?t?function(){return n.dataVar.get()}:n.dataVar.get():null},v.View.prototype.lookupTemplate=function(e){return this.lookup(e,{template:!0})}},
132"template.js":function e(t,n,e){var i,a,s,u,c;e.link("@babel/runtime/helpers/typeof",{default:function(e){i=e}},0),e.link("lodash.isobject",{default:function(e){a=e}},0),e.link("lodash.isfunction",{default:function(e){s=e}},1),e.link("lodash.has",{default:function(e){u=e}},2),e.link("lodash.isempty",{default:function(e){c=e}},3),v.Template=function(e,t){if(!(this instanceof v.Template))return new v.Template(e,t);if("function"==typeof e&&(t=e,e=""),"string"!=typeof e)throw new Error("viewName must be a String (or omitted)");if("function"!=typeof t)throw new Error("renderFunction must be a function");this.viewName=e,this.renderFunction=t,this.__helpers=new f,this.__eventMaps=[],this._callbacks={created:[],rendered:[],destroyed:[]}};var l=v.Template,f=function(){};f.prototype.get=function(e){return this[" "+e]},f.prototype.set=function(e,t){this[" "+e]=t},f.prototype.has=function(e){return"undefined"!=typeof this[" "+e]},v.isTemplate=function(e){return e instanceof v.Template},l.prototype.onCreated=function(e){this._callbacks.created.push(e)},l.prototype.onRendered=function(e){this._callbacks.rendered.push(e)},l.prototype.onDestroyed=function(e){this._callbacks.destroyed.push(e)},l.prototype._getCallbacks=function(e){var t=this,n=t[e]?[t[e]]:[];return n=n.concat(t._callbacks[e])};var d=function(e,t){l._withTemplateInstanceFunc((function(){return t}),(function(){for(var n=0,r=e.length;n<r;n++)e[n].call(t)}))},h;if(l.prototype.constructView=function(e,t){var n=this,r=v.View(n.viewName,n.renderFunction);r.template=n,r.templateContentBlock=e?new l("(contentBlock)",e):null,r.templateElseBlock=t?new l("(elseBlock)",t):null,(n.__eventMaps||"object"===i(n.events))&&r._onViewRendered((function(){1===r.renderCount&&(n.__eventMaps.length||"object"!==i(n.events)||l.prototype.events.call(n,n.events),n.__eventMaps.forEach((function(e){v._addEventMap(r,e,r)})))})),r._templateInstance=new v.TemplateInstance(r),r.templateInstance=function(){var e=r._templateInstance;return e.data=v.getData(r),r._domrange&&!r.isDestroyed?(e.firstNode=r._domrange.firstNode(),e.lastNode=r._domrange.lastNode()):(e.firstNode=null,e.lastNode=null),e};var a=n._getCallbacks("created");r.onViewCreated((function(){d(a,r.templateInstance())}));var o=n._getCallbacks("rendered");r.onViewReady((function(){d(o,r.templateInstance())}));var s=n._getCallbacks("destroyed");return r.onViewDestroyed((function(){d(s,r.templateInstance())})),r},v.TemplateInstance=function(e){if(!(this instanceof v.TemplateInstance))return new v.TemplateInstance(e);if(!(e instanceof v.View))throw new Error("View required");e._templateInstance=this,this.view=e,this.data=null,this.firstNode=null,this.lastNode=null,this._allSubsReadyDep=new r.Dependency,this._allSubsReady=!1,this._subscriptionHandles={}},v.TemplateInstance.prototype.$=function(e){var t=this.view;if(!t._domrange)throw new Error("Can't use $ on template instance with no DOM");return t._domrange.$(e)},v.TemplateInstance.prototype.findAll=function(e){return Array.prototype.slice.call(this.$(e))},v.TemplateInstance.prototype.find=function(e){var t;return this.$(e)[0]||null},v.TemplateInstance.prototype.autorun=function(e){return this.view.autorun(e)},v.TemplateInstance.prototype.subscribe=function(){for(var e=this,t=e._subscriptionHandles,n={},r=arguments.length,i=new Array(r),a=0,l;a<r;a++)i[a]=arguments[a];if(i.length){var f=i[i.length-1],p={onReady:o.Optional(Function),onError:o.Optional(Function),onStop:o.Optional(Function),connection:o.Optional(o.Any)};s(f)?n.onReady=i.pop():f&&!c(f)&&o.test(f,p)&&(n=i.pop())}var d=n.onStop;n.onStop=function(n){delete t[l.subscriptionId],e._allSubsReady||e._allSubsReadyDep.changed(),d&&d(n)};var h=n.connection,m=n,_=m.onReady,v=m.onError,w=m.onStop,b={onReady:_,onError:v,onStop:w};return i.push(b),l=e.view.subscribe.call(e.view,i,{connection:h}),u(t,l.subscriptionId)||(t[l.subscriptionId]=l,e._allSubsReady&&e._allSubsReadyDep.changed()),l},v.TemplateInstance.prototype.subscriptionsReady=function(){return this._allSubsReadyDep.depend(),this._allSubsReady=Object.values(this._subscriptionHandles).every((function(e){return e.ready()})),this._allSubsReady},l.prototype.helpers=function(e){if(!a(e))throw new Error("Helpers dictionary has to be an object");for(var t in p.sanitizeForInObject(e))this.__helpers.set(t,e[t])},function(){if(Object.defineProperty){var e={};try{Object.defineProperty(e,"self",{get:function(){return e}})}catch(t){return!1}return e.self===e}return!1}()){var m=null;Object.defineProperty(l,"_currentTemplateInstanceFunc",{get:function(){return m}}),l._withTemplateInstanceFunc=function(e,t){if("function"!=typeof t)throw new Error("Expected function, got: "+t);var n=m;try{return m=e,t()}finally{m=n}}}else l._currentTemplateInstanceFunc=null,l._withTemplateInstanceFunc=function(e,t){if("function"!=typeof t)throw new Error("Expected function, got: "+t);var n=l._currentTemplateInstanceFunc;try{return l._currentTemplateInstanceFunc=e,t()}finally{l._currentTemplateInstanceFunc=n}};l.prototype.events=function(e){if(!a(e))throw new Error("Event map has to be an object");var t=this,n={};for(var r in p.sanitizeForInObject(e))n[r]=function(e,t){return function(e){var n=this,r=v.getData(e.currentTarget);null==r&&(r={});var i=Array.prototype.slice.call(arguments),a=v._bind(n.templateInstance,n);return i.splice(1,0,a()),l._withTemplateInstanceFunc(a,(function(){return t.apply(r,i)}))}}(r,e[r]);t.__eventMaps.push(n)},l.instance=function(){return l._currentTemplateInstanceFunc&&l._currentTemplateInstanceFunc()},l.currentData=v.getData,l.parentData=v._parentData,l.registerHelper=v.registerHelper,l.deregisterHelper=v.deregisterHelper},
132"backcompat.js":function e(){y=v,v.ReactiveVar=u,y._templateInstance=v.Template.instance,(g={}).registerHelper=v.registerHelper,g._escape=v._escape,g.SafeString=function(e){this.string=e},g.SafeString.prototype.toString=function(){return this.string.toString()}},node_modules:{"lodash.has":{
132"package.json":function e(t,n,e){e.exports={name:"lodash.has",version:"4.5.2"}},
132"index.js":function e(n,r,e){var i="Expected a function",a="__lodash_hash_undefined__",o=1/0,s=9007199254740991,u="[object Arguments]",c="[object Function]",l="[object GeneratorFunction]",f="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/,h=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_=/[\\^$.*+?()[\]{}|]/g,v=/\\(\\)?/g,w=/^\[object .+?Constructor\]$/,b=/^(?:0|[1-9]\d*)$/,y="object"==typeof t&&t&&t.Object===Object&&t,g="object"==typeof self&&self&&self.Object===Object&&self,E=y||g||Function("return this")();function V(e,t){return null==e?void 0:e[t]}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}var j=Array.prototype,k=Function.prototype,x=Object.prototype,O=E["__core-js_shared__"],D=(M=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+M:"",M,C=k.toString,N=x.hasOwnProperty,I=x.toString,R=RegExp("^"+C.call(N).replace(_,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=E.Symbol,A=x.propertyIsEnumerable,B=j.splice,P=pe(E,"Map"),H=pe(Object,"create"),z=S?S.prototype:void 0,F=z?z.toString:void 0;function L(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function U(){this.__data__=H?H(null):{}}function $(e){return this.has(e)&&delete this.__data__[e]}function G(e){var t=this.__data__;if(H){var n=t[e];return n===a?void 0:n}return N.call(t,e)?t[e]:void 0}function W(e){var t=this.__data__;return H?void 0!==t[e]:N.call(t,e)}function q(e,t){var n;return this.__data__[e]=H&&void 0===t?a:t,this}function J(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Q(){this.__data__=[]}function Y(e){var t=this.__data__,n=oe(t,e),r;return!(n<0)&&(n==t.length-1?t.pop():B.call(t,n,1),!0)}function X(e){var t=this.__data__,n=oe(t,e);return n<0?void 0:t[n][1]}function K(e){return oe(this.__data__,e)>-1}function Z(e,t){var n=this.__data__,r=oe(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(){this.__data__={hash:new L,map:new(P||J),string:new L}}function ne(e){return fe(this,e).delete(e)}function re(e){return fe(this,e).get(e)}function ie(e){return fe(this,e).has(e)}function ae(e,t){return fe(this,e).set(e,t),this}function oe(e,t){for(var n=e.length;n--;)if(Ee(e[n][0],t))return n;return-1}function se(e,t){return null!=e&&N.call(e,t)}function ue(e){return!(!De(e)||ve(e))&&(xe(e)||T(e)?R:w).test(ye(e));var t}function ce(e){if("string"==typeof e)return e;if(Ce(e))return F?F.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function le(e){return Te(e)?e:we(e)}function fe(e,t){var n=e.__data__;return _e(t)?n["string"==typeof t?"string":"hash"]:n.map}function pe(e,t){var n=V(e,t);return ue(n)?n:void 0}function de(e,t,n){for(var r,i=-1,a=(t=me(t,e)?[t]:le(t)).length;++i<a;){var o=be(t[i]);if(!(r=null!=e&&n(e,o)))break;e=e[o]}return r||!!(a=e?e.length:0)&&Oe(a)&&he(o,a)&&(Te(e)||Ve(e));var a}function he(e,t){return!!(t=null==t?s:t)&&("number"==typeof e||b.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(Te(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ce(e))||(d.test(e)||!p.test(e)||null!=t&&e in Object(t))}function _e(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ve(e){return!!D&&D in e}L.prototype.clear=U,L.prototype.delete=$,L.prototype.get=G,L.prototype.has=W,L.prototype.set=q,J.prototype.clear=Q,J.prototype.delete=Y,J.prototype.get=X,J.prototype.has=K,J.prototype.set=Z,ee.prototype.clear=te,ee.prototype.delete=ne,ee.prototype.get=re,ee.prototype.has=ie,ee.prototype.set=ae;var we=ge((function(e){e=Ne(e);var t=[];return h.test(e)&&t.push(""),e.replace(m,(function(e,n,r,i){t.push(r?i.replace(v,"$1"):n||e)})),t}));function be(e){if("string"==typeof e||Ce(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ye(e){if(null!=e){try{return C.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ge(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(i);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o),o};return n.cache=new(ge.Cache||ee),n}function Ee(e,t){return e===t||e!=e&&t!=t}function Ve(e){return ke(e)&&N.call(e,"callee")&&(!A.call(e,"callee")||I.call(e)==u)}ge.Cache=ee;var Te=Array.isArray;function je(e){return null!=e&&Oe(e.length)&&!xe(e)}function ke(e){return Me(e)&&je(e)}function xe(e){var t=De(e)?I.call(e):"";return t==c||t==l}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=s}function De(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Me(e){return!!e&&"object"==typeof e}function Ce(e){return"symbol"==typeof e||Me(e)&&I.call(e)==f}function Ne(e){return null==e?"":ce(e)}function Ie(e,t){return null!=e&&de(e,t,se)}e.exports=Ie}},"lodash.isobject":{
132"package.json":function e(t,n,e){e.exports={name:"lodash.isobject",version:"3.0.2"}},
132"index.js":function e(t,n,e){function r(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}e.exports=r}},"lodash.isfunction":{
132"package.json":function e(t,n,e){e.exports={name:"lodash.isfunction",version:"3.0.9"}},
132"index.js":function e(n,r,e){var i="[object AsyncFunction]",a="[object Function]",o="[object GeneratorFunction]",s="[object Null]",u="[object Proxy]",c="[object Undefined]",l="object"==typeof t&&t&&t.Object===Object&&t,f="object"==typeof self&&self&&self.Object===Object&&self,p=l||f||Function("return this")(),d=Object.prototype,h=d.hasOwnProperty,m=d.toString,_=p.Symbol,v=_?_.toStringTag:void 0;function w(e){return null==e?void 0===e?c:s:v&&v in Object(e)?b(e):y(e)}function b(e){var t=h.call(e,v),n=e[v];try{e[v]=void 0;var r=!0}catch(a){}var i=m.call(e);return r&&(t?e[v]=n:delete e[v]),i}function y(e){return m.call(e)}function g(e){if(!E(e))return!1;var t=w(e);return t==a||t==o||t==i||t==u}function E(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=g}},"lodash.isempty":{
132"package.json":function e(t,n,e){e.exports={name:"lodash.isempty",version:"4.4.0"}},
132"index.js":function e(n,r,e){var i=9007199254740991,a="[object Arguments]",o="[object Function]",s="[object GeneratorFunction]",u="[object Map]",c="[object Object]",l="[object Promise]",f="[object Set]",p="[object WeakMap]",d="[object DataView]",h=/[\\^$.*+?()[\]{}|]/g,m=/^\[object .+?Constructor\]$/,_="object"==typeof t&&t&&t.Object===Object&&t,v="object"==typeof self&&self&&self.Object===Object&&self,w=_||v||Function("return this")(),b="object"==typeof r&&r&&!r.nodeType&&r,y=b&&"object"==typeof e&&e&&!e.nodeType&&e,g=y&&y.exports===b;function E(e,t){return null==e?void 0:e[t]}function V(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}function T(e,t){return function(n){return e(t(n))}}var j=Function.prototype,k=Object.prototype,x=w["__core-js_shared__"],O=(D=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||""))?"Symbol(src)_1."+D:"",D,M=j.toString,C=k.hasOwnProperty,N=k.toString,I=RegExp("^"+M.call(C).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R=g?w.Buffer:void 0,S=k.propertyIsEnumerable,A=R?R.isBuffer:void 0,B=T(Object.keys,Object),P=X(w,"DataView"),H=X(w,"Map"),z=X(w,"Promise"),F=X(w,"Set"),L=X(w,"WeakMap"),U=!S.call({valueOf:1},"valueOf"),$=te(P),G=te(H),W=te(z),q=te(F),J=te(L);function Q(e){return N.call(e)}function Y(e){return!(!le(e)||Z(e))&&(ue(e)||V(e)?I:m).test(te(e));var t}function X(e,t){var n=E(e,t);return Y(n)?n:void 0}var K=Q;function Z(e){return!!O&&O in e}function ee(e){var t=e&&e.constructor,n;return e===("function"==typeof t&&t.prototype||k)}function te(e){if(null!=e){try{return M.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ne(e){return ae(e)&&C.call(e,"callee")&&(!S.call(e,"callee")||N.call(e)==a)}(P&&K(new P(new ArrayBuffer(1)))!=d||H&&K(new H)!=u||z&&K(z.resolve())!=l||F&&K(new F)!=f||L&&K(new L)!=p)&&(K=function(e){var t=N.call(e),n=t==c?e.constructor:void 0,r=n?te(n):void 0;if(r)switch(r){case $:return d;case G:return u;case W:return l;case q:return f;case J:return p}return t});var re=Array.isArray;function ie(e){return null!=e&&ce(e.length)&&!ue(e)}function ae(e){return fe(e)&&ie(e)}var oe=A||pe;function se(e){if(ie(e)&&(re(e)||"string"==typeof e||"function"==typeof e.splice||oe(e)||ne(e)))return!e.length;var t=K(e);if(t==u||t==f)return!e.size;if(U||ee(e))return!B(e).length;for(var n in e)if(C.call(e,n))return!1;return!0}function ue(e){var t=le(e)?N.call(e):"";return t==o||t==s}function ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function le(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function fe(e){return!!e&&"object"==typeof e}function pe(){return!1}e.exports=se}}}}}}},{extensions:[".js",".json"]});E("/node_modules/meteor/blaze/preamble.js"),E("/node_modules/meteor/blaze/dombackend.js"),E("/node_modules/meteor/blaze/domrange.js"),E("/node_modules/meteor/blaze/events.js"),E("/node_modules/meteor/blaze/attrs.js"),E("/node_modules/meteor/blaze/materializer.js"),E("/node_modules/meteor/blaze/exceptions.js"),E("/node_modules/meteor/blaze/view.js"),E("/node_modules/meteor/blaze/builtins.js"),E("/node_modules/meteor/blaze/lookup.js"),E("/node_modules/meteor/blaze/template.js"),E("/node_modules/meteor/blaze/backcompat.js"),Package._define("blaze",{Blaze:v,UI:y,Handlebars:g})}();
133
134!function(){var n=Package.meteor.Meteor,t=Package.meteor.global,e=Package.meteor.meteorEnv,o=Package.tracker.Tracker,i=Package.tracker.Deps,r=Package.random.Random,c=Package["callback-hook"].Hook,a=Package["reactive-var"].ReactiveVar,s=Package.url.URL,u=Package.url.URLSearchParams,l=Package["ddp-client"].DDP,g=Package.mongo.Mongo,_=Package.modules.meteorInstall,f=Package.modules.meteorBabelHelpers,h=Package.promise.Promise,d=Package["ecmascript-runtime-client"].Symbol,p=Package["ecmascript-runtime-client"].Map,k=Package["ecmascript-runtime-client"].Set,m,E=_({node_modules:{meteor:{"accounts-base":{
134"client_main.js":function t(e,o,t){var i,r;t.export({Accounts:function(){return m},AccountsClient:function(){return i},AccountsTest:function(){return r},default:function(){return o}}),t.link("./accounts_client.js",{AccountsClient:function(n){i=n},AccountsTest:function(n){r=n}},0),t.runSetters(m=new i,["Accounts"]),n.users=m.users},
134"accounts_client.js":function t(e,o,t){var i,c,s;t.link("@babel/runtime/helpers/objectSpread2",{default:function(n){i=n}},0),t.link("@babel/runtime/helpers/inheritsLoose",{default:function(n){c=n}},1),t.export({AccountsClient:function(){return u},AccountsTest:function(){return h}}),t.link("./accounts_common.js",{AccountsCommon:function(n){s=n}},0);var u=function(t){function e(n){var e;return(e=t.call(this,n)||this)._loggingIn=new a(!1),e._loggingOut=new a(!1),e._loginServicesHandle=e.connection.subscribe("meteor.loginServiceConfiguration"),e._pageLoadLoginCallbacks=[],e._pageLoadLoginAttemptInfo=null,e.savedHash=window.location.hash,e._initUrlMatching(),e._initLocalStorage(),e._loginFuncs={},e._loginCallbacksCalled=!1,e}c(e,t);var o=e.prototype;return o.userId=function(){function n(){return this.connection.userId()}return n}(),o._setLoggingIn=function(){function n(n){this._loggingIn.set(n)}return n}(),o.loggingIn=function(){function n(){return this._loggingIn.get()}return n}(),o.loggingOut=function(){function n(){return this._loggingOut.get()}return n}(),o.registerClientLoginFunction=function(){function n(n,t){if(this._loginFuncs[n])throw new Error(n+" has been defined already");this._loginFuncs[n]=t}return n}
134(),o.callLoginFunction=function(){function n(n){if(!this._loginFuncs[n])throw new Error(n+" was not defined");for(var t=arguments.length,e=new Array(t>1?t-1:0),o=1;o<t;o++)e[o-1]=arguments[o];return this._loginFuncs[n].apply(this,e)}return n}(),o.applyLoginFunction=function(){function n(n,t){if(!this._loginFuncs[n])throw new Error(n+" was not defined");return this._loginFuncs[n].apply(this,t)}return n}(),o.logout=function(){function n(n){var t=this;this._loggingOut.set(!0),this.connection.apply("logout",[],{wait:!0},(function(e,o){t._loggingOut.set(!1),t._loginCallbacksCalled=!1,e?n&&n(e):(t.makeClientLoggedOut(),n&&n())}))}return n}(),o.logoutOtherClients=function(){function n(n){var t=this;this.connection.apply("getNewToken",[],{wait:!0},(function(n,e){n||t._storeLoginToken(t.userId(),e.token,e.tokenExpires)})),this.connection.apply("removeOtherTokens",[],{wait:!0},(function(t){return n&&n(t)}))}return n}(),o.callLoginMethod=function(){function n(n){var t=this,e;n=i({methodName:"login",methodArguments:[{}],_suppressLoggingIn:!1},n),["validateResult","userCallback"].forEach((function(t){n[t]||(n[t]=function(){return null})}));var o=function(o){var i=o.error,r=o.loginDetails;e||(e=!0,t._loginCallbacksCalled=!0,i?t._onLoginFailureHook.each((function(n){return n({error:i}),!0})):t._onLoginHook.each((function(n){return n(r),!0})),n.userCallback(i,r))},r=!1,c=function(n,e){!n&&e&&e.token&&(t._reconnectStopper&&t._reconnectStopper.stop(),t._reconnectStopper=l.onReconnect((function(n){if(n==t.connection){r=!0;var i=t._storedLoginToken();i&&(e={token:i,tokenExpires:t._storedLoginTokenExpires()}),e.tokenExpires||(e.tokenExpires=t._tokenExpiration(new Date)),t._tokenExpiresSoon(e.tokenExpires)?t.makeClientLoggedOut():t.callLoginMethod({methodArguments:[{resume:e.token}],_suppressLoggingIn:!0,userCallback:function(n,i){var r=t._storedLoginToken();n&&r&&r===e.token&&t.makeClientLoggedOut(),o({error:n,loginDetails:i}
134)}})}})))},a=function(e,i){if(!r){if(t._setLoggingIn(!1),e||!i)return e=e||new Error("No result from call to "+n.methodName),void o({error:e});try{n.validateResult(i)}catch(c){return void o({error:c})}t.makeClientLoggedIn(i.id,i.token,i.tokenExpires),o({loginDetails:i})}};n._suppressLoggingIn||this._setLoggingIn(!0),this.connection.apply(n.methodName,n.methodArguments,{wait:!0,onResultReceived:c},a)}return n}(),o.makeClientLoggedOut=function(){function n(){this.connection._userId&&this._onLogoutHook.each((function(n){return n(),!0})),this._unstoreLoginToken(),this.connection.setUserId(null),this._reconnectStopper&&this._reconnectStopper.stop()}return n}(),o.makeClientLoggedIn=function(){function n(n,t,e){this._storeLoginToken(n,t,e),this.connection.setUserId(n)}return n}(),o.loginServicesConfigured=function(){function n(){return this._loginServicesHandle.ready()}return n}(),o.onPageLoadLogin=function(){function n(n){this._pageLoadLoginAttemptInfo?n(this._pageLoadLoginAttemptInfo):this._pageLoadLoginCallbacks.push(n)}return n}(),o._pageLoadLogin=function(){function t(t){this._pageLoadLoginAttemptInfo?n._debug("Ignoring unexpected duplicate page load login attempt info"):(this._pageLoadLoginCallbacks.forEach((function(n){return n(t)})),this._pageLoadLoginCallbacks=[],this._pageLoadLoginAttemptInfo=t)}return t}(),o._startupCallback=function(){function t(t){this._loginCallbacksCalled&&n.setTimeout((function(){return t({type:"resume"})}),0)}return t}(),o.loginWithToken=function(){function n(n,t){this.callLoginMethod({methodArguments:[{resume:n}],userCallback:t})}return n}(),o._enableAutoLogin=function(){function n(){this._autoLoginEnabled=!0,this._pollStoredLoginToken()}return n}(),o._isolateLoginTokenForTest=function(){function n(){this.LOGIN_TOKEN_KEY=this.LOGIN_TOKEN_KEY+r.id(),this.USER_ID_KEY=this.USER_ID_KEY+r.id()}return n}(),o._storeLoginToken=function(){function t(t,e,o){n._localStorage.setItem(this.USER_ID_KEY,t),n._localStorage.setItem(this.LOGIN_TOKEN_KEY,e),o||(o=this._tokenExpiration(new Date)),n._localStorage.setItem(this.LOGIN_TOKEN_EXPIRES_KEY,o),this._lastLoginTokenWhenPolled=e}return t}(),o._unstoreLoginToken=function(){function t(){n._localStorage.removeItem(this.USER_ID_KEY),n._localStorage.removeItem(this.LOGIN_TOKEN_KEY),n._localStorage.removeItem(this.LOGIN_TOKEN_EXPIRES_KEY),this._lastLoginTokenWhenPolled=null}return t}(),o._storedLoginToken=function(){function t(){return n._localStorage.getItem(this.LOGIN_TOKEN_KEY)}return t}(),o._storedLoginTokenExpires=function(){function t(){return n._localStorage.getItem(this.LOGIN_TOKEN_EXPIRES_KEY)}return t}(),o._storedUserId=function(){function t(){return n._localStorage.getItem(this.USER_ID_KEY)}return t}(),o._unstoreLoginTokenIfExpiresSoon=function(){function n(){var n=this._storedLoginTokenExpires();n&&this._tokenExpiresSoon(new Date(n))&&this._unstoreLoginToken()}return n}(),o._initLocalStorage=function(){function t(){var t=this;this.LOGIN_TOKEN_KEY="Meteor.loginToken",this.LOGIN_TOKEN_EXPIRES_KEY="Meteor.loginTokenExpires",this.USER_ID_KEY="Meteor.userId";var e=__meteor_runtime_config__.ROOT_URL_PATH_PREFIX,o;if(e||this.connection!==n.connection){var i=":"+this.connection._stream.rawUrl;e&&(i+=":"+e),this.LOGIN_TOKEN_KEY+=i,this.LOGIN_TOKEN_EXPIRES_KEY+=i,this.USER_ID_KEY+=i}if(this._autoLoginEnabled&&(this._unstoreLoginTokenIfExpiresSoon(),o=this._storedLoginToken())){var r=this._storedUserId();r&&this.connection.setUserId(r),this.loginWithToken(o,(function(e){e&&(n._debug("Error logging in with token: "+e),t.makeClientLoggedOut()),t._pageLoadLogin({type:"resume",allowed:!e,error:e,methodName:"login",methodArguments:[{resume:o}]})}))}this._lastLoginTokenWhenPolled=o,this._pollIntervalTimer&&clearInterval(this._pollIntervalTimer),this._pollIntervalTimer=setInterval((function(){t._pollStoredLoginToken()}),3e3)}return t}(),o._pollStoredLoginToken=function(){function n(){var n=this;if(this._autoLoginEnabled){var t=this._storedLoginToken();this._lastLoginTokenWhenPolled!=t&&(t?this.loginWithToken(t,(function(t){t&&n.makeClientLoggedOut()})):this.logout()),this._lastLoginTokenWhenPolled=t}}return n}(),o._initUrlMatching=function(){function n(){this._autoLoginEnabled=!0,this._accountsCallbacks={},this._attemptToMatchHash()}return n}(),o._attemptToMatchHash=function(){function n(){f(this,this.savedHash,_)}return n}(),o.onResetPasswordLink=function(){function t(t){this._accountsCallbacks["reset-password"]&&n._debug("Accounts.onResetPasswordLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["reset-password"]=t}return t}(),o.onEmailVerificationLink=function(){function t(t){this._accountsCallbacks["verify-email"]&&n._debug("Accounts.onEmailVerificationLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["verify-email"]=t}return t}(),o.onEnrollmentLink=function(){function t(t){this._accountsCallbacks["enroll-account"]&&n._debug("Accounts.onEnrollmentLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["enroll-account"]=t}return t}(),e}(s);if(n.loggingIn=function(){return m.loggingIn()},n.loggingOut=function(){return m.loggingOut()},n.logout=function(n){return m.logout(n)},n.logoutOtherClients=function(n){return m.logoutOtherClients(n)},n.loginWithToken=function(n,t){return m.loginWithToken(n,t)},Package.blaze){var g=Package.blaze.Blaze.Template;g.registerHelper("currentUser",(function(){return n.user()})),g.registerHelper("loggingIn",(function(){return n.loggingIn()})),g.registerHelper("loggingOut",(function(){return n.loggingOut()})),g.registerHelper("loggingInOrOut",(function(){return n.loggingIn()||n.loggingOut()}))}var _=function(t,e){var o=this;this._autoLoginEnabled=!1,n.startup((function(){o._accountsCallbacks[e]&&o._accountsCallbacks[e](t,(function(){return o._enableAutoLogin()}))}))},f=function(n,t,e){["reset-password","verify-email","enroll-account"].forEach((function(o){var i,r=new RegExp("^\\#\\/"+o+"\\/(.*)$"),c=t.match(r);c&&(i=c[1],"reset-password"===o?n._resetPasswordToken=i:"verify-email"===o?n._verifyEmailToken=i:"enroll-account"===o&&(n._enrollAccountToken=i),window.location.hash="",e.call(n,i,o))}))},h={attemptToMatchHash:function(n,t){return f(m,n,t)}}},
134"accounts_common.js":function n(t,e,n){var o,i;n.link("@babel/runtime/helpers/objectSpread2",{default:function(n){o=n}},0),n.export({AccountsCommon:function(){return a},EXPIRE_TOKENS_INTERVAL_MS:function(){return h},CONNECTION_CLOSE_DELAY_MS:function(){return d}}),n.link("meteor/meteor",{Meteor:function(n){i=n}},0);var r=["sendVerificationEmail","forbidClientAccountCreation","passwordEnrollTokenExpiration","passwordEnrollTokenExpirationInDays","restrictCreationByEmailDomain","loginExpirationInDays","loginExpiration","passwordResetTokenExpirationInDays","passwordResetTokenExpiration","ambiguousErrorMessages","bcryptRounds","defaultFieldSelector"],a=function(){function n(n){var t=this;this._options={},this.connection=void 0,this._initConnection(n||{}),this.users=new g.Collection("users",{_preventAutopublish:!0,connection:this.connection}),this._onLoginHook=new c({bindEnvironment:!1,debugPrintExceptions:"onLogin callback"}),this._onLoginFailureHook=new c({bindEnvironment:!1,debugPrintExceptions:"onLoginFailure callback"}),this._onLogoutHook=new c({bindEnvironment:!1,debugPrintExceptions:"onLogout callback"}),this.DEFAULT_LOGIN_EXPIRATION_DAYS=s,this.LOGIN_UNEXPIRING_TOKEN_DAYS=p;var e="Accounts.LoginCancelledError";this.LoginCancelledError=i.makeErrorType(e,(function(n){this.message=n})),this.LoginCancelledError.prototype.name=e,this.LoginCancelledError.numericError=145546287,i.startup((function(){var n,e,o=Package["service-configuration"].ServiceConfiguration;t.loginServiceConfiguration=o.configurations,t.ConfigError=o.ConfigError;var c=null===(n=i.settings)||void 0===n||null===(e=n.packages)||void 0===e?void 0:e["accounts-base"];if(c){if(c.oauthSecretKey){if(!Package["oauth-encryption"])throw new Error("The oauth-encryption package must be loaded to set oauthSecretKey");Package["oauth-encryption"].OAuthEncryption.loadKey(c.oauthSecretKey),delete c.oauthSecretKey}Object.keys(c).forEach((function(n){if(!r.includes(n))throw new i.Error("Accounts configuration: Invalid key: "+n);t._options[n]=c[n]}))}}))}var t=n.prototype;return t.userId=function(){function n(){throw new Error("userId method not implemented")}return n}(),t._addDefaultFieldSelector=function(){function n(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this._options.defaultFieldSelector)return n;if(!n.fields)return o(o({},n),{},{fields:this._options.defaultFieldSelector});var t=Object.keys(n.fields);if(!t.length)return n;if(n.fields[t[0]])return n;var e=Object.keys(this._options.defaultFieldSelector);return this._options.defaultFieldSelector[e[0]]?n:o(o({},n),{},{fields:o(o({},n.fields),this._options.defaultFieldSelector)})}return n}(),t.user=function(){function n(n){var t=this.userId();return t?this.users.findOne(t,this._addDefaultFieldSelector(n)):null}return n}(),t.config=function(){function n(n){var t=this;if(i.isServer?__meteor_runtime_config__.accountsConfigCalled=!0:__meteor_runtime_config__.accountsConfigCalled||i._debug("Accounts.config was called on the client but not on the server; some configuration options may not take effect."),Object.prototype.hasOwnProperty.call(n,"oauthSecretKey")){if(i.isClient)throw new Error("The oauthSecretKey option may only be specified on the server");if(!Package["oauth-encryption"])throw new Error("The oauth-encryption package must be loaded to set oauthSecretKey");Package["oauth-encryption"].OAuthEncryption.loadKey(n.oauthSecretKey),delete(n=o({},n)).oauthSecretKey}Object.keys(n).forEach((function(n){if(!r.includes(n))throw new i.Error("Accounts.config: Invalid key: "+n)})),r.forEach((function(e){if(e in n){if(e in t._options)throw new i.Error("Can't set `"+e+"` more than once");t._options[e]=n[e]}}))}return n}(),t.onLogin=function(){function n(n){var t=this._onLoginHook.register(n);return this._startupCallback(t.callback),t}return n}(),t.onLoginFailure=function(){function n(n){return this._onLoginFailureHook.register(n)}return n}(),t.onLogout=function(){function n(n){return this._onLogoutHook.register(n)}return n}
134(),t._initConnection=function(){function n(n){i.isClient&&(n.connection?this.connection=n.connection:n.ddpUrl?this.connection=l.connect(n.ddpUrl):"undefined"!=typeof __meteor_runtime_config__&&__meteor_runtime_config__.ACCOUNTS_CONNECTION_URL?this.connection=l.connect(__meteor_runtime_config__.ACCOUNTS_CONNECTION_URL):this.connection=i.connection)}return n}(),t._getTokenLifetimeMs=function(){function n(){var n=null===this._options.loginExpirationInDays?p:this._options.loginExpirationInDays;return this._options.loginExpiration||864e5*(n||s)}return n}(),t._getPasswordResetTokenLifetimeMs=function(){function n(){return this._options.passwordResetTokenExpiration||864e5*(this._options.passwordResetTokenExpirationInDays||u)}return n}(),t._getPasswordEnrollTokenLifetimeMs=function(){function n(){return this._options.passwordEnrollTokenExpiration||864e5*(this._options.passwordEnrollTokenExpirationInDays||_)}return n}(),t._tokenExpiration=function(){function n(n){return new Date(new Date(n).getTime()+this._getTokenLifetimeMs())}return n}(),t._tokenExpiresSoon=function(){function n(n){var t=.1*this._getTokenLifetimeMs(),e=1e3*f;return t>e&&(t=e),new Date>new Date(n)-t}return n}(),t._startupCallback=function(){function n(n){}return n}(),n}();i.userId=function(){return m.userId()},i.user=function(n){return m.user(n)};var s=90,u=3,_=30,f=3600,h=6e5,d=1e4,p=36500}}}}},{extensions:[".js",".json"]}),L=E("/node_modules/meteor/accounts-base/client_main.js");Package._define("accounts-base",L,{Accounts:m})}();
135
136!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package["accounts-base"].Accounts,r=Package.mongo.Mongo,c=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,g=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,u,f;c({node_modules:{meteor:{"service-configuration":{
136"service_configuration_common.js":function o(){"undefined"==typeof u&&(u={}),u.configurations=new r.Collection("meteor_accounts_loginServiceConfiguration",{_preventAutopublish:!0,connection:e.isClient?i.connection:e.connection}),u.ConfigError=function(o){e.isClient&&!i.loginServicesConfigured()?this.message="Login service configuration not yet loaded":this.message=o?"Service "+o+" not configured":"Service not configured"},u.ConfigError.prototype=new Error,u.ConfigError.prototype.name="ServiceConfiguration.ConfigError"}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/service-configuration/service_configuration_common.js"),Package._define("service-configuration",{ServiceConfiguration:u})}();
137
138!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package["observe-sequence"].ObserveSequence,a=Package.tracker.Tracker,u=Package.tracker.Deps,i=Package.htmljs.HTML,l=Package.blaze.Blaze,o=Package.blaze.UI,c=Package.blaze.Handlebars,f;(function(){var e=function(e,t){return e===t};(f={}).include=function(t,n,r){if(!t)return null;if("function"!=typeof t){var a=t,u;if(!l.isTemplate(a))throw new Error("Expected template or null, found: "+a);return(u=t.constructView(n,r)).__startsNewLexicalScope=!0,u}var i=l.ReactiveVar(null,e),u=l.View("Spacebars.include",(function(){var e=i.get();if(null===e)return null;if(!l.isTemplate(e))throw new Error("Expected template or null, found: "+e);return e.constructView(n,r)}));return u.__templateVar=i,u.onViewCreated((function(){this.autorun((function(){i.set(t())}))})),u.__startsNewLexicalScope=!0,u},f.mustacheImpl=function(e){var t=arguments;if(t.length>1){var n=t[t.length-1];if(n instanceof f.kw){var r={};for(var a in n.hash){var u=n.hash[a];r[a]="function"==typeof u?u():u}t[t.length-1]=f.kw(r)}else n=f.kw(),(t=Array.prototype.slice.call(arguments)).push(n)}return f.call.apply(null,t)},f.mustache=function(e){var t=f.mustacheImpl.apply(null,arguments);return t instanceof f.SafeString?i.Raw(t.toString()):null==t||!1===t?null:String(t)},f.attrMustache=function(e){var t=f.mustacheImpl.apply(null,arguments);if(null==t||""===t)return null;if("object"==typeof t)return t;if("string"==typeof t&&i.isValidAttributeName(t)){var n={};return n[t]="",n}throw new Error("Expected valid attribute name, '', null, or object")},f.dataMustache=function(e){var t=f.mustacheImpl.apply(null,arguments);return t},f.makeRaw=function(e){return null==e?null:e instanceof i.Raw?e:i.Raw(e)},f.call=function(e){if("function"==typeof e){for(var t=[],n=1;n<arguments.length;n++){var r=arguments[n];t[n-1]="function"==typeof r?r():r}return e.apply(null,t)}if(null!=e&&arguments.length>1)throw new Error("Can't call non-function: "+e);return e},f.kw=function(e){if(!(this instanceof f.kw))return new f.kw(e);this.hash=e||{}},f.SafeString=function(e){return this instanceof f.SafeString?new c.SafeString(e):new f.SafeString(e)},f.SafeString.prototype=c.SafeString.prototype,f.dot=function(e,t){if(arguments.length>2){var n=[];return n.push(f.dot(e,t)),n.push.apply(n,Array.prototype.slice.call(arguments,2)),f.dot.apply(null,n)}if("function"==typeof e&&(e=e()),!e)return e;var r=e[t];return"function"!=typeof r?r:function(){return r.apply(e,arguments)}},f.With=function(e,t,n){var r=new l.ReactiveVar,u=l.View("Spacebars_with",(function(){return l.If((function(){return r.get()}),(function(){return l.With((function(){return r.get()}),t)}),n)}));return u.onViewCreated((function(){this.autorun((function(){r.set(e()),a.onInvalidate((function(){r.dep.changed()}))}))})),u}}).call(this),Package._define("spacebars",{Spacebars:f})}();
139
140Package._define("templating-compiler");
141
142!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.blaze.Blaze,o=Package.blaze.UI,a=Package.blaze.Handlebars,c=Package.spacebars.Spacebars,i=Package.htmljs.HTML,u=Package.modules.meteorInstall,l=Package.modules.meteorBabelHelpers,_=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,p=Package["ecmascript-runtime-client"].Map,d=Package["ecmascript-runtime-client"].Set,f,m=u({node_modules:{meteor:{"templating-runtime":{
142"templating.js":function e(){f=r.Template;var t="__proto__ name".split(" ");f.__checkName=function(e){if(e in f||t.includes(e)){if(f[e]instanceof f&&"body"!==e)throw new Error("There are multiple templates named '"+e+"'. Each template needs a unique name.");throw new Error("This template name is reserved: "+e)}},f.__define__=function(e,t){f.__checkName(e),f[e]=new f("Template."+e,t),f[e]._NOWARN_OLDSTYLE_HELPERS=!0},f.body=new f("body",(function(){var e=this;return f.body.contentRenderFuncs.map((function(t){return t.apply(e)}))})),f.body.contentRenderFuncs=[],f.body.view=null,f.body.addContent=function(e){f.body.contentRenderFuncs.push(e)},f.body.renderToDocument=function(){if(!f.body.view){var e=r.render(f.body,document.body);f.body.view=e}},f.__pendingReplacement=[];var n=null;f._applyHmrChanges=function(e){n||(n=setTimeout((function(){n=null;for(var e=0;e<f.__pendingReplacement.length;e++)delete f[f.__pendingReplacement[e]];f.__pendingReplacement=[];for(var t=r.__rootViews.slice(),e=0;e<t.length;e++){var o=t[e];if(!o.destroyed){var a=o._render,c,i;if(o._domrange&&o._domrange.parentElement?c=o._domrange.parentElement:o._hmrParent&&(c=o._hmrParent),o._hmrAfter)i=o._hmrAfter;else{var u=o._domrange.firstNode();i=document.createComment("Blaze HMR PLaceholder"),c.insertBefore(i,u)}o._hmrAfter=null,o._hmrParent=null,o._domrange&&r.remove(o);try{if(o===f.body.view){var l=r.render(f.body,document.body,i);f.body.view=l}else o.dataVar?r.renderWithData(a,o.dataVar.curValue,c,i):r.render(a,c,i);c.removeChild(i)}catch(s){console.log("[Blaze HMR] Error re-rending template:"),console.error(s);var _=r.__rootViews[r.__rootViews.length-1];_&&_.isCreated&&!_.isRendered&&(_._hmrAfter=i,_._hmrParent=c)}}}})))},f._migrateTemplate=function(e,t,n){var r=f[e],n=f.__pendingReplacement.indexOf(e)>-1;r&&n&&(t.__helpers=r.__helpers,t.__eventMaps=r.__eventMaps,t._callbacks.created=r._callbacks.created,t._callbacks.rendered=r._callbacks.rendered,t._callbacks.destroyed=r._callbacks.destroyed,delete f[e],f._applyHmrChanges(e)),n&&f.__pendingReplacement.splice(f.__pendingReplacement.indexOf(e),1),f.__checkName(e),f[e]=t},o.body=f.body,f.__body__=f.body,f.__body__.__contentParts=f.body.contentViews,f.__body__.__instantiate=f.body.renderToDocument},
142"template.dynamic.js":function e(){f.__checkName("__dynamic"),f.__dynamic=new f("Template.__dynamic",(function(){var e=this;return[r.View("lookup:checkContext",(function(){return c.mustache(e.lookup("checkContext"))})),"\n  ",r.If((function(){return c.call(e.lookup("dataContextPresent"))}),(function(){return["\n    ",c.include(e.lookupTemplate("__dynamicWithDataContext"),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))})),"\n  "]}),(function(){return["\n    \n    ",r._TemplateWith((function(){return{template:c.call(e.lookup("template")),data:c.call(e.lookup(".."))}}),(function(){return c.include(e.lookupTemplate("__dynamicWithDataContext"),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))}))})),"\n  "]}))]})),f.__checkName("__dynamicWithDataContext"),f.__dynamicWithDataContext=new f("Template.__dynamicWithDataContext",(function(){var e=this;return c.With((function(){return c.dataMustache(e.lookup("chooseTemplate"),e.lookup("template"))}),(function(){return["\n    \n    ",r._TemplateWith((function(){return c.call(c.dot(e.lookup(".."),"data"))}),(function(){return c.include(e.lookupTemplate(".."),(function(){return r._InOuterTemplateScope(e,(function(){return c.include((function(){return c.call(e.templateContentBlock)}))}))}))})),"\n  "]}))}))},
142"dynamic.js":function e(t,n,e){var o;e.link("lodash.has",{default:function(e){o=e}},0);var a=r.Template;a.__dynamicWithDataContext.helpers({chooseTemplate:function(e){return r._getTemplate(e,(function(){return a.instance()}))}}),a.__dynamic.helpers({dataContextPresent:function(){return o(this,"data")},checkContext:function(){if(!o(this,"template"))throw new Error("Must specify name in the 'template' argument to {{> Template.dynamic}}.");Object.keys(this).forEach((function(e){if("template"!==e&&"data"!==e)throw new Error("Invalid argument to {{> Template.dynamic}}: "+e)}))}})},node_modules:{"lodash.has":{
142"package.json":function e(t,n,e){e.exports={name:"lodash.has",version:"4.5.2"}},
142"index.js":function e(n,r,e){var o="Expected a function",a="__lodash_hash_undefined__",c=1/0,i=9007199254740991,u="[object Arguments]",l="[object Function]",_="[object GeneratorFunction]",s="[object Symbol]",p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,d=/^\w*$/,f=/^\./,m=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/[\\^$.*+?()[\]{}|]/g,y=/\\(\\)?/g,g=/^\[object .+?Constructor\]$/,v=/^(?:0|[1-9]\d*)$/,b="object"==typeof t&&t&&t.Object===Object&&t,k="object"==typeof self&&self&&self.Object===Object&&self,w=b||k||Function("return this")();function j(e,t){return null==e?void 0:e[t]}function T(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(n){}return t}var P=Array.prototype,C=Function.prototype,x=Object.prototype,O=w["__core-js_shared__"],E=(R=/[^.]+$/.exec(O&&O.keys&&O.keys.IE_PROTO||""))?"Symbol(src)_1."+R:"",R,S=C.toString,W=x.hasOwnProperty,D=x.toString,M=RegExp("^"+S.call(W).replace(h,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$=w.Symbol,A=x.propertyIsEnumerable,I=P.splice,B=pe(w,"Map"),H=pe(Object,"create"),N=$?$.prototype:void 0,V=N?N.toString:void 0;function F(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function z(){this.__data__=H?H(null):{}}function L(e){return this.has(e)&&delete this.__data__[e]}function q(e){var t=this.__data__;if(H){var n=t[e];return n===a?void 0:n}return W.call(t,e)?t[e]:void 0}function G(e){var t=this.__data__;return H?void 0!==t[e]:W.call(t,e)}function U(e,t){var n;return this.__data__[e]=H&&void 0===t?a:t,this}function Y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function J(){this.__data__=[]}function K(e){var t=this.__data__,n=ce(t,e),r;return!(n<0)&&(n==t.length-1?t.pop():I.call(t,n,1),!0)}function Q(e){var t=this.__data__,n=ce(t,e);return n<0?void 0:t[n][1]}function X(e){return ce(this.__data__,e)>-1}function Z(e,t){var n=this.__data__,r=ce(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function ee(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function te(){this.__data__={hash:new F,map:new(B||Y),string:new F}}function ne(e){return se(this,e).delete(e)}function re(e){return se(this,e).get(e)}function oe(e){return se(this,e).has(e)}function ae(e,t){return se(this,e).set(e,t),this}function ce(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return-1}function ie(e,t){return null!=e&&W.call(e,t)}function ue(e){return!(!Ee(e)||ye(e))&&(xe(e)||T(e)?M:g).test(be(e));var t}function le(e){if("string"==typeof e)return e;if(Se(e))return V?V.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function _e(e){return Te(e)?e:ge(e)}function se(e,t){var n=e.__data__;return he(t)?n["string"==typeof t?"string":"hash"]:n.map}function pe(e,t){var n=j(e,t);return ue(n)?n:void 0}function de(e,t,n){for(var r,o=-1,a=(t=me(t,e)?[t]:_e(t)).length;++o<a;){var c=ve(t[o]);if(!(r=null!=e&&n(e,c)))break;e=e[c]}return r||!!(a=e?e.length:0)&&Oe(a)&&fe(c,a)&&(Te(e)||je(e));var a}function fe(e,t){return!!(t=null==t?i:t)&&("number"==typeof e||v.test(e))&&e>-1&&e%1==0&&e<t}function me(e,t){if(Te(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Se(e))||(d.test(e)||!p.test(e)||null!=t&&e in Object(t))}function he(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function ye(e){return!!E&&E in e}F.prototype.clear=z,F.prototype.delete=L,F.prototype.get=q,F.prototype.has=G,F.prototype.set=U,Y.prototype.clear=J,Y.prototype.delete=K,Y.prototype.get=Q,Y.prototype.has=X,Y.prototype.set=Z,ee.prototype.clear=te,ee.prototype.delete=ne,ee.prototype.get=re,ee.prototype.has=oe,ee.prototype.set=ae;var ge=ke((function(e){e=We(e);var t=[];return f.test(e)&&t.push(""),e.replace(m,(function(e,n,r,o){t.push(r?o.replace(y,"$1"):n||e)})),t}));function ve(e){if("string"==typeof e||Se(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function be(e){if(null!=e){try{return S.call(e)}catch(t){}try{return e+""}catch(t){}}return""}function ke(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var c=e.apply(this,r);return n.cache=a.set(o,c),c};return n.cache=new(ke.Cache||ee),n}function we(e,t){return e===t||e!=e&&t!=t}function je(e){return Ce(e)&&W.call(e,"callee")&&(!A.call(e,"callee")||D.call(e)==u)}ke.Cache=ee;var Te=Array.isArray;function Pe(e){return null!=e&&Oe(e.length)&&!xe(e)}function Ce(e){return Re(e)&&Pe(e)}function xe(e){var t=Ee(e)?D.call(e):"";return t==l||t==_}function Oe(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=i}function Ee(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Re(e){return!!e&&"object"==typeof e}function Se(e){return"symbol"==typeof e||Re(e)&&D.call(e)==s}function We(e){return null==e?"":le(e)}function De(e,t){return null!=e&&de(e,t,ie)}e.exports=De}}}}}}},{extensions:[".js",".json",".html"]});m("/node_modules/meteor/templating-runtime/templating.js"),m("/node_modules/meteor/templating-runtime/template.dynamic.js"),m("/node_modules/meteor/templating-runtime/dynamic.js"),Package._define("templating-runtime",{Template:f})}();
143
144!function(){var e=Package["templating-runtime"].Template;Package._define("templating",{Template:e})}();
145
146!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,n=Package.tracker.Tracker,a=Package.tracker.Deps,s=Package.ejson.EJSON,r=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,o=Package.promise.Promise,u=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,d,h=r({node_modules:{meteor:{"reactive-dict":{
146"migration.js":function t(i,n,t){var a;t.export({ReactiveDict:function(){return a}}),t.link("./reactive-dict",{ReactiveDict:function(e){a=e}},0);var s=Object.prototype.hasOwnProperty;if(a._migratedDictData={},a._dictsToMigrate={},a._loadMigratedDict=function(e){if(s.call(a._migratedDictData,e)){var t=a._migratedDictData[e];return delete a._migratedDictData[e],t}return null},a._registerDictForMigrate=function(e,t){if(s.call(a._dictsToMigrate,e))throw new Error("Duplicate ReactiveDict name: "+e);a._dictsToMigrate[e]=t},e.isClient&&Package.reload){var r=Package.reload.Reload._migrationData("reactive-dict");r&&r.dicts&&(a._migratedDictData=r.dicts),Package.reload.Reload._onMigrate("reactive-dict",(function(){var e=a._dictsToMigrate,t={};for(var i in c.sanitizeForInObject(e))t[i]=e[i]._getMigrationData();return[!0,{dicts:t}]}))}},
146"reactive-dict.js":function t(i,a,t){var r;t.link("@babel/runtime/helpers/typeof",{default:function(e){r=e}},0),t.export({ReactiveDict:function(){return f}});var c=Object.prototype.hasOwnProperty;function o(e){return void 0===e?"undefined":s.stringify(e)}function u(e){if(void 0!==e&&"undefined"!==e)return s.parse(e)}function l(e){e&&e.changed()}var f=function(){function t(i,a){if(this.keys={},i)if("string"==typeof i){e.isClient&&t._registerDictForMigrate(i,this);var s=e.isClient&&t._loadMigratedDict(i);s?this.keys=s:this._setObject(a||{}),this.name=i}else{if("object"!==r(i))throw new Error("Invalid ReactiveDict argument: "+i);this._setObject(i)}else"object"===r(a)&&this._setObject(a);this.allDeps=new n.Dependency,this.keyDeps={},this.keyValueDeps={}}var i=t.prototype;return i.set=function(){function e(e,t){if("object"!==r(e)||void 0!==t){var i=e;t=o(t);var n=c.call(this.keys,i),a=n?this.keys[i]:"undefined",s=t!==a;this.keys[i]=t,!s&&n||l(this.allDeps),s&&this.keyDeps&&(l(this.keyDeps[i]),this.keyValueDeps[i]&&(l(this.keyValueDeps[i][a]),l(this.keyValueDeps[i][t])))}else this._setObject(e)}return e}(),i.setDefault=function(){function e(e,t){if("object"!==r(e)||void 0!==t){var i=e;c.call(this.keys,i)||this.set(i,t)}else this._setDefaultObject(e)}return e}(),i.get=function(){function e(e){return this._ensureKey(e),this.keyDeps[e].depend(),u(this.keys[e])}return e}(),i.equals=function(){function e(e,t){var i=this,a=null;if(Package.mongo&&(a=Package.mongo.Mongo.ObjectID),!("string"==typeof t||"number"==typeof t||"boolean"==typeof t||"undefined"==typeof t||t instanceof Date||a&&t instanceof a||null===t))throw new Error("ReactiveDict.equals: value must be scalar");var r=o(t),l;n.active&&(this._ensureKey(e),c.call(this.keyValueDeps[e],r)||(this.keyValueDeps[e][r]=new n.Dependency),this.keyValueDeps[e][r].depend()&&n.onInvalidate((function(){i.keyValueDeps[e][r].hasDependents()||delete i.keyValueDeps[e][r]})));var f=void 0;return c.call(this.keys,e)&&(f=u(this.keys[e])),s.equals(f,t)}return e}(),i.all=function(){function e(){var e=this;this.allDeps.depend();var t={};return Object.keys(this.keys).forEach((function(i){t[i]=u(e.keys[i])})),t}return e}(),i.clear=function(){function e(){var e=this,t=this.keys;this.keys={},this.allDeps.changed(),Object.keys(t).forEach((function(i){l(e.keyDeps[i]),e.keyValueDeps[i]&&(l(e.keyValueDeps[i][t[i]]),l(e.keyValueDeps[i][void 0]))}))}return e}(),i.delete=function(){function e(e){var t=!1;if(c.call(this.keys,e)){var i=this.keys[e];delete this.keys[e],l(this.keyDeps[e]),this.keyValueDeps[e]&&(l(this.keyValueDeps[e][i]),l(this.keyValueDeps[e][void 0])),this.allDeps.changed(),t=!0}return t}return e}(),i.destroy=function(){function e(){this.clear(),this.name&&c.call(t._dictsToMigrate,this.name)&&delete t._dictsToMigrate[this.name]}return e}(),i._setObject=function(){function e(e){var t=this;Object.keys(e).forEach((function(i){t.set(i,e[i])}))}return e}(),i._setDefaultObject=function(){function e(e){var t=this;Object.keys(e).forEach((function(i){t.setDefault(i,e[i])}))}return e}(),i._ensureKey=function(){function e(e){e in this.keyDeps||(this.keyDeps[e]=new n.Dependency,this.keyValueDeps[e]={})}return e}(),i._getMigrationData=function(){function e(){return this.keys}return e}(),t}()}}}}},{extensions:[".js",".json"]}),k=h("/node_modules/meteor/reactive-dict/migration.js");Package._define("reactive-dict",k,{ReactiveDict:d})}();
147
148!function(){var e=Package.meteor.Meteor,s=Package.meteor.global,a=Package.meteor.meteorEnv,o=Package["reactive-dict"].ReactiveDict,t=Package.ejson.EJSON,i=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,r=Package["ecmascript-runtime-client"].Symbol,m=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,g,k=i({node_modules:{meteor:{session:{
148"session.js":function e(s,a,e){var o;e.export({Session:function(){return t}}),e.link("meteor/reactive-dict",{ReactiveDict:function(e){o=e}},0);var t=new o("session")}}}}},{extensions:[".js",".json"]}),P=k("/node_modules/meteor/session/session.js");Package._define("session",P,{Session:g})}();
149
150!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package.check.check,n=Package.check.Match,i=Package.url.URL,a=Package.url.URLSearchParams,c=Package.reload.Reload,l=Package.base64.Base64,u=Package.modules.meteorInstall,d=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,g=Package["ecmascript-runtime-client"].Symbol,h=Package["ecmascript-runtime-client"].Map,p=Package["ecmascript-runtime-client"].Set,m,f=u({node_modules:{meteor:{oauth:{
150"oauth_client.js":function o(){var t={};(m={}).showPopup=function(e,o,t){throw new Error("OAuth.showPopup must be implemented on this arch.")},m._loginStyle=function(o,t,r){if(e.isCordova)return"popup";var n=r&&r.loginStyle||t.loginStyle||"popup";if(!["popup","redirect"].includes(n))throw new Error("Invalid login style: "+n);if("redirect"===n)try{sessionStorage.setItem("Meteor.oauth.test","test"),sessionStorage.removeItem("Meteor.oauth.test")}catch(i){n="popup"}return n},m._stateParam=function(o,t,r){var n,i,a,c,u={loginStyle:o,credentialToken:t,isCordova:e.isCordova};return("redirect"===o||null!==(n=e.settings)&&void 0!==n&&null!==(i=n.public)&&void 0!==i&&null!==(a=i.packages)&&void 0!==a&&null!==(c=a.oauth)&&void 0!==c&&c.setRedirectUrlWhenLoginStyleIsPopup&&"popup"===o)&&(u.redirectUrl=r||""+window.location),l.encode(JSON.stringify(u))},m.saveDataForRedirect=function(e,o){c._onMigrate("oauth",(function(){return[!0,{loginService:e,credentialToken:o}]})),c._migrate(null,{immediateMigration:!0})},m.getDataAfterRedirect=function(){var o=c._migrationData("oauth");if(!o||!o.credentialToken)return null;var t=o.credentialToken,r=m._storageTokenPrefix+t,n;try{n=sessionStorage.getItem(r),sessionStorage.removeItem(r)}catch(i){e._debug("error retrieving credentialSecret",i)}return{loginService:o.loginService,credentialToken:t,credentialSecret:n}},m.launchLogin=function(e){if(!e.loginService)throw new Error("loginService required");if("popup"===e.loginStyle)m.showPopup(e.loginUrl,e.credentialRequestCompleteCallback.bind(null,e.credentialToken),e.popupOptions);else{if("redirect"!==e.loginStyle)throw new Error("invalid login style");m.saveDataForRedirect(e.loginService,e.credentialToken),window.location=e.loginUrl}},m._handleCredentialSecret=function(e,o){if(r(e,String),r(o,String),Object.prototype.hasOwnProperty.call(t,e))throw new Error("Duplicate credential token from OAuth login");t[e]=o},m._retrieveCredentialSecret=function(o){var r=t[o];if(r)delete t[o];else{var n=m._storageTokenPrefix+o;r=e._localStorage.getItem(n),e._localStorage.removeItem(n)}return r}},
150"oauth_browser.js":function e(){m.showPopup=function(e,t,r){var n=o(e,r&&r.width||650,r&&r.height||331),i=setInterval((function(){var e;try{e=n.closed||void 0===n.closed}catch(o){return}e&&(clearInterval(i),t())}),100)};var o=function(e,o,t){var r="undefined"!=typeof window.screenX?window.screenX:window.screenLeft,n="undefined"!=typeof window.screenY?window.screenY:window.screenTop,i,a,c,l,u="width="+o+",height="+t+",left="+(r+(("undefined"!=typeof window.outerWidth?window.outerWidth:document.body.clientWidth)-o)/2)+",top="+(n+(("undefined"!=typeof window.outerHeight?window.outerHeight:document.body.clientHeight-22)-t)/2)+",scrollbars=yes",d=window.open(e,"Login",u);if(!d||d.closed){var s=new Error("The login popup was blocked by the browser");throw s.attemptedUrl=e,s}return d.focus&&d.focus(),d}},
150"oauth_common.js":function o(t,r,o){var n;o.link("@babel/runtime/helpers/objectSpread2",{default:function(e){n=e}},0),m._storageTokenPrefix="Meteor.oauth.credentialSecret-",m._redirectUri=function(o,t,r,a){var c=!1,l=!1;if(r&&(c=(r=n({},r)).cordova,l=r.android,delete r.cordova,delete r.android,0===Object.keys(r).length&&(r=void 0)),e.isServer&&c){var u=Npm.require("url"),d=process.env.MOBILE_ROOT_URL||__meteor_runtime_config__.ROOT_URL;if(l){var s=u.parse(d);"localhost"===s.hostname&&(s.hostname="10.0.2.2",delete s.host),d=u.format(s)}a=n(n({},a),{},{rootUrl:d})}return i._constructUrl(e.absoluteUrl("_oauth/"+o,a),null,r)}}}}}},{extensions:[".js",".json"]});f("/node_modules/meteor/oauth/oauth_client.js"),f("/node_modules/meteor/oauth/oauth_browser.js"),f("/node_modules/meteor/oauth/oauth_common.js"),Package._define("oauth",{OAuth:m})}();
151
152!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,r=Package["accounts-base"].Accounts,n=Package.oauth.OAuth,a=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,i=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,m=a({node_modules:{meteor:{"accounts-oauth":{
152"oauth_common.js":function t(){r.oauth={};var o={},n=Object.prototype.hasOwnProperty;r.oauth.registerService=function(t){if(n.call(o,t))throw new Error("Duplicate service: "+t);o[t]=!0,e.server&&e.users.createIndex("services."+t+".id",{unique:!0,sparse:!0})},r.oauth.unregisterService=function(e){if(!n.call(o,e))throw new Error("Service not found: "+e);delete o[e]},r.oauth.serviceNames=function(){return Object.keys(o)}},
152"oauth_client.js":function t(){var o=function(t){return t&&t instanceof e.Error&&t.error===r.LoginCancelledError.numericError?new r.LoginCancelledError(t.reason):t};e.startup((function(){var e=n.getDataAfterRedirect();if(e){var t="login",a,c,u=[{oauth:{credentialToken:e.credentialToken,credentialSecret:e.credentialSecret}}];r.callLoginMethod({methodArguments:u,userCallback:function(n){n=o(n),r._pageLoadLogin({type:e.loginService,allowed:!n,error:n,methodName:t,methodArguments:u})}})}})),r.oauth.tryLoginAfterPopupClosed=function(t,a){var c=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],u=n._retrieveCredentialSecret(t);if(u)r.callLoginMethod({methodArguments:[{oauth:{credentialToken:t,credentialSecret:u}}],userCallback:a&&function(e){return a(o(e))}});else{if(!c)return;e.setTimeout((function(){return r.oauth.tryLoginAfterPopupClosed(t,a,!1)}),500)}},r.oauth.credentialRequestCompleteHandler=function(e){return function(t){t&&t instanceof Error?e&&e(t):r.oauth.tryLoginAfterPopupClosed(t,e)}}}}}}},{extensions:[".js",".json"]});m("/node_modules/meteor/accounts-oauth/oauth_common.js"),m("/node_modules/meteor/accounts-oauth/oauth_client.js"),Package._define("accounts-oauth")}();
153
154!function(){var r=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,e;(function(){e=function(){function r(r){var n=8,t=0;function e(r,n){var t=(65535&r)+(65535&n),e;return(r>>16)+(n>>16)+(t>>16)<<16|65535&t}function o(r,n){return r>>>n|r<<32-n}function a(r,n){return r>>>n}function u(r,n,t){return r&n^~r&t}function f(r,n,t){return r&n^r&t^n&t}function c(r){return o(r,2)^o(r,13)^o(r,22)}function i(r){return o(r,6)^o(r,11)^o(r,25)}function h(r){return o(r,7)^o(r,18)^a(r,3)}function g(r){return o(r,17)^o(r,19)^a(r,10)}function C(r,n){var t=new Array(1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298),o=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),a=new Array(64),C,v,d,m,l,A,S,k,y,P,w,b;r[n>>5]|=128<<24-n%32,r[15+(n+64>>9<<4)]=n;for(var y=0;y<r.length;y+=16){C=o[0],v=o[1],d=o[2],m=o[3],l=o[4],A=o[5],S=o[6],k=o[7];for(var P=0;P<64;P++)a[P]=P<16?r[P+y]:e(e(e(g(a[P-2]),a[P-7]),h(a[P-15])),a[P-16]),w=e(e(e(e(k,i(l)),u(l,A,S)),t[P]),a[P]),b=e(c(C),f(C,v,d)),k=S,S=A,A=l,l=e(m,w),m=d,d=v,v=C,C=e(w,b);o[0]=e(C,o[0]),o[1]=e(v,o[1]),o[2]=e(d,o[2]),o[3]=e(m,o[3]),o[4]=e(l,o[4]),o[5]=e(A,o[5]),o[6]=e(S,o[6]),o[7]=e(k,o[7])}return o}function v(r){for(var n=Array(),t=255,e=0;e<8*r.length;e+=8)n[e>>5]|=(r.charCodeAt(e/8)&t)<<24-e%32;return n}function d(r){for(var n="",t=0;t<r.length;t++){var e=r.charCodeAt(t);e<128?n+=String.fromCharCode(e):e>127&&e<2048?(n+=String.fromCharCode(e>>6|192),n+=String.fromCharCode(63&e|128)):(n+=String.fromCharCode(e>>12|224),n+=String.fromCharCode(e>>6&63|128),n+=String.fromCharCode(63&e|128))}return n}function m(r){for(var n="0123456789abcdef",t="",e=0;e<4*r.length;e++)t+=n.charAt(r[e>>2]>>8*(3-e%4)+4&15)+n.charAt(r[e>>2]>>8*(3-e%4)&15);return t}return m(C(v(r=d(r)),8*r.length))}return r}()}).call(this),Package._define("sha",{SHA256:e})}();
155
156!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,o=Package.meteor.meteorEnv,s=Package["accounts-base"].Accounts,a=Package.sha.SHA256,n=Package.ejson.EJSON,t=Package["ddp-client"].DDP,c=Package.modules.meteorInstall,i=Package.modules.meteorBabelHelpers,d=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,u=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,w;c({node_modules:{meteor:{"accounts-password":{
156"password_client.js":function r(o,n,r){var t;r.link("@babel/runtime/helpers/objectSpread2",{default:function(e){t=e}},0);var c=function(e,r){if(!r)throw e;r(e)},i=function(e){var r=e.selector,o=e.password,a=e.code,n=e.callback;return"string"==typeof r&&(r=r.includes("@")?{email:r}:{username:r}),s.callLoginMethod({methodArguments:[{user:r,password:s._hashPassword(o),code:a}],userCallback:function(e,r){e?c(e,n):n&&n()}}),r};e.loginWithPassword=function(e,r,o){return i({selector:e,password:r,callback:o})},s._hashPassword=function(e){return{digest:a(e),algorithm:"sha-256"}},e.loginWithPasswordAnd2faCode=function(r,o,s,a){if(null==s||"string"!=typeof s||!s)throw new e.Error(400,"token is required to use loginWithPasswordAnd2faCode and must be a string");return i({selector:r,password:o,code:s,callback:a})},s.createUser=function(r,o){if("string"!=typeof(r=t({},r)).password)throw new Error("options.password must be a string");if(!r.password)return c(new e.Error(400,"Password may not be empty"),o);r.password=s._hashPassword(r.password),s.callLoginMethod({methodName:"createUser",methodArguments:[r],userCallback:o})},s.changePassword=function(r,o,a){return e.user()?!o instanceof String?c(new e.Error(400,"Password must be a string"),a):o?void s.connection.apply("changePassword",[r?s._hashPassword(r):null,s._hashPassword(o)],(function(e,r){e||!r?c(e||new Error("No result from changePassword."),a):a&&a()})):c(new e.Error(400,"Password may not be empty"),a):c(new Error("Mu
156st be logged in to change password."),a)},s.forgotPassword=function(r,o){if(!r.email)return c(new e.Error(400,"Must pass options.email"),o);o?s.connection.call("forgotPassword",r,o):s.connection.call("forgotPassword",r)},s.resetPassword=function(r,o,a){return!r instanceof String?c(new e.Error(400,"Token must be a string"),a):!o instanceof String?c(new e.Error(400,"Password must be a string"),a):o?void s.callLoginMethod({methodName:"resetPassword",methodArguments:[r,s._hashPassword(o)],userCallback:a}):c(new e.Error(400,"Password may not be empty"),a)},s.verifyEmail=function(r,o){if(!r)return c(new e.Error(400,"Need to pass token"),o);s.callLoginMethod({methodName:"verifyEmail",methodArguments:[r],userCallback:o})}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/accounts-password/password_client.js"),Package._define("accounts-password")}();
157
158!function(){var n=Package.meteor.Meteor,e=Package.meteor.global,o=Package.meteor.meteorEnv,i=Package.tracker.Tracker,t=Package.tracker.Deps,s=Package["service-configuration"].ServiceConfiguration,r=Package["accounts-base"].Accounts,l=Package["templating-runtime"].Template,u=Package.session.Session,a=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,g=Package.promise.Promise,d=Package["ecmascript-runtime-client"].Symbol,p=Package["ecmascript-runtime-client"].Map,f=Package["ecmascript-runtime-client"].Set,m=Package.blaze.Blaze,w=Package.blaze.UI,v=Package.blaze.Handlebars,_=Package.spacebars.Spacebars,k=Package.htmljs.HTML,b=a({node_modules:{meteor:{"accounts-ui-unstyled":{
158"accounts_ui.js":function e(o,i,e){e.export({passwordSignupFields:function(){return d},passwordlessSignupFields:function(){return p}}),r.ui={_options:{requestPermissions:Object.create(null),requestOfflineToken:Object.create(null),forceApprovalPrompt:Object.create(null)}};var t=(new f).add("passwordSignupFields").add("requestPermissions").add("requestOfflineToken").add("forceApprovalPrompt").add("passwordlessSignupFields"),s=(new f).add("USERNAME_AND_EMAIL").add("USERNAME_AND_OPTIONAL_EMAIL").add("USERNAME_ONLY").add("EMAIL_ONLY");function l(n){return s.has(n)}var u=(new f).add("USERNAME_AND_EMAIL").add("EMAIL_ONLY");function a(n){return u.has(n)}function c(n){var e=n.passwordlessSignupFields;if(e){var o=function(){throw new Error("Accounts.ui.config: Invalid option for `passwordlessSignupFields`: "+e)};if("string"==typeof e?e=[e]:Array.isArray(e)||o(),e.every(a)){if(r.ui._options.passwordlessSignupFields)throw new Error("Accounts.ui.config: Can't set `passwordlessSignupFields` more than once");return void Object.assign(r.ui._options,{passwordlessSignupFields:e})}o()}}function g(n){var e=n.passwordSignupFields;if(e){var o=function(){throw new Error("Accounts.ui.config: Invalid option for `passwordSignupFields`: "+e)};if("string"==typeof e?e=[e]:Array.isArray(e)||o(),e.every(l)){if(r.ui._options.passwordSignupFields)throw new Error("Accounts.ui.config: Can't set `passwordSignupFields` more than once");return void Object.assign(r.ui._options,{passwordSignupFields:e})}o()}}function d(){var n=r.ui._options.passwordSignupFields;return Array.isArray(n)?n:"string"==typeof n?[n]:["EMAIL_ONLY"]}function p(){var n=r.ui._options.passwordlessSignupFields;return Array.isArray(n)?n:"string"==typeof n?[n]:["EMAIL_ONLY"]}function m(n){var e=n.requestPermissions;e&&Object.keys(e).forEach((function(n){if(r.ui._options.requestPermissions[n])throw new Error("Accounts.ui.config: Can't set `requestPermissions` more than once for "+n);var o=e[n];if(!Array.isArray(o))throw new Error("Accounts.ui.config: Value for `requestPermissions` must be an array");r.ui._options.requestPermissions[n]=o}))}function w(n){var e=n.requestOfflineToken;e&&Object.keys(e).forEach((function(n){if("google"!==n)throw new Error("Accounts.ui.config: `requestOfflineToken` only supported for Google login at the moment.");if(r.ui._options.requestOfflineToken[n])throw new Error("Accounts.ui.config: Can't set `requestOfflineToken` more than once for "+n);r.ui._options.requestOfflineToken[n]=e[n]}))}function v(n){var e=n.forceApprovalPrompt;e&&Object.keys(e).forEach((function(n){if("google"!==n)throw new Error("Accounts.ui.config: `forceApprovalPrompt` only supported for Google login at the moment.");if(r.ui._options.forceApprovalPrompt[n])throw new Error("Accounts.ui.config: Can't set `forceApprovalPrompt` more than once for "+n);r.ui._options.forceApprovalPrompt[n]=e[n]}))}r.ui.config=function(n){Object.keys(n).forEach((function(n){if(!t.has(n))throw new Error("Accounts.ui.config: Invalid option: "+n)})),g(n),c(n),m(n),w(n),v(n)},n.startup((function(){var e,o,i=null===(e=n.settings.public)||void 0===e||null===(o=e.packages)||void 0===o?void 0:o["accounts-ui-unstyled"];i&&r.ui.config(i)}))},
158"template.login_buttons.js":function n(){l.__checkName("loginButtons"),l.loginButtons=new l("Template.loginButtons",(function(){var n=this;return k.DIV({id:"login-buttons",class:function(){return["login-buttons-dropdown-align-",_.mustache(n.lookup("align"))]}},"\n    ",m.If((function(){return _.call(n.lookup("currentUser"))}),(function(){return["\n      ",m.If((function(){return _.call(n.lookup("loggingInOrOut"))}),(function(){return["\n        \n        ",m.If((function(){return _.call(n.lookup("dropdown"))}),(function(){return["\n          ",_.include(n.lookupTemplate("_loginButtonsLoggingIn")),"\n        "]}),(function(){return["\n          ",k.DIV({class:"login-buttons-with-only-one-button"},"\n            ",_.include(n.lookupTemplate("_loginButtonsLoggingInSingleLoginButton")),"\n          "),"\n        "]})),"\n      "]}),(function(){return["\n        ",_.include(n.lookupTemplate("_loginButtonsLoggedIn")),"\n      "]})),"\n    "]}),(function(){return["\n      ",_.include(n.lookupTemplate("_loginButtonsLoggedOut")),"\n    "]})),"\n  ")})),l.__checkName("_loginButtonsLoggedIn"),l._loginButtonsLoggedIn=new l("Template._loginButtonsLoggedIn",(function(){var n=this;return m.If((function(){return _.call(n.lookup("dropdown"))}),(function(){return["\n    ",_.include(n.lookupTemplate("_loginButtonsLoggedInDropdown")),"\n  "]}),(function(){return["\n    ",k.DIV({class:"login-buttons-with-only-one-button"},"\n      ",_.include(n.lookupTemplate("_loginButtonsLoggedInSingleLogoutButton")),"\n    "),"\n  "]}))})),l.__checkName("_loginButtonsLoggedOut"),l._loginButtonsLoggedOut=new l("Template._loginButtonsLoggedOut",(function(){var n=this;return m.If((function(){return _.call(n.lookup("services"))}),(function(){return[" \n    ",m.If((function(){return _.call(n.lookup("c
158onfigurationLoaded"))}),(function(){return["\n      ",m.If((function(){return _.call(n.lookup("dropdown"))}),(function(){return[" \n        ",_.include(n.lookupTemplate("_loginButtonsLoggedOutDropdown")),"\n      "]}),(function(){return["\n        ",_.With((function(){return _.call(n.lookup("singleService"))}),(function(){return[" \n          ",k.DIV({class:"login-buttons-with-only-one-button"},"\n            ",m.If((function(){return _.call(n.lookup("loggingIn"))}),(function(){return["\n              ",_.include(n.lookupTemplate("_loginButtonsLoggingInSingleLoginButton")),"\n            "]}),(function(){return["\n              ",_.include(n.lookupTemplate("_loginButtonsLoggedOutSingleLoginButton")),"\n            "]})),"\n          "),"\n        "]})),"\n      "]})),"\n    "]})),"\n  "]}),(function(){return k.Raw('\n    <div class="no-services">No login services configured</div>\n  ')}))})),l.__checkName("_loginButtonsMessages"),l._loginButtonsMessages=new l("Template._loginButtonsMessages",(function(){var n=this;return[m.If((function(){return _.call(n.lookup("errorMessage"))}),(function(){return["\n    ",k.DIV({class:"message error-message"},m.View("lookup:errorMessage",(function(){return _.mustache(n.lookup("errorMessage"))}))),"\n  "]})),"\n  ",m.If((function(){return _.call(n.lookup("infoMessage"))}),(function(){return["\n    ",k.DIV({class:"message info-message"},m.View("lookup:infoMessage",(function(){return _.mustache(n.lookup("infoMessage"))}))),"\n  "]}))]})),l.__checkName("_loginButtonsLoggingIn"),l._loginButtonsLoggingIn=new l("Template._loginButtonsLoggingIn",(function(){var n=this;return[_.include(n.lookupTemplate("_loginButtonsLoggingInPadding")),k.Raw('\n  <div class="loading">&nbsp;</div>\n  '),_.include(n.lookupTemplate("_loginButtonsLoggingInPadding"))]})),l.__checkName("_loginButtonsLoggingInPadding"),l._loginButtonsLoggingInPadding=new l("Template._loginButtonsLoggingInPadding",(function(){var n=this;return m.Unless((function(){return _.call(n.lookup("dropdown"))}),(function(){return k.Raw('\n    \n    <div class="login-buttons-padding">\n      <div class="login-button single-login-button" style="visibility: hidden;" id="login-buttons-logout">&nbsp;</div>\n    </div>\n  ')}),(function(){return k.Raw('\n    \n    <div class="login-buttons-padding"></div>\n  ')}))}))},
158"template.login_buttons_single.js":function n(){l.__checkName("_loginButtonsLoggedOutSingleLoginButton"),l._loginButtonsLoggedOutSingleLoginButton=new l("Template._loginButtonsLoggedOutSingleLoginButton",(function(){var n=this;return k.DIV({class:"login-text-and-button"},"\n    ",k.DIV({class:function(){return["login-button single-login-button ",m.Unless((function(){return _.call(n.lookup("configured"))}),(function(){return"configure-button"}))]},id:function(){return["login-buttons-",_.mustache(n.lookup("name"))]}},"\n      ",m.If((function(){return _.call(n.lookup("cannotConfigure"))}),(function(){return["\n        ",k.SPAN({class:""},m.View("lookup:capitalizedName",(function(){return _.mustache(n.lookup("capitalizedName"))}))," not configured"),"\n      "]}),(function(){return["\n        ",k.DIV({class:"login-image",id:function(){return["login-buttons-image-",_.mustache(n.lookup("name"))]}}),"\n        ",m.If((function(){return _.call(n.lookup("configured"))}),(function(){return["\n          ",k.SPAN({class:function(){return["text-besides-image sign-in-text-",_.mustache(n.lookup("name"))]}},"Sign in with ",m.View("lookup:capitalizedName",(function(){return _.mustache(n.lookup("capitalizedName"))}))),"\n        "]}),(function(){return["\n            ",k.SPAN({class:function(){return["text-besides-image configure-text-",_.mustache(n.lookup("name"))]}},"Configure ",m.View("lookup:capitalizedName",(function(){return _.mustache(n.lookup("capitalizedName"))}))," Login"),"\n        "]})),"\n      "]})),"\n    "),"\n  ")})),l.__checkName("_loginButtonsLoggingInSingleLoginButton"),l._loginButtonsLoggingInSingleLoginButton=new l("Template._loginButtonsLoggingInSingleLoginButton",(function(){var n=this;return k.DIV({class:"login-text-and-button"},"\n    ",_.include(n.lookupTemplate("_loginButtonsLoggingIn")),"\n  ")})),l.__checkName("_loginButtonsLoggedInSingleLogoutButton"),l._loginButtonsLoggedInSingleLogoutButton=new l("Template._loginButtonsLoggedInSingleLogoutButton",(function(){var n=this;return k.DIV({class:"login-text-and-button"},"\n    ",k.DIV({class:"login-display-name"},"\n      ",m.View("lookup:displayName",(function(){return _.mustache(n.lookup("displayName"))})),"\n    "),k.Raw('\n    <div class="login-button single-login-button" id="login-buttons-logout">Sign Out</div>\n  '))}))},
158"template.login_buttons_dropdown.js":function n(){l.__checkName("_loginButtonsLoggedInDropdown"),l._loginButtonsLoggedInDropdown=new l("Template._loginButtonsLoggedInDropdown",(function(){var n=this;return k.DIV({class:"login-link-and-dropdown-list"},"\n    ",k.A({class:"login-link-text",id:"login-name-link"},"\n      ",m.View("lookup:displayName",(function(){return _.mustache(n.lookup("displayName"))}))," ▾\n    "),"\n\n    ",m.If((function(){return _.call(n.lookup("dropdownVisible"))}),(function(){return["\n      ",k.DIV({id:"login-dropdown-list",class:"accounts-dialog"},k.Raw('\n        <a class="login-close-text">Close</a>\n        <div class="login-close-text-clear"></div>\n\n        '),m.If((function(){return _.call(n.lookup("inMessageOnlyFlow"))}),(function(){return["\n          ",_.include(n.lookupTemplate("_loginButtonsMessages")),"\n        "]}),(function(){return["\n          ",m.If((function(){return _.call(n.lookup("inChangePasswordFlow"))}),(function(){return["\n            ",_.include(n.lookupTemplate("_loginButtonsChangePassword")),"\n          "]}),(function(){return["\n            ",_.include(n.lookupTemplate("_loginButtonsLoggedInDropdownActions")),"\n          "]})),"\n        "]})),"\n      "),"\n    "]})),"\n  ")})),l.__checkName("_loginButtonsLoggedInDropdownActions"),l._loginButtonsLoggedInDropdownActions=new l("Template._loginButtonsLoggedInDropdownActions",(function(){var n=this;return[m.If((function(){return _.call(n.lookup("allowChangingPassword"))}),(function(){return k.Raw('\n    <div class="login-button" id="login-buttons-open-change-password">\n      Change password\n    </div>\n  ')})),k.Raw('\n\n  <div class="login-button" id="login-buttons-logout">\n    Sign out\n  </div>\n\n  '),_.include(n.lookupTemplate("_loginButtonsMessages"))]})),l.__checkName("_loginButtonsLoggedOutDropdown"),l._loginButtonsLoggedOutDropdown=new l("Template._loginButtonsLoggedOutDropdown",(function(){var n=this;return k.DIV({class:function(){return["login-link-and-dropdown-list ",_.mustache(n.lookup("additionalClasses"))]}},"\n    ",m.If((function(){return _.call(n.lookup("dropdownVisible"))}),(function(){return[k.Raw('\n      \n      <a class="login-link-text" id="login-sign-in-link">Sign in ▾</a>\n      '),k.DIV({id:"login-dropdown-list",class:"accounts-dialog"},k.Raw('\n        <a class="login-close-text">Close</a>\n        '),m.If((function(){return _.call(n.lookup("loggingIn"))}),(function(){return["\n          ",_.include(n.lookupTemplate("_loginButtonsLoggingIn")),"\n        "]})),k.Raw('\n        <div class="login-close-text-clear"></div>\n        '),_.include(n.lookupTemplate("_loginButtonsLoggedOutAllServices")),"\n      "),"\n    "]}),(function(){return["\n      ",m.If((function(){return _.call(n.lookup("loggingIn"))}),(function(){return["\n        \n        ",_.include(n.lookupTemplate("_loginButtonsLoggingIn")),"\n      "]}),(function(){return k.Raw('\n        <a class="login-link-text" id="login-sign-in-link">Sign in ▾</a>\n      ')})),"\n    "]})),"\n  ")})),l.__checkName("_loginButtonsLoggedOutAllServices"),l._loginButtonsLoggedOutAllServices=new l("Template._loginButtonsLoggedOutAllServices",(function(){var n=this;return[m.Each((function(){return _.call(n.lookup("services"))}),(function(){return["\n    ",m.If((function(){return _.call(n.lookup("isInternalService"))}),(function(){return["\n      ",m.If((function(){return _.call(n.lookup("isPasswordService"))}),(function(){return["\n        ",m.If((function(){return _.call(n.lookup("hasOtherServices"))}),(function(){return[" \n          ",_.include(n.lookupTemplate("_loginButtonsLoggedOutPasswordServiceSeparator")),"\n        "]})),"\n        ",_.include(n.lookupTemplate("_loginButtonsLoggedOutPasswordService")),"\n      "]})),"\n      ",m.If((function(){return _.call(n.lookup("isPasswordlessService"))}),(function(){return["\n        ",m.If((function(){return _.call(n.lookup("hasPasswordService"))}),(function(){return k.Raw("\n          <br>\n        ")})),"\n        ",m.If((function(){return _.call(n.lookup("displaySeparatorForPasswordless"))}),(function(){return[" \n          ",_.include(n.lookupTemplate("_loginButtonsLoggedOutPasswordServiceSeparator")),"\n        "]})),"\n        ",_.include(n.lookupTemplate("_loginButtonsLoggedOutPasswordlessService")),"\n      "]})),"\n    "]}),(function(){return["\n      ",_.include(n.lookupTemplate("_loginButtonsLoggedOutSingleLoginButton")),"\n    "]})),"\n  "]})),"\n  ",m.Unless((function(){return _.call(n.lookup("hasInternalService"))}),(function(){return["\n    ",_.include(n.lookupTemplate("_loginButtonsMessages")),"\n  "]}))]})),l.__checkName("_loginButtonsLoggedOutPasswordlessService"),l._loginButtonsLoggedOutPasswordlessService=new l("Template._loginButtonsLoggedOutPasswordlessService",(function(){var n=this;return k.FORM({class:"login-form login-passwordless-form"},"\n    ",m.Each((function(){return _.call(n.lookup("fields"))}),(function(){return["\n      ",_.include(n.lookupTemplate("_loginButtonsFormField")),"\n    "]})),"\n\n    ",_.include(n.lookupTemplate("_loginButtonsMessages")),"\n\n    ",k.BUTTON({class:"login-button login-button-form-submit",id:"login-buttons-passwordless"},"\n      ",m.If((function(){return _.call(n.lookup("inPasswordlessConfirmation"))}),(function(){return"\n        Submit\n      "}),(function(){return["\n        ",m.If((function(){return _.call(n.lookup("inSignupFlow"))}),(function(){return"\n          Create account\n        "}),(function(){return"\n          Get login code\n        "})),"\n      "]})),"\n    "),"\n    ",m.If((function(){return _.call(n.lookup("inLoginFlow"))}),(function(){return["\n      ",m.If((function(){return _.call(n.lookup("showCreateAccountLink"))}),(function(){return k.Raw('\n        <div class="additional-link-container">\n          <a id="signup-link" class="additional-link">Create account</a>\n        </div>\n      ')})),"\n\n      ",m.If((function(){return _.call(n.lookup("inPasswordlessConfirmation"))}),(function(){return k.Raw('\n        <div class="additional-link-container">\n          <a id="resend-passwordless-code" class="additional-link">
158Re-send code</a>\n        </div>\n      ')})),"\n    "]})),"\n    ",m.If((function(){return _.call(n.lookup("inSignupFlow"))}),(function(){return["\n      ",_.include(n.lookupTemplate("_loginButtonsBackToLoginLink")),"\n    "]})),"\n  ")})),l.__checkName("_loginButtonsLoggedOutPasswordServiceSeparator"),l._loginButtonsLoggedOutPasswordServiceSeparator=new l("Template._loginButtonsLoggedOutPasswordServiceSeparator",(function(){var n=this;return k.Raw('<div class="or">\n    <span class="hline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>\n    <span class="or-text">or</span>\n    <span class="hline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>\n  </div>')})),l.__checkName("_loginButtonsLoggedOutPasswordService"),l._loginButtonsLoggedOutPasswordService=new l("Template._loginButtonsLoggedOutPasswordService",(function(){var n=this;return m.If((function(){return _.call(n.lookup("inForgotPasswordFlow"))}),(function(){return["\n    ",_.include(n.lookupTemplate("_forgotPasswordForm")),"\n  "]}),(function(){return["\n    ",k.FORM({class:"login-form login-password-form"},"\n      ",m.Each((function(){return _.call(n.lookup("fields"))}),(function(){return["\n        ",_.include(n.lookupTemplate("_loginButtonsFormField")),"\n      "]})),"\n\n      ",_.include(n.lookupTemplate("_loginButtonsMessages")),"\n\n      ",k.BUTTON({class:"login-button login-button-form-submit",id:"login-buttons-password"},"\n        ",m.If((function(){return _.call(n.lookup("inSignupFlow"))}),(function(){return"\n          Create account\n        "}),(function(){return"\n          Sign in\n        "})),"\n      "),"\n\n      ",m.If((function(){return _.call(n.lookup("inLoginFlow"))}),(function(){return["\n        ",m.If((function(){return _.call(n.lookup("showCreateAccountLink"))}),(function(){return k.Raw('\n          <div class="additional-link-container">\n            <a id="signup-link" class="additional-link">Create account</a>\n          </div>\n        ')})),"\n\n        ",m.If((function(){return _.call(n.lookup("showForgotPasswordLink"))}),(function(){return k.Raw('\n          <div class="additional-link-container">\n            <a id="forgot-password-link" class="additional-link">Forgot password</a>\n          </div>\n        ')})),"\n      "]})),"\n\n      ",m.If((function(){return _.call(n.lookup("inSignupFlow"))}),(function(){return["\n        ",_.include(n.lookupTemplate("_loginButtonsBackToLoginLink")),"\n      "]})),"\n    "),"\n  "]}))})),l.__checkName("_forgotPasswordForm"),l._forgotPasswordForm=new l("Template._forgotPasswordForm",(function(){var n=this;return k.FORM({class:"login-form"},k.Raw('\n    <div id="forgot-password-email-label-and-input"> \n      <label id="forgot-password-email-label" for="forgot-password-email">Email</label>\n      <input id="forgot-password-email" type="email" autocomplete="email">\n    </div>\n\n    '),_.include(n.lookupTemplate("_loginButtonsMessages")),k.Raw('\n\n    <div class="login-button login-button-form-submit" id="login-buttons-forgot-password">\n      Reset password\n    </div>\n\n    '),_.include(n.lookupTemplate("_loginButtonsBackToLoginLink")),"\n  ")})),l.__checkName("_loginButtonsBackToLoginLink"),l._loginButtonsBackToLoginLink=new l("Template._loginButtonsBackToLoginLink",(function(){var n=this;return k.Raw('<div class="additional-link-container">\n    <a id="back-to-login-link" class="additional-link">Sign in</a>\n  </div>')})),l.__checkName("_loginButtonsFormField"),l._loginButtonsFormField=new l("Template._loginButtonsFormField",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}),(function(){return["\n    ",k.DIV({id:function(){return["login-",_.mustache(n.lookup("fieldName")),"-label-and-input"]},style:function(){return _.mustache(n.lookup("fieldStyle"))}},"\n      ",k.LABEL({id:function(){return["login-",_.mustache(n.lookup("fieldName")),"-label"]},for:function(){return["login-",_.mustache(n.lookup("fieldName"))]}},"\n        ",m.View("lookup:fieldLabel",(function(){return _.mustache(n.lookup("fieldLabel"))})),"\n      "),"\n      ",k.INPUT({id:function(){return["login-",_.mustache(n.lookup("fieldName"))]},type:function(){return _.mustache(n.lookup("inputType"))},value:function(){return _.mustache(n.lookup("fieldValue"))},autocomplete:function(){return _.mustache(n.lookup("autocomplete"))}}),"\n    "),"\n  "]}))})),l.__checkName("_loginButtonsChangePassword"),l._loginButtonsChangePassword=new l("Template._loginButtonsChangePassword",(function(){var n=this;return k.FORM({class:"login-form"},"\n\n    ",m.Each((function(){return _.call(n.lookup("fields"))}),(function(){return["\n      ",_.include(n.lookupTemplate("_loginButtonsFormField")),"\n    "]})),"\n\n    ",_.include(n.lookupTemplate("_loginButtonsMessages")),k.Raw('\n\n    <div class="login-button login-button-form-submit" id="login-buttons-do-change-password">\n      Change password\n    </div>\n  '))}))},
158"template.login_buttons_dialogs.js":function e(){l.body.addContent((function(){var n=this;return[_.include(n.lookupTemplate("_resetPasswordDialog")),"\n  ",_.include(n.lookupTemplate("_justResetPasswordDialog")),"\n  ",_.include(n.lookupTemplate("_enrollAccountDialog")),"\n  ",_.include(n.lookupTemplate("_justVerifiedEmailDialog")),"\n  ",_.include(n.lookupTemplate("_configureLoginServiceDialog")),"\n  ",_.include(n.lookupTemplate("_configureLoginOnDesktopDialog")),"\n\n  \n  ",_.include(n.lookupTemplate("_loginButtonsMessagesDialog"))]})),n.startup(l.body.renderToDocument),l.__checkName("_resetPasswordDialog"),l._resetPasswordDialog=new l("Template._resetPasswordDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("inResetPasswordFlow"))}),(function(){return[k.Raw('\n    <div class="hide-background"></div>\n\n    '),k.FORM({class:"accounts-dialog accounts-centered-dialog"},k.Raw('\n      <label id="reset-password-username-email-label" for="reset-password-username-email" style="display: none;">\n        Username or email\n      </label> \n\n      '),k.DIV({class:"reset-password-username-email-wrapper",style:"display: none;"},"\n        ",k.INPUT({id:"reset-password-username-email",type:"text",value:function(){return _.mustache(n.lookup("displayName"))},autocomplete:"username email",disabled:""}),"\n      "),k.Raw('\n\n      <label id="reset-password-new-password-label" for="reset-password-new-password">\n        New password\n      </label>      \n\n      <div class="reset-password-new-password-wrapper">\n        <input id="reset-password-new-password" type="password" autocomplete="new-password">\n      </div>\n\n      '),_.include(n.lookupTemplate("_loginButtonsMessages")),k.Raw('\n\n      <div class="login-button login-button-form-submit" id="login-buttons-reset-password-button">\n        Set password\n      </div>\n\n      <a class="accounts-close" id="login-buttons-cancel-reset-password">&times;</a>\n    ')),"\n  "]}))})),l.__checkName("_justResetPasswordDialog"),l._justResetPasswordDialog=new l("Template._justResetPasswordDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}),(function(){return["\n    ",k.DIV({class:"accounts-dialog accounts-centered-dialog"},"\n      Password reset.\n      You are now logged in as ",m.View("lookup:displayName",(function(){return _.mustache(n.lookup("displayName"))})),k.Raw('.\n      <div class="login-button" id="just-verified-dismiss-button">Dismiss</div>\n    ')),"\n  "]}))})),l.__checkName("_enrollAccountDialog"),l._enrollAccountDialog=new l("Template._enrollAccountDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("inEnrollAccountFlow"))}),(function(){return[k.Raw('\n    <div class="hide-background"></div>\n\n    '),k.FORM({class:"accounts-dialog accounts-centered-dialog"},k.Raw('\n      <label id="enroll-account-username-email-label" for="enroll-account-username-email" style="display: none;">\n        Username or email\n      </label> \n\n      '),k.DIV({class:"enroll-account-username-email-wrapper",style:"display: none;"},"\n        ",k.INPUT({id:"enroll-account-username-email",type:"text",value:function(){return _.mustache(n.lookup("displayName"))},autocomplete:"username email",disabled:""}),"\n      "),k.Raw('\n\n      <label id="enroll-account-password-label" for="enroll-account-password">\n        Choose a password\n      </label>\n\n      <div class="enroll-account-password-wrapper">\n        <input id="enroll-account-password" type="password" autocomplete="new-password">\n      </div>\n\n      '),_.include(n.lookupTemplate("_loginButtonsMessages")),k.Raw('\n\n      <div class="login-button login-button-form-submit" id="login-buttons-enroll-account-button">\n        Create account\n      </div>\n\n      <a class="accounts-close" id="login-buttons-cancel-enroll-account">&times;</a>\n    ')),"\n  "]}))})),l.__checkName("_justVerifiedEmailDialog"),l._justVerifiedEmailDialog=new l("Template._justVerifiedEmailDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}),(function(){return["\n    ",k.DIV({class:"accounts-dialog accounts-centered-dialog"},"\n      Email verified.\n      You are now logged in as ",m.View("lookup:displayName",(function(){return _.mustache(n.lookup("displayName"))})),k.Raw('.\n      <div class="login-button" id="just-verified-dismiss-button">Dismiss</div>\n    ')),"\n  "]}))})),l.__checkName("_configureLoginServiceDialog"),l._configureLoginServiceDialog=new l("Template._configureLoginServiceDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}
158),(function(){return["\n    ",k.DIV({id:"configure-login-service-dialog",class:"accounts-dialog accounts-centered-dialog"},"\n      ",_.include(n.lookupTemplate("configurationSteps")),k.Raw("\n\n      <p>\n        Now, copy over some details.\n      </p>\n      "),k.P("\n        ",k.TABLE(k.Raw('\n          <colgroup>\n            <col span="1" class="configuration_labels">\n            <col span="1" class="configuration_inputs">\n          </colgroup>\n          '),m.Each((function(){return _.call(n.lookup("configurationFields"))}),(function(){return["\n            ",k.TR("\n              ",k.TD("\n                ",k.LABEL({for:function(){return["configure-login-service-dialog-",_.mustache(n.lookup("property"))]}},m.View("lookup:label",(function(){return _.mustache(n.lookup("label"))}))),"\n              "),"\n              ",k.TD("\n                ",k.INPUT({id:function(){return["configure-login-service-dialog-",_.mustache(n.lookup("property"))]},type:"text"}),"\n              "),"\n            "),"\n          "]})),"\n        "),"\n      "),k.Raw('\n      <p class="new-section">\n        Choose the login style:\n      </p>\n      <p>\n        &emsp;<input id="configure-login-service-dialog-popupBasedLogin" type="radio" checked="checked" name="loginStyle" value="popup">\n        <label for="configure-login-service-dialog-popupBasedLogin">Popup-based login (recommended for most applications)</label>\n\n        <br>&emsp;<input id="configure-login-service-dialog-redirectBasedLogin" type="radio" name="loginStyle" value="redirect">\n        <label for="configure-login-service-dialog-redirectBasedLogin">\n          Redirect-based login (special cases explained\n          <a href="https://github.com/meteor/meteor/wiki/OAuth-for-mobile-Meteor-clients#popup-versus-redirect-flow" target="_blank">here</a>)\n        </label>\n      </p>\n      '),k.DIV({class:"new-section"},k.Raw('\n        <div class="login-button configure-login-service-dismiss-button">\n          I\'ll do this later\n        </div>\n        <a class="accounts-close configure-login-service-dismiss-button">&times;</a>\n\n        '),k.DIV({class:function(){return["login-button login-button-configure ",m.If((function(){return _.call(n.lookup("saveDisabled"))}),(function(){return"login-button-disabled"}))]},id:"configure-login-service-dialog-save-configuration"},"\n          Save Configuration\n        "),"\n      "),"\n    "),"\n  "]}))})),l.__checkName("_loginButtonsMessagesDialog"),l._loginButtonsMessagesDialog=new l("Template._loginButtonsMessagesDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}),(function(){return["\n    ",k.DIV({class:"accounts-dialog accounts-centered-dialog",id:"login-buttons-message-dialog"},"\n      ",_.include(n.lookupTemplate("_loginButtonsMessages")),k.Raw('\n      <div class="login-button" id="messages-dialog-dismiss-button">Dismiss</div>\n    ')),"\n  "]}))})),l.__checkName("_configureLoginOnDesktopDialog"),l._configureLoginOnDesktopDialog=new l("Template._configureLoginOnDesktopDialog",(function(){var n=this;return m.If((function(){return _.call(n.lookup("visible"))}),(function(){return k.Raw('\n    <div class="accounts-dialog accounts-centered-dialog" id="configure-on-desktop-dialog">\n      <p>\n        Please configure login on a desktop browser.\n      </p>\n      <div class="login-button" id="configure-on-desktop-dismiss-button">Dismiss</div>\n    </div>\n  ')}))}))},
158"login_buttons_session.js":function e(){var o=["dropdownVisible","inSignupFlow","inForgotPasswordFlow","inChangePasswordFlow","inMessageOnlyFlow","inPasswordlessConfirmation","passwordlessCodeEmail","errorMessage","infoMessage","resetPasswordToken","enrollAccountToken","justVerifiedEmail","justResetPassword","configureLoginServiceDialogVisible","configureLoginServiceDialogServiceName","configureLoginServiceDialogSaveDisabled","configureOnDesktopVisible"],i=function(n){if(!o.includes(n))throw new Error("Invalid key in loginButtonsSession: "+n)},t="Meteor.loginButtons.",s=function(n,e){if(i(n),["errorMessage","infoMessage"].includes(n))throw new Error("Don't set errorMessage or infoMessage directly. Instead, use errorMessage() or infoMessage().");l(n,e)},l=function(n,e){return u.set(t+n,e)},a=function(n){return i(n),u.get(t+n)},c=function(){s("inSignupFlow",!1),s("inForgotPasswordFlow",!1),s("inChangePasswordFlow",!1),s("inMessageOnlyFlow",!1),s("dropdownVisible",!1),m()},g=function(n){l("errorMessage",null),l("infoMessage",n),f()},d=function(n){l("errorMessage",n),l("infoMessage",null),f()},p=function(){return a("resetPasswordToken")||a("enrollAccountToken")||a("justVerifiedEmail")},f=function(){p()||s("dropdownVisible",!0)},m=function(){l("errorMessage",null),l("infoMessage",null)},w=function(e){n.isCordova?s("configureOnDesktopVisible",!0):(s("configureLoginServiceDialogVisible",!0),s("configureLoginServiceDialogServiceName",e),s("configureLoginServiceDialogSaveDisabled",!0))};r._loginButtonsSession={set:s,_set:l,get:a,closeDropdown:c,infoMessage:g,errorMessage:d,isMessageDialogVisible:p,ensureMessageVisible:f,resetMessages:m,configureService:w}},
158"login_buttons.js":function e(o,i,e){var t;e.export({displayName:function(){return u},getLoginServices:function(){return a},hasPasswordService:function(){return c},hasPasswordlessService:function(){return g},dropdown:function(){return d},validateUsername:function(){return p},validateEmail:function(){return f},validatePassword:function(){return m}}),e.link("./accounts_ui.js",{passwordSignupFields:function(n){t=n}},0);var s=r._loginButtonsSession;l.loginButtons.events({"click #login-buttons-logout":function(){return n.logout((function(){return s.closeDropdown()}))}}),l.registerHelper("loginButtons",(function(){throw new Error("Use {{> loginButtons}} instead of {{loginButtons}}")}));var u=function(){var e=n.user();return e?e.profile&&e.profile.name?e.profile.name:e.username?e.username:e.emails&&e.emails[0]&&e.emails[0].address?e.emails[0].address:"":""},a=function(){var n=Package["accounts-oauth"]?r.oauth.serviceNames():[];return n.sort(),c()&&n.push("password"),g()&&n.push("passwordless"),n.map((function(n){return{name:n}}))},c=function(){return!!Package["accounts-password"]},g=function(){return!!Package["accounts-passwordless"]},d=function(){return c()||g()||a().length>1},p=function(n){return n.length>=3||(s.errorMessage("Username must be at least 3 characters long"),!1)},f=function(n){return"USERNAME_AND_OPTIONAL_EMAIL"===t()&&""===n||(!!n.includes("@")||(s.errorMessage("Invalid email"),!1))},m=function(n){return n.length>=6||(s.errorMessage("Password must be at least 6 characters long"),!1)};l._loginButtonsLoggedOut.helpers({dropdown:d,services:a,singleService:function(){var n=a();if(1!==n.length)throw new Error("Shouldn't be rendering this template with more than one configured service");return n[0]},configurationLoaded:function(){return r.loginServicesConfigured()}}),l._loginButtonsLoggedIn.helpers({dropdown:d}),l._loginButtonsLoggedInSingleLogoutButton.helpers({displayName:u}),l._loginButtonsMessages.helpers({errorMessage:function(){return s.get("errorMessage")}}),l._loginButtonsMessages.helpers({infoMessage:function(){return s.get("infoMessage")}}),l._loginButtonsLoggingInPadding.helpers({dropdown:d})},
158"login_buttons_single.js":function e(o,i,e){var t;e.link("./login_buttons.js",{getLoginServices:function(n){t=n}},0);var u=r._loginButtonsSession,a=function(n,e){e?e instanceof r.LoginCancelledError||(e instanceof s.ConfigError?l._configureLoginServiceDialog.templateForService(n)?u.configureService(n):u.errorMessage("No configuration for "+c(n)+".\nUse `ServiceConfiguration` to configure it or install the `"+n+"-config-ui` package."):u.errorMessage(e.reason||"Unknown error")):u.closeDropdown()};r.onPageLoadLogin((function(n){t().map((function(n){return n.name})).includes(n.type)&&a(n.type,n.error)})),l._loginButtonsLoggedOutSingleLoginButton.events({"click .login-button":function(){var e=this.name;u.resetMessages();var o=n["loginWith"+("meteor-developer"===e?"MeteorDeveloperAccount":c(e))],i={};r.ui._options.requestPermissions[e]&&(i.requestPermissions=r.ui._options.requestPermissions[e]),r.ui._options.requestOfflineToken[e]&&(i.requestOfflineToken=r.ui._options.requestOfflineToken[e]),r.ui._options.forceApprovalPrompt[e]&&(i.forceApprovalPrompt=r.ui._options.forceApprovalPrompt[e]),o(i,(function(n){a(e,n)}))}}),l._loginButtonsLoggedOutSingleLoginButton.helpers({cannotConfigure:function(){return!s.configurations.findOne({service:this.name})&&!l._configureLoginServiceDialog.templateForService(this.name)},configured:function(){return!!s.configurations.findOne({service:this.name})},capitalizedName:function(){return"github"===this.name?"GitHub":"meteor-developer"===this.name?"Meteor":c(this.name)}});var c=function(n){var e=null==n?"":String(n);return e.charAt(0).toUpperCase()+e.slice(1)}},
158"login_buttons_dropdown.js":function e(o,t,e){var s,u,a,c,g,d,p,f,m;e.link("./accounts_ui.js",{passwordlessSignupFields:function(n){s=n},passwordSignupFields:function(n){u=n}},0),e.link("./login_buttons.js",{displayName:function(n){a=n},getLoginServices:function(n){c=n},hasPasswordService:function(n){g=n},hasPasswordlessService:function(n){d=n},validateUsername:function(n){p=n},validateEmail:function(n){f=n},validatePassword:function(n){m=n}},1);var w=r._loginButtonsSession,v=function(n){var e=document.getElementById(n);return e?e.value:null},_=function(n){var e=document.getElementById(n);return e?e.value.replace(/^\s*|\s*$/g,""):null},k=function(){w.get("inSignupFlow")?L():h()},b=function(){if(w.resetMessages(),w.get("inPasswordlessConfirmation")){var e=_("login-code-passwordless");n.passwordlessLoginWithToken({email:w.get("passwordlessCodeEmail")},e,(function(n){n?w.errorMessage(n.reason||"Unknown error"):(w.set("inPasswordlessConfirmation",!1),w.set("passwordlessCodeEmail",null))}))}else{var o=_("login-email-passwordless"),i=_("login-username-passwordless");o.includes("@")?r._options.forbidClientAccountCreation?w.errorMessage("Action not allowed"):(null===i||p(i))&&r.requestLoginTokenForUser({selector:o,userData:{email:o,username:i}},(function(n,e){var o;n?w.errorMessage(n.reason||"Unknown error"):(w.set("inPasswordlessConfirmation",!0),w.set("inSignupFlow",!1),w.set("passwordlessCodeEmail",null==e||null===(o=e.selector)||void 0===o?void 0:o.email))})):w.errorMessage("Invalid email")}},h=function(){w.resetMessages();var e=_("login-username"),o=_("login-email"),i=_("login-username-or-email"),t=v("login-password"),s;if(null!==e){if(!p(e))return;s={username:e}}else if(null!==o){if(!f(o))return;s={email:o}}else{if(null===i)throw new Error("Unexpected -- no element to use as a login user selector");if(!p(i))return;s=i}n.loginWithPassword(s,t,(function(n,e){n?w.errorMessage(n.reason||"Unknown error"):w.closeDropdown()}))},L=function(){w.resetMessages();var n={},e=_("login-username");if(null!==e){if(!p(e))return;n.username=e}var o=_("login-email");if(null!==o){if(!f(o))return;n.email=o}var i=v("login-password");m(i)&&(n.password=i,I()&&r.createUser(n,(function(n){n?w.errorMessage(n.reason||"Unknown error"):w.closeDropdown()})))},S=function(){w.resetMessages();var n=_("forgot-password-email");n.includes("@")?r.forgotPassword({email:n},(function(n){n?w.errorMessage(n.reason||"Unknown error"):w.infoMessage("Email sent")})):w.errorMessage("Invalid email")},P=function(){w.resetMessages();var n=v("login-old-password"),e=v("login-password");m(e)&&I()&&r.changePassword(n,e,(function(n){n?w.errorMessage(n.reason||"Unknown error"):(w.set("inChangePasswordFlow",!1),w.set("inMessageOnlyFlow",!0),w.infoMessage("Password changed"))}))},I=function(){var n=v("login-password-again"),e;if(null!==n&&v("login-password")!==n)return w.errorMessage("Passwords don't match"),!1;return!0},B=function(n){var e=u();return Array.isArray(n)?e.reduce((function(e,o){return e&&n.includes(o)}),!0):e.includes(n)},y=function(n){var e=s();return Array.isArray(n)?e.reduce((function(e,o){return e&&n.includes(o)}),!0):e.includes(n)};l.loginButtons.events({"click #login-name-link, click #login-sign-in-link":function(){return w.set("dropdownVisible",!0)},"click .login-close-text":w.closeDropdown}),l._loginButtonsLoggedInDropdown.events({"click #login-buttons-open-change-password":function(){w.resetMessages(),w.set("inChangePasswordFlow",!0)}}),l._loginButtonsLoggedInDropdown.helpers({displayName:a,inChangePasswordFlow:function(){return w.get("inChangePasswordFlow")},inMessageOnlyFlow:function(){return w.get("inMessageOnlyFlow")},dropdownVisible:function(){return w.get("dropdownVisible")}}),l._loginButtonsLoggedInDropdownActions.helpers({allowChangingPassword:function(){if(!Package["accounts-password"])return!1;var e=n.user();return e.username||e.emails&&e.emails[0]&&e.emails[0].address}}),l._loginButtonsLoggedOutDropdown.events({"click #login-buttons-password":function(n){n.preventDefault(),k()},"click #login-buttons-passwordless":function(n){n.preventDefault(),b()}
158,"keypress #forgot-password-email":function(n){13===n.keyCode&&(n.preventDefault(),S())},"click #login-buttons-forgot-password":S,"click #signup-link":function(){w.resetMessages();var n=_("login-username"),e=_("login-email"),o=_("login-username-or-email"),t=v("login-password");w.set("inSignupFlow",!0),w.set("inForgotPasswordFlow",!1),i.flush(),null!==n?document.getElementById("login-username").value=n:null!==e?document.getElementById("login-email").value=e:null!==o&&(o.includes("@")?document.getElementById("login-email").value=o:document.getElementById("login-username").value=o),null!==t&&(document.getElementById("login-password").value=t);var s=document.getElementById("login-dropdown-list");s.style.display="none",s.offsetHeight,s.style.display="block"},"click #forgot-password-link":function(){w.resetMessages();var n=_("login-email"),e=_("login-username-or-email");w.set("inSignupFlow",!1),w.set("inForgotPasswordFlow",!0),i.flush(),null!==n?document.getElementById("forgot-password-email").value=n:null!==e&&e.includes("@")&&(document.getElementById("forgot-password-email").value=e)},"click #resend-passwordless-code":function(){w.set("inPasswordlessConfirmation",!1),w.set("passwordlessCodeEmail",null)},"click #back-to-login-link":function(){w.resetMessages();var n=_("login-username"),e=_("login-email")||_("forgot-password-email"),o=v("login-password");w.set("inSignupFlow",!1),w.set("inForgotPasswordFlow",!1),i.flush(),document.getElementById("login-username")&&null!==n&&(document.getElementById("login-username").value=n),document.getElementById("login-email")&&null!==e&&(document.getElementById("login-email").value=e);var t=document.getElementById("login-username-or-email");t&&(null!==e&&(t.value=e),null!==n&&(t.value=n)),null!==o&&(document.getElementById("login-password").value=o)}}),l._loginButtonsLoggedOutDropdown.helpers({additionalClasses:function(){return!(!g()||!d())&&(w.get("inSignupFlow")?"login-form-create-account":w.get("inForgotPasswordFlow")?"login-form-forgot-password":"login-form-sign-in")},dropdownVisible:function(){return w.get("dropdownVisible")},hasPasswordService:g,hasPasswordlessService:d}),l._loginButtonsLoggedOutAllServices.helpers({services:c,isPasswordService:function(){return"password"===this.name},isPasswordlessService:function(){return"passwordless"===this.name},hasOtherServices:function(){var n=0;return d()&&n++,g()&&n++,c().length>n},displaySeparatorForPasswordless:function(){return g()||c().length>1},isInternalService:function(){return"password"===this.name||"passwordless"===this.name},hasInternalService:function(){return g()||d()},hasPasswordService:g,hasPasswordlessService:d}),l._loginButtonsLoggedOutPasswordlessService.helpers({fields:function(){return[{fieldName:"email-passwordless",fieldLabel:"Email",autocomplete:"email",inputType:"email",visible:function(){return!w.get("inPasswordlessConfirmation")}},{fieldName:"username-passwordless",fieldLabel:"Username",autocomplete:"username",inputType:"text",visible:function(){return y("USERNAME_AND_EMAIL")&&w.get("inSignupFlow")}},{fieldName:"code-passwordless",fieldLabel:"Code",inputType:"text",visible:function(){return w.get("inPasswordlessConfirmation")}}]},inForgotPasswordFlow:function(){return w.get("inForgotPasswordFlow")},inPasswordlessConfirmation:function(){return w.get("inPasswordlessConfirmation")},inLoginFlow:function(){return!w.get("inSignupFlow")&&!w.get("inForgotPasswordFlow")},inSignupFlow:function(){return w.get("inSignupFlow")},showCreateAccountLink:function(){return!r._options.forbidClientAccountCreation}}),l._loginButtonsLoggedOutPasswordService.helpers({fields:function(){var n=[{fieldName:"username-or-email",fieldLabel:"Username or Email",autocomplete:"username email",visible:function(){return B(["USERNAME_AND_EMAIL","USERNAME_AND_OPTIONAL_EMAIL"])}},{fieldName:"username",fieldLabel:"Username",autocomplete:"username",visible:function(){return B("USERNAME_ONLY")}},{fieldName:"email",fieldLabel:"Email",inputType:"email",autocomplete:"email",visible:function(){return B("EMAIL_ONLY")}},{fieldName:"password",fieldLabel:"Password",inputType:"password",autocomplete:"current-password",visible:function(){return!0}}],e=[{fieldName:"username",fieldLabel:"Username",autocomplete:"username",visible:function(){return B(["USERNAME_AND_EMAIL","USERNAME_AND_OPTIONAL_EMAIL","USERNAME_ONLY"])}},{fieldName:"email",fieldLabel:"Email",inputType:"email",autocomplete:"email",visible:function(){return B(["USERNAME_AND_EMAIL","EMAIL_ONLY"])}},{fieldName:"email",fieldLabel:"Email (optional)",inputType:"email",autocomplete:"email",visible:function(){return B("USERNAME_AND_OPTIONAL_EMAIL")}},{fieldName:"password",fieldLabel:"Password",inputType:"password",autocomplete:"new-password",visible:function(){return!0}},{fieldName:"password-again",fieldLabel:"Password (again)",inputType:"password",autocomplete:"new-password",visible:function(){return B(["USERNAME_AND_OPTIONAL_EMAIL","USERNAME_ONLY"])}}];return w.get("inSignupFlow")?e:n},inForgotPasswordFlow:function(){return w.get("inForgotPasswordFlow")},inLoginFlow:function(){return!w.get("inSignupFlow")&&!w.get("inForgotPasswordFlow")},inSignupFlow:function(){return w.get("inSignupFlow")},showCreateAccountLink:function(){return!r._options.forbidClientAccountCreation},showForgotPasswordLink:function(){return B(["USERNAME_AND_EMAIL","USERNAME_AND_OPTIONAL_EMAIL","EMAIL_ONLY"])}}),l._loginButtonsFormField.helpers({inputType:function(){return this.inputType||"text"}}),l._loginButtonsChangePassword.events({"keypress #login-old-password, keypress #login-password, keypress #login-password-again":function(n){13===n.keyCode&&P()},"click #login-buttons-do-change-password":P}),l._loginButtonsChangePassword.helpers({fields:function(){var e=n.user(),o=e.username,i=e.emails,t;return i&&(t=i[0].address),[{fieldName:"username",fieldLabel:"Username",autocomplete:"username",fieldStyle:"display: none;",fieldValue:o,visible:function(){return B(["USERNAME_AND_EMAIL","USERNAME_AND_OPTIONAL_EMAIL","USERNAME_ONLY"])}},{fieldName:"email",fieldLabel:"Email",inputType:"email",autocomplete:"email",fieldStyle:"display: none;",fieldValue:t,visible:function(){return B(["USERNAME_AND_EMAIL","EMAIL_ONLY"])}},{fieldName:"old-password",fieldLabel:"Current Password",inputType:"password",autocomplete:"current-password",visible:function(){return!0}},{fieldName:"password",fieldLabel:"New Password",inputType:"password",autocomplete:"new-password",visible:function(){return!0}},{fieldName:"password-again",fieldLabel:"New Password (again)",inputType:"password",autocomplete:"new-password",visible:function(){return B(["USERNAME_AND_OPTIONAL_EMAIL","USERNAME_ONLY"])}}]}})},
158"login_buttons_dialogs.js":function e(o,i,e){var t,s,u;e.link("./login_buttons.js",{displayName:function(n){t=n},dropdown:function(n){s=n},validatePassword:function(n){u=n}},0);var a=r._loginButtonsSession,c;r.onResetPasswordLink((function(n,e){a.set("resetPasswordToken",n),c=e})),r.onEnrollmentLink((function(n,e){a.set("enrollAccountToken",n),c=e})),r.onEmailVerificationLink((function(n,e){r.verifyEmail(n,(function(n){n||a.set("justVerifiedEmail",!0),e()}))})),l._resetPasswordDialog.events({"click #login-buttons-reset-password-button":function(){return g()},"keypress #reset-password-new-password":function(n){13===n.keyCode&&g()},"click #login-buttons-cancel-reset-password":function(){a.set("resetPasswordToken",null),c&&c()}});var g=function(){a.resetMessages();var n=document.getElementById("reset-password-new-password").value;u(n)&&r.resetPassword(a.get("resetPasswordToken"),n,(function(n){n?a.errorMessage(n.reason||"Unknown error"):(a.set("resetPasswordToken",null),a.set("justResetPassword",!0),c&&c())}))};l._resetPasswordDialog.helpers({displayName:t,inResetPasswordFlow:function(){return a.get("resetPasswordToken")}}),l._justResetPasswordDialog.events({"click #just-verified-dismiss-button":function(){return a.set("justResetPassword",!1)}}),l._justResetPasswordDialog.helpers({visible:function(){return a.get("justResetPassword")},displayName:t});var d=function(){a.resetMessages();var n=document.getElementById("enroll-account-password").value;u(n)&&r.resetPassword(a.get("enrollAccountToken"),n,(function(n){n?a.errorMessage(n.reason||"Unknown error"):(a.set("enrollAccountToken",null),c&&c())}))};l._enrollAccountDialog.events({"click #login-buttons-enroll-account-button":d,"keypress #enroll-account-password":function(n){13===n.keyCode&&d()},"click #login-buttons-cancel-enroll-account":function(){a.set("enrollAccountToken",null),c&&c()}}),l._enrollAccountDialog.helpers({displayName:t,inEnrollAccountFlow:function(){return a.get("enrollAccountToken")}}),l._justVerifiedEmailDialog.events({"click #just-verified-dismiss-button":function(){return a.set("justVerifiedEmail",!1)}}),l._justVerifiedEmailDialog.helpers({visible:function(){return a.get("justVerifiedEmail")},displayName:t}),l._loginButtonsMessagesDialog.events({"click #messages-dialog-dismiss-button":function(){return a.resetMessages()}}),l._loginButtonsMessagesDialog.helpers({visible:function(){var n=a.get("infoMessage")||a.get("errorMessage");return!s()&&n}}),l._configureLoginServiceDialog.events({"click .configure-login-service-dismiss-button":function(){return a.set("configureLoginServiceDialogVisible",!1)},"click #configure-login-service-dialog-save-configuration":function(){if(a.get("configureLoginServiceDialogVisible")&&!a.get("configureLoginServiceDialogSaveDisabled")){var e=a.get("configureLoginServiceDialogServiceName"),o={service:e};f().forEach((function(n){o[n.property]=document.getElementById("configure-login-service-dialog-"+n.property).value.replace(/^\s*|\s*$/g,"")}));var i=[].slice.call(document.getElementById("configure-login-service-dialog").getElementsByTagName("input"));o.loginStyle=document.querySelector('#configure-login-service-dialog input[name="loginStyle"]:checked').value,r.connection.call("configureLoginService",o,(function(o,i){o?n._debug("Error configuring login service "+e,o):a.set("configureLoginServiceDialogVisible",!1)}))}},"input, keyup input":function(n){0===n.target.id.indexOf("configure-login-service-dialog")&&p()}});var p=function(){var n=f().reduce((function(n,e){return n||""===document.getElementById("configure-login-service-dialog-"+e.property).value}),!1);a.set("configureLoginServiceDialogSaveDisabled",n)};l._configureLoginServiceDialog.templateForService=function(n){return n=n||a.get("configureLoginServiceDialogServiceName"),l["configureLoginServiceDialogFor"+("meteor-developer"===n?"MeteorDeveloper":m(n))]};var f=function(){var n;return l._configureLoginServiceDialog.templateForService().fields()};l._configureLoginServiceDialog.helpers({configurationFields:f,visible:function(){return a.get("configureLoginServiceDialogVisible")},configurationSteps:function(){return l._configureLoginServiceDialog.templateForService()},saveDisabled:function(){return a.get("configureLoginServiceDialogSaveDisabled")}});var m=function(n){return(n=null==n?"":String(n)).charAt(0).toUpperCase()+n.slice(1)};l._configureLoginOnDesktopDialog.helpers({visible:function(){return a.get("configureOnDesktopVisible")}}),l._configureLoginOnDesktopDialog.events({"click #configure-on-desktop-dismiss-button":function(){return a.set("configureOnDesktopVisible",!1)}})}}}}},{extensions:[".js",".json",".html",".less"]});b("/node_modules/meteor/accounts-ui-unstyled/accounts_ui.js"),b("/node_modules/meteor/accounts-ui-unstyled/template.login_buttons.js"),b("/node_modules/meteor/accounts-ui-unstyled/template.login_buttons_single.js"),b("/node_modules/meteor/accounts-ui-unstyled/template.login_buttons_dropdown.js"),b("/node_modules/meteor/accounts-ui-unstyled/template.login_buttons_dialogs.js"),b("/node_modules/meteor/accounts-ui-unstyled/login_buttons_session.js"),b("/node_modules/meteor/accounts-ui-unstyled/login_buttons.js"),b("/node_modules/meteor/accounts-ui-unstyled/login_buttons_single.js"),b("/node_modules/meteor/accounts-ui-unstyled/login_buttons_dropdown.js"),b("/node_modules/meteor/accounts-ui-unstyled/login_buttons_dialogs.js"),Package._define("accounts-ui-unstyled")}();
159
160Package._define("accounts-ui");
161
162Package._define("oauth2");
163
164!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,o=Package.oauth.OAuth,a=Package.random.Random,n=Package["service-configuration"].ServiceConfiguration,r=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,g=Package["ecmascript-runtime-client"].Set,m,h;r({node_modules:{meteor:{"github-oauth":{
164"github_client.js":function e(){(m={}).requestCredential=function(e,t){var i;t||"function"!=typeof e||(t=e,e={});var r=n.configurations.findOne({service:"github"});if(r){var c=a.secret(),u,l=(e&&e.requestPermissions||["user:email"]).map(encodeURIComponent).join("+"),s=o._loginStyle("github",r,e),g="";null!==(i=Accounts._options)&&void 0!==i&&i.forbidClientAccountCreation&&(g="&allow_signup=false");var m="https://github.com/login/oauth/authorize?client_id="+r.clientId+"&scope="+l+"&redirect_uri="+o._redirectUri("github",r)+"&state="+o._stateParam(s,c,e&&e.redirectUrl)+g;o.launchLogin({loginService:"github",loginStyle:s,loginUrl:m,credentialRequestCompleteCallback:t,credentialToken:c,popupOptions:{width:900,height:450}})}else t&&t(new n.ConfigError)}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/github-oauth/github_client.js"),Package._define("github-oauth",{Github:m})}();
165
166!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,a=Package["templating-runtime"].Template,o=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,r=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,g=Package.blaze.Blaze,s=Package.blaze.UI,m=Package.blaze.Handlebars,p=Package.spacebars.Spacebars,b=Package.htmljs.HTML,h=o({node_modules:{meteor:{"github-config-ui":{
166"template.github_configure.js":function e(){a.__checkName("configureLoginServiceDialogForGithub"),a.configureLoginServiceDialogForGithub=new a("Template.configureLoginServiceDialogForGithub",(function(){var e=this;return[b.Raw("<p>\n    First, you'll need to get a Github Client ID. Follow these steps:\n  </p>\n  "),b.OL(b.Raw('\n    <li>\n      Visit <a href="https://github.com/settings/applications/new" target="blank">https://github.com/settings/applications/new</a>\n    </li>\n    '),b.LI("\n      Set Homepage URL to: ",b.SPAN({class:"url"},g.View("lookup:siteUrl",(function(){return p.mustache(e.lookup("siteUrl"))}))),"\n    "),"\n    ",b.LI("\n      Set Authorization callback URL to: ",b.SPAN({class:"url"},g.View("lookup:siteUrl",(function(){return p.mustache(e.lookup("siteUrl"))})),"_oauth/github"),"\n    "),"\n  ")]}))},
166"github_configure.js":function t(){a.configureLoginServiceDialogForGithub.helpers({siteUrl:function(){return e.absoluteUrl()}}),a.configureLoginServiceDialogForGithub.fields=function(){return[{property:"clientId",label:"Client ID"},{property:"secret",label:"Client Secret"}]}}}}}},{extensions:[".js",".json",".css",".html"]});h("/node_modules/meteor/github-config-ui/template.github_configure.js"),h("/node_modules/meteor/github-config-ui/github_configure.js"),Package._define("github-config-ui")}();
167
168!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package["accounts-base"].Accounts,o=Package["github-oauth"].Github,a=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,r=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,g=Package["ecmascript-runtime-client"].Set,l=a({node_modules:{meteor:{"accounts-github":{
168"notice.js":function e(){!Package["accounts-ui"]||Package["service-configuration"]||Object.prototype.hasOwnProperty.call(Package,"github-config-ui")||console.warn("Note: You're using accounts-ui and accounts-github,\nbut didn't install the configuration UI for the GitHub\nOAuth. You can install it with:\n\n    meteor add github-config-ui\n")},
168"github.js":function t(){if(i.oauth.registerService("github"),e.isClient){var n=function(e,t){t||"function"!=typeof e||(t=e,e=null);var n=i.oauth.credentialRequestCompleteHandler(t);o.requestCredential(e,n)};i.registerClientLoginFunction("github",n),e.loginWithGithub=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.applyLoginFunction("github",t)}}else i.addAutopublishFields({forLoggedInUser:["services.github"],forOtherUsers:["services.github.username"]})}}}}},{extensions:[".js",".json"]});l("/node_modules/meteor/accounts-github/notice.js"),l("/node_modules/meteor/accounts-github/github.js"),Package._define("accounts-github")}();
169
170!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package.oauth.OAuth,r=Package["service-configuration"].ServiceConfiguration,a=Package.random.Random,i=Package.modules.meteorInstall,l=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,s=Package["ecmascript-runtime-client"].Symbol,g=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,u,p=i({node_modules:{meteor:{"google-oauth":{
170"google_client.js":function e(o,t,e){var i;e.link("./namespace.js",{default:function(e){i=e}},0);var l=Object.prototype.hasOwnProperty,c={response_type:1,client_id:1,scope:1,redirect_uri:1,state:1};i.requestCredential=function(e,o){o||"function"!=typeof e?e||(e={}):(o=e,e={});var t=r.configurations.findOne({service:"google"});if(t){var i=a.secret(),s={email:1},g=e.requestPermissions||["profile"];g.forEach((function(e){return s[e]=1})),g=Object.keys(s);var m={};t.loginUrlParameters&&Object.assign(m,t.loginUrlParameters),e.loginUrlParameters&&Object.assign(m,e.loginUrlParameters),Object.keys(m).forEach((function(e){if(l.call(c,e))throw new Error("Google.requestCredential: Invalid loginUrlParameter: "+e)})),null!=e.requestOfflineToken&&(m.access_type=e.requestOfflineToken?"offline":"online"),null!=e.prompt?m.prompt=e.prompt:e.forceApprovalPrompt&&(m.prompt="consent"),e.loginHint&&(m.login_hint=e.loginHint);var u=n._loginStyle("google",t,e);Object.assign(m,{response_type:"code",client_id:t.clientId,scope:g.join(" "),redirect_uri:n._redirectUri("google",t),state:n._stateParam(u,i,e.redirectUrl)});var p="https://accounts.google.com/o/oauth2/auth?"+Object.keys(m).map((function(e){return encodeURIComponent(e)+"="+encodeURIComponent(m[e])})).join("&");n.launchLogin({loginService:"google",loginStyle:u,loginUrl:p,credentialRequestCompleteCallback:o,credentialToken:i,popupOptions:{height:600}})}else o&&o(new r.ConfigError)}},
170"namespace.js":function e(o,t,e){(function(o){(u=e.exports).Google=u}).call(this,e)}}}}},{extensions:[".js",".json"]});p("/node_modules/meteor/google-oauth/google_client.js");var f=p("/node_modules/meteor/google-oauth/namespace.js");Package._define("google-oauth",f,{Google:u})}();
171
172!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,n=Package.meteor.meteorEnv,t=Package["templating-runtime"].Template,i=Package.modules.meteorInstall,l=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,r=Package["ecmascript-runtime-client"].Symbol,c=Package["ecmascript-runtime-client"].Map,g=Package["ecmascript-runtime-client"].Set,s=Package.blaze.Blaze,u=Package.blaze.UI,m=Package.blaze.Handlebars,p=Package.spacebars.Spacebars,d=Package.htmljs.HTML,f=i({node_modules:{meteor:{"google-config-ui":{
172"template.google_configure.js":function e(){t.__checkName("configureLoginServiceDialogForGoogle"),t.configureLoginServiceDialogForGoogle=new t("Template.configureLoginServiceDialogForGoogle",(function(){var e=this;return[d.Raw("<p>\n    First, you'll need to get a Google Client ID. Follow these steps:\n  </p>\n  "),d.OL(d.Raw('\n    <li>\n      Visit <a href="https://console.developers.google.com/" target="blank">https://console.developers.google.com/</a>\n    </li>\n    <li>\n      "Create Project", if needed. Wait for Google to finish provisioning.\n    </li>\n    <li>\n      On the left sidebar, go to "Credentials" and, on the right, "OAuth consent screen". Make sure to enter an email address and a product name, and save.\n    </li>\n    <li>\n      On the left sidebar, go to "Credentials". Click the "Create credentials" button, then select "OAuth client ID" as the type.\n    </li>\n    <li>\n      Select "Web application" as your application type.\n    </li>\n    '),d.LI("\n     Set Authorized Javascript Origins to: ",d.SPAN({class:"url"},s.View("lookup:siteUrl",(function(){return p.mustache(e.lookup("siteUrl"))}))),"\n    "),"\n    ",d.LI("\n      Set Authorized Redirect URI to: ",d.SPAN({class:"url"},s.View("lookup:siteUrl",(function(){return p.mustache(e.lookup("siteUrl"))})),"_oauth/google?close"),"\n    "),d.Raw('\n    <li>\n      Finish by clicking "Create".\n    </li>\n  '))]}))},
172"google_configure.js":function o(){t.configureLoginServiceDialogForGoogle.helpers({siteUrl:function(){return e.absoluteUrl()}}),t.configureLoginServiceDialogForGoogle.fields=function(){return[{property:"clientId",label:"Client ID"},{property:"secret",label:"Client secret"}]}}}}}},{extensions:[".js",".json",".css",".html"]});f("/node_modules/meteor/google-config-ui/template.google_configure.js"),f("/node_modules/meteor/google-config-ui/google_configure.js"),Package._define("google-config-ui")}();
173
174!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package["accounts-base"].Accounts,i=Package["google-oauth"].Google,a=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,g=Package["ecmascript-runtime-client"].Set,u=a({node_modules:{meteor:{"accounts-google":{
174"notice.js":function e(){!Package["accounts-ui"]||Package["service-configuration"]||Object.prototype.hasOwnProperty.call(Package,"google-config-ui")||console.warn("Note: You're using accounts-ui and accounts-google,\nbut didn't install the configuration UI for the Google\nOAuth. You can install it with:\n\n    meteor add google-config-ui\n")},
174"google.js":function o(t,a,o){var r;if(o.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),n.oauth.registerService("google"),e.isClient){var c=function(o,t){if(t||"function"!=typeof o||(t=o,o=null),e.isCordova&&i.signIn)i.signIn(o,t);else{"string"==typeof n._options.restrictCreationByEmailDomain&&((o=r({},o)).loginUrlParameters=r({},o.loginUrlParameters),o.loginUrlParameters.hd=n._options.restrictCreationByEmailDomain);var a=n.oauth.credentialRequestCompleteHandler(t);i.requestCredential(o,a)}};n.registerClientLoginFunction("google",c),e.loginWithGoogle=function(){for(var e=arguments.length,o=new Array(e),t=0;t<e;t++)o[t]=arguments[t];return n.applyLoginFunction("google",o)}}else n.addAutopublishFields({forLoggedInUser:i.whitelistedFields.concat(["accessToken","expiresAt"]).map((function(e){return"services.google."+e})),forOtherUsers:i.whitelistedFields.filter((function(e){return"email"!==e&&"verified_email"!==e})).map((function(e){return"services.google."+e}))})}}}}},{extensions:[".js",".json"]});u("/node_modules/meteor/accounts-google/notice.js"),u("/node_modules/meteor/accounts-google/google.js"),Package._define("accounts-google")}();
175
176!function(){var i;Package._define("minifier-css",{CssTools:i})}();
177
178Package._define("standard-minifier-css");
179
180Package._define("standard-minifier-js");
181
182Package._define("email");
183
184Package._define("meteor-base");
185
186Package._define("mobile-experience");
187
188Package._define("blaze-html-templates");
189
190!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,s=Package.meteor.meteorEnv,a=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,r=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,n,i=a({node_modules:{meteor:{"force-ssl":{
190"force_ssl_both.js":function o(){Object.assign(e.absoluteUrl.defaultOptions,{secure:!0})}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/force-ssl/force_ssl_both.js");Package._define("force-ssl",i)}();
191
192!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv,n=Package.url.URL,r=Package.url.URLSearchParams,o=Package.fetch.fetch,c=Package.modules.meteorInstall,s=Package.modules.meteorBabelHelpers,l=Package.promise.Promise,i=Package["ecmascript-runtime-client"].Symbol,p=Package["ecmascript-runtime-client"].Map,u=Package["ecmascript-runtime-client"].Set,f,d=c({node_modules:{meteor:{http:{
192"httpcall_client.js":function t(a,n,t){(function(t){var r=a("meteor/url").URL,o=a("./httpcall_common.js"),c=n.HTTP=o.HTTP,l=Object.prototype.hasOwnProperty;c.call=function(t,a,n,c){if(c||"function"!=typeof n||(c=n,n=null),n=n||{},"function"!=typeof c)throw new Error("Can't make a blocking HTTP call from the client; callback required.");t=(t||"").toUpperCase();var i={},p=n.content,u,f,d,h;if(n.data&&(p=JSON.stringify(n.data),i["Content-Type"]="application/json"),p||"GET"===t||"HEAD"===t?u=n.params:f=n.params,a=r._constructUrl(a,n.query,u),!1===n.followRedirects)throw new Error("Option followRedirects:false not supported on client.");if(l.call(n,"npmRequestOptions"))throw new Error("Option npmRequestOptions not supported on client.");if(n.auth){var m=n.auth.indexOf(":");if(m<0)throw new Error('Option auth should be of the form "username:password"');d=n.auth.substring(0,m),h=n.auth.substring(m+1)}f&&(p=r._encodeParams(f)),n.headers&&Object.keys(n.headers).forEach((function(e){i[e]=n.headers[e]})),c=function(e){var t=!1;return function(a,n){t||(t=!0,a&&n&&(a.response=n),e(a,n))}}(c);try{var y;if("undefined"!=typeof XMLHttpRequest)y=new XMLHttpRequest;else{if("undefined"==typeof ActiveXObject)throw new Error("Can't create XMLHttpRequest");y=new ActiveXObject("Microsoft.XMLHttp")}for(var g in y.open(t,a,!0,d,h),s.sanitizeForInObject(i))y.setRequestHeader(g,i[g]);var P=!1,v;if(n.timeout&&(v=e.setTimeout((function(){P=!0,y.abort()}),n.timeout)),y.onreadystatechange=function(t){if(4===y.readyState)if(v&&e.clearTimeout(v),P)c(new Error("Connection timeout"));else if(y.status){var a={};a.statusCode=y.status,a.content=y.responseText,a.headers={};var n=y.getAllResponseHeaders(),r;""===n&&y.getResponseHeader("content-type")&&(n="content-type: "+y.getResponseHeader("content-type")),n.split(/\r?\n/).forEach((function(e){var t=/^(.*?):(?:\s+)(.*)$/.exec(e);t&&3===t.length&&(a.headers[t[1].toLowerCase()]=t[2])})),o.populateData(a);var s=null;a.statusCode>=400&&(s=o.makeErrorByStatus(a.statusCode,a.content)),c(s,a)}else c(new Error("Connection lost"))},"function"==typeof n.beforeSend&&!1===n.beforeSend.call(null,y,n))return y.abort();y.send(p)}catch(w){c(w)}}}).call(this,t)},
192"httpcall_common.js":function e(t,a){var n=500,r=Array.prototype.slice;function o(e,t){return e.length>t?e.slice(0,t)+"...":e}a.makeErrorByStatus=function(e,t){var a="failed ["+e+"]",r;t&&(a+=" "+o(("string"==typeof t?t:t.toString()).replace(/\n/g," "),n));return new Error(a)},a.populateData=function(e){var t=(e.headers["content-type"]||";").split(";")[0];if(["application/json","text/javascript","application/javascript","application/x-javascript"].indexOf(t)>=0)try{e.data=JSON.parse(e.content)}catch(a){e.data=null}else e.data=null};var c=a.HTTP={};c.get=function(){return c.call.apply(this,["GET"].concat(r.call(arguments)))},c.post=function(){return c.call.apply(this,["POST"].concat(r.call(arguments)))},c.put=function(){return c.call.apply(this,["PUT"].concat(r.call(arguments)))},c.del=function(){return c.call.apply(this,["DELETE"].concat(r.call(arguments)))},c.patch=function(){return c.call.apply(this,["PATCH"].concat(r.call(arguments)))}}}}}},{extensions:[".js",".json"]}),h=d("/node_modules/meteor/http/httpcall_client.js");Package._define("http",h,{HTTP:f})}();
193
194!function(){var n,t;(function(){n={}}).call(this),function(){(function(){var t=this,r=t._,e={},u=Array.prototype,i=Object.prototype,a=Function.prototype,c=u.push,o=u.slice,l=u.concat,f=i.toString,s=i.hasOwnProperty,p=u.forEach,h=u.map,v=u.reduce,y=u.reduceRight,d=u.filter,g=u.every,m=u.some,b=u.indexOf,_=u.lastIndexOf,w=Array.isArray,x=Object.keys,j=a.bind,A=function(n){return n instanceof A?n:this instanceof A?void(this._wrapped=n):new A(n)};"undefined"!=typeof n?("undefined"!=typeof module&&module.exports&&(n=module.exports=A),n._=A):t._=A,A.VERSION="1.5.2";var O=function(n){return"[object Arguments]"===f.call(n)};O(arguments)||(O=function(n){return!(!n||!s.call(n,"callee")||"function"!=typeof n.callee)});var E=function(n){return n.length===+n.length&&(O(n)||n.constructor!==Object)},k=A.each=A.forEach=function(n,t,r){if(null!=n)if(p&&n.forEach===p)n.forEach(t,r);else if(E(n)){for(var u=0,i=n.length;u<i;u++)if(t.call(r,n[u],u,n)===e)return}else for(var a=A.keys(n),u=0,i=a.length;u<i;u++)if(t.call(r,n[a[u]],a[u],n)===e)return};A.map=A.collect=function(n,t,r){var e=[];return null==n?e:h&&n.map===h?n.map(t,r):(k(n,(function(n,u,i){e.push(t.call(r,n,u,i))})),e)};var F="Reduce of empty array with no initial value";A.reduce=A.foldl=A.inject=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),v&&n.reduce===v)return e&&(t=A.bind(t,e)),u?n.reduce(t,r):n.reduce(t);if(k(n,(function(n,i,a){u?r=t.call(e,r,n,i,a):(r=n,u=!0)})),!u)throw new TypeError(F);return r},A.reduceRight=A.foldr=function(n,t,r,e){var u=arguments.length>2;if(null==n&&(n=[]),y&&n.reduceRight===y)return e&&(t=A.bind(t,e)),u?n.reduceRight(t,r):n.reduceRight(t);var i=n.length;if(!E(n)){var a=A.keys(n);i=a.length}if(k(n,(function(c,o,l){o=a?a[--i]:--i,u?r=t.call(e,r,n[o],o,l):(r=n[o],u=!0)})),!u)throw new TypeError(F);return r},A.find=A.detect=function(n,t,r){var e;return M(n,(function(n,u,i){if(t.call(r,n,u,i))return e=n,!0})),e},A.filter=A.select=function(n,t,r){var e=[];return null==n?e:d&&n.filter===d?n.filter(t,r):(k(n,(function(n,u,i){t.call(r,n,u,i)&&e.push(n)})),e)},A.reject=function(n,t,r){return A.filter(n,(function(n,e,u){return!t.call(r,n,e,u)}),r)},A.every=A.all=function(n,t,r){t||(t=A.identity);var u=!0;return null==n?u:g&&n.every===g?n.every(t,r):(k(n,(function(n,i,a){if(!(u=u&&t.call(r,n,i,a)))return e})),!!u)};var M=A.some=A.any=function(n,t,r){t||(t=A.identity);var u=!1;return null==n?u:m&&n.some===m?n.some(t,r):(k(n,(function(n,i,a){if(u||(u=t.call(r,n,i,a)))return e})),!!u)};A.contains=A.include=function(n,t){return null!=n&&(b&&n.indexOf===b?-1!=n.indexOf(t):M(n,(function(n){return n===t})))},A.invoke=function(n,t){var r=o.call(arguments,2),e=A.isFunction(t);return A.map(n,(function(n){return(e?t:n[t]).apply(n,r)}))},A.pluck=function(n,t){return A.map(n,(function(n){return n[t]}))},A.where=function(n,t,r){return A.isEmpty(t)?r?void 0:[]:A[r?"find":"filter"](n,(function(n){for(var r in t)if(t[r]!==n[r])return!1;return!0}))},A.findWhere=function(n,t){return A.where(n,t,!0)},A.max=function(n,t,r){if(!t&&A.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.max.apply(Math,n);if(!t&&A.isEmpty(n))return-1/0;var e={computed:-1/0,value:-1/0};return k(n,(function(n,u,i){var a=t?t.call(r,n,u,i):n;a>e.computed&&(e={value:n,computed:a})})),e.value},A.min=function(n,t,r){if(!t&&A.isArray(n)&&n[0]===+n[0]&&n.length<65535)return Math.min.apply(Math,n);if(!t&&A.isEmpty(n))return 1/0;var e={computed:1/0,value:1/0};return k(n,(function(n,u,i){var a=t?t.call(r,n,u,i):n;a<e.computed&&(e={value:n,computed:a})})),e.value},A.shuffle=function(n){var t,r=0,e=[];return k(n,(function(n){t=A.random(r++),e[r-1]=e[t],e[t]=n})),e},A.sample=function(n,t,r){return arguments.length<2||r?n[A.random(n.length-1)]:A.shuffle(n).slice(0,Math.max(0,t))};var R=function(n){return A.isFunction(n)?n:function(t){return t[n]}};A.sortBy=function(n,t,r){var e=R(t);return A.pluck(A.map(n,(function(n,t,u){return{value:n,index:t,criteria:e.call(r,n,t,u)}})).sort((function(n,t){var r=n.criteria,e=t.criteria;if(r!==e){if(r>e||void 0===r)return 1;if(r<e||void 0===e)return-1}return n.index-t.index})),"value")};var S=function(n){return function(t,r,e){var u={},i=null==r?A.identity:R(r);return k(t,(function(r,a){var c=i.call(e,r,a,t);n(u,c,r)})),u}};A.groupBy=S((function(n,t,r){(A.has(n,t)?n[t]:n[t]=[]).push(r)})),A.indexBy=S((function(n,t,r){n[t]=r})),A.countBy=S((function(n,t){A.has(n,t)?n[t]++:n[t]=1})),A.sortedIndex=function(n,t,r,e){for(var u=(r=null==r?A.identity:R(r)).call(e,t),i=0,a=n.length;i<a;){var c=i+a>>>1;r.call(e,n[c])<u?i=c+1:a=c}return i},A.toArray=function(n){return n?A.isArray(n)?o.call(n):E(n)?A.map(n,A.identity):A.values(n):[]},A.size=function(n){return null==n?0:E(n)?n.length:A.keys(n).length},A.first=A.head=A.take=function(n,t,r){if(null!=n)return null==t||r?n[0]:o.call(n,0,t)},A.initial=function(n,t,r){return o.call(n,0,n.length-(null==t||r?1:t))},A.last=function(n,t,r){if(null!=n)return null==t||r?n[n.length-1]:o.call(n,Math.max(n.length-t,0))},A.rest=A.tail=A.drop=function(n,t,r){return o.call(n,null==t||r?1:t)},A.compact=function(n){return A.filter(n,A.identity)};var I=function(n,t,r){return t&&A.every(n,A.isArray)?l.apply(r,n):(k(n,
194(function(n){A.isArray(n)||A.isArguments(n)?t?c.apply(r,n):I(n,t,r):r.push(n)})),r)};A.flatten=function(n,t){return I(n,t,[])},A.without=function(n){return A.difference(n,o.call(arguments,1))},A.uniq=A.unique=function(n,t,r,e){A.isFunction(t)&&(e=r,r=t,t=!1);var u=r?A.map(n,r,e):n,i=[],a=[];return k(u,(function(r,e){(t?e&&a[a.length-1]===r:A.contains(a,r))||(a.push(r),i.push(n[e]))})),i},A.union=function(){return A.uniq(A.flatten(arguments,!0))},A.intersection=function(n){var t=o.call(arguments,1);return A.filter(A.uniq(n),(function(n){return A.every(t,(function(t){return A.indexOf(t,n)>=0}))}))},A.difference=function(n){var t=l.apply(u,o.call(arguments,1));return A.filter(n,(function(n){return!A.contains(t,n)}))},A.zip=function(){for(var n=A.max(A.pluck(arguments,"length").concat(0)),t=new Array(n),r=0;r<n;r++)t[r]=A.pluck(arguments,""+r);return t},A.object=function(n,t){if(null==n)return{};for(var r={},e=0,u=n.length;e<u;e++)t?r[n[e]]=t[e]:r[n[e][0]]=n[e][1];return r},A.indexOf=function(n,t,r){if(null==n)return-1;var e=0,u=n.length;if(r){if("number"!=typeof r)return n[e=A.sortedIndex(n,t)]===t?e:-1;e=r<0?Math.max(0,u+r):r}if(b&&n.indexOf===b)return n.indexOf(t,r);for(;e<u;e++)if(n[e]===t)return e;return-1},A.lastIndexOf=function(n,t,r){if(null==n)return-1;var e=null!=r;if(_&&n.lastIndexOf===_)return e?n.lastIndexOf(t,r):n.lastIndexOf(t);for(var u=e?r:n.length;u--;)if(n[u]===t)return u;return-1},A.range=function(n,t,r){arguments.length<=1&&(t=n||0,n=0),r=arguments[2]||1;for(var e=Math.max(Math.ceil((t-n)/r),0),u=0,i=new Array(e);u<e;)i[u++]=n,n+=r;return i};var T=function(){};A.bind=function(n,t){var r,e;if(j&&n.bind===j)return j.apply(n,o.call(arguments,1));if(!A.isFunction(n))throw new TypeError;return r=o.call(arguments,2),e=function(){if(!(this instanceof e))return n.apply(t,r.concat(o.call(arguments)));T.prototype=n.prototype;var u=new T;T.prototype=null;var i=n.apply(u,r.concat(o.call(arguments)));return Object(i)===i?i:u}},A.partial=function(n){var t=o.call(arguments,1);return function(){return n.apply(this,t.concat(o.call(arguments)))}},A.bindAll=function(n){var t=o.call(arguments,1);if(0===t.length)throw new Error("bindAll must be passed function names");return k(t,(function(t){n[t]=A.bind(n[t],n)})),n},A.memoize=function(n,t){var r={};return t||(t=A.identity),function(){var e=t.apply(this,arguments);return A.has(r,e)?r[e]:r[e]=n.apply(this,arguments)}},A.delay=function(n,t){var r=o.call(arguments,2);return setTimeout((function(){return n.apply(null,r)}),t)},A.defer=function(n){return A.delay.apply(A,[n,1].concat(o.call(arguments,1)))},A.throttle=function(n,t,r){var e,u,i,a=null,c=0;r||(r={});var o=function(){c=!1===r.leading?0:new Date,a=null,i=n.apply(e,u)};return function(){var l=new Date;c||!1!==r.leading||(c=l);var f=t-(l-c);return e=this,u=arguments,f<=0?(clearTimeout(a),a=null,c=l,i=n.apply(e,u)):a||!1===r.trailing||(a=setTimeout(o,f)),i}},A.debounce=function(n,t,r){var e,u,i,a,c;return function(){i=this,u=arguments,a=new Date;var o=function(){var l=new Date-a;l<t?e=setTimeout(o,t-l):(e=null,r||(c=n.apply(i,u)))},l=r&&!e;return e||(e=setTimeout(o,t)),l&&(c=n.apply(i,u)),c}},A.once=function(n){var t=!1,r;return function(){return t||(t=!0,r=n.apply(this,arguments),n=null),r}},A.wrap=function(n,t){return function(){var r=[n];return c.apply(r,arguments),t.apply(this,r)}},A.compose=function(){var n=arguments;return function(){for(var t=arguments,r=n.length-1;r>=0;r--)t=[n[r].apply(this,t)];return t[0]}},A.after=function(n,t){return function(){if(--n<1)return t.apply(this,arguments)}},A.keys=x||function(n){if(n!==Object(n))throw new TypeError("Invalid object");var t=[];for(var r in n)A.has(n,r)&&t.push(r);return t},A.values=function(n){for(var t=A.keys(n),r=t.length,e=new Array(r),u=0;u<r;u++)e[u]=n[t[u]];return e},A.pairs=function(n){for(var t=A.keys(n),r=t.length,e=new Array(r),u=0;u<r;u++)e[u]=[t[u],n[t[u]]];return e},A.invert=function(n){for(var t={},r=A.keys(n),e=0,u=r.length;e<u;e++)t[n[r[e]]]=r[e];return t},A.functions=A.methods=function(n){var t=[];for(var r in n)A.isFunction(n[r])&&t.push(r);return t.sort()}
194,A.extend=function(n){return k(o.call(arguments,1),(function(t){if(t)for(var r in t)n[r]=t[r]})),n},A.pick=function(n){var t={},r=l.apply(u,o.call(arguments,1));return k(r,(function(r){r in n&&(t[r]=n[r])})),t},A.omit=function(n){var t={},r=l.apply(u,o.call(arguments,1));for(var e in n)A.contains(r,e)||(t[e]=n[e]);return t},A.defaults=function(n){return k(o.call(arguments,1),(function(t){if(t)for(var r in t)void 0===n[r]&&(n[r]=t[r])})),n},A.clone=function(n){return A.isObject(n)?A.isArray(n)?n.slice():A.extend({},n):n},A.tap=function(n,t){return t(n),n};var N=function(n,t,r,e){if(n===t)return 0!==n||1/n==1/t;if(null==n||null==t)return n===t;n instanceof A&&(n=n._wrapped),t instanceof A&&(t=t._wrapped);var u=f.call(n);if(u!=f.call(t))return!1;switch(u){case"[object String]":return n==String(t);case"[object Number]":return n!=+n?t!=+t:0==n?1/n==1/t:n==+t;case"[object Date]":case"[object Boolean]":return+n==+t;case"[object RegExp]":return n.source==t.source&&n.global==t.global&&n.multiline==t.multiline&&n.ignoreCase==t.ignoreCase}if("object"!=typeof n||"object"!=typeof t)return!1;for(var i=r.length;i--;)if(r[i]==n)return e[i]==t;var a=n.constructor,c=t.constructor;if(a!==c&&!(A.isFunction(a)&&a instanceof a&&A.isFunction(c)&&c instanceof c))return!1;r.push(n),e.push(t);var o=0,l=!0;if("[object Array]"==u){if(l=(o=n.length)==t.length)for(;o--&&(l=N(n[o],t[o],r,e)););}else{for(var s in n)if(A.has(n,s)&&(o++,!(l=A.has(t,s)&&N(n[s],t[s],r,e))))break;if(l){for(s in t)if(A.has(t,s)&&!o--)break;l=!o}}return r.pop(),e.pop(),l};A.isEqual=function(n,t){return N(n,t,[],[])},A.isEmpty=function(n){if(null==n)return!0;if(A.isArray(n)||A.isString(n))return 0===n.length;for(var t in n)if(A.has(n,t))return!1;return!0},A.isElement=function(n){return!(!n||1!==n.nodeType)},A.isArray=w||function(n){return"[object Array]"==f.call(n)},A.isObject=function(n){return n===Object(n)},k(["Arguments","Function","String","Number","Date","RegExp"],(function(n){A["is"+n]=function(t){return f.call(t)=="[object "+n+"]"}})),A.isArguments(arguments)||(A.isArguments=function(n){return!(!n||!A.has(n,"callee"))}),"function"!=typeof/./&&(A.isFunction=function(n){return"function"==typeof n}),A.isFinite=function(n){return isFinite(n)&&!isNaN(parseFloat(n))},A.isNaN=function(n){return A.isNumber(n)&&n!=+n},A.isBoolean=function(n){return!0===n||!1===n||"[object Boolean]"==f.call(n)},A.isNull=function(n){return null===n},A.isUndefined=function(n){return void 0===n},A.has=function(n,t){return s.call(n,t)},A.noConflict=function(){return t._=r,this},A.identity=function(n){return n},A.times=function(n,t,r){for(var e=Array(Math.max(0,n)),u=0;u<n;u++)e[u]=t.call(r,u);return e},A.random=function(n,t){return null==t&&(t=n,n=0),n+Math.floor(Math.random()*(t-n+1))};var q={escape:{"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;"}};q.unescape=A.invert(q.escape);var B={escape:new RegExp("["+A.keys(q.escape).join("")+"]","g"),unescape:new RegExp("("+A.keys(q.unescape).join("|")+")","g")};A.each(["escape","unescape"],(function(n){A[n]=function(t){return null==t?"":(""+t).replace(B[n],(function(t){return q[n][t]}))}})),A.result=function(n,t){if(null!=n){var r=n[t];return A.isFunction(r)?r.call(n):r}},A.mixin=function(n){k(A.functions(n),(function(t){var r=A[t]=n[t];A.prototype[t]=function(){var n=[this._wrapped];return c.apply(n,arguments),U.call(this,r.apply(A,n))}}))};var D=0;A.uniqueId=function(n){var t=++D+"";return n?n+t:t},A.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var z=/(.)^/,C={"'":"'","\\":"\\","\r":"r","\n":"n","\t":"t","\u2028":"u2028","\u2029":"u2029"},P=/\\|'|\r|\n|\t|\u2028|\u2029/g;A.template=function(n,t,r){var e;r=A.defaults({},r,A.templateSettings);var u=new RegExp([(r.escape||z).source,(r.interpolate||z).source,(r.evaluate||z).source].join("|")+"|$","g"),i=0,a="__p+='";n.replace(u,(function(t,r,e,u,c){return a+=n.slice(i,c).replace(P,(function(n){return"\\"+C[n]})),r&&(a+="'+\n((__t=("+r+"))==null?'':_.escape(__t))+\n'"),e&&(a+="'+\n((__t=("+e+"))==null?'':__t)+\n'"),u&&(a+="';\n"+u+"\n__p+='"),i=c+t.length,t})),a+="';\n",r.variable||(a="with(obj||{}){\n"+a+"}\n"),a="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+a+"return __p;\n";try{e=new Function(r.variable||"obj","_",a)}catch(o){throw o.source=a,o}if(t)return e(t,A);var c=function(n){return e.call(this,n,A)};
194return c.source="function("+(r.variable||"obj")+"){\n"+a+"}",c},A.chain=function(n){return A(n).chain()};var U=function(n){return this._chain?A(n).chain():n};A.mixin(A),k(["pop","push","reverse","shift","sort","splice","unshift"],(function(n){var t=u[n];A.prototype[n]=function(){var r=this._wrapped;return t.apply(r,arguments),"shift"!=n&&"splice"!=n||0!==r.length||delete r[0],U.call(this,r)}})),k(["concat","join","slice"],(function(n){var t=u[n];A.prototype[n]=function(){return U.call(this,t.apply(this._wrapped,arguments))}})),A.extend(A.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}).call(this)}.call(this),function(){t=n._}.call(this),Package._define("underscore",{_:t})}();
195
196!function(){var e=Package.tracker.Tracker,a=Package.tracker.Deps;Package._define("deps",{Tracker:e,Deps:a})}();
197
198!function(){var a=Package.blaze.Blaze,e=Package.blaze.UI,l=Package.blaze.Handlebars;Package._define("ui",{Blaze:a,UI:e,Handlebars:l})}();
199
200!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.underscore._,o=Package.ejson.EJSON,i;(function(){if(Package["cmather:iron-core"])throw new Error("\n\n    Sorry! The cmather:iron-{x} packages were migrated to the new package system with the wrong name, and you have duplicate copies.\n    You can see which cmather:iron-{x} packages have been installed by using this command:\n\n    > meteor list\n\n    Can you remove any installed cmather:iron-{x} packages like this:    \n\n    > meteor remove cmather:iron-core\n    > meteor remove cmather:iron-router\n    > meteor remove cmather:iron-dynamic-template\n    > meteor remove cmather:iron-dynamic-layout\n    \n    The new packages are named iron:{x}. For example:\n\n    > meteor add iron:router\n\n    Sorry for the hassle, but thank you!    \n\n  ")}).call(this),function(){(i={}).utils={},i.utils.assert=function(e,t){if(!e)throw new Error(t)},i.utils.warn=function(e,t){e||console&&console.warn&&console.warn(t)},i.utils.defaultValue=function(e,t,n){return"undefined"==typeof e[t]?(e[t]=n,n):e[t]},i.utils.inherits=function(e,t,n){for(var a in i.utils.assert("undefined"!=typeof e,"Child is undefined in inherits function"),i.utils.assert("undefined"!=typeof t,"Parent is undefined in inherits function"),t)r.has(t,a)&&(e[a]=o.clone(t[a]));var s=function(){this.constructor=e};return s.prototype=t.prototype,e.prototype=new s,e.__super__=t.prototype,r.isObject(n)&&r.extend(e.prototype,n),e},i.utils.extend=function(e,t){t=t||{};var n=function(){var e;(e=r.has(t,"constructor")?t.constructor:n.__super__.constructor).apply(this,arguments)};return i.utils.inherits(n,e,t)},i.utils.global=e.isClient?window:t,i.utils.namespace=function(e,t){var n=i.utils.global,r,o,a,s;i.utils.assert("string"==typeof e,"namespace must be a string"),a=(r=e.split(".")).pop(),s=n;for(var c=0;c<r.length;c++)s=s[o=r[c]]=s[o]||{};return 2===arguments.length?(s[a]=t,t):s[a]},i.utils.resolve=function(e){var t=i.utils.global,n,r;if("string"==typeof e){n=e.split("."),r=t;for(var o=0;o<n.length;o++)if(!(r=r[n[o]]))return}else r=e;return r},i.utils.capitalize=function(e){return e.charAt(0).toUpperCase()+e.slice(1,e.length)},i.utils.classCase=function(e){var t=/_|-|\.|\//;return e?r.map(e.split(t),(function(e){return i.utils.capitalize(e)})).join(""):""},i.utils.camelCase=function(e){var t=i.utils.classCase(e);return t=t.charAt(0).toLowerCase()+t.slice(1,t.length)},i.utils.notifyDeprecated=function(e){var t,n,o,i,a="[:where] ':name' is deprecated. Please use ':instead' instead.";r.isObject(e)?(t=e.name,n=e.instead,o=e.message||a,i=e.where||"IronRouter"):(o=e,t="",n="",i=""),"undefined"!=typeof console&&console.warn&&console.warn("<deprecated> "+o.replace(":name",t).replace(":instead",n).replace(":where",i)+" "+(new Error).stack)},i.utils.withDeprecatedNotice=function(e,t,n){return function(){return Utils.notifyDeprecated(e),t&&t.apply(n||this,arguments)}},Function.prototype.deprecate=function(e){var t=this;return i.utils.withDeprecatedNotice(e,t)},i.utils.debug=function(e){return i.utils.assert("string"==typeof e,"debug requires a package name"),function t(){if(console&&console.log&&!0===i.debug){var n=r.toArray(arguments).join(" ");console.log("%c<"+e+"> %c"+n,"color: #999;","color: #000;")}}},i.utils.get=function(e){for(var t=1;t<arguments.length;t++){if(!e||!(arguments[t]in e))return;e=e[arguments[t]]}return e},i.utils.global.Iron=i}.call(this),Package._define("iron:core",{Iron:i})}();
201
202!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,a=Package.ui.Blaze,i=Package.ui.UI,r=Package.ui.Handlebars,o=Package.underscore._,c=Package.jquery.$,u=Package.jquery.jQuery,l=Package.tracker.Tracker,s=Package.tracker.Deps,p=Package["reactive-var"].ReactiveVar,m=Package["templating-runtime"].Template,h=Package.random.Random,f=Package["iron:core"].Iron,_=Package.htmljs.HTML,d=Package.spacebars.Spacebars,y;(function(){if(Package["cmather:iron-dynamic-template"])throw new Error("\n\n    Sorry! The cmather:iron-{x} packages were migrated to the new package system with the wrong name, and you have duplicate copies.\n    You can see which cmather:iron-{x} packages have been installed by using this command:\n\n    > meteor list\n\n    Can you remove any installed cmather:iron-{x} packages like this:    \n\n    > meteor remove cmather:iron-core\n    > meteor remove cmather:iron-router\n    > meteor remove cmather:iron-dynamic-template\n    > meteor remove cmather:iron-dynamic-layout\n    \n    The new packages are named iron:{x}. For example:\n\n    > meteor add iron:router\n\n    Sorry for the hassle, but thank you!    \n\n  ")}
202).call(this),function(){m.__checkName("__IronRouterDynamicTemplateError__"),m.__IronRouterDynamicTemplateError__=new m("Template.__IronRouterDynamicTemplateError__",(function(){var t=this;return _.DIV({style:"width: 600px; margin: 0 auto; padding: 20px;"},"\n    ",_.DIV({style:"font-size: 18pt; color: #999;"},"\n      ",a.View((function(){return d.mustache(t.lookup("msg"))})),"\n    "),"\n  ")}))}.call(this),function(){var t=f.utils.debug("iron:dynamic-template"),e=f.utils.assert,n=f.utils.get,r=f.utils.camelCase,u=function(t){return Object.prototype.toString.call(t)};(y=function(t){this._id=h.id(),this.options=t=t||{},this._template=t.template,this._defaultTemplate=t.defaultTemplate,this._content=t.content,this._data=t.data,this._templateDep=new l.Dependency,this._dataDep=new l.Dependency,this._lookupHostDep=new l.Dependency,this._lookupHostValue=null,this._hooks={},this._eventMap=null,this._eventHandles=null,this._eventThisArg=null,this.name=t.name||this.constructor.prototype.name||"DynamicTemplate",this.isCreated=!1,this.isDestroyed=!1}).prototype.template=function(t){return 1===arguments.length&&t!==this._template?(this._template=t,void this._templateDep.changed()):arguments.length>0?void 0:(this._templateDep.depend(),this._template?"function"==typeof this._template?this._template():this._template:this._defaultTemplate?"function"==typeof this._defaultTemplate?this._defaultTemplate():this._defaultTemplate:void 0)},y.prototype.defaultTemplate=function(t){if(1!==arguments.length)return this._defaultTemplate;this._defaultTemplate=t},y.prototype.clear=function(){this._template=void 0,this._data=void 0,this._templateDep.changed()},y.prototype.data=function(t){return 1===arguments.length&&t!==this._data?(this._data=t,void this._dataDep.changed()):(this._dataDep.depend(),"function"==typeof this._data?this._data():this._data)},y.prototype.create=function(t){var e=this;if(this.isCreated)throw new Error("DynamicTemplate view is already created");this.isCreated=!0,this.isDestroyed=!1;var n=p(null),i=a.View("DynamicTemplate",(function(){var t=this,i=n.get();return a.With((function(){var n=e.data();return"undefined"!=typeof n?n:y.getParentDataContext(t)}),(function(){return e.renderView(i)}))}));return i.onViewCreated((function(){this.autorun((function(){n.set(e.template())}))})),o.each(["onViewCreated","onViewReady","_onViewRendered","onViewDestroyed"],(function(t){i[t]((function(){e._runHooks(t,this)}))})),i._onViewRendered((function(){e.isInserted=!0,1===i.renderCount&&e._attachEvents()})),i.onViewDestroyed((function(){e._detachEvents()})),i._templateInstance=new a.TemplateInstance(i),i.templateInstance=function(){var t=i._templateInstance;return t.data=a.getData(i),i._domrange&&!i.isDestroyed?(t.firstNode=i._domrange.firstNode(),t.lastNode=i._domrange.lastNode()):(t.firstNode=null,t.lastNode=null),t},this.view=i,i.__dynamicTemplate__=this,i.name=this.name,i},y.prototype.renderView=function(t){var e=this,n=null;return"string"==typeof t?((n=m[t])||(n=m[r(t)]),n||(n=a.With({msg:"Couldn't find a template named "+JSON.stringify(t)+" or "+JSON.stringify(r(t))+". Are you sure you defined it?"},(function(){return m.__IronRouterDynamicTemplateError__})))):"[object Object]"===u(t)?n=t:"undefined"!=typeof e._content&&(n=e._content),n},y.prototype.destroy=function(){this.isCreated&&(a.remove(this.view),this.view=null,this.isDestroyed=!0,this.isCreated=!1)},o.each(["onViewCreated","onViewReady","_onViewRendered","onViewDestroyed"],(function(t){y.prototype[t]=function(e){var n;return(this._hooks[t]=this._hooks[t]||[]).push(e),this}})),y.prototype._runHooks=function(t,e){for(var n=this._hooks[t]||[],a,i=0;i<n.length;i++)(a=n[i]).call(e,this)},y.prototype.events=function(t,e){var n=this;this._detachEvents(),this._eventThisArg=e;var i=this._eventMap={};for(var r in t)i[r]=function(t,i){return function(t){var r=a.getData(t.currentTarget);null==r&&(r={});var o=n.view.templateInstance();return i.call(e||this,t,o,r)}}(r,t[r]);this._attachEvents()},y.prototype._attachEvents=function(){var t=this,e=t._eventThisArg,n=t._eventMap,i=t.view,r=t._eventHandles;if(i){var c=i._domrange;if(!c)throw new Error("no domrange");var u=function(e,c){o.each(n,(function(n,u){var l=u.split(/,\s+/);o.each(l,(function(o){var u=o.split(/\s+/);if(0!==u.length){var l=u.shift(),s=u.join(" ");r.push(a._EventSupport.listen(c,l,s,(function(r){if(!e.containsElement(r.currentTarget))return null;var o=t._eventThisArg||this,c=arguments;return a._withCurrentView(i,(function(){return n.apply(o,c)}))}),e,(function(t){return t.parentRange})))}}))}))};c.attached?u(c,c.parentElement):c.onAttached(u)}},y.prototype._detachEvents=function(){o.each(this._eventHandles,(function(t){t.stop()})),this._eventHandles=[]};var _=function(t,e,n,i){o.each(n,(function(n,r){var c=r.split(/,\s+/);o.each(c,(function(r){var o=r.split(/\s+/);if(0!==o.length){var c=o.shift(),u=o.join(" ");handles.push(a._EventSupport.listen(e,c,u,(function(e){if(!t.containsElement(e.currentTarget))return null;var r=i||this,o=arguments;return a._withCurrentView(view,(function(){return n.apply(r,o)}))}),t,(function(t){return t.parentRange})))}}))}))};y.prototype.insert=function(t){if(t=t||{},!this.isInserted){this.isInserted=!0;var e=t.el||document.body,n=c(e);if(0===n.length)throw new Error("No element to insert layout into. Is your element defined? Try a Meteor.startup callback.");return this.view||this.create(t),a.render(this.view,n[0],t.nextNode,t.parentView),this}},y.prototype._getLookupHost=function(){return this._lookupHostValue},y.prototype._setLookupHost=function(t){var e=this;return e._lookupHostValue!==t&&(e._lookupHostValue=t,s.afterFlush((function(){e._lookupHostDep.changed()}))),this},y.getParentDataContext=function(t){return y.getDataContext(t&&t.parentView)},y.getDataContext=function(t){for(;t;){if("with"===t.name&&!t.__isTemplateWith)return t.dataVar.get();t=t.parentView}return null},y.getInclusionArguments=function(t){var e=t&&t.parentView;return e&&e.__isTemplateWith?e.dataVar.get():null},y.args=function(t){return function(e){var n=y.getInclusionArguments(t);return n?e?n[e]:n:null}},y.extend=function(t){return f.utils.extend(this,t)},y.findFirstLookupHost=function(t){var n,i;for(e(t instanceof a.View,"view must be a Blaze.View");t;){var n;if(t.__dynamicTemplate__){if(n=t.__dynamicTemplate__._getLookupHost())return n}else t=t.parentView}},y.findLookupHostWithProperty=function(t,i){var r,o;for(e(t instanceof a.View,"view must be a Blaze.View");t;){var r;if(t.__dynamicTemplate__)if((r=t.__dynamicTemplate__._getLookupHost())&&n(r,i))return r;t=t.parentView}},y.findLookupHostWithHelper=function(t,i){var r,o;for(e(t instanceof a.View,"view must be a Blaze.View");t;){var r;if(t.__dynamicTemplate__)if((r=t.__dynamicTemplate__._getLookupHost())&&n(r,"constructor","_helpers",i))return r;t=t.parentView}},"undefined"!=typeof m&&i.registerHelper("DynamicTemplate",new m("DynamicTemplateHelper",(function(){var t=y.args(this);return new y({data:function(){return t("data")},template:function(){return t("template")},content:this.templateContentBlock}).create()}))),f.DynamicTemplate=y}.call(this),function(){var t=f.utils.assert,e=f.utils.get,n=a.View.prototype.lookup;a.View.prototype.lookup=function(t){var i;return(i=y.findLookupHostWithHelper(a.getView(),t))?function n(){var a=e(i,"constructor","_helpers",t),r=[].slice.call(arguments);return"function"==typeof a?a.apply(i,r):a}:n.apply(this,arguments)}}.call(this),function(){m.__checkName("Static"),m.Static=new m("Template.Static",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call("NoData")}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))}))})),m.__checkName("StaticData"),m.StaticData=new m("Template.StaticData",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call("WithData"),data:d.call(t.lookup("getData"))}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))}))})),m.__checkName("Dynamic"),m.Dynamic=new m("Template.Dynamic",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call(t.lookup("getTemplate"))}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))}))})),m.__checkName("DynamicData"),m.DynamicData=new m("Template.DynamicData",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call("WithData"),data:d.call(t.lookup("getData"))}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))}))})),m.__checkName("DynamicParentData"),m.DynamicParentData=new m("Template.DynamicParentData",(function(){var t=this;return d.With((function(){return d.call(t.lookup("getData"))}),(function(){return["\n    ",a._TemplateWith((function(){return{template:d.call("WithData")}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))})),"\n  "]}))})),m.__checkName("DynamicParentDataOnTemplateDynamic"),m.DynamicParentDataOnTemplateDynamic=new m("Template.DynamicParentDataOnTemplateDynamic",(function(){var t=this;return["\n  ",a._TemplateWith((function(){return{template:d.call("_DynamicParentDataOnTemplateDynamic"),data:d.call(t.lookup("getData"))}}),(function(){return d.include((function(){return d.call(m.__dynamic)}))}))]})),m.__checkName("_DynamicParentDataOnTemplateDynamic"),m._DynamicParentDataOnTemplateDynamic=new m("Template._DynamicParentDataOnTemplateDynamic",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call("WithData")}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))}))})),m.__checkName("InheritedParentData"),m.InheritedParentData=new m("Template.InheritedParentData",(function(){var t=this;return d.With((function(){return"outer"}),(function(){return["\n    ",d.With((function(){return"inner"}),(function(){return["\n      ",a._TemplateWith((function(){return{template:d.call("WithDataAndParentData")}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"))})),"\n    "]})),"\n  "]}))})),m.__checkName("DynamicWithBlock"),m.DynamicWithBlock=new m("Template.DynamicWithBlock",(function(){var t=this;return a._TemplateWith((function(){return{template:d.call(t.lookup("getTemplate"))}}),(function(){return d.include(t.lookupTemplate("DynamicTemplate"),(function(){return"\n    default\n  "}))}))})),m.__checkName("NoData"),m.NoData=new m("Template.NoData",(function(){var t=this;return"NoData"})),m.__checkName("WithData"),m.WithData=new m("Template.WithData",(function(){var t=this;return["WithData-",a.View((function(){return d.mustache(t.lookup("."))}))]})),m.__checkName("WithDataAndParentData"),m.WithDataAndParentData=new m("Template.WithDataAndParentData",(function(){var t=this;return["WithDataAndParentData-",a.View((function(){return d.mustache(t.lookup("."))})),"-",a.View((function(){return d.mustache(t.lookup(".."))}))]})),m.__checkName("One"),m.One=new m("Template.One",(function(){var t=this;return"One"})),m.__checkName("Two"),m.Two=new m("Template.Two",(function(){var t=this;return"Two"}
202)),m.__checkName("EventsTest"),m.EventsTest=new m("Template.EventsTest",(function(){var t=this;return _.Raw('<div class="click">\n  Trigger Click\n</div>')})),m.__checkName("LookupHostTest"),m.LookupHostTest=new m("Template.LookupHostTest",(function(){var t=this;return a.View((function(){return d.mustache(t.lookup("getValue"))}))})),m.__checkName("LookupHostDepTest"),m.LookupHostDepTest=new m("Template.LookupHostDepTest",(function(){var t=this;return[a.View((function(){return d.mustache(t.lookup("getValueFromTemplate"))})),"\n",a.View((function(){return d.mustache(t.lookup("getValueFromHost"))}))]}))}.call(this),Package._define("iron:dynamic-template")}();
203
204!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,r=Package["templating-runtime"].Template,o=Package.blaze.Blaze,i=Package.blaze.UI,a=Package.blaze.Handlebars,s=Package.underscore._,c=Package.tracker.Tracker,u=Package.tracker.Deps,h=Package["iron:core"].Iron,l=Package.htmljs.HTML,g=Package.spacebars.Spacebars,d,p,m;(function(){var e=[];if(Package["cmather:iron-layout"]&&e.push("\n\n    The cmather:iron-{x} packages were migrated to the new package system with the wrong name, and you have duplicate copies.\n    You can see which cmather:iron-{x} packages have been installed by using this command:\n\n    > meteor list\n\n    Can you remove any installed cmather:iron-{x} packages like this:    \n\n    > meteor remove cmather:iron-core\n    > meteor remove cmather:iron-router\n    > meteor remove cmather:iron-dynamic-template\n    > meteor remove cmather:iron-dynamic-layout\n    \n    The new packages are named iron:{x}. For example:\n\n    > meteor add iron:router\n\n    Sorry for the hassle, but thank you!    \n\n  "),Package["cmather:blaze-layout"]&&e.push("The blaze-layout package has been replaced by iron-layout. Please remove the package like this:\n> meteor remove cmather:blaze-layout\n"),e.length>0)throw new Error("Sorry! Looks like there's a few errors related to iron:layout\n\n"+e.join("\n\n"))}).call(this),function(){r.__checkName("__IronDefaultLayout__"),r.__IronDefaultLayout__=new r("Template.__IronDefaultLayout__",(function(){var e=this;return g.include(e.lookupTemplate("yield"))}))}.call(this),function(){var e=h.DynamicTemplate,n=h.utils.inherits;d=function(e){for(;e;){if("Iron.Layout"===e.name)return e.__dynamicTemplate__;e=e.parentView}return null},p=function(e){var n=this;p.__super__.constructor.apply(this,arguments),e=e||{},this.name="Iron.Layout",this._regions={},this._regionHooks={},this.defaultTemplate("__IronDefaultLayout__"),e.content&&this.render(e.content)},m=p.DEFAULT_REGION="main",n(p,h.DynamicTemplate),p.prototype.region=function(e,n){return this._ensureRegion(e,n)},p.prototype.destroyRegions=function(){s.each(this._regions,(function(e){e.destroy()})),this._regions={}},p.prototype.render=function(e,n){var t=(n=n||{}).to||n.region||m,r=this.region(t);this._trackRenderedRegion(t),r.template(e),r.data(n.data)},p.prototype.has=function(e){return e=e||p.DEFAULT_REGION,!!this._regions[e]},p.prototype.regionKeys=function(){return s.keys(this._regions)},p.prototype.clear=function(e){return e=e||p.DEFAULT_REGION,this.has(e)&&this.region(e).template(null),this},p.prototype.clearAll=function(){return s.each(this._regions,(function(e){e.template(null)})),this},p.prototype.beginRendering=function(e){var n=this;if(this._finishRenderingTransaction&&this._finishRenderingTransaction(),this._finishRenderingTransaction=s.once((function(){var t=n._endRendering({flush:!1});e&&e(t)})),u.afterFlush(this._finishRenderingTransaction),this._renderedRegions)throw new Error("You called beginRendering again before calling endRendering");this._renderedRegions={}},p.prototype._trackRenderedRegion=function(e){this._renderedRegions&&(this._renderedRegions[e]=!0)},p.prototype._endRendering=function(e){!1!==(e=e||{}).flush&&u.flush();var n=this._renderedRegions||{};return this._renderedRegions=null,s.keys(n)},s.each(["onRegionCreated","onRegionRendered","onRegionDestroyed"],(function(e){p.prototype[e]=function(n){var t;return(this._regionHooks[e]=this._regionHooks[e]||[]).push(n),this}})),p.prototype._ensureRegion=function(e,n){return this._regions[e]=this._regions[e]||this._createDynamicTemplate(e,n)},p.prototype._createDynamicTemplate=function(e,n){var t=this,r=new h.DynamicTemplate(n),o=h.utils.capitalize;return r._region=e,s.each(["viewCreated","viewReady","viewDestroyed"],(function(e){e=o(e),r["on"+e]((function(n){var r=this,o={viewCreated:"regionCreated",viewReady:"regionRendered",viewDestroyed:"regionDestroyed"}[e];t._runRegionHooks("on"+o,r,n)}))})),r},p.prototype._runRegionHooks=function(e,n,t){for(var r=this,o=this._regionHooks[e]||[],i,a=0;a<o.length;a++)(i=o[a]).call(n,t.region,t,this)},"undefined"!=typeof r&&(i.registerHelper("yield",new r("yield",(function(){var n=d(this);if(!n)throw new Error("No Iron.Layout found so you can't use yield!");var t=e.getInclusionArguments(this),r,o;return s.isString(t)?r=t:s.isObject(t)&&(r=t.region),r=r||m,(o=n.region(r)).isCreated&&o.destroy(),o.create()}))),i.registerHelper("contentFor",new r("contentFor",(function(){var n=d(this);if(!n)throw new Error("No Iron.Layout found so you can't use contentFor!");var t=e.getInclusionArguments(this)||{},r=this.templateContentBlock,o=t.template,i=t.data,a;if(s.isString(t))a=t;else{if(!s.isObject(t))throw new Error("Which region is this contentFor block supposed to be for?");a=t.region}return n.region(a).template(o||r),n._trackRenderedRegion(a),i&&n.region(a).data(i),null}))),i.registerHelper("hasRegion",(function(e){var n=d(o.getView());if(!n)throw new Error("No Iron.Layout found so you can't use hasRegion!");if(!s.isString(e))throw new Error("You need to provide an region argument to hasRegion");return!!n.region(e).template()})),i.registerHelper("Layout",new r("layout",(function(){var e=h.DynamicTemplate.args(this),n;return new p({template:function(){return e("template")},data:function(){return e("data")},content:this.templateContentBlock}).create()})))),h.Layout=p}.call(this),Package._define("iron:layout")}();
205
206!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,n=Package.meteor.meteorEnv,t=Package.underscore._,i=Package["iron:core"].Iron,o,a;(function(){var e=function(e){return Object.prototype.toString.call(e)},r=new RegExp(["(\\\\.)","([\\/.])?(?:\\:(\\w+)(?:\\(((?:\\\\.|[^)])*)\\))?|\\(((?:\\\\.|[^)])*)\\))([+*?])?","([.+*?=^!:${}()[\\]|\\/])"].join("|"),"g");function n(e){return e.replace(/([=!:$\/()])/g,"\\$1")}var t=function(e,r){return e.keys=r,e};function i(o,a,s){a&&"[object Array]"!==e(a)&&(s=a,a=null),a=a||[];var c=(s=s||{}).strict,u=!1!==s.end,p=s.sensitive?"":"i",l=0;if(o instanceof RegExp){var f=o.source.match(/\((?!\?)/g)||[];return a.push.apply(a,f.map((function(e,r){return{name:r,delimiter:null,optional:!1,repeat:!1}}))),t(o,a)}if("[object Array]"===e(o))return o=o.map((function(e){return i(e,a,s).source})),t(new RegExp("(?:"+o.join("|")+")",p),a);var h="/"===(o=o.replace(r,(function(e,r,t,i,o,s,c,u){if(r)return r;if(u)return"\\"+u;var p="+"===c||"*"===c,f="?"===c||"*"===c;return a.push({name:i||l++,delimiter:t||"/",optional:f,repeat:p}),t=t?"\\"+t:"",o=n(o||s||"[^"+(t||"\\/")+"]+?"),p&&(o=o+"(?:"+t+o+")*"),f?"(?:"+t+"("+o+"))?":t+"("+o+")"})))[o.length-1];return c||(o=(h?o.slice(0,-2):o)+"(?:\\/(?=$))?"),u||(o+=c&&h?"":"(?=\\/|$)"),t(new RegExp("^"+o+(u?"$":""),p),a)}o=i}).call(this),function(){var e=i.utils.warn;function r(r){try{return decodeURIComponent(r.replace(/\+/g," "))}catch(n){return void(n.constructor==URIError&&e("Tried to decode an invali
206d URI component: "+JSON.stringify(r)+" "+n.stack))}}function n(r){try{return decodeURI(r.replace(/\+/g," "))}catch(n){return void(n.constructor==URIError&&e("Tried to decode an invalid URI: "+JSON.stringify(r)+" "+n.stack))}}(a=function(e,r){r=r||{},this.options=r,this.keys=[],this.regexp=o(e,this.keys,r),this._originalPath=e,t.extend(this,a.parse(e))}).normalize=function(e){if(e instanceof RegExp)return e;if("string"!=typeof e)return"/";var r,n=a.parse(e).pathname;return"/"!==n.charAt(0)&&(n="/"+n),n.length>1&&"/"===n.charAt(n.length-1)&&(n=n.slice(0,n.length-1)),n},a.isSameOrigin=function(e,r){var n=a.parse(e),t=a.parse(r),i;return n.origin===t.origin},a.fromQueryString=function(e){if(!e)return{};if("string"!=typeof e)throw new Error("expected string");"?"===e.charAt(0)&&(e=e.slice(1));var n=e.split("&"),i={},o;return t.each(n,(function(e){var n=e.split("="),t=r(n[0]),o=r(n[1]);"undefined"!=typeof t&&"undefined"!=typeof o&&"[]"===t.slice(-2)?(t=t.slice(0,-2),i[t]=i[t]||[],i[t].push(o)):i[t]=o})),i},a.toQueryString=function(e){var r=[];return"string"==typeof e?"?"!==e.charAt(0)?"?"+e:e:(t.each(e,(function(e,n){t.isArray(e)?t.each(e,(function(e){r.push(encodeURIComponent(n)+"[]="+encodeURIComponent(e))})):r.push(encodeURIComponent(n)+"="+encodeURIComponent(e))})),r.length>0?"?"+r.join("&"):"")},a.parse=function(e){if("string"!=typeof e)return{};var r=/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,n=e.match(r),t=n[1]?n[1].toLowerCase():void 0,i,o=!!n[3],s=n[4]?n[4].toLowerCase():void 0,c=s?s.split("@"):[],u,p;2==c.length?(p=c[0],u=c[1]):1==c.length?(u=c[0],p=void 0):(u=void 0,p=void 0);var l=u&&u.split(":")||[],f=l[0],h=l[1],g=t&&u?t+"//"+u:void 0,d=n[5],m=n[8],y=e,v=n[6],w,R=m&&m.indexOf("?")||-1;~R&&!v?(v=m.slice(R),m=m.substr(0,R),w=v.slice(1)):w=n[7];var x=d+(v||""),U=a.fromQueryString(w),S,E;return{rootUrl:[t||"",o?"//":"",s||""].join("")||"",originalUrl:e||"",href:[t||"",o?"//":"",s||"",d||"",v||"",m||""].join("")||"",protocol:t||"",auth:p||"",host:u||"",hostname:f||"",port:h||"",origin:g||"",path:x||"",pathname:d||"",search:v||"",query:w||"",queryObject:U||"",hash:m||"",slashes:o}},a.prototype.test=function(e){return this.regexp.test(a.normalize(e))},a.prototype.exec=function(e){return this.regexp.exec(a.normalize(e))},a.prototype.params=function(e){if(!e)return[];var t=[],i=this.exec(e),o,s=this.keys,c,u;if(!i)throw new Error('The route named "'+this.name+'" does not match the path "'+e+'"');for(var p=1,l=i.length;p<l;++p)c=s[p-1],u="string"==typeof i[p]?r(i[p]):i[p],c?t[c.name]=void 0!==t[c.name]?t[c.name]:u:t.push(u);return"undefined"!=typeof n(e)&&((o=e.split("?")[1])&&(o=o.split("#")[0]),t.hash=e.split("#")[1]||null,t.query=a.fromQueryString(o)),t},a.prototype.resolve=function(e,r){var n,i,o,s=0,c=this._originalPath,u,p,l=[],f=e;if(e=e||[],p=(r=r||{}).query,u=r.hash&&r.hash.toString(),c instanceof RegExp)throw new Error("Cannot currently resolve a regular expression path");if(c=c.replace(/(\/)?(\.)?:(\w+)(?:(\(.*?\)))?(\?)?/g,(function(r,o,a,s,c,u,p){if(o=o||"",a=a||"",n=e[s],i="undefined"!=typeof n,u&&!i)n="";else if(!i)return void l.push(s);var f;return n=t.isFunction(n)?n.call(e):n,o+a+t.map(String(n).split("/"),(function(e){return encodeURIComponent(e)})).join("/")})).replace(/\*/g,(function(r){if("undefined"==typeof e[s])throw new Error("You are trying to access a wild card parameter at index "+s+" but the value of params at that index is undefined");var n=String(e[s++]);return t.map(n.split("/"),(function(e){return encodeURIComponent(e)})).join("/")})),c+=p=a.toQueryString(p),u&&(c=c+"#"+(u=encodeURI(u.replace("#","")))),c=(c=c.replace(/\/+/g,"/")).replace(/^(.+)\/$/g,"$1"),0==l.length)return c;if(!0===r.throwOnMissingParams)throw new Error("Missing required parameters on path "+JSON.stringify(this._originalPath)+". The missing params are: "+JSON.stringify(l)+". The params object passed in was: "+JSON.stringify(f)+".");return null},i.Url=a}.call(this),Package._define("iron:url")}();
207
208!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.underscore._,i=Package.ejson.EJSON,o=Package["iron:core"].Iron,a,s;(function(){var t=o.Url;a=function(e,n,i){r.isFunction(e)&&(i=i||n||{},n=e,e="/",this.middleware=!0,"undefined"==typeof i.mount&&(i.mount=!0)),"object"==typeof n&&(n=(i=n).action||"action"),i=i||{},this.options=i,this.mount=i.mount,this.method=i.method&&i.method.toLowerCase()||!1,this.where=i.where||"client",this.mount&&(i.end=!1),i.name?this.name=i.name:"string"==typeof e&&"/"!==e.charAt(0)?this.name=e:"string"==typeof e&&"/"!==e&&(this.name=e.split("/").slice(1).join(".")),"string"==typeof(e=i.path||e)&&"/"!==e.charAt(0)&&(e="/"+e),this.path=e,this.compiledUrl=new t(e,i),r.isString(n)?this.handle=function t(){var e=this[n];
208if("function"!=typeof e)throw new Error("No method named "+JSON.stringify(n)+" found on handler.");return e.apply(this,arguments)}:r.isFunction(n)&&(this.handle=n)},a.prototype.test=function(t,e){e=e||{};var n=this.compiledUrl.test(t),r=!0,i=!0;return this.method&&e.method&&(r=this.method==e.method.toLowerCase()),e.where&&(i=this.where==e.where),n&&r&&i},a.prototype.params=function(t){return this.compiledUrl.params(t)},a.prototype.resolve=function(t,e){return this.compiledUrl.resolve(t,e)},a.prototype.clone=function(){var t=new a(this.path,this.handle,this.options);return t.name=this.name,t}}).call(this),function(){var e=o.Url,n=o.utils.assert,h=o.utils.defaultValue;(s=function(){this._stack=[],this.length=0}).prototype._create=function(t,e,n){var i=new a(t,e,n),o=i.name;if(o){if(r.has(this._stack,o))throw new Error("Handler with name '"+o+"' already exists.");this._stack[o]=i}return i},s.prototype.findByName=function(t){return this._stack[t]},s.prototype.push=function(t,e,n){var r=this._create(t,e,n);return this._stack.push(r),this.length++,r},s.prototype.append=function(){var t=this,e=r.toArray(arguments),n={};return"object"==typeof e[e.length-1]&&(n=e.pop()),r.each(e,(function(e){if("undefined"!=typeof e)if("function"==typeof e)t.push(e,n);else{if(!r.isArray(e))throw new Error("Can only append functions or arrays to the MiddlewareStack");t.append.apply(t,e.concat([n]))}})),this},s.prototype.insertAt=function(t,e,n,r){var i=this._create(e,n,r);return this._stack.splice(t,0,i),this.length=this._stack.length,this},s.prototype.insertBefore=function(t,e,n,i){var o,a;if(!(o=this._stack[t]))throw new Error("Couldn't find a handler named '"+t+"' on the path stack");return a=r.indexOf(this._stack,o),this.insertAt(a,e,n,i),this},s.prototype.insertAfter=function(t,e,n,i){var o,a;if(!(o=this._stack[t]))throw new Error("Couldn't find a handler named '"+t+"' on the path stack");return a=r.indexOf(this._stack,o),this.insertAt(a+1,e,n,i),this},s.prototype.concat=function(){var t=new s,e=Array.prototype.concat,n=i.clone(this._stack),o=r.map(r.toArray(arguments),(function(t){return i.clone(t._stack)}));return t._stack=e.apply(n,o),t.length=t._stack.length,t},s.prototype.dispatch=function r(i,o,a){var s=this,l=i;n("string"==typeof i,"Requires url"),n("object"==typeof o,"Requires context object"),i=e.normalize(i||"/"),h(o,"request",{}),h(o,"response",{}),h(o,"originalUrl",i),h(o,"_method",o.method),h(o,"_handlersForEnv",{client:!1,server:!1}),h(o,"_handled",!1),h(o,"isHandled",(function(){return o._handled})),h(o,"willBeHandledOnClient",(function(){return o._handlersForEnv.client})),h(o,"willBeHandledOnServer",(function(){return o._handlersForEnv.server}));var c=function(){if(a)try{a.apply(this,arguments)}catch(t){throw t._punt=!0,t}},u=0,p=t.bindEnvironment((function n(r){var a=s._stack[u++];if(o.url=o.request.url=o.originalUrl,!a)return c.call(o,r);if(!a.test(i,{method:o._method}))return p(r);var h=t.isClient?"client":"server";if(a.middleware||(o._handlersForEnv[a.where]=!0),a.where!==h)return p(r);if(o.next=p,a.mount){var l=e.normalize(a.compiledUrl.pathname),d=i.substr(l.length,i.length);d=e.normalize(d),o.url=o.request.url=d}try{var f=a.handle.length,m=o.request,y=o.response;return r&&4===f?a.handle.call(o,r,m,y,p):!r&&f<4?a.handle.call(o,m,y,p):p(r)}catch(r){if(r._punt)throw r;p(r)}finally{o._handled=!0,o.next=null}}));return p(),o.next=null,o},(o=o||{}).MiddlewareStack=s}.call(this),Package._define("iron:middleware-stack",{Handler:a})}();
209
210!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,a=Package.underscore._,r=Package.tracker.Tracker,o=Package.tracker.Deps,i=Package.jquery.$,c=Package.jquery.jQuery,s=Package["iron:core"].Iron,h,u,l,f,p;(function(){var t=s.Url,e="__hash__";h=function(e){var n=t.parse(e),a=n.hash&&n.hash.replace("#",""),r=n.search,o=n.pathname,i=n.rootUrl,c;a&&"!"!==a.charAt(0)&&(r=r?r+"&":"?",r+="__hash__="+a,a="");return!a&&o?a="#!"+o.substring(1):a&&(a="#"+a),[i,a,r].join("")},u=function(n){var r=t.parse(n),o=r.hash&&r.hash.replace("#!","/"),i=r.search,c=r.rootUrl,s;return a.has(r.queryObject,e)?(s="#"+r.queryObject.__hash__,delete r.queryObject.__hash__):s="",[c,o,t.toQueryString(r.queryObject),s].join("")},l=function(e){var n=t.parse(e),a=n.queryObject;return n.hash&&(a.__hash__=n.hash.replace("#","")),["!",n.pathname.substring(1),t.toQueryString(a)].join("")}}).call(this),function(){var t=s.Url;(f=function(e,n){a.extend(this,t.parse(e),{options:n||{}})}).prototype.equals=function(t){return!!t&&(t instanceof f&&(t.pathname==this.pathname&&t.search==this.search&&t.hash==this.hash&&t.options.historyState===this.options.historyState))},f.prototype.isCancelled=function(){return!!this._isCancelled},f.prototype.cancelUrlChange=function(){this._isCancelled=!0}}.call(this),function(){var e=s.Url,n=null,r=new o.Dependency,c={go:[],popState:[]},g=function(){return/MSIE 9/.test(navigator.appVersion)},y=function(){return/MSIE 8/.test(navigator.appVersion)},S=function(){return!!Package.appcache},d=function(){return"undefined"==typeof history||"function"!=typeof history.pushState},_=function(){return p.options.useHashPaths||y()||g()||S()||d()},v=function(){return!!p.options.useHashPaths},k=function(t,e){a.each(c[t],(function(t){t.call(e)}))},w=function(t){if(!(t instanceof f))throw new Error("Expected a State instance");return!t.equals(n)&&(n=t,r.changed(),!0)},m=function(){var t=location.href,e;e=v()?new f(u(t)):new f(t,{historyState:history.state}),k("popState",e),w(e)},P=function(t){var e=q;q&&q(t)},j=function(t,e){var n=new f(t,e=e||{});k("go",n),w(n)&&o.afterFlush((function(){n.isCancelled()||(v()?location.hash=l(t):!0===e.replaceState?history.replaceState(e.historyState,null,t):history.pushState(e.historyState,null,t))}))},q=function(t){try{var n=t.currentTarget,a,r;if(n.href instanceof SVGAnimatedString?r=a=n.href.animVal:(a=n.href,r=n.pathname+n.search+n.hash),r=r.replace(/(^\/?)/,"/"),t.isDefaultPrevented())return void t.preventDefault();if(t.metaKey||t.ctrlKey||t.shiftKey)return;if(n.target)return;if(!e.isSameOrigin(a,location.href))return;t.preventDefault(),j(r)}catch(o){throw t.preventDefault(),o}};(p={}).options={linkSelector:"a[href]",useHashPaths:!1},p.configure=function(t){a.extend(this.options,t||{})}
210,p.get=function(){return r.depend(),n},p.start=function(){if(!this._isStarted){var n=e.parse(location.href);if(_()){if(n.pathname.length>1){var a=h(location.href);window.location=a}this.configure({useHashPaths:!0})}var r=location.href;if(v()){var o=new f(u(r));w(o)}else{if("!"===n.hash.replace("#","")[0])var r=u(r);var c={initial:!0};history.replaceState(c,null,r);var o=new f(r,{historyState:c});w(o)}i(window).on("popstate.iron-location",m),i(window).on("hashchange.iron-location",m),t.startup((function(){i(document).on("click.iron-location",p.options.linkSelector,P)})),this._isStarted=!0}},p.stop=function(){this._isStarted&&(i(window).on("popstate.iron-location"),i(window).on("hashchange.iron-location"),i(document).off("click.iron-location"),this._isStarted=!1)},p.onClick=function(t){q=t},p.go=function(t,e){return j(t,e)},p.onGo=function(t){c.go.push(t)},p.onPopState=function(t){c.popState.push(t)},p.start(),s.Location=p}.call(this),Package._define("iron:location",{urlToHashStyle:h,urlFromHashStyle:u})}();
211
212!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,o=Package.underscore._,r=Package.tracker.Tracker,a=Package.tracker.Deps,i=Package["reactive-dict"].ReactiveDict,u=Package["templating-runtime"].Template,l=Package["iron:core"].Iron,s=Package.blaze.Blaze,c=Package.blaze.UI,p=Package.blaze.Handlebars,h=Package.spacebars.Spacebars,d=Package.htmljs.HTML,f,_;(function(){var t=l.utils.assert,e=function(){for(var t={},e=a.currentComputation;e;)t[String(e._id)]=!0,e=e._parent;return t},n=function(n){var r=e(),a=o.keys(n._dependentsById);o.each(a,(function(e){t(!r[e],"\n\nYou called wait() after calling ready() inside the same computation tree.\n\nYou can fix this problem in two possible ways:\n\n1) Put all of your wait() calls before any ready() calls.\n2) Put your ready() call in its own computation with Deps.autorun.")}))};(f=function(){this._readyDep=new a.Dependency,this._comps=[],this._notReadyCount=0}).prototype.wait=function(t){var e=this,r=a.currentComputation;n(e._readyDep),a.nonreactive((function(){var n=null,i=a.autorun((function(o){var r=!!t(),a=e._notReadyCount;o.firstRun&&!r?e._notReadyCount++:null!==n&&r!==n&&!0===r?e._notReadyCount--:null!==n&&r!==n&&!1===r&&e._notReadyCount++,n=r,(0===a&&e._notReadyCount>0||a>0&&0===e._notReadyCount)&&e._readyDep.changed()}));e._comps.push(i),r&&r.onInvalidate((function(){a.afterFlush((function(){i.stop(),e._comps.splice(o.indexOf(e._comps,i),1),!1===n&&(e._notReadyCount--,0===e._notReadyCount&&e._readyDep.changed())}))}))}))},f.prototype.ready=function(){return this._readyDep.depend(),0===this._notReadyCount},f.prototype.stop=function(){o.each(this._comps,(function(t){t.stop()})),this._comps=[]},l.WaitList=f}).call(this),function(){var t=l.utils.debug("iron:controller"),e=l.Layout,n=l.DynamicTemplate,r=function(t,e){return function(){return"function"==typeof t?t.apply(e,arguments):t}};(_=function(t){var n=this;this.options=t||{},this._layout=this.options.layout||new e(this.options),this._isController=!0,this._layout._setLookupHost(this);var o=_._collectEventMaps.call(this.constructor);this._layout.events(o,this),this.init(t)}).prototype.layout=function(t,e){var n=this;return this._layout.template(t),e&&o.has(e,"data")&&this._layout.data(r(e.data,this)),{data:function(t){return n._layout.data(r(t,n))}}},_.prototype.render=function(t,e){var n=this;e&&"undefined"!=typeof e.data&&(e.data=r(e.data,this));var o=this._layout.render(t,e);return{data:function(t){return o.data(r(t,n))}}},_.prototype.beginRendering=function(t){return this._layout.beginRendering(t)},_.extend=function(t){return l.utils.extend(this,t)},_.events=function(t){return this._eventMap=t,this};var a=function(t,e){var n={};return t.__super__&&o.extend(n,a(t.__super__.constructor,e)),o.has(t,e)?o.extend(n,t[e]):n};_._collectEventMaps=function(){return a(this,"_eventMap")},_._helpers={},_.helpers=function(t){return o.extend(this._helpers,t),this},"undefined"!=typeof u&&(l.controller=function(){return n.findLookupHostWithProperty(s.getView(),"_isController")},u.registerHelper("get",(function(t){var e=l.controller();if(e&&e.state)return e.state.get(t)}))),l.Controller=_}.call(this),function(){var t=l.Layout,e=l.utils.debug("iron:controller"),n=l.utils.defaultValue,r=function(t,e){return function(){return"function"==typeof t?t.apply(e,arguments):t}};_.prototype.init=function(t){this._waitlist=new f,this.state=new i},_.prototype.insert=function(t){return this._layout.insert.apply(this._layout,arguments)},_.prototype.wait=function(t){var e=this;if(t)return o.isArray(t)?o.each(t,(function t(n){e.wait(n)})):t.ready?this._waitlist.wait((function(){return t.ready()})):this._waitlist.wait(t),this},_.prototype.ready=function(){return this._waitlist.ready()},_.prototype.stop=function(){this._waitlist.stop()}}.call(this),function(){u.__checkName("ControllerChangeTest"),u.ControllerChangeTest=new u("Template.ControllerChangeTest",(function(){var t=this;return["Controller-",s.View((function(){return h.mustache(t.lookup("id"))}))]})),u.__checkName("ReactiveStateTest"),u.ReactiveStateTest=new u("Template.ReactiveStateTest",(function(){var t=this;return s.View((function(){return h.mustache(t.lookup("postId"))}))})),u.__checkName("ControllerTest"),u.ControllerTest=new u("Template.ControllerTest",(function(){var t=this;return["Parent-",s.View((function(){return h.mustache(t.lookup("id"))}
212)),"\n  ",h.include(t.lookupTemplate("ControllerChild"))]})),u.__checkName("ControllerChild"),u.ControllerChild=new u("Template.ControllerChild",(function(){var t=this;return["Child-",s.View((function(){return h.mustache(t.lookup("id"))}))]})),u.__checkName("ControllerEventHandler"),u.ControllerEventHandler=new u("Template.ControllerEventHandler",(function(){var t=this;return d.Raw("<div>\n    TriggerClick\n  </div>")}))}.call(this),Package._define("iron:controller")}();
213
214!function(){var t=Package.underscore._,o=Package.tracker.Tracker,e=Package.tracker.Deps,r=Package.blaze.Blaze,n=Package.blaze.UI,i=Package.blaze.Handlebars,a=Package["templating-runtime"].Template,s=Package.ejson.EJSON,u=Package.meteor.Meteor,l=Package.meteor.global,p=Package.meteor.meteorEnv,c=Package["iron:core"].Iron,h=Package.htmljs.HTML,f=Package.spacebars.Spacebars,d,y,_,m,g;(function(){d=new u.EnvironmentVariable}).call(this),function(){y=["get","post","put","delete","patch","head"]}.call(this),function(){var o=c.Controller,e=c.Url,r=c.MiddlewareStack,n=c.utils.assert;_=o.extend({constructor:function(o){_.__super__.constructor.apply(this,arguments),o=o||{},this.options=o,this._onStopCallbacks=[],this.route=o.route,this.params=[];var e=this.lookupOption("data");"function"==typeof e?this.data=t.bind(e,this):"undefined"!=typeof e&&(this.data=function(){return e}),this.init(o)}}),_.prototype.lookupOption=function(o){if(this.route&&this.route.options&&t.has(this.route.options,o))return this.route.options[o];if(t.has(this.options,o))return this.options[o];if("undefined"!=typeof this[o])return this[o];var e=d.get();return e&&t.has(e,o)?e[o]:this.router&&this.router.options&&t.has(this.router.options,o)?this.router.options[o]:void 0}
214,_.prototype.configureFromUrl=function(t,o,e){n("string"==typeof t,"url must be a string"),o=o||{},this.request=o.request||{},this.response=o.response||{},this.url=o.url||t,this.originalUrl=o.originalUrl||t,this.method=this.request.method,this.route&&this.setParams(this.route.params(t),e)},_.prototype._collectHooks=function(){var o=this,e=t.toArray(arguments),r=function(e){if(!e)return[];var r=o.router.lookupHook,n=t.isArray(e)?e:[e];return t.map(n,(function(t){return r(t)}))},n=function(o,e){var i=[];return o.__super__&&(i=i.concat(n(o.__super__.constructor,e))),t.has(o.prototype,e)?i.concat(r(o.prototype[e])):i},i=function(t){for(var o=0;o<e.length;o++)t(e[o])},a=[];i((function(t){var e=o.route&&o.route.getName(),r=o.router.getHooks(t,e);a=a.concat(r)}));var s=[];i((function(t){var e=n(o.constructor,t);s=s.concat(e)}));var u=[];i((function(e){if(t.has(o,e)){var n=r(o[e]);u=u.concat(n)}}));var l=[];o.route&&i((function(t){var e=r(o.route.options[t]);l=l.concat(e)}));var p=a.concat(l).concat(s).concat(u);return p},_.prototype.runHooks=function(){for(var t=this._collectHooks.apply(this,arguments),o=0,e=t.length;o<e;o++){var r=t[o];r.call(this)}return t.length},_.prototype.getParams=function(){return this.params},_.prototype.setParams=function(t){return this.params=t,this},c.RouteController=_}.call(this),function(){var r=c.Controller,n=c.Url,i=c.MiddlewareStack,a=c.utils.debug("iron-router:RouteController");if(_.prototype.init=function(t){_.__super__.init.apply(this,arguments),this._computation=null,this._paramsDep=new o.Dependency,this.location=c.Location},_.prototype.getParams=function(){return this._paramsDep.depend(),this.params},_.prototype.setParams=function(o,e){var r;if(!function(o,r){if(!(o instanceof Array))throw new Error("you called equals with a non array value in setParams");if(!(r instanceof Array))return!1;if(o.length!==r.length)return!1;for(var n=0;n<o.length;n++)if(!s.equals(o[n],r[n],e))return!1;var i=t.keys(o),a=t.keys(r),u;if(i.length!==a.length)return!1;for(var n=0;n<i.length;n++){if(u=i[n],!t.has(r,u))return!1;if(!s.equals(o[u],r[u]))return!1}return!0}(this.params,o))return this.params=o,!1!==(e=e||{}).reactive&&this._paramsDep.changed(),this},_.prototype.dispatch=function(t,o,r){if(this._computation&&!this._computation.stopped)throw new Error("RouteController computation is already running. Stop it first.");var n=this;return e.nonreactive((function(){e.autorun((function(e){n._computation=e,t.dispatch(o,n,r)}))})),n},_.prototype._runRoute=function(o,r,n){var a=this,s=this._collectHooks("subscriptions");t.each(s,(function(t){a.wait(t.call(a))}));var u=this._collectHooks("waitOn");t.each(u,(function(t){a.wait(t.call(a))}));var l=u.length>0,p,h,f=function(){return e.nonreactive((function(){return a._layout.template()}))},d=function(){return e.nonreactive((function(){var t=a._layout._regions.main;return t&&t.template()}))},y=f(),m=d();this.beginRendering((function o(e){if(!a.isStopped){var r=f(),n=d();if(y!==r||m!=n){var i=a._layout.regionKeys(),s=t.difference(i,e);t.each(s,(function(t){a._layout.clear(t)}))}}})),this.layout(this.lookupOption("layoutTemplate"),{data:this.lookupOption("data")});var g=new i,v=new i,k=new i;v.append(this._collectHooks("onRun","load"),{where:"client"}),k.append(this._collectHooks("onRerun"),{where:"client"}),g.append((function t(o,e,r){this._computation.firstRun&&!_._hasJustReloaded&&v.length>0?v.dispatch(o.url,this,r):r(),_._hasJustReloaded=!1}),(function t(o,e,r){this._computation.firstRun?r():k.length>0?k.dispatch(o.url,this,r):r()}),{where:"client"}),l&&g.push(t.bind(c.Router.hooks.loading,a));var R=this._collectHooks("onBeforeAction","before");g.append(R,{where:"client"}),0===o._actionStack.length&&o._actionStack.push(o._path,"action",o.options),g=g.concat(o._actionStack),this._rendered=!1,g.dispatch(r,this,n),e.afterFlush((function(){c.utils.warn(a._rendered||a.isStopped,"Route dispatch never rendered. Did you forget to call this.next() in an onBeforeAction?")})),this.runHooks("onAfterAction","after")},_.prototype.action=function(){this.render()},_.prototype.lookupTemplate=function(){return this.lookupOption("template")||this.router&&this.router.toTemplateName(this.route.getName())},_.prototype.lookupRegionTemplates=function(){return this.lookupOption("yieldRegions")||this.lookupOption("regionTemplates")||this.lookupOption("yieldTemplates")||{}},_.prototype.render=function(t,o){if(this._rendered=!0,0===arguments.length){var t=this.lookupTemplate(),e=_.__super__.render.call(this,t);return this.renderRegions(),e}return _.__super__.render.call(this,t,o)},_.prototype.renderRegions=function(){var o=this,e=this.lookupRegionTemplates();a("regionTemplates: "+JSON.stringify(e)),t.each(e,(function(t,e){o.render(e,t)}))},_.prototype.stop=function(){_.__super__.stop.call(this),this._computation&&this._computation.stop(),this.runHooks("onStop","unload"),this.isStopped=!0},_.prototype.redirect=function(){return this.router.go.apply(this.router,arguments)},_.prototype.subscribe=function(){var o=this,e=u.subscribe.apply(this,arguments);return t.extend(e,{wait:function(){o.wait(this)}})},Package.reload){Package.reload.Reload._onMigrate("iron-router",(function(){return[!0,
214!0]}));var l=Package.reload.Reload._migrationData("iron-router");_._hasJustReloaded=l}}.call(this),function(){var o=c.Url,e=c.MiddlewareStack,r=c.utils.assert;(m=function(o,r,n){var i=function(t,o,e){var r=this;r.request=t,r.response=o,i.dispatch(t.url,r,e)};return"object"==typeof r&&(r=(n=r).action),n=n||{},"string"==typeof o&&"/"!==o.charAt(0)&&(o=n.path?n.path:"/"+o),t.extend(i,this.constructor.prototype),n=i.options=n||{},i._actionStack=new e,i._beforeStack=new e,i._beforeStack.append(i.options.onBeforeAction),i._beforeStack.append(i.options.before),i._afterStack=new e,i._afterStack.append(i.options.onAfterAction),i._afterStack.append(i.options.after),i._methods={},"string"==typeof r?i._actionStack.push(o,t.extend(n,{template:r})):"function"!=typeof r&&"object"!=typeof r||i._actionStack.push(o,r,n),i._path=o,i}).prototype.getName=function(){return this.handler&&this.handler.name},m.prototype.findControllerConstructor=function(){var t=this,o=function(t,o){o=o||{};var e=c.utils.resolve(t);if(e&&_.prototype.isPrototypeOf(e.prototype))return e;if(!0!==o.supressErrors)throw new Error("RouteController '"+t+"' is not defined.")},e=function(o){return t.router.toControllerName(o)},r,n=this.getName();return"function"==typeof this.options.controller?this.options.controller:"string"==typeof this.options.controller?o(this.options.controller):this.router&&this.router.options.controller?"function"==typeof this.router.options.controller?this.router.options.controller:"string"==typeof this.router.options.controller?o(this.router.options.controller):void 0:n&&(r=o(e(n),{supressErrors:!0}))?r:_},m.prototype.createController=function(t){t=t||{};var o=this.findControllerConstructor(),e;return t.route=this,new o(t)},m.prototype.setControllerParams=function(t,o){},m.prototype.dispatch=function(t,o,e){return r(o._runRoute,"context doesn't have a _runRoute method"),o._runRoute(this,t,e)},m.prototype.path=function(t,o){return this.handler.resolve(t,o)},m.prototype.url=function(t,o){var e=this.path(t,o),r=o&&o.host||u.absoluteUrl();return"/"===r.charAt(r.length-1)&&(r=r.slice(0,r.length-1)),r+e},m.prototype.params=function(t){return this.handler.params(t)},t.each(y,(function(t){m.prototype[t]=function(o){return this._methods[t]=!0,this._actionStack.push(this._path,o,{name:this.getName()+"_"+t.toLowerCase(),method:t,where:this.handler.where,mount:!1}),this}})),c.Route=m}.call(this),function(){var o=c.MiddlewareStack,e=c.Url,r=c.Layout,n=c.utils.warn,i=c.utils.assert;(g=function(e){function r(t,o,e){r.dispatch(t.url,{request:t,response:o},e)}return r._stack=new o,r._globalHooks={},r.routes=[],r.routes._byPath={},this.configure.call(r,e),t.extend(r,this.constructor.prototype),this.init.call(r,e),u.startup((function(){u.defer((function(){!1!==r.options.autoStart&&r.start()}))})),r}).prototype.init=function(t){},g.prototype.configure=function(o){var e=this;o=o||{};var r=function(o){return o?t.isArray(o)?o:[o]:[]};return t.each(c.Router.HOOK_TYPES,(function n(i){o[i]&&(t.each(r(o[i]),(function t(o){e.addHook(i,o)})),delete o[i])})),this.options=this.options||{},t.extend(this.options,o),this},g.prototype.map=function(t){return t.call(this)},g.prototype.route=function(t,o,e){var r=function(t){return Object.prototype.toString.call(t)};i("[object String]"===r(t)||"[object RegExp]"===r(t),"Router.route requires a path that is a string or regular expression."),"object"==typeof o&&(o=(e=o).action);var n=new m(t,o,e);(e=e||{}).mount=!1;var a=this._stack.push(t,n,e);return a.route=n,n.handler=a,n.router=this,i(!this.routes._byPath[a.path],"A route for the path "+JSON.stringify(a.path)+" already exists by the name of "+JSON.stringify(a.name)+"."),this.routes._byPath[a.path]=n,this.routes.push(n),"string"==typeof a.name&&(this.routes[a.name]=n),n},g.prototype.findFirstRoute=function(t){for(var o,e,r=0;r<this.routes.length;r++)if(o=(e=this.routes[r]).handler.test(t,{where:u.isServer?"server":"client"}))return e;return null},g.prototype.path=function(t,o,e){var r=this.routes[t];return n(r,"You called Router.path for a route named "+JSON.stringify(t)+" but that route doesn't seem to exist. Are you sure you created it?"),r&&r.path(o,e)},g.prototype.url=function(t,o,e){var r=this.routes[t];return n(r,"You called Router.url for a route named "+JSON.stringify(t)+" but that route doesn't seem to exist. Are you sure you created it?"),r&&r.url(o,e)},g.prototype.createController=function(t,o){var e=this.findFirstRoute(t),r;return o=o||{},(r=e?e.createController({layout:this._layout}):new _({layout:this._layout})).router=this,r.configureFromUrl(t,o,{reactive:!1}),r},g.prototype.setTemplateNameConverter=function(t){return this._templateNameConverter=t,this},g.prototype.setControllerNameConverter=function(t){return this._controllerNameConverter=t,this},g.prototype.toTemplateName=function(t){return this._templateNameConverter?this._templateNameConverter(t):c.utils.classCase(t)},g.prototype.toControllerName=function(t){return this._controllerNameConverter?this._controllerNameConverter(t):c.utils.classCase(t)+"Controller"},g.prototype.addHook=function(o,e,r){var n=this,i=function(o){return o?t.isArray(o)?o:[o]:[]};(r=r||{}).only&&(r.only=i(r.only)),r.except&&(r.except=i(r.except));var a,s=function(){var t=this,o=arguments;return d.withValue(r,(function(){return n.lookupHook(e).apply(t,o)}))};return(this._globalHooks[o]=this._globalHooks[o]||[]).push({options:r,hook:s}),this},g.prototype.lookupHook=function(o){var e=o;if(t.isFunction(e))return e;if(t.isString(e)&&t.isFunction(c.Router.hooks[e]))return c.Router.hooks[e];
214throw new Error("No hook found named: "+o)},g.prototype.getHooks=function(o,e){var r=this,n=[];return t.each(this._globalHooks[o],(function(o){var r=o.options;return r.except&&t.include(r.except,e)||r.only&&!t.include(r.only,e)?[]:void n.push(o.hook)})),n},g.HOOK_TYPES=["onRun","onRerun","onBeforeAction","onAfterAction","onStop","waitOn","subscriptions","load","before","after","unload"],g.hooks={},g.plugins={},t.each(g.HOOK_TYPES,(function(t){g.prototype[t]=function(o,e){this.addHook(t,o,e)}})),g.prototype.plugin=function(t,o){var e;if("function"==typeof t?e=t:"string"==typeof t&&(e=c.Router.plugins[t]),!e)throw new Error("No plugin found named "+JSON.stringify(t));return e.call(this,this,o),this},c.Router=g}.call(this),function(){if("undefined"!=typeof a)var t=new a("DefaultLoadingTemplate",(function(){return"Loading..."})),o=new a("DefaultDataNotFoundTemplate",(function(){return"Data not found..."}));g.hooks.loading=function(){if(this.ready())this.next();else{var o=this.lookupOption("loadingTemplate");this.render(o||t),this.renderRegions()}},g.hooks.dataNotFound=function(){if(this.ready()){var t=this.lookupOption("data"),e,r=this.lookupOption("notFoundTemplate");if("function"==typeof t&&!(e=t.call(this)))return this.render(r||o),void this.renderRegions();this.next()}else this.next()}}.call(this),function(){var o=c.utils.warn,e=c.DynamicTemplate,i=c.utils.debug("iron:router <helpers>");n.registerHelper("Router",new r.Template("Router",(function(){return g.createView()}))),n.registerHelper("pathFor",(function(e){var r;arguments.length>1&&(r=arguments[0],e=arguments[1]||{});var n=e&&e.hash,i="",a=(n=n||{}).query,u=n.hash,r=r||n.route,l=t.extend({},n.data||this),p=g.routes[r];return o(p,"pathFor couldn't find a route named "+JSON.stringify(r)),p&&(t.each(p.handler.compiledUrl.keys,(function(o){var e=o.name;t.has(n,e)&&(l[e]=s.clone(n[e]),delete n[e])})),i=p.path(l,{query:a,hash:u})),i})),n.registerHelper("urlFor",(function(e){var r;arguments.length>1&&(r=arguments[0],e=arguments[1]||{});var n=e&&e.hash,i="",a=(n=n||{}).query,u=n.hash,r=r||n.route,l=t.extend({},n.data||this),p=g.routes[r];return o(p,"urlFor couldn't find a route named "+JSON.stringify(r)),p&&(t.each(p.handler.compiledUrl.keys,(function(o){var e=o.name;t.has(n,e)&&(l[e]=s.clone(n[e]),delete n[e])})),i=p.url(l,{query:a,hash:u})),i})),n.registerHelper("linkTo",new r.Template("linkTo",(function(){var n=this,i=e.getInclusionArguments(this);if("object"!=typeof i)throw new Error("linkTo options must be key value pairs such as {{#linkTo route='my.route.name'}}. You passed: "+JSON.stringify(i));var a="",u=(i=i||{}).query,l=i.hash,p=i.route,c=t.extend({},i.data||e.getParentDataContext(this)),f=g.routes[p],d;o(f,"linkTo couldn't find a route named "+JSON.stringify(p)),f&&(t.each(f.handler.compiledUrl.keys,(function(o){var e=o.name;t.has(i,e)&&(c[e]=s.clone(i[e]),delete i[e])})),a=f.path(c,{query:u,hash:l}));var y=t.omit(i,"route","query","hash","data");return y.href=a,r.With((function(){return e.getParentDataContext(n)}),(function(){return h.A(y,n.templateContentBlock)}))})))}.call(this),function(){var o=c.MiddlewareStack,r=c.Url,n=c.Layout,i=c.utils.assert,a="__IronRouterNotFound__",s="__IronRouterNoRoutes__";g.prototype.init=function(t){var o=this;o._currentController=null,o._currentRoute=null,o._currentDep=new e.Dependency,o._locationComputation=null,o._layout=new n({template:o.options.layoutTemplate}),u.startup((function(){setTimeout((function t(){!1!==o.options.autoRender&&o.insert({el:document.body})}))}))},g.prototype.insert=function(t){return this._layout.insert(t),this},g.prototype.createView=function(){return this._layout.create()},g.prototype.lookupNotFoundTemplate=function(){return this.options.notFoundTemplate?this.options.notFoundTemplate:0===this.routes.length?s:a},g.prototype.lookupLayoutTemplate=function(){return this.options.layoutTemplate},g.prototype.dispatch=function(t,o,r){var n=this;i("string"==typeof t,"expected url string in router dispatch");var u=this._currentController,l=this.findFirstRoute(t),p=this._currentRoute;return this._currentRoute=l,this._currentController&&this._currentController.stop(),u&&l&&p===l?u.configureFromUrl(t,o):u=this.createController(t,o),this._currentController=u,u.dispatch(n._stack,t,(function t(o){if(o)throw o;if(!u.isHandled()){var i=e.nonreactive((function(){return u.location.get().options.historyState})),l;if(i&&!0===i.initial)this.layout(this.lookupOption("layoutTemplate"),{data:{url:this.url}}),l=0===n.routes.length?this.lookupOption("noRoutesTemplate")||s:this.lookupOption("notFoundTemplate")||a,this.render(l,{data:{url:this.url}}),this.renderRegions(),u.isHandled=function(){return!0};return r&&r.call(u)}})),this._currentController==u&&this._currentDep.changed(),u},g.prototype.current=function(){return this._currentDep.depend(),this._currentController},g.prototype._scrollToHash=function(t){try{var o=$(t);$("html, body").scrollTop(o.offset().top)}catch(e){}},g.prototype.start=function(){var t=this,o;t._locationComputation=e.autorun((function e(r){var n,i=c.Location.get(),a,s,u,l=t._currentController;!l||o&&o.path!==i.path?n=t.dispatch(i.href,null,(function t(o){this.isHandled()||(i.cancelUrlChange(),window.location=i.path)})):(t._scrollToHash(i.hash),l.configureFromUrl(i.href)),o=i}))},g.prototype.stop=function(){this._isStarted&&(this._locationComputation&&this._locationComputation.stop(),this._currentController&&this._currentController.stop(),this._isStarted=!1)},g.prototype.go=function(o,e,r){var n=this,a,s;if(r=r||{},/^\/|http/.test(o))s=o;else{var u=n.routes[o];i(u,"No route found named "+JSON.stringify(o)),s=u.path(e,t.extend(r,{throwOnMissingParams:!0}))}c.Location.go(s,r)}}.call(this),function(){g.plugins.loading=function(t,o){t.onBeforeAction("loading",o)},g.plugins.dataNotFound=function(t,o){t.onBeforeAction("dataNotFound",o)}}.call(this),function(){g=new c.Router}.call(this),function(){a.__checkName("__IronRouterNotFound__"),a.__IronRouterNotFound__=new a("Template.__IronRouterNotFound__",(function(){var t=this;return h.DIV({style:"width: 600px; margin: 0 auto; padding: 20px;"},"\n    ",h.DIV({style:"font-size: 18pt; color: #999;"},"\n      Oops, looks like there's no route on the client or the server for url: \"",r.View("lookup:url",(function(){return f.mustache(t.lookup("url"))})),'."\n    '),"\n  ")})),a.__checkName("__IronRouterNoRoutes__"),a.__IronRouterNoRoutes__=new a("Template.__IronRouterNoRoutes__",(function(){var t=this;return h.Raw('<div style="font-family: helvetica; color: #777; max-width: 600px; margin: 20px auto;">\n      <h1 style="text-align: center; margin: 0; font-size: 48pt;">\n        iron:router\n      </h1>\n      <p style="text-align: center; font-size: 1.3em; color: red;">
214\n        No route definitions found.\n      </p>\n      <div style="margin: 50px 0px;">\n        <p>To create a route:</p>\n        <pre style="background: #f2f2f2; margin: 0; padding: 10px;">\nRouter.route(\'/\', function () {\n  this.render(\'Home\', {\n    data: function () { return Items.findOne({_id: this.params._id}); }\n  });\n});\n        </pre>\n        <p style="text-align:center"><small>To hide this page, set \'noRoutesTemplate\' in <a href="http://iron-meteor.github.io/iron-router/#global-default-options" target="_blank">Router.configure()</a></small></p>\n      </div>\n      <div style="margin: 50px 0px; text-align: center;">\n        Check it out on Github:<br>\n        <a href="https://github.com/meteor-compat/iron-router/" target="_blank">https://github.com/meteor-compat/iron-router/</a>\n        <br>\n        <br>\n        And check out our Guide:<br>\n        <a href="https://iron-meteor.github.io/iron-router" target="_blank">\n          https://iron-meteor.github.io/iron-router\n        </a>\n      </div>\n    </div>')}))}.call(this),Package._define("iron:router",{Router:g,RouteController:_})}();
215
216!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv;(function(){var e=document.getElementsByTagName("head")[0],t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css",e.appendChild(t)}).call(this),Package._define("natestrauser:font-awesome")}();
217
218!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,n=Package.meteor.meteorEnv,t=Package.blaze.Blaze,i=Package.blaze.UI,o=Package.blaze.Handlebars,a=Package.session.Session,u=Package.tracker.Tracker,s=Package.tracker.Deps,c=Package.underscore._,l=Package.htmljs.HTML,p;(function(){"undefined"==typeof p&&(p={});var r={},n=e.isClient?new s.Dependency:null,t="en";p.setLanguage=function(r){r&&r!==t&&(t=r,e.isClient&&n.changed())},p.language=function(){return e.isClient&&n.depend(),t},p.setDictionary=function(e){r=e},p.addDictionary=function(e){c.extend(r,e)};var i=function(e,r){return e==e.toLowerCase()?r.toLowerCase():e==e.toUpperCase()?r.toUpperCase():e.substr(1)==e.substr(1).toLowerCase()?r.substr(0,1).toUpperCase()+r.substr(1).toLowerCase():e.substr(0,2)==e.substr(0,2).toUpperCase()?r:r.replace(/( [a-z])/g,(function(e){return e.toUpperCase()}))};p.getText=function(e,n){var t=e.toLowerCase(),o=r&&r[t],a="string"==typeof n?n:p.language();return i(e,o?o[a]?o[a]:o.en:"["+e+"]")}}).call(this),function(){"undefined"!=typeof i&&"function"==typeof i.registerHelper||(i={registerHelper:function(e,r){if("undefined"!=typeof o)return o.registerHelper(e,r);throw new Error("No UI or Handlebars found")}}),"undefined"!=typeof i&&(i.registerHelper("getLength",(function(e){return e&&e.length})),i.registerHelper("isSelected",(function(e,r){return e===r?{selected:"selected"}:null})),i.registerHelper("isChecked",(function(e,r){return e===r?{checked:"checked"}:null})),i.registerHelper("cutString",(function(e,r){return e.length>r?e.substr(0,Math.max(r-3,0))+"...":e})),i.registerHelper("$eq",(function(e,r){return e===r})),i.registerHelper("$neq",(function(e,r){return e!==r})),i.registerHelper("$in",(function(e,r,n,t){return e===r||e===n||e===t})),i.registerHelper("$nin",(function(e,r,n,t){return e!==r&&e!==n&&e!==t})),i.registerHelper("$exists",(function(e){return void 0!==e})),i.registerHelper("$lt",(function(e,r){return e<r})),i.registerHelper("$gt",(function(e,r){return e>r})),i.registerHelper("$lte",(function(e,r){return e<=r})),i.registerHelper("$gte",(function(e,r){return e>=r})),i.registerHelper("$and",(function(e,r){return e&&r})),i.registerHelper("$or",(function(e,r){return e||r})),i.registerHelper("$not",(function(e){return!e})),i.registerHelper("nl2br",(function(e){var r=(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1<br>$2");return new Spacebars.SafeString(r)})),i.registerHelper("getText",(function(e,r){var n=r||null;return p.getText(e,n)})),i.registerHelper("$mapped",(function(e){if(!Array.isArray(e))try{e=e.fetch()}
218catch(t){return console.log("Error in $mapped: perhaps you aren't sending in a collection or array."),[]}var r=e.length,n;return e.map((function(e,n){return e.$length=r,e.$index=n,e.$first=0===n,e.$last=n===r-1,e}))||[]})),p.superScope={},p.addScope=function(e,r){p.superScope[e]=c.bind((function(){return this}),r)},p.removeScope=function(e){delete i._globalHelpers[e],delete p.superScope[e]},p.addScope("Session",a),p.addScope("Meteor",e),i.registerHelper("$",(function(){return p.superScope})))}.call(this),Package._define("raix:handlebar-helpers",{Helpers:p})}();
219
220!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,s;(function(){!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,(function(){"use strict";var e,t;function n(){return e.apply(null,arguments)}function s(t){e=t}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function r(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){var t;for(t in e)return!1;return!0}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n=[],s;for(s=0;s<e.length;++s)n.push(t(e[s],s));return n}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function h(e,t,n,s){return Cn(e,t,n,s,!0).utc()}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}}function f(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null}),e._pf}function m(e){if(null==e._isValid){var n=f(e),s=t.call(n.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&n.overflow<0&&!n.empty&&!n.invalidMonth&&!n.invalidWeekday&&!n.nullInput&&!n.invalidFormat&&!n.userInvalidated&&(!n.meridiem||n.meridiem&&s);if(e._strict&&(i=i&&0===n.charsLeftOver&&0===n.unusedTokens.length&&void 0===n.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function _(e){var t=h(NaN);return null!=e?d(f(t),e):f(t).userInvalidated=!0,t}function y(e){return void 0===e}t=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s<n;s++)if(s in t&&e.call(this,t[s],s,t))return!0;return!1};var g=n.momentProperties=[];function v(e,t){var n,s,i;if(y(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),y(t._i)||(e._i=t._i),y(t._f)||(e._f=t._f),y(t._l)||(e._l=t._l),y(t._strict)||(e._strict=t._strict),y(t._tzm)||(e._tzm=t._tzm),y(t._isUTC)||(e._isUTC=t._isUTC),y(t._offset)||(e._offset=t._offset),y(t._pf)||(e._pf=f(t)),y(t._locale)||(e._locale=t._locale),g.length>0)for(n in g)y(i=t[s=g[n]])||(e[s]=i);return e}var p=!1;function w(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),!1===p&&(p=!0,n.updateOffset(this),p=!1)}function k(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function S(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function M(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=S(t)),n}function D(e,t,n){var s=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),r=0,a;for(a=0;a<s;a++)(n&&e[a]!==t[a]||!n&&M(e[a])!==M(t[a]))&&r++;return r+i}function Y(e){!1===n.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function O(e,t){var s=!0;return d((function(){if(null!=n.deprecationHandler&&n.deprecationHandler(null,e),s){for(var i=[],r,a=0;a<arguments.length;a++){if(r="","object"==typeof arguments[a]){for(var o in r+="\n["+a+"] ",arguments[0])r+=o+": "+arguments[0][o]+", ";r=r.slice(0,-2)}else r=arguments[a];i.push(r)}Y(e+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack),s=!1}return t.apply(this,arguments)}),t)}var x={},b;function T(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),x[e]||(Y(t),x[e]=!0)}function P(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function W(e){var t,n;for(n in e)P(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function R(e,t){var n=d({},e),s;for(s in t)l(t,s)&&(r(e[s])&&r(t[s])?(n[s]={},d(n[s],e[s]),d(n[s],t[s])):null!=t[s]?n[s]=t[s]:delete n[s]);for(s in e)l(e,s)&&!l(t,s)&&r(e[s])&&(n[s]=d({},n[s]));return n}function U(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,b=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};
220var C={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function F(e,t,n){var s=this._calendar[e]||this._calendar.sameElse;return P(s)?s.call(t,n):s}var L={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function H(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,(function(e){return e.slice(1)})),this._longDateFormat[e])}var G="Invalid date";function j(){return this._invalidDate}var V="%d",I=/\d{1,2}/;function A(e){return this._ordinal.replace("%d",e)}var E={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function N(e,t,n,s){var i=this._relativeTime[n];return P(i)?i(e,t,n,s):i.replace(/%d/i,e)}function z(e,t){var n=this._relativeTime[e>0?"future":"past"];return P(n)?n(t):n.replace(/%s/i,t)}var Z={};function q(e,t){var n=e.toLowerCase();Z[n]=Z[n+"s"]=Z[t]=e}function $(e){return"string"==typeof e?Z[e]||Z[e.toLowerCase()]:void 0}function B(e){var t={},n,s;for(s in e)l(e,s)&&(n=$(s))&&(t[n]=e[s]);return t}var J={};function Q(e,t){J[e]=t}function X(e){var t=[];for(var n in e)t.push({unit:n,priority:J[n]});return t.sort((function(e,t){return e.priority-t.priority})),t}function K(e,t){return function(s){return null!=s?(te(this,e,s),n.updateOffset(this,t),this):ee(this,e)}}function ee(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function te(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function ne(e){return P(this[e=$(e)])?this[e]():this}function se(e,t){if("object"==typeof e)for(var n=X(e=B(e)),s=0;s<n.length;s++)this[n[s].unit](e[n[s].unit]);else if(P(this[e=$(e)]))return this[e](t);return this}function ie(e,t,n){var s=""+Math.abs(e),i=t-s.length,r;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}var re=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ae=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,oe={},ue={};function le(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(ue[e]=i),t&&(ue[t[0]]=function(){return ie(i.apply(this,arguments),t[1],t[2])}),n&&(ue[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function de(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function he(e){var t=e.match(re),n,s;for(n=0,s=t.length;n<s;n++)ue[t[n]]?t[n]=ue[t[n]]:t[n]=de(t[n]);return function(n){var i="",r;for(r=0;r<s;r++)i+=t[r]instanceof Function?t[r].call(n,e):t[r];return i}}function ce(e,t){return e.isValid()?(t=fe(t,e.localeData()),oe[t]=oe[t]||he(t),oe[t](e)):e.localeData().invalidDate()}function fe(e,t){var n=5;function s(e){return t.longDateFormat(e)||e}for(ae.lastIndex=0;n>=0&&ae.test(e);)e=e.replace(ae,s),ae.lastIndex=0,n-=1;return e}var me=/\d/,_e=/\d\d/,ye=/\d{3}/,ge=/\d{4}/,ve=/[+-]?\d{6}/,pe=/\d\d?/,we=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,Se=/\d{1,3}/,Me=/\d{1,4}/,De=/[+-]?\d{1,6}/,Ye=/\d+/,Oe=/[+-]?\d+/,xe=/Z|[+-]\d\d:?\d\d/gi,be=/Z|[+-]\d\d(?::?\d\d)?/gi,Te=/[+-]?\d+(\.\d{1,3})?/,Pe=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,We={};function Re(e,t,n){We[e]=P(t)?t:function(e,s){return e&&n?n:t}}function Ue(e,t){return l(We,e)?We[e](t._strict,t._locale):new RegExp(Ce(e))}function Ce(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,s,i){return t||n||s||i})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var Le={};function He(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(s=function(e,n){
vendor: 12,207 bytes, line 220
220n[t]=M(e)}),n=0;n<e.length;n++)Le[e[n]]=s}function Ge(e,t){He(e,(function(e,n,s,i){s._w=s._w||{},t(e,s._w,s,i)}))}function je(e,t,n){null!=t&&l(Le,e)&&Le[e](t,n._a,n,e)}var Ve=0,Ie=1,Ae=2,Ee=3,Ne=4,ze=5,Ze=6,qe=7,$e=8,Be;function Je(e,t){return new Date(Date.UTC(e,t+1,0)).getUTCDate()}Be=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},le("M",["MM",2],"Mo",(function(){return this.month()+1})),le("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),le("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),q("month","M"),Q("month",8),Re("M",pe),Re("MM",pe,_e),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),He(["M","MM"],(function(e,t){t[1]=M(e)-1})),He(["MMM","MMMM"],(function(e,t,n,s){var i=n._locale.monthsParse(e,s,n._strict);null!=i?t[1]=i:f(n).invalidMonth=e}));var Qe=/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/,Xe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");function Ke(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Qe).test(t)?"format":"standalone"][e.month()]:this._months}var et="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function tt(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Qe.test(t)?"format":"standalone"][e.month()]:this._monthsShort}function nt(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],s=0;s<12;++s)r=h([2e3,s]),this._shortMonthsParse[s]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[s]=this.months(r,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Be.call(this._shortMonthsParse,a))?i:null:-1!==(i=Be.call(this._longMonthsParse,a))?i:null:"MMM"===t?-1!==(i=Be.call(this._shortMonthsParse,a))||-1!==(i=Be.call(this._longMonthsParse,a))?i:null:-1!==(i=Be.call(this._longMonthsParse,a))||-1!==(i=Be.call(this._shortMonthsParse,a))?i:null}function st(e,t,n){var s,i,r;if(this._monthsParseExact)return nt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),s=0;s<12;s++){if(i=h([2e3,s]),n&&!this._longMonthsParse[s]&&(this._longMonthsParse[s]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[s]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[s]||(r="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[s]=new RegExp(r.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[s].test(e))return s;if(n&&"MMM"===t&&this._shortMonthsParse[s].test(e))return s;if(!n&&this._monthsParse[s].test(e))return s}}function it(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=M(t);else if("number"!=typeof(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Je(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function rt(e){return null!=e?(it(this,e),n.updateOffset(this,!0),this):ee(this,"Month")}function at(){return Je(this.year(),this.month())}var ot=Pe;function ut(e){return this._monthsParseExact?(l(this,"_monthsRegex")||ht.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}var lt=Pe;function dt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||ht.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=lt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function ht(){function e(e,t){return t.length-e.length}var t=[],n=[],s=[],i,r;for(i=0;i<12;i++)r=h([2e3,i]),t.push(this.monthsShort(r,"")),n.push(this.months(r,"")),s.push(this.months(r,"")),s.push(this.monthsShort(r,""));for(t.sort(e),n.sort(e),s.sort(e),i=0;i<12;i++)t[i]=Fe(t[i]),n[i]=Fe(n[i]);for(i=0;i<24;i++)s[i]=Fe(s[i]);this._monthsRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+t.join("|")+")","i")}function ct(e){return ft(e)?366:365}function ft(e){return e%4==0&&e%100!=0||e%400==0}le("Y",0,0,(function(){var e=this.year();return e<=9999?""+e:"+"+e})),le(0,["YY",2],0,(function(){return this.year()%100})),le(0,["YYYY",4],0,"year"),le(0,["YYYYY",5],0,"year"),le(0,["YYYYYY",6,!0],0,"year"),q("year","y"),Q("year",1),Re("Y",Oe),Re("YY",pe,_e),Re("YYYY",Me,ge),Re("YYYYY",De,ve),Re("YYYYYY",De,ve),He(["YYYYY","YYYYYY"],0),He("YYYY",(function(e,t){t[0]=2===e.length?n.parseTwoDigitYear(e):M(e)})),He("YY",(function(e,t){t[0]=n.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[0]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return M(e)+(M(e)>68?1900:2e3)};var mt=K("FullYear",!0);function _t(){return ft(this.year())}function yt(e,t,n,s,i,r,a){var o=new Date(e,t,n,s,i,r,a);return e<100&&e>=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function gt(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function vt(e,t,n){var s=7+t-n,i;return-((7+gt(e,0,s).getUTCDay()-t)%7)+s-1}function pt(e,t,n,s,i){var r,a,o=1+7*(t-1)+(7+n-s)%7+vt(e,s,i),u,l;return o<=0?l=ct(u=e-1)+o:o>ct(e)?(u=e+1,l=o-ct(e)):(u=e,l=o),{year:u,dayOfYear:l}}function wt(e,t,n){var s=vt(e.year(),t,n),i=Math.floor((e.dayOfYear()-s-1)/7)+1,r,a;return i<1?r=i+kt(a=e.year()-1,t,n):i>kt(e.year(),t,n)?(r=i-kt(e.year(),t,n),a=e.year()+1):(a=e.year(),r=i),{week:r,year:a}}function kt(e,t,n){var s=vt(e,t,n),i=vt(e+1,t,n);return(ct(e)-s+i)/7}function St(e){return wt(e,this._week.dow,this._week.doy).week}le("w",["ww",2],"wo","week"),le("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),Q("week",5),Q("isoWeek",5),Re("w",pe),Re("ww",pe,_e),Re("W",pe),Re("WW",pe,_e),Ge(["w","ww","W","WW"],(function(e,t,n,s){t[s.substr(0,1)]=M(e)}));var Mt={dow:0,doy:6};function Dt(){return this._week.dow}function Yt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function xt(e){var t=wt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function bt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Tt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}le("d",0,"do","day"),le("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),le("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),le("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),le("e",0,0,"weekday"),le("E",0,0,"isoWeekday"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),Q("day",11),Q("weekday",11),Q("isoWeekday",11),Re("d",pe),Re("e",pe),Re("E",pe),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ge(["dd","ddd","dddd"],(function(e,t,n,s){var i=n._locale.weekdaysParse(e,s,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e})),Ge(["d","e","E"],(function(e,t,n,s){t[s]=M(e)}));var Pt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");function Wt(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}var Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");function Ut(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}var Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_");function Ft(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Lt(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=h([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Be.call(this._weekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Be.call(this._shortWeekdaysParse,a))?i:null:-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:"dddd"===t?-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._shortWeekdaysParse,a))||-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:"ddd"===t?-1!==(i=Be.call(this._shortWeekdaysParse,a))||-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._minWeekdaysParse,a))?i:null:-1!==(i=Be.call(this._minWeekdaysParse,a))||-1!==(i=Be.call(this._weekdaysParse,a))||-1!==(i=Be.call(this._shortWeekdaysParse,a))?i:null}function Ht(e,t,n){var s,i,r;if(this._weekdaysParseExact)return Lt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=h([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}}function Gt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=bt(e,this.localeData()),this.add(e-t,"d")):t}function jt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Vt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Tt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}var It=Pe;function At(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}var Et=Pe;function Nt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Et),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}var zt=Pe;function Zt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=zt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t=[],n=[],s=[],i=[],r,a,o,u,l;for(r=0;r<7;r++)a=h([2e3,1]).day(r),o=this.weekdaysMin(a,""),u=this.weekdaysShort(a,""),l=this.weekdays(a,""),t.push(o),n.push(u),s.push(l),i.push(o),i.push(u),i.push(l);for(t.sort(e),n.sort(e),s.sort(e),i.sort(e),r=0;r<7;r++)n[r]=Fe(n[r]),s[r]=Fe(s[r]),i[r]=Fe(i[r]);this._weekdaysRegex=new RegExp("^("+i.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function $t(){return this.hours()%12||12}function Bt(){return this.hours()||24}function Jt(e,t){le(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function Qt(e,t){return t._meridiemParse}function Xt(e){return"p"===(e+"").toLowerCase().charAt(0)}le("H",["HH",2],0,"hour"),le("h",["hh",2],0,$t),le("k",["kk",2],0,Bt),le("hmm",0,0,(function(){return""+$t.apply(this)+ie(this.minutes(),2)}
220)),le("hmmss",0,0,(function(){return""+$t.apply(this)+ie(this.minutes(),2)+ie(this.seconds(),2)})),le("Hmm",0,0,(function(){return""+this.hours()+ie(this.minutes(),2)})),le("Hmmss",0,0,(function(){return""+this.hours()+ie(this.minutes(),2)+ie(this.seconds(),2)})),Jt("a",!0),Jt("A",!1),q("hour","h"),Q("hour",13),Re("a",Qt),Re("A",Qt),Re("H",pe),Re("h",pe),Re("HH",pe,_e),Re("hh",pe,_e),Re("hmm",we),Re("hmmss",ke),Re("Hmm",we),Re("Hmmss",ke),He(["H","HH"],3),He(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),He(["h","hh"],(function(e,t,n){t[3]=M(e),f(n).bigHour=!0})),He("hmm",(function(e,t,n){var s=e.length-2;t[3]=M(e.substr(0,s)),t[4]=M(e.substr(s)),f(n).bigHour=!0})),He("hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=M(e.substr(0,s)),t[4]=M(e.substr(s,2)),t[5]=M(e.substr(i)),f(n).bigHour=!0})),He("Hmm",(function(e,t,n){var s=e.length-2;t[3]=M(e.substr(0,s)),t[4]=M(e.substr(s))})),He("Hmmss",(function(e,t,n){var s=e.length-4,i=e.length-2;t[3]=M(e.substr(0,s)),t[4]=M(e.substr(s,2)),t[5]=M(e.substr(i))}));var Kt=/[ap]\.?m?\.?/i;function en(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var tn=K("Hours",!0),nn={calendar:C,longDateFormat:L,invalidDate:G,ordinal:V,ordinalParse:I,relativeTime:E,months:Xe,monthsShort:et,week:Mt,weekdays:Pt,weekdaysMin:Ct,weekdaysShort:Rt,meridiemParse:Kt},sn={},rn;function an(e){return e?e.toLowerCase().replace("_","-"):e}function on(e){for(var t=0,n,s,i,r;t<e.length;){for(n=(r=an(e[t]).split("-")).length,s=(s=an(e[t+1]))?s.split("-"):null;n>0;){if(i=un(r.slice(0,n).join("-")))return i;if(s&&s.length>=n&&D(r,s,!0)>=n-1)break;n--}t++}return null}function un(e){var t=null;if(!sn[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=rn._abbr,require("./locale/"+e),ln(t)}catch(n){}return sn[e]}function ln(e,t){var n;return e&&(n=y(t)?cn(e):dn(e,t))&&(rn=n),rn._abbr}function dn(e,t){if(null!==t){var n=nn;return t.abbr=e,null!=sn[e]?(T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=sn[e]._config):null!=t.parentLocale&&(null!=sn[t.parentLocale]?n=sn[t.parentLocale]._config:T("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),sn[e]=new U(R(n,t)),ln(e),sn[e]}return delete sn[e],null}function hn(e,t){if(null!=t){var n,s=nn;null!=sn[e]&&(s=sn[e]._config),(n=new U(t=R(s,t))).parentLocale=sn[e],sn[e]=n,ln(e)}else null!=sn[e]&&(null!=sn[e].parentLocale?sn[e]=sn[e].parentLocale:null!=sn[e]&&delete sn[e]);return sn[e]}function cn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return rn;if(!i(e)){if(t=un(e))return t;e=[e]}return on(e)}function fn(){return b(sn)}function mn(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[1]<0||n[1]>11?1:n[2]<1||n[2]>Je(n[0],n[1])?2:n[3]<0||n[3]>24||24===n[3]&&(0!==n[4]||0!==n[5]||0!==n[6])?3:n[4]<0||n[4]>59?4:n[5]<0||n[5]>59?5:n[6]<0||n[6]>999?6:-1,f(e)._overflowDayOfYear&&(t<0||t>2)&&(t=2),f(e)._overflowWeeks&&-1===t&&(t=7),f(e)._overflowWeekday&&-1===t&&(t=8),f(e).overflow=t),e}var _n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,yn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?/,gn=/Z|[+-]\d\d(?::?\d\d)?/,vn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],pn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],wn=/^\/?Date\((\-?\d+)/i;function kn(e){var t,n,s=e._i,i=_n.exec(s)||yn.exec(s),r,a,o,u;if(i){for(f(e).iso=!0,t=0,n=vn.length;t<n;t++)if(vn[t][1].exec(i[1])){a=vn[t][0],r=!1!==vn[t][2];break}if(null==a)return void(e._isValid=!1);if(i[3]){for(t=0,n=pn.length;t<n;t++)if(pn[t][1].exec(i[3])){o=(i[2]||" ")+pn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(i[4]){if(!gn.exec(i[4]))return void(e._isValid=!1);u="Z"}e._f=a+(o||"")+(u||""),xn(e)}else e._isValid=!1}function Sn(e){var t=wn.exec(e._i);
220null===t?(kn(e),!1===e._isValid&&(delete e._isValid,n.createFromInputFallback(e))):e._d=new Date(+t[1])}function Mn(e,t,n){return null!=e?e:null!=t?t:n}function Dn(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Yn(e){var t,n,s=[],i,r;if(!e._d){for(i=Dn(e),e._w&&null==e._a[2]&&null==e._a[1]&&On(e),e._dayOfYear&&(r=Mn(e._a[0],i[0]),e._dayOfYear>ct(r)&&(f(e)._overflowDayOfYear=!0),n=gt(r,0,e._dayOfYear),e._a[1]=n.getUTCMonth(),e._a[2]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=i[t];for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[3]&&0===e._a[4]&&0===e._a[5]&&0===e._a[6]&&(e._nextDay=!0,e._a[3]=0),e._d=(e._useUTC?gt:yt).apply(null,s),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[3]=24)}}function On(e){var t,n,s,i,r,a,o,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,a=4,n=Mn(t.GG,e._a[0],wt(Fn(),1,4).year),s=Mn(t.W,1),((i=Mn(t.E,1))<1||i>7)&&(u=!0)):(r=e._locale._week.dow,a=e._locale._week.doy,n=Mn(t.gg,e._a[0],wt(Fn(),r,a).year),s=Mn(t.w,1),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r),s<1||s>kt(n,r,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(o=pt(n,s,i,r,a),e._a[0]=o.year,e._dayOfYear=o.dayOfYear)}function xn(e){if(e._f!==n.ISO_8601){e._a=[],f(e).empty=!0;var t=""+e._i,s,i,r,a,o,u=t.length,l=0;for(r=fe(e._f,e._locale).match(re)||[],s=0;s<r.length;s++)a=r[s],(i=(t.match(Ue(a,e))||[])[0])&&((o=t.substr(0,t.indexOf(i))).length>0&&f(e).unusedInput.push(o),t=t.slice(t.indexOf(i)+i.length),l+=i.length),ue[a]?(i?f(e).empty=!1:f(e).unusedTokens.push(a),je(a,i,e)):e._strict&&!i&&f(e).unusedTokens.push(a);f(e).charsLeftOver=u-l,t.length>0&&f(e).unusedInput.push(t),e._a[3]<=12&&!0===f(e).bigHour&&e._a[3]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[3]=bn(e._locale,e._a[3],e._meridiem),Yn(e),mn(e)}else kn(e)}function bn(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((s=e.isPM(n))&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function Tn(e){var t,n,s,i,r;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;i<e._f.length;i++)r=0,t=v({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[i],xn(t),m(t)&&(r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,(null==s||r<s)&&(s=r,n=t));d(e,n||t)}function Pn(e){if(!e._d){var t=B(e._i);e._a=u([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Yn(e)}}function Wn(e){var t=new w(mn(Rn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Rn(e){var t=e._i,n=e._f;return e._locale=e._locale||cn(e._l),null===t||void 0===n&&""===t?_({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),k(t)?new w(mn(t)):(i(n)?Tn(e):o(t)?e._d=t:n?xn(e):Un(e),m(e)||(e._d=null),e))}function Un(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Sn(e):i(t)?(e._a=u(t.slice(0),(function(e){return parseInt(e,10)})),Yn(e)):"object"==typeof t?Pn(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function Cn(e,t,n,s,o){var u={};return"boolean"==typeof n&&(s=n,n=void 0),(r(e)&&a(e)||i(e)&&0===e.length)&&(e=void 0),u._isAMomentObject=!0,u._useUTC=u._isUTC=o,u._l=n,u._i=e,u._f=t,u._strict=s,Wn(u)}function Fn(e,t,n,s){return Cn(e,t,n,s,!1)}n.createFromInputFallback=O("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){};var Ln=O("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Fn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:_()})),Hn=O("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Fn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:_()}));function Gn(e,t){var n,s;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Fn();for(n=t[0],s=1;s<t.length;++s)t[s].isValid()&&!t[s][e](n)||(n=t[s]);return n}function jn(){var e=[].slice.call(arguments,0);return Gn("isBefore",e)}function Vn(){var e=[].slice.call(arguments,0);return Gn("isAfter",e)}var In=function(){return Date.now?Date.now():+new Date};function An(e){var t=B(e),n=t.year||0,s=t.quarter||0,i=t.month||0,r=t.week||0,a=t.day||0,o=t.hour||0,u=t.minute||0,l=t.second||0,d=t.millisecond||0;this._milliseconds=+d+1e3*l+6e4*u+1e3*o*60*60,this._days=+a+7*r,this._months=+i+3*s+12*n,this._data={},this._locale=cn(),this._bubble()}function En(e){return e instanceof An}function Nn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zn(e,t){le(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+ie(~~(e/60),2)+t+ie(~~e%60,2)}))}zn("Z",":"),zn("ZZ",""),Re("Z",be),Re("ZZ",be),He(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=qn(be,e)}));var Zn=/([\+\-]|\d\d)/gi;function qn(e,t){var n=(t||"").match(e)||[],s,i=((n[n.length-1]||[])+"").match(Zn)||["-",0,0],r=60*i[1]+M(i[2]);return"+"===i[0]?r:-r}function $n(e,t){var s,i;return t._isUTC?(s=t.clone(),i=(k(e)||o(e)?e.valueOf():Fn(e).valueOf())-s.valueOf(),s._d.setTime(s._d.valueOf()+i),n.updateOffset(s,!1),s):Fn(e).local()}
220function Bn(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Jn(e,t){var s=this._offset||0,i;return this.isValid()?null!=e?("string"==typeof e?e=qn(be,e):Math.abs(e)<16&&(e*=60),!this._isUTC&&t&&(i=Bn(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),s!==e&&(!t||this._changeInProgress?ms(this,ls(e-s,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?s:Bn(this):null!=e?this:NaN}function Qn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Xn(e){return this.utcOffset(0,e)}function Kn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Bn(this),"m")),this}function es(){if(this._tzm)this.utcOffset(this._tzm);else if("string"==typeof this._i){var e;0===qn(xe,this._i)?this.utcOffset(0,!0):this.utcOffset(qn(xe,this._i))}return this}function ts(e){return!!this.isValid()&&(e=e?Fn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function ns(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function ss(){if(!y(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),(e=Rn(e))._a){var t=e._isUTC?h(e._a):Fn(e._a);this._isDSTShifted=this.isValid()&&D(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function is(){return!!this.isValid()&&!this._isUTC}function rs(){return!!this.isValid()&&this._isUTC}function as(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}n.updateOffset=function(){};var os=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,us=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;function ls(e,t){var n=e,s=null,i,r,a;return En(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(n={},t?n[t]=e:n.milliseconds=e):(s=os.exec(e))?(i="-"===s[1]?-1:1,n={y:0,d:M(s[2])*i,h:M(s[3])*i,m:M(s[4])*i,s:M(s[5])*i,ms:M(Nn(1e3*s[6]))*i}):(s=us.exec(e))?(i="-"===s[1]?-1:1,n={y:ds(s[2],i),M:ds(s[3],i),w:ds(s[4],i),d:ds(s[5],i),h:ds(s[6],i),m:ds(s[7],i),s:ds(s[8],i)}):null==n?n={}:"object"==typeof n&&("from"in n||"to"in n)&&(a=cs(Fn(n.from),Fn(n.to)),(n={}).ms=a.milliseconds,n.M=a.months),r=new An(n),En(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function ds(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function hs(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function cs(e,t){var n;return e.isValid()&&t.isValid()?(t=$n(t,e),e.isBefore(t)?n=hs(e,t):((n=hs(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function fs(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(T(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),ms(this,i=ls(n="string"==typeof n?+n:n,s),e),this}}function ms(e,t,s,i){var r=t._milliseconds,a=Nn(t._days),o=Nn(t._months);e.isValid()&&(i=null==i||i,r&&e._d.setTime(e._d.valueOf()+r*s),a&&te(e,"Date",ee(e,"Date")+a*s),o&&it(e,ee(e,"Month")+o*s),i&&n.updateOffset(e,a||o))}ls.fn=An.prototype;var _s=fs(1,"add"),ys=fs(-1,"subtract");function gs(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function vs(e,t){var s=e||Fn(),i=$n(s,this).startOf("day"),r=n.calendarFormat(this,i)||"sameElse",a=t&&(P(t[r])?t[r].call(this,s):t[r]);return this.format(a||this.localeData().calendar(r,this,Fn(s)))}function ps(){return new w(this)}function ws(e,t){var n=k(e)?e:Fn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(y(t)?"millisecond":t))?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function ks(e,t){var n=k(e)?e:Fn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(y(t)?"millisecond":t))?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Ss(e,t,n,s){return("("===(s=s||"()")[0]?this.isAfter(e,n):!this.isBefore(e,n))&&(")"===s[1]?this.isBefore(t,n):!this.isAfter(t,n))}function Ms(e,t){var n=k(e)?e:Fn(e),s;return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=$(t||"millisecond"))?this.valueOf()===n.valueOf():(s=n.valueOf(),this.clone().startOf(t).valueOf()<=s&&s<=this.clone().endOf(t).valueOf()))}function Ds(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Ys(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Os(e,t,n){var s,i,r,a;return this.isValid()&&(s=$n(e,this)).isValid()?(i=6e4*(s.utcOffset()-this.utcOffset()),"year"===(t=$(t))||"month"===t||"quarter"===t?(a=xs(this,s),"quarter"===t?a/=3:"year"===t&&(a/=12)):(r=this-s,a="second"===t?r/1e3:"minute"===t?r/6e4:"hour"===t?r/36e5:"day"===t?(r-i)/864e5:"week"===t?(r-i)/6048e5:r),n?a:S(a)):NaN}function xs(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),s=e.clone().add(n,"months"),i,r;return-(n+(r=t-s<0?(t-s)/(s-(i=e.clone().add(n-1,"months"))):(t-s)/((i=e.clone().add(n+1,"months"))-s)))||0}function bs(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Ts(){var e=this.clone().utc();return 0<e.year()&&e.year()<=9999?P(Date.prototype.toISOString)?this.toDate().toISOString():ce(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):ce(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function Ps(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=ce(this,e);return this.localeData().postformat(t)}function Ws(e,t){return this.isValid()&&(k(e)&&e.isValid()||Fn(e).isValid())?ls({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Rs(e){return this.from(Fn(),e)}function Us(e,t){return this.isValid()&&(k(e)&&e.isValid()||Fn(e).isValid())?ls({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Cs(e){return this.to(Fn(),e)}function Fs(e){var t;return void 0===e?this._locale._abbr:(null!=(t=cn(e))&&(this._locale=t),this)}n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ls=O("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function Hs(){return this._locale}function Gs(e){switch(e=$(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function js(e){return void 0===(e=$(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Vs(){return this._d.valueOf()-6e4*(this._offset||0)}function Is(){return Math.floor(this.valueOf()/1e3)}function As(){return new Date(this.valueOf())}function Es(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ns(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function zs(){return this.isValid()?this.toISOString():null}function Zs(){return m(this)}function qs(){return d({},f(this))}function $s(){return f(this).overflow}function Bs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Js(e,t){le(0,[e,e.length],0,t)}function Qs(e){return ti.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Xs(e){return ti.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Ks(){return kt(this.year(),1,4)}function ei(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function ti(e,t,n,s,i){var r;return null==e?wt(this,s,i).year:(t>(r=kt(e,s,i))&&(t=r),ni.call(this,e,t,n,s,i))}function ni(e,t,n,s,i){var r=pt(e,t,n,s,i),a=gt(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function si(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}le(0,["gg",2],0,(function(){return this.weekYear()%100})),le(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Js("gggg","weekYear"),Js("ggggg","weekYear"),Js("GGGG","isoWeekYear"),Js("GGGGG","isoWeekYear"),q
220("weekYear","gg"),q("isoWeekYear","GG"),Q("weekYear",1),Q("isoWeekYear",1),Re("G",Oe),Re("g",Oe),Re("GG",pe,_e),Re("gg",pe,_e),Re("GGGG",Me,ge),Re("gggg",Me,ge),Re("GGGGG",De,ve),Re("ggggg",De,ve),Ge(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,s){t[s.substr(0,2)]=M(e)})),Ge(["gg","GG"],(function(e,t,s,i){t[i]=n.parseTwoDigitYear(e)})),le("Q",0,"Qo","quarter"),q("quarter","Q"),Q("quarter",7),Re("Q",me),He("Q",(function(e,t){t[1]=3*(M(e)-1)})),le("D",["DD",2],"Do","date"),q("date","D"),Q("date",9),Re("D",pe),Re("DD",pe,_e),Re("Do",(function(e,t){return e?t._ordinalParse:t._ordinalParseLenient})),He(["D","DD"],2),He("Do",(function(e,t){t[2]=M(e.match(pe)[0],10)}));var ii=K("Date",!0);function ri(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}le("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),Q("dayOfYear",4),Re("DDD",Se),Re("DDDD",ye),He(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=M(e)})),le("m",["mm",2],0,"minute"),q("minute","m"),Q("minute",14),Re("m",pe),Re("mm",pe,_e),He(["m","mm"],4);var ai=K("Minutes",!1);le("s",["ss",2],0,"second"),q("second","s"),Q("second",15),Re("s",pe),Re("ss",pe,_e),He(["s","ss"],5);var oi=K("Seconds",!1),ui;for(le("S",0,0,(function(){return~~(this.millisecond()/100)})),le(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),le(0,["SSS",3],0,"millisecond"),le(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),le(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),le(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),le(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),le(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),le(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),q("millisecond","ms"),Q("millisecond",16),Re("S",Se,me),Re("SS",Se,_e),Re("SSS",Se,ye),ui="SSSS";ui.length<=9;ui+="S")Re(ui,Ye);function li(e,t){t[6]=M(1e3*("0."+e))}for(ui="S";ui.length<=9;ui+="S")He(ui,li);var di=K("Milliseconds",!1);function hi(){return this._isUTC?"UTC":""}function ci(){return this._isUTC?"Coordinated Universal Time":""}le("z",0,0,"zoneAbbr"),le("zz",0,0,"zoneName");var fi=w.prototype;fi.add=_s,fi.calendar=vs,fi.clone=ps,fi.diff=Os,fi.endOf=js,fi.format=Ps,fi.from=Ws,fi.fromNow=Rs,fi.to=Us,fi.toNow=Cs,fi.get=ne,fi.invalidAt=$s,fi.isAfter=ws,fi.isBefore=ks,fi.isBetween=Ss,fi.isSame=Ms,fi.isSameOrAfter=Ds,fi.isSameOrBefore=Ys,fi.isValid=Zs,fi.lang=Ls,fi.locale=Fs,fi.localeData=Hs,fi.max=Hn,fi.min=Ln,fi.parsingFlags=qs,fi.set=se,fi.startOf=Gs,fi.subtract=ys,fi.toArray=Es,fi.toObject=Ns,fi.toDate=As,fi.toISOString=Ts,fi.toJSON=zs,fi.toString=bs,fi.unix=Is,fi.valueOf=Vs,fi.creationData=Bs,fi.year=mt,fi.isLeapYear=_t,fi.weekYear=Qs,fi.isoWeekYear=Xs,fi.quarter=fi.quarters=si,fi.month=rt,fi.daysInMonth=at,fi.week=fi.weeks=Ot,fi.isoWeek=fi.isoWeeks=xt,fi.weeksInYear=ei,fi.isoWeeksInYear=Ks,fi.date=ii,fi.day=fi.days=Gt,fi.weekday=jt,fi.isoWeekday=Vt,fi.dayOfYear=ri,fi.hour=fi.hours=tn,fi.minute=fi.minutes=ai,fi.second=fi.seconds=oi,fi.millisecond=fi.milliseconds=di,fi.utcOffset=Jn,fi.utc=Xn,fi.local=Kn,fi.parseZone=es,fi.hasAlignedHourOffset=ts,fi.isDST=ns,fi.isLocal=is,fi.isUtcOffset=rs,fi.isUtc=as,fi.isUTC=as,fi.zoneAbbr=hi,fi.zoneName=ci,fi.dates=O("dates accessor is deprecated. Use date instead.",ii),fi.months=O("months accessor is deprecated. Use month instead",rt),fi.years=O("years accessor is deprecated. Use year instead",mt),fi.zone=O("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Qn),fi.isDSTShifted=O("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",ss);var mi=fi;function _i(e){return Fn(1e3*e)}function yi(){return Fn.apply(null,arguments).parseZone()}function gi(e){return e}var vi=U.prototype;function pi(e,t,n,s){var i=cn(),r=h().set(s,t);return i[n](r,e)}function wi(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=pi(e,s,n,"month");return i}function ki(e,t,n,s){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=cn(),r=e?i._week.dow:0,a;if(null!=n)return pi(t,(n+r)%7,s,"day");var o=[];for(a=0;a<7;a++)o[a]=pi(t,(a+r)%7,s,"day");return o}function Si(e,t){return wi(e,t,"months")}function Mi(e,t){return wi(e,t,"monthsShort")}function Di(e,t,n){return ki(e,t,n,"weekdays")}
220function Yi(e,t,n){return ki(e,t,n,"weekdaysShort")}function Oi(e,t,n){return ki(e,t,n,"weekdaysMin")}vi.calendar=F,vi.longDateFormat=H,vi.invalidDate=j,vi.ordinal=A,vi.preparse=gi,vi.postformat=gi,vi.relativeTime=N,vi.pastFuture=z,vi.set=W,vi.months=Ke,vi.monthsShort=tt,vi.monthsParse=st,vi.monthsRegex=dt,vi.monthsShortRegex=ut,vi.week=St,vi.firstDayOfYear=Yt,vi.firstDayOfWeek=Dt,vi.weekdays=Wt,vi.weekdaysMin=Ft,vi.weekdaysShort=Ut,vi.weekdaysParse=Ht,vi.weekdaysRegex=At,vi.weekdaysShortRegex=Nt,vi.weekdaysMinRegex=Zt,vi.isPM=Xt,vi.meridiem=en,ln("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n;return e+(1===M(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=O("moment.lang is deprecated. Use moment.locale instead.",ln),n.langData=O("moment.langData is deprecated. Use moment.localeData instead.",cn);var xi=Math.abs;function bi(){var e=this._data;return this._milliseconds=xi(this._milliseconds),this._days=xi(this._days),this._months=xi(this._months),e.milliseconds=xi(e.milliseconds),e.seconds=xi(e.seconds),e.minutes=xi(e.minutes),e.hours=xi(e.hours),e.months=xi(e.months),e.years=xi(e.years),this}function Ti(e,t,n,s){var i=ls(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function Pi(e,t){return Ti(this,e,t,1)}function Wi(e,t){return Ti(this,e,t,-1)}function Ri(e){return e<0?Math.floor(e):Math.ceil(e)}function Ui(){var e=this._milliseconds,t=this._days,n=this._months,s=this._data,i,r,a,o,u;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=864e5*Ri(Fi(n)+t),t=0,n=0),s.milliseconds=e%1e3,i=S(e/1e3),s.seconds=i%60,r=S(i/60),s.minutes=r%60,a=S(r/60),s.hours=a%24,t+=S(a/24),n+=u=S(Ci(t)),t-=Ri(Fi(u)),o=S(n/12),n%=12,s.days=t,s.months=n,s.years=o,this}function Ci(e){return 4800*e/146097}function Fi(e){return 146097*e/4800}function Li(e){var t,n,s=this._milliseconds;if("month"===(e=$(e))||"year"===e)return t=this._days+s/864e5,n=this._months+Ci(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Fi(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function Hi(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*M(this._months/12)}function Gi(e){return function(){return this.as(e)}}var ji=Gi("ms"),Vi=Gi("s"),Ii=Gi("m"),Ai=Gi("h"),Ei=Gi("d"),Ni=Gi("w"),zi=Gi("M"),Zi=Gi("y");function qi(e){return this[(e=$(e))+"s"]()}function $i(e){return function(){return this._data[e]}}var Bi=$i("milliseconds"),Ji=$i("seconds"),Qi=$i("minutes"),Xi=$i("hours"),Ki=$i("days"),er=$i("months"),tr=$i("years");function nr(){return S(this.days()/7)}var sr=Math.round,ir={s:45,m:45,h:22,d:26,M:11};function rr(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function ar(e,t,n){var s=ls(e).abs(),i=sr(s.as("s")),r=sr(s.as("m")),a=sr(s.as("h")),o=sr(s.as("d")),u=sr(s.as("M")),l=sr(s.as("y")),d=i<ir.s&&["s",i]||r<=1&&["m"]||r<ir.m&&["mm",r]||a<=1&&["h"]||a<ir.h&&["hh",a]||o<=1&&["d"]||o<ir.d&&["dd",o]||u<=1&&["M"]||u<ir.M&&["MM",u]||l<=1&&["y"]||["yy",l];return d[2]=t,d[3]=+e>0,d[4]=n,rr.apply(null,d)}function or(e){return void 0===e?sr:"function"==typeof e&&(sr=e,!0)}function ur(e,t){return void 0!==ir[e]&&(void 0===t?ir[e]:(ir[e]=t,!0))}function lr(e){var t=this.localeData(),n=ar(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}var dr=Math.abs;function hr(){var e=dr(this._milliseconds)/1e3,t=dr(this._days),n=dr(this._months),s,i,r;s=S(e/60),i=S(s/60),e%=60,s%=60;var a=r=S(n/12),o=n%=12,u=t,l=i,d=s,h=e,c=this.asSeconds();return c?(c<0?"-":"")+"P"+(a?a+"Y":"")+(o?o+"M":"")+(u?u+"D":"")+(l||d||h?"T":"")+(l?l+"H":"")+(d?d+"M":"")+(h?h+"S":""):"P0D"}var cr=An.prototype,fr;return cr.abs=bi,cr.add=Pi,cr.subtract=Wi,cr.as=Li,cr.asMilliseconds=ji,cr.asSeconds=Vi,cr.asMinutes=Ii,cr.asHours=Ai,cr.asDays=Ei,cr.asWeeks=Ni,cr.asMonths=zi,cr.asYears=Zi,cr.valueOf=Hi,cr._bubble=Ui,cr.get=qi,cr.milliseconds=Bi,cr.seconds=Ji,cr.minutes=Qi,cr.hours=Xi,cr.days=Ki,cr.weeks=nr,cr.months=er,cr.years=tr,cr.humanize=lr,cr.toISOString=hr,cr.toString=hr,cr.toJSON=hr,cr.locale=Fs,cr.localeData=Hs,cr.toIsoString=O("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hr),cr.lang=Ls,le("X",0,0,"unix"),le("x",0,0,"valueOf"),Re("x",Oe),Re("X",Te),He("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))})),He("x",(function(e,t,n){n._d=new Date(M(e))})),n.version="2.15.1",s(Fn),n.fn=mi,n.min=jn,n.max=Vn,n.now=In,n.utc=h,n.unix=_i,n.months=Si,n.isDate=o,n.locale=ln,n.invalid=_,n.duration=ls,n.isMoment=k,n.weekdays=Di,n.parseZone=yi,n.localeData=cn,n.isDuration=En,n.monthsShort=Mi,n.weekdaysMin=Oi,n.defineLocale=dn,n.updateLocale=hn,n.locales=fn,n.weekdaysShort=Yi,n.normalizeUnits=$,n.relativeTimeRounding=or,n.relativeTimeThreshold=ur,n.calendarFormat=gs,n.prototype=mi,n}))}).call(this),function(){s=this.moment;try{delete this.moment}catch(e){}}.call(this),Package._define("momentjs:moment",{moment:s})}();
221
222!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,i=Package.tracker.Tracker,r=Package.tracker.Deps,o=Package.underscore._,a=Package.check.check,s=Package.check.Match,u=Package.random.Random,l,c,f,d,p,m,y;(function(){String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.indexOf(e,t)===t}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")})}
222).call(this),function(){function e(e){return(e=(e=e||"").trim())[0]&&(e=e[0].toUpperCase()+e.substr(1).toLowerCase()),e}function t(e){return e=(e=(e=(e=(e=e||"").toString()).trim()).replace(/([a-z\d])([A-Z]+)/g,"$1_$2")).replace(/[-\s]+/g,"_").toLowerCase()}function n(e){var t=e.lastIndexOf("."),n=e.substring(t,e.length);return-1===t?"":n}l=function i(r){return e(r=(r=t(r=(r=(r=(r=r||"").toString()).trim()).replace(n(r),""))).replace(/[\W_]+/g," "))}}.call(this),function(){var e=function(e){return e===Object(e)};"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype});var t=function(t){return e(t)&&Object.getPrototypeOf(t)===Object.prototype},n=function e(t){return"string"!=typeof t?null:t.replace(/\.[0-9]+\./g,".$.").replace(/\.[0-9]+$/g,".$")},i=function e(t,n){return"$each"===n?t:t?t+"."+n:n},r=function e(t){var n=t.slice(0,t.indexOf("["));return"$"===n.substring(0,1)?n:null};(c=function(e,a){var s=this;function u(e,r,l,c,f,d){!c&&l&&"$"===l.substring(0,1)&&(c=l,l=null);var p=!1,m,y=!1;l&&(f||("$push"===c||"$addToSet"===c||"$pop"===c?(t(e)&&"$each"in e?(e=e.$each,r+="[$each]"):l+=".0",f=!0):"$pull"===c&&(l+=".0",t(e)&&(y=!0),f=!0)),m=n(l),p=o.contains(a,m),r&&(s._affectedKeys[r]=l,s._genericAffectedKeys[r]=m,d&&s._positionsInsideArrays.push(r))),y||(o.isArray(e)&&!o.isEmpty(e)?(r&&s._parentPositions.push(r),o.each(e,(function(e,t){u(e,r?r+"["+t+"]":t,l+"."+t,c,f,!0)}))):(t(e)&&!p||!r)&&(r&&!o.isEmpty(e)&&(s._parentPositions.push(r),s._objectPositions.push(r)),o.each(e,(function(t,n){void 0===t?delete e[n]:"$slice"!==n&&u(t,r?r+"["+n+"]":n,i(l,n),c,f,d)}))))}function l(){s._affectedKeys={},s._genericAffectedKeys={},s._parentPositions=[],s._positionsInsideArrays=[],s._objectPositions=[],u(s._obj)}s._obj=e,s._affectedKeys={},s._genericAffectedKeys={},s._parentPositions=[],s._positionsInsideArrays=[],s._objectPositions=[],u(s._obj),s.forEachNode=function(e,t){if("function"!=typeof e)throw new Error("filter requires a loop function");t=o.extend({endPointsOnly:!0},t);var n={};o.each(s._affectedKeys,(function(i,a){t.endPointsOnly&&o.contains(s._parentPositions,a)||e.call({value:s.getValueForPosition(a),operator:r(a),position:a,key:i,genericKey:s._genericAffectedKeys[a],updateValue:function(e){n[a]=e},remove:function(){n[a]=void 0}})})),o.each(n,(function(e,t){s.setValueForPosition(t,e)}))},s.getValueForPosition=function(e){for(var n,i=e.split("["),r=s._obj,a=0,u=i.length;a<u;a++)if("]"===(n=i[a]).slice(-1)&&(n=n.slice(0,-1)),r=r[n],!o.isArray(r)&&!t(r)&&a<u-1)return;return r},s.setValueForPosition=function(e,n){for(var i,r,a=e.split("["),u=s._obj,c=0,f=a.length;c<f;c++)if("]"===(r=a[c]).slice(-1)&&(r=r.slice(0,-1)),c===f-1)u[r]=n,void 0===n&&delete u[r];else if(void 0===u[r]&&void 0!==n&&(i=a[c+1],i=parseInt(i,10),u[r]=isNaN(i)?{}:[]),u=u[r],!o.isArray(u)&&!t(u)&&c<f-1)return;l()},s.removeValueForPosition=function(e){s.setValueForPosition(e,void 0)},s.getKeyForPosition=function(e){return s._affectedKeys[e]},s.getGenericKeyForPosition=function(e){return s._genericAffectedKeys[e]},s.getInfoForKey=function(e){var t=s.getPositionForKey(e);if(t)return{value:s.getValueForPosition(t),operator:r(t)};for(var n=s.getPositionsForGenericKey(e+".$"),i,o,a=0,u=n.length;a<u;a++)if(i=n[a],o=s.getValueForPosition(i)||s.getValueForPosition(i.slice(0,i.lastIndexOf("["))))return{value:o,operator:r(i)}},s.getPositionForKey=function(e){for(var t in s._affectedKeys)if(s._affectedKeys.hasOwnProperty(t)&&s._affectedKeys[t]===e)return t},s.getPositionsForGenericKey=function(e){var t=[];for(var n in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(n)&&s._genericAffectedKeys[n]===e&&t.push(n);return t},s.getValueForKey=function(e){var t=s.getPositionForKey(e);if(t)return s.getValueForPosition(t)},s.addKey=function(e,t,n){var i=n?n+"["+e+"]":c._keyToPosition(e);s.setValueForPosition(i,t)},s.removeGenericKeys=function(e){for(var t in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(t)&&o.contains(e,s._genericAffectedKeys[t])&&s.removeValueForPosition(t)},s.removeGenericKey=function(e){for(var t in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(t)&&s._genericAffectedKeys[t]===e&&s.removeValueForPosition(t)},s.removeKey=function(e){for(var t in s._affectedKeys)s._affectedKeys.hasOwnProperty(t)&&s._affectedKeys[t]===e&&s.removeValueForPosition(t)},s.removeKeys=function(e){for(var t=0,n=e.length;t<n;t++)s.removeKey(e[t])},s.filterGenericKeys=function(e){var t,n=[],i=[];for(var r in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(r)&&(t=s._genericAffectedKeys[r],o.contains(n,t)||(n.push(t),t&&!e(t)&&i.push(t)));o.each(i,(function(e){s.removeGenericKey(e)}))},s.setValueForKey=function(e,t){for(var n in s._affectedKeys)s._affectedKeys.hasOwnProperty(n)&&s._affectedKeys[n]===e&&s.setValueForPosition(n,t)},s.setValueForGenericKey=function(e,t){for(var n in s._genericAffectedKeys)s._genericAffectedKeys.hasOwnProperty(n)&&s._genericAffectedKeys[n]===e&&s.setValueForPosition(n,t)},s.getObject=function(){return s._obj},s.getFlatObject=function(e){e=e||{};var t={};return o.each(s._affectedKeys,(function(n,i){("string"!=typeof n||!0!==e.keepArrays||o.contains(s._positionsInsideArrays,i)||o.contains(s._objectPositions,i))&&(e.keepArrays||o.contains(s._parentPositions,i))||(t[n]=s.getValueForPosition(i))})),t},s.affectsKey=function(e){return!!s.getPositionForKey(e)},s.affectsGenericKey=function(e){for(var t in s._genericAffectedKeys)if(s._genericAffectedKeys.hasOwnProperty(t)&&s._genericAffectedKeys[t]===e)return!0;return!1},s.affectsGenericKeyImplicit=function(e){for(var t in s._genericAffectedKeys)if(s._genericAffectedKeys.hasOwnProperty(t)){var n=s._genericAffectedKeys[t],i;if(n===e)return!0;
222if(n.substring(0,e.length+1)===e+".")return!0;if(".$"===e.slice(-2)&&e.slice(0,-2)===n)return!0}return!1}}).expandKey=function(e,t,n){for(var i,r,o=t.split("["),a=n,s=0,u=o.length;s<u;s++)"]"===(r=o[s]).slice(-1)&&(r=r.slice(0,-1)),s===u-1?(a[r]=e,void 0===e&&delete a[r]):(i=o[s+1],i=parseInt(i,10),a[r]||(a[r]=isNaN(i)?{}:[])),a=a[r]},c._keyToPosition=function e(t,n){var i="";return o.each(t.split("."),(function(e,t){i+=0!==t||n?"["+e+"]":e})),i},c._positionToKey=function e(t){var n=new c({});n.setValueForPosition(t,1);var i=n.getKeyForPosition(t);return n=null,i}}.call(this),function(){f={appendAffectedKey:function e(t,n){return"$each"===n?t:t?t+"."+n:n},shouldCheck:function e(t){if("$pushAll"===t)throw new Error("$pushAll is not supported; use $push + $each");return!o.contains(["$pull","$pullAll","$pop","$slice"],t)},errorObject:function e(t,n,i){return{name:n,type:t,value:i}},isBasicObject:function e(t){return o.isObject(t)&&Object.getPrototypeOf(t)===Object.prototype},safariBugFix:function e(t){return"undefined"!=typeof Uint8Array&&t===Uint8Array||"undefined"!=typeof Uint16Array&&t===Uint16Array||"undefined"!=typeof Uint32Array&&t===Uint32Array||"undefined"!=typeof Uint8ClampedArray&&t===Uint8ClampedArray},isNotNullOrUndefined:function e(t){return null!=t},extractOp:function e(t){var n=t.slice(0,t.indexOf("["));return"$"===n.substring(0,1)?n:null},deleteIfPresent:function e(t,n){n in t&&delete t[n]},looksLikeModifier:function e(t){for(var n in t)if(t.hasOwnProperty(n)&&"$"===n.substring(0,1))return!0;return!1},dateToDateString:function e(t){var n=t.getUTCMonth()+1;n<10&&(n="0"+n);var i=t.getUTCDate();return i<10&&(i="0"+i),t.getUTCFullYear()+"-"+n+"-"+i}}}.call(this),function(){var t={type:s.Any,label:s.Optional(s.OneOf(String,Function)),optional:s.Optional(s.OneOf(Boolean,Function)),min:s.Optional(s.OneOf(Number,Date,Function)),max:s.Optional(s.OneOf(Number,Date,Function)),minCount:s.Optional(s.OneOf(Number,Function)),maxCount:s.Optional(s.OneOf(Number,Function)),allowedValues:s.Optional(s.OneOf([s.Any],Function)),decimal:s.Optional(Boolean),exclusiveMax:s.Optional(Boolean),exclusiveMin:s.Optional(Boolean),regEx:s.Optional(s.OneOf(RegExp,[RegExp])),custom:s.Optional(Function),blackbox:s.Optional(Boolean),autoValue:s.Optional(Function),defaultValue:s.Optional(s.Any),trim:s.Optional(Boolean)},n=function(e,t){var n;if(o.isArray(e)||o.isObject(e)&&!(e instanceof Date))return e;if(t===String)return"undefined"!=typeof e&&null!==e&&"string"!=typeof e?e.toString():e;if(t===Number){if("string"==typeof e&&!o.isEmpty(e)){var i=Number(e);return isNaN(i)?e:i}return e}if(t===Date){if("string"==typeof e&&(n=Date.parse(e),!1===isNaN(n)))return new Date(n);if("number"==typeof e)return new Date(e)}return e},r=function(e){return o.each(e,(function(t,n){var i,r;if(t){if(s.test(t.type,d))i=".",r=t.type,t.type=Object;else{if(!s.test(t.type,[d]))return;i=".$.",r=t.type[0],t.type=[Object]}o.each(r._schema,(function(t,r){var o=n+i+r;o in e||(e[o]=t)}))}})),e},u=function(e){o.each(e,(function(t,n){if(o.isArray(t.type)||t.type===Array){var i=n+".$";i in e||(e[i]={}),o.isArray(t.type)&&(e[i].type=t.type[0]),t.label&&(e[i].label=t.label),e[i].optional=!0,"undefined"!=typeof t.min&&(e[i].min=t.min),"undefined"!=typeof t.max&&(e[i].max=t.max),"undefined"!=typeof t.allowedValues&&(e[i].allowedValues=t.allowedValues),"undefined"!=typeof t.decimal&&(e[i].decimal=t.decimal),"undefined"!=typeof t.exclusiveMax&&(e[i].exclusiveMax=t.exclusiveMax),"undefined"!=typeof t.exclusiveMin&&(e[i].exclusiveMin=t.exclusiveMin),"undefined"!=typeof t.regEx&&(e[i].regEx=t.regEx),"undefined"!=typeof t.blackbox&&(e[i].blackbox=t.blackbox),t.type=Array,o.each(["min","max","allowedValues","decimal","exclusiveMax","exclusiveMin","regEx","blackbox"],(function(e){f.deleteIfPresent(t,e)}))}}))},p=function(e){var t=[],n=[],i,r,a,s;for(o.each(e,(function(e,r){for(var o=r.indexOf(".");-1!==o;)".$"===(i=r.substring(0,o)).substring(i.length-2)?o=-1:".$."===r.substring(o,o+3)?(t.push(i),o=r.indexOf(".",o+3)):(n.push(i),o=r.indexOf(".",o+1))})),a=0,s=t.length;a<s;a++)(r=t[a])in e||(e[r]={type:[Object],optional:!0});for(a=0,s=n.length;a<s;a++)(r=n[a])in e||(e[r]={type:Object,optional:!0});return u(e),e},m=function(e){var t={};return o.each(e,(function(e){e=s.test(e,d)?e._schema:p(r(e)),o.each(e,(function(e,n){t[n]=t[n]||{},o.extend(t[n],e)}))})),e.length&&u(t),t},v=function(e,t){var n,i,r={},a;return o.each(e,(function(e,s){e.type===Object&&(n=s+".",a=[],o.each(t,(function(e){e.startsWith(n)&&-1===(i=e.substring(n.length)).indexOf(".")&&a.push(i)})),r[n]=a)})),r},h=function(e){var t=e,n=t.lastIndexOf(".");if(-1!==n&&"$"===(t=t.substring(n+1))){var i=e.split(".");t=i[i.length-2]}return"_id"===t?"ID":l(t)};function g(t,n,i){var r=this,a=[];function s(e){var r=this.key;if(!o.contains(a,r)){var s=r.lastIndexOf("."),u=-1===s?"":r.slice(0,s+1),l=!1,
222c=e.call(o.extend({isSet:void 0!==this.value,unset:function(){l=!0},value:this.value,operator:this.operator,field:function(e){var n=t.getInfoForKey(e)||{};return{isSet:void 0!==n.value,value:n.value,operator:n.operator||null}},siblingField:function(e){var n=t.getInfoForKey(u+e)||{};return{isSet:void 0!==n.value,value:n.value,operator:n.operator||null}}},i||{}),t.getObject());if(a.push(r),void 0!==c){var f,d;if(o.isObject(c))for(var p in c)if(c.hasOwnProperty(p)&&"$"===p.substring(0,1)){f=p,d=c[p];break}!f&&n&&"$"!==this.position.slice(0,1)&&(f="$set",d=c),f?(t.removeValueForPosition(this.position),t.setValueForPosition(f+"["+r+"]",d)):t.setValueForPosition(this.position,c)}else l&&t.removeValueForPosition(this.position)}}e.isClient&&void 0===i.userId&&(i.userId=e.userId&&e.userId()||null),o.each(r._autoValues,(function(e,i){var r,a,u,l;if(-1!==i.indexOf("$")){var d=i.slice(0,i.lastIndexOf("$")+1);u=i.slice(d.length+1),r=c._keyToPosition(u,!0),u="."+u,l=t.getPositionsForGenericKey(d)}else(l=t.getPositionsForGenericKey(i)).length?(a=i,u="",r=""):(a=i,u="",r="",l=n?["$set["+i+"]"]:[c._keyToPosition(i)]);o.each(l,(function(n){s.call({key:(a||c._positionToKey(n))+u,value:t.getValueForPosition(n+r),operator:f.extractOp(n),position:n+r},e)}))}))}(d=function(e,n){var r=this,a=[],u;n=n||{},e=e||{},o.isArray(e)||(e=[e]),r._schema=m(e),r._schemaKeys=[],r._autoValues={},r._blackboxKeys=[],r._validators=[],r._messages={},r._depsMessages=new i.Dependency,r._depsLabels={},o.each(r._schema,(function(e,n){if(!s.test(e,t))throw new Error("Invalid definition for "+n+" field.");if(u=n.split(".")[0],r._schemaKeys.push(n),"defaultValue"in e)if("autoValue"in e)console.warn('SimpleSchema: Found both autoValue and defaultValue options for "'+n+'". Ignoring defaultValue.');else{if(".$"===n.slice(-2))throw new Error('An array item field (one that ends with ".$") cannot have defaultValue.');r._autoValues[n]=function e(t){return function(){if(null===this.operator&&!this.isSet)return t}}(e.defaultValue)}if("autoValue"in e){if(".$"===n.slice(-2))throw new Error('An array item field (one that ends with ".$") cannot have autoValue.');r._autoValues[n]=e.autoValue}r._depsLabels[n]=new i.Dependency,!0===e.blackbox&&r._blackboxKeys.push(n),o.contains(a,u)||a.push(u)})),r._firstLevelSchemaKeys=a,r._objectKeys=v(r._schema,r._schemaKeys),r._validationContexts={}}).extendOptions=function(e){o.extend(t,e)};var x="(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z](?:[a-z-]*[a-z])?",b,_="(?:(?:[0-1]?\\d{1,2}|2[0-4]\\d|25[0-5])(?:\\.|$)){4}",K="(?:(?:[\\dA-Fa-f]{1,4}(?::|$)){8}|(?=(?:[^:\\s]|:[^:\\s])*::(?:[^:\\s]|:[^:\\s])*$)[\\dA-Fa-f]{0,4}(?:::?(?:[\\dA-Fa-f]{1,4}|$)){1,6})",O="(?:"+["(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\\.|$))+",_,K].join("|")+")";function $(t,n){e.startup((function(){i.autorun((function(){t.isValid()||console.log('SimpleSchema invalid keys for "'+n+'" context:',t.invalidKeys())}))}))}d.RegEx={Email:/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Domain:new RegExp("^"+x+"$"),WeakDomain:new RegExp("^"+O+"$"),IP:new RegExp("^(?:"+_+"|"+K+")$"),IPv4:new RegExp("^"+_+"$"),IPv6:new RegExp("^"+K+"$"),Url:/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/i,Id:/^[23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz]{17}$/,ZipCode:/^\d{5}(?:[-\s]\d{4})?$/,Phone:/^[0-90-9٠-٩۰-۹]{2}$|^[++]*(?:[-x‐-―−ー--/  ­​⁠ ()()[].\[\]/~⁓∼~*]*[0-90-9٠-٩۰-۹]){3,}[-x‐-―−ー--/  ­​⁠ ()()[].\[\]/~⁓∼~0-90-9٠-٩۰-۹]*(?:;ext=([0-90-9٠-٩۰-۹]{1,7})|[  \t,]*(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|[,xx##~~]|int|anexo|int)[:\..]?[  \t,-]*([0-90-9٠-٩۰-۹]{1,7})#?|[- ]+([0-90-9٠-٩۰-۹]{1,5})#)?$/i},d._makeGeneric=function(e){return"string"!=typeof e?null:e.replace(/\.[0-9]+(?=\.|$)/g,".$")},d._depsGlobalMessages=new i.Dependency,d.prototype=new s.Where,d.prototype.condition=function(t){var n=this,i,r;if(o.each(t,(function(e,t){"$"===t.substring(0,1)?i=!0:r=!0})),i&&r)throw new s.Error("Object cannot contain modifier operators alongside other keys");var a=n.newContext();
222if(!a.validate(t,{modifier:i,filter:!1,autoConvert:!1})){var u=a.getErrorObject(),l=new s.Error(u.message);throw l.invalidKeys=u.invalidKeys,e.isServer&&(l.sanitizedError=u.sanitizedError),l}return!0},d.prototype.namedContext=function(t){var n=this;return"string"!=typeof t&&(t="default"),n._validationContexts[t]||(n._validationContexts[t]=new y(n),d.debug&&e.isClient&&i.nonreactive((function(){$(n._validationContexts[t],t)}))),n._validationContexts[t]},d._validators=[],d.addValidator=function(e){d._validators.push(e)},d.prototype.addValidator=function(e){this._validators.push(e)},d.prototype.pick=function(){var e=this,t=o.toArray(arguments);t.unshift(e._schema);var n=o.pick.apply(null,t);return new d(n)},d.prototype.omit=function(){var e=this,t=o.toArray(arguments);t.unshift(e._schema);var n=o.omit.apply(null,t);return new d(n)},d.prototype.clean=function(e,t){var i=this;if(t=o.extend({filter:!0,autoConvert:!0,removeEmptyStrings:!0,trimStrings:!0,getAutoValues:!0,isModifier:!1,extendAutoValueContext:{}},t||{}),"$pushAll"in e)for(var r in console.warn("SimpleSchema.clean: $pushAll is deprecated; converting to $push with $each"),e.$push=e.$push||{},e.$pushAll){e.$push[r]=e.$push[r]||{},e.$push[r].$each=e.$push[r].$each||[];for(var a=0,s=e.$pushAll[r].length;a<s;a++)e.$push[r].$each.push(e.$pushAll[r][a]);delete e.$pushAll}var u=new c(e,i._blackboxKeys);if((t.filter||t.autoConvert||t.removeEmptyStrings||t.trimStrings)&&u.forEachNode((function(){var e=this.genericKey,r,o,a;if(e){if(o=i._schema[e],a=this.value,t.filter&&"$unset"!==this.operator&&!i.allowsKey(e))return"[$each]"===this.position.slice(-7)?u.removeValueForPosition(this.position.slice(0,-7)):this.remove(),void(d.debug&&console.info('SimpleSchema.clean: filtered out value that would have affected key "'+e+'", which is not allowed by the schema'));if(void 0!==a){var s=!1;if(t.autoConvert&&"$unset"!==this.operator&&o){var l=n(a,o.type);t.trimStrings&&"string"==typeof l&&(l=l.trim()),void 0!==l&&l!==a&&(!t.removeEmptyStrings||this.operator&&"$set"!==this.operator||"string"!=typeof l||l.length||(l=void 0,"$set"===this.operator&&this.position.match(/\[.+?\]/g).length<2&&(r=this.position.replace("$set","$unset"),u.setValueForPosition(r,""))),d.debug&&console.info("SimpleSchema.clean: autoconverted value "+a+" from "+typeof a+" to "+typeof l+" for "+e),this.updateValue(l),s=!0)}s||(t.trimStrings&&"string"==typeof a&&(!o||o&&!1!==o.trim)&&this.updateValue(a.trim()),!t.removeEmptyStrings||this.operator&&"$set"!==this.operator||"string"!=typeof a||a.length||(this.remove(),"$set"===this.operator&&this.position.match(/\[.+?\]/g).length<2&&(r=this.position.replace("$set","$unset"),u.setValueForPosition(r,""))))}}}),{endPointsOnly:!1}),t.getAutoValues&&g.call(i,u,t.isModifier,t.extendAutoValueContext),t.isModifier)for(var l in e)e.hasOwnProperty(l)&&o.isEmpty(e[l])&&delete e[l];return e},d.prototype.schema=function(e){var t=this;return null!=e?t._schema[d._makeGeneric(e)]:t._schema},d.prototype.getDefinition=function(e,t,n){var i,r=this.schema(e);if(r)return r=o.isArray(t)?o.pick(r,t):o.clone(r),o.each(["min","max","minCount","maxCount","allowedValues","optional","label"],(function(e){o.isFunction(r[e])&&(r[e]=r[e].call(n||{}))})),r.label=r.label||h(e),r},d.prototype.keyIsInBlackBox=function(e){var t=this,n=d._makeGeneric(e),i,r;do{-1!==(i=n.lastIndexOf("."))&&(n=n.slice(0,i),r=t.getDefinition(n))}while(-1!==i&&!r);return!(!r||!r.blackbox)},d.prototype.labels=function(e){var t=this;o.each(e,(function(e,n){(o.isString(e)||o.isFunction(e))&&n in t._schema&&(t._schema[n].label=e,t._depsLabels[n]&&t._depsLabels[n].changed())}))},d.prototype.label=function(e){var t=this;if(null==e){var n={};return o.each(t.schema(),(function(e,i){n[i]=t.label(i)})),n}var i=t.getDefinition(e);if(i){var r=d._makeGeneric(e);return t._depsLabels[r]&&t._depsLabels[r].depend(),i.label}return null},d._globalMessages={required:"[label] is required",minString:"[label] must be at least [min] characters",maxString:"[label] cannot exceed [max] characters",minNumber:"[label] must be at least [min]",maxNumber:"[label] cannot exceed [max]",minNumberExclusive:"[label] must be greater than [min]",maxNumberExclusive:"[label] must be less than [max]",minDate:"[label] must be on or after [min]",maxDate:"[label] cannot be after [max]",badDate:"[label] is not a valid date",minCount:"You must specify at least [minCount] values",maxCount:"You cannot specify more than [maxCount] values",noDecimal:"[label] must be an integer",notAllowed:"[value] is not an allowed value",expectedString:"[label] must be a string",expectedNumber:"[label] must be a number",expectedBoolean:"[label] must be a boolean",expectedArray:"[label] must be an array",expectedObject:"[label] must be an object",expectedConstructor:"[label] must be a [type]",regEx:[{msg:"[label] failed regular expression validation"},{exp:d.RegEx.Email,msg:"[label] must be a valid e-mail address"},{exp:d.RegEx.WeakEmail,msg:"[label] must be a valid e-mail address"},{exp:d.RegEx.Domain,msg:"[label] must be a valid domain"},{exp:d.RegEx.WeakDomain,msg:"[label] must be a valid domain"},{exp:d.RegEx.IP,msg:"[label] must be a valid IPv4 or IPv6 address"},{exp:d.RegEx.IPv4,msg:"[label] must be a valid IPv4 address"},{exp:d.RegEx.IPv6,msg:"[label] must be a valid IPv6 address"},{exp:d.RegEx.Url,msg:"[label] must be a valid URL"},{exp:d.RegEx.Id,msg:"[label] must be a valid alphanumeric ID"}],keyNotInSchema:"[key] is not allowed by the schema"},d.messages=function(e){o.extend(d._globalMessages,e),d._depsGlobalMessages.changed()},d.prototype.messages=function(e){var t=this;o.extend(t._messages,e),t._depsMessages.changed()},d.prototype.messageForError=function(e,t,n,i){var r=this;n=n||r.getDefinition(t,["regEx","label","minCount","maxCount","min","max","type"])||{};var a=e.indexOf("."),s=null,u;-1!==a&&(s=e.substring(a+1),s=parseInt(s,10),e=e.substring(0,a)),"regEx"===e&&(u=null==s||isNaN(s)?n.regEx:n.regEx[s])&&(u=u.toString());var l=e+" "+t,c=d._makeGeneric(t),p=e+" "+c;function m(t){return"regEx"===e&&o.isArray(t)?(u&&(n=o.find(t,(function(e){return e.exp&&e.exp.toString()===u}))),n||(n=o.findWhere(t,{exp:null}))||(n=o.findWhere(t,{exp:void 0})),n?n.msg:null):t;var n}d._depsGlobalMessages.depend(),r._depsMessages.depend();var y=r._messages[l]||r._messages[p]||r._messages[e];
222if((y=m(y))||(y=m(y=d._globalMessages[l]||d._globalMessages[p]||d._globalMessages[e])),!y)return"Unknown validation error";y=(y=y.replace("[key]",t)).replace("[label]",r.label(t)),"undefined"!=typeof n.minCount&&(y=y.replace("[minCount]",n.minCount)),"undefined"!=typeof n.maxCount&&(y=y.replace("[maxCount]",n.maxCount)),y=null!=i?y.replace("[value]",i.toString()):y.replace("[value]","null");var v=n.min,h=n.max;return n.type===Date||n.type===[Date]?("undefined"!=typeof v&&(y=y.replace("[min]",f.dateToDateString(v))),"undefined"!=typeof h&&(y=y.replace("[max]",f.dateToDateString(h)))):("undefined"!=typeof v&&(y=y.replace("[min]",v)),"undefined"!=typeof h&&(y=y.replace("[max]",h))),n.type instanceof Function&&(y=y.replace("[type]",n.type.name)),y},d.prototype.allowsKey=function(e){var t=this;return o.any(t._schemaKeys,(function(n){if(n===e)return!0;if(!0===t.schema(n).blackbox){var i=n.length,r=e.slice(0,i+2),o=r.slice(0,-1);if(r===n+".$")return!1;if(o===n+".")return!0}return!1}))},d.prototype.newContext=function(){return new y(this)},d.prototype.objectKeys=function(e){var t=this;return e?t._objectKeys[e+"."]||[]:t._firstLevelSchemaKeys},d.prototype.validate=function(e,t){if(Package.check&&Package["audit-argument-checks"])try{a(e)}catch(s){}var n=this.newContext(),i;if(!n.validate(e,t)){var r=n.invalidKeys().map((function(e){return{name:e.name,type:e.type,details:{value:e.value}}})),o=n.keyErrorMessage(r[0].name);throw new Package["mdg:validation-error"].ValidationError(r,o)}},d.prototype.validator=function(e){var t=this;return e=e||{},function(n){!0===e.clean&&t.clean(n,e),t.validate(n)}}}.call(this),function(){function e(e,t,n){var i=e.type;if(i===String){if("string"!=typeof t)return"expectedString";if(null!==e.max&&e.max<t.length)return"maxString";if(null!==e.min&&e.min>t.length)return"minString";if(e.regEx instanceof RegExp&&!e.regEx.test(t))return"regEx";var r;if(o.isArray(e.regEx)&&(o.every(e.regEx,(function(e,n){return!!e.test(t)||(r="regEx."+n,!1)})),r))return r}else if(i===Number){if("number"!=typeof t||isNaN(t))return"expectedNumber";if("$inc"!==n&&null!==e.max&&(e.exclusiveMax?e.max<=t:e.max<t))return e.exclusiveMax?"maxNumberExclusive":"maxNumber";if("$inc"!==n&&null!==e.min&&(e.exclusiveMin?e.min>=t:e.min>t))return e.exclusiveMin?"minNumberExclusive":"minNumber";if(!e.decimal&&t.toString().indexOf(".")>-1)return"noDecimal"}else if(i===Boolean){if("boolean"!=typeof t)return"expectedBoolean"}else if(i===Object){if(!f.isBasicObject(t))return"expectedObject"}else if(i===Array){if(!o.isArray(t))return"expectedArray";if(null!==e.minCount&&t.length<e.minCount)return"minCount";if(null!==e.maxCount&&t.length>e.maxCount)return"maxCount"}else if(i instanceof Function||f.safariBugFix(i)){if(!(t instanceof i))return"expectedConstructor";if(i===Date){if(isNaN(t.getTime()))return"badDate";if(o.isDate(e.min)&&e.min.getTime()>t.getTime())return"minDate";if(o.isDate(e.max)&&e.max.getTime()<t.getTime())return"maxDate"}}}p=function t(n,i,r,a,s,u){if(!o.isObject(n))throw new Error("The first argument of validate() or validateOne() must be an object");if(!i&&f.looksLikeModifier(n))throw new Error("When the validation object contains mongo operators, you must set the modifier option to true");var l=[],p;function m(t,i,r,a,m,y,v,h){if(a)if(y||a.optional||null!==t&&"$unset"!==m&&"$rename"!==m&&(void 0!==t||!v&&!h&&m&&"$set"!==m))if("$rename"!==m||"string"!=typeof t||s.allowsKey(t)){if("$unset"!==m&&"$rename"!==m&&f.isNotNullOrUndefined(t)){var g=e(a,t,m);if(g)return void l.push(f.errorObject(g,i,t,a,s));if(a.allowedValues&&!o.contains(a.allowedValues,t))return void l.push(f.errorObject("notAllowed",i,t,a,s))}var x=i.lastIndexOf("."),b=-1===x?"":i.slice(0,x+1),_=a.custom?[a.custom]:[];_=_.concat(s._validators).concat(d._validators),o.every(_,(function(e){var d=e.call(o.extend({key:i,genericKey:r,definition:a,isSet:void 0!==t,value:t,operator:m,field:function(e){var t=(p=p||new c(n,s._blackboxKeys)).getInfoForKey(e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}},siblingField:function(e){var t=(p=p||new c(n,s._blackboxKeys)).getInfoForKey(b+e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}}},u||{}));return"string"!=typeof d||(l.push(f.errorObject(d,i,t,a,s)),!1)}))}else l.push(f.errorObject("keyNotInSchema",t,null,null,s));else l.push(f.errorObject("required",i,null,a,s));else l.push(f.errorObject("keyNotInSchema",i,t,a,s))}function y(e,t,n,i,r,u){var l,c;if(t){if(s.keyIsInBlackBox(t))return;if(l=d._makeGeneric(t),c=s.getDefinition(t),!a||a===t||a===l){var p=o.some(i,(function(e){return e.slice(0,t.length+1)===t+"."}));m(e,t,l,c,n,p,r,u)}}if(null!=e||c&&(c.type!==Object||c.optional)||(e={}),o.isArray(e))o.each(e,(function(e,r){y(e,t+"."+r,n,i)}));else if(f.isBasicObject(e)&&(!c||!c.blackbox)){var v=o.keys(e),h=o.union(v,s.objectKeys(l));r=l&&".$"===l.slice(-2),o.each(h,(function(o){y(e[o],f.appendAffectedKey(t,o),n,i,r,!0)}))}}function v(e){if(o.isEmpty(e))throw new Error("When the modifier option is true, validation object must have at least one operator");var t=o.keys(e.$set||{}).concat(o.keys(e.$setOnInsert||{}));"$setOnInsert"in e&&(r&&(e.$set=e.$set||{},e.$set=o.extend(e.$set,e.$setOnInsert)),delete e.$setOnInsert),o.each(e,(function(e,n){if("$"!==n.slice(0,1))throw new Error("When the modifier option is true, all validation object keys must be operators. Did 
222you forget `$set`?");if(f.shouldCheck(n)){if(r&&"$set"===n){var i=o.keys(e);o.each(s.objectKeys(),(function(e){o.contains(i,e)||y(void 0,e,n,t)}))}o.each(e,(function(e,i){"$push"!==n&&"$addToSet"!==n||(f.isBasicObject(e)&&"$each"in e?e=e.$each:i+=".0"),y(e,i,n,t)}))}}))}i?v(n):y(n);var h=[];return l=o.filter(l,(function(e){return!o.contains(h,e.name)&&(h.push(e.name),!0)}))}}.call(this),function(){function t(e,t,n){var i=e.type;if(i===String){if("string"!=typeof t)return"expectedString";if(null!==e.max&&e.max<t.length)return"maxString";if(null!==e.min&&e.min>t.length)return"minString";if(e.regEx instanceof RegExp&&!e.regEx.test(t))return"regEx";var r;if(o.isArray(e.regEx)&&(o.every(e.regEx,(function(e,n){return!!e.test(t)||(r="regEx."+n,!1)})),r))return r}else if(i===Number){if("number"!=typeof t||isNaN(t))return"expectedNumber";if("$inc"!==n&&null!==e.max&&(e.exclusiveMax?e.max<=t:e.max<t))return e.exclusiveMax?"maxNumberExclusive":"maxNumber";if("$inc"!==n&&null!==e.min&&(e.exclusiveMin?e.min>=t:e.min>t))return e.exclusiveMin?"minNumberExclusive":"minNumber";if(!e.decimal&&t.toString().indexOf(".")>-1)return"noDecimal"}else if(i===Boolean){if("boolean"!=typeof t)return"expectedBoolean"}else if(i===Object){if(!f.isBasicObject(t))return"expectedObject"}else if(i===Array){if(!o.isArray(t))return"expectedArray";if(null!==e.minCount&&t.length<e.minCount)return"minCount";if(null!==e.maxCount&&t.length>e.maxCount)return"maxCount"}else if(i instanceof Function||f.safariBugFix(i)){if(!(t instanceof i))return"expectedConstructor";if(i===Date){if(isNaN(t.getTime()))return"badDate";if(o.isDate(e.min)&&e.min.getTime()>t.getTime())return"minDate";if(o.isDate(e.max)&&e.max.getTime()<t.getTime())return"maxDate"}}}function n(t,n,i){var r=new e.Collection(null),a;if(i)a=u.id(),r.upsert({_id:a},t);else{var s=new c(t),l=new c({});o.each(n,(function(e,t){var n;if(e.type===Array&&s.affectsGenericKey(t)?n=[]:e.optional||(n=e.type===Boolean||(e.type===Number?e.min||0:e.type===Date?e.min||new Date:e.type===Array?[]:e.type===Object?{}:"0")),void 0!==n){var i=t.replace(/\.\$/g,".0"),r=c._keyToPosition(i,!1);l.setValueForPosition(r,n)}})),l=l.getObject(),a=r.insert(l),r.update(a,t)}var f=r.findOne(a);return r.remove(a),n._id||delete f._id,f}m=function e(i,r,a,s,u,l){if(!o.isObject(i))throw new Error("The first argument of validate() or validateOne() must be an object");if(r){if(o.isEmpty(i))throw new Error("When the modifier option is true, validation object must have at least one operator");var p;if(!o.every(i,(function(e,t){return"$"===t.substring(0,1)})))throw new Error("When the modifier option is true, all validation object keys must be operators");i=n(i,u.schema(),a)}else if(f.looksLikeModifier(i))throw new Error("When the validation object contains mongo operators, you must set the modifier option to true");var m=[],y;function v(e,n,r,a,s,p,v){if(a)if(p||a.optional||null!=e){if(f.isNotNullOrUndefined(e)){var h=t(a,e,s);if(h)return void m.push(f.errorObject(h,n,e,a,u));if(a.allowedValues&&!o.contains(a.allowedValues,e))return void m.push(f.errorObject("notAllowed",n,e,a,u))}var g=n.lastIndexOf("."),x=-1===g?"":n.slice(0,g+1),b=a.custom?[a.custom]:[];b=b.concat(u._validators).concat(d._validators),o.every(b,(function(t){var d=t.call(o.extend({key:n,genericKey:r,definition:a,isSet:void 0!==e,value:e,operator:s,field:function(e){var t=(y=y||new c(i,u._blackboxKeys)).getInfoForKey(e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}},siblingField:function(e){var t=(y=y||new c(i,u._blackboxKeys)).getInfoForKey(x+e)||{};return{isSet:void 0!==t.value,value:t.value,operator:t.operator}}},l||{}));return"string"!=typeof d||(m.push(f.errorObject(d,n,e,a,u)),!1)}))}else m.push(f.errorObject("required",n,null,a,u));else m.push(f.errorObject("keyNotInSchema",n,e,a,u))}function h(e,t,n,i){var r,a;if(t){if(u.keyIsInBlackBox(t))return;r=d._makeGeneric(t),a=u.getDefinition(t),s&&s!==t&&s!==r||v(e,t,r,a,null,n,i)}if(null!=e||a&&(a.type!==Object||a.optional)||(e={}),o.isArray(e))o.each(e,(function(e,n){h(e,t+"."+n)}));else if(f.isBasicObject(e)&&(!a||!a.blackbox)){var l=o.keys(e),c=o.union(l,u._schemaKeys);i=r&&".$"===r.slice(-2),o.each(c,(function(r){f.shouldCheck(r)&&h(e[r],f.appendAffectedKey(t,r),n,i)}))}}h(i);var g=[];return m=o.filter(m,(function(e){return!o.contains(g,e.name)&&(g.push(e.name),!0)}))}}.call(this),function(){function t(e,t,n,i,r,o){var a=!0,s;return p(e,t,n,i,r,o)}(y=function e(t){var n=this;n._simpleSchema=t,n._schema=t.schema(),n._schemaKeys=o.keys(n._schema),n._invalidKeys=[],n._deps={},n._depsAny=new i.Dependency,o.each(n._schemaKeys,(function(e){n._deps[e]=new i.Dependency}))}).prototype.validate=function n(i,r){var a=this;r=o.extend({modifier:!1,upsert:!1,extendedCustomContext:{}},r||{}),e.isClient&&void 0===r.extendedCustomContext.userId&&(r.extendedCustomContext.userId=e.userId&&e.userId()||null);var s=t(i,r.modifier,r.upsert,null,a._simpleSchema,r.extendedCustomContext),u=o.pluck(a._invalidKeys,"name");a._invalidKeys=s;var l=o.pluck(a._invalidKeys,"name"),c=o.union(l,u);return a._markKeysChanged(c),0===a._invalidKeys.length},y.prototype.validateOne=function n(i,r,a){var s=this,u,l,c;a=o.extend({modifier:!1,upsert:!1,extendedCustomContext:{}},a||{}),e.isClient&&void 0===a.extendedCustomContext.userId&&(a.extendedCustomContext.userId=e.userId&&e.userId()||null);var f=t(i,a.modifier,a.upsert,r,s._simpleSchema,a.extendedCustomContext),d=[];for(u=0,l=s._invalidKeys.length;u<l;u++)(c=s._invalidKeys[u]).name!==r&&d.push(c);for(s._invalidKeys=d,u=0,l=f.length;u<l;u++)c=f[u],s._invalidKeys.push(c);return s._markKeysChanged([r]),!s._keyIsInvalid(r)},y.prototype.resetValidation=function e(){var t=this,n=o.pluck(t._invalidKeys,"name");t._invalidKeys=[],t._markKeysChanged(n)},y.prototype.isValid=function e(){var t=this;return t._depsAny.depend(),!t._invalidKeys.length},y.prototype.invalidKeys=function e(){var t=this;return t._depsAny.depend(),t._invalidKeys},y.prototype.addInvalidKeys=function e(t){var n=this;if(t&&t.length){var i=[];o.each(t,(function(e){i.push(e.name),n._invalidKeys.push(e)})),n._markKeysChanged(i)}},y.prototype._markKeysChanged=function e(t){var n=this;t&&t.length&&(o.each(t,(function(e){var t=d._makeGeneric(e);t in n._deps&&n._deps[t].changed()})),n._depsAny.changed())},y.prototype._getInvalidKeyObject=function e(t,n){var i=this;n=n||d._makeGeneric(t);var r=o.findWhere(i._invalidKeys,{name:t});return r||(r=o.findWhere(i._invalidKeys,{name:n})),r},y.prototype._keyIsInvalid=function e(t,n){return!!this._getInvalidKeyObject(t,n)},y.prototype.keyIsInvalid=function e(t){var n=this,i=d._makeGeneric(t);return n._deps[i]&&n._deps[i].depend(),n._keyIsInvalid(t,i)},y.prototype.keyErrorMessage=function e(t){var n=this,i=d._makeGeneric(t);n._deps[i]&&n._deps[i].depend();var r=n._getInvalidKeyObject(t,i);return r?n._simpleSchema.messageForError(r.type,r.name,null,r.value):""},y.prototype.getErrorObject=function t(){var n=this,i,r=this._invalidKeys;r.length?(i=n.keyErrorMessage(r[0].name),r=o.map(r,(function(e){return o.extend({message:n.keyErrorMessage(e.name)}
222,e)}))):i="Failed validation";var a=new Error(i);return a.invalidKeys=r,e.isServer&&(a.sanitizedError=new e.Error(400,i)),a}}.call(this),Package._define("aldeed:simple-schema",{SimpleSchema:d,MongoObject:c,humanize:l})}();
223
224!function(){var a=Package["ddp-client"].DDP,e;Package._define("livedata",{DDP:a,LivedataTest:e})}();
225
226!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.underscore._,i;(function(){(function(){var e=function(e,t){var n=this;if(n._eventEmitter.maxListeners&&t>n._eventEmitter.maxListeners)return"warning: possible EventEmitter memory leak detected. "+t+' listeners added on event "'+e+'". Use emitter.setMaxListeners() to increase limit. ('+n._eventEmitter.maxListeners+")"};(i=function(e){var t=this;if(!(t instanceof i))throw new Error('use "new" to construct an EventEmitter');e=e||{},t._eventEmitter={onListeners:{},onceListeners:{},maxListeners:e.maxListeners||10}}).prototype.setMaxListeners=function(e){this._eventEmitter.maxListeners=e};var t=function(t,n,r){return"undefined"==typeof t[n]&&(t[n]=[]),e.apply(this,[n,t[n].push(r)])};i.prototype.on=function(e,n){var r=t.apply(this,[this._eventEmitter.onListeners,e,n]);return r&&console.warn(new Error(r).stack),this},i.prototype.once=function(e,n){var r=t.apply(this,[this._eventEmitter.onceListeners,e,n]);return r&&console.warn(new Error(r).stack),this};var n=function(e,t){var n=this,i=0;return"undefined"!=typeof e&&r.each(e,(function(e){i++,e.apply(n,t)})),i};i.prototype.emit=function(e){var t=this,i=r.rest(arguments),o=0,s=t._eventEmitter.onceListeners[e];return t._eventEmitter.onceListeners[e]=[],o+=n.call(t,t._eventEmitter.onListeners[e],i),(o+=n.call(t,s,i))>0};var o=function(e,t){for(var n=!1,r=[],i=0;i<e.length;i++)n||e[i]!==t?r.push(e[i]):n=!0;return r};i.prototype.off=function(e,t){var n=this;e?"function"==typeof t?("undefined"!=typeof n._eventEmitter.onListeners[e]&&(n._eventEmitter.onListeners[e]=o(n._eventEmitter.onListeners[e],t)),"undefined"!=typeof n._eventEmitter.onceListeners[e]&&(n._eventEmitter.onceListeners[e]=o(n._eventEmitter.onceListeners[e],t))):(n._eventEmitter.onListeners[e]=[],n._eventEmitter.onceListeners[e]=[]):(n._eventEmitter.onListeners={},n._eventEmitter.onceListeners={})},i.prototype.addListener=i.prototype.on,i.prototype.removeListener=i.prototype.off,i.prototype.removeAllListeners=i.prototype.off,i.prototype.one=i.prototype.once,i.prototype.trigger=i.prototype.emit}).call(this)}).call(this),Package._define("raix:eventemitter",{EventEmitter:i})}();
227
228!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,n=Package["aldeed:simple-schema"].SimpleSchema,r=Package["aldeed:simple-schema"].MongoObject,o=Package.underscore._,a=Package.check.check,s=Package.check.Match,c=Package.mongo.Mongo,l=Package.minimongo.LocalCollection,m=Package.minimongo.Minimongo,u=Package.ejson.EJSON,d=Package["raix:eventemitter"].EventEmitter,f;(function(){f=new d,"undefined"==typeof c&&((c={}).Collection=e.Collection);var t=n.version>=2?"addValidationErrors":"addInvalidKeys";function i(t,i,n,a,l){var u=this,d,f,p,h,_,v,g,y;if(!i.length)throw new Error(t+" requires an argument");if("insert"===t)d=i[0],h=i[1],f=i[2],i="function"==typeof h?[d,h]:"function"==typeof f?[d,f]:[d];else{if("update"!==t)throw new Error("invalid type argument");v=i[0],d=i[1],h=i[2],f=i[3]}var S=o.isEmpty(d);f||"function"!=typeof h||(f=h,h={}),h=h||{},y="function"==typeof i[g=i.length-1],_="update"===t&&!0===h.upsert;var C=u.simpleSchema(d,h,v),E=null===u._connection;(e.isServer||E)&&!1===h.getAutoValues&&(n=!1);var w=h.validationContext;w?"string"==typeof w&&(w=C.namedContext(w)):w=C.namedContext(),e.isClient&&!f&&(f=function(i){i&&e._debug(t+" failed: "+(i.reason||i.stack))}),e.isClient&&y&&(f=i[g]=m(w,f));var x=C.allowsKey("_id"),k,I;function P(e,i,n,r,s,c){C.clean(e,{mutate:!0,filter:n,autoConvert:r,getAutoValues:i,isModifier:"insert"!==t,removeEmptyStrings:s,trimStrings:c,extendAutoValueContext:o.extend({isInsert:"insert"===t,isUpdate:"update"===t&&!0!==h.upsert,isUpsert:_,userId:a,isFromTrustedCode:l,docId:k,isLocalCollection:E},h.extendAutoValueContext||{})})}
228"insert"===t&&!d._id&&x&&(d._id=u._makeNewID()),"insert"===t?k=d._id:"update"===t&&v&&(k="string"==typeof v||v instanceof c.ObjectID?v:v._id),d._id&&!x&&(I=d._id,delete d._id),P(d,n,!1!==h.filter,!1!==h.autoConvert,!1!==h.removeEmptyStrings,!1!==h.trimStrings);var A={},M;for(var O in d)d.hasOwnProperty(O)&&(A[O]=d[O]);if(e.isServer&&_&&o.isObject(v)){var V=A.$set||{};A.$set=o.clone(v),x||delete A.$set._id,o.extend(A.$set,V)}if(e.isClient&&!E&&P(A,!0,!1,!1,!1,!1),!S&&o.isEmpty(A))throw new Error("After filtering out keys not in the schema, your "+("update"===t?"modifier":"object")+" is now empty");if(M=!1===h.validate||w.validate(A,{modifier:"update"===t||"upsert"===t,upsert:_,extendedCustomContext:o.extend({isInsert:"insert"===t,isUpdate:"update"===t&&!0!==h.upsert,isUpsert:_,userId:a,isFromTrustedCode:l,docId:k,isLocalCollection:E},h.extendedCustomContext||{})}))return I&&(d._id=I),"insert"===t?i[0]=d:i[1]=d,e.isServer&&y&&(i[g]=s(w,i[g])),i;if(p=r(w),!f)throw p;f(p,!1)}function r(t){var i,r=n.version>=2?t.validationErrors():t.invalidKeys();i=r.length?t.keyErrorMessage(r[0].name):"Failed validation";var o=new Error(i);return o.invalidKeys=r,o.validationContext=t,e.isServer&&(o.sanitizedError=new e.Error(400,i,u.stringify(o.invalidKeys))),o}function a(e,i){var n=i.split("c2_")[1].split(" ")[0],r=i.split("dup key:")[1].split('"')[1];e[t]([{name:n,type:"notUnique",value:r}])}function s(e,t){return function i(n){var s=o.toArray(arguments);return n&&("MongoError"===n.name&&11001===n.code||n.message.indexOf(!0))&&-1!==n.message.indexOf("c2_")&&(a(e,n.message),s[0]=r(e)),t.apply(this,s)}}function m(i,n){return function s(c){var l=o.toArray(arguments);if(c instanceof e.Error&&400===c.error&&"INVALID"===c.reason&&"string"==typeof c.details){var m=u.parse(c.details);i[t](m),l[0]=r(i)}else c instanceof e.Error&&409===c.error&&c.reason&&-1!==c.reason.indexOf("E11000")&&-1!==c.reason.indexOf("c2_")&&(a(i,c.reason),l[0]=r(i));return n.apply(this,l)}}c.Collection.prototype.attachSchema=function e(t,i){var r=this;if(i=i||{},t instanceof n||(t=new n(t)),r._c2=r._c2||{},r._c2._simpleSchema&&!0!==i.replace)if(t.version>=2){var a=new n(r._c2._simpleSchema);a.extend(t),t=a}else t=new n([r._c2._simpleSchema,t]);var s=i.selector;function c(e){if("object"==typeof s){var r=-1;e._c2._simpleSchemas=e._c2._simpleSchemas||[],e._c2._simpleSchemas.forEach((function(e,t){o.isEqual(e.selector,s)&&(r=t)})),-1===r?e._c2._simpleSchemas.push({schema:new n(t),selector:s}):!0!==i.replace?e._c2._simpleSchemas[r].schema.version>=2?e._c2._simpleSchemas[r].schema.extend(t):e._c2._simpleSchemas[r].schema=new n([e._c2._simpleSchemas[r].schema,t]):e._c2._simpleSchemas[r].schema=t,delete e._c2._simpleSchema}else e._c2._simpleSchema=t,delete e._c2._simpleSchemas}c(r),r._collection instanceof l&&(r._collection._c2=r._collection._c2||{},c(r._collection)),v(r,i),h(r),f.emit("schema.attached",r,t,i)},o.each([c.Collection,l],(function(e){e.prototype.simpleSchema=function(e,t,i){if(!this._c2)return null;if(this._c2._simpleSchema)return this._c2._simpleSchema;var n=this._c2._simpleSchemas;if(n&&n.length>0){if(!e)throw new Error("collection.simpleSchema() requires doc argument when there are multiple schemas");for(var r,o,a,s=0;s<n.length;s++)if(r=n[s],o=Object.keys(r.selector)[0],a=void 0,e.$set&&"undefined"!=typeof e.$set[o]?a=e.$set[o]:"undefined"!=typeof e[o]?a=e[o]:t&&t.selector?a=t.selector[o]:i&&i[o]&&(a=i[o]),void 0!==a&&a===r.selector[o])return r.schema}return null}})),o.each(["insert","update"],(function(t){var n=c.Collection.prototype[t];c.Collection.prototype[t]=function(){var r=this,a,s=o.toArray(arguments);if((a="insert"===t?s[1]:s[2])&&"function"!=typeof a||(a={}),r._c2&&!0!==a.bypassCollection2){var c=null;try{c=e.userId()}catch(l){}if(!(s=i.call(r,t,s,!0,c,e.isServer)))return"insert"===t?r._makeNewID():void 0}else"insert"===t&&"function"!=typeof s[1]&&s.splice(1,1);return n.apply(r,s)}}));var p={};function h(e){Package&&Package.insecure&&!p[e._name]&&(e.allow({insert:function(){return!0},update:function(){return!0},remove:function(){return!0},fetch:[],transform:null}),p[e._name]=!0)}var _={};function v(t,n){if(!_[t._name]){var r=null===t._connection;t.deny({insert:function(e,i){return t.simpleSchema(i).clean(i,{mutate:!0,isModifier:!1,filter:!1,autoConvert:!1,removeEmptyStrings:!1,trimStrings:!1,extendAutoValueContext:{isInsert:!0,isUpdate:!1,isUpsert:!1,userId:e,isFromTrustedCode:!1,docId:i._id,isLocalCollection:r}}),!1},update:function(e,i,n,o){return t.simpleSchema(o).clean(o,{mutate:!0,isModifier:!0,filter:!1,autoConvert:!1,removeEmptyStrings:!1,trimStrings:!1,extendAutoValueContext:{isInsert:!1,isUpdate:!0,isUpsert:!1,userId:e,isFromTrustedCode:!1,docId:i&&i._id,isLocalCollection:r}}),!1},fetch:["_id"],transform:null}),t.deny(o.extend({insert:function(n,r){return i.call(t,"insert",[r,{trimStrings:!1,removeEmptyStrings:!1,filter:!1,autoConvert:!1},function(t){if(t)throw new e.Error(400,"INVALID",u.stringify(t.invali
228dKeys))}],!1,n,!1),!1},update:function(n,r,o,a){return i.call(t,"update",[{_id:r&&r._id},a,{trimStrings:!1,removeEmptyStrings:!1,filter:!1,autoConvert:!1},function(t){if(t)throw new e.Error(400,"INVALID",u.stringify(t.invalidKeys))}],!1,n,!1),!1},fetch:["_id"]},!0===n.transform?{}:{transform:null})),_[t._name]=!0}}}).call(this),Package._define("aldeed:collection2-core",{Collection2:f})}();
229
230!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,n=Package.meteor.meteorEnv,o=Package["aldeed:collection2-core"].Collection2,c=Package.underscore._,i=Package.minimongo.LocalCollection,t=Package.minimongo.Minimongo,s=Package.check.check,l=Package.check.Match,m=Package.modules.meteorInstall,r=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,d=Package["aldeed:simple-schema"].SimpleSchema,g=Package["aldeed:simple-schema"].MongoObject,k=Package.mongo.Mongo,p=Package["ecmascript-runtime-client"].Symbol,P=Package["ecmascript-runtime-client"].Map,h=Package["ecmascript-runtime-client"].Set,x;m({node_modules:{meteor:{"aldeed:schema-index":{lib:{
230"indexing.js":function a(){d.extendOptions({index:l.Optional(l.OneOf(Number,String,Boolean)),unique:l.Optional(Boolean),sparse:l.Optional(Boolean)}),(!d.version||d.version<2)&&d.messages({notUnique:"[label] must be unique"}),e.isServer&&o.on("schema.attached",(function(a,n){function o(n,o,c,i){e.startup((function(){a._collection._ensureIndex(n,{background:!0,name:o,unique:c,sparse:i})}))}function i(n){e.startup((function(){try{a._collection._dropIndex(n)}catch(e){}}))}n.version>=2&&n.messageBox.messages({notUnique:"{{label}} must be unique"});var t=2===n.version?"mergedSchema":"schema";c.each(n[t](),(function(e,a){if("index"in e||!0===e.unique){var n={},c;"index"in e?!0===(c=e.index)&&(c=1):c=1;var t="c2_"+a,s;n[a.replace(/\.\$\./g,".")]=c;var l=!!e.unique&&(1===c||-1===c),m=e.sparse||!1;!m&&l&&e.optional&&(m=!0),!1===c?i(t):o(n,t,l,m)}}))}))}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/aldeed:schema-index/lib/indexing.js"),Package._define("aldeed:schema-index")}();
231
232!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,n=Package.meteor.meteorEnv,o=Package["aldeed:collection2-core"].Collection2,t=Package.underscore._,i=Package.minimongo.LocalCollection,c=Package.minimongo.Minimongo,l=Package.check.check,s=Package.check.Match,d=Package["aldeed:simple-schema"].SimpleSchema,r=Package["aldeed:simple-schema"].MongoObject,g=Package.mongo.Mongo;(function(){d.extendOptions({denyInsert:s.Optional(Boolean),denyUpdate:s.Optional(Boolean)}),(!d.version||d.version<2)&&d.messages({insertNotAllowed:"[label] cannot be set during an insert",updateNotAllowed:"[label] cannot be set during an update"}),o.on("schema.attached",(function(e,a){a.version>=2&&a.messageBox.messages({insertNotAllowed:"{{label}} cannot be set during an insert",updateNotAllowed:"{{label}} cannot be set during an update"}),a.addValidator((function(){if(this.isSet){var e=this.definition;return e.denyInsert&&this.isInsert?"insertNotAllowed":e.denyUpdate&&(this.isUpdate||this.isUpsert)?"updateNotAllowed":void 0}}))}))}).call(this),Package._define("aldeed:schema-deny")}();
233
234Package._define("aldeed:collection2");
235
236!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,n=Package.meteor.meteorEnv,o=Package["aldeed:simple-schema"].SimpleSchema,a=Package["aldeed:simple-schema"].MongoObject,r=Package.check.check,u=Package.check.Match,i=Package["ddp-client"].DDP,l=Package.underscore._,s=Package.tracker.Tracker,c=Package.tracker.Deps,f=Package["templating-runtime"].Template,p=Package.blaze.Blaze,m=Package.blaze.UI,d=Package.blaze.Handlebars,h=Package.ejson.EJSON,v=Package["reactive-var"].ReactiveVar,k=Package["reactive-dict"].ReactiveDict,b=Package.random.Random,y=Package.jquery.$,g=Package.jquery.jQuery,T=Package["momentjs:moment"].moment,F=Package.htmljs.HTML,I=Package.spacebars.Spacebars,A,_,C,x,D,w,N,S,V,M,L,O,E,P,U,G,B,R,q;(function(){o.extendOptions({autoform:u.Optional(Object)})}).call(this),function(){A={componentTypeList:["afArrayField","afEachArrayItem","afFieldInput","afFormGroup","afObjectField","afQuickField","afQuickFields","autoForm","quickForm"],cleanNulls:function e(n,o,a){var r=o?[]:{};return l.each(n,(function(n,o){!l.isArray(n)&&t(n)?(n=e(n,!1,a),l.isEmpty(n)||(r[o]=n)):l.isArray(n)?(n=e(n,!0,a),l.isEmpty(n)||(r[o]=n)):A.isNullUndefinedOrEmptyString(n)?a&&"string"==typeof n&&0===n.length&&(r[o]=n):r[o]=n})),r},reportNulls:function t(e,n){var o={};return l.each(e,(function(t,e){null==t?o[e]="":n||"string"!=typeof t||0!==t.length?l.isArray(t)&&0===A.cleanNulls(t,!0,n).length&&(o[e]=""):o[e]=""})),o},docToModifier:function t(e,n){var o={},r,u,i;return n=n||{},u=(r=new a(e)).getFlatObject({keepArrays:!!n.keepArrays}),i=A.reportNulls(u,!!n.keepEmptyStrings),u=A.cleanNulls(u,!1,!!n.keepEmptyStrings),l.isEmpty(u)||(o.$set=u),l.isEmpty(i)||(o.$unset=i),o},getSelectValues:function t(e){for(var n=[],o=e&&e.options||[],a,r=0,u=o.length;r<u;r++)(a=o[r]).selected&&n.push(a.value||a.text);return n},getSelectOptions:function t(e,n){var o=e.type,a=n.options;return"allowed"===a?a=l.map(e.allowedValues,(function(t){var e=t;return n.capitalize&&t.length>0&&o===String&&(e=t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()),{label:e,value:t}})):l.isObject(a)&&!l.isArray(a)&&(a=l.map(a,(function(t,e){return{label:t,value:o(e)}}))),a},lookup:function t(e){var n=window,o;if("string"==typeof e){for(o=e.split(".");o.length&&(n=n[o.shift()]););if(!n)throw new Error(e+" is not in the window scope");return n}return e},getDefs:function t(e,n){if("string"!=typeof n)throw new Error("Invalid field name: (not a string)");var o=e.schema(n);if(!o)throw new Error("Invalid field name: "+n);return o},objAffectsKey:function t(e,n){var o;return new a(e).affectsKey(n)},expandObj:function t(e){var n={},o,a,r,u,i;return l.each(e,(function(t,e){o=e.split("."),r=o.length,i=n;for(var s=0;s<r&&(a=o[s],"undefined"==typeof i[a]||l.isObject(i[a]));s++)s===r-1?i[a]=t:(u=o[s+1],u=parseInt(u,10),isNaN(u)&&!l.isObject(i[a])?i[a]={}:isNaN(u)||l.isArray(i[a])||(i[a]=[])),i=i[a]})),n},compactArrays:function t(e){l.isObject(e)&&l.each(e,(function(n,o){l.isArray(n)?(e[o]=l.without(n,void 0,null),l.each(e[o],(function(e){t(e)}))):n instanceof Date||!l.isObject(n)||t(n)}))},bubbleEmpty:function e(n,o){l.isObject(n)&&l.each(n,(function(a,r){if(l.isArray(a))l.each(a,(function(t){e(t)}));else if(t(a)){var u=l.all(a,(function(t){return null==t||!o&&"string"==typeof t&&0===t.length}));l.isEmpty(a)||u?n[r]=null:e(a)}}))}
236,isNullUndefinedOrEmptyString:function t(e){return null==e||"string"==typeof e&&0===e.length},isValidDateString:function t(e){var n=T(e,"YYYY-MM-DD",!0);return n&&n.isValid()},isValidTimeString:function t(e){return"string"==typeof e&&/^[0-2][0-9]:[0-5][0-9](:[0-5][0-9](\.[0-9]{1,3})?)?$/.test(e);var n},isValidNormalizedForcedUtcGlobalDateAndTimeString:function t(e){if("string"!=typeof e)return!1;var n=e.substring(0,10),o=e.substring(10,11),a=e.substring(11,e.length-1),r=e.substring(e.length-1);return A.isValidDateString(n)&&"T"===o&&A.isValidTimeString(a)&&"Z"===r},isValidNormalizedLocalDateAndTimeString:function t(e){if("string"!=typeof e)return!1;var n=e.substring(0,10),o=e.substring(10,11),a=e.substring(11,e.length);return A.isValidDateString(n)&&"T"===o&&A.isValidTimeString(a)},getComponentContext:function t(e,n){var o,a={},r,u,i,s;o=l.clone(e||{}),s=N.getFormSchema();try{a=A.getDefs(s,o.name)}catch(f){}r=N.findAttributesWithPrefix(n+"-"),i=(u=l.clone(a.autoform)||{})[n]||{},u=l.omit(u,A.componentTypeList),u=l.extend({},u,i),o=l.extend({},r,u,o);var c={};return l.each(o,(function(t,e){c[e]="function"==typeof t?t.call({name:o.name}):t})),{atts:c,defs:a}},stringToArray:function t(e,n){if("string"==typeof e)return e.replace(/ /g,"").split(",");if(l.isArray(e))return e;throw new Error(n)},addClass:function t(e,n){return"string"==typeof e.class?e.class+=" "+n:e.class=n,e},getFormTypeDef:function t(e){var n=N._formTypeDefinitions[e];if(!n)throw new Error('AutoForm: Form type "'+e+'" has not been defined');return n},checkTemplate:function t(e){return!(!(e&&e.view&&e.view._domrange)||e.view.isDestroyed)}},"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"".__proto__?function(t){return t.__proto__}:function(t){return t.constructor.prototype});var t=function(t){return l.isObject(t)&&Object.getPrototypeOf(t)===Object.prototype};"function"!=typeof o.prototype.getAllowedValuesForKey&&(o.prototype.getAllowedValuesForKey=function(t){var e=this.getDefinition(t,["type","allowedValues"]);return e.type===Array&&(e=this.getDefinition(t+".$",["allowedValues"])),e.allowedValues})}.call(this),function(){(_=function t(e){var n=this;if(!l.isString(e))throw Error("You must define an unique migration name of type String");if(n.registeredForms={},n.retrievedDocuments={},Package.reload){var o=Package.reload.Reload;n.retrievedDocuments=o._migrationData(e)||"{}","string"==typeof n.retrievedDocuments&&(n.retrievedDocuments=h.parse(n.retrievedDocuments)),o._onMigrate(e,(function(){var t=n._retrieveRegisteredDocuments();return[!0,h.stringify(t)]}))}}).prototype.getDocument=function(t){var e=this,n;return!!l.has(e.retrievedDocuments,t)&&e.retrievedDocuments[t]},_.prototype.clearDocument=function(t){delete this.retrievedDocuments[t]},_.prototype.registerForm=function(t,e){this.registeredForms[t]=e},_.prototype.formIsRegistered=function(t){return!!this.registeredForms[t]},_.prototype.unregisterForm=function(t){delete this.registeredForms[t],delete this.retrievedDocuments[t]},_.prototype.unregisterAllForms=function(){var t=this;t.registeredForms={},t.retrievedDocuments={}},_.prototype._retrieveRegisteredDocuments=function(){var t=this;return C={},l.each(t.registeredForms,(function(t,e){C[e]=t()})),C}}.call(this),function(){var t=["formToDoc","formToModifier","docToForm","onSubmit","onSuccess","onError","beginSubmit","endSubmit"];(x={form:{}}).getDefault=function(){var e={before:{},after:{}};return l.each(t,(function(t){e[t]=[]})),e},x.global=x.getDefault(),x.addHooksToList=function e(n,o,a){o.before&&l.each(o.before,(function t(e,o){if("function"!=typeof e)throw new Error("AutoForm before hook must be a function, not "+typeof e);n.before[o]=!a&&n.before[o]?n.before[o]:[],n.before[o].push(e)})),o.after&&l.each(o.after,(function t(e,o){if("function"!=typeof e)throw new Error("AutoForm after hook must be a function, not "+typeof e);n.after[o]=!a&&n.after[o]?n.after[o]:[],n.after[o].push(e)})),l.each(t,(function t(e){if(o[e]){if("function"!=typeof o[e])throw new Error("AutoForm "+e+" hook must be a function, not "+typeof o[e]);a&&(n[e]=[]),n[e].push(o[e])}}))},x.getHooks=function t(e,n,o){var a,r;return o?(a=x.form[e]&&x.form[e][n]&&x.form[e][n][o]||[],r=x.global[n]&&x.global[n][o]||[]):(a=x.form[e]&&x.form[e][n]||[],r=x.global[n]||[]),a.concat(r)}}.call(this),function(){(D=function(){var t;this.forms={}}).prototype.initForm=function(t){var e=this;e.forms[t]||(e.forms[t]={sourceDoc:null,deps:{sourceDoc:new s.Dependency}})},D.prototype.sourceDoc=function(t,e){var n=this;if(n.initForm(t),!e&&null!==e)return n.forms[t].deps.sourceDoc.depend(),n.forms[t].sourceDoc;n.forms[t].sourceDoc=e,n.forms[t].deps.sourceDoc.changed()}}.call(this),function(){(w=function t(){var e;this.info={}}).prototype.getMinMax=function t(e,n,o,a){var r=N.Utility.getDefs(e,n);o=o||0;var u=r.minCount||0;u=Math.max(o,u),a=a||1/0;var i=r.maxCount||1/0;return{minCount:u,maxCount:i=Math.min(a,i)}},w.prototype.initForm=function t(e){var n=this;n.info[e]||(n.info[e]={})},w.prototype.getForm=function t(e){var n=this;return n.initForm(e),n.info[e]},w.prototype.ensureField=function t(e,n){var o=this;o.initForm(e),o.info[e][n]||o.resetField(e,n)},w.prototype.initField=function e(n,a,r,u,i,l){var s=this;if(s.ensureField(n,a),null==s.info[n][a].array){var c=s.getMinMax(r,a,i,l),f=Math.max(c.minCount,null==u?1:u),p=[];r.schema(a+".$").type===Object&&(p=r.objectKeys(o._makeGeneric(a)+".$"));for(var m=[],d=0;d<f;d++){var h=t(n,a,d,p,i,l);m.push(h)}s.info[n][a].array=m;var v=m.length;s.info[n][a].count=v,s.info[n][a].visibleCount=v,s.info[n][a].deps.changed()}},w.prototype.resetField=function t(e,n){var o=this;o.initForm(e),o.info[e][n]||(o.info[e][n]={deps:new s.Dependency}),o.info[e][n].array=null,o.info[e][n].count=0,o.info[e][n].visibleCount=0,o.info[e][n].deps.changed()},w.prototype.resetForm=function t(e){var n=this;l.each(n.info[e],(function(t,o){n.resetField(e,o)}))},w.prototype.untrackForm=function t(e){var n;this.info[e]={}},w.prototype.tracksField=function t(e,n){var o=this;return o.ensureField(e,n),o.info[e][n].deps.depend(),!!o.info[e][n].array},w.prototype.getField=function t(e,n){var o=this;return o.ensureField(e,n),o.info[e][n].deps.depend(),o.info[e][n].array},w.prototype.getCount=function t(e,n){var o=this;return o.ensureField(e,n),o.info[e][n].deps.depend(),o.info[e][n].count},w.prototype.getVisibleCount=function t(e,n){var o=this;return o.ensureField(e,n),o.info[e][n].deps.depend(),o.info[e][n].visibleCount},w.prototype.isFirstFieldlVisible=function t(e,n,o){var a=this;a.ensureField(e,n),a.info[e][n].deps.depend();var r=l.find(a.info[e][n].array,(function(t){return!t.removed}));return r&&r.index===o},w.prototype.isLastFieldlVisible=function t(e,n,o){var a=this;a.ensureField(e,n),a.info[e][n].deps.depend();var r=l.last(l.filter(a.info[e][n].array,(function(t){return!t.removed})));return r&&r.index===o},w.prototype.addOneToField=function e(n,a,r,u,i){var l=this,s,c;if((l.ensureField(n,a),l.info[n][a].array)&&l.info[n][a].visibleCount<l.getMinMax(r,a,u,i).maxCount){var f=l.info[n][a].array.length,p=[];r.schema(a+".$").type===Object&&(p=r.objectKeys(o._makeGeneric(a)+".$"));var m=t(n,a,f,p,u,i);l.info[n][a].array.push(m),l.info[n][a].count++,l.info[n][a].visibleCount++,l.info[n][a].deps.changed()}},w.prototype.removeFromFieldAtIndex=function t(e,n,o,a,r,u){var i=this,l,s;(i.ensureField(e,n),i.info[e][n].array)&&(i.info[e][n].visibleCount>i.getMinMax(a,n,r,u).minCount&&(i.info[e][n].array[o].removed=!0,i.info[e][n].count--,i.info[e][n].visibleCount--,i.info[e][n].deps.changed()))};var t=function(t,e,n,o,a,r){var u={formId:t,arrayFieldName:e,name:e+"."+n,index:n,minCount:a,maxCount:r};return o.length&&(u.current={},l.each(o,(function(t){u.current[t]=e+"."+n+"."+t}))),u}}.call(this),function(){(N=N||{}).formPreserve=new _("autoforms"),N.reactiveFormData=new D,N._inputTypeDefinitions={},N._formTypeDefinitions={},S=new w,N._destroyForm={},V="bootstrap3",M={},L={defaultTemplate:new s.Dependency,defaultTypeTemplates:{}}}.call(this),function(){function t(t){var e=(t||{}).hash||{},n=N.getFormSchema();return l.extend({},e,{ss:n})}f.registerHelper("afFieldMessage",(function e(n){n=t(n,"afFieldMessage");var o=N.getFormId();return n.ss.namedContext(o).keyErrorMessage(n.name)})),f.registerHelper("afFieldIsInvalid",(function e(n){n=t(n,"afFieldIsInvalid");var o=N.getFormId();return n.ss.namedContext(o).keyIsInvalid(n.name)})),f.registerHelper("afArrayFieldHasMoreThanMinimum",(function e(n){n=t(n,"afArrayFieldHasMoreThanMinimum");
236var o=N.getCurrentDataPlusExtrasForForm();if(o.formTypeDef.hideArrayItemButtons)return!1;var a=S.getMinMax(n.ss,n.name,n.minCount,n.maxCount),r;return S.getVisibleCount(o.id,n.name)>a.minCount})),f.registerHelper("afArrayFieldHasLessThanMaximum",(function e(n){n=t(n,"afArrayFieldHasLessThanMaximum");var o=N.getCurrentDataPlusExtrasForForm();if(o.formTypeDef.hideArrayItemButtons)return!1;var a=S.getMinMax(n.ss,n.name,n.minCount,n.maxCount),r;return S.getVisibleCount(o.id,n.name)<a.maxCount})),f.registerHelper("afFieldValueIs",(function e(n){var o;return n=t(n,"afFieldValueIs"),N.getFieldValue(n.name,n.formId)===n.value})),f.registerHelper("afArrayFieldIsFirstVisible",(function t(){var e=this;return S.isFirstFieldlVisible(e.formId,e.arrayFieldName,e.index)})),f.registerHelper("afArrayFieldIsLastVisible",(function t(){var e=this;return S.isLastFieldlVisible(e.formId,e.arrayFieldName,e.index)})),f.registerHelper("afFieldValueContains",(function e(n){n=t(n,"afFieldValueContains");var o=N.getFieldValue(n.name,n.formId);return l.isArray(o)&&(l.contains(o,n.value)||n.values&&l.intersection(o,n.values.split(",")))})),f.registerHelper("afFieldLabelText",(function e(n){return n=t(n,"afFieldLabelText"),N.getLabelForField(n.name)})),f.registerHelper("afFieldNames",(function e(n){var a=(n=t(n,"afFieldNames")).ss,r=n.name,u,i,s,c=N.getCurrentDataForForm();r&&(u=r+".",i=o._makeGeneric(r),s=i+".");var f=n.fields,p=!1;f&&(f=N.Utility.stringToArray(f,"AutoForm: fields attribute must be an array or a string containing a comma-delimited list of fields"));var m=N.findAttribute("fields");m&&(m=N.Utility.stringToArray(m,"AutoForm: fields attribute must be an array or a string containing a comma-delimited list of fields"),f||(f=m,p=!0)),f&&(r?(i!==r&&(f=l.map(f,(function(t){return 0===t.indexOf(s)?u+t.slice(s.length):t}))),f=l.filter(f,(function t(e){return 0===e.indexOf(u)}))):f=l.filter(f,(function t(e){return".$"!==e.slice(-2)&&-1===e.indexOf(".$.")})),f=l.reject(f,(function(t){var e=t.lastIndexOf(".");if(-1===e)return!1;var n=t.slice(0,e);return".$"===n.slice(-2)&&(n=n.slice(0,-2)),l.contains(f,n)&&n!==r&&n!==i}))),(!f||0===f.length&&p)&&(f=a.objectKeys(i),r&&(f=l.map(f,(function(t){return r+"."+t}))));var d=n.omitFields||N.findAttribute("omitFields");return d&&(d=N.Utility.stringToArray(d,"AutoForm: omitFields attribute must be an array or a string containing a comma-delimited list of fields"),f=l.difference(f,d),f=l.reject(f,(function(t){return l.contains(d,o._makeGeneric(t))}))),f=l.filter(f,(function t(e){var n=a.schema(e);return!!n&&((!n.autoform||!0!==n.autoform.omit)&&((!n.denyInsert||"insert"!==c.type)&&(!n.denyUpdate||"update"!==c.type)))})),f=l.unique(f),f=l.map(f,(function(t){return{name:t}})),f})),f.registerHelper("afSelectOptionAtts",(function t(){var e=l.pick(this,"value");return this.selected&&(e.selected=""),this.htmlAtts&&l.extend(e,this.htmlAtts),e})),f.registerHelper("afOptionsFromSchema",(function t(){return N._getOptionsForField(this.name)})),f.registerHelper("afTemplateName",(function t(e,n){var o=this;return console.log("The afTemplateName template helper is deprecated. Use AutoForm.getTemplateName method in your own helper."),N.getTemplateName(e,n,o.atts&&o.atts.name)}))}.call(this),function(){function t(t,e,n,o){var a,r=N.templateInstanceForForm(e);if(!A.checkTemplate(r))return!0;var u=N.getCurrentDataForForm(e),i=N.getFormSchema(e,u);if(!i)return!0;if(o&&i.namedContext(e).isValid())return!0;var l=A.getFormTypeDef(u.type);return!(a=N.getFormValues(e,r,i,!!l.usesModifier))||(!(!n||N.Utility.objAffectsKey(a,t))||N._validateFormDoc(a,!!l.usesModifier,e,i,u,t))}O=l.throttle(t,300)}.call(this),function(){function t(t,e){setTimeout((function(){t&&t.view&&t.view._domrange&&!t.view.isDestroyed&&t.formValues[e]&&(t.formValues[e].changed(),t.formValues[e].requestInProgress=!1)}),100)}E=function t(e,n){var o={};return e.each((function(){var t,e=N.getInputValue(this,n);void 0!==e&&(t=y(this).attr("data-schema-key"),o[t]=e)})),o},P=function t(e,n,o,a,r,u){if("undefined"==typeof n)if(o){var i=o.getInfoForKey(e.name);n=i?i.value:r}else n="undefined"!=typeof r?r:a;return n=null==n?"":n,u.valueIsArray&&!l.isArray(n)&&(n="string"==typeof n?n.split(","):[n]),"function"==typeof u.valueIn&&(n=u.valueIn(n,e)),n},U=function t(e,n,o,a,r){var u=l.omit(n,"type","value","noselect","options","template","defaultValue","data");"undefined"!=typeof u.required||e.optional||(u.required=""),u["data-schema-key"]=u.name,"schemaLabel"===n.placeholder&&(u.placeholder=a),l.each(["disabled","readonly","checked","required","autofocus"],(function(t){l.has(n,t)&&(!0===n[t]||"true"===n[t]||""===n[t]?u[t]="":delete u[t])}));var i={name:u.name,schemaType:e.type,min:"function"==typeof e.min?e.min():e.min,max:"function"==typeof e.max?e.max():e.max,decimal
236:e.decimal,value:o,atts:u,selectOptions:N.Utility.getSelectOptions(e,n)};n.data&&l.extend(i,n.data);var s=A.getFormTypeDef(r);return"function"==typeof s.adjustInputContext&&(i=s.adjustInputContext(i)),i},G=function e(n,o){if(n&&(n.formValues=n.formValues||{},n.formValues[o]||(n.formValues[o]=new s.Dependency),!n.formValues[o].requestInProgress)){n.formValues[o].requestInProgress=!0,t(n,o);for(var a=o.lastIndexOf(".");-1!==a;)o=o.slice(0,a),n.formValues[o]||(n.formValues[o]=new s.Dependency),t(n,o),a=o.lastIndexOf(".")}},B=function t(e){e&&e.formValues&&l.each(e.formValues,(function(t,n){G(e,n)}))},R=function t(e){return e.$("[data-schema-key]").not("[disabled]")}}.call(this),function(){(N=N||{}).Utility=A,N.addHooks=function t(e,n,o){"string"==typeof e&&(e=[e]),e?l.each(e,(function(t){x.form[t]=x.form[t]||x.getDefault(),x.addHooksToList(x.form[t],n,o)})):x.addHooksToList(x.global,n,o)},N.hooks=function t(e,n){l.each(e,(function(t,e){N.addHooks(e,t,n)}))},N._hooks=x.form,N._globalHooks=x.global,N._forceResetFormValues=function t(e){N._destroyForm[e]=N._destroyForm[e]||new v(!1),N._destroyForm[e].set(!0),setTimeout((function(){N._destroyForm[e].set(!1)}),0)},N.resetForm=function t(e,n){n=n||N.templateInstanceForForm(e),A.checkTemplate(n)&&n.$("form")[0].reset()},N.setDefaultTemplate=function t(e){V=e,L.defaultTemplate.changed()},N.getDefaultTemplate=function t(){return L.defaultTemplate.depend(),V},N.setDefaultTemplateForType=function t(e,n){if(L.defaultTypeTemplates[e]||(L.defaultTypeTemplates[e]=new s.Dependency),null!==n&&!f[e+"_"+n])throw new Error("setDefaultTemplateForType can't set default template to \""+n+'" for type "'+e+'" because there is no defined template with the name "'+e+"_"+n+'"');M[e]=n,L.defaultTypeTemplates[e].changed()},N.getDefaultTemplateForType=function t(e){return L.defaultTypeTemplates[e]||(L.defaultTypeTemplates[e]=new s.Dependency),L.defaultTypeTemplates[e].depend(),M[e]},N.getTemplateName=function t(e,n,o,a){var r,u,i;function l(t){return!(!a&&!f[t])}if(n&&l(e+"_"+n))return e+"_"+n;if(n&&N._debug&&console.warn(e+': "'+n+'" is not a valid template name. Falling back to a different template.'),"quickForm"!==e&&o){var s=N.getSchemaForField(o);r=s&&s.autoform}return r&&r[e]&&r[e].template&&l(e+"_"+r[e].template)?e+"_"+r[e].template:r&&r.template&&l(e+"_"+r.template)?e+"_"+r.template:(u=N.findAttribute("template-"+e))&&l(e+"_"+u)||(u=N.findAttribute("template"))&&l(e+"_"+u)?e+"_"+u:(i=N.getDefaultTemplateForType(e))&&l(e+"_"+i)||(i=N.getDefaultTemplate())&&l(e+"_"+i)?e+"_"+i:void 0},N.getFormValues=function t(e,n,o,a){var r,u,i;if(!(n=n||N.templateInstanceForForm(e))||!n.view||n.view.isDestroyed)return null;o=o||N.getFormSchema(e);var s=N.getCurrentDataForForm(e),c=!1;!1===s.removeEmptyStrings&&(c=!0);var f=!0;!1===s.filter&&(f=!1);var p=!0;!1===s.autoConvert&&(p=!1);var m=!0;!1===s.trimStrings&&(m=!1);var d=!0;!0===s.setArrayItems&&(d=!1);var h={template:n,formId:e,schema:o},v;return n.view._domrange?(v=E(R(n),o),v=N.Utility.expandObj(v),N.Utility.bubbleEmpty(v,c)):v=s.doc||{},!0!==a&&(r=N.Utility.cleanNulls(v,!1,c),N.Utility.compactArrays(r),o.clean(r,{isModifier:!1,getAutoValues:!1,filter:f,autoConvert:p,trimStrings:m}),i=x.getHooks(e,"formToDoc"),l.each(i,(function t(e){r=e.call(h,r,o)}))),!1!==a&&(u=N.Utility.docToModifier(v,{keepEmptyStrings:c,keepArrays:d}),o.clean(u,{isModifier:!0,getAutoValues:!1,filter:f,autoConvert:p,trimStrings:m}),i=x.getHooks(e,"formToModifier"),l.each(i,(function t(e){u=e.call(h,u)}))),!0===a?u:!1===a?r:{insertDoc:r,updateDoc:u}},N.getFieldValue=function t(e,n){var o=s.nonreactive((function(){return N.templateInstanceForForm(n)}));if(o){o.formValues=o.formValues||{},o.formValues[e]||(o.formValues[e]=new s.Dependency),o.formValues[e].depend();var r=N.getFormValues(n,o,null,!1),u;if(r)return new a(r).getValueForKey(e)}else n&&N.rerunWhenFormRenderedOrDestroyed(n)},N.getInputTypeTemplateNameForElement=function t(e){for(var n=p.getView(e);n&&0!==n.name.indexOf("Template.")&&0!==n.name.indexOf("BlazeComponent.");)n=n.originalParentView||n.parentView;if(n)return n.name.slice(n.name.indexOf(".")+1)},N.getInputValue=function t(e,n){var o,a,r,u,i,c,f,m,d,h;s.nonreactive((function(){(d=p.getData(e))&&d.atts&&(h=d.atts.autoConvert)})),a=(o=y(e)).attr("data-schema-key"),n&&(u=n.schema(a))&&(r=u.type);var v=(m=N.getInputTypeTemplateNameForElement(e)).lastIndexOf("_"),k;(-1!==v&&(m=m.slice(0,v)),f=l.where(N._inputTypeDefinitions,{template:m})[0],void 0!==(c=void 0!==o.attr("data-null-value")?null:f&&f.valueOut?f.valueOut.call(o):o.val())&&!1!==h&&f&&f.valueConverters&&r)&&(r===String?k=f.valueConverters.string:r===Number?k=f.valueConverters.number:r===Boolean?k=f.valueConverters.boolean:r===Date?k=f.valueConverters.date:r===Array&&((i=n.schema(a+".$").type)===String?k=f.valueConverters.stringArray:i===Number?k=f.valueConverters.numberArray:i===Boolean?k=f.valueConverters.booleanArray:i===Date&&(k=f.valueConverters.dateArray)),"function"==typeof k&&(c=k.call(o,c)));return c},N.addInputType=function t(e,n){var o={};o[e]=n,l.extend(N._inputTypeDefinitions,o)},N.addFormType=function t(e,n){var o={};o[e]=n,l.extend(N._formTypeDefinitions,o)},N.validateField=function t(e,n,o){return O(n,e,o,!1)},N.validateForm=function t(e){var n=N.getCurrentDataForForm(e),o,a=n.type,r=A.getFormTypeDef(a);return!(o=r.needsModifierAndDoc?N.getFormValues(e,null,null):r.usesModifier?N.getFormValues(e,null,null,!0):N.getFormValues(e,null,null,!1))||("none"===n.validation||r.validateForm.call({form:n,formDoc:o,useCollectionSchema:!1}))},N.getValidationContext=function t(e){var n=N.getCurrentDataForForm(e),o=n._resolvedSchema;if(o)return e=e||n.id,o.namedContext(e)},N.findAttribute=function t(e){var n,o,a;function r(){(a=p.getData(o))&&a.atts&&void 0!==a.atts[e]?n=a.atts[e]:a&&void 0!==a[e]&&("template"===e&&"data"in a||(n=a[e]))}for(o=p.currentView;
236void 0===n&&o&&"Template.autoForm"!==o.name;)r(),o=o.originalParentView||o.parentView;return void 0===n&&o&&"Template.autoForm"===o.name&&r(),n},N.findAttributesWithPrefix=function t(e){var n={},o,a,r;function u(){a=p.getData(o),r=a&&a.atts?a.atts:a,l.isObject(r)&&!l.isArray(r)&&l.each(r,(function(t,o){0===o.indexOf(e)&&(n[o.slice(e.length)]=t)}))}for(o=p.currentView;o&&"Template.autoForm"!==o.name;)u(),o=o.originalParentView||o.parentView;return o&&"Template.autoForm"===o.name&&u(),n},N.debug=function t(){o.debug=!0,N._debug=!0,N.addHooks(null,{onError:function(t,e){console.log("Error in "+this.formId,t,e)}})},N.arrayTracker=S,N.getInputType=function t(e){var n=!1,o,a,r;return(e=N.Utility.getComponentContext(e,"afFieldInput").atts).type?e.type:((a=(o=N.getSchemaForField(e.name))&&o.type)===Array&&(n=!0,a=(o=N.getSchemaForField(e.name+".$"))&&o.type),a?r=e.options&&!0===e.noselect&&n?"select-checkbox":e.options&&!0===e.noselect&&!n?"select-radio":e.options&&!0!==e.noselect&&n?"select-multiple":e.options&&!0!==e.noselect&&!n?"select":a===String&&e.rows===+e.rows?"textarea":a===Number?"number":a===Date?"date":a===Boolean?"boolean-checkbox":"text":"text")},N.getSchemaForField=function t(e){var n=N.getFormSchema();if(n)return n.schema(e)},N._getOptionsForField=function t(e){var n,o,a,r;if((n=N.getFormSchema())&&(o=n.getDefinition(e))){if(a=o.autoform){if(a.afFieldInput&&a.afFieldInput.options)return a.afFieldInput.options;if(a.afQuickField&&a.afQuickField.options)return a.afQuickField.options;if(a.options)return a.options}return(r=n.getAllowedValuesForKey(e))?"allowed":void 0}},N.getLabelForField=function t(e){var n,a=N.getFormSchema().label(e);return"$"!==o._makeGeneric(e).slice(-1)||isNaN(parseInt(a,10))||(a=null),a},N.templateInstanceForForm=function(t){var e=N.viewForForm(t);if(e)return e.templateInstance()},N.viewForForm=function(t){var e,n;if(!t||(e=document.getElementById(t))){try{n=p.getView(e)}catch(o){}for(;n&&"Template.autoForm"!==n.name;)n=n.originalParentView||n.parentView;if(n&&"Template.autoForm"===n.name)return n}},N.getArrayCountFromDocForField=function(t,e){var n=N.reactiveFormData.sourceDoc(t),o;if(n){var a=n.getInfoForKey(e);a&&l.isArray(a.value)&&(o=a.value.length)}return o},N.parseData=function(t){return q(t)},N.getCurrentDataForForm=function(t){var e=N.viewForForm(t);if(e){var n=p.getData(e);if(n)return q(n)}},N.getCurrentDataPlusExtrasForForm=function(t){var e=N.getCurrentDataForForm(t),n=(e=l.clone(e)).type||"normal";return e.formTypeDef=A.getFormTypeDef(n),e},N.getFormCollection=function(t){var e=N.getCurrentDataForForm(t);return N.Utility.lookup(e.collection)},N.getFormSchema=function(t,e){return(e=e?q(e):N.getCurrentDataForForm(t))._resolvedSchema},N.getFormId=function(){return N.getCurrentDataForForm().id},N.selectFirstInvalidField=function t(e,n){var o=n.namedContext(e),a,r;o.isValid()||(a=N.templateInstanceForForm(e),(r=R(a)).each((function(){var t=y(this);if(o.keyIsInvalid(t.attr("data-schema-key")))return t.focus(),!1})))},N.addStickyValidationError=function t(e,n,o,a){var r=N.templateInstanceForForm(e);r&&(r._stickyErrors[n]={type:o,value:a},O(n,e,!1,!1))},N.removeStickyValidationError=function t(e,n){var o=N.templateInstanceForForm(e);o&&(delete o._stickyErrors[n],O(n,e,!1,!1))},N._validateFormDoc=function e(n,o,a,r,u,i){var s,c={userId:t.userId&&t.userId()||null,isInsert:!o,isUpdate:!!o,isUpsert:!1,isFromTrustedCode:!1,docId:u.doc&&u.doc._id||null},f=l.clone(n);r.clean(f,{isModifier:o,filter:!1,autoConvert:!1,trimStrings:!1,extendAutoValueContext:c});var p=r.namedContext(a);if(i){s=p.validateOne(f,i,{modifier:o,extendedCustomContext:c});var m=N.templateInstanceForForm(a)._stickyErrors[i];m&&(s=!1,p.addInvalidKeys([{name:i,type:m.type,value:m.value}]))}else{s=p.validate(f,{modifier:o,extendedCustomContext:c});var d=N.templateInstanceForForm(a)._stickyErrors;l.isEmpty(d)||(s=!1,d=l.map(d,(function(t,e){return{name:e,type:t.type,value:t.value}})),p.addInvalidKeys(d)),s||N.selectFirstInvalidField(a,r)}return s},q=function t(e){if(e||(e={}),"string"!=typeof e.type&&(e.type="normal"),"string"!=typeof e.validation&&(e.validation="submitThenKeyup"),!e._resolvedSchema){var n=e.type,o=e.schema;if(o)o=N.Utility.lookup(o);else{var a=N.Utility.lookup(e.collection);a&&"function"==typeof a.simpleSchema&&(o=a.simpleSchema())}var r=A.getFormTypeDef(n);"function"==typeof r.adjustSchema&&(o=r.adjustSchema.call({form:e},o)),o&&(e._resolvedSchema=o)}return e};var e={};N.rerunWhenFormRenderedOrDestroyed=function(t){l.has(e,t)||(e[t]=new s.Dependency),e[t].depend()},N.triggerFormRenderedDestroyedReruns=function(t){l.has(e,t)||(e[t]=new s.Dependency),e[t].changed()}}.call(this),function(){N.addFormType("insert",{onSubmit:function(){var t=this;this.event.preventDefault();var e=this.collection;if(!e)throw new Error("AutoForm: You must specify a collection when form type is insert.");var n="function"==typeof e.simpleSchema&&null!=e.simpleSchema();this.runBeforeHooks(this.insertDoc,(function(o){n?e.insert(o,t.validationOptions,t.result):e.insert(o,t.result)}))},validateForm:function(){var t=N.getFormSchema(this.form.id);return N._validateFormDoc(this.formDoc,!1,this.form.id,t,this.form)},shouldPrevalidate:function(){return!!this.formAttributes.collection&&!!this.formAttributes.schema}})}.call(this),function(){N.addFormType("update",{onSubmit:function(){var t=this;this.event.preventDefault();var e=this.collection;if(!e)throw new Error("AutoForm: You must specify a collection when form type is update.");this.runBeforeHooks(this.updateDoc,(function(n){l.isEmpty(n)?t.result(null,0):e.update({_id:t.docId},n,t.validationOptions,t.result)}))},usesModifier:!0,validateForm:function(){var t=N.getFormSchema(this.form.id);return N._validateFormDoc(this.formDoc,!0,this.form.id,t,this.form)},shouldPrevalidate:function(){return!!this.formAttributes.collection&&!!this.formAttributes.schema}})}.call(this),function(){N.addFormType("update-pushArray",{onSubmit:function(){var t=this;this.event.preventDefault();var e=this.collection;if(!e)throw new Error("AutoForm: You must specify a collection when form type is update-pushArray.");var n=t.formAttributes.scope;if(!n)throw new Error("AutoForm: You must specify a scope when form type is update-pushArray.");
236this.runBeforeHooks(this.insertDoc,(function(o){if(l.isEmpty(o))t.result(null,0);else{var a={$push:{}};a.$push[n]=o,e.update({_id:t.docId},a,t.validationOptions,t.result)}}))},validateForm:function(){var t=N.getFormSchema(this.form.id);return N._validateFormDoc(this.formDoc,!1,this.form.id,t,this.form)},adjustSchema:function(t){var e=this.form.scope,n={},a=o._makeGeneric(e)+".$.";return l.each(t.schema(),(function(t,e){0===e.indexOf(a)&&(n[e.slice(a.length)]=t)})),new o(n)},shouldPrevalidate:function(){return!0}})}.call(this),function(){N.addFormType("method",{onSubmit:function(){var e=this;if(this.event.preventDefault(),!this.formAttributes.meteormethod)throw new Error('When form type is "method", you must also provide a "meteormethod" attribute');this.runBeforeHooks(this.insertDoc,(function(n){var o;if(!1===("none"===e.formAttributes.validation||e.formTypeDefinition.validateForm.call({form:e.formAttributes,formDoc:n,useCollectionSchema:e.ssIsOverride})))e.failedValidation();else{var a=e.formAttributes.ddp;(a=a&&"function"==typeof a.call?a:t).call(e.formAttributes.meteormethod,n,e.result)}}))},validateForm:function(){var t=N.getFormSchema(this.form.id),e=N.getFormCollection(this.form.id);return t=this.useCollectionSchema&&e?e.simpleSchema():t,N._validateFormDoc(this.formDoc,!1,this.form.id,t,this.form)},shouldPrevalidate:function(){return!!this.formAttributes.collection&&!!this.formAttributes.schema}})}.call(this),function(){N.addFormType("method-update",{onSubmit:function(){var e=this;if(this.event.preventDefault(),!this.formAttributes.meteormethod)throw new Error('When form type is "method-update", you must also provide a "meteormethod" attribute');this.runBeforeHooks(this.updateDoc,(function(n){var o;if(!1===("none"===e.formAttributes.validation||e.formTypeDefinition.validateForm.call({form:e.formAttributes,formDoc:n,useCollectionSchema:e.ssIsOverride})))e.failedValidation();else{var a=e.formAttributes.ddp;a=a&&"function"==typeof a.call?a:t,!0===e.formAttributes.singleMethodArgument?a.call(e.formAttributes.meteormethod,{_id:e.docId,modifier:n},e.result):a.call(e.formAttributes.meteormethod,n,e.docId,e.result)}}))},usesModifier:!0,validateForm:function(){var t=N.getFormSchema(this.form.id),e=N.getFormCollection(this.form.id);return t=this.useCollectionSchema&&e?e.simpleSchema():t,N._validateFormDoc(this.formDoc,!0,this.form.id,t,this.form)},shouldPrevalidate:function(){return!!this.formAttributes.collection&&!!this.formAttributes.schema}})}.call(this),function(){N.addFormType("normal",{onSubmit:function(){var t=this,e=x.getHooks(this.formId,"onSubmit"),n=e.length,o=0,a,r;if(0!==n){var u=l.extend({done:function(e,u){o++,!a&&e&&(a=e),!r&&u&&(r=u),o===n&&t.result(a,r)}},this.hookContext),i=!1;l.each(e,(function e(n){var o=n.call(u,t.insertDoc,t.updateDoc,t.currentDoc);!1===i&&!1===o&&(i=!0)})),i&&(this.event.preventDefault(),this.event.stopPropagation())}else this.endSubmission()},needsModifierAndDoc:!0,validateForm:function(){var t=N.getFormSchema(this.form.id);return N._validateFormDoc(this.formDoc.insertDoc,!1,this.form.id,t,this.form)}})}.call(this),function(){N.addFormType("readonly",{onSubmit:function(){this.event.preventDefault()},validateForm:function(){return!0},adjustInputContext:function(t){return t.atts.readonly="",t},hideArrayItemButtons:!0})}.call(this),function(){N.addFormType("disabled",{onSubmit:function(){this.event.preventDefault()},validateForm:function(){return!0},adjustInputContext:function(t){return t.atts.disabled="",t},hideArrayItemButtons:!0})}.call(this),function(){N.valueConverters={booleanToString:function t(e){return!0===e?"TRUE":!1===e?"FALSE":e},booleanToStringArray:function t(e){return!0===e?["TRUE"]:!1===e?["FALSE"]:e},booleanToNumber:function t(e){return!0===e?1:!1===e?0:e},booleanToNumberArray:function t(e){return!0===e?[1]:!1===e?[0]:e},dateToDateString:function t(e){return e instanceof Date?T(e).format("YYYY-MM-DD"):e},dateToDateStringUTC:function t(e){return e instanceof Date?T.utc(e).format("YYYY-MM-DD"):e},dateToDateStringUTCArray:function t(e){return e instanceof Date?[N.valueConverters.dateToDateStringUTC(e)]:e},dateToNormalizedForcedUtcGlobalDateAndTimeString:function t(e){return e instanceof Date?T(e).utc().format("YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):e},dateToNormalizedForcedUtcGlobalDateAndTimeStringArray:function t(e){return e instanceof Date?[N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString(e)]:e},dateToNormalizedLocalDateAndTimeString:function t(e,n){var o=T(e);if("string"==typeof n){if("function"!=typeof o.tz)throw new Error("If you specify a timezoneId, make sure that you've added a moment-timezone package to your app");o.tz(n)}return o.format("YYYY-MM-DD[T]HH:mm:ss.SSS")},dateToNumber:function t(e){return e instanceof Date?e.getTime():e},dateToNumberArray:function t(e){return e instanceof Date?[e.getTime()]:e},dateToDateArray:function t(e){return e instanceof Date?[e]:e},stringToStringArray:function t(e){return"string"==typeof e?(e=e.split(","),l.map(e,(function(t){return y.trim(t)}))):e},stringToNumber:function t(e){if("string"==typeof e&&e.length>0){var n=Number(e);if(!isNaN(n))return n}return e},stringToNumberArray:function t(e){return"string"==typeof e?(e=e.split(","),l.map(e,(function(t){return t=y.trim(t),N.valueConverters.stringToNumber(t)}))):e},stringToBoolean:function t(e){if("string"==typeof e&&e.length>0){var n=e.toLowerCase();if("true"===n||"1"===n)return!0;
236if("false"===n||"0"===n)return!1}return e},stringToBooleanArray:function t(e){return"string"==typeof e?(e=e.split(","),l.map(e,(function(t){return t=y.trim(t),N.valueConverters.stringToBoolean(t)}))):e},stringToDate:function t(e){return"string"==typeof e&&e.length>0?new Date(e):e},stringToDateArray:function t(e){return"string"==typeof e?(e=e.split(","),l.map(e,(function(t){return t=y.trim(t),N.valueConverters.stringToDate(t)}))):e},numberToString:function t(e){return"number"==typeof e?e.toString():e},numberToStringArray:function t(e){return"number"==typeof e?[e.toString()]:e},numberToNumberArray:function t(e){return"number"==typeof e?[e]:e},numberToBoolean:function t(e){return 0!==e&&(1===e||e)},numberToBooleanArray:function t(e){return 0===e?[!1]:1===e?[!0]:e}},A.dateToDateString=N.valueConverters.dateToDateString,A.dateToDateStringUTC=N.valueConverters.dateToDateStringUTC,A.dateToNormalizedForcedUtcGlobalDateAndTimeString=N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString,A.dateToNormalizedLocalDateAndTimeString=N.valueConverters.dateToNormalizedLocalDateAndTimeString,A.stringToBool=N.valueConverters.stringToBoolean,A.stringToNumber=N.valueConverters.stringToNumber,A.stringToDate=N.valueConverters.stringToDate}.call(this),function(){f.__checkName("afCheckbox"),f.afCheckbox=new f("Template.afCheckbox",(function(){var t=this;return F.DIV(F.LABEL(F.INPUT(F.Attrs({type:"checkbox",value:"true"},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))))}))}.call(this),function(){N.addInputType("boolean-checkbox",{template:"afCheckbox",valueOut:function(){return!!this.is(":checked")},valueConverters:{string:N.valueConverters.booleanToString,stringArray:N.valueConverters.booleanToStringArray,number:N.valueConverters.booleanToNumber,numberArray:N.valueConverters.booleanToNumberArray},contextAdjust:function(t){return!0===t.value&&(t.atts.checked=""),delete t.atts.required,t}})}.call(this),function(){f.__checkName("afBooleanRadioGroup"),f.afBooleanRadioGroup=new f("Template.afBooleanRadioGroup",(function(){var t=this;return F.DIV(F.Attrs((function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",F.DIV("\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"false",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("falseAtts"))})))," ",I.With((function(){return I.call(I.dot(t.lookup("."),"atts","falseLabel"))}),(function(){return p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))}),(function(){return"False"}))),"\n    "),"\n    ",F.DIV("\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"true",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("trueAtts"))})))," ",I.With((function(){return I.call(I.dot(t.lookup("."),"atts","trueLabel"))}),(function(){return p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))}),(function(){return"True"}))),"\n    "),"\n    ",p.If((function(){return I.call(I.dot(t.lookup("."),"atts","nullLabel"))}),(function(){return["\n    ",F.DIV("\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"null",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("nullAtts"))})))," ",p.View("lookup:..atts.nullLabel",(function(){return I.mustache(I.dot(t.lookup("."),"atts","nullLabel"))}))),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("boolean-radios",{template:"afBooleanRadioGroup",valueOut:function(){return!this.find("input[value=false]").is(":checked")&&(!!this.find("input[value=true]").is(":checked")||(this.find("input[value=null]").is(":checked")?null:void 0))},valueConverters:{string:N.valueConverters.booleanToString,stringArray:N.valueConverters.booleanToStringArray,number:N.valueConverters.booleanToNumber,numberArray:N.valueConverters.booleanToNumberArray}}),f.afBooleanRadioGroup.helpers({falseAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!1===this.value&&(e.checked=""),e},trueAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!0===this.value&&(e.checked=""),e},nullAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!0!==this.value&&!1!==this.value&&(e.checked=""),e},dsk:function(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afBooleanSelect"),f.afBooleanSelect=new f("Template.afBooleanSelect",(function(){var t=this;return F.SELECT(F.Attrs((function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("boolean-select",{template:"afBooleanSelect",valueOut:function(){var t=this.val();return"true"===t||"false"!==t&&void 0},valueConverters:{string:N.valueConverters.booleanToString,stringArray:N.valueConverters.booleanToStringArray,number:N.valueConverters.booleanToNumber,numberArray:N.valueConverters.booleanToNumberArray},contextAdjust:function(t){var e=l.omit(t.atts,"trueLabel","falseLabel","nullLabel","firstOption");return t.items=[{name:t.name,value:"",_id:"",selected:!1!==t.value&&!0!==t.value,label:t.atts.nullLabel||t.atts.firstOption||"(Select One)",atts:e},{name:t.name,value:"false",_id:"false",selected:!1===t.value,label:t.atts.falseLabel||"False",atts:e},{name:t.name,value:"true",_id:"true",selected:!0===t.value,label:t.atts.trueLabel||"True",atts:e}],t}})}.call(this),function(){f.__checkName("afInputButton"),f.afInputButton=new f("Template.afInputButton",(function(){var t=this;return F.INPUT(F.Attrs({type:"button",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("button",{template:"afInputButton"})}.call(this),function(){f.__checkName("afInputColor"),f.afInputColor=new f("Template.afInputColor",(function(){var t=this;return F.INPUT(F.Attrs({type:"color",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("color",{template:"afInputColor"})}.call(this),function(){f.__checkName("afContenteditable"),f.afContenteditable=new f("Template.afContenteditable",(function(){var t=this;return F.DIV(F.Attrs({contenteditable:"true"},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("contenteditable",{template:"afContenteditable",valueOut:function(){return this.html()},contextAdjust:function(t){return"undefined"==typeof t.atts["data-maxlength"]&&"number"==typeof t.max&&(t.atts["data-maxlength"]=t.max),t}}),f.afContenteditable.events({"blur div[contenteditable=true]":function(t,e){e.$(t.target).change()}}),f.afContenteditable.helpers({getValue:function(t){f.instance().view.isRendered&&f.instance().$("[contenteditable]").html(t)}}),f.afContenteditable.onRendered((function(){var t=this;t.autorun((function(){var e=f.currentData();t.$("[contenteditable]").html(e.value)}))}))}.call(this),function(){f.__checkName("afInputDate"),f.afInputDate=new f("Template.afInputDate",(function(){var t=this;return F.INPUT(F.Attrs({type:"date",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("date",{template:"afInputDate",valueIn:function(t){return N.valueConverters.dateToDateStringUTC(t)},valueOut:function(){var t=this.val();return N.Utility.isValidDateString(t)?new Date(t):null},valueConverters:{string:N.valueConverters.dateToDateStringUTC,stringArray:N.valueConverters.dateToDateStringUTCArray,number:N.valueConverters.dateToNumber,numberArray:N.valueConverters.dateToNumberArray,dateArray:N.valueConverters.dateToDateArray},contextAdjust:function(t){return"undefined"==typeof t.atts.max&&t.max instanceof Date&&(t.atts.max=N.valueConverters.dateToDateStringUTC(t.max)),"undefined"==typeof t.atts.min&&t.min instanceof Date&&(t.atts.min=N.valueConverters.dateToDateStringUTC(t.min)),t}})}.call(this),function(){f.__checkName("afInputDateTime"),f.afInputDateTime=new f("Template.afInputDateTime",(function(){var t=this;return F.INPUT(F.Attrs({type:"datetime",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("datetime",{template:"afInputDateTime",valueIn:function(t){return N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString(t)},valueOut:function(){var t=this.val();return t="string"==typeof t?t.replace(/ /g,"T"):t,N.Utility.isValidNormalizedForcedUtcGlobalDateAndTimeString(t)?new Date(t):null},valueConverters:{string:N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString,
236stringArray:N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeStringArray,number:N.valueConverters.dateToNumber,numberArray:N.valueConverters.dateToNumberArray,dateArray:N.valueConverters.dateToDateArray},contextAdjust:function(t){return"undefined"==typeof t.atts.max&&t.max instanceof Date&&(t.atts.max=N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString(t.max)),"undefined"==typeof t.atts.min&&t.min instanceof Date&&(t.atts.min=N.valueConverters.dateToNormalizedForcedUtcGlobalDateAndTimeString(t.min)),t}})}.call(this),function(){f.__checkName("afInputDateTimeLocal"),f.afInputDateTimeLocal=new f("Template.afInputDateTimeLocal",(function(){var t=this;return F.INPUT(F.Attrs({type:"datetime-local",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("datetime-local",{template:"afInputDateTimeLocal",valueIn:function(t,e){return t instanceof Date?N.valueConverters.dateToNormalizedLocalDateAndTimeString(t,e.timezoneId):t},valueOut:function(){var t=this.val();if(t="string"==typeof t?t.replace(/ /g,"T"):t,N.Utility.isValidNormalizedLocalDateAndTimeString(t)){var e=this.attr("data-timezone-id");if("string"==typeof e){if("function"!=typeof T.tz)throw new Error("If you specify a timezoneId, make sure that you've added a moment-timezone package to your app");return T.tz(t,e).toDate()}return T(t).toDate()}return this.val()},valueConverters:{string:function t(e){return e instanceof Date?N.valueConverters.dateToNormalizedLocalDateAndTimeString(e,this.attr("data-timezone-id")):e},stringArray:function t(e){return e instanceof Date?[N.valueConverters.dateToNormalizedLocalDateAndTimeString(e,this.attr("data-timezone-id"))]:e},number:N.valueConverters.dateToNumber,numberArray:N.valueConverters.dateToNumberArray,dateArray:N.valueConverters.dateToDateArray},contextAdjust:function(t){return"undefined"==typeof t.atts.max&&t.max instanceof Date&&(t.atts.max=N.valueConverters.dateToNormalizedLocalDateAndTimeString(t.max,t.atts.timezoneId)),"undefined"==typeof t.atts.min&&t.min instanceof Date&&(t.atts.min=N.valueConverters.dateToNormalizedLocalDateAndTimeString(t.min,t.atts.timezoneId)),t.atts.timezoneId&&(t.atts["data-timezone-id"]=t.atts.timezoneId),delete t.atts.timezoneId,t}})}.call(this),function(){f.__checkName("afInputEmail"),f.afInputEmail=new f("Template.afInputEmail",(function(){var t=this;return F.INPUT(F.Attrs({type:"email",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("email",{template:"afInputEmail",contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afInputFile"),f.afInputFile=new f("Template.afInputFile",(function(){var t=this;return F.INPUT(F.Attrs({type:"file",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("file",{template:"afInputFile"})}.call(this),function(){f.__checkName("afInputHidden"),f.afInputHidden=new f("Template.afInputHidden",(function(){var t=this;return F.INPUT(F.Attrs({type:"hidden",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("hidden",{template:"afInputHidden",isHidden:!0,valueOut:function(){return this.val()},valueConverters:{stringArray:N.valueConverters.stringToStringArray,number:N.valueConverters.stringToNumber,numberArray:N.valueConverters.stringToNumberArray,boolean:N.valueConverters.stringToBoolean,booleanArray:N.valueConverters.stringToBooleanArray,date:N.valueConverters.stringToDate,dateArray:N.valueConverters.stringToDateArray}})}.call(this),function(){f.__checkName("afInputImage"),f.afInputImage=new f("Template.afInputImage",(function(){var t=this;return F.INPUT(F.Attrs({type:"image",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("image",{template:"afInputImage"})}.call(this),function(){f.__checkName("afInputMonth"),f.afInputMonth=new f("Template.afInputMonth",(function(){var t=this;return F.INPUT(F.Attrs({type:"month",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("month",{template:"afInputMonth",valueConverters:{stringArray:N.valueConverters.stringToStringArray}})}.call(this),function(){f.__checkName("afInputNumber"),f.afInputNumber=new f("Template.afInputNumber",(function(){var t=this;return F.INPUT(F.Attrs({type:"number",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("number",{template:"afInputNumber",valueOut:function(){return N.valueConverters.stringToNumber(this.val())},valueConverters:{string:N.valueConverters.numberToString,stringArray:N.valueConverters.numberToStringArray,numberArray:N.valueConverters.numberToNumberArray,boolean:N.valueConverters.numberToBoolean,booleanArray:N.valueConverters.numberToBooleanArray}
236,contextAdjust:function(t){return"undefined"==typeof t.atts.max&&"number"==typeof t.max&&(t.atts.max=t.max),"undefined"==typeof t.atts.min&&"number"==typeof t.min&&(t.atts.min=t.min),"undefined"==typeof t.atts.step&&t.decimal&&(t.atts.step="0.01"),t}})}.call(this),function(){f.__checkName("afInputPassword"),f.afInputPassword=new f("Template.afInputPassword",(function(){var t=this;return F.INPUT(F.Attrs({type:"password",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("password",{template:"afInputPassword",valueConverters:{stringArray:N.valueConverters.stringToStringArray},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afRadio"),f.afRadio=new f("Template.afRadio",(function(){var t=this;return F.DIV(F.LABEL(F.INPUT(F.Attrs({type:"checkbox",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))))}))}.call(this),function(){N.addInputType("radio",{template:"afRadio",valueOut:function(){if(this.is(":checked"))return this.val()},valueConverters:{stringArray:N.valueConverters.stringToStringArray}}),f.afRadio.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),e}})}.call(this),function(){f.__checkName("afInputRange"),f.afInputRange=new f("Template.afInputRange",(function(){var t=this;return F.INPUT(F.Attrs({type:"range",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("range",{template:"afInputRange",valueOut:function(){return N.valueConverters.stringToNumber(this.val())},valueConverters:{string:N.valueConverters.numberToString,stringArray:N.valueConverters.numberToStringArray,numberArray:N.valueConverters.numberToNumberArray,boolean:N.valueConverters.numberToBoolean,booleanArray:N.valueConverters.numberToBooleanArray}})}.call(this),function(){f.__checkName("afInputReset"),f.afInputReset=new f("Template.afInputReset",(function(){var t=this;return F.INPUT(F.Attrs({type:"reset",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("reset",{template:"afInputReset"})}.call(this),function(){f.__checkName("afInputSearch"),f.afInputSearch=new f("Template.afInputSearch",(function(){var t=this;return F.INPUT(F.Attrs({type:"search",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("search",{template:"afInputSearch",valueConverters:{stringArray:N.valueConverters.stringToStringArray},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afSelect"),f.afSelect=new f("Template.afSelect",(function(){var t=this;return F.SELECT(F.Attrs((function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",p.If((function(){return I.call(I.dot(t.lookup("."),"optgroup"))}),(function(){return["\n        ",F.OPTGROUP({label:function(){return I.mustache(I.dot(t.lookup("."),"optgroup"))}},"\n        ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n        ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n        "]})),"\n        "),"\n      "]}),(function(){return["\n        ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n      "]})),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("select",{template:"afSelect",valueOut:function(){return this.val()},valueConverters:{stringArray:N.valueConverters.stringToStringArray,number:N.valueConverters.stringToNumber,numberArray:N.valueConverters.stringToNumberArray,boolean:N.valueConverters.stringToBoolean,booleanArray:N.valueConverters.stringToBooleanArray,date:N.valueConverters.stringToDate,dateArray:N.valueConverters.stringToDateArray},contextAdjust:function(t){t.atts.autocomplete="off";var e=l.omit(t.atts,"firstOption"),n=t.atts.firstOption;
236return t.items=[],!1!==n&&t.items.push({name:t.name,label:"string"==typeof n?n:"(Select One)",value:"",_id:"AUTOFORM_EMPTY_FIRST_OPTION",selected:!1,atts:e}),l.each(t.selectOptions,(function(n){if(n.optgroup){var o=l.map(n.options,(function(n){return{name:t.name,label:n.label,value:n.value,htmlAtts:l.omit(n,"label","value"),_id:n.value.toString(),selected:n.value===t.value,atts:e}}));t.items.push({optgroup:n.optgroup,items:o})}else t.items.push({name:t.name,label:n.label,value:n.value,htmlAtts:l.omit(n,"label","value"),_id:n.value.toString(),selected:n.value===t.value,atts:e})})),t}})}.call(this),function(){f.__checkName("afCheckboxGroup"),f.afCheckboxGroup=new f("Template.afCheckboxGroup",(function(){var t=this;return F.DIV(F.Attrs({class:"af-checkbox-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",F.DIV(F.LABEL(F.INPUT(F.Attrs({type:"checkbox",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})))),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("select-checkbox",{template:"afCheckboxGroup",valueIsArray:!0,valueOut:function(){var t=[];return this.find("input[type=checkbox]").each((function(){y(this).is(":checked")&&t.push(y(this).val())})),t},contextAdjust:function(t){var e=l.omit(t.atts);return t.items=[],l.each(t.selectOptions,(function(n){t.items.push({name:t.name,label:n.label,value:n.value,_id:n.value,selected:l.contains(t.value,n.value),atts:e})})),t}}),f.afCheckboxGroup.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afCheckboxGroupInline"),f.afCheckboxGroupInline=new f("Template.afCheckboxGroupInline",(function(){var t=this;return F.DIV(F.Attrs({class:"af-checkbox-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",F.LABEL(F.INPUT(F.Attrs({type:"checkbox",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("select-checkbox-inline",{template:"afCheckboxGroupInline",valueIsArray:!0,valueOut:function(){var t=[];return this.find("input[type=checkbox]").each((function(){y(this).is(":checked")&&t.push(y(this).val())})),t},contextAdjust:function(t){var e=l.omit(t.atts);return t.items=[],l.each(t.selectOptions,(function(n){t.items.push({name:t.name,label:n.label,value:n.value,_id:n.value,selected:l.contains(t.value,n.value),atts:e})})),t}}),f.afCheckboxGroupInline.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afSelectMultiple"),f.afSelectMultiple=new f("Template.afSelectMultiple",(function(){var t=this;return F.SELECT(F.Attrs({multiple:""},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",p.If((function(){return I.call(I.dot(t.lookup("."),"optgroup"))}),(function(){return["\n        ",F.OPTGROUP({label:function(){return I.mustache(I.dot(t.lookup("."),"optgroup"))}},"\n        ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n        ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n        "]})),"\n        "),"\n      "]}),(function(){return["\n        ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n      "]})),"\n    "]})),"\n  ")}))}.call(this),function(){N.addInputType("select-multiple",{template:"afSelectMultiple",valueIsArray:!0,valueOut:function(){return N.Utility.getSelectValues(this[0])},contextAdjust:function(t){return t.items=l.map(t.selectOptions,(function(e){if(e.optgroup){var n=l.map(e.options,
236(function(e){return{name:t.name,label:e.label,value:e.value,htmlAtts:l.omit(e,"label","value"),_id:e.value,selected:l.contains(t.value,e.value),atts:t.atts}}));return{optgroup:e.optgroup,items:n}}return{name:t.name,label:e.label,value:e.value,htmlAtts:l.omit(e,"label","value"),_id:e.value,selected:l.contains(t.value,e.value),atts:t.atts}})),t}})}.call(this),function(){f.__checkName("afRadioGroup"),f.afRadioGroup=new f("Template.afRadioGroup",(function(){var t=this;return F.DIV(F.Attrs({class:"af-radio-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n  ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.DIV(F.LABEL(F.INPUT(F.Attrs({type:"radio",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})))),"\n  "]})),"\n  ")}))}.call(this),function(){N.addInputType("select-radio",{template:"afRadioGroup",valueOut:function(){return this.find("input[type=radio]:checked").val()},contextAdjust:function(t){var e=l.omit(t.atts);return t.items=[],l.each(t.selectOptions,(function(n){t.items.push({name:t.name,label:n.label,value:n.value,_id:n.value,selected:n.value===t.value,atts:e})})),t}}),f.afRadioGroup.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afRadioGroupInline"),f.afRadioGroupInline=new f("Template.afRadioGroupInline",(function(){var t=this;return F.DIV(F.Attrs({class:"af-radio-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n  ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))})))," ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n  "]})),"\n  ")}))}.call(this),function(){N.addInputType("select-radio-inline",{template:"afRadioGroupInline",valueOut:function(){return this.find("input[type=radio]:checked").val()},contextAdjust:function(t){var e=l.omit(t.atts);return t.items=[],l.each(t.selectOptions,(function(n){t.items.push({name:t.name,label:n.label,value:n.value,_id:n.value,selected:n.value===t.value,atts:e})})),t}}),f.afRadioGroupInline.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afInputSubmit"),f.afInputSubmit=new f("Template.afInputSubmit",(function(){var t=this;return F.INPUT(F.Attrs({type:"submit",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("submit",{template:"afInputSubmit"})}.call(this),function(){f.__checkName("afInputTel"),f.afInputTel=new f("Template.afInputTel",(function(){var t=this;return F.INPUT(F.Attrs({type:"tel",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("tel",{template:"afInputTel",valueConverters:{stringArray:N.valueConverters.stringToStringArray},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afInputText"),f.afInputText=new f("Template.afInputText",(function(){var t=this;return F.INPUT(F.Attrs({type:"text",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("text",{template:"afInputText",valueOut:function(){return this.val()},valueConverters:{stringArray:N.valueConverters.stringToStringArray,number:N.valueConverters.stringToNumber,numberArray:N.valueConverters.stringToNumberArray,boolean:N.valueConverters.stringToBoolean,booleanArray:N.valueConverters.stringToBooleanArray,date:N.valueConverters.stringToDate,dateArray:N.valueConverters.stringToDateArray},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afTextarea"),f.afTextarea=new f("Template.afTextarea",(function(){var t=this;return F.TEXTAREA(F.Attrs((function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))}),{value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}}))}))}.call(this),function(){function t(t){t=t.split("\n");var e=[];return l.each(t,(function(t){(t=y.trim(t)).length&&e.push(t)})),e}N.addInputType("textarea",{template:"afTextarea",valueConverters:{stringArray:function(e){return"string"==typeof e&&e.length>0?t(e):e},number:N.valueConverters.stringToNumber,numberArray:N.valueConverters.stringToNumberArray,boolean:N.valueConverters.stringToBoolean,booleanArray:function(e){if("string"==typeof e&&e.length>0){var n=t(e);return l.map(n,(function(t){return N.valueConverters.stringToBoolean(t)}))}return e},date:N.valueConverters.stringToDate,dateArray:function(e){if("string"==typeof e&&e.length>0){var n=t(e);return l.map(n,(function(t){return N.valueConverters.stringToDate(t)}))}return e}},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afInputTime"),f.afInputTime=new f("Template.afInputTime",(function(){var t=this;return F.INPUT(F.Attrs({type:"time",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("time",{template:"afInputTime",valueConverters:{stringArray:N.valueConverters.stringToStringArray}})}.call(this),function(){f.__checkName("afInputUrl"),f.afInputUrl=new f("Template.afInputUrl",(function(){var t=this;return F.INPUT(F.Attrs({type:"url",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("url",{template:"afInputUrl",valueConverters:{stringArray:N.valueConverters.stringToStringArray},contextAdjust:function(t){return"undefined"==typeof t.atts.maxlength&&"number"==typeof t.max&&(t.atts.maxlength=t.max),t}})}.call(this),function(){f.__checkName("afInputWeek"),f.afInputWeek=new f("Template.afInputWeek",(function(){var t=this;return F.INPUT(F.Attrs({type:"week",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){N.addInputType("week",{template:"afInputWeek",valueConverters:{stringArray:N.valueConverters.stringToStringArray}})}.call(this),function(){f.__checkName("autoForm"),f.autoForm=new f("Template.autoF
236orm",(function(){var t=this;return p.Unless((function(){return I.dataMustache(t.lookup("afDestroyUpdateForm"),I.dot(t.lookup("."),"id"))}),(function(){return["\n  \n  \n  ",F.FORM(F.Attrs((function(){return I.attrMustache(t.lookup("atts"))})),"\n    ",p._InOuterTemplateScope(t,(function(){return p._TemplateWith((function(){return I.call(t.lookup(".."))}),(function(){return I.include((function(){return I.call(t.templateContentBlock)}))}))})),"\n  "),"\n  "]}))}))}.call(this),function(){f.autoForm.helpers({atts:function t(){var e,n={},o=this,a=["schema","collection","validation","doc","resetOnSuccess","type","template","autosave","autosaveOnKeyup","meteormethod","filter","autoConvert","removeEmptyStrings","trimStrings"];function r(t){return l.any(A.componentTypeList,(function(e){return 0===t.indexOf(e+"-")}))}for(var u in o)!o.hasOwnProperty(u)||l.contains(a,u)||r(u)||(e=o[u],l.isArray(e)||l.isObject(e)||(n[u]=e));return"browser"===this.validation||n.novalidate||(n.novalidate="novalidate"),n},afDestroyUpdateForm:function(t){return N._destroyForm[t]=N._destroyForm[t]||new v(!1),N._destroyForm[t].get()}}),f.autoForm.created=function t(){var e=this;e.formValues=e.formValues||{},e._stickyErrors={},e.autorun((function(t){var n=f.currentData(),o=n.id;if(!o)throw new Error('Every autoForm and quickForm must have an "id" attribute set to a unique string.');S.resetForm(o);var r=(n=q(n)).doc?h.clone(n.doc):null,u;if(!1===n.preserveForm?N.formPreserve.unregisterForm(o):N.formPreserve.registerForm(o,(function t(){return N.getFormValues(o,e,n._resolvedSchema,!1)})),t.firstRun){var i=N.formPreserve.getDocument(o);!1!==i&&(r=l.extend(r||{},i||{}))}if(r&&!l.isEmpty(r)){var s={formId:o};l.each(x.getHooks(o,"docToForm"),(function t(e){if(!(r=e.call(s,r,n._resolvedSchema)))throw new Error("Oops! Did you forget to return the modified document from your docToForm hook for the "+o+" form?")})),u=new a(r),N.reactiveFormData.sourceDoc(o,u)}else N.reactiveFormData.sourceDoc(o,null)}))},f.autoForm.rendered=function t(){var e;this.autorun((function(){var t=f.currentData();t.id!==e&&(e=t.id,N.triggerFormRenderedDestroyedReruns(t.id))}))},f.autoForm.destroyed=function t(){var e,n=this.data.id;S.untrackForm(n),N.formPreserve.unregisterForm(n),N.triggerFormRenderedDestroyedReruns(n)}}.call(this),function(){f.__checkName("quickForm"),f.quickForm=new f("Template.quickForm",(function(){var t=this;return p._TemplateWith((function(){return{template:I.call(t.lookup("getTemplateName")),data:I.call(t.lookup("innerContext"))}}),(function(){return I.include((function(){return I.call(f.__dynamic)}))}))}))}.call(this),function(){function t(t){var e=l.map(t,(function(t){return t.autoform&&t.autoform.group}));return e=l.compact(e),(e=l.unique(e)).sort()}function e(t,e){var n=l.map(e,(function(e,n){return".$"!==n.slice(-2)&&e.autoform&&e.autoform.group===t&&n}));return n=l.compact(n)}function n(t){var e=l.map(t,(function(t,e){return".$"!==e.slice(-2)&&(!t.autoform||!t.autoform.group)&&e}));return e=l.compact(e)}f.quickForm.helpers({getTemplateName:function(){return N.getTemplateName("quickForm",this.template)},innerContext:function o(){var a=this,r,u=N.parseData(l.clone(this))._resolvedSchema,i={},s=[],c,f=a.fields;f?(f=N.Utility.stringToArray(f,"AutoForm: fields attribute must be an array or a string containing a comma-delimited list of fields")).forEach((function(t){i[t]=u.schema(t)})):i=u.schema();var p=n(i);p.length>0&&(c={atts:l.extend({},a,{fields:p}),fields:p});var m=t(i);l.each(m,(function(t){var n=e(t,i);n.length>0&&s.push({name:t,atts:l.extend({},a,{fields:n}),fields:n})}));var d=l.omit(a,"buttonContent","buttonClasses","fields","omitFields","id-prefix"),h=!1!==a.buttonContent&&"readonly"!==a.type&&"disabled"!==a.type,v;return{qfAutoFormContext:d,atts:a,qfShouldRenderButton:h,fieldGroups:s,grouplessFields:c}}})}.call(this),function(){f.__checkName("afArrayField"),f.afArrayField=new f("Template.afArrayField",(function(){var t=this;return p._TemplateWith((function(){return{template:I.call(t.lookup("getTemplateName")),data:I.call(t.lookup("innerContext"))}}),(function(){return I.include((function(){return I.call(f.__dynamic)}))}))}))}.call(this),function(){f.afArrayField.helpers({getTemplateName:function(){return N.getTemplateName("afArrayField",this.template,this.name)},innerContext:function t(){var e=N.Utility.getComponentContext(this,"afArrayField"),n=e.atts.name,o=e.atts.minCount||0,a=e.atts.maxCount||1/0,r=N.getFormSchema(),u=N.getFormId(),i=N.getArrayCountFromDocForField(u,n
236);return void 0===i&&(i=e.atts.initialCount),S.initField(u,n,r,i,o,a),{atts:e.atts}}})}.call(this),function(){f.__checkName("afEachArrayItem"),f.afEachArrayItem=new f("Template.afEachArrayItem",(function(){var t=this;return["\n  ",I.With((function(){return I.call(t.lookup("innerContext"))}),(function(){return["\n    ",p.Each((function(){return I.call(t.lookup("."))}),(function(){return["\n    ",p.If((function(){return I.call(I.dot(t.lookup("."),"removed"))}),(function(){return["\n    ",F.INPUT({type:"hidden",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))},"data-schema-key":function(){return I.mustache(I.dot(t.lookup("."),"name"))},"data-null-value":"true",value:""}),"\n    "]}),(function(){return["\n    ",p._InOuterTemplateScope(t,(function(){return p._TemplateWith((function(){return I.call(t.lookup("."))}),(function(){return I.include((function(){return I.call(t.templateContentBlock)}))}))})),"\n    "]})),"\n    "]})),"\n  "]}))]}))}.call(this),function(){f.afEachArrayItem.helpers({innerContext:function t(){var e=N.Utility.getComponentContext(this,"afEachArrayItem"),n=N.getFormId(),o=N.getFormSchema(),a=e.atts.name,r=N.getArrayCountFromDocForField(n,a);return void 0===r&&(r=e.atts.initialCount),S.initField(n,a,o,r,e.atts.minCount,e.atts.maxCount),S.getField(n,a)}})}.call(this),function(){f.__checkName("afFieldInput"),f.afFieldInput=new f("Template.afFieldInput",(function(){var t=this;return p._TemplateWith((function(){return{template:I.call(t.lookup("getTemplateName")),data:I.call(t.lookup("innerContext"))}}),(function(){return I.include((function(){return I.call(f.__dynamic)}))}))}))}.call(this),function(){f.afFieldInput.helpers({getTemplateName:function t(){var e=this,n=N.getInputType(this),o=N._inputTypeDefinitions[n];if(!o)throw new Error('AutoForm: No component found for rendering input with type "'+n+'"');var a=o.template,r=this.template,u=N.getTemplateName(a,r,e.name,!0);return-1!==u.indexOf("_plain")&&(u=null),u&&f[u]||(u=a),u},innerContext:function t(){var e=N.Utility.getComponentContext(this,"afFieldInput"),n=N.getCurrentDataForForm(),o=n.id,a=N.getFormSchema(),r=e.defs,u=r.defaultValue;r.type===Array&&(r=a.schema(e.atts.name+".$"));var i=N.getInputType(this),l=N._inputTypeDefinitions[i];if(!l)throw new Error('AutoForm: No component found for rendering input with type "'+i+'"');var s=N.reactiveFormData.sourceDoc(o),c=P(e.atts,e.atts.value,s,u,e.atts.defaultValue,l),f=N.templateInstanceForForm();f.view.isRendered&&G(f,e.atts.name);var p=U(r,e.atts,c,a.label(e.atts.name),n.type);return"function"==typeof l.contextAdjust?l.contextAdjust(p):p}})}.call(this),function(){f.__checkName("afFormGroup"),f.afFormGroup=new f("Template.afFormGroup",(function(){var t=this;return p._TemplateWith((function(){return{template:I.call(t.lookup("getTemplateName")),data:I.call(t.lookup("innerContext"))}}),(function(){return I.include((function(){return I.call(f.__dynamic)}))}))}))}.call(this),function(){function t(t){var e={};return l.each(t,(function t(n,o){0===o.indexOf("formgroup-")&&"formgroup-class"!=o&&(e[o.substring(10)]=n)})),e}function e(t){var e={};return l.each(t,(function t(n,o){0===o.indexOf("label-")&&(e[o.substring(6)]=n)})),e}function n(t){var e={};return l.each(t,(function t(n,o){-1===["id-prefix","id","label"].indexOf(o)&&0!==o.indexOf("label-")&&0!==o.indexOf("formgroup-")&&(e[o]=n)})),e}f.afFormGroup.helpers({getTemplateName:function(){return N.getTemplateName("afFormGroup",this.template,this.name)},innerContext:function o(){var a=N.Utility.getComponentContext(this,"afFormGroup"),r=t(a.atts),u=e(a.atts),i=n(a.atts),l=a.atts.id||b.id(),s=a.atts["id-prefix"];s&&s.length>0&&(l=s+"-"+l),u.for=i.id=l;var c=N.getSchemaForField(a.atts.name);return{skipLabel:!1===a.atts.label,afFormGroupClass:a.atts["formgroup-class"],afFormGroupAtts:r,afFieldLabelAtts:u,afFieldInputAtts:i,name:a.atts.name,required:!!c&&!c.optional,labelText:"string"==typeof a.atts.label?a.atts.label:null}}})}.call(this),function(){f.__checkName("afObjectField"),f.afObjectField=new f("Template.afObjectField",(function(){var t=this;return p._TemplateWith((function(){return{template:I.call(t.lookup("getTemplateName")),data:I.call(t.lookup("innerContext"))}}),(function(){return I.include((function(){return I.call(f.__dynamic)}))}))}))}.call(this),function(){f.afObjectField.helpers({getTemplateName:function(){return N.getTemplateName("afObjectField",this.template,this.name)},innerContext:function(){var t=N.Utility.getComponentContext(this,"afOb
236jectField");return l.extend({},this,t.atts)}})}.call(this),function(){f.__checkName("afQuickField"),f.afQuickField=new f("Template.afQuickField",(function(){var t=this;return p.If((function(){return I.call(t.lookup("isGroup"))}),(function(){return["\n    ",I.include(t.lookupTemplate("afObjectField")),"\n  "]}),(function(){return["\n    ",p.If((function(){return I.call(t.lookup("isFieldArray"))}),(function(){return["\n      ",I.include(t.lookupTemplate("afArrayField")),"\n    "]}),(function(){return["\n      ",p.If((function(){return I.call(t.lookup("isHiddenInput"))}),(function(){return["\n        \n        ",p._TemplateWith((function(){return I.call(t.lookup("groupAtts"))}),(function(){return I.include(t.lookupTemplate("afFieldInput"))})),"\n      "]}),(function(){return["\n        ",p._TemplateWith((function(){return I.call(t.lookup("groupAtts"))}),(function(){return I.include(t.lookupTemplate("afFormGroup"))})),"\n      "]})),"\n    "]})),"\n  "]}))}))}.call(this),function(){f.afQuickField.helpers({isGroup:function t(){var e=N.Utility.getComponentContext(this,"afQuickField");return e.defs.type===Object&&!e.atts.options&&!e.atts.type},isFieldArray:function t(){var e=N.Utility.getComponentContext(this,"afQuickField");return e.defs.type===Array&&!e.atts.options&&!e.atts.type},groupAtts:function t(){return l.omit(this,"fields","omitFields")},isHiddenInput:function t(){var e,n=N.Utility.getComponentContext(this,"afQuickField").atts.type;if(n){var o=N._inputTypeDefinitions[n];if(!o)throw new Error('AutoForm: No component found for rendering input with type "'+n+'"');return o.isHidden}return!1}})}.call(this),function(){f.__checkName("afQuickFields"),f.afQuickFields=new f("Template.afQuickFields",(function(){var t=this;return p.Each((function(){return I.dataMustache(t.lookup("afFieldNames"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return["\n    ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickField"))})),"\n  "]}))}))}.call(this),function(){f.afQuickFields.helpers({quickFieldAtts:function t(){var e,n,o={};return(e=f.parentData(1))&&!e.atts||(e={}),(n=N._getOptionsForField(this.name))&&(o.options=n),l.extend(o,e,this)}})}.call(this),function(){var t=null,e=null;function n(t,e,n){if(A.checkTemplate(e)){var o=x.getHooks(t,"beginSubmit");if(o.length)l.each(o,(function t(e){e.call(n)}));else{var a=e.find("button[type=submit]")||e.find("input[type=submit]");a&&(a.disabled=!0)}}}function a(e,n,o){if(A.checkTemplate(n)){t=null;var a=x.getHooks(e,"endSubmit");if(a.length)l.each(a,(function t(e){e.call(o)}));else{var r=n.find("button[type=submit]")||n.find("input[type=submit]");r&&(r.disabled=!1)}}}function r(t){var e=o._makeGeneric(t);return".$"!==e.slice(-2)&&-1===e.indexOf(".$.")||(t=e.slice(0,e.indexOf(".$"))),t}function u(t){return"submitThenKeyup"===t||"submitThenBlur"===t}function i(t){var e=t.getAttribute("data-schema-key");return e||(e=y(t).closest("[data-schema-key]").attr("data-schema-key")),e}var s=l.throttle((function(e){t=e.target,y(e.currentTarget).submit()}),500,{leading:!1});f.autoForm.events({"submit form":function e(o,r){var u,i=this.id,s=N.getCurrentDataForForm(i),c=s.type,f=N.getFormSchema(i),p=N.getFormCollection(i),m=!(!p||!s.schema),d=s.doc,h=d?d._id:null,v,k={validationContext:i,filter:s.filter,autoConvert:s.autoConvert,removeEmptyStrings:s.removeEmptyStrings,trimStrings:s.trimStrings},b;try{b=A.getFormTypeDef(c)}catch(V){throw o.preventDefault(),V}var y=x.getHooks(i,"onSuccess"),g=x.getHooks(i,"onError"),T=x.getHooks(i,"before",c),F=x.getHooks(i,"after",c),I={addStickyValidationError:function(t,e,n){N.addStickyValidationError(i,t,e,n)},autoSaveChangedElement:t,collection:p,currentDoc:d,docId:h,event:o,formAttributes:s,formId:i,formTypeDefinition:b,removeStickyValidationError:function(t){N.removeStickyValidationError(i,t)},resetForm:function(){N.resetForm(i,r)},ss:f,ssIsOverride:m,template:r,validationContext:N.getValidationContext(i)};if(b.needsModifierAndDoc?(u=N.getFormValues(i,r,f),I.updateDoc=u.updateDoc,I.insertDoc=u.insertDoc):b.usesModifier?(u=N.getFormValues(i,r,f,!0),I.updateDoc=u):(u=N.getFormValues(i,r,f,!1),I.insertDoc=u),u){var _;if(n(i,r,I),!b.shouldPrevalidate||b.shouldPrevalidate.call(I)){try{v="none"===s.validation||b.validateForm.call({form:s,formDoc:u,useCollectionSchema:!1})}catch(M){console.error("Validation error",M),v=!1}if(!1===v)return void D()}b.onSubmit.call(l.extend({runBeforeHooks:w,result:S,endSubmission:C,failedValidation:D,validationOptions:k,hookContext:I},I))}else o.preventDefault();function C(){a(i,r,I)}
236function D(){var t=f.namedContext(i),e=t.invalidKeys(),n;e?(e.length?(e=l.map(e,(function(e){return l.extend({message:t.keyErrorMessage(e.name)},e)})),n=new Error(e[0].message)):n=new Error("form failed validation"),n.invalidKeys=e):n=new Error("form failed validation"),l.each(g,(function t(e){e.call(I,"pre-submit validation",n)})),o.preventDefault(),o.stopPropagation(),C()}function w(t,e){function n(t,o){var a=T[t];if(a){var r=function(e){if(!1===e)C();else{if(!l.isObject(e))throw new Error("A 'before' hook must return an object");n(t+1,e)}},u=l.extend({result:l.once(r)},I),i=a.call(u,o);void 0!==i&&u.result(i)}else e(o)}n(0,t)}function S(t,e){t?g&&g.length?l.each(g,(function e(n){n.call(I,c,t)})):F&&F.length||!f.namedContext(i).isValid()||console.log(t):(!1!==s.resetOnSuccess&&!0!==s.autosave&&N.resetForm(i,r),"insert"===c&&(I.docId=e),l.each(y,(function t(n){n.call(I,c,e)}))),l.each(F,(function n(o){o.call(I,t,e)})),C()}},"keyup [data-schema-key]":function t(e){if(!l.contains([13,9,16,20,17,91,37,38,39,40],e.keyCode)){var n=N.getFormId(),o=N.getCurrentDataForForm(n),a=o.validation,c=!(8===e.keyCode||46===e.keyCode);if("keyup"===a||"submitThenKeyup"===a){var f=i(e.currentTarget);if(!f)return;O(f,n,c,u(a));var p=r(f);p!==f&&O(p,n,c,u(a)),!0===o.autosaveOnKeyup&&s(e)}}},"blur [data-schema-key]":function t(e){var n=N.getFormId(),o,a=N.getCurrentDataForForm(n).validation;if("keyup"===a||"blur"===a||"submitThenKeyup"===a||"submitThenBlur"===a){var l=i(e.currentTarget);if(!l)return;O(l,n,!1,u(a));var s=r(l);s!==l&&O(s,n,!1,u(a))}},"change form":function n(o,a){var l=i(o.target);if(l){var s=y(o.target),c=s.val();if("checkbox"===o.target.type&&(c=c+"_"+s.prop("checked")),(c=l+"___"+c)!==e){e=c;var f=this.id;G(a,l);var p=N.getCurrentDataForForm(f);if(!0===p.autosave||!0===p.autosaveOnKeyup)return t=o.target,void y(o.currentTarget).submit();var m=p.validation;if("keyup"===m||"blur"===m||"submitThenKeyup"===m||"submitThenBlur"===m){O(l,f,!1,u(m));var d=r(l);d!==l&&O(d,f,!1,u(m))}}}},"reset form":function t(e,n){var o=this.id;N.formPreserve.clearDocument(o),S.resetForm(o);var a=N.getValidationContext(o);a&&a.resetValidation(),this.doc&&(e.preventDefault(),N._forceResetFormValues(o)),B(n),n.$("[autofocus]").focus()},"keydown .autoform-array-item input":function(t){13===t.keyCode&&t.preventDefault()},"click .autoform-remove-item":function t(e,n){var o=this;e.preventDefault();var a=o.arrayFieldName,r=o.minCount,u=o.maxCount,i=o.index,l=n.data,s=l&&l.id,c=N.getFormSchema(s);S.removeFromFieldAtIndex(s,a,i,c,r,u)},"click .autoform-add-item":function t(e,n){e.preventDefault();var o=y(e.currentTarget),a=o.attr("data-autoform-field"),r=o.attr("data-autoform-minCount"),u=o.attr("data-autoform-maxCount"),i=n.data,l=i&&i.id,s=N.getFormSchema(l);S.addOneToField(l,a,s,r,u)}})}.call(this),function(){f.registerHelper("attsPlusFormControlClass",(function t(){var e=l.clone(this.atts);return e=N.Utility.addClass(e,"form-control")})),f.registerHelper("attsPlusBtnClass",(function t(){var e=l.clone(this.atts);return e=N.Utility.addClass(e,"btn")}))}.call(this),function(){f.__checkName("quickForm_bootstrap3"),f.quickForm_bootstrap3=new f("Template.quickForm_bootstrap3",(function(){var t=this;return p._TemplateWith((function(){return I.call(t.lookup("qfAutoFormContext"))}),(function(){return I.include(t.lookupTemplate("autoForm"),(function(){return["\n\n    ",I.With((function(){return I.call(t.lookup("grouplessFields"))}),(function(){return["\n      ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    "]})),"\n\n    ",p.Each((function(){return I.call(t.lookup("fieldGroups"))}),(function(){return["\n      ",F.FIELDSET({class:"af-fieldGroup"},"\n        ",I.With((function(){return I.call(t.lookup("fieldGroupLabel"))}),(function(){return["\n          ",F.LEGEND({class:"af-fieldGroup-heading"},p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n        "]})),"\n        ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n      "),"\n    "]})),"\n\n    ",p.If((function(){return I.call(t.lookup("qfShouldRenderButton"))}),(function(){return["\n      ",F.DIV({class:"form-group"},"\n        ",F.BUTTON(F.Attrs({type:"submit"},(function(){return I.attrMustache(t.lookup("submitButtonAtts"))})),"\n          ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","buttonContent"))}),(function(){return["\n          ",p.View("lookup:.",(function(){return I.mustache(t.lookup("."))})),"\n          "]}),(function(){return"\n          Submit\n          "})),"\n        "),"\n      "),"\n    "]})),"\n\n  "]}))}))}))}.call(this),function(){f.quickForm_bootstrap3.helpers({fieldGroupLabel:function(){var t=this.name;return isNaN(parseInt(t.substr(0,2),10))||"_"!==t.charAt(2)||(t=t.
236substr(3)),"function"==typeof o.defaultLabel?o.defaultLabel(t):t.charAt(0).toUpperCase()+t.slice(1)},quickFieldsAtts:function(){return l.pick(this.atts,"fields","id-prefix","input-col-class","label-class")},submitButtonAtts:function t(){var e=this.atts,n={};return"string"==typeof e.buttonClasses?n.class=e.buttonClasses:n.class="btn btn-primary",n}})}.call(this),function(){f.__checkName("afArrayField_bootstrap3"),f.afArrayField_bootstrap3=new f("Template.afArrayField_bootstrap3",(function(){var t=this;return F.DIV({class:"panel panel-default"},"\n    ",F.DIV({class:"panel-heading"},p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}))),"\n    ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}),(function(){return["\n    ",F.DIV({class:"panel-body has-error"},"\n      ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"atts","name")})))}))),"\n    "),"\n    "]})),"\n    ",F.UL({class:"list-group"}
236,"\n      ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"atts","name")),minCount:I.call(I.dot(t.lookup("."),"atts","minCount")),maxCount:I.call(I.dot(t.lookup("."),"atts","maxCount"))}}),(function(){return I.include(t.lookupTemplate("afEachArrayItem"),(function(){return["\n      ",F.LI({class:"list-group-item autoform-array-item"},"\n        ",F.DIV("\n          ",F.DIV({class:"autoform-remove-item-wrap"},"\n            ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasMoreThanMinimum"),I.kw({name:I.dot(t.lookup(".."),"atts","name"),minCount:I.dot(t.lookup(".."),"atts","minCount"),maxCount:I.dot(t.lookup(".."),"atts","maxCount")}))}),(function(){return F.Raw('\n            <button type="button" class="btn btn-primary autoform-remove-item"><span class="glyphicon glyphicon-minus"></span></button>\n            ')})),"\n          "),"\n          ",F.DIV({class:"autoform-array-item-body"},"\n            ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"name")),label:I.call(!1),options:I.call(t.lookup("afOptionsFromSchema"))}}),(function(){return I.include(t.lookupTemplate("afQuickField"))})),"\n          "),"\n        "),"\n      "),"\n      "]}))})),"\n      ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasLessThanMaximum"),I.kw({name:I.dot(t.lookup("."),"atts","name"),minCount:I.dot(t.lookup("."),"atts","minCount"),maxCount:I.dot(t.lookup("."),"atts","maxCount")}))}),(function(){return["\n      ",F.LI({class:"list-group-item"},"\n        ",F.BUTTON({type:"button",class:"btn btn-primary autoform-add-item","data-autoform-field":function(){return I.mustache(I.dot(t.lookup("."),"atts","name"))},"data-autoform-mincount":function(){return I.mustache(I.dot(t.lookup("."),"atts","minCount"))},"data-autoform-maxcount":function(){return I.mustache(I.dot(t.lookup("."),"atts","maxCount"))}},F.Raw('<span class="glyphicon glyphicon-plus"></span>')),"\n      "),"\n      "]})),"\n    "),"\n  ")}))}.call(this),function(){f.__checkName("afFormGroup_bootstrap3"),f.afFormGroup_bootstrap3=new f("Template.afFormGroup_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs({class:function(){return["form-group ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return"has-error"}))," ",I.mustache(t.lookup("afFormGroupClass"))]},"data-required":function(){return I.mustache(t.lookup("required"))}},(function(){return I.attrMustache(t.lookup("afFormGroupAtts"))})),"\n    ",p.Unless((function(){return I.call(t.lookup("skipLabel"))}),(function(){return["\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("bsFieldLabelAtts"))})),p.If((function(){return I.call(I.dot(t.lookup("."),"labelText"))}),(function(){return p.View("lookup:..labelText",(function(){return I.mustache(I.dot(t.lookup("."),"labelText"))}))}),(function(){return p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))}))),"\n    "]})),"\n    ",p._TemplateWith((function(){return I.call(I.dot(t.lookup("."),"afFieldInputAtts"))}),(function(){return I.include(t.lookupTemplate("afFieldInput"))})),"\n    ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"name")})))}))),"\n  ")}))}.call(this),function(){f.afFormGroup_bootstrap3.helpers({skipLabel:function t(){var e=this,n=N.getInputType(e.afFieldInputAtts);return e.skipLabel||"boolean-checkbox"===n},bsFieldLabelAtts:function t(){var e=l.clone(this.afFieldLabelAtts);return e=N.Utility.addClass(e,"control-label")}})}.call(this),function(){f.__checkName("afObjectField_bootstrap3"),f.afObjectField_bootstrap3=new f("Template.afObjectField_bootstrap3",(function(){var t=this;return F.DIV({class:function(){return["panel ",I.mustache(t.lookup("panelClass"))]}},"\n    ",I.With((function(){return I.dataMustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return["\n    ",F.DIV({class:function(){return["panel-heading ",I.mustache(t.lookup("headingClass"))]}},"\n      ",F.H3({class:"panel-title"},p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n    "),"\n    "]})),"\n    ",F.DIV({class:function(){return["panel-body ",I.mustache(t.lookup("bodyClass"))]}},"\n      ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return["\n      ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"name")})))}
236))),"\n      "]})),"\n      ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    "),"\n  ")}))}.call(this),function(){f.afObjectField_bootstrap3.helpers({quickFieldsAtts:function(){return l.pick(this,"name","id-prefix")},panelClass:function(){return this.panelClass||"panel-default"}})}.call(this),function(){f.__checkName("afCheckbox_bootstrap3"),f.afCheckbox_bootstrap3=new f("Template.afCheckbox_bootstrap3",(function(){var t=this;return F.DIV({class:"checkbox"},"\n    ",F.LABEL("\n      ",F.INPUT(F.Attrs({type:"checkbox",value:"true"},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n      ",p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))})),"\n    "),"\n  ")}))}.call(this),function(){f.__checkName("afBooleanRadioGroup_bootstrap3"),f.afBooleanRadioGroup_bootstrap3=new f("Template.afBooleanRadioGroup_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs((function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",F.DIV({class:"radio"},"\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"false",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("falseAtts"))})))," ",I.With((function(){return I.call(I.dot(t.lookup("."),"atts","falseLabel"))}),(function(){return p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))}),(function(){return"False"}))),"\n    "),"\n    ",F.DIV({class:"radio"},"\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"true",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("trueAtts"))})))," ",I.With((function(){return I.call(I.dot(t.lookup("."),"atts","trueLabel"))}),(function(){return p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))}),(function(){return"True"}))),"\n    "),"\n    ",p.If((function(){return I.call(I.dot(t.lookup("."),"atts","nullLabel"))}),(function(){return["\n    ",F.DIV({class:"radio"},"\n      ",F.LABEL(F.INPUT(F.Attrs({type:"radio",value:"null",name:function(){return I.mustache(I.dot(t.lookup("."),"name"))}},(function(){return I.attrMustache(t.lookup("nullAtts"))})))," ",p.View("lookup:..atts.nullLabel",(function(){return I.mustache(I.dot(t.lookup("."),"atts","nullLabel"))}))),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.afBooleanRadioGroup_bootstrap3.helpers({falseAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!1===this.value&&(e.checked=""),e},trueAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!0===this.value&&(e.checked=""),e},nullAtts:function t(){var e=l.omit(this.atts,"trueLabel","falseLabel","nullLabel","data-schema-key");return!0!==this.value&&!1!==this.value&&(e.checked=""),e},dsk:function(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afBooleanSelect_bootstrap3"),f.afBooleanSelect_bootstrap3=new f("Template.afBooleanSelect_bootstrap3",(function(){var t=this;return F.SELECT(F.Attrs((function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n    "]})),"\n  ")}))}.call(this),function(){f.__checkName("afInputButton_bootstrap3"),f.afInputButton_bootstrap3=new f("Template.afInputButton_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"button",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusBtnClass"))})))}))}.call(this),function(){f.__checkName("afInputColor_bootstrap3"),f.afInputColor_bootstrap3=new f("Template.afInputColor_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"color",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputDate_bootstrap3"),f.afInputDate_bootstrap3=new f("Template.afInputDate_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"date",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputDateTime_bootstrap3"),f.afInputDateTime_bootstrap3=new f("Template.afInputDateTime_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"datetime",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputDateTimeLocal_bootstrap3"),f.afInputDateTimeLocal_bootstrap3=new f("Template.afInputDateTimeLocal_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"datetime-local",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputEmail_bootstrap3"),f.afInputEmail_bootstrap3=new f("Template.afInputEmail_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"email",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputMonth_bootstrap3"),f.afInputMonth_bootstrap3=new f("Template.afInputMonth_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"month",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputNumber_bootstrap3"),f.afInputNumber_bootstrap3=new f("Template.afInputNumber_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"number",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputPassword_bootstrap3"),f.afInputPassword_bootstrap3=new f("Template.afInputPassword_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"password",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afRadio_bootstrap3"),f.afRadio_bootstrap3=new f("Template.afRadio_bootstrap3",(function(){var t=this;return F.DIV({class:"radio"}
236,"\n    ",F.LABEL("\n      ",F.INPUT(F.Attrs({type:"radio",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n      ",p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))})),"\n    "),"\n  ")}))}.call(this),function(){f.afRadio_bootstrap3.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),e}})}.call(this),function(){f.__checkName("afInputRange_bootstrap3"),f.afInputRange_bootstrap3=new f("Template.afInputRange_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"range",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(I.dot(t.lookup("."),"atts"))})))}))}.call(this),function(){f.__checkName("afInputReset_bootstrap3"),f.afInputReset_bootstrap3=new f("Template.afInputReset_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"reset",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusBtnClass"))})))}))}.call(this),function(){f.__checkName("afInputSearch_bootstrap3"),f.afInputSearch_bootstrap3=new f("Template.afInputSearch_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"search",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afSelect_bootstrap3"),f.afSelect_bootstrap3=new f("Template.afSelect_bootstrap3",(function(){var t=this;return F.SELECT(F.Attrs((function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",p.If((function(){return I.call(I.dot(t.lookup("."),"optgroup"))}),(function(){return["\n    ",F.OPTGROUP({label:function(){return I.mustache(I.dot(t.lookup("."),"optgroup"))}},"\n      ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n      "]})),"\n    "),"\n    "]}),(function(){return["\n    ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n    "]})),"\n    "]})),"\n  ")}))}.call(this),function(){f.__checkName("afCheckboxGroup_bootstrap3"),f.afCheckboxGroup_bootstrap3=new f("Template.afCheckboxGroup_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs({class:"af-checkbox-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.DIV({class:"checkbox"},"\n      ",F.LABEL("\n        ",F.INPUT(F.Attrs({type:"checkbox",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n        ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})),"\n      "),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.afCheckboxGroup_bootstrap3.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afCheckboxGroupInline_bootstrap3"),f.afCheckboxGroupInline_bootstrap3=new f("Template.afCheckboxGroupInline_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs({class:"af-checkbox-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.LABEL({class:"checkbox-inline fix-indent"},"\n      ",F.INPUT(F.Attrs({type:"checkbox",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n      ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.afCheckboxGroupInline_bootstrap3.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afSelectMultiple_bootstrap3"),f.afSelectMultiple_bootstrap3=new f("Template.afSelectMultiple_bootstrap3",(function(){var t=this;return F.SELECT(F.Attrs({multiple:""},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",p.If((function(){return I.call(I.dot(t.lookup("."),"optgroup"))}),(function(){return["\n    ",F.OPTGROUP({label:function(){return I.mustache(I.dot(t.lookup("."),"optgroup"))}},"\n      ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n      ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n      "]})),"\n    "),"\n    "]}),(function(){return["\n    ",F.OPTION(F.Attrs((function(){return I.attrMustache(t.lookup("afSelectOptionAtts"))})),p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))}))),"\n    "]})),"\n    "]})),"\n  ")}))}.call(this),function(){f.__checkName("afRadioGroup_bootstrap3"),f.afRadioGroup_bootstrap3=new f("Template.afRadioGroup_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs({class:"af-radio-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.DIV({class:"radio"}
236,"\n      ",F.LABEL("\n        ",F.INPUT(F.Attrs({type:"radio",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n        ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})),"\n      "),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.afRadioGroup_bootstrap3.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afRadioGroupInline_bootstrap3"),f.afRadioGroupInline_bootstrap3=new f("Template.afRadioGroupInline_bootstrap3",(function(){var t=this;return F.DIV(F.Attrs({class:"af-radio-group"},(function(){return I.attrMustache(t.lookup("dsk"))})),"\n    ",p.Each((function(){return I.call(I.dot(t.lookup("."),"items"))}),(function(){return["\n    ",F.LABEL({class:"radio-inline fix-indent"},"\n      ",F.INPUT(F.Attrs({type:"radio",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n      ",p.View("lookup:..label",(function(){return I.mustache(I.dot(t.lookup("."),"label"))})),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.afRadioGroupInline_bootstrap3.helpers({atts:function t(){var e=l.clone(this.atts);return this.selected&&(e.checked=""),delete e["data-schema-key"],e},dsk:function t(){return{"data-schema-key":this.atts["data-schema-key"]}}})}.call(this),function(){f.__checkName("afInputSubmit_bootstrap3"),f.afInputSubmit_bootstrap3=new f("Template.afInputSubmit_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"submit",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusBtnClass"))})))}))}.call(this),function(){f.__checkName("afInputTel_bootstrap3"),f.afInputTel_bootstrap3=new f("Template.afInputTel_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"tel",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputText_bootstrap3"),f.afInputText_bootstrap3=new f("Template.afInputText_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"text",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afTextarea_bootstrap3"),f.afTextarea_bootstrap3=new f("Template.afTextarea_bootstrap3",(function(){var t=this;return F.TEXTAREA(F.Attrs((function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))}),{value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}}))}))}.call(this),function(){f.__checkName("afInputTime_bootstrap3"),f.afInputTime_bootstrap3=new f("Template.afInputTime_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"time",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputUrl_bootstrap3"),f.afInputUrl_bootstrap3=new f("Template.afInputUrl_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"url",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("afInputWeek_bootstrap3"),f.afInputWeek_bootstrap3=new f("Template.afInputWeek_bootstrap3",(function(){var t=this;return F.INPUT(F.Attrs({type:"week",value:function(){return I.mustache(I.dot(t.lookup("."),"value"))}},(function(){return I.attrMustache(t.lookup("attsPlusFormControlClass"))})))}))}.call(this),function(){f.__checkName("quickForm_bootstrap3-horizontal"),f["quickForm_bootstrap3-horizontal"]=new f("Template.quickForm_bootstrap3-horizontal",(function(){var t=this;return p._TemplateWith((function(){return I.call(t.lookup("qfAutoFormContext"))}),(function(){return I.include(t.lookupTemplate("autoForm"),(function(){return["\n\n    ",I.With((function(){return I.call(t.lookup("grouplessFields"))}),(function(){return["\n      ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    "]})),"\n\n    ",p.Each((function(){return I.call(t.lookup("fieldGroups"))}),(function(){return["\n      ",F.FIELDSET({class:"af-fieldGroup"},"\n        ",I.With((function(){return I.call(t.lookup("fieldGroupLabel"))}),(function(){return["\n          ",F.LEGEND({class:"af-fieldGroup-heading"},p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n        "]})),"\n        ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n      "),"\n    "]})),"\n\n    ",p.If((function(){return I.call(t.lookup("qfShouldRenderButton"))}),(function(){return["\n    ",F.DIV({class:"form-group"},"\n      ",F.DIV({class:function(){return I.mustache(t.lookup("labelClass"))}}),"\n      ",F.DIV({class:function(){return I.mustache(t.lookup("inputClass"))}},"\n        ",F.BUTTON(F.Attrs({type:"submit"},(function(){return I.attrMustache(t.lookup("submitButtonAtts"))})),"\n          ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","buttonContent"))}),(function(){return["\n          ",p.View("lookup:.",(function(){return I.mustache(t.lookup("."))})),"\n          "]}),(function(){return"\n          Submit\n          "})),"\n        "),"\n      "),"\n    "),"\n    "]})),"\n\n  "]}))}))}))}.call(this),function(){f["quickForm_bootstrap3-horizontal"].helpers({inputClass:function(){return this.atts["input-col-class"]},labelClass:function(){return this.atts["label-class"]},fieldGroupLabel:function(){var t=this.name;return isNaN(parseInt(t.substr(0,2),10))||"_"!==t.charAt(2)||(t=t.
236substr(3)),"function"==typeof o.defaultLabel?o.defaultLabel(t):t.charAt(0).toUpperCase()+t.slice(1)},quickFieldsAtts:function(){return l.pick(this.atts,"fields","id-prefix","input-col-class","label-class")},submitButtonAtts:function(){var t=this.atts,e={};return"string"==typeof t.buttonClasses?e.class=t.buttonClasses:e.class="btn btn-primary",e},qfAutoFormContext:function(){var t=l.clone(this.qfAutoFormContext||{});return delete(t=N.Utility.addClass(t,"form-horizontal"))["input-col-class"],delete t["label-class"],t}})}.call(this),function(){f.__checkName("afArrayField_bootstrap3-horizontal"),f["afArrayField_bootstrap3-horizontal"]=new f("Template.afArrayField_bootstrap3-horizontal",(function(){var t=this;return F.DIV({class:function(){return["form-group",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}),(function(){return" has-error"}))]}},"\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("afFieldLabelAtts"))})),p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}))),"\n    ",F.DIV({class:function(){return I.mustache(t.lookup("rightColumnClass"))}},"\n      ",F.DIV({class:"panel panel-default autoform-padding-fix"},"\n        ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}),(function(){return["\n        ",F.DIV({class:"panel-body has-error"},"\n          ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"atts","name")})))}))),"\n        "),"\n        "]})),"\n        ",F.UL({class:"list-group"}
236,"\n          ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"atts","name")),minCount:I.call(I.dot(t.lookup("."),"atts","minCount")),maxCount:I.call(I.dot(t.lookup("."),"atts","maxCount"))}}),(function(){return I.include(t.lookupTemplate("afEachArrayItem"),(function(){return["\n          ",F.LI({class:"list-group-item autoform-array-item"},"\n            ",F.DIV("\n              ",F.DIV({class:"autoform-remove-item-wrap"},"\n                ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasMoreThanMinimum"),I.kw({name:I.dot(t.lookup(".."),"atts","name"),minCount:I.dot(t.lookup(".."),"atts","minCount"),maxCount:I.dot(t.lookup(".."),"atts","maxCount")}))}),(function(){return F.Raw('\n                <button type="button" class="btn btn-primary autoform-remove-item"><span class="glyphicon glyphicon-minus"></span></button>\n                ')})),"\n              "),"\n              ",F.DIV({class:"autoform-array-item-body"},"\n                ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"name")),label:I.call(!1),options:I.call(t.lookup("afOptionsFromSchema"))}}),(function(){return I.include(t.lookupTemplate("afQuickField"))})),"\n              "),"\n            "),"\n          "),"\n          "]}))})),"\n          ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasLessThanMaximum"),I.kw({name:I.dot(t.lookup("."),"atts","name"),minCount:I.dot(t.lookup("."),"atts","minCount"),maxCount:I.dot(t.lookup("."),"atts","maxCount")}))}),(function(){return["\n          ",F.LI({class:"list-group-item"},"\n            ",F.BUTTON({type:"button",class:"btn btn-primary autoform-add-item","data-autoform-field":function(){return I.mustache(I.dot(t.lookup("."),"atts","name"))},"data-autoform-mincount":function(){return I.mustache(I.dot(t.lookup("."),"atts","minCount"))},"data-autoform-maxcount":function(){return I.mustache(I.dot(t.lookup("."),"atts","maxCount"))}},F.Raw('<span class="glyphicon glyphicon-plus"></span>')),"\n          "),"\n          "]})),"\n        "),"\n      "),"\n    "),"\n  ")}))}.call(this),function(){f["afArrayField_bootstrap3-horizontal"].helpers({rightColumnClass:function(){var t;return(this.atts||{})["input-col-class"]||""},afFieldLabelAtts:function(){var t={};return l.each(this.atts,(function(e,n){0===n.indexOf("label-")&&(t[n.substring(6)]=e)})),t=N.Utility.addClass(t,"control-label")}})}.call(this),function(){f.__checkName("afFormGroup_bootstrap3-horizontal"),f["afFormGroup_bootstrap3-horizontal"]=new f("Template.afFormGroup_bootstrap3-horizontal",(function(){var t=this;return F.DIV(F.Attrs({class:function(){return["form-group ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return"has-error"}))," ",I.mustache(t.lookup("afFormGroupClass"))]},"data-required":function(){return I.mustache(t.lookup("required"))}},(function(){return I.attrMustache(t.lookup("afFormGroupAtts"))})),"\n    ",p.If((function(){return I.call(t.lookup("skipLabel"))}),(function(){return["\n    \n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("afFieldLabelAtts"))}))),"\n    "]}),(function(){return["\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("afFieldLabelAtts"))})),p.If((function(){return I.call(I.dot(t.lookup("."),"labelText"))}),(function(){return p.View("lookup:..labelText",(function(){return I.mustache(I.dot(t.lookup("."),"labelText"))}))}),(function(){return p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))}))),"\n    "]})),"\n    ",F.DIV({class:function(){return I.mustache(t.lookup("rightColumnClass"))}},"\n      ",p._TemplateWith((function(){return I.call(t.lookup("afFieldInputAtts"))}),(function(){return I.include(t.lookupTemplate("afFieldInput"))})),"\n      ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"name")})))}))),"\n    "),"\n  ")}))}.call(this),function(){f["afFormGroup_bootstrap3-horizontal"].helpers({afFieldInputAtts:function(){var t=l.omit(this.afFieldInputAtts||{},"input-col-class");return"boolean-checkbox"===N.getInputType(this.afFieldInputAtts)?t.template="bootstrap3-horizontal":t.template="bootstrap3",t},afFieldLabelAtts:function(){var t=l.clone(this.afFieldLabelAtts||{});return t=N.Utility.addClass(t,"control-label")},rightColumnClass:function(){var t;return(this.afFieldInputAtts||{})["input-col-class"]||""},skipLabel:function(){var t=this,e=N.getInputType(t.afFieldInputAtts);return t.skipLabel||"boolean-checkbox"===e&&!t.afFieldInputAtts.leftLabel}})}.call(this),function(){f.__checkName("afObjectField_bootstrap3-horizontal"),f["afObjectField_bootstrap3-horizontal"]=new f("Template.afObjectField_bootstrap3-horizontal",(function(){var t=this;return F.DIV({class:function(){return["form-group ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return"has-error"}))]}},"\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("afFieldLabelAtts"))})),p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))),"\n    ",F.DIV({class:function(){return I.mustache(t.lookup("rightColumnClass"))}},"\n      ",F.DIV({class:function(){return["panel panel-default autoform-padding-fix ",I.mustache(t.lookup("panelClass"))]}},"\n        ",F.DIV({class:function(){return["panel-body ",I.mustache(t.lookup("bodyClass"))]}},"\n          ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n        "),"\n      "),"\n    "),"\n  ")}))}.call(this),function(){f["afObjectField_bootstrap3-horizontal"].helpers({rightColumnClass:function(){return this["input-col-class"]||""},afFieldLabelAtts:function(){var t={};return l.each(this,(function(e,n){0===n.indexOf("label-")&&(t[n.substring(6)]=e)})),t=N.Utility.addClass(t,"control-label")},quickFieldsAtts:function(){var t=l.pick(this,"name","id-prefix");return t.template="bootstrap3",t}})}.call(this),function(){f.__checkName("afCheckbox_bootstrap3-horizontal"),f["afCheckbox_bootstrap3-horizontal"]=new f("Template.afCheckbox_bootstrap3-horizontal",(function(){var t=this;return p.If((function(){return I.call(t.lookup("useLeftLabel"))}),(function(){return["\n  \n  ",F.DIV({class:"checkbox"},"\n    ",F.INPUT(F.Attrs({type:"checkbox",value:"true"},(function(){return I.attrMustache(t.lookup("attsPlusSpecialClass"))}))),"\n  "),"\n  "]}),(function(){return["\n  ",F.DIV({class:"checkbox"}
236,"\n    ",F.LABEL("\n      ",F.INPUT(F.Attrs({type:"checkbox",value:"true"},(function(){return I.attrMustache(t.lookup("atts"))}))),"\n      ",p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))})),"\n    "),"\n  "),"\n  "]}))}))}.call(this),function(){f["afCheckbox_bootstrap3-horizontal"].helpers({attsPlusSpecialClass:function(){var t=l.clone(this.atts);return t=N.Utility.addClass(t,"autoform-checkbox-margin-fix")},useLeftLabel:function(){return this.atts.leftLabel}})}.call(this),function(){f.__checkName("quickForm_bootstrap3-inline"),f["quickForm_bootstrap3-inline"]=new f("Template.quickForm_bootstrap3-inline",(function(){var t=this;return p._TemplateWith((function(){return I.call(t.lookup("qfAutoFormContext"))}),(function(){return I.include(t.lookupTemplate("autoForm"),(function(){return["\n    ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    ",p.If((function(){return I.call(t.lookup("qfShouldRenderButton"))}),(function(){return["\n    ",F.BUTTON(F.Attrs({type:"submit"},(function(){return I.attrMustache(t.lookup("submitButtonAtts"))})),"\n    ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","buttonContent"))}),(function(){return["\n    ",p.View("lookup:.",(function(){return I.mustache(t.lookup("."))})),"\n    "]}),(function(){return"\n    Submit\n    "})),"\n    "),"\n    "]})),"\n  "]}))}))})),f.__checkName("afFormGroup_bootstrap3-inline"),f["afFormGroup_bootstrap3-inline"]=new f("Template.afFormGroup_bootstrap3-inline",(function(){var t=this;return F.DIV(F.Attrs({class:function(){return["form-group ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return"has-error"}))," ",I.mustache(t.lookup("afFormGroupClass"))]},"data-required":function(){return I.mustache(t.lookup("required"))}},(function(){return I.attrMustache(t.lookup("afFormGroupAtts"))})),"\n    ",p.Unless((function(){return I.call(t.lookup("skipLabel"))}),(function(){return["\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(t.lookup("afFieldLabelAtts"))})),p.If((function(){return I.call(I.dot(t.lookup("."),"labelText"))}),(function(){return p.View("lookup:..labelText",(function(){return I.mustache(I.dot(t.lookup("."),"labelText"))}))}),(function(){return p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))}))),"\n    "]})),"\n    ",p._TemplateWith((function(){return I.call(t.lookup("afFieldInputAtts"))}),(function(){return I.include(t.lookupTemplate("afFieldInput"))})),"\n    ",F.SPAN({class:"help-block"},p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"name")})))}))),"\n  ")}))}.call(this),function(){f["quickForm_bootstrap3-inline"].helpers({submitButtonAtts:function(){var t=this.atts,e={};return"string"==typeof t.buttonClasses?e.class=t.buttonClasses:e.class="btn btn-primary autoform-inline-align",e},qfAutoFormContext:function(){var t=l.clone(this.qfAutoFormContext||{});return delete(t=N.Utility.addClass(t,"form-inline"))["label-class"],t},quickFieldsAtts:function(){return l.pick(this.atts,"id-prefix","label-class")}}),f["afFormGroup_bootstrap3-inline"].helpers({afFieldInputAtts:function(){var t=l.clone(this.afFieldInputAtts||{});return t.template="bootstrap3",t}})}.call(this),function(){f.__checkName("quickForm_plain"),f.quickForm_plain=new f("Template.quickForm_plain",(function(){var t=this;return p._TemplateWith((function(){return I.call(t.lookup("qfAutoFormContext"))}),(function(){return I.include(t.lookupTemplate("autoForm"),(function(){return["\n\n    ",I.With((function(){return I.call(t.lookup("grouplessFields"))}),(function(){return["\n      ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    "]})),"\n\n    ",p.Each((function(){return I.call(t.lookup("fieldGroups"))}),(function(){return["\n      ",F.FIELDSET({class:"af-fieldGroup"},"\n        ",I.With((function(){return I.call(t.lookup("fieldGroupLabel"))}),(function(){return["\n          ",F.LEGEND({class:"af-fieldGroup-heading"},p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n        "]})),"\n        ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n      "),"\n    "]})),"\n\n    ",p.If((function(){return I.call(t.lookup("qfShouldRenderButton"))}),(function(){return["\n    ",F.DIV("\n      ",F.BUTTON(F.Attrs({type:"submit"},(function(){return I.attrMustache(t.lookup("submitButtonAtts"))})),"\n      ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","buttonContent"))}),(function(){return["\n      ",p.View("lookup:.",(function(){return I.mustache(t.lookup("."))})),"\n      "]}),(function(){return"\n      Submit\n      "})),"\n      "),"\n    "),"\n    "]})),"\n\n  "]}))}))}))}.call(this),function(){f.quickForm_plain.helpers({quickFieldsAtts:function(){return l.pick(this.atts,"id-prefix")},submitButtonAtts:function t(){var e=this.atts,n={};
236return"string"==typeof e.buttonClasses&&(n.class=e.buttonClasses),n}})}.call(this),function(){f.__checkName("afArrayField_plain"),f.afArrayField_plain=new f("Template.afArrayField_plain",(function(){var t=this;return F.FIELDSET("\n    ",F.LEGEND(p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}))),"\n    ",p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"atts","name")}))}),(function(){return["\n    ",F.DIV({class:"autoform-array-field-error"},"\n      ",p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"atts","name")})))})),"\n    "),"\n    "]})),"\n    ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"atts","name")),minCount:I.call(I.dot(t.lookup("."),"atts","minCount")),maxCount:I.call(I.dot(t.lookup("."),"atts","maxCount"))}}),(function(){return I.include(t.lookupTemplate("afEachArrayItem"),(function(){return["\n    ",F.DIV({class:"autoform-array-item"}
236,"\n      ",p._TemplateWith((function(){return{name:I.call(I.dot(t.lookup("."),"name")),label:I.call(!1)}}),(function(){return I.include(t.lookupTemplate("afQuickField"))})),"\n      ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasMoreThanMinimum"),I.kw({name:I.dot(t.lookup(".."),"atts","name"),minCount:I.dot(t.lookup(".."),"atts","minCount"),maxCount:I.dot(t.lookup(".."),"atts","maxCount")}))}),(function(){return F.Raw('\n      <button type="button" class="autoform-remove-item">Remove</button>\n      ')})),"\n    "),"\n    "]}))})),"\n    ",p.If((function(){return I.dataMustache(t.lookup("afArrayFieldHasLessThanMaximum"),I.kw({name:I.dot(t.lookup("."),"atts","name"),minCount:I.dot(t.lookup("."),"atts","minCount"),maxCount:I.dot(t.lookup("."),"atts","maxCount")}))}),(function(){return["\n    ",F.DIV({style:"margin-top: 20px;"},"\n      ",F.BUTTON({type:"button",class:"autoform-add-item","data-autoform-field":function(){return I.mustache(I.dot(t.lookup("."),"atts","name"))},"data-autoform-mincount":function(){return I.mustache(I.dot(t.lookup("."),"atts","minCount"))},"data-autoform-maxcount":function(){return I.mustache(I.dot(t.lookup("."),"atts","maxCount"))}},"Add"),"\n    "),"\n    "]})),"\n  ")}))}.call(this),function(){f.__checkName("afFormGroup_plain"),f.afFormGroup_plain=new f("Template.afFormGroup_plain",(function(){var t=this;return F.DIV(F.Attrs({class:function(){return[p.If((function(){return I.dataMustache(t.lookup("afFieldIsInvalid"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return"has-error"}))," ",I.mustache(t.lookup("afFormGroupClass"))]},"data-required":function(){return I.mustache(t.lookup("required"))}},(function(){return I.attrMustache(t.lookup("afFormGroupAtts"))})),"\n    ",p.Unless((function(){return I.call(I.dot(t.lookup("."),"skipLabel"))}),(function(){return["\n    ",F.LABEL(F.Attrs((function(){return I.attrMustache(I.dot(t.lookup("."),"afFieldLabelAtts"))})),p.If((function(){return I.call(I.dot(t.lookup("."),"labelText"))}),(function(){return p.View("lookup:..labelText",(function(){return I.mustache(I.dot(t.lookup("."),"labelText"))}))}),(function(){return p.View("lookup:afFieldLabelText",(function(){return I.mustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}))}))),"\n    "]})),"\n    ",p._TemplateWith((function(){return I.call(I.dot(t.lookup("."),"afFieldInputAtts"))}),(function(){return I.include(t.lookupTemplate("afFieldInput"))})),"\n    ",F.SPAN(p.View("lookup:afFieldMessage",(function(){return I.makeRaw(I.mustache(t.lookup("afFieldMessage"),I.kw({name:I.dot(t.lookup("."),"name")})))}))),"\n  ")}))}.call(this),function(){f.__checkName("afObjectField_plain"),f.afObjectField_plain=new f("Template.afObjectField_plain",(function(){var t=this;return F.FIELDSET("\n    ",I.With((function(){return I.dataMustache(t.lookup("afFieldLabelText"),I.kw({name:I.dot(t.lookup("."),"name")}))}),(function(){return["\n    ",F.LEGEND(p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n    "]})),"\n    ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n  ")}))}.call(this),function(){f.afObjectField_plain.helpers({quickFieldsAtts:function(){return l.pick(this,"name","id-prefix")}})}.call(this),function(){f.__checkName("quickForm_plain-fieldset"),f["quickForm_plain-fieldset"]=new f("Template.quickForm_plain-fieldset",(function(){var t=this;return p._TemplateWith((function(){return I.call(t.lookup("qfAutoFormContext"))}),(function(){return I.include(t.lookupTemplate("autoForm"),(function(){return["\n    ",F.FIELDSET("\n      ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","legend"))}),(function(){return["\n      ",F.LEGEND(p.View("lookup:.",(function(){return I.mustache(t.lookup("."))}))),"\n      "]})),"\n      ",p._TemplateWith((function(){return I.call(t.lookup("quickFieldsAtts"))}),(function(){return I.include(t.lookupTemplate("afQuickFields"))})),"\n    "),"\n    ",p.If((function(){return I.call(t.lookup("qfShouldRenderButton"))}),(function(){return["\n    ",F.DIV("\n      ",F.BUTTON(F.Attrs({type:"submit"},(function(){return I.attrMustache(t.lookup("submitButtonAtts"))})),"\n        ",I.With((function(){return I.call(I.dot(t.lookup(".."),"atts","buttonContent"))}),(function(){return["\n        ",p.View("lookup:.",(function(){return I.mustache(t.lookup("."))})),"\n        "]}),(function(){return"\n        Submit\n        "})),"\n      "),"\n    "),"\n    "]})),"\n  "]}))}))}))}.call(this),function(){f["quickForm_plain-fieldset"].helpers({quickFieldsAtts:function(){return l.pick(this.atts,"id-prefix")},submitButtonAtts:function t(){var e=this.atts,n={};
236return"string"==typeof e.buttonClasses&&(n.class=e.buttonClasses),n}})}.call(this),Package._define("aldeed:autoform",{AutoForm:N,Utility:A})}();
237
238!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,t=Package.meteor.meteorEnv,o=Package.tracker.Tracker,r=Package.tracker.Deps,a=Package["templating-runtime"].Template,c=Package["reactive-var"].ReactiveVar,i=Package.modules.meteorInstall,u=Package.modules.meteorBabelHelpers,s=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,d=Package.blaze.Blaze,k=Package.blaze.UI,p=Package.blaze.Handlebars,g=Package.spacebars.Spacebars,w=Package.htmljs.HTML,T,b=i({node_modules:{meteor:{"natestrauser:connection-banner":{client:{
238"template.banner.js":function e(){a.__checkName("connectionBanner"),a.connectionBanner=new a("Template.connectionBanner",(function(){var e=this;return[w.Raw('\x3c!-- ensure that font-awesome loads --\x3e\n\t<div style="height:0px;width:0px;overflow:hidden;">\n\t\t<i class="fa fa-refresh fa-lg"></i>\n\t\t<i class="fa fa-exclamation-triangle fa-lg"></i>\n\t</div>\n\t'),d.If((function(){return g.call(e.lookup("showBanner"))}),(function(){return["\n\t\t",w.DIV({id:"connection-lost-banner",class:"alert alert-danger"},"\n\t\t\t",w.B(w.Raw('<i class="fa fa-exclamation-triangle fa-lg"></i> '),d.View("lookup:connectionLostText",(function(){return g.mustache(e.lookup("connectionLostText"))}))),w.Raw("\n\t\t\t&nbsp;\n\t\t\t"),d.View("lookup:reconnectBeforeCountdownText",(function(){return g.mustache(e.lookup("reconnectBeforeCountdownText"))}))," ",d.View("lookup:retryTimeSeconds",(function(){return g.mustache(e.lookup("retryTimeSeconds"))}))," ",d.View("lookup:reconnectAfterCountdownText",(function(){return g.mustache(e.lookup("reconnectAfterCountdownText"))})),w.Raw("\n\t\t\t&nbsp;\n\t\t\t"),w.A({href:"",id:"connection-try-reconnect",class:"alert-link"},w.Raw('<i class="fa fa-refresh fa-lg"></i> '),d.View("lookup:tryReconnectText",(function(){return g.mustache(e.lookup("tryReconnectText"))}))),"\n\t\t\t",d.If((function(){return g.call(e.lookup("failedReason"))}),(function(){return[w.Raw("\n\t\t\t\t<br>\n\t\t\t\t"),d.View("lookup:failedReason",(function(){return g.mustache(e.lookup("failedReason"))})),"\n\t\t\t"]})),"\n\t\t"),"\n\t"]}))]}))},
238"util.js":function e(){T=function(e,n){var t=!0;return n.forEach((function(n){if("undefined"==typeof e)return!1;e.hasOwnProperty(n)||(t=!1),e=e[n]})),t}},
238"banner.js":function n(){var t=new c(!0),r=new c(!1),i=new c(0),u=new c(null),s;e.startup((function(){o.autorun((function(){var n=e.status().connected;n?(r.set(!0),e.clearInterval(s),s=void 0,i.set(0),u.set(null)):r.get()&&!s&&(s=e.setInterval((function(){var n=Math.round((e.status().retryTime-(new Date).getTime())/1e3);isNaN(n)&&(n=0),i.set(n),u.set(e.status().reason)}),500)),t.set(n)}))})),a.connectionBanner.events({"click #connection-try-reconnect":function(n){n.preventDefault(),e.reconnect()}});var l=function(n,t){return T(e,["settings","public","connectionBanner",n])?e.settings.public.connectionBanner[n]:t};a.connectionBanner.helpers({showBanner:function(){return r.get()&&!t.get()&&e.status().retryCount>2},retryTimeSeconds:function(){return i.get()},failedReason:function(){return u.get()},connectionLostText:function(){return l("connectionLostText","Connection to Server Lost!")},tryReconnectText:function(){return l("tryReconnectText","Click to try reconnecting now")},reconnectBeforeCountdownText:function(){return l("reconnectBeforeCountdownText","Automatically attempting to reconnect in")},reconnectAfterCountdownText:function(){return l("reconnectAfterCountdownText","seconds.")}})}}}}}},{extensions:[".js",".json",".css",".html"]});b("/node_modules/meteor/natestrauser:connection-banner/client/template.banner.js"),b("/node_modules/meteor/natestrauser:connection-banner/client/util.js"),b("/node_modules/meteor/natestrauser:connection-banner/client/banner.js"),Package._define("natestrauser:connection-banner")}();
239
240!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,o=Package.meteor.meteorEnv,t;(function(){}).call(this),Package._define("lampe:rssfeed",{RssFeed:t})}();
241
242!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,n=Package["templating-runtime"].Template,c=Package.mongo.Mongo,i=Package.blaze.Blaze,r=Package.blaze.UI,a=Package.blaze.Handlebars,l=Package.spacebars.Spacebars,u=Package.htmljs.HTML;(function(){n.__checkName("quickRemoveButton"),n.quickRemoveButton=new n("Template.quickRemoveButton",(function(){var e=this;return u.BUTTON(u.Attrs((function(){return l.attrMustache(e.lookup("atts"))})),i.If((function(){return l.call(e.templateContentBlock)}),(function(){return i._InOuterTemplateScope(e,(function(){return l.include((function(){return l.call(e.templateContentBlock)}))}))}),(function(){return"Delete"})))}))}).call(this),function(){function t(e){var t=window,o;if("string"==typeof e){for(o=e.split(".");o.length&&(t=t[o.shift()]););if(!t)throw new Error(e+" is not in the window scope");return t}return e}n.quickRemoveButton.helpers({atts:function(){var e=this,t={};for(var o in e)e.hasOwnProperty(o)&&"_id"!==o&&"collection"!==o&&"onError"!==o&&"onSuccess"!==o&&"beforeRemove"!==o&&(t[o]=e[o]);return t.type||(t.type="button"),t}}),n.quickRemoveButton.events({"click button":function(o,n){var i=this,r=t(i.collection);if("undefined"!=typeof e&&e.Collection){if(!(r instanceof e.Collection))throw new Error("quickRemoveButton: collection attribute must be set to a Meteor.Collection instance or a string reference to a Meteor.Collection instance that is in the window scope.")}else if("undefined"!=typeof c&&c.Collection&&!(r instanceof c.Collection))throw new Error("quickRemoveButton: collection attribute must be set to a Mongo.Collection instance or a string reference to a Mongo.Collection instance that is in the window scope.");var a=i.onError||function(e){alert("Delete failed"),console.log(e)},l=i.onSuccess||function(){},u;(i.beforeRemove||function(){this.remove()}).call({remove:function(){r.remove(i._id,(function(e,t){e?a(e):l(t)}))}},r,i._id)}})}.call(this),Package._define("aldeed:delete-button")}();
243
244!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,n=Package["accounts-base"].Accounts,s=Package.check.check,r=Package.check.Match,a=Package.underscore._,o=Package["reactive-var"].ReactiveVar,l=Package.blaze.Blaze,u=Package.blaze.UI,c=Package.blaze.Handlebars,d=Package["reactive-dict"].ReactiveDict,p=Package["templating-runtime"].Template,g=Package.jquery.$,f=Package.jquery.jQuery,h=Package.modules.meteorInstall,m=Package.modules.meteorBabelHelpers,v=Package.promise.Promise,w=Package.htmljs.HTML,_=Package["ecmascript-runtime-client"].Symbol,k=Package["ecmascript-runtime-client"].Map,y=Package["ecmascript-runtime-client"].Set,b=Package.spacebars.Spacebars,S,O,P,x,I,E,L,C,V,U,A,R,T,F,j,D,B,q,H,N,M=h({node_modules:{meteor:{"useraccounts:core":{lib:{
244"utils.js":function t(){S=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},O=function(){var t=e.user();if(t)return t.username?t.username:t.profile&&t.profile.name?t.profile.name:t.emails&&t.emails[0]?t.emails[0].address:"Signed In"}},
244"field.js":function t(){P=function(e){s(e,R),a.defaults(this,e),this.validating=new o(!1),this.status=new o(null)},e.isClient&&(P.prototype.clearStatus=function(){return this.status.set(null)}),e.isServer&&(P.prototype.clearStatus=function(){}),P.prototype.fixValue=function(e){return"checkbox"===this.type?!!e:("select"===this.type||"radio"===this.type||(this.trim&&(e=e.trim()),this.lowercase&&(e=e.toLowerCase()),this.uppercase&&(e=e.toUpperCase()),this.transform&&(e=this.transform(e))),e)},e.isClient&&(P.prototype.getDisplayName=function(e){var t=this.displayName;return a.isFunction(t)?t=t():a.isObject(t)&&(t=t[e]||t.default),t||(t=S(this._id)),t}),e.isClient&&(P.prototype.getPlaceholder=function(e){var t=this.placeholder;return a.isObject(t)&&(t=t[e]||t.default),t||(t=S(this._id)),t}),P.prototype.getStatus=function(){return this.status.get()},e.isClient&&(P.prototype.getValue=function(e){return"checkbox"===this.type?!!e.$("#at-field-"+this._id+":checked").val():"radio"===this.type?e.$("[name=at-field-"+this._id+"]:checked").val():e.$("#at-field-"+this._id).val()}),e.isClient&&(P.prototype.hasError=function(){return this.negativeValidation&&this.status.get()}),e.isClient&&(P.prototype.hasIcon=function(){return!(!this.showValidating||!this.isValidating())||(!(!this.negativeFeedback||!this.hasError())||(!(!this.positiveFeedback||!this.hasSuccess())||void 0))}),e.isClient&&(P.prototype.hasSuccess=function(){return this.positiveValidation&&!1===this.status.get()}),e.isClient&&(P.prototype.iconClass=function(){return this.isValidating()?F.texts.inputIcons.isValidating:this.hasError()?F.texts.inputIcons.hasError:this.hasSuccess()?F.texts.inputIcons.hasSuccess:void 0}),e.isClient&&(P.prototype.isValidating=function(){return this.validating.get()}),e.isClient&&(P.prototype.setError=function(e){return s(e,r.OneOf(String,void 0,Boolean)),!1===e?this.status.set(!1):this.status.set(e||!0)}),e.isServer&&(P.prototype.setError=function(e){}),e.isClient&&(P.prototype.setSuccess=function(){return this.status.set(!1)}),e.isServer&&(P.prototype.setSuccess=function(){}),e.isClient&&(P.prototype.setValidating=function(e){return s(e,Boolean),this.validating.set(e)}),e.isServer&&(P.prototype.setValidating=function(e){}),e.isClient&&(P.prototype.setValue=function(e,t){"checkbox"!==this.type?"radio"!==this.type?e.$("#at-field-"+this._id).val(t):e.$("[name=at-field-"+this._id+"]").prop("checked",!0):e.$("#at-field-"+this._id).prop("checked",!0)}),P.prototype.validate=function(e,t){if(s(e,r.OneOf(void 0,String,Boolean)),this.setValidating(!0),this.clearStatus(),a.isUndefined(e)||""===e)return t?this.required?(this.setError(F.texts.requiredField),this.setValidating(!1),F.texts.requiredField):(this.setSuccess(),this.setValidating(!1),!1):(this.clearStatus(),this.setValidating(!1),null);var i=e.length,n=this.minLength;if(n&&i<n)return this.setError(F.texts.minRequiredLength+": "+n),this.setValidating(!1),F.texts.minRequiredLength+": "+n;var o=this.maxLength;if(o&&i>o)return this.setError(F.texts.maxAllowedLength+": "+o),this.setValidating(!1),F.texts.maxAllowedLength+": "+o;if(this.re&&i&&!e.match(this.re))return this.setError(this.errStr),this.setValidating(!1),this.errStr;if(this.func){var l=this.func(e),u=!0===l?this.errStr||!0:l;return a.isUndefined(l)||(this.status.set(u),this.setValidating(!1)),u}return this.setSuccess(),this.setValidating(!1),!1}},
244"core.js":function t(){x={changePwd:r.Optional(String),enrollAccount:r.Optional(String),forgotPwd:r.Optional(String),resetPwd:r.Optional(String),signIn:r.Optional(String),signUp:r.Optional(String),verifyEmail:r.Optional(String),resendVerificationEmail:r.Optional(String)},I={accountsCreationDisabled:r.Optional(String),cannotRemoveService:r.Optional(String),captchaVerification:r.Optional(String),loginForbidden:r.Optional(String),mustBeLoggedIn:r.Optional(String),pwdMismatch:r.Optional(String),validationErrors:r.Optional(String),verifyEmailFirst:r.Optional(String)},E={emailSent:r.Optional(String),emailVerified:r.Optional(String),pwdChanged:r.Optional(String),pwdReset:r.Optional(String),pwdSet:r.Optional(String),signUpVerifyEmail:r.Optional(String),verificationEmailSent:r.Optional(String)},L={hasError:r.Optional(String),hasSuccess:r.Optional(String),isValidating:r.Optional(String)},C=r.Where((function(e){return s(e,Object),a.each(a.values(e),(function(e){s(e,String)})),!0})),V={button:r.Optional(x),errors:r.Optional(I),info:r.Optional(E),inputIcons:r.Optional(L),maxAllowedLength:r.Optional(String),minRequiredLength:r.Optional(String),navSignIn:r.Optional(String),navSignOut:r.Optional(String),optionalField:r.Optional(String),pwdLink_link:r.Optional(String),pwdLink_pre:r.Optional(String),pwdLink_suff:r.Optional(String),requiredField:r.Optional(String),resendVerificationEmailLink_pre:r.Optional(String),resendVerificationEmailLink_link:r.Optional(String),resendVerificationEmailLink_suff:r.Optional(String),sep:r.Optional(String),signInLink_link:r.Optional(String),signInLink_pre:r.Optional(String),signInLink_suff:r.Optional(String),signUpLink_link:r.Optional(String),signUpLink_pre:r.Optional(String),signUpLink_suff:r.Optional(String),socialAdd:r.Optional(String),socialConfigure:r.Optional(String),socialIcons:r.Optional(C),socialRemove:r.Optional(String),socialSignIn:r.Optional(String),socialSignUp:r.Optional(String),socialWith:r.Optional(String),termsAnd:r.Optional(String),termsPreamble:r.Optional(String),termsPrivacy:r.Optional(String),termsTerms:r.Optional(String),title:r.Optional(x)},U={confirmPassword:r.Optional(Boolean),defaultState:r.Optional(String),enablePasswordChange:r.Optional(Boolean),enforceEmailVerification:r.Optional(Boolean),focusFirstInput:r.Optional(Boolean),forbidClientAccountCreation:r.Optional(Boolean),lowercaseUsername:r.Optional(Boolean),overrideLoginErrors:r.Optional(Boolean),sendVerificationEmail:r.Optional(Boolean),socialLoginStyle:r.Optional(r.OneOf("popup","redirect")),defaultLayout:r.Optional(String),hideSignInLink:r.Optional(Boolean),hideSignUpLink:r.Optional(Boolean),showAddRemoveServices:r.Optional(Boolean),showForgotPasswordLink:r.Optional(Boolean),showResendVerificationEmailLink:r.Optional(Boolean),showLabels:r.Optional(Boolean),showPlaceholders:r.Optional(Boolean),continuousValidation:r.Optional(Boolean),negativeFeedback:r.Optional(Boolean),negativeValidation:r.Optional(Boolean),positiveFeedback:r.Optional(Boolean),positiveValidation:r.Optional(Boolean),showValidating:r.Optional(Boolean),privacyUrl:r.Optional(String),termsUrl:r.Optional(String),homeRoutePath:r.Optional(String),redirectTimeout:r.Optional(Number),onLogoutHook:r.Optional(Function),onSubmitHook:r.Optional(Function),preSignUpHook:r.Optional(Function),postSignUpHook:r.Optional(Function),texts:r.Optional(V),reCaptcha:r.Optional({data_type:r.Optional(r.OneOf("audio","image")),secretKey:r.Optional(String),siteKey:r.Optional(String),theme:r.Optional(r.OneOf("dark","light"))}),showReCaptcha:r.Optional(Boolean)},A={default:r.Optional(String),changePwd:r.Optional(String),enrollAccount:r.Optional(String),forgotPwd:r.Optional(String),resetPwd:r.Optional(String),signIn:r.Optional(String),signUp:r.Optional(String)},R={_id:String,type:String,required:r.Optional(Boolean),displayName:r.Optional(r.OneOf(String,r.Where(a.isFunction),A)),placeholder:r.Optional(r.OneOf(String,A)),select:r.Optional([{text:String,value:r.Any}]),minLength:r.Optional(r.Integer),maxLength:r.Optional(r.Integer),re:r.Optional(RegExp),func:r.Optional(r.Where(a.isFunction)),errStr:r.Optional(String),continuousValidation:r.Optional(Boolean),negativeFeedback:r.Optional(Boolean),negativeValidation:r.Optional(Boolean),positiveValidation:r.Optional(Boolean),positiveFeedback:r.Optional(Boolean),trim:r.Optional(Boolean),lowercase:r.Optional(Boolean),uppercase:r.Optional(Boolean),transform:r.Optional(r.Where(a.isFunction)),options:r.Optional(Object),template:r.Optional(String)},(T=function(){}).prototype.CONFIG_PAT=U,T.prototype.INPUT_TYPES=["checkbox","email","hidden","password","radio","select","tel","text","url"],T.prototype.options={showAddRemoveServices:!1,show
244ForgotPasswordLink:!1,showResendVerificationEmailLink:!1,showLabels:!0,showPlaceholders:!0,confirmPassword:!0,defaultState:"signIn",enablePasswordChange:!1,focusFirstInput:!e.isCordova,forbidClientAccountCreation:!1,lowercaseUsername:!1,overrideLoginErrors:!0,sendVerificationEmail:!1,socialLoginStyle:"popup",privacyUrl:void 0,termsUrl:void 0,onSubmitHook:void 0},T.prototype.texts={button:{changePwd:"updateYourPassword",enrollAccount:"signUp",forgotPwd:"emailResetLink",resetPwd:"setPassword",signIn:"signIn",signUp:"signUp",resendVerificationEmail:"Send email again"},errors:{accountsCreationDisabled:"Client side accounts creation is disabled!!!",cannotRemoveService:"Cannot remove the only active service!",captchaVerification:"Captcha verification failed!",loginForbidden:"error.accounts.Login forbidden",mustBeLoggedIn:"error.accounts.Must be logged in",pwdMismatch:"error.pwdsDontMatch",validationErrors:"Validation Errors",verifyEmailFirst:"Please verify your email first. Check the email and follow the link!"},navSignIn:"signIn",navSignOut:"signOut",info:{emailSent:"info.emailSent",emailVerified:"info.emailVerified",pwdChanged:"info.passwordChanged",pwdReset:"info.passwordReset",pwdSet:"Password Set",signUpVerifyEmail:"Successful Registration! Please check your email and follow the instructions.",verificationEmailSent:"A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder."},inputIcons:{isValidating:"fa fa-spinner fa-spin",hasSuccess:"fa fa-check",hasError:"fa fa-times"},maxAllowedLength:"Maximum allowed length",minRequiredLength:"Minimum required length",optionalField:"optional",pwdLink_pre:"",pwdLink_link:"forgotPassword",pwdLink_suff:"",requiredField:"Required Field",resendVerificationEmailLink_pre:"Verification email lost?",resendVerificationEmailLink_link:"Send again",resendVerificationEmailLink_suff:"",sep:"OR",signInLink_pre:"ifYouAlreadyHaveAnAccount",signInLink_link:"signin",signInLink_suff:"",signUpLink_pre:"dontHaveAnAccount",signUpLink_link:"signUp",signUpLink_suff:"",socialAdd:"add",socialConfigure:"configure",socialIcons:{"meteor-developer":"fa fa-rocket"},socialRemove:"remove",socialSignIn:"signIn",socialSignUp:"signUp",socialWith:"with",termsPreamble:"clickAgree",termsPrivacy:"privacyPolicy",termsAnd:"and",termsTerms:"terms",title:{changePwd:"changePassword",enrollAccount:"createAccount",forgotPwd:"resetYourPassword",resetPwd:"resetYourPassword",signIn:"signIn",signUp:"createAccount",verifyEmail:"",resendVerificationEmail:"Send the verification email again"}},T.prototype.SPECIAL_FIELDS=["password_again","username_and_email"],T.prototype._fields=[new P({_id:"email",type:"email",required:!0,lowercase:!0,trim:!0,func:function(e){return!a.contains(e,"@")},errStr:"Invalid email"}),new P({_id:"password",type:"password",required:!0,minLength:6,displayName:{default:"password",changePwd:"newPassword",resetPwd:"newPassword"},placeholder:{default:"password",changePwd:"newPassword",resetPwd:"newPassword"}})],T.prototype._initialized=!1,T.prototype._isValidInputType=function(e){return-1!==a.indexOf(this.INPUT_TYPES,e)},T.prototype.addField=function(t){if(this._initialized)throw new Error("AccountsTemplates.addField should strictly be called before AccountsTemplates.init!");if(t=a.pick(t,a.keys(R)),s(t,R),-1!==a.indexOf(a.pluck(this._fields,"_id"),t._id))throw new Error("A field called "+t._id+" already exists!");if(!this._isValidInputType(t.type))throw new Error("field.type is not valid!");if("undefined"!=typeof t.minLength&&t.minLength<=0)throw new Error("field.minLength should be greater than zero!");if("undefined"!=typeof t.maxLength&&t.maxLength<=0)throw new Error("field.maxLength should be greater than zero!");if("undefined"!=typeof t.minLength&&"undefined"!=typeof t.minLength&&t.maxLength<t.minLength)throw new Error("field.maxLength should be greater than field.maxLength!");return e.isServer&&a.contains(this.SPECIAL_FIELDS,t._id)||this._fields.push(new P(t)),this._fields},T.prototype.addFields=function(e){var t;try{t=e.length>0&&"0"in Object(e)}catch(i){throw new Error("field argument should be an array of valid field objects!")}if(!t)throw new Error("field argument should be an array of valid field objects!");return a.map(e,(function(e){this.addField(e)}),this),this._fields},T.prototype.configure=function(e){if(this._initialized)throw new Error("Configuration options must be set before AccountsTemplates.init!");s(e,U);
244var t=a.omit(e,"texts","reCaptcha");this.options=a.defaults(t,this.options);var i=e.reCaptcha;if(i&&(this.options.reCaptcha=a.defaults(i,this.options.reCaptcha||{})),e.texts){var n=e.texts,r=a.omit(n,"button","errors","info","inputIcons","socialIcons","title");this.texts=a.defaults(r,this.texts),n.button&&(this.texts.button=a.defaults(n.button,this.texts.button)),n.errors&&(this.texts.errors=a.defaults(n.errors,this.texts.errors)),n.info&&(this.texts.info=a.defaults(n.info,this.texts.info)),n.inputIcons&&(this.texts.inputIcons=a.defaults(n.inputIcons,this.texts.inputIcons)),n.socialIcons&&(this.texts.socialIcons=a.defaults(n.socialIcons,this.texts.socialIcons)),n.title&&(this.texts.title=a.defaults(n.title,this.texts.title))}},T.prototype.configureRoute=function(e,t){console.warn("You now need a routing package like useraccounts:iron-routing or useraccounts:flow-routing to be able to configure routes!")},T.prototype.hasField=function(e){return!!this.getField(e)},T.prototype.getField=function(e){var t=a.filter(this._fields,(function(t){return t._id===e}));return 1===t.length?t[0]:void 0},T.prototype.getFields=function(){return this._fields},T.prototype.getFieldIds=function(){return a.pluck(this._fields,"_id")},T.prototype.getRoutePath=function(e){return"#"},T.prototype.oauthServices=function(){var t;t=e.isServer?n.oauth&&n.oauth.serviceNames()||[]:n.oauth&&n.loginServicesConfigured()&&n.oauth.serviceNames()||[];var i=[];n.loginServiceConfiguration&&(i=a.pluck(n.loginServiceConfiguration.find().fetch(),"service"));var s=a.map(t,(function(e){return{_id:e,configured:a.contains(i,e)}})),r;return"undefined"!=typeof n._loginButtonsSession||(s=a.filter(s,(function(e){return e.configured}))),s=a.sortBy(s,(function(e){return e._id}))},T.prototype.removeField=function(t){if(this._initialized)throw new Error("AccountsTemplates.removeField should strictly be called before AccountsTemplates.init!");var i=a.indexOf(a.pluck(this._fields,"_id"),t);if(-1!==i)return this._fields.splice(i,1)[0];if(!e.isServer||!a.contains(this.SPECIAL_FIELDS,t))throw new Error("A field called "+t+" does not exist!")}},
244"client.js":function t(){"use strict";T.prototype.STATES=["changePwd","enrollAccount","forgotPwd","hide","resetPwd","signIn","signUp","verifyEmail","resendVerificationEmail"],T.prototype._loginType="",T.prototype._disabled=!1,T.prototype._isValidState=function(e){return a.contains(this.STATES,e)},T.prototype.avoidRedirect=!1,T.prototype.avoidClearError=!1,T.prototype.paramToken=null,T.prototype.loginType=function(){return this._loginType},T.prototype.getparamToken=function(){return this.paramToken},T.prototype.getState=function(){return this.state.form.get("state")},T.prototype.disabled=function(){return this.state.form.equals("disabled",!0)?"disabled":void 0},T.prototype.setDisabled=function(e){return s(e,Boolean),this.state.form.set("disabled",e)},T.prototype.setState=function(t,i){if(s(t,String),!this._isValidState(t)||this.options.forbidClientAccountCreation&&"signUp"===t)throw new e.Error(500,"Internal server error","accounts-templates-core package got an invalid state value!");this.state.form.set("state",t),this.avoidClearError||this.clearState(),this.avoidClearError=!1,a.isFunction(i)&&i()},T.prototype.clearState=function(){a.each(this._fields,(function(e){e.clearStatus()}));var e=this.state.form;e.set("error",null),e.set("result",null),e.set("message",null),F.setDisabled(!1)},T.prototype.clearError=function(){this.state.form.set("error",null)},T.prototype.clearResult=function(){this.state.form.set("result",null)},T.prototype.clearMessage=function(){this.state.form.set("message",null)},T.prototype.init=function(){console.warn("[AccountsTemplates] There is no more need to call AccountsTemplates.init()! Simply remove the call ;-)")},T.prototype._init=function(){if(!this._initialized){var t=this.hasField("username"),i=this.hasField("email");if(this._loginType=t&&i?"username_and_email":t?"username":"email","username_and_email"===this._loginType&&(this.hasField("username_and_email")||this.addField({_id:"username_and_email",type:"text",displayName:"usernameOrEmail",placeholder:"usernameOrEmail",required:!0})),this.options.confirmPassword){if(!this.hasField("password_again")){var n=a.clone(this.getField("password"));n._id="password_again",n.displayName={default:"passwordAgain",changePwd:"newPasswordAgain",resetPwd:"newPasswordAgain"},n.placeholder={default:"passwordAgain",changePwd:"newPasswordAgain",resetPwd:"newPasswordAgain"},this.addField(n)}}else if(this.hasField("password_again"))throw new Error("AccountsTemplates: a field password_again was added but confirmPassword is set to false!");this.options.enablePasswordChange&&(this.hasField("current_password")||this.addField({_id:"current_password",type:"password",displayName:"currentPassword",placeholder:"currentPassword",required:!0}));var s=function(e,t){var i=F.getFieldIds(),n=a.indexOf(i,t);if(-1!==n){var s=a.indexOf(i,e);if(-1!==s&&-1!==s&&s!==n+1){var r=F._fields.splice(s,1)[0],o=F.getFieldIds(),l=a.indexOf(o,t);F._fields.splice(l+1,0,r)}}},r=function(e,t){var i=F.getFieldIds(),n=a.indexOf(i,t);if(-1!==n){var s=a.indexOf(i,e);if(-1!==s&&-1!==s&&s!==n-1){var r=F._fields.splice(s,1)[0],o=F.getFieldIds(),l=a.indexOf(o,t);F._fields.splice(l,0,r)}}};s("username_and_email","username"),s("username_and_email","email"),r("current_password","password"),s("password","current_password"),s("password_again","password");var o=!!F.options.positiveValidation,l=!!F.options.negativeValidation,u=!!F.options.showValidating,c=!!F.options.continuousValidation,g=!!F.options.negativeFeedback,f=!!F.options.positiveFeedback;a.each(this._fields,(function(e){switch(e._id){case"current_password":e.visible=["changePwd"];break;case"email":e.visible=["forgotPwd","signUp","resendVerificationEmail"],"email"===F.loginType()&&e.visible.push("signIn");break;case"password":e.visible=["changePwd","enrollAccount","resetPwd","signIn","signUp"];break;case"password_again":e.visible=["changePwd","enrollAccount","resetPwd","signUp"];break;case"username":e.visible=["signUp"],"username"===F.loginType()&&e.visible.push("signIn");break;case"username_and_email":e.visible=[],"username_and_email"===F.loginType()&&e.visible.push("sign
244In");break;default:e.visible=["signUp"]}var t=e.positiveValidation;a.isUndefined(t)&&(e.positiveValidation=o);var i=e.negativeValidation;a.isUndefined(i)&&(e.negativeValidation=l),e.validation=e.positiveValidation||e.negativeValidation,a.isUndefined(e.continuousValidation)&&(e.continuousValidation=c),e.continuousValidation=e.validation&&e.continuousValidation,a.isUndefined(e.negativeFeedback)&&(e.negativeFeedback=g),a.isUndefined(e.positiveFeedback)&&(e.positiveFeedback=f),e.feedback=e.negativeFeedback||e.positiveFeedback;var n=e.showValidating;a.isUndefined(n)&&(e.showValidating=u),e.template&&(e.template in p?p[e.template].helpers(F.atInputHelpers):console.warn("[UserAccounts] Warning no template "+e.template+" found!"))}));var h=new d;if(h.set("disabled",!1),h.set("state","signIn"),h.set("result",null),h.set("error",null),h.set("message",null),this.state={form:h},this.options.showAddRemoveServices&&e.subscribe("userRegisteredServices"),this.options.showReCaptcha){var m=null,v=null,w=null,_=null;if(F.options.reCaptcha&&(m=F.options.reCaptcha.siteKey,v=F.options.reCaptcha.secretKey),e.settings&&e.settings.public&&e.settings.public.reCaptcha&&(w=e.settings.public.reCaptcha.siteKey,_=e.settings.public.reCaptcha.secretKey),v||_){v&&(F.options.reCaptcha.secretKey=null),_&&(e.settings.public.reCaptcha.secretKey=null);var k=v?"User Accounts configuration!":"Meteor settings!";throw new e.Error(401,"User Accounts: DANGER - reCaptcha private key leaked to client from "+k+" Provide the key in server settings ONLY.")}if(!m&&!w)throw new e.Error(401,"User Accounts: reCaptcha site key not found! Please provide it or set showReCaptcha to false.")}this._initialized=!0}},T.prototype.linkClick=function(e){if(!F.disabled()&&(F.setState(e),F.options.focusFirstInput)){var t=a.find(this.getFields(),(function(t){return a.contains(t.visible,e)}));t&&g("input#at-field-"+t._id).focus()}},T.prototype.logout=function(){var t=F.options.onLogoutHook;e.logout((function(){t&&t()}))},T.prototype.submitCallback=function(e,t,i){var n=F.options.onSubmitHook;if(n&&n(e,t),e){if(a.isObject(e.details))a.each(e.details,(function(e,t){F.getField(t).setError(e)}));else{var s="error.accounts.Unknown error";e.reason&&(s=e.reason),"error.accounts."!==s.substring(0,15)&&(s="error.accounts."+s),F.state.form.set("error",[s])}F.setDisabled(!1),"signUp"===t&&F.options.showReCaptcha&&grecaptcha.reset()}else i&&i(),t&&F.setDisabled(!1)},F=new T,e.startup((function(){F._init()}))},templates_helpers:{
244"at_error.js":function e(){T.prototype.atErrorHelpers={singleError:function(){var e=F.state.form.get("error");return e&&1===e.length},error:function(){return F.state.form.get("error")},errorText:function(){var e,t;return this.field?(e=B.get(this.field,j=!1),t=B.get(this.err,j=!1)):t=B.get(this.valueOf(),j=!1),"error.accounts."===t.substring(0,15)&&(t=t.substring(15)),e?e+": "+t:t}}},
244"at_form.js":function t(){T.prototype.atFormHelpers={hide:function(){var e;return"hide"===(this.state||F.getState())},showTitle:function(t){var i=t||this.state||F.getState();return(!e.userId()||"signIn"!==i)&&!!F.texts.title[i]},showOauthServices:function(t){var i=t||this.state||F.getState(),n;return("signIn"===i||"signUp"===i)&&(!!F.oauthServices().length&&(!e.userId()||F.options.showAddRemoveServices))},showServicesSeparator:function(t){var i=void 0!==Package["accounts-password"],n=t||this.state||F.getState(),s;return("signIn"===n||"signUp"===n)&&!e.userId()&&i&&F.oauthServices().length},showError:function(e){return!!F.state.form.get("error")},showResult:function(e){return!!F.state.form.get("result")},showMessage:function(e){return!!F.state.form.get("message")},showPwdForm:function(t){if(void 0===Package["accounts-password"])return!1;var i=t||this.state||F.getState();return!("verifyEmail"===i||"signIn"===i&&e.userId())},showSignInLink:function(e){if(F.options.hideSignInLink)return!1;var t=e||this.state||F.getState();return!(!F.options.forbidClientAccountCreation||"forgotPwd"!==t)||"signUp"===t},showSignUpLink:function(t){if(F.options.hideSignUpLink)return!1;var i=t||this.state||F.getState();return("signIn"===i&&!e.userId()||"forgotPwd"===i)&&!F.options.forbidClientAccountCreation},showTermsLink:function(e){if(F.options.privacyUrl||F.options.termsUrl){var t=e||this.state||F.getState();if("signUp"===t||"enrollAccount"===t)return!0}return!1},showResendVerificationEmailLink:function(){var e=p.currentData(),t=e&&e.state||F.getState();return("signIn"===t||"forgotPwd"===t)&&F.options.showResendVerificationEmailLink}}},
244"at_input.js":function e(){T.prototype.atInputRendered=[function(){var e=this.data._id,t=p.currentData(),i=t&&t.state||F.getState();if(F.options.focusFirstInput){var n=a.find(F.getFields(),(function(e){return a.contains(e.visible,i)}));n&&n._id===e&&this.$("input#at-field-"+e).focus()}}],T.prototype.atInputHelpers={disabled:function(){return F.disabled()},showLabels:function(){return F.options.showLabels},displayName:function(){var e=p.parentData(),t=e&&e.state||F.getState(),i=this.getDisplayName(t);return B.get(i,j=!1)},optionalText:function(){return"("+B.get(F.texts.optionalField,j=!1)+")"},templateName:function(){return this.template?this.template:"checkbox"===this.type?"atCheckboxInput":"select"===this.type?"atSelectInput":"radio"===this.type?"atRadioInput":"hidden"===this.type?"atHiddenInput":"atTextInput"},values:function(){var e=this._id;return a.map(this.select,(function(t){var i=a.clone(t);return i._id=e+"-"+t.value,i.id=e,i}))},errorText:function(){var e=this.getStatus();return B.get(e,j=!1)},placeholder:function(){if(F.options.showPlaceholders){var e=p.parentData(),t=e&&e.state||F.getState(),i=this.getPlaceholder(t);return B.get(i,j=!1)}}},T.prototype.atInputEvents={"focusin input":function(e,t){var i;p.currentData().clearStatus()},"focusout input, change select":function(e,t){var i=p.currentData(),n=i._id,s=i.getValue(t),r=i.fixValue(s);if(r!==s&&i.setValue(t,r),i.validation){var a=p.parentData(),o;if("signIn"!==(a&&a.state||F.getState()))return r&&"password_again"===n&&r!==g("#at-field-password").val()?i.setError(F.texts.errors.pwdMismatch):void i.validate(r)}},"keyup input":function(e,t){var i=p.currentData();if(i.continuousValidation){var n=p.parentData(),s;if("signIn"!==(n&&n.state||F.getState())){var r=i._id,a=i.getValue(t),o=i.fixValue(a);if(o!==a&&i.setValue(t,o),o&&"password_again"===r&&o!==g("#at-field-password").val())return i.setError(F.texts.errors.pwdMismatch);i.validate(o)}}}}},
244"at_nav_button.js":function t(){T.prototype.atNavButtonHelpers={text:function(){var t=e.userId()?F.texts.navSignOut:F.texts.navSignIn;return B.get(t,j=!1)}},T.prototype.atNavButtonEvents={"click #at-nav-button":function(t){t.preventDefault(),e.userId()?F.logout():F.linkClick("signIn")}}},
244"at_oauth.js":function e(){T.prototype.atOauthHelpers={oauthService:function(){return F.oauthServices()}}},
244"at_pwd_form.js":function t(){T.prototype.atPwdFormHelpers={disabled:function(){return F.disabled()},fields:function(){var e=p.currentData(),t=e&&e.state||F.getState();return a.filter(F.getFields(),(function(e){return a.contains(e.visible,t)}))},showForgotPasswordLink:function(){var e=p.currentData(),t;return"signIn"===(e&&e.state||F.getState())&&F.options.showForgotPasswordLink},showReCaptcha:function(){var e=p.currentData(),t;return"signUp"===(e&&e.state||F.getState())&&F.options.showReCaptcha}};var i=function(e){return e.toLowerCase().replace(/\s+/gm,"")};T.prototype.atPwdFormEvents={"submit #at-pwd-form":function(t,s){t.preventDefault(),s.$("#at-btn").blur(),F.setDisabled(!0);var r=p.currentData(),o=r&&r.state||F.getState(),l="signIn"!==o,u={},c=!1,d=[];if(a.each(F.getFields(),(function(e){if(a.contains(e.visible,o)){var t=e._id,i=e.getValue(s),n=e.fixValue(i);if(n!==i&&e.setValue(s,n),void 0!==n&&""!==n&&(u[t]=n),l&&!1!==e.getStatus()){var r=e.validate(n,"strict");if(r){if(e.negativeValidation)e.setError(r);else{var p=B.get(e.getDisplayName(),j=!1);d.push({field:e.getDisplayName(),err:r})}c=!0}else e.setSuccess()}}})),F.clearError(),F.clearResult(),F.clearMessage(),c)return d.length&&F.state.form.set("error",d),F.setDisabled(!1),void("signUp"===o&&F.options.showReCaptcha&&grecaptcha.reset());var g=u.current_password,f=u.email,h=u.password,m=u.password_again,v=u.username,w=u.username_and_email;if(delete u.current_password,delete u.email,delete u.password,delete u.password_again,delete u.username,delete u.username_and_email,F.options.confirmPassword&&m&&h!==m){var _=F.getField("password_again");return _.negativeValidation?_.setError(F.texts.errors.pwdMismatch):F.state.form.set("error",[{field:_.getDisplayName(),err:F.texts.errors.pwdMismatch}]),F.setDisabled(!1),void("signUp"===o&&F.options.showReCaptcha&&grecaptcha.reset())}if("signIn"===o){var k=!!h,y=!0,b;return f?(F.options.lowercaseUsername&&(f=i(f)),b={email:f}):v?(F.options.lowercaseUsername&&(v=i(v)),b={username:v}):w?(F.options.lowercaseUsername&&(w=i(w)),b=w):y=!1,k&&y?e.loginWithPassword(b,h,(function(e){F.submitCallback(e,o)})):(F.state.form.set("error",[F.texts.errors.loginForbidden]),void F.setDisabled(!1))}if("signUp"===o){if(F.options.showReCaptcha){var S=grecaptcha.getResponse();if(""===S)return void F.setDisabled(!1);u.reCaptchaResponse=S}var O=n._hashPassword(h),P={username:v,email:f,password:O,profile:u},x=F.options.preSignUpHook;return x&&x(h,P),e.call("ATCreateUserServer",P,(function(t){t&&"Email already exists."===t.reason&&F.options.showReCaptcha&&grecaptcha.reset(),F.submitCallback(t,void 0,(function(){var n;F.options.sendVerificationEmail&&F.options.enforceEmailVerification?F.submitCallback(t,o,(function(){F.state.form.set("result",F.texts.info.signUpVerifyEmail),a.each(F.getFields(),(function(e){if(a.contains(e.visible,o)){var t=s.$("#at-field-"+e._id);"checkbox"===e.type?t.prop("checked",!1):t.val("")}})),F.setDisabled(!1),F.avoidRedirect=!0})):(f?(F.options.lowercaseUsername&&(f=i(f)),n={email:f}):v?(F.options.lowercaseUsername&&(v=i(v)),n={username:v}):(F.options.lowercaseUsername&&(w=i(w)),n=w),e.loginWithPassword(n,h,(function(e){F.submitCallback(e,o,(function(){F.setState("signIn")}))})))}))}))}if("forgotPwd"===o)return n.forgotPassword({email:f},(function(e){F.submitCallback(e,o,(function(){F.state.form.set("result",F.texts.info.emailSent),s.$("#at-field-email").val("")}))}));if("resetPwd"===o||"enrollAccount"===o){var I=F.getparamToken();return n.resetPassword(I,h,(function(e){F.submitCallback(e,o,(function(){var e;"resetPwd"===o?F.state.form.set("result",F.texts.info.pwdReset):F.state.form.set("result",F.texts.info.pwdSet),s.$("#at-field-password").val(""),F.options.confirmPassword&&s.$("#at-field-password_again").val("")}))}))}return"changePwd"===o?n.changePassword(g,h,(function(e){F.submitCallback(e,o,(function(){F.state.form.set("result",F.texts.info.pwdChanged),s.$("#at-field-current_password").val(""),s.$("#at-field-password").val(""),F.options.confirmPassword&&s.$("#at-field-password_again").val("")}))})):"resendVerificationEmail"===o?e.call("ATResendVerificationEmail",f,(function(e){F.submitCallback(e,o,(function(){F.state.form.set("result",F.texts.info.verificationEmailSent),s.$("#at-field-email").val(""),F.avoidRedirect=!0}))})):void 0}}},
244"at_pwd_form_btn.js":function e(){T.prototype.atPwdFormBtnHelpers={submitDisabled:function(){var e;if(a.chain(F.getFields()).map((function(e){return e.hasError()||e.isValidating()})).some().value())return"disabled"},buttonText:function(){var e=p.currentData(),t=e&&e.state||F.getState();return B.get(F.texts.button[t],j=!1)}}},
244"at_pwd_link.js":function e(){T.prototype.atPwdLinkHelpers={disabled:function(){return F.disabled()},forgotPwdLink:function(){return F.getRoutePath("forgotPwd")},preText:function(){return B.get(F.texts.pwdLink_pre,j=!1)},linkText:function(){return B.get(F.texts.pwdLink_link,j=!1)},suffText:function(){return B.get(F.texts.pwdLink_suff,j=!1)}},T.prototype.atPwdLinkEvents={"click #at-forgotPwd":function(e,t){e.preventDefault(),F.linkClick("forgotPwd")}}},
244"at_reCaptcha.js":function t(){T.prototype.atReCaptchaRendered=function(){g.getScript("//www.google.com/recaptcha/api.js?hl="+B.getLanguage())},T.prototype.atReCaptchaHelpers={key:function(){return F.options.reCaptcha&&F.options.reCaptcha.siteKey?F.options.reCaptcha.siteKey:e.settings.public.reCaptcha.siteKey},theme:function(){return F.options.reCaptcha&&F.options.reCaptcha.theme},data_type:function(){return F.options.reCaptcha&&F.options.reCaptcha.data_type}}},
244"at_resend_verification_email_link.js":function e(){T.prototype.atResendVerificationEmailLinkHelpers={disabled:function(){return F.disabled()},resendVerificationEmailLink:function(){return F.getRoutePath("resendVerificationEmail")},preText:function(){return B.get(F.texts.resendVerificationEmailLink_pre,j=!1)},linkText:function(){return B.get(F.texts.resendVerificationEmailLink_link,j=!1)},suffText:function(){return B.get(F.texts.resendVerificationEmailLink_suff,j=!1)}},T.prototype.atResendVerificationEmailLinkEvents={"click #at-resend-verification-email":function(e,t){e.preventDefault(),F.linkClick("resendVerificationEmail")}}},
244"at_result.js":function e(){T.prototype.atResultHelpers={result:function(){var e=F.state.form.get("result");if(e)return B.get(e,j=!1)}}},
244"at_sep.js":function e(){T.prototype.atSepHelpers={sepText:function(){return B.get(F.texts.sep,j=!1)}}},
244"at_signin_link.js":function e(){T.prototype.atSigninLinkHelpers={disabled:function(){return F.disabled()},signInLink:function(){return F.getRoutePath("signIn")},preText:function(){return B.get(F.texts.signInLink_pre,j=!1)},linkText:function(){return B.get(F.texts.signInLink_link,j=!1)},suffText:function(){return B.get(F.texts.signInLink_suff,j=!1)}},T.prototype.atSigninLinkEvents={"click #at-signIn":function(e,t){e.preventDefault(),F.linkClick("signIn")}}},
244"at_signup_link.js":function e(){T.prototype.atSignupLinkHelpers={disabled:function(){return F.disabled()},signUpLink:function(){return F.getRoutePath("signUp")},preText:function(){return B.get(F.texts.signUpLink_pre,j=!1)},linkText:function(){return B.get(F.texts.signUpLink_link,j=!1)},suffText:function(){return B.get(F.texts.signUpLink_suff,j=!1)}},T.prototype.atSignupLinkEvents={"click #at-signUp":function(e,t){e.preventDefault(),F.linkClick("signUp")}}},
244"at_social.js":function t(){T.prototype.atSocialHelpers={disabled:function(){if(F.disabled())return"disabled";var t=e.user();if(t){var i=0;if(t.services&&(i=a.keys(t.services).length),2===i&&t.services[this._id])return"disabled"}},name:function(){return this._id},iconClass:function(){var e=F.texts.socialIcons[this._id];return e||(e="fa fa-"+this._id),e},buttonText:function(){var t=this,i=this._id;if("meteor-developer"===i&&(i="meteor"),i=S(i),!t.configured)return B.get(F.texts.socialConfigure,j=!1)+" "+i;var n=F.options.showAddRemoveServices,s=e.user(),r;if(s&&n)return s.services&&s.services[this._id]?2===a.keys(s.services).length?i:B.get(F.texts.socialRemove,j=!1)+" "+i:B.get(F.texts.socialAdd,j=!1)+" "+i;var o=p.parentData(),l,u;return("signIn"===(o&&o.state||F.getState())?B.get(F.texts.socialSignIn,j=!1):B.get(F.texts.socialSignUp,j=!1))+" "+B.get(F.texts.socialWith,j=!1)+" "+i}},T.prototype.atSocialEvents={"click button":function(t,i){if(t.preventDefault(),t.currentTarget.blur(),!F.disabled()){var s=e.user();if(s&&s.services&&s.services[this._id]){var r;if(2===a.keys(s.services).length)return;F.setDisabled(!0),e.call("ATRemoveService",this._id,(function(e){F.setDisabled(!1)}))}else{F.setDisabled(!0);var o=p.parentData(),l=o&&o.state||F.getState(),u=this._id,c;c="meteor-developer"===u?"loginWithMeteorDeveloperAccount":"loginWith"+S(u);var d=e[c];D={loginStyle:F.options.socialLoginStyle},n.ui&&(n.ui._options.requestPermissions[u]&&(D.requestPermissions=n.ui._options.requestPermissions[u]),n.ui._options.requestOfflineToken[u]&&(D.requestOfflineToken=n.ui._options.requestOfflineToken[u])),d(D,(function(e){if(F.setDisabled(!1),e&&e instanceof n.LoginCancelledError);else if(e&&e instanceof ServiceConfiguration.ConfigError){if(n._loginButtonsSession)return n._loginButtonsSession.configureService(u)}else F.submitCallback(e,l)}))}}}}},
244"at_terms_link.js":function e(){T.prototype.atTermsLinkHelpers={disabled:function(){return F.disabled()},text:function(){return B.get(F.texts.termsPreamble,j=!1)},privacyUrl:function(){return F.options.privacyUrl},privacyLinkText:function(){return B.get(F.texts.termsPrivacy,j=!1)},showTermsAnd:function(){return!!F.options.privacyUrl&&!!F.options.termsUrl},and:function(){return B.get(F.texts.termsAnd,j=!1)},termsUrl:function(){return F.options.termsUrl},termsLinkText:function(){return B.get(F.texts.termsTerms,j=!1)}},T.prototype.atTermsLinkEvents={"click a":function(e){F.disabled()&&e.preventDefault()}}},
244"at_title.js":function e(){T.prototype.atTitleHelpers={title:function(){var e=p.currentData(),t=e&&e.state||F.getState();return B.get(F.texts.title[t],j=!1)}}},
244"at_message.js":function e(){T.prototype.atMessageHelpers={message:function(){var e=F.state.form.get("message");if(e)return B.get(e,j=!1)}}},
244"template.ensure_signed_in.js":function e(){p.__checkName("ensureSignedIn"),p.ensureSignedIn=new p("Template.ensureSignedIn",(function(){var e=this;return l.If((function(){return b.call(e.lookup("signedIn"))}),(function(){return["\n    ",l._TemplateWith((function(){return{template:b.call(e.lookup("template"))}}),(function(){return b.include((function(){return b.call(p.__dynamic)}))})),"\n  "]}),(function(){return["\n    ",l.If((function(){return b.call(e.lookup("auth"))}),(function(){return["\n      ",l._TemplateWith((function(){return{template:b.call(e.lookup("auth"))}}),(function(){return b.include((function(){return b.call(p.__dynamic)}))})),"\n    "]}),(function(){return["\n      ",b.include(e.lookupTemplate("fullPageAtForm")),"\n    "]})),"\n  "]}))}))},
244"ensure_signed_in.js":function t(){p.ensureSignedIn.helpers({signedIn:function(){return e.user()?(F.clearError(),!0):(F.setState(F.options.defaultState,(function(){var e=F.texts.errors.mustBeLoggedIn;F.state.form.set("error",[e])})),!1)}})}},
244"methods.js":function t(){"use strict";e.methods({ATRemoveService:function(t){s(t,String);var i=this.userId;if(i){var n=e.users.findOne(i),r,o={};if(2===a.keys(n.services).length)throw new e.Error(403,F.texts.errors.cannotRemoveService,{});o["services."+t]="",e.users.update(i,{$unset:o})}}})},
244"T9n.js":function e(t,i,e){var n;e.link("meteor-accounts-t9n/build/en",{default:function(e){n=e}},0),(B=t("meteor-accounts-t9n").T9n).map("en",n),B.setLanguage("en")}},node_modules:{"meteor-accounts-t9n":{build:{
244"en.js":function e(t,i,e){(function(){var t;t={t9Name:"English",add:"add",and:"and",back:"back",cancel:"Cancel",changePassword:"Change Password",choosePassword:"Choose a Password",clickAgree:"By clicking Register, you agree to our",configure:"Configure",createAccount:"Create an Account",currentPassword:"Current Password",dontHaveAnAccount:"Don't have an account?",email:"Email",emailAddress:"Email Address",emailResetLink:"Email Reset Link",forgotPassword:"Forgot your password?",ifYouAlreadyHaveAnAccount:"If you already have an account",newPassword:"New Password",newPasswordAgain:"New Password (again)",optional:"Optional",OR:"OR",password:"Password",passwordAgain:"Password (again)",privacyPolicy:"Privacy Policy",remove:"remove",resetYourPassword:"Reset your password",setPassword:"Set Password",sign:"Sign",signIn:"Sign In",signin:"sign in",signOut:"Sign Out",signUp:"Register",signupCode:"Registration Code",signUpWithYourEmailAddress:"Register with your email address",terms:"Terms of Use",updateYourPassword:"Update your password",username:"Username",usernameOrEmail:"Username or email",with:"with",maxAllowedLength:"Maximum allowed length",minRequiredLength:"Minimum required length",resendVerificationEmail:"Send email again",resendVerificationEmailLink_pre:"Verification email lost?",resendVerificationEmailLink_link:"Send again",enterPassword:"Enter password",enterNewPassword:"Enter new password",enterEmail:"Enter email",enterUsername:"Enter username",enterUsernameOrEmail:"Enter username or email",orUse:"Or use","Required Field":"Required Field",info:{emailSent:"Email sent",emailVerified:"Email verified",passwordChanged:"Password changed",passwordReset:"Password reset"},alert:{ok:"Ok",type:{info:"Notice",error:"Error",warning:"Warning"}},error:{emailRequired:"Email is required.",minChar:"7 character minimum password.",pwdsDontMatch:"Passwords don't match",pwOneDigit:"Password must have at least one digit.",pwOneLetter:"Password requires 1 letter.",signInRequired:"You must be signed in to do that.",signupCodeIncorrect:"Registration code is incorrect.",signupCodeRequired:"Registration code is required.",usernameIsEmail:"Username cannot be an email address.",usernameRequired:"Username is required.",accounts:{"Email already exists.":"Email already exists.","Email doesn't match the criteria.":"Email doesn't match the criteria.","Invalid login token":"Invalid login token","Login forbidden":"Login forbidden","Service unknown":"Service unknown","Unrecognized options for login request":"Unrecognized options for login request","User validation failed":"User validation failed","Username already exists.":"Username already exists.","You are not logged in.":"You are not logged in.","You've been logged out by the server. Please log in again.":"You've been logged out by the server. Please log in again.","Your session has expired. Please log in again.":"Your session has expired. Please log in again.","Already verified":"Already verified","Invalid email or username":"Invalid email or username","Internal server error":"Internal server error",undefined:"Something went wrong","No matching login attempt found":"No matching login attempt found","Password is old. Please reset your password.":"Password is old. Please reset your password.","Incorrect password":"Incorrect password","Invalid email":"Invalid email","Must be logged in":"Must be logged in","Need to set a username or email":"Need to set a username or email","old password format":"old password format","Password may not be empty":"Password may not be empty","Signups forbidden":"Signups forbidden","Token expired":"Token expired","Token has invalid email address":"Token has invalid email address","User has no password set":"User has no password set","User not found":"User not found","Verify email link expired":"Verify email link expired","Verify email link is for unknown address":"Verify email link is for unknown address","At least 1 digit, 1 lowercase and 1 uppercase":"At least 1 digit, 1 lowercase and 1 uppercase","Please verify your email first. Check the email and follow the link!":"Please verify your email first. Check the email and follow the link!","A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder.":"A new email has been sent to you. If the email doesn't show up in your inbox, be sure to check your spam folder.","Match failed":"Match failed","Unknown error":"Unknown error","Error, too many requests. Please slow down. You must wait 1 seconds before trying again.":"Error, too many requests. Please slow down. You must wait 1 seconds before trying again."}}},"undefined"!=typeof B&&null!==B&&B.map("en",t),"undefined"!=typeof e&&null!==e&&(e.exports=t)}).call(this)},
244"t9n.js":function t(i,n,t){(function(){var i;"undefined"!=typeof e&&null!==e&&e.startup((function(){if(e.isClient)return"undefined"!=typeof p&&null!==p?p.registerHelper("t9n",(function(e,t){return i.get(e,!0,t.hash)})):void 0})),i=function(){class e{static setTracker(e){return this.tracker=e,this.dep=new e.Tracker.Dependency,this.depLanguage=new this.tracker.Tracker.Dependency}static map(e,t){var i;return this.maps[e]||(this.maps[e]={}),this.registerItem(e,"",!1,t),null!=(i=this.dep)?i.changed():void 0}static get(e,t=!0,i={},n){var s,r,a,o,l,u,c;return null!=(a=this.dep)&&a.depend(),null!=(o=this.depLanguage)&&o.depend(),"string"!=typeof e?"":(null==n&&(n=this.language),!(c=null!=(l=this.maps[n])?l[e]:void 0)&&(s=n.lastIndexOf("_"))&&(r=n.substring(0,s))?this.get(e,t,i,r):(c||(c=null!=(u=this.maps[this.defaultLanguage])?u[e]:void 0),c?0===Object.keys(i).length?c:this.replaceParams(c,i):t?this.missingPrefix+e+this.missingPostfix:e))}static registerItem(e,t,i,n){var s,r,a;if("string"==typeof n)return this.maps[e][t]=n;if("object"==typeof n){for(s in i&&(t+="."),r=[],n)a=n[s],r.push(this.registerItem(e,t+s,!0,a));return r}}static getLanguage(){var e;return null!=(e=this.depLanguage)&&e.depend(),this.language}static getLanguages(){var e;return null!=(e=this.dep)&&e.depend(),Object.keys(this.maps).sort()}static getLanguageInfo(){var e,t,i,n,s,r;for(null!=(s=this.dep)&&s.depend(),r=[],e=0,n=(i=Object.keys(this.maps).sort()).length;e<n;e++)t=i[e],r.push({name:this.maps[t].t9Name,code:t});return r}static setLanguage(e){var t;if(this.language!==e){if(e=e.replace(new RegExp("-","g"),"_"),!this.maps[e]){if(e.indexOf("_")>1)return this.setLanguage(e.substring(0,e.lastIndexOf("_")));throw Error(`language ${e} does not exist`)}return this.language=e,null!=(t=this.depLanguage)?t.changed():void 0}}static replaceParams(e,t){var i,n,s,r,a,o;for(i=0,s=e;i>-1;)(i=s.indexOf("@{"))>-1&&(n=s.indexOf("}"),(r=s.substring(i,n+1)).indexOf("->")>-1?(o=this.handleSelector(s,t,r),e=e.replace(r,o)):(a=r.substring(2,r.indexOf("}")),e=(e=e.replace(new RegExp(r,"g"),t[a])).replace(new RegExp(`\\$${a}`,"g"),t[a])),s=s.substring(n+2).trim());return e}static handleSelector(e,t,i){var n,s,r;if(r=i.substring(2,i.indexOf(" ")),n=(s=e.split(/\n/).slice(1).map((function(e){var t;return{regexString:t=e.trim().split(/\s/)[0],line:e.substring(e.indexOf(t)+t.length)}}))).find((function(e){return new RegExp(e.regexString).test(t[r])})))return n.line.substring(n.line.lastIndexOf("]")+1).trim().replace(new RegExp(`\\$${r}`),t[r])}}return e.maps={},e.defaultLanguage="en",e.language="",e.dep=void 0,e.depLanguage=void 0,e.missingPrefix=">",e.missingPostfix="<",e}.call(this),this.T9n=i,this.t9n=function(e,t,n){return i.get(e)},"undefined"!=typeof t&&null!==t&&(t.exports.T9n=i)}).call(this)}},
244"package.json":function e(t,i,e){e.exports={name:"meteor-accounts-t9n",version:"2.6.0",main:"build/t9n.js"}}}}}}}},{extensions:[".js",".json",".html"]});M("/node_modules/meteor/useraccounts:core/lib/utils.js"),M("/node_modules/meteor/useraccounts:core/lib/field.js"),M("/node_modules/meteor/useraccounts:core/lib/core.js"),M("/node_modules/meteor/useraccounts:core/lib/client.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_error.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_form.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_input.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_nav_button.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_oauth.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_pwd_form.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_pwd_form_btn.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_pwd_link.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_reCaptcha.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_resend_verification_email_link.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_result.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_sep.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_signin_link.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_signup_link.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_social.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_terms_link.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_title.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/at_message.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/template.ensure_signed_in.js"),M("/node_modules/meteor/useraccounts:core/lib/templates_helpers/ensure_signed_in.js"),M("/node_modules/meteor/useraccounts:core/lib/methods.js"),M("/node_modules/meteor/useraccounts:core/lib/T9n.js"),Package._define("useraccounts:core",{AccountsTemplates:F,T9n:B})}();
245
246!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,o=Package.check.check,r=Package.check.Match,a=Package["iron:router"].Router,i=Package["iron:router"].RouteController,s=Package.underscore._,u=Package["useraccounts:core"].AccountsTemplates,c=Package["useraccounts:core"].T9n,l=Package["iron:core"].Iron,d=Package["accounts-base"].Accounts,p=Package["templating-runtime"].Template,f=Package.blaze.Blaze,g=Package.blaze.UI,h=Package.blaze.Handlebars,m=Package.spacebars.Spacebars,P=Package.htmljs.HTML;(function(){"use strict";var t={name:r.Optional(String),path:r.Optional(String),template:r.Optional(String),layoutTemplate:r.Optional(String),redirect:r.Optional(r.OneOf(String,r.Where(s.isFunction)))};u.ROUTE_DEFAULT={changePwd:{name:"atChangePwd",path:"/change-password"},enrollAccount:{name:"atEnrollAccount",path:"/enroll-account"},ensureSignedIn:{name:"atEnsureSignedIn",path:null},forgotPwd:{name:"atForgotPwd",path:"/forgot-password"},resetPwd:{name:"atResetPwd",path:"/reset-password"},signIn:{name:"atSignIn",path:"/sign-in"},signUp:{name:"atSignUp",path:"/sign-up"},verifyEmail:{name:"atVerifyEmail",path:"/verify-email"},resendVerificationEmail:{name:"atResendVerificationEmail",path:"/send-again"}},u.options.homeRoutePath="/",u.options.redirectTimeout=2e3,u.knownRoutes=[],u.routes={},u.configureRoute=function(n,i){if(o(n,String),o(i,r.OneOf(void 0,r.ObjectIncluding(t))),i=s.clone(i),this._initialized)throw new Error("Route Configuration can be done only before AccountsTemplates.init!");if(!(n in this.ROUTE_DEFAULT))throw new Error("Unknown Route!");if(n in this.routes)throw new Error("Route already configured!");if(i&&i.path&&"/"!==i.path[0]&&(i.path="/"+i.path),i=s.defaults(i||{},this.ROUTE_DEFAULT[n]),this.routes[n]=i,u.knownRoutes.push(i.path),e.isServer){if("resetPwd"===n){var c=i.path.substr(1);d.urls.resetPassword=function(t){return e.absoluteUrl(c+"/"+t)}}if("enrollAccount"===n){var l=i.path.substr(1);d.urls.enrollAccount=function(t){return e.absoluteUrl(l+"/"+t)}}
246if("verifyEmail"===n){var p=i.path.substr(1);d.urls.verifyEmail=function(t){return e.absoluteUrl(p+"/"+t)}}}if("ensureSignedIn"!==n){if("changePwd"===n&&!u.options.enablePasswordChange)throw new Error("changePwd route configured but enablePasswordChange set to false!");if("forgotPwd"===n&&!u.options.showForgotPasswordLink)throw new Error("forgotPwd route configured but showForgotPasswordLink set to false!");if("signUp"===n&&u.options.forbidClientAccountCreation)throw new Error("signUp route configured but forbidClientAccountCreation set to true!");var f=u.options.defaultLayout||a.options.layoutTemplate,g=i.name,h=i.path,m=i.template||"fullPageAtForm",P=i.layoutTemplate||f,v=s.omit(i,["layoutTemplate","name","path","redirect","template"]);s.contains(["enrollAccount","resetPwd","verifyEmail"],n)?(h+="/:paramToken","verifyEmail"===n?a.route(h,s.extend(v,{name:g,template:m,layoutTemplate:P,onRun:function(){u.setState(n),u.setDisabled(!0);var e=this.params.paramToken;d.verifyEmail(e,(function(e){u.setDisabled(!1),u.submitCallback(e,n,(function(){u.state.form.set("result",u.texts.info.emailVerified)}))})),this.next()},onStop:function(){u.clearState()}})):a.route(h,s.extend(v,{name:g,template:m,layoutTemplate:P,onBeforeAction:function(){u.paramToken=this.params.paramToken,u.setState(n),this.next()},onStop:function(){u.clearState(),u.paramToken=null}}))):a.route(h,s.extend(v,{name:g,template:m,layoutTemplate:P,onBeforeAction:function(){var t=!1;"changePwd"===n?e.loggingIn()||e.userId()||(t=!0):e.userId()&&(t=!0),t?(u.postSubmitRedirect(n),this.stop()):(u.setState(n),this.next())},onStop:function(){u.clearState()}}))}},u.getRouteName=function(e){return e in this.routes?this.routes[e].name:null},u.getRoutePath=function(e){return e in this.routes?this.routes[e].path:"#"}}).call(this),function(){"use strict";u._prevPath=null,u.timedOutRedirect=null,u.clearState=function(){s.each(this._fields,(function(e){e.clearStatus()}));var t=this.state.form;t.set("error",null),t.set("result",null),t.set("message",null),u.setDisabled(!1),null!==u.timedOutRedirect&&(e.clearTimeout(u.timedOutRedirect),u.timedOutRedirect=null)},u.getPrevPath=function(){return this._prevPath},u.setPrevPath=function(e){o(e,String),this._prevPath=e};var t=function(){if(e.userId())u.clearError(),this.next();else{Tracker.nonreactive((function(){u.setPrevPath(a.current().url)})),u.setState(u.options.defaultState,(function(){var e=u.texts.errors.mustBeLoggedIn;u.state.form.set("error",[e])})),u.avoidRedirect=!0;var t=u.routes.ensureSignedIn,n=u.routes.signIn&&u.routes.signIn.template,o=t&&t.template||n||"fullPageAtForm",r=u.options.defaultLayout||a.options.layoutTemplate,i=t&&t.layoutTemplate||r;this.layout(i),this.render(o),this.renderRegions()}};u.ensureSignedIn=function(){console.warn("[UserAccounts] AccountsTemplates.ensureSignedIn will be deprecated soon, please use the plugin version\n               see https://github.com/meteor-useraccounts/core/blob/master/Guide.md#content-protection"),t.call(this)},l.Router.plugins.ensureSignedIn=function(n,o){n.onRun((function(){e.loggingIn()?this.renderRegions():this.next()}),o),n.onBeforeAction(t,o),n.onStop((function(){u.clearError()}))},a.onStop((function(){Tracker.nonreactive((function(){var e=a.current().url,t=e.replace(/^\/+|\/+$/gm,""),n=s.map(u.knownRoutes,(function(e){return!!e&&(e=e.replace(/^\/+|\/+$/gm,""),RegExp(e).test(t));var n}));s.some(n)||u.setPrevPath(e),u.avoidRedirect=!1}))})),u.linkClick=function(t){if(!u.disabled()){var n=u.getRoutePath(t);"#"===n||u.avoidRedirect||a.current().route&&n===a.current().route.path()?u.setState(t):e.defer((function(){a.go(n)}));var o=s.find(this.getFields(),(function(e){return s.contains(e.visible,t)}));o&&$("input#at-field-"+o._id).focus()}},u.logout=function(){var t=u.options.onLogoutHook,n=u.options.homeRoutePath;e.logout((function(){t?t():n&&a.go(n)}))},u.postSubmitRedirect=function(e){if(u.avoidRedirect)u.avoidRedirect=!1;else{var t=u.routes[e]&&u.routes[e].redirect;if(t)s.isFunction(t)?t():a.go(t);else{var n=u.getPrevPath();if(n&&a.current().route.path()!==n)a.go(n);else{var o=u.options.homeRoutePath;o&&a.go(o)}}}},u.submitCallback=function(t,n,o){var r=u.options.onSubmitHook;
246if(r&&r(t,n),t){if(s.isObject(t.details))s.each(t.details,(function(e,t){u.getField(t).setError(e)}));else{var a="error.accounts.Unknown error";t.reason&&(a=t.reason),"error.accounts."!==a.substring(0,15)&&(a="error.accounts."+a),u.state.form.set("error",[a])}u.setDisabled(!1),"signUp"===n&&u.options.showReCaptcha&&grecaptcha.reset()}else if(o&&o(),s.contains(["enrollAccount","forgotPwd","resetPwd","verifyEmail"],n)){var i=u.options.redirectTimeout;i>0&&(u.timedOutRedirect=e.setTimeout((function(){u.timedOutRedirect=null,u.setDisabled(!1),u.postSubmitRedirect(n)}),i))}else n&&(u.setDisabled(!1),u.postSubmitRedirect(n))}}.call(this),function(){"use strict";u.atInputRendered.push((function(){var e=this.data._id,t=this.data.options&&this.data.options.queryKey||e,n=a.current(),o=n&&n.params&&n.params.query&&n.params.query[t];o&&this.$("input#at-field-"+e).val(o)}))}.call(this),Package._define("useraccounts:iron-routing")}();
247
248!function(){var t=Package.meteor.Meteor,n=Package.meteor.global,e=Package.meteor.meteorEnv,u=Package["templating-runtime"].Template,a=Package.underscore._,o=Package["useraccounts:core"].AccountsTemplates,i=Package["useraccounts:core"].T9n,r=Package["accounts-base"].Accounts,l=Package.blaze.Blaze,c=Package.blaze.UI,s=Package.blaze.Handlebars,p=Package.spacebars.Spacebars,f=Package.htmljs.HTML;(function(){u.__checkName("atError"),u.atError=new u("Template.atError",(function(){var t=this;return f.DIV({class:"at-error alert alert-danger"},"\n    ",l.Each((function(){return p.call(t.lookup("error"))}),(function(){return["\n      ",f.P(l.View("lookup:errorText",(function(){return p.mustache(t.lookup("errorText"))}))),"\n    "]})),"\n  ")}))}).call(this),function(){u.atError.helpers(o.atErrorHelpers)}.call(this),function(){u.__checkName("atForm"),u.atForm=new u("Template.atForm",(function(){var t=this;return l.Unless((function(){return p.call(t.lookup("hide"))}),(function(){return["\n    ",f.DIV({class:"at-form"},"\n      ",l.If((function(){return p.call(t.lookup("showTitle"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atTitle")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showOauthServices"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atOauth")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showServicesSeparator"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atSep")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showError"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atError")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showResult"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atResult")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showMessage"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atMessage")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showPwdForm"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atPwdForm")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showTermsLink"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atTermsLink")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showSignInLink"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atSigninLink")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showSignUpLink"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atSignupLink")),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showResendVerificationEmailLink"))}),(function(){return["\n        ",p.include(t.lookupTemplate("atResendVerificationEmailLink")),"\n      "]})),"\n    "),"\n  "]}))}))}.call(this),function(){u.atForm.helpers(o.atFormHelpers)}.call(this),function(){u.__checkName("atInput"),u.atInput=new u("Template.atInput",(function(){var t=this;return l._TemplateWith((function(){return{template:p.call(t.lookup("templateName"))}}),(function(){return p.include((function(){return p.call(u.__dynamic)}))}))})),u.__checkName("atTextInput"),u.atTextInput=new u("Template.atTextInput",(function(){var t=this;return f.DIV({class:function(){return["at-input form-group ",l.If((function(){return p.call(t.lookup("isValidating"))}),(function(){return"validating"}))," ",l.If((function(){return p.call(t.lookup("hasError"))}),(function(){return"has-error"}))," ",l.If((function(){return p.call(t.lookup("hasSuccess"))}),(function(){return"has-success"}))," ",l.If((function(){return p.call(t.lookup("feedback"))}),(function(){return"has-feedback"}))]}},"\n    ",f.LABEL({class:function(){return["control-label ",l.Unless((function(){return p.call(t.lookup("showLabels"))}),(function(){return"sr-only"}))]},for:function(){return["at-field-",p.mustache(t.lookup("_id"))]}},"\n      ",l.View("lookup:displayName",(function(){return p.mustache(t.lookup("displayName"))}))," ",l.Unless((function(){return p.call(t.lookup("required"))}),(function(){return l.View("lookup:optionalText",(function(){return p.mustache(t.lookup("optionalText"))}))})),"\n    "),"\n    ",f.INPUT({type:function(){return p.mustache(t.lookup("type"))},class:"form-control",id:function(){return["at-field-",p.mustache(t.lookup("_id"))]},name:function(){return["at-field-",p.mustache(t.lookup("_id"))]},placeholder:function(){return p.mustache(t.lookup("placeholder"))},autocapitalize:"none",autocorrect:"off"}),"\n    ",l.If((function(){return p.call(t.lookup("hasIcon"))}),(function(){return["\n      ",f.SPAN({class:function(){return[p.mustache(t.lookup("iconClass"))," form-control-feedback"]}}),"\n    "]})),"\n    ",f.SPAN({class:function(){return["help-block ",l.Unless((function(){return p.call(t.lookup("hasError"))}),(function(){return"hide"}))]}},l.View("lookup:errorText",(function(){return p.mustache(t.lookup("errorText"))}))),"\n  ")})),u.__checkName("atCheckboxInput"),u.atCheckboxInput=new u("Template.atCheckboxInput",(function(){var t=this;return f.DIV({class:"at-input checkbox"},"\n    ",f.LABEL({for:function(){return["at-field-",p.mustache(t.lookup("_id"))]}},"\n      ",f.INPUT(f.Attrs({type:function(){return p.mustache(t.lookup("type"))},id:function(){return["at-field-",p.mustache(t.lookup("_id"))]},name:function(){return["at-field-",p.mustache(t.lookup("_id"))]}},(function(){return p.attrMustache(t.lookup("disabled"))}))),"\n      ",l.View("lookup:displayName",(function(){return p.mustache(t.lookup("displayName"))})),"\n    "),"\n  ")})),u.__checkName("atSelectInput"),u.atSelectInput=new u("Template.atSelectInput",(function(){var t=this;return f.DIV({class:"at-input field"},"\n    ",f.LABEL(l.View("lookup:displayName",(function(){return p.mustache(t.lookup("displayName"))}))),"\n    ",f.SELECT({class:"form-control",id:function(){return["at-field-",p.mustache(t.lookup("_id"))]},name:function(){return["at-field-",p.mustache(t.lookup("_id"))]}},"\n      ",l.Each((function(){return p.call(t.lookup("values"))}),(function(){return["\n        ",f.OPTION({value:function(){return p.mustache(t.lookup("value"))}},l.View("lookup:text",(function(){return p.mustache(t.lookup("text"))}))),"\n      "]})),"\n    "),"\n  ")})),u.__checkName("atRadioInput"),u.atRadioInput=new u("Template.atRadioInput",(function(){var t=this;return f.DIV({class:"at-input form-group"},"\n    ",f.LABEL(l.View("lookup:displayName",(function(){return p.mustache(t.lookup("displayName"))}))),"\n    ",l.Each((function(){return p.call(t.lookup("values"))}),(function(){return["\n      ",f.DIV({class:"at-input radio"},"\n        ",f.LABEL({for:function(){return["at-field-",p.mustache(t.lookup("id")),"-choice-",p.mustache(t.lookup("value"))]}},"\n          ",f.INPUT({id:function(){return["at-field-",p.mustache(t.lookup("id")),"-choice-",p.mustache(t.lookup("value"))]},type:"radio",name:function(){return["at-field-",p.mustache(t.lookup("id"))]},value:function(){return p.mustache(t.lookup("value"))}}),"\n          ",l.View("lookup:text",(function(){return p.mustache(t.lookup("text"))})),"\n        "),"\n      "),"\n    "]})),"\n  ")})),u.__checkName("atHiddenInput"),u.atHiddenInput=new u("Template.atHiddenInput",(function(){var t=this;return f.INPUT({type:"hidden",id:function(){return["at-field-",p.mustache(t.lookup("_id"))]},name:function(){return["at-field-",p.mustache(t.lookup("_id"))]}})}))}.call(this),function(){a.each(o.atInputRendered,(function(t){u.atInput.onRendered(t),u.atHiddenInput.onRendered(t)})),u.atInput.helpers(o.atInputHelpers),u.atInput.events(o.atInputEvents),u.atTextInput.helpers(o.atInputHelpers),u.atCheckboxInput.helpers(o.atInputHelpers),u.atSelectInput.helpers(o.atInputHelpers),u.atRadioInput.helpers(o.atInputHelpers),u.atHiddenInput.helpers(o.atInputHelpers),o.configure({texts:{inputIcons:{isValidating:"glyphicon glyphicon-refresh",hasError:"glyphicon glyphicon-remove",hasSuccess:"glyphicon glyphicon-ok"}}})}.call(this),function(){u.__checkName("atMessage"),u.atMessage=new u("Template.atMessage",(function(){var t=this;return f.DIV({class:"at-message alert alert-info"},"\n    ",l.View("lookup:message",(function(){return p.mustache(t.lookup("message"))})),"\n  ")}))}.call(this),function(){u.atMessage.helpers(o.atMessageHelpers)}.call(this),function(){u.__checkName("atNavButton"),u.atNavButton=new u("Template.atNavButton",(function(){var t=this;return f.BUTTON({type:"button",id:"at-nav-button",class:"btn btn-default navbar-btn"},l.View("lookup:text",(function(){return p.mustache(t.lookup("text"))})))}))}.call(this),function(){u.atNavButton.helpers(o.atNavButtonHelpers),u.atNavButton.events(o.atNavButtonEvents)}.call(this),function(){u.__checkName("atOauth"),u.atOauth=new u("Template.atOauth",(function(){var t=this;return f.DIV({class:"at-oauth"},"\n    ",l.Each((function(){return p.call(t.lookup("oauthService"))}),(function(){return["\n      ",p.include(t.lookupTemplate("atSocial")),"\n    "]})),"\n  ")}))}.call(this),function(){u.atOauth.helpers(o.atOauthHelpers)}.call(this),function(){u.__checkName("atPwdForm"),u.atPwdForm=new u("Template.atPwdForm",(function(){var t=this;return f.DIV({class:"at-pwd-form"},"\n    ",f.FORM({role:"form",id:"at-pwd-form",novalidate:"",action:"#",method:"POST"},"\n      ",f.FIELDSET(f.Attrs((function(){return p.attrMustache(t.lookup("disabled"))})),"\n        ",l.Each((function(){return p.call(t.lookup("fields"))}),(function(){return["\n          ",p.include(t.lookupTemplate("atInput")),"\n        "]})),"\n        ",l.If((function(){return p.call(t.lookup("showReCaptcha"))}),(function(){return["\n          ",p.include(t.lookupTemplate("atReCaptcha")),"\n        "]})),"\n        ",l.If((function(){return p.call(t.lookup("showForgotPasswordLink"))}),(function(){return["\n          ",p.include(t.lookupTemplate("atPwdLink")),"\n        "]})),"\n        ",p.include(t.lookupTemplate("atPwdFormBtn")),"\n      "),"\n    "),"\n  ")}))}.call(this),function(){u.atPwdForm.helpers(o.atPwdFormHelpers),u.atPwdForm.events(o.atPwdFormEvents)}.call(this),function(){u.__checkName("atPwdFormBtn"),u.atPwdFormBtn=new u("Template.atPwdFormBtn",(function(){var t=this;return f.BUTTON({type:"submit",class:function(){return["at-btn submit btn btn-lg btn-block btn-default ",p.mustache(t.lookup("submitDisabled"))]},id:"at-btn"},"\n    ",l.View("lookup:buttonText",(function(){return p.mustache(t.lookup("buttonText"))})),"\n  ")}))}.call(this),function(){u.atPwdFormBtn.helpers(o.atPwdFormBtnHelpers)}.call(this),function(){u.__checkName("atPwdLink"),u.atPwdLink=new u("Template.atPwdLink",(function(){var t=this;return f.DIV({class:"at-pwd-link"},"\n    ",f.P("\n      ",l.View("lookup:preText",(function(){return p.mustache(t.lookup("preText"))})),"\n      ",f.A({href:function(){return p.mustache(t.lookup("forgotPwdLink"))},id:"at-forgotPwd",class:function(){return["at-link at-pwd ",p.mustache(t.lookup("disabled"))]}},l.View("lookup:linkText",(function(){return p.mustache(t.lookup("linkText"))}))),"\n      ",l.View("lookup:suffText",(function(){return p.mustache(t.lookup("suffText"))})),"\n    "),"\n  ")}))}.call(this),function(){u.atPwdLink.helpers(o.atPwdLinkHelpers),u.atPwdLink.events(o.atPwdLinkEvents)}.call(this),function(){u.__checkName("atReCaptcha"),u.atReCaptcha=new u("Template.atReCaptcha",(function(){var t=this;return f.DIV({class:"g-recaptcha","data-sitekey":function(){return p.mustache(t.lookup("key"))},"data-theme":function(){return p.mustache(t.lookup("theme"))},"data-type":function(){return p.mustache(t.lookup("data_type"))}})}))}.call(this),function(){u.atReCaptcha.rendered=o.atReCaptchaRendered,u.atReCaptcha.helpers(o.atReCaptchaHelpers)}.call(this),function(){u.__checkName("atResult"),u.atResult=new u("Template.atResult",(function(){var t=this;return f.DIV({class:"at-result alert alert-success"},"\n    ",l.View("lookup:result",(function(){return p.mustache(t.lookup("result"))})),"\n  ")}))}.call(this),function(){u.atResult.helpers(o.atResultHelpers)}.call(this),function(){u.__checkName("atSep"),u.atSep=new u("Template.atSep",(function(){var t=this;return f.DIV({class:"at-sep"},"\n    ",f.STRONG(l.View("lookup:sepText",(function(){return p.mustache(t.lookup("sepText"))}))),"\n  ")}))}.call(this),function(){u.atSep.helpers(o.atSepHelpers)}.call(this),function(){u.__checkName("atSigninLink"),u.atSigninLink=new u("Template.atSigninLink",(function(){var t=this;return f.DIV({class:"at-signin-link"},"\n    ",f.P("\n      ",l.View("lookup:preText",(function(){return p.mustache(t.lookup("preText"))})),"\n      ",f.A({href:function(){return p.mustache(t.lookup("signInLink"))},id:"at-signIn",class:function(){return["at-link at-signin ",p.mustache(t.lookup("disabled"))]}},l.View("lookup:linkText",(function(){return p.mustache(t.lookup("linkText"))}))),"\n      ",l.View("lookup:suffText",(function(){return p.mustache(t.lookup("suffText"))})),"\n    "),"\n  ")}))}.call(this),function(){u.atSigninLink.helpers(o.atSigninLinkHelpers),u.atSigninLink.events(o.atSigninLinkEvents)}.call(this),function(){u.__checkName("atSignupLink"),u.atSignupLink=new u("Template.atSignupLink",(function(){var t=this;return f.DIV({class:"at-signup-link"},"\n    ",f.P("\n      ",l.View("lookup:preText",(function(){return p.mustache(t.lookup("preText"))})),"\n      ",f.A({href:function(){return p.mustache(t.lookup("signUpLink"))},id:"at-signUp",class:function(){return["at-link at-signup ",p.mustache(t.lookup("disabled"))]}},l.View("lookup:linkText",(function(){return p.mustache(t.lookup("linkText"))}))),"\n      ",l.View("lookup:suffText",(function(){return p.mustache(t.lookup("suffText"))})),"\n    "),"\n  ")}))}.call(this),function(){u.atSignupLink.helpers(o.atSignupLinkHelpers),u.atSignupLink.events(o.atSignupLinkEvents)}.call(this),function(){u.__checkName("atSocial"),u.atSocial=new u("Template.atSocial",(function(){var t=this;return f.BUTTON({class:function(){return["btn at-social-btn ",p.mustache(t.lookup("disabled"))]},id:function(){return["at-",p.mustache(t.lookup("name"))]},name:function(){return p.mustache(t.lookup("name"))}},"\n    ",f.I({class:function(){return p.mustache(t.lookup("iconClass"))}})," ",l.View("lookup:buttonText",(function(){return p.mustache(t.lookup("buttonText"))})),"\n  ")}))}.call(this),function(){u.atSocial.helpers(o.atSocialHelpers),u.atSocial.events(o.atSocialEvents)}.call(this),function(){u.__checkName("atTermsLink"),u.atTermsLink=new u("Template.atTermsLink",(function(){var t=this;return f.DIV({class:"at-terms-link at-wrap"},"\n    ",f.P("\n      ",l.View("lookup:text",(function(){return p.mustache(t.lookup("text"))})),"\n      ",l.If((function(){return p.call(t.lookup("privacyUrl"))}),(function(){return["\n        ",f.A({href:function(){return p.mustache(t.lookup("privacyUrl"))},class:function(){return p.mustache(t.lookup("disabled"))}},l.View("lookup:privacyLinkText",(function(){return p.mustache(t.lookup("privacyLinkText"))}))),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("showTermsAnd"))}),(function(){return["\n        ",l.View("lookup:and",(function(){return p.mustache(t.lookup("and"))})),"\n      "]})),"\n      ",l.If((function(){return p.call(t.lookup("termsUrl"))}),(function(){return["\n        ",f.A({href:function(){return p.mustache(t.lookup("termsUrl"))},class:function(){return p.mustache(t.lookup("disabled"))}},l.View("lookup:termsLinkText",(function(){return p.mustache(t.lookup("termsLinkText"))})
248)),"\n      "]})),"\n    "),"\n  ")}))}.call(this),function(){u.atTermsLink.helpers(o.atTermsLinkHelpers),u.atTermsLink.events(o.atTermsLinkEvents)}.call(this),function(){u.__checkName("atResendVerificationEmailLink"),u.atResendVerificationEmailLink=new u("Template.atResendVerificationEmailLink",(function(){var t=this;return f.DIV({class:"at-resend-verification-email-link at-wrap"},"\n    ",f.P("\n      ",l.View("lookup:preText",(function(){return p.mustache(t.lookup("preText"))})),"\n      ",f.A({href:function(){return p.mustache(t.lookup("resendVerificationEmailLink"))},id:"at-resend-verification-email",class:function(){return["at-link at-resend-verification-email ",p.mustache(t.lookup("disabled"))]}},l.View("lookup:linkText",(function(){return p.mustache(t.lookup("linkText"))}))),"\n      ",l.View("lookup:suffText",(function(){return p.mustache(t.lookup("suffText"))})),"\n    "),"\n  ")}))}.call(this),function(){u.atResendVerificationEmailLink.helpers(o.atResendVerificationEmailLinkHelpers),u.atResendVerificationEmailLink.events(o.atResendVerificationEmailLinkEvents)}.call(this),function(){u.__checkName("atTitle"),u.atTitle=new u("Template.atTitle",(function(){var t=this;return f.DIV({class:"at-title"},"\n    ",f.H3(l.View("lookup:title",(function(){return p.mustache(t.lookup("title"))}))),"\n  ")}))}.call(this),function(){u.atTitle.helpers(o.atTitleHelpers)}.call(this),function(){u.__checkName("fullPageAtForm"),u.fullPageAtForm=new u("Template.fullPageAtForm",(function(){var t=this;return f.DIV({class:"container"},"\n    ",f.DIV({class:"row"},"\n      ",f.DIV({class:"col-md-6 col-md-offset-3"},"\n        ",p.include(t.lookupTemplate("atForm")),"\n      "),"\n    "),"\n  ")}))}.call(this),Package._define("useraccounts:bootstrap")}();
249
250!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv,r=Package.tracker.Tracker,n=Package.tracker.Deps,i=Package.underscore._,o=Package.ejson.EJSON,c;(function(){var t=null;Package["meteorhacks:fast-render"]&&(t=Package["meteorhacks:fast-render"].FastRender),(c=function(e){var t=this;t.options=e||{},t.options.cacheLimit=t.options.cacheLimit||10,t.options.expireIn=t.options.expireIn||5,t._cacheMap={},t._cacheList=[],t._ready=!1,t.dep=new n.Dependency,t.computation=t._registerComputation()}).prototype.subscribe=function(){var t=this;if(e.isClient){var a=i.toArray(arguments);return this._addSub(a),{ready:function(){return t.dep.depend(),t._ready}}}if(e.subscribe)return e.subscribe.apply(e,arguments)},c.prototype._addSub=function(e){var a=this,r=o.stringify(e),n=e[0],c=o.stringify(e.slice(1)),s;if(!a._cacheMap[r]){var s={args:e,hash:r};this._handleError(s),a._cacheMap[r]=s,a._cacheList.push(s),t&&t._subscriptions&&t._subscriptions[n]?a._ready=a._ready&&t._subscriptions[n][c]:a._ready=!1,a._notifyChanged(),a._reRunSubs()}(s=a._cacheMap[r]).updated=(new Date).getTime();var p=i.indexOf(a._cacheList,s);a._cacheList.splice(p,1),a._cacheList.push(s)},c.prototype._reRunSubs=function(){var e=this;n.currentComputation?n.afterFlush((function(){e.computation.invalidate()})):e.computation.invalidate()},c.prototype._notifyChanged=function(){var e=this;n.currentComputation?setTimeout((function(){e.dep.changed()}),0):e.dep.changed()},c.prototype._applyCacheLimit=function(){var e=this,t=e._cacheList.length-e.options.cacheLimit;if(t>0){var a=e._cacheList.splice(0,t);i.each(a,(function(t){delete e._cacheMap[t.hash]}))}},c.prototype._applyExpirations=function(){var e=this,t=[],a=(new Date).getTime()-60*e.options.expireIn*1e3;i.each(e._cacheList,(function(r){r.updated>=a?t.push(r):delete e._cacheMap[r.hash]})),e._cacheList=t},c.prototype._registerComputation=function(){var t=this,a;return n.autorun((function(){t._applyExpirations(),t._applyCacheLimit();var a=!0;i.each(t._cacheList,(function(t){t.ready=e.subscribe.apply(e,t.args).ready(),a=a&&t.ready})),a&&(t._ready=!0,t._notifyChanged())}))},c.prototype._createIdentifier=function(e){var t;return i.map(e,(function(e){return"string"==typeof e?'"'+e+'"':e})).join(", ")},c.prototype._handleError=function(e){var t=e.args,a=i.last(t);if(e.identifier=this._createIdentifier(t),a)if("function"==typeof a)t.pop(),t.push({onReady:a,onError:n});else if("function"==typeof a.onError){var r=a.onError;a.onError=function(e){n(e),r(e)}}else"function"==typeof a.onReady?a.onError=n:t.push({onError:n});else t.push({onError:n});function n(t){console.log("Error invoking SubsManager.subscribe(%s): ",e.identifier,t.reason),e.updated=new Date(1)}},c.prototype.reset=function(){var e=this,t=e.computation;e.computation=e._registerComputation(),e.computation.invalidate(),n.afterFlush((function(){t.stop()}))},c.prototype.clear=function(){this._cacheList=[],this._cacheMap={},this._reRunSubs()},c.prototype.ready=function(){return this.dep.depend(),0!==this._cacheList.length&&this._ready}}).call(this),Package._define("meteorhacks:subs-manager",{SubsManager:c})}();
251
252!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,o=Package.meteor.meteorEnv,n=Package.underscore._,t=Package.mongo.Mongo;(function(){t.Collection.prototype.helpers=function(r){var o=this;if(o._transform&&!o._helpers)throw new e.Error("Can't apply helpers to '"+o._name+"' a transform function already exists!");o._helpers||(o._helpers=function e(r){return n.extend(this,r)},o._transform=function(e){return new o._helpers(e)}),n.each(r,(function(e,r){o._helpers.prototype[r]=e}))}}).call(this),Package._define("dburles:collection-helpers")}();
253
254!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,o=Package.meteor.meteorEnv,t=Package.underscore._,n=Package["accounts-base"].Accounts,s=Package.tracker.Tracker,i=Package.tracker.Deps,a=Package.mongo.Mongo,l=Package.check.check,u=Package.check.Match,f;(function(){!function(){e.roles||(e.roles=new a.Collection("roles")),"undefined"==typeof f&&(f={});var r="Roles error: Can't mix grouped and non-grouped roles for same user";function o(e){var r=["Cannot apply $addToSet modifier to non-array","Cannot apply $addToSet to a non-array field","Cannot apply $addToSet to non-array field","Can only apply $pullAll to an array","Cannot apply $pull/$pullAll modifier to non-array","Cannot apply $pull to a non-array value","can't append to array using string field name","to traverse the element","Cannot create field"];return t.some(r,(function(r){return n(e,r)}))}function n(e,r){return-1!==e.indexOf(r)}t.extend(f,{GLOBAL_GROUP:"__global_roles__",createRole:function(r,o){var t,n;if(r&&"string"==typeof r&&0!==r.trim().length)try{return t=e.roles.insert({name:r.trim()})}catch(s){if(/E11000 duplicate key error.*(index.*roles|roles.*index).*name/.test(s.errmsg||s.err)){if(o)return null;throw new Error("Role '"+r.trim()+"' already exists.")}throw s}},deleteRole:function(r){if(r){var o;if(e.users.findOne({roles:{$in:[r]}},{fields:{_id:1}}))throw new e.Error(403,"Role in use");var t=e.roles.findOne({name:r});t&&e.roles.remove({_id:t._id})}},addUsersToRoles:function(e,r,o){f._updateUserRoles(e,r,o,f._update_$addToSet_fn)},setUserRoles:function(e,r,o){f._updateUserRoles(e,r,o,f._update_$set_fn)},removeUsersFromRoles:function(n,s,i){var a;if(!n)throw new Error("Missing 'users' param");if(!s)throw new Error("Missing 'roles' param");if(i){if("string"!=typeof i)throw new Error("Roles error: Invalid parameter 'group'. Expected 'string' type");if("$"===i[0])throw new Error("Roles error: groups can not start with '$'");i=i.replace(/\./g,"_")}t.isArray(n)||(n=[n]),t.isArray(s)||(s=[s]),n=t.reduce(n,(function(e,r){var o;return"string"==typeof r?e.push(r):"object"==typeof r&&"string"==typeof(o=r._id)&&e.push(o),e}),[]),i?(a={$pullAll:{}}).$pullAll["roles."+i]=s:a={$pullAll:{roles:s}};try{e.isClient?t.each(n,(function(r){e.users.update({_id:r},a)})):e.users.update({_id:{$in:n}},a,{multi:!0})}catch(l){if("MongoError"===l.name&&o(l.errmsg||l.err))throw new Error(r);throw l}},userIsInRole:function(r,o,n){var s,i,a,l,u=!1;if(t.isArray(o)||(o=[o]),!r)return!1;if(n){if("string"!=typeof n)return!1;if("$"===n[0])return!1;n=n.replace(/\./g,"_")}if("object"==typeof r){if(i=r.roles,t.isArray(i))return t.some(o,(function(e){return t.contains(i,e)}));if(i&&"object"==typeof i)return(u=t.isArray(i[n])&&t.some(o,(function(e){return t.contains(i[n],e)})))||(u=t.isArray(i[f.GLOBAL_GROUP])&&t.some(o,(function(e){return t.contains(i[f.GLOBAL_GROUP],e)}))),u;s=r._id}else"string"==typeof r&&(s=r);return!!s&&(a={_id:s,$or:[]},(l={})["roles."+f.GLOBAL_GROUP]={$in:o},a.$or.push(l),n?((l={})["roles."+n]={$in:o},a.$or.push(l)):a.$or.push({roles:{$in:o}}),!!(u=e.users.findOne(a,{fields:{_id:1}})))},getRolesForUser:function(r,o){if(!r)return[];if(o){if("string"!=typeof o)return[];if("$"===o[0])return[];o=o.replace(/\./g,"_")}if("string"==typeof r)r=e.users.findOne({_id:r},{fields:{roles:1}});else if("object"!=typeof r)return[];return r&&r.roles?o?t.union(r.roles[o]||[],r.roles[f.GLOBAL_GROUP]||[]):t.isArray(r.roles)?r.roles:r.roles[f.GLOBAL_GROUP]||[]:[]},getAllRoles:function(){return e.roles.find({},{sort:{name:1}})},getUsersInRole:function(r,o,n){var s,i=r,a;if(t.isArray(i)||(i=[i]),o){if("string"!=typeof o)throw new Error("Roles error: Invalid parameter 'group'. Expected 'string' type");if("$"===o[0])throw new Error("Roles error: groups can not start with '$'");o=o.replace(/\./g,"_")}return s={$or:[]},(a={})["roles."+f.GLOBAL_GROUP]={$in:i},s.$or.push(a),o?((a={})["roles."+o]={$in:i},s.$or.push(a)):s.$or.push({roles:{$in:i}}),e.users.find(s,n)},getGroupsForUser:function(r,o){var n=[];if(!r)return[];if(o){if("string"!=typeof o)return[];if("$"===o[0])return[]}if("string"==typeof r)r=e.users.findOne({_id:r},{fields:{roles:1}});else if("object"!=typeof r)return[];return r&&r.roles&&!t.isArray(r.roles)?o?(t.each(r.roles,(function(e,r){t.contains(e,o)&&r!==f.GLOBAL_GROUP&&n.push(r)})),n):t.without(t.keys(r.roles),f.GLOBAL_GROUP):[]},_update_$set_fn:function(e,r){var o={};return r?(o.$set={},o.$set["roles."+r]=e):o.$set={roles:e},o},_update_$addToSet_fn:function(e,r){var o={};return r?(o.$addToSet={},o.$addToSet["roles."+r]={$each:e}):o.$addToSet={roles:{$each:e}},o},_updateUserRoles:function(n,s,i,a){if(!n)throw new Error("Missing 'users' param");if(!s)throw new Error("Missing 'roles' param");if(i){if("string"!=typeof i)throw new Error("Roles error: Invalid parameter 'group'. Expected 'string' type");if("$"===i[0])throw new Error("Roles error: groups can not start with '$'");i=i.replace(/\./g,"_")}var l,u,c;t.isArray(n)||(n=[n]),t.isArray(s)||(s=[s]),s=t.reduce(s,(function(e,r){return r&&"string"==typeof r&&r.trim().length>0&&e.push(r.trim()),e}),[]),e.isClient?(l=t.reduce(e.roles.find({}).fetch(),(function(e,r){return e[r.name]=!0,e}),{}),t.each(s,(function(e){l[e]||f.createRole(e)}))):t.each(s,(function(e){f.createRole(e,!0)})),n=t.reduce(n,(function(e,r){var o;return"string"==typeof r?e.push(r):"object"==typeof r&&"string"==typeof(o=r._id)&&e.push(o),e}),[]),c=a(s,i);try{e.isClient?t.each(n,(function(r){e.users.update({_id:r},c)})):e.users.update({_id:{$in:n}},c,{multi:!0})}catch(p){if("MongoError"===p.name&&o(p.errmsg||p.err))throw new Error(r);throw p}}})}()}).call(this),function(){"use strict";f.debug=!1;try{if(localStorage){var e=localStorage.getItem("Roles.debug");"undefined"!=typeof e&&(f.debug=!!e)}}catch(r){}}.call(this),function(){"use strict";f._uiHelpers={isInRole:function(r,o){var n=e.user(),s=(r||"").indexOf(","),i;return!!n&&(!!u.test(r,String)&&(i=-1!==s?t.reduce(r.split(","),(function(e,r){return r&&r.trim()?(e.pu
254sh(r.trim()),e):e}),[]):[r],u.test(o,String)?f.userIsInRole(n,i,o):f.userIsInRole(n,i)))}},f.debug&&console.log&&console.log("[roles] Roles.debug =",f.debug),"undefined"!=typeof Package.blaze&&"undefined"!=typeof Package.blaze.Blaze&&"function"==typeof Package.blaze.Blaze.registerHelper&&t.each(f._uiHelpers,(function(e,r){f.debug&&console.log&&console.log("[roles] registering Blaze helper '"+r+"'"),Package.blaze.Blaze.registerHelper(r,e)}))}.call(this),function(){"use strict";s.autorun((function(){f.subscription=e.subscribe("_roles")}))}.call(this),Package._define("alanning:roles",{Roles:f})}();
255
256!function(){var a=Package.meteor.Meteor,e=Package.meteor.global,t=Package.meteor.meteorEnv,o;(function(){}).call(this),Package._define("nemo64:bootstrap-data",{BootstrapData:o})}();
257
258!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,i=Package.meteor.meteorEnv,o=Package.jquery.$,n=Package.jquery.jQuery,s=Package["nemo64:bootstrap-data"].BootstrapData;(function(){!function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this,n;return t(this).one("bsTransitionEnd",(function(){i=!0})),setTimeout((function(){i||t(o).trigger(t.support.transition.end)}),e),this},t((function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})}))}(n)}).call(this),function(){!function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.$trigger=t('[data-toggle="collapse"][href="#'+i.id+'"],[data-toggle="collapse"][data-target="#'+i.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function i(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function o(i){return this.each((function(){var o=t(this),n=o.data("bs.collapse"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i);!n&&s.toggle&&/show|hide/.test(i)&&(s.toggle=!1),n||o.data("bs.collapse",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t;return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var i,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(i=n.data("bs.collapse"))&&i.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),i||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[a](this.$element[0][l])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var i=t.Event("hide.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){var o=this.dimension();this.$element[o](this.$element[o]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return n.call(this);this.$element[o](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,o){var n=t(o);this.addAriaAndCollapsedClass(i(n),n)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=o,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var n=t(this);n.attr("data-target")||e.preventDefault();var s=i(n),a,r=s.data("bs.collapse")?"toggle":n.data();o.call(s,r)}))}(n)}.call(this),function(){!function(t){"use strict";var e=".dropdown-backdrop",i='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};function n(e){var i=e.attr("data-target");i||(i=(i=e.attr("href"))&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function s(o){o&&3===o.which||(t(e).remove(),t(i).each((function(){var e=t(this),i=n(e),s={relatedTarget:this};i.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&t.contains(i[0],o.target)||(i.trigger(o=t.Event("hide.bs.dropdown",s)),o.isDefaultPrevented()||(e.attr("aria-expanded","fal
258se"),i.removeClass("open").trigger("hidden.bs.dropdown",s))))})))}function a(e){return this.each((function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new o(this)),"string"==typeof e&&n[e].call(i)}))}o.VERSION="3.3.5",o.prototype.toggle=function(e){var i=t(this);if(!i.is(".disabled, :disabled")){var o=n(i),a=o.hasClass("open");if(s(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",s);var r={relatedTarget:this};if(o.trigger(e=t.Event("show.bs.dropdown",r)),e.isDefaultPrevented())return;i.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger("shown.bs.dropdown",r)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var o=t(this);if(e.preventDefault(),e.stopPropagation(),!o.is(".disabled, :disabled")){var s=n(o),a=s.hasClass("open");if(!a&&27!=e.which||a&&27==e.which)return 27==e.which&&s.find(i).trigger("focus"),o.trigger("click");var r=" li:not(.disabled):visible a",l=s.find(".dropdown-menu"+r);if(l.length){var h=l.index(e.target);38==e.which&&h>0&&h--,40==e.which&&h<l.length-1&&h++,~h||(h=0),l.eq(h).trigger("focus")}}}};var r=t.fn.dropdown;t.fn.dropdown=a,t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=r,this},t(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",i,o.prototype.toggle).on("keydown.bs.dropdown.data-api",i,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(n)}.call(this),function(){!function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,o){return this.each((function(){var n=t(this),s=n.data("bs.modal"),a=t.extend({},e.DEFAULTS,n.data(),"object"==typeof i&&i);s||n.data("bs.modal",s=new e(this,a)),"string"==typeof i?s[i](o):a.show&&s.show(o)}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var o=this,n=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){o.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var n=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),n&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:i});n?o.$dialog.one("bsTransitionEnd",(function(){o.$element.trigger("focus").trigger(s)})).emulateTransitionEnd(e.TRANSITION_DURATION):o.$element.trigger("focus").trigger(s)})))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("key
258down.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var o=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&n;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+n).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;s?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){o.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var o=t(this),n=o.attr("href"),s=t(o.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),a=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},s.data(),o.data());o.is("a")&&e.preventDefault(),s.one("show.bs.modal",(function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",(function(){o.is(":visible")&&o.trigger("focus")}))})),i.call(s,a,this)}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.tooltip",n=new e(this,s)),"string"==typeof i&&n[i]())}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();
vendor: 4,670 bytes, line 258
258return this._options&&t.each(this._options,(function(t,o){i[t]!=o&&(e[t]=o)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),c=s[0].offsetWidth,p=s[0].offsetHeight;if(h){var f=r,u=this.getPosition(this.$viewport);r="bottom"==r&&d.bottom+p>u.bottom?"top":"top"==r&&d.top-p<u.top?"bottom":"right"==r&&d.right+c>u.width?"left":"left"==r&&d.left-c<u.left?"right":r,s.removeClass(f).addClass(r)}var g=this.getCalculatedOffset(r,d,c,p);this.applyPlacement(g,r);var m=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",m).emulateTransitionEnd(e.TRANSITION_DURATION):m()}},e.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,a=parseInt(o.css("margin-top"),10),r=parseInt(o.css("margin-left"),10);isNaN(a)&&(a=0),isNaN(r)&&(r=0),e.top+=a,e.left+=r,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,h=o[0].offsetHeight;"top"==i&&h!=s&&(e.top=e.top+s-h);var d=this.getViewportAdjustedDelta(i,e,l,h);d.left?e.left+=d.left:e.top+=d.top;var c=/top|bottom/.test(i),p=c?2*d.left-n+l:2*d.top-s+h,f=c?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(p,o[0][f],c)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){var o=this,n=t(this.$tip),s=t.Event("hide.bs."+this.type);function a(){"in"!=o.hoverState&&n.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),i&&i()}if(this.$element.trigger(s),!s.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",a).emulateTransitionEnd(e.TRANSITION_DURATION):a(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},r=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,r,s)}
vendor: 5,478 bytes, line 258
258,e.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;h<a.left?n.left=a.left-h:d>a.right&&(n.left=a.left+a.width-d)}return n},e.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var o=t.fn.tooltip;t.fn.tooltip=i,t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(n)}.call(this),function(){!function(t){"use strict";var e=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");function i(i){return this.each((function(){var o=t(this),n=o.data("bs.popover"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.popover",n=new e(this,s)),"string"==typeof i&&n[i]())}))}e.VERSION="3.3.5",e.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(e.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=e,e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},e.prototype.hasContent=function(){return this.getTitle()||this.getContent()},e.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var o=t.fn.popover;t.fn.popover=i,t.fn.popover.Constructor=e,t.fn.popover.noConflict=function(){return t.fn.popover=o,this}}(n)}.call(this),function(){!function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},e.DEFAULTS,o.data(),"object"==typeof i&&i),a="string"==typeof i?i:s.slide;n||o.data("bs.carousel",n=new e(this,s)),"number"==typeof i?n.to(i):a?n[a]():s.interval&&n.pause().cycle()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),o;if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n,s=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(s)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".
258item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(i,n),a=this.interval,r="next"==i?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(s)]);c&&c.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(i),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",(function(){s.removeClass([i,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(p)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(p)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(e){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),i.call(s,a),r&&s.data("bs.carousel").to(r),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(i,o){this.options=t.extend({},e.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(i),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.affix"),s="object"==typeof i&&i;n||o.data("bs.affix",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.RESET="affix affix-top affix-bottom",e.DEFAULTS={offset:0,target:window},e.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(n+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?n:s.top,h;return null!=i&&n<=i?"top":null!=o&&l+(r?a:e)>=t-o&&"bottom"},e.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(e.RESET).addClass("affix");var t=this.$target.scrollTop(),i=this.$element.offset();return this.pinnedOffset=i.top-t},e.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},e.prototype.checkPosition=function(){if(this.$element.is(":visible")){var i=this.$element.height(),o=this.options.offset,n=o.top,s=o.bottom,a=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(s=n=o),"function"==typeof n&&(n=o.top(this.$element)),"function"==typeof s&&(s=o.bottom(this.$element));var r=this.getState(a,i,n,s);if(this.affixed!=r){null!=this.unpin&&this.$element.css("top","");var l="affix"+(r?"-"+r:""),h=t.Event(l+".bs.affix");if(this.$element.trigger(h),h.isDefaultPrevented())return;this.affixed=r,this.unpin="bottom"==r?this.getPinnedOffset():null,this.$element.removeClass(e.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==r&&this.$element.offset({top:a-i-s})}};var o=t.fn.affix;t.fn.affix=i,t.fn.affix.Constructor=e,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var e=t(this),o=e.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),i.call(e,o)}))}))}(n)}.call(this),function(){!function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};function o(e){return this.each((function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)}
258))}i.VERSION="3.3.5",i.TRANSITION_DURATION=150,i.prototype.close=function(e){var o=t(this),n=o.attr("data-target");n||(n=(n=o.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,""));var s=t(n);function a(){s.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),s.length||(s=o.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",a).emulateTransitionEnd(i.TRANSITION_DURATION):a())};var n=t.fn.alert;t.fn.alert=o,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(n)}.call(this),function(){!function(t){"use strict";var e=function(i,o){this.$element=t(i),this.options=t.extend({},e.DEFAULTS,o),this.isLoading=!1};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof i&&i;n||o.data("bs.button",n=new e(this,s)),"toggle"==i?n.toggle():i&&n.setState(i)}))}e.VERSION="3.3.5",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy((function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=i,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var o=t(e.target);o.hasClass("btn")||(o=o.closest(".btn")),i.call(o,"toggle"),t(e.target).is('input[type="radio"]')||t(e.target).is('input[type="checkbox"]')||e.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(n)}.call(this),function(){!function(t){"use strict";function e(i,o){this.$body=t(document.body),this.$scrollElement=t(i).is(document.body)?t(window):t(i),this.options=t.extend({},e.DEFAULTS,o),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each((function(){var o=t(this),n=o.data("bs.scrollspy"),s="object"==typeof i&&i;n||o.data("bs.scrollspy",n=new e(this,s)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",o=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",o=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var e=t(this),n=e.data("target")||e.attr("href"),s=/^#./.test(n)&&t(n);return s&&s.length&&s.is(":visible")&&[[s[i]().top+o,n]]||null})).sort((function(t,e){return t[0]-e[0]})).each((function(){e.offsets.push(this[0]),e.targets.push(this[1])}))},e.prototype.process=function(){var t=this.$scrollElement.scrollTop()+this.options.offset,e=this.getScrollHeight(),i=this.options.offset+e-this.$scrollElement.height(),o=this.offsets,n=this.targets,s=this.activeTarget,a;if(this.scrollHeight!=e&&this.refresh(),t>=i)return s!=(a=n[n.length-1])&&this.activate(a);if(s&&t<o[0])return this.activeTarget=null,this.clear();for(a=o.length;a--;)s!=n[a]&&t>=o[a]&&(void 0===o[a+1]||t<o[a+1])&&this.activate(n[a])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',o=t(i).parents("li").addClass("active");o.parent(".dropdown-menu").length&&(o=o.closest("li.dropdown").addClass("active")),o.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var o=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=o,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(n)}.call(this),function(){!function(t){"use strict";var e=function(e){this.element=t(e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tab");n||o.data("bs.tab",n=new e(this)),"string"==typeof i&&n[i]()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),o=e.data("target");if(o||(o=(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),a=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(s),e.trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){var r=t(o);this.activate(e.closest("li"),i),this.activate(r,r.parent(),(function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})}))}}},e.prototype.activate=function(i,o,n){var s=o.find("> .active"),a=n&&t.support.transition&&(s.length&&s.hasClass("fade")||!!o.find("> .fade").length);function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),i.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(i[0].offsetWidth,i.addClass("in")):i.removeClass("fade"),i.parent(".dropdown-menu").length&&i.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),s.removeClass("in")};var o=t.fn.tab;t.fn.tab=i,t.fn.tab.Constructor=e,t.fn.tab.noConflict=function(){return t.fn.tab=o,this};var n=function(e){e.preventDefault(),i.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(n)}.call(this),Package._define("nemo64:bootstrap")}();
259
260Package._define("coffeescript");
261
262!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,a=Package.meteor.meteorEnv,n=Package.check.check,r=Package.check.Match,o=Package["reactive-dict"].ReactiveDict,i=Package.underscore._,l,c;(function(){(function(){var t=l="object"==typeof l?l:{},a,i,u,s,g,f;s=g=null,a=function(e){var t;try{return n(e,r.OneOf(RegExp,String))}catch(a){throw t=a,new Error(u.invalidArgument)}},i=function(){var e;if(s=null!=(e=Package["kadira:flow-router"])?e:Package["meteorhacks:flow-router"],!(g=Package["iron:router"])&&!s)throw new Error(u.noSupportedRouter)},u={noSupportedRouter:"No supported router installed. Please install iron:router or meteorhacks:flow-router.",invalidArgument:"Invalid argument, must be String or RegExp."},t.config=new o("activeRouteConfig"),t.config.setDefault({activeClass:"active",caseSensitive:!0,disabledClass:"disabled"}),f=function(e,a){var n;return!!e&&(r.test(a,RegExp)?n=(n=e.search(a))>
262-1:r.test(a,String)&&(t.config.equals("caseSensitive",!1)&&(e=e.toLowerCase(),a=a.toLowerCase()),n=e===a),null!=n?n:n=!1)},c={config:function(){return this.configure.apply(this,arguments)},configure:function(a){e.isServer||t.config.set(a)},name:function(t){var n,r,o;if(i(),!e.isServer)return a(t),g&&(n=null!=(r=g.Router.current())&&null!=(o=r.route)&&"function"==typeof o.getName?o.getName():void 0),s&&null==n&&(n=s.FlowRouter.getRouteName()),f(n,t)},path:function(t){var n,r;if(i(),!e.isServer)return a(t),g&&(null!=(n=g.Router.current())?n.route:void 0)&&(r=null!=n?n.location.get().path:void 0),s&&(s.FlowRouter.watchPathChange(),null==r&&(r=s.FlowRouter.current().path)),f(r,t)}}}).call(this),function(){var e=l="object"==typeof l?l:{},t,a,o,u,s,g={}.hasOwnProperty;if(Package.templating)for(s in t=Package.templating.Template,u=function(t,a){var o;return null==a&&(a=!1),o="is",a&&(o+="Not"),o+="Active"+t,function(l,u){var s,g,f,h,v,p,m,d,P;return null==l&&(l={}),null==u&&(u={}),r.test(l,Spacebars.kw)&&(l=l.hash),r.test(u,Spacebars.kw)&&(u=u.hash),r.test(l,String)&&(l=e.config.equals("regex",!0)?{regex:l}:"Path"===t?{path:l}:{name:l}),l=i.defaults(u,l),v=r.ObjectIncluding({class:r.Optional(String),className:r.Optional(String),regex:r.Optional(r.OneOf(RegExp,String)),name:r.Optional(String),path:r.Optional(String)}),n(l,v),p=l.regex,f=l.name,h=l.path,s=null!=(P=l.class)?P:l.className,"Path"===t?f=null:h=null,p||f||h?(r.test(p,String)&&(p=e.config.equals("caseSensitive",!1)?new RegExp(p,"i"):new RegExp(p)),null==p&&(p=f||h),a?null==s&&(s=e.config.get("disabledClass")):null==s&&(s=e.config.get("activeClass")),"Path"===t&&(g=!0),m=g?c.path(p):c.name(p),a&&(m=!m),!!m&&s):(d=(d="Route"===t?"name":t).toLowerCase(),console.error("Invalid argument, "+o+' takes "'+d+'", '+d+'="'+d+'" or regex="regex"'),!1)}},o={isActiveRoute:u("Route"),isActivePath:u("Path"),isNotActiveRoute:u("Route",!0),isNotActivePath:u("Path",!0)})g.call(o,s)&&(a=o[s],t.registerHelper(s,a))}.call(this)}).call(this),Package._define("zimme:active-route",{ActiveRoute:c})}();
263
264!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,t=Package.meteor.meteorEnv,o=Package["zimme:active-route"].ActiveRoute;(function(){}).call(this),Package._define("zimme:iron-router-active")}();
265
266Package._define("percolate:migrations");
267
268!function(){var t=Package.meteor.Meteor,n=Package.meteor.global,i=Package.meteor.meteorEnv,e;(function(){(function(){e=e||function(t,n){var i={},e=i.lib={},r=e.Base=function(){function t(){}return{extend:function(n){t.prototype=this;var i=new t;return n&&i.mixIn(n),i.hasOwnProperty("init")||(i.init=function(){i.$super.init.apply(this,arguments)}),i.init.prototype=i,i.$super=this,i},create:function(){var t=this.extend();return t.init.apply(t,arguments),t},init:function(){},mixIn:function(t){for(var n in t)t.hasOwnProperty(n)&&(this[n]=t[n]);t.hasOwnProperty("toString")&&(this.toString=t.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),o=e.WordArray=r.extend({init:function(t,i){t=this.words=t||[],this.sigBytes=i!=n?i:4*t.length},toString:function(t){return(t||a).stringify(this)},concat:function(t){var n=this.words,i=t.words,e=this.sigBytes,r=t.sigBytes;if(this.clamp(),e%4)for(var o=0;o<r;o++){var s=i[o>>>2]>>>24-o%4*8&255;n[e+o>>>2]|=s<<24-(e+o)%4*8}else if(i.length>65535)for(var o=0;o<r;o+=4)n[e+o>>>2]=i[o>>>2];else n.push.apply(n,i);return this.sigBytes+=r,this},clamp:function(){var n=this.words,i=this.sigBytes;n[i>>>2]&=4294967295<<32-i%4*8,n.length=t.ceil(i/4)},clone:function(){var t=r.clone.call(this);return t.words=this.words.slice(0),t},random:function(n){for(var i=[],e=0;e<n;e+=4)i.push(4294967296*t.random()|0);return new o.init(i,n)}}),s=i.enc={},a=s.Hex={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push((o>>>4).toString(16)),e.push((15&o).toString(16))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e+=2)i[e>>>3]|=parseInt(t.substr(e,2),16)<<24-e%8*4;return new o.init(i,n/2)}},c=s.Latin1={stringify:function(t){for(var n=t.words,i=t.sigBytes,e=[],r=0;r<i;r++){var o=n[r>>>2]>>>24-r%4*8&255;e.push(String.fromCharCode(o))}return e.join("")},parse:function(t){for(var n=t.length,i=[],e=0;e<n;e++)i[e>>>2]|=(255&t.charCodeAt(e))<<24-e%4*8;return new o.init(i,n)}},u=s.Utf8={stringify:function(t){try{return decodeURIComponent(escape(c.stringify(t)))}catch(n){throw new Error("Malformed UTF-8 data")}},parse:function(t){return c.parse(unescape(encodeURIComponent(t)))}},f=e.BufferedBlockAlgorithm=r.extend({reset:function(){this._data=new o.init,this._nDataBytes=0},_append:function(t){"string"==typeof t&&(t=u.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes},_process:function(n){var i=this._data,e=i.words,r=i.sigBytes,s=this.blockSize,a,c=r/(4*s),u=(c=n?t.ceil(c):t.max((0|c)-this._minBufferSize,0))*s,f=t.min(4*u,r);if(u){for(var h=0;h<u;h+=s)this._doProcessBlock(e,h);var p=e.splice(0,u);i.sigBytes-=f}return new o.init(p,f)},clone:function(){var t=r.clone.call(this);return t._data=this._data.clone(),t},_minBufferSize:0}),h=e.Hasher=f.extend({cfg:r.extend(),init:function(t){this.cfg=this.cfg.extend(t),this.reset()},reset:function(){f.reset.call(this),this._doReset()},update:function(t){return this._append(t),this._process(),this},finalize:function(t){var n;return t&&this._append(t),this._doFinalize()},blockSize:16,_createHelper:function(t){return function(n,i){return new t.init(i).finalize(n)}},_createHmacHelper:function(t){return function(n,i){return new p.HMAC.init(t,i).finalize(n)}}}),p=i.algo={};return i}(Math)}).call(this)}).call(this),Package._define("jparker:crypto-core",{CryptoJS:e})}();
269
270!function(){var r=Package.meteor.Meteor,a=Package.meteor.global,e=Package.meteor.meteorEnv,t=Package["jparker:crypto-core"].CryptoJS;(function(){(function(){!function(r){var a=t,e=a.lib,n=e.WordArray,o=e.Hasher,c=a.algo,i=[];!function(){for(var a=0;a<64;a++)i[a]=4294967296*r.abs(r.sin(a+1))|0}();var s=c.MD5=o.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(r,a){for(var e=0;e<16;e++){var t=a+e,n=r[t];r[t]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8)}var o=this._hash.words,c=r[a+0],s=r[a+1],v=r[a+2],_=r[a+3],d=r[a+4],g=r[a+5],k=r[a+6],p=r[a+7],m=r[a+8],y=r[a+9],P=r[a+10],H=r[a+11],M=r[a+12],w=r[a+13],B=r[a+14],D=r[a+15],b=o[0],j=o[1],x=o[2],z=o[3];b=h(b,j,x,z,c,7,i[0]),z=h(z,b,j,x,s,12,i[1]),x=h(x,z,b,j,v,17,i[2]),j=h(j,x,z,b,_,22,i[3]),b=h(b,j,x,z,d,7,i[4]),z=h(z,b,j,x,g,12,
270i[5]),x=h(x,z,b,j,k,17,i[6]),j=h(j,x,z,b,p,22,i[7]),b=h(b,j,x,z,m,7,i[8]),z=h(z,b,j,x,y,12,i[9]),x=h(x,z,b,j,P,17,i[10]),j=h(j,x,z,b,H,22,i[11]),b=h(b,j,x,z,M,7,i[12]),z=h(z,b,j,x,w,12,i[13]),x=h(x,z,b,j,B,17,i[14]),b=l(b,j=h(j,x,z,b,D,22,i[15]),x,z,s,5,i[16]),z=l(z,b,j,x,k,9,i[17]),x=l(x,z,b,j,H,14,i[18]),j=l(j,x,z,b,c,20,i[19]),b=l(b,j,x,z,g,5,i[20]),z=l(z,b,j,x,P,9,i[21]),x=l(x,z,b,j,D,14,i[22]),j=l(j,x,z,b,d,20,i[23]),b=l(b,j,x,z,y,5,i[24]),z=l(z,b,j,x,B,9,i[25]),x=l(x,z,b,j,_,14,i[26]),j=l(j,x,z,b,m,20,i[27]),b=l(b,j,x,z,w,5,i[28]),z=l(z,b,j,x,v,9,i[29]),x=l(x,z,b,j,p,14,i[30]),b=u(b,j=l(j,x,z,b,M,20,i[31]),x,z,g,4,i[32]),z=u(z,b,j,x,m,11,i[33]),x=u(x,z,b,j,H,16,i[34]),j=u(j,x,z,b,B,23,i[35]),b=u(b,j,x,z,s,4,i[36]),z=u(z,b,j,x,d,11,i[37]),x=u(x,z,b,j,p,16,i[38]),j=u(j,x,z,b,P,23,i[39]),b=u(b,j,x,z,w,4,i[40]),z=u(z,b,j,x,c,11,i[41]),x=u(x,z,b,j,_,16,i[42]),j=u(j,x,z,b,k,23,i[43]),b=u(b,j,x,z,y,4,i[44]),z=u(z,b,j,x,M,11,i[45]),x=u(x,z,b,j,D,16,i[46]),b=f(b,j=u(j,x,z,b,v,23,i[47]),x,z,c,6,i[48]),z=f(z,b,j,x,p,10,i[49]),x=f(x,z,b,j,B,15,i[50]),j=f(j,x,z,b,g,21,i[51]),b=f(b,j,x,z,M,6,i[52]),z=f(z,b,j,x,_,10,i[53]),x=f(x,z,b,j,P,15,i[54]),j=f(j,x,z,b,s,21,i[55]),b=f(b,j,x,z,m,6,i[56]),z=f(z,b,j,x,D,10,i[57]),x=f(x,z,b,j,k,15,i[58]),j=f(j,x,z,b,w,21,i[59]),b=f(b,j,x,z,d,6,i[60]),z=f(z,b,j,x,H,10,i[61]),x=f(x,z,b,j,v,15,i[62]),j=f(j,x,z,b,y,21,i[63]),o[0]=o[0]+b|0,o[1]=o[1]+j|0,o[2]=o[2]+x|0,o[3]=o[3]+z|0},_doFinalize:function(){var a=this._data,e=a.words,t=8*this._nDataBytes,n=8*a.sigBytes;e[n>>>5]|=128<<24-n%32;var o=r.floor(t/4294967296),c=t;e[15+(n+64>>>9<<4)]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),e[14+(n+64>>>9<<4)]=16711935&(c<<8|c>>>24)|4278255360&(c<<24|c>>>8),a.sigBytes=4*(e.length+1),this._process();for(var i=this._hash,s=i.words,h=0;h<4;h++){var l=s[h];s[h]=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8)}return i},clone:function(){var r=o.clone.call(this);return r._hash=this._hash.clone(),r}});function h(r,a,e,t,n,o,c){var i=r+(a&e|~a&t)+n+c;return(i<<o|i>>>32-o)+a}function l(r,a,e,t,n,o,c){var i=r+(a&t|e&~t)+n+c;return(i<<o|i>>>32-o)+a}function u(r,a,e,t,n,o,c){var i=r+(a^e^t)+n+c;return(i<<o|i>>>32-o)+a}function f(r,a,e,t,n,o,c){var i=r+(e^(a|~t))+n+c;return(i<<o|i>>>32-o)+a}a.MD5=o._createHelper(s),a.HmacMD5=o._createHmacHelper(s)}(Math)}).call(this)}).call(this),Package._define("jparker:crypto-md5")}();
271
272!function(){var a=Package.meteor.Meteor,r=Package.meteor.global,e=Package.meteor.meteorEnv,t=Package.underscore._,n=Package["jparker:crypto-core"].CryptoJS,c;(function(){c={cleanString:function(a){return a.trim().toLowerCase()},isHash:function(a){var r;return/^[a-f0-9]{32}$/i.test(this.cleanString(a))},hash:function(a){var r=this;return n.MD5(r.cleanString(a)).toString()},imageUrl:function(a,r){var e=this,n=(r=r||{}).secure?"https://secure.gravatar.com/avatar/":"http://www.gravatar.com/avatar/";delete r.secure,n+=e.isHash(a)?a:e.hash(a);var c=t.map(r,(function(a,r){return r+"="+encodeURIComponent(a)})).join("&");return c.length>0?n+"?"+c:n}}}).call(this),Package._define("jparker:gravatar",{Gravatar:c})}();
273
274!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,r=Package["templating-runtime"].Template,n=Package["reactive-var"].ReactiveVar,a=Package.underscore._,s=Package["jparker:gravatar"].Gravatar,o=Package.blaze.Blaze,l=Package.blaze.UI,c=Package.blaze.Handlebars,u=Package.spacebars.Spacebars,p=Package.htmljs.HTML,f,g,h,m,d,v,k,C,x,b,P,y;(function(){r.__checkName("avatar"),r.avatar=new r("Template.avatar",(function(){var e=this;return p.DIV({class:function(){return[u.mustache(e.lookup("cssClassPrefix"))," ",u.mustache(e.lookup("size"))," ",u.mustache(e.lookup("shape"))," ",u.mustache(e.lookup("class"))]}},"\n    ",p.IMG({class:function(){return[u.mustache(e.lookup("cssClassPrefix")),"-image"]},src:function(){return u.mustache(e.lookup("imageUrl"))},alt:"avatar",onerror:"this.style.display='none';"}),"\n    ",p.SPAN({class:function(){return[u.mustache(e.lookup("cssClassPrefix")),"-initials"]},style:function(){return u.mustache(e.lookup("initialsCss"))}},o.View("lookup:initialsText",(function(){return u.mustache(e.lookup("initialsText"))}))),"\n  ")}))}).call(this),function(){r.avatar.helpers({cssClassPrefix:function(){return y.getCssClassPrefix()},size:function(){return v(this)},shape:function(){return k(this)},class:function(){return C(this)},imageUrl:function(){var t=this.user?this.user:e.users.findOne(this.userId),i=y.getUrl(t);if(i&&""!==i.trim()&&r.instance().firstNode){var n=r.instance().find("img");n.src!==i.trim()&&n.style.removeProperty("display")}return i},initialsCss:function(){var t=this.user?this.user:e.users.findOne(this.userId),i="",r="background-color: ";
274this.bgColor?r+=this.bgColor:r+=y.getBackgroundColor(t),i+=r+";";var n="color: ";return this.txtColor?n+=this.txtColor:n+=y.getTextColor(t),i+=n+";"},initialsText:function(){var t=this.user?this.user:e.users.findOne(this.userId);return x(t,this)}})}.call(this),function(){f=function(e,t){for(var i=t.split(".");i.length&&(e=e[i.shift()]););return e}}.call(this),function(){g=function(e){var t=e&&e.services||{};if(h(e))return"custom";var i=a.find([["twitter","profile_image_url_https"],["facebook","id"],["google","picture"],["github","username"],["instagram","profile_picture"],["linkedin","pictureUrl"]],(function(e){return!!t[e[0]]&&e[1].length&&!!t[e[0]][e[1]]}));return i?i[0]:"none"},h=function(e){var t=function(t){if("function"==typeof t&&(t=t.call(e)),t&&"string"==typeof t)return t},i=e&&y.options.customImageProperty;return"function"==typeof i?t(i):i?t(f(e,i)):void 0},m=function(e,t){var i,r=["404","mm","identicon","monsterid","wavatar","retro","blank"],n;"initials"!==y.options.fallbackType?i=a.contains(r,y.options.gravatarDefault)?y.options.gravatarDefault:t:i="404";var o={default:i,size:200,secure:!0},l=d(e);return s.imageUrl(l,o)},d=function(e){var t;if(e&&y.options.emailHashProperty&&f(e,y.options.emailHashProperty))t=f(e,y.options.emailHashProperty);else if(e&&e.emails){var i;t=a.pluck(e.emails,"address")[0]||"00000000000000000000000000000000"}else t="00000000000000000000000000000000";return t},v=function(e){return y.options.imageSizes[e.size]?y.getCssClassPrefix()+"-"+e.size:""},k=function(e){var t=["rounded","circle"];return a.contains(t,e.shape)?y.getCssClassPrefix()+"-"+e.shape:""},C=function(e){return e.class?e.class:""},x=function(e,t){return t.initials||y.getInitials(e)},b=function(){if(e.isServer){var t="."+y.getCssClassPrefix(),i=t+" ",r=t+" { \n      height: 50px; \n      width: 50px; \n      position: relative; \n    } \n"+i+t+"-image, \n"+i+t+"-initials { \n      height: 100%; \n      width: 100%; \n      position: absolute; \n      top: 0px; \n      left: 0px; \n    } \n"+i+t+"-image { \n      z-index: 10; \n      background-color: #fff; \n    } \n"+i+t+"-initials { \n      display: block; \n      background-size: 100% 100%; \n      background-color: "+y.options.backgroundColor+"; \n      color: "+y.options.textColor+'; \n      font-size: 25px; \n      line-height: 50px; \n      font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", Arial, sans-serif; \n      text-align: center; \n      z-index: 1; \n    } \n'+t+"-rounded "+t+"-image, \n"+t+"-rounded "+t+"-initials { \n      border-radius: 5px; \n    } \n"+t+"-circle "+t+"-image, \n"+t+"-circle "+t+"-initials { \n      border-radius: 50%; \n    } \n"+t+"-hide-image "+t+"-image { \n      display: none; \n    } \n"+t+"-hide-initials "+t+"-initials { \n      display: none; \n    } \n  ";for(P in y.options.imageSizes){var n=y.options.imageSizes[P];r=r+t+"-"+P+" {width: "+n+"px; min-width: "+n+"px; height: "+n+"px;}\n"+t+"-"+P+" "+t+"-initials {font-size: "+n/2+"px; line-height: "+n+"px;}\n"}Inject.rawHead("avatar-styles","<style>"+r+"</style>")}}}.call(this),function(){(y={options:{fallbackType:"",defaultImageUrl:"",customImageProperty:"",gravatarDefault:"",emailHashProperty:"",cssClassPrefix:"",imageSizes:{large:80,small:30,"extra-small":20},backgroundColor:"#aaa",textColor:"#fff",generateCSS:!0},setOptions:function(e){y.options=a.extend(y.options,e),y.options.generateCSS&&b()},getCssClassPrefix:function(){return y.options.cssClassPrefix?y.options.cssClassPrefix:"avatar"},getBackgroundColor:function(e){return a.isString(y.options.backgroundColor)?y.options.backgroundColor:a.isFunction(y.options.backgroundColor)?y.options.backgroundColor(e):void 0},getTextColor:function(e){return a.isString(y.options.textColor)?y.options.textColor:a.isFunction(y.options.textColor)?y.options.textColor(e):void 0},getInitials:function(e){var t="",i="",r=[];return e&&e.profile&&e.profile.firstName?(t=e.profile.firstName.charAt(0).toUpperCase(),e.profile.lastName?t+=e.profile.lastName.charAt(0).toUpperCase():e.profile.familyName?t+=e.profile.familyName.charAt(0).toUpperCase():e.profile.secondName&&(t+=e.profile.secondName.charAt(0).toUpperCase())):(e&&e.profile&&e.profile.name?i=e.profile.name:e&&e.username&&(i=e.username),r=i.split(" "),t=a.first(r).charAt(0).toUpperCase(),r.length>1&&(t+=a.last(r).charAt(0).toUpperCase())),t},getUrl:function(t){var i="",r,n;return t&&("twitter"===(n=g(t))?i=t.services.twitter.profile_image_url_https.replace("_normal.","_200x200."):"facebook"===n?i="https://graph.facebook.com/"+t.services.facebook.id+"/picture/?type=large":"google"===n?i=t.services.google.picture:"github"===n?i="https://avatars.githubusercontent.com/"+t.services.github.username+"?s=200":"instagram"===n?i=t.services.instagram.profile_picture:"linkedin"===n?i=t.services.linkedin.pictureUrl:"custom"===n?i=h(t):"none"===n&&(-1===(r=y.options.defaultImageUrl||"/packages/utilities_avatar/default.png").indexOf("//")&&("/"===r.charAt(0)&&(r=r.slice(1)),r=e.absoluteUrl()+r),i=m(t,r))),i},hash:function(e){return s.hash(e)}}).setOptions({})}.call(this),Package._define("utilities:avatar",{Avatar:y})}();
275
276!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,o=Package.meteor.meteorEnv;(function(){}).call(this),Package._define("percolatestudio:synced-cron")}();
277
278Package._define("reywood:publish-composite");
279
280Package._define("simple:json-routes");
281
282Package._define("nimble:restivus");
283
284!function(){var a=Package.meteor.Meteor,e=Package.meteor.global,l=Package.meteor.meteorEnv,o=Package["templating-runtime"].Template,n=Package.jquery.$,t=Package.jquery.jQuery,c=Package.blaze.Blaze,d=Package.blaze.UI,i=Package.blaze.Handlebars,m=Package.spacebars.Spacebars,r=Package.htmljs.HTML,u;(function(){var a=null;u={allowMultiple:!1,show:function(e,l,n){if(null==a||this.allowMultiple){var t=document.body,d=c.renderWithData(o[e],l,t),i,m=d._domrange.$(".modal");m.on("shown.bs.modal",(function(a){m.find("[autofocus]").focus()})),m.on("hidden.bs.modal",(function(e){c.remove(d),a=null})),a=m,m.modal(n||{})}},hide:function(e){e instanceof c.TemplateInstance?e.$(".modal").modal("hide"):null!=a&&a.modal("hide")}}}).call(this),Package._define("peppelg:bootstrap-3-modal",{Modal:u})}();
285
286!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv;(function(){var e;e=function(e){"use strict";var t=(s=function(e){return function(){return!e.apply(e,arguments)}},d=function(e,t){return function(){return e[t].apply(e,arguments)}},u=0,m=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t},{eq:function(e){return function(t){return e===t}},eq2:function(e,t){return e===t},peq2:function(e){return function(t,n){return t[e]===n[e]}},ok:function(){return!0},fail:function(){return!1},self:function(e){return e},not:s,and:function(e,t){return function(n){return e(n)&&t(n)}},invoke:d,uniqueId:function(e){var t=++u+"";return e?e+t:t},rect2bnd:function(t){var n=e(document);return{top:t.top+n.scrollTop(),left:t.left+n.scrollLeft(),width:t.right-t.left,height:t.bottom-t.top}},invertObject:m,namespaceToCamel:function(e,t){return(t=t||"")+e.split(".").map((function(e){return e.substring(0,1).toUpperCase()+e.substring(1)})).join("")}}),n,o,i,r,a,s,l,c,d,u,f,h,m,p,g=(N=function(t,n){return e.inArray(n,t)},P=function(e,t){return e.length?y(e).reduce((function(e,n){var o=b(e);return t(b(o),n)?o[o.length]=n:e[e.length]=[n],e}),[[v(e)]]):[];var n},R=function(e){for(var t=[],n=0,o=e.length;n<o;
286n++)T(t,e[n])||t.push(e[n]);return t},{head:v=function(e){return e[0]},last:b=function(e){return e[e.length-1]},initial:function(e){return e.slice(0,e.length-1)},tail:y=function(e){return e.slice(1)},prev:function(e,t){var n=N(e,t);return-1===n?null:e[n-1]},next:function(e,t){var n=N(e,t);return-1===n?null:e[n+1]},find:function(e,t){for(var n=0,o=e.length;n<o;n++){var i=e[n];if(t(i))return i}},contains:T=function(e,t){return-1!==N(e,t)},all:function(e,t){for(var n=0,o=e.length;n<o;n++)if(!t(e[n]))return!1;return!0},sum:function(e,n){return n=n||t.self,e.reduce((function(e,t){return e+n(t)}),0)},from:function(e){for(var t=[],n=-1,o=e.length;++n<o;)t[n]=e[n];return t},isEmpty:function(e){return!e||!e.length},clusterBy:P,compact:function(e){for(var t=[],n=0,o=e.length;n<o;n++)e[n]&&t.push(e[n]);return t},unique:R}),v,b,k,y,C,w,N,T,I,E,S,P,H,R,x,F,L="function"==typeof define&&define.amd,A=function(t){var n="Comic Sans MS"===t?"Courier New":"Comic Sans MS",o=e("<div>").css({position:"absolute",left:"-9999px",top:"-9999px",fontSize:"200px"}).text("mmmmmmmmmwwwwwww").appendTo(document.body),i=o.css("fontFamily",n).width(),r=o.css("fontFamily",t+","+n).width();return o.remove(),i!==r},D=navigator.userAgent,M=/MSIE|Trident/i.test(D),z;if(M){var B=/MSIE (\d+[.]\d+)/.exec(D);B&&(z=parseFloat(B[1])),(B=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(D))&&(z=parseFloat(B[1]))}var $=/Edge\/\d+/.test(D),U=!!window.CodeMirror;if(!U&&L&&require)if(require.hasOwnProperty("resolve"))try{require.resolve("codemirror"),U=!0}catch(Ge){U=!1}else require.hasOwnProperty("specified")&&(U=require.specified("codemirror"));var O={isMac:navigator.appVersion.indexOf("Mac")>-1,isMSIE:M,isEdge:$,isFF:!$&&/firefox/i.test(D),isPhantom:/PhantomJS/i.test(D),isWebkit:!$&&/webkit/i.test(D),isChrome:!$&&/chrome/i.test(D),isSafari:!$&&/safari/i.test(D),browserVersion:z,jqueryVersion:parseFloat(e.fn.jquery),isSupportAmd:L,hasCodeMirror:U,isFontInstalled:A,isW3CRangeSupport:!!document.createRange},j=String.fromCharCode(160),K="\ufeff",V=function(){var n=function(t){return t&&e(t).hasClass("note-editable")},o=function(t){return t&&e(t).hasClass("note-control-sizing")},i=function(e){return e=e.toUpperCase(),function(t){return t&&t.nodeName.toUpperCase()===e}},r=function(e){return e&&3===e.nodeType},a=function(e){return e&&1===e.nodeType},s=function(e){return e&&/^BR|^IMG|^HR|^IFRAME|^BUTTON/.test(e.nodeName.toUpperCase())},l=function(e){return!n(e)&&e&&/^DIV|^P|^LI|^H[1-7]/.test(e.nodeName.toUpperCase())},c=function(e){return e&&/^H[1-7]/.test(e.nodeName.toUpperCase())},d=i("PRE"),u=i("LI"),f=function(e){return l(e)&&!u(e)},h=i("TABLE"),m=function(e){return!(y(e)||p(e)||v(e)||l(e)||h(e)||k(e))},p=function(e){return e&&/^UL|^OL/.test(e.nodeName.toUpperCase())},v=i("HR"),b=function(e){return e&&/^TD|^TH/.test(e.nodeName.toUpperCase())},k=i("BLOCKQUOTE"),y=function(e){return b(e)||k(e)||n(e)},C=i("A"),w=function(e){return m(e)&&!!x(e,l)},N=function(e){return m(e)&&!x(e,l)},T=i("BODY"),I=function(e,t){return e.nextSibling===t||e.previousSibling===t}
286,E=function(e,n){n=n||t.ok;var o=[];return e.previousSibling&&n(e.previousSibling)&&o.push(e.previousSibling),o.push(e),e.nextSibling&&n(e.nextSibling)&&o.push(e.nextSibling),o},S=O.isMSIE&&O.browserVersion<11?"&nbsp;":"<br>",P=function(e){return r(e)?e.nodeValue.length:e.childNodes.length},H=function(e){var t=P(e);return 0===t||!r(e)&&1===t&&e.innerHTML===S||!(!g.all(e.childNodes,r)||""!==e.innerHTML)},R=function(e){s(e)||P(e)||(e.innerHTML=S)},x=function(e,t){for(;e;){if(t(e))return e;if(n(e))break;e=e.parentNode}return null},F=function(e,t){for(e=e.parentNode;e&&1===P(e);){if(t(e))return e;if(n(e))break;e=e.parentNode}return null},L=function(e,o){o=o||t.fail;var i=[];return x(e,(function(e){return n(e)||i.push(e),o(e)})),i},A=function(e,t){var n=L(e);return g.last(n.filter(t))},D=function(t,n){for(var o=L(t),i=n;i;i=i.parentNode)if(e.inArray(i,o)>-1)return i;return null},M=function(e,n){n=n||t.fail;for(var o=[];e&&!n(e);)o.push(e),e=e.previousSibling;return o},z=function(e,n){n=n||t.fail;for(var o=[];e&&!n(e);)o.push(e),e=e.nextSibling;return o},B=function(e,n){var o=[];return n=n||t.ok,function t(i){e!==i&&n(i)&&o.push(i);for(var r=0,a=i.childNodes.length;r<a;r++)t(i.childNodes[r])}(e),o},$=function(t,n){var o=t.parentNode,i=e("<"+n+">")[0];return o.insertBefore(i,t),i.appendChild(t),i},U=function(e,t){var n=t.nextSibling,o=t.parentNode;return n?o.insertBefore(e,n):o.appendChild(e),e},W=function(t,n){return e.each(n,(function(e,n){t.appendChild(n)})),t},q=function(e){return 0===e.offset},_=function(e){return e.offset===P(e.node)},G=function(e){return q(e)||_(e)},Y=function(e,t){for(;e&&e!==t;){if(0!==X(e))return!1;e=e.parentNode}return!0},Z=function(e,t){for(;e&&e!==t;){if(X(e)!==P(e.parentNode)-1)return!1;e=e.parentNode}return!0},J=function(e,t){return q(e)&&Y(e.node,t)},Q=function(e,t){return _(e)&&Z(e.node,t)},X=function(e){for(var t=0;e=e.previousSibling;)t+=1;return t},ee=function(e){return!!(e&&e.childNodes&&e.childNodes.length)},te=function(e,t){var o,i;if(0===e.offset){if(n(e.node))return null;o=e.node.parentNode,i=X(e.node)}else ee(e.node)?(o=e.node.childNodes[e.offset-1],i=P(o)):(o=e.node,i=t?0:e.offset-1);return{node:o,offset:i}},ne=function(e,t){var o,i;if(P(e.node)===e.offset){if(n(e.node))return null;o=e.node.parentNode,i=X(e.node)+1}else ee(e.node)?(o=e.node.childNodes[e.offset],i=0):(o=e.node,i=t?P(e.node):e.offset+1);return{node:o,offset:i}},oe=function(e,t){return e.node===t.node&&e.offset===t.offset},ie=function(e){if(r(e.node)||!ee(e.node)||H(e.node))return!0;var t=e.node.childNodes[e.offset-1],n=e.node.childNodes[e.offset];return!(t&&!s(t)||n&&!s(n))},re=function(e,t){for(;e;){if(t(e))return e;e=te(e)}return null},ae=function(e,t){for(;e;){if(t(e))return e;e=ne(e)}return null},se=function(e){if(!r(e.node))return!1;var t=e.node.nodeValue.charAt(e.offset-1);return t&&" "!==t&&t!==j},le=function(e,t,n,o){for(var i=e;i&&(n(i),!oe(i,t));){var r=o&&e.node!==i.node&&t.node!==i.node;i=ne(i,r)}},ce=function(e,n){var o;return L(n,t.eq(e)).map(X).reverse()},de=function(e,t){for(var n=e,o=0,i=t.length;o<i;o++)n=n.childNodes.length<=t[o]?n.childNodes[n.childNodes.length-1]:n.childNodes[t[o]];return n},ue=function(e,t){var n=t&&t.isSkipPaddingBlankHTML,o=t&&t.isNotSplitEdgePoint;if(G(e)&&(r(e.node)||o)){if(q(e))return e.node;if(_(e))return e.node.nextSibling}if(r(e.node))return e.node.splitText(e.offset);var i=e.node.childNodes[e.offset],a=U(e.node.cloneNode(!1),e.node);return W(a,z(i)),n||(R(e.node),R(a)),a},fe=function(e,n,o){var i=L(n.node,t.eq(e));return i.length?1===i.length?ue(n,o):i.reduce((function(e,t){return e===n.node&&(e=ue(n,o)),ue({node:t,offset:e?V.position(e):P(t)},o)})):null},he=function(e,t){var n=t?l:y,o=L(e.node,n),i=g.last(o)||e.node,r,a;n(i)?(r=o[o.length-2],a=i):a=(r=i).parentNode;var s=r&&fe(r,e,{isSkipPaddingBlankHTML:t,isNotSplitEdgePoint:t});return s||a!==e.node||(s=e.node.childNodes[e.offset]),{rightNode:s,container:a}},me=function(e){return document.createElement(e)},pe=function(e){return document.createTextNode(e)},ge=function(e,t){if(e&&e.parentNode){if(e.removeNode)return e.removeNode(t);var n=e.parentNode;if(!t){var o=[],i,r;for(i=0,r=e.childNodes.length;i<r;i++)o.push(e.childNodes[i]);for(i=0,r=o.length;i<r;i++)n.insertBefore(o[i],e)}n.removeChild(e)}},ve=function(e,t){for(;e&&!n(e)&&t(e);){var o=e.parentNode;ge(e),e=o}},be=function(e,t){if(e.nodeName.toUpperCase()===t.toUpperCase())return e;var n=me(t);return e.style.cssText&&(n.style.cssText=e.style.cssText),W(n,g.from(e.childNodes)),U(n,e),ge(e),n},ke=i("TEXTAREA"),ye=function(e,t){var n=ke(e[0])?e.val():e.html();return t?n.replace(/[\n\r]/g,""):n},Ce=function(t,n){var o=ye(t);if(n){var i=/<(\/?)(\b(?!!)[^>\s]*)(.*?)(\s*\/?>)/g;o=o.replace(i,(function(e,t,n){n=n.toUpperCase();var o=/^DIV|^TD|^TH|^P|^LI|^H[1-7]/.test(n)&&!!t,i=/^BLOCKQUOTE|^TABLE|^TBODY|^TR|^HR|^UL|^OL/.test(n);return e+(o||i?"\n":"")})),o=e.trim(o)}return o},we=function(t){var n=e(t),o=n.offset(),i=n.outerHeight(!0);return{left:o.left,top:o.top+i}},Ne=function(e,t){Object.keys(t).forEach((function(n){e.on(n,t[n])}))},Te=function(e,t){Object.keys(t).forEach((function(n){e.off(n,t[n])}))};return{NBSP_CHAR:j,ZERO_WIDTH_NBSP_CHAR:K,blank:S,emptyPara:"<p>"+S+"</p>",makePredByNodeName:i,isEditable:n,isControlSizing:o,isText:r,isElement:a,isVoid:s,isPara:l,isPurePara:f,isHeading:c,isInline:m,isBlock:t.not(m),isBodyInline:N,isBody:T,isParaInline:w,isPre:d,isList:p,isTable:h,isCell:b,isBlockquote:k,isBodyContainer:y,isAnchor:C,isDiv:i("DIV"),isLi:u,isBR:i("BR"),isSpan:i("SPAN"),isB:i("B"),isU:i("U"),isS:i("S"),isI:i("I"),isImg:i("IMG"),isTextarea:ke,isEmpty:H,isEmptyAnchor:t.and(C,H),isClose
286stSibling:I,withClosestSiblings:E,nodeLength:P,isLeftEdgePoint:q,isRightEdgePoint:_,isEdgePoint:G,isLeftEdgeOf:Y,isRightEdgeOf:Z,isLeftEdgePointOf:J,isRightEdgePointOf:Q,prevPoint:te,nextPoint:ne,isSamePoint:oe,isVisiblePoint:ie,prevPointUntil:re,nextPointUntil:ae,isCharPoint:se,walkPoint:le,ancestor:x,singleChildAncestor:F,listAncestor:L,lastAncestor:A,listNext:z,listPrev:M,listDescendant:B,commonAncestor:D,wrap:$,insertAfter:U,appendChildNodes:W,position:X,hasChildren:ee,makeOffsetPath:ce,fromOffsetPath:de,splitTree:fe,splitPoint:he,create:me,createText:pe,remove:ge,removeWhile:ve,replace:be,html:Ce,value:ye,posFromPlaceholder:we,attachEvents:Ne,detachEvents:Te}}(),W=function(n,o){var i=this,r=e.summernote.ui;return this.memos={},this.modules={},this.layoutInfo={},this.options=o,this.initialize=function(){return this.layoutInfo=r.createLayout(n,o),this._initialize(),n.hide(),this},this.destroy=function(){this._destroy(),n.removeData("summernote"),r.removeLayout(n,this.layoutInfo)},this.reset=function(){var e=i.isDisabled();this.code(V.emptyPara),this._destroy(),this._initialize(),e&&i.disable()},this._initialize=function(){var t=e.extend({},this.options.buttons);Object.keys(t).forEach((function(e){i.memo("button."+e,t[e])}));var n=e.extend({},this.options.modules,e.summernote.plugins||{});Object.keys(n).forEach((function(e){i.module(e,n[e],!0)})),Object.keys(this.modules).forEach((function(e){i.initializeModule(e)}))},this._destroy=function(){Object.keys(this.modules).reverse().forEach((function(e){i.removeModule(e)}
286)),Object.keys(this.memos).forEach((function(e){i.removeMemo(e)}))},this.code=function(e){var t=this.invoke("codeview.isActivated");if(void 0===e)return this.invoke("codeview.sync"),t?this.layoutInfo.codable.val():this.layoutInfo.editable.html();t?this.layoutInfo.codable.val(e):this.layoutInfo.editable.html(e),n.val(e),this.triggerEvent("change",e)},this.isDisabled=function(){return"false"===this.layoutInfo.editable.attr("contenteditable")},this.enable=function(){this.layoutInfo.editable.attr("contenteditable",!0),this.invoke("toolbar.activate",!0)},this.disable=function(){this.invoke("codeview.isActivated")&&this.invoke("codeview.deactivate"),this.layoutInfo.editable.attr("contenteditable",!1),this.invoke("toolbar.deactivate",!0)},this.triggerEvent=function(){var e=g.head(arguments),o=g.tail(g.from(arguments)),i=this.options.callbacks[t.namespaceToCamel(e,"on")];i&&i.apply(n[0],o),n.trigger("summernote."+e,o)},this.initializeModule=function(e){var o=this.modules[e];o.shouldInitialize=o.shouldInitialize||t.ok,o.shouldInitialize()&&(o.initialize&&o.initialize(),o.events&&V.attachEvents(n,o.events))},this.module=function(e,t,n){if(1===arguments.length)return this.modules[e];this.modules[e]=new t(this),n||this.initializeModule(e)},this.removeModule=function(e){var t=this.modules[e];t.shouldInitialize()&&(t.events&&V.detachEvents(n,t.events),t.destroy&&t.destroy()),delete this.modules[e]},this.memo=function(e,t){if(1===arguments.length)return this.memos[e];this.memos[e]=t},this.removeMemo=function(e){this.memos[e]&&this.memos[e].destroy&&this.memos[e].destroy(),delete this.memos[e]},this.createInvokeHandler=function(t,n){return function(o){o.preventDefault(),i.invoke(t,n||e(o.target).closest("[data-value]").data("value"))}},this.invoke=function(){var e=g.head(arguments),t=g.tail(g.from(arguments)),n=e.split("."),o=n.length>1,i=o&&g.head(n),r=o?g.last(n):g.head(n),a=this.modules[i||"editor"];return!i&&this[r]?this[r].apply(this,t):a&&a[r]&&a.shouldInitialize()?a[r].apply(a,t):void 0},this.initialize()};e.fn.extend({summernote:function(){var t=e.type(g.head(arguments)),n="string"===t,o="object"===t,i=o?g.head(arguments):{};(i=e.extend({},e.summernote.options,i)).langInfo=e.extend(!0,{},e.summernote.lang["en-US"],e.summernote.lang[i.lang]),this.each((function(t,n){var o=e(n);if(!o.data("summernote")){var r=new W(o,i);o.data("summernote",r),o.data("summernote").triggerEvent("init",r.layoutInfo)}}));var r=this.first();if(r.length){var a=r.data("summernote");if(n)return a.invoke.apply(a,g.from(arguments));i.focus&&a.invoke("editor.focus")}return this}});var q=function(t,n,o,i){this.render=function(r){var a=e(t);if(o&&o.contents&&a.html(o.contents),o&&o.className&&a.addClass(o.className),o&&o.data&&e.each(o.data,(function(e,t){a.attr("data-"+e,t)})),o&&o.click&&a.on("click",o.click),n){var s=a.find(".note-children-container");n.forEach((function(e){e.render(s.length?s:a)}))}return i&&i(a,o),o&&o.callback&&o.callback(a),r&&r.append(a),a}},_=function(t,n){return function(){var o=e.isArray(arguments[0])?arguments[0]:[],i="object"==typeof arguments[1]?arguments[1]:arguments[0];return i&&i.children&&(o=i.children),new q(t,o,i,n)}},G=_('<div class="note-editor note-frame panel panel-default"/>'),Y=_('<div class="note-toolbar panel-heading"/>'),Z=_('<div class="note-editing-area"/>'),J=_('<textarea class="note-codable"/>'),Q=_('<div class="note-editable panel-body" contentEditable="true"/>'),X=_(['<div class="note-statusbar">','  <div class="note-resizebar">','    <div class="note-icon-bar"/>','    <div class="note-icon-bar"/>','    <div class="note-icon-bar"/>',"  </div>","</div>"].join("")),ee=_('<div class="note-editor"/>'),te=_('<div class="note-editable" contentEditable="true"/>'),ne=_('<div class="note-btn-group btn-group">'),oe=_('<button type="button" class="note-btn btn btn-default btn-sm">',(function(e,t){t&&t.tooltip&&e.attr({title:t.tooltip}).tooltip({container:"body",trigger:"hover",placement:"bottom"})})),ie=_('<div class="dropdown-menu">',(function(t,n){var o=e.isArray(n.items)?n.items.map((function(e){var t,o;return'<li><a href="#" data-value="'+("string"==typeof e?e:e.value||"")+'">'+(n.template?n.template(e):e)+"</a></li>"})).join(""):n.items;t.html(o)})),re=_('<div class="dropdown-menu note-check">',(function(t,n){var o=e.isArray(n.items)?n.items.map((function(e){var t="string"==typeof e?e:e.value||"",o=n.template?n.template(e):e;return'<li><a href="#" data-value="'+t+'">'+ce(n.checkClassName)+" "+o+"</a></li>"})).join(""):n.items;t.html(o)})),ae=_('<div class="note-color-palette"/>',(function(e,t){for(var n=[],o=0,i=t.colors.length;o<i;o++){for(var r=t.eventName,a=t.colors[o],s=[],l=0,c=a.length;l<c;l++){var d=a[l];s.push(['<button type="button" class="note-color-btn"','style="background-color:',d,'" ','data-event="',r,'" ','data-value="',d,'" ','title="',d,'" ','data-toggle="button" tabindex="-1"></button>'].join(""))}n.push('<div class="note-color-row">'+s.join("")+"</div>")}e.html(n.join("")),e.find(".note-color-btn").tooltip({container:"body",trigger:"hover",placement:"bottom"})})),se=_('<div class="modal" aria-hidden="false" tabindex="-1"/>',(function(e,t){t.fade&&e.addClass("fade"),e.html(['<div class="modal-dialog">','  <div class="modal-content">',t.title?'    <div class="modal-header">      <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>      <h4 class="modal-title">'+t.title+"</h4>    </div>":"",'    <div class="modal-body">'+t.body+"</div>",t.footer?'    <div class="modal-footer">'+t.footer+"</div>":"","  </div>","</div>"].join(""))})),le=_(['<div class="note-popover popover in">','  <div class="arrow"/>','  <div class="popover-content note-children-container"/>',"</div>"].join(""),(function(e,t){var n="undefined"!=typeof t.direction?t.direction:"bottom";e.addClass(n),t.hideArrow&&e.find(".arrow").hide()})),ce=function(e,t){return"<"+(t=t||"i")+' class="'+e+'"/>'},de={editor:G,toolbar:Y,editingArea:Z,codable:J,editable:Q,statusbar:X,airEditor:ee,airEditable:te,buttonGroup:ne,button:oe,dropdown:ie,dropdownCheck:re,palette:ae,dialog:se,popover:le,icon:ce,toggleBtn:function(e,t){e.toggleClass("disabled",!t),e.attr("disabled",!t)},toggleBtnActive:function(e,t){e.toggleClass("active",t)},onDialogShown:function(e,t){e.one("shown.bs.modal",t)},onDialogHidden:function(e,t){e.one("hidden.bs.modal",t)},showDialog:function(e){e.modal("show")},hideDialog:function(e){e.modal("hide")},createLayout:function(e,t){var n=(t.airMode?de.airEditor([de.editingArea([de.airEditable()])]):de.editor([de.toolbar(),de.editingArea([de.codable(),de.editable()]),de.statusbar()])).render();return n.insertAfter(e),{note:e,editor:n,toolbar:n.find(".note-toolbar"),editingArea:n.find(".note-editing-area"),editable:n.find(".note-editable"),codable:n.find(".note-codable"),statusbar:n.find(".note-statusbar")}},removeLayout:function(e,t){e.html(t.editable.html()),t.editor.remove(),e.show()}};e.summernote=e.summernote||{lang:{}},e.extend(e.summernote.lang,{"en-US":{font:{bold:"Bold",italic:"Italic",underline:"Underline",clear:"Remove Font Style",height:"Line Height",name:"Font Family",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",size:"Font Size"},image:{image:"Picture",insert:"Insert Image",resizeFull:"Resize Full",resizeHalf:"Resize Half",resizeQuarter:"Resize Quarter",floatLeft:"Float Left",floatRight:"Float Right",floatNone:"Float None",shapeRounded:"Shape: Rounded",shapeCircle:"Shape: Circle",shapeThumbnail:"Shape: Thumbnail",shapeNone:"Shape: None",dragImageHere:"Drag image or text here",dropImage:"Drop image or Text",selectFromFiles:"Select from files",maximumFileSize:"Maximum file size",maximumFileSizeError:"Maximum file size exceeded.",url:"Image URL",remove:"Remove Image"},video:{video:"Video",videoLink:"Video Link",insert:"Insert Video",url:"Video URL?",providers:"(YouTube, Vimeo, Vine, Instagram, DailyMotion or Youku)"},link:{link:"Link",insert:"Insert Link",unlink:"Unlink",edit:"Edit",textToDisplay:"Text to display",url:"To what URL should this link go?",openInNewWindow:"Open in new window"},table:{table:"Table"},hr:{insert:"Insert Horizontal Rule"},style:{style:"Style",normal:"Normal",blockquote:"Quote",pre:"Code",h1:"Header 1",h2:"Header 2",h3:"Header 3",h4:"Header 4",h5:"Header 5",h6:"Header 6"},lists:{unordered:"Unordered list",ordered:"Ordered list"},options:{help:"Help",fullscreen:"Full Screen",codeview:"Code View"},paragraph:{paragraph:"Paragraph",outdent:"Outdent",indent:"Indent",left:"Align left",center:"Align center",right:"Align right",justify:"Justify full"}
286,color:{recent:"Recent Color",more:"More Color",background:"Background Color",foreground:"Foreground Color",transparent:"Transparent",setTransparent:"Set transparent",reset:"Reset",resetToDefault:"Reset to default"},shortcut:{shortcuts:"Keyboard shortcuts",close:"Close",textFormatting:"Text formatting",action:"Action",paragraphFormatting:"Paragraph formatting",documentStyle:"Document Style",extraKeys:"Extra keys"},help:{insertParagraph:"Insert Paragraph",undo:"Undoes the last command",redo:"Redoes the last command",tab:"Tab",untab:"Untab",bold:"Set a bold style",italic:"Set a italic style",underline:"Set a underline style",strikethrough:"Set a strikethrough style",removeFormat:"Clean a style",justifyLeft:"Set left align",justifyCenter:"Set center align",justifyRight:"Set right align",justifyFull:"Set full align",insertUnorderedList:"Toggle unordered list",insertOrderedList:"Toggle ordered list",outdent:"Outdent on current paragraph",indent:"Indent on current paragraph",formatPara:"Change current block's format as a paragraph(P tag)",formatH1:"Change current block's format as H1",formatH2:"Change current block's format as H2",formatH3:"Change current block's format as H3",formatH4:"Change current block's format as H4",formatH5:"Change current block's format as H5",formatH6:"Change current block's format as H6",insertHorizontalRule:"Insert horizontal rule","linkDialog.show":"Show Link Dialog"},history:{undo:"Undo",redo:"Redo"},specialChar:{specialChar:"SPECIAL CHARACTERS",select:"Select Special characters"}}});var ue=(fe={BACKSPACE:8,TAB:9,ENTER:13,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,NUM0:48,NUM1:49,NUM2:50,NUM3:51,NUM4:52,NUM5:53,NUM6:54,NUM7:55,NUM8:56,B:66,E:69,I:73,J:74,K:75,L:76,R:82,S:83,U:85,V:86,Y:89,Z:90,SLASH:191,LEFTBRACKET:219,BACKSLASH:220,RIGHTBRACKET:221},{isEdit:function(e){return g.contains([fe.BACKSPACE,fe.TAB,fe.ENTER,fe.SPACE],e)},isMove:function(e){return g.contains([fe.LEFT,fe.UP,fe.RIGHT,fe.DOWN],e)},nameFromCode:t.invertObject(fe),code:fe}),fe,he=(me=function(e,t){var n=e.parentElement(),o,i=document.body.createTextRange(),r,a=g.from(n.childNodes);for(o=0;o<a.length;o++)if(!V.isText(a[o])){if(i.moveToElementText(a[o]),i.compareEndPoints("StartToStart",e)>=0)break;r=a[o]}if(0!==o&&V.isText(a[o-1])){var s=document.body.createTextRange(),l=null;s.moveToElementText(r||n),s.collapse(!r),l=r?r.nextSibling:n.firstChild;var c=e.duplicate();c.setEndPoint("StartToStart",s);for(var d=c.text.replace(/[\r\n]/g,"").length;d>l.nodeValue.length&&l.nextSibling;)d-=l.nodeValue.length,l=l.nextSibling;var u=l.nodeValue;t&&l.nextSibling&&V.isText(l.nextSibling)&&d===l.nodeValue.length&&(d-=l.nodeValue.length,l=l.nextSibling),n=l,o=d}return{cont:n,offset:o}},pe=function(e){var n=function(e,o){var i,r;if(V.isText(e)){var a=V.listPrev(e,t.not(V.isText)),s=g.last(a).previousSibling;i=s||e.parentNode,o+=g.sum(g.tail(a),V.nodeLength),r=!s}else{if(i=e.childNodes[o]||e,V.isText(i))return n(i,0);o=0,r=!1}return{node:i,collapseToStart:r,offset:o}},o=document.body.createTextRange(),i=n(e.node,e.offset);return o.moveToElementText(i.node),o.collapse(i.collapseToStart),o.moveStart("character",i.offset),o},ge=function(n,o,i,r){this.sc=n,this.so=o,this.ec=i,this.eo=r;var a=function(){if(O.isW3CRangeSupport){var e=document.createRange();return e.setStart(n,o),e.setEnd(i,r),e}var t=pe({node:n,offset:o});return t.setEndPoint("EndToEnd",pe({node:i,offset:r})),t};this.getPoints=function(){return{sc:n,so:o,ec:i,eo:r}},this.getStartPoint=function(){return{node:n,offset:o}},this.getEndPoint=function(){return{node:i,offset:r}},this.select=function(){var e=a();if(O.isW3CRangeSupport){var t=document.getSelection();t.rangeCount>0&&t.removeAllRanges(),t.addRange(e)}else e.select();return this},this.scrollIntoView=function(t){var n=e(t).height();return t.scrollTop+n<this.sc.offsetTop&&(t.scrollTop+=Math.abs(t.scrollTop+n-this.sc.offsetTop)),this},this.normalize=function(){var e=function(e,t){if(V.isVisiblePoint(e)&&!V.isEdgePoint(e)||V.isVisiblePoint(e)&&V.isRightEdgePoint(e)&&!t||V.isVisiblePoint(e)&&V.isLeftEdgePoint(e)&&t||V.isVisiblePoint(e)&&V.isBlock(e.node)&&V.isEmpty(e.node))return e;var n=V.ancestor(e.node,V.isBlock),o;if((V.isLeftEdgePointOf(e,n)||V.isVoid(V.prevPoint(e).node))&&!t||(V.isRightEdgePointOf(e,n)||V.isVoid(V.nextPoint(e).node))&&t){if(V.isVisiblePoint(e))return e;t=!t}return(t?V.nextPointUntil(V.nextPoint(e),V.isVisiblePoint):V.prevPointUntil(V.prevPoint(e),V.isVisiblePoint))||e},t=e(this.getEndPoint(),!1),n=this.isCollapsed()?t:e(this.getStartPoint(),!0);return new ge(n.node,n.offset,t.node,t.offset)},this.nodes=function(e,n){e=e||t.ok;var o=n&&n.includeAncestor,i=n&&n.fullyContains,r=this.getStartPoint(),a=this.getEndPoint(),s=[],l=[];return V.walkPoint(r,a,(function(t){var n;V.isEditable(t.node)||(i?(V.isLeftEdgePoint(t)&&l.push(t.node),V.isRightEdgePoint(t)&&g.contains(l,t.node)&&(n=t.node)):n=o?V.ancestor(t.node,e):t.node,n&&e(n)&&s.push(n))}),!0),g.unique(s)},this.commonAncestor=function(){return V.commonAncestor(n,i)},this.expand=function(e){var t=V.ancestor(n,e),a=V.ancestor(i,e);if(!t&&!a)return new ge(n,o,i,r);var s=this.getPoints();return t&&(s.sc=t,s.so=0),a&&(s.ec=a,s.eo=V.nodeLength(a)),new ge(s.sc,s.so,s.ec,s.eo)},this.collapse=function(e){return e?new ge(n,o,n,o):new ge(i,r,i,r)},this.splitText=function(){var e=n===i,t=this.getPoints();return V.isText(i)&&!V.isEdgePoint(this.getEndPoint())&&i.splitText(r),V.isText(n)&&!V.isEdgePoint(this.getStartPoint())&&
286(t.sc=n.splitText(o),t.so=0,e&&(t.ec=t.sc,t.eo=r-o)),new ge(t.sc,t.so,t.ec,t.eo)},this.deleteContents=function(){if(this.isCollapsed())return this;var t=this.splitText(),n=t.nodes(null,{fullyContains:!0}),o=V.prevPointUntil(t.getStartPoint(),(function(e){return!g.contains(n,e.node)})),i=[];return e.each(n,(function(e,t){var n=t.parentNode;o.node!==n&&1===V.nodeLength(n)&&i.push(n),V.remove(t,!1)})),e.each(i,(function(e,t){V.remove(t,!1)})),new ge(o.node,o.offset,o.node,o.offset).normalize()};var s=function(e){return function(){var t=V.ancestor(n,e);return!!t&&t===V.ancestor(i,e)}};this.isOnEditable=s(V.isEditable),this.isOnList=s(V.isList),this.isOnAnchor=s(V.isAnchor),this.isOnCell=s(V.isCell),this.isLeftEdgeOf=function(e){if(!V.isLeftEdgePoint(this.getStartPoint()))return!1;var t=V.ancestor(this.sc,e);return t&&V.isLeftEdgeOf(this.sc,t)},this.isCollapsed=function(){return n===i&&o===r},this.wrapBodyInlineWithPara=function(){if(V.isBodyContainer(n)&&V.isEmpty(n))return n.innerHTML=V.emptyPara,new ge(n.firstChild,0,n.firstChild,0);var e=this.normalize(),o;if(V.isParaInline(n)||V.isPara(n))return e;if(V.isInline(e.sc)){var i=V.listAncestor(e.sc,t.not(V.isInline));o=g.last(i),V.isInline(o)||(o=i[i.length-2]||e.sc.childNodes[e.so])}else o=e.sc.childNodes[e.so>0?e.so-1:0];var r=V.listPrev(o,V.isParaInline).reverse();if((r=r.concat(V.listNext(o.nextSibling,V.isParaInline))).length){var a=V.wrap(g.head(r),"p");V.appendChildNodes(a,g.tail(r))}return this.normalize()},this.insertNode=function(e){var t=this.wrapBodyInlineWithPara().deleteContents(),n=V.splitPoint(t.getStartPoint(),V.isInline(e));return n.rightNode?n.rightNode.parentNode.insertBefore(e,n.rightNode):n.container.appendChild(e),e},this.pasteHTML=function(t){var n=e("<div></div>").html(t)[0],o=g.from(n.childNodes),i=this.wrapBodyInlineWithPara().deleteContents();return o.reverse().map((function(e){return i.insertNode(e)})).reverse()},this.toString=function(){var e=a();return O.isW3CRangeSupport?e.toString():e.text},this.getWordRange=function(e){var t=this.getEndPoint();if(!V.isCharPoint(t))return this;var n=V.prevPointUntil(t,(function(e){return!V.isCharPoint(e)}));return e&&(t=V.nextPointUntil(t,(function(e){return!V.isCharPoint(e)}))),new ge(n.node,n.offset,t.node,t.offset)},this.bookmark=function(e){return{s:{path:V.makeOffsetPath(e,n),offset:o},e:{path:V.makeOffsetPath(e,i),offset:r}}},this.paraBookmark=function(e){return{s:{path:g.tail(V.makeOffsetPath(g.head(e),n)),offset:o},e:{path:g.tail(V.makeOffsetPath(g.last(e),i)),offset:r}}},this.getClientRects=function(){var e;return a().getClientRects()}},{create:function(e,t,n,o){if(4===arguments.length)return new ge(e,t,n,o);if(2===arguments.length)return new ge(e,t,n=e,o=t);var i=this.createFromSelection();return i||1!==arguments.length?i:(i=this.createFromNode(arguments[0])).collapse(V.emptyPara===arguments[0].innerHTML)},createFromSelection:function(){var e,t,n,o;if(O.isW3CRangeSupport){var i=document.getSelection();if(!i||0===i.rangeCount)return null;if(V.isBody(i.anchorNode))return null;var r=i.getRangeAt(0);e=r.startContainer,t=r.startOffset,n=r.endContainer,o=r.endOffset}else{var a=document.selection.createRange(),s=a.duplicate();s.collapse(!1);var l=a;l.collapse(!0);var c=me(l,!0),d=me(s,!1);V.isText(c.node)&&V.isLeftEdgePoint(c)&&V.isTextNode(d.node)&&V.isRightEdgePoint(d)&&d.node.nextSibling===c.node&&(c=d),e=c.cont,t=c.offset,n=d.cont,o=d.offset}return new ge(e,t,n,o)},createFromNode:function(e){var t=e,n=0,o=e,i=V.nodeLength(o);return V.isVoid(t)&&(n=V.listPrev(t).length-1,t=t.parentNode),V.isBR(o)?(i=V.listPrev(o).length-1,o=o.parentNode):V.isVoid(o)&&(i=V.listPrev(o).length,o=o.parentNode),this.create(t,n,o,i)},createFromNodeBefore:function(e){return this.createFromNode(e).collapse(!0)},createFromNodeAfter:function(e){return this.createFromNode(e).collapse()},createFromBookmark:function(e,t){var n=V.fromOffsetPath(e,t.s.path),o=t.s.offset,i=V.fromOffsetPath(e,t.e.path),r=t.e.offset;return new ge(n,o,i,r)},createFromParaBookmark:function(e,t){var n=e.s.offset,o=e.e.offset,i=V.fromOffsetPath(g.head(t),e.s.path),r=V.fromOffsetPath(g.last(t),e.e.path);return new ge(i,n,r,o)}}),me,pe,ge,ve={readFileAsDataURL:function(t){return e.Deferred((function(n){e.extend(new FileReader,{onload:function(e){var t=e.target.result;n.resolve(t)},onerror:function(){n.reject(this)}}).readAsDataURL(t)})).promise()},createImage:function(t){return e.Deferred((function(n){var o=e("<img>");o.one("load",(function(){o.off("error abort"),n.resolve(o)})).one("error abort",(function(){o.off("load").detach(),n.reject(o)})).css({display:"none"}).appendTo(document.body).attr("src",t)})).promise()}},be,ke,ye=function(e){var t=[],n=-1,o=e[0],i=function(){var t=he.create(o),n={s:{path:[],offset:0},e:{path:[],offset:0}};return{contents:e.html(),bookmark:t?t.bookmark(o):n}},r=function(t){null!==t.contents&&e.html(t.contents),null!==t.bookmark&&he.createFromBookmark(o,t.bookmark).select()};this.rewind=function(){e.html()!==t[n].contents&&this.recordUndo(),r(t[n=0])},this.reset=function(){t=[],n=-1,e.html(""),this.recordUndo()},this.undo=function(){e.html()!==t[n].contents&&this.recordUndo(),0<n&&(n--,r(t[n]))},this.redo=function(){t.length-1>n&&(n++,r(t[n]))},this.recordUndo=function(){n++,t.length>
286n&&(t=t.slice(0,n)),t.push(i())}},Ce=function(){var n=function(t,n){if(O.jqueryVersion<1.9){var o={};return e.each(n,(function(e,n){o[n]=t.css(n)})),o}return t.css.call(t,n)};this.fromNode=function(e){var t,o=n(e,["font-family","font-size","text-align","list-style-type","line-height"])||{};return o["font-size"]=parseInt(o["font-size"],10),o},this.stylePara=function(t,n){e.each(t.nodes(V.isPara,{includeAncestor:!0}),(function(t,o){e(o).css(n)}))},this.styleNodes=function(n,o){n=n.splitText();var i=o&&o.nodeName||"SPAN",r=!(!o||!o.expandClosestSibling),a=!(!o||!o.onlyPartialContains);if(n.isCollapsed())return[n.insertNode(V.create(i))];var s=V.makePredByNodeName(i),l=n.nodes(V.isText,{fullyContains:!0}).map((function(e){return V.singleChildAncestor(e,s)||V.wrap(e,i)}));if(r){if(a){var c=n.nodes();s=t.and(s,(function(e){return g.contains(c,e)}))}return l.map((function(t){var n=V.withClosestSiblings(t,s),o=g.head(n),i=g.tail(n);return e.each(i,(function(e,t){V.appendChildNodes(o,t.childNodes),V.remove(t)})),g.head(n)}))}return l},this.current=function(t){var n=e(V.isElement(t.sc)?t.sc:t.sc.parentNode),o=this.fromNode(n);try{o=e.extend(o,{"font-bold":document.queryCommandState("bold")?"bold":"normal","font-italic":document.queryCommandState("italic")?"italic":"normal","font-underline":document.queryCommandState("underline")?"underline":"normal","font-subscript":document.queryCommandState("subscript")?"subscript":"normal","font-superscript":document.queryCommandState("superscript")?"superscript":"normal","font-strikethrough":document.queryCommandState("strikethrough")?"strikethrough":"normal"})}catch(Ge){}if(t.isOnList()){var i=["circle","disc","disc-leading-zero","square"],r=e.inArray(o["list-style-type"],i)>-1;o["list-style"]=r?"unordered":"ordered"}else o["list-style"]="none";var a=V.ancestor(t.sc,V.isPara);if(a&&a.style["line-height"])o["line-height"]=a.style.lineHeight;else{var s=parseInt(o["line-height"],10)/parseInt(o["font-size"],
28610);o["line-height"]=s.toFixed(1)}return o.anchor=t.isOnAnchor()&&V.ancestor(t.sc,V.isAnchor),o.ancestors=V.listAncestor(t.sc,V.isEditable),o.range=t,o}},we=function(){var n=this;this.insertOrderedList=function(e){this.toggleList("OL",e)},this.insertUnorderedList=function(e){this.toggleList("UL",e)},this.indent=function(n){var o=this,i=he.create(n).wrapBodyInlineWithPara(),r=i.nodes(V.isPara,{includeAncestor:!0}),a=g.clusterBy(r,t.peq2("parentNode"));e.each(a,(function(t,n){var i=g.head(n);V.isLi(i)?o.wrapList(n,i.parentNode.nodeName):e.each(n,(function(t,n){e(n).css("marginLeft",(function(e,t){return(parseInt(t,10)||0)+25}))}))})),i.select()},this.outdent=function(n){var o=this,i=he.create(n).wrapBodyInlineWithPara(),r=i.nodes(V.isPara,{includeAncestor:!0}),a=g.clusterBy(r,t.peq2("parentNode"));e.each(a,(function(t,n){var i=g.head(n);V.isLi(i)?o.releaseList([n]):e.each(n,(function(t,n){e(n).css("marginLeft",(function(e,t){return(t=parseInt(t,10)||0)>25?t-25:""}))}))})),i.select()},this.toggleList=function(o,i){var r=he.create(i).wrapBodyInlineWithPara(),a=r.nodes(V.isPara,{includeAncestor:!0}),s=r.paraBookmark(a),l=g.clusterBy(a,t.peq2("parentNode"));if(g.find(a,V.isPurePara)){var c=[];e.each(l,(function(e,t){c=c.concat(n.wrapList(t,o))})),a=c}else{var d=r.nodes(V.isList,{includeAncestor:!0}).filter((function(t){return!e.nodeName(t,o)}));d.length?e.each(d,(function(e,t){V.replace(t,o)})):a=this.releaseList(l,!0)}he.createFromParaBookmark(s,a).select()},this.wrapList=function(e,t){var n=g.head(e),o=g.last(e),i=V.isList(n.previousSibling)&&n.previousSibling,r=V.isList(o.nextSibling)&&o.nextSibling,a=i||V.insertAfter(V.create(t||"UL"),o);return e=e.map((function(e){return V.isPurePara(e)?V.replace(e,"LI"):e})),V.appendChildNodes(a,e),r&&(V.appendChildNodes(a,g.from(r.childNodes)),V.remove(r)),e},this.releaseList=function(t,n){var o=[];return e.each(t,(function(t,i){var r=g.head(i),a=g.last(i),s=n?V.lastAncestor(r,V.isList):r.parentNode,l=s.childNodes.length>1?V.splitTree(s,{node:a.parentNode,offset:V.position(a)+1},{isSkipPaddingBlankHTML:!0}):null,c=V.splitTree(s,{node:r.parentNode,offset:V.position(r)},{isSkipPaddingBlankHTML:!0});i=n?V.listDescendant(c,V.isLi):g.from(c.childNodes).filter(V.isLi),!n&&V.isList(s.parentNode)||(i=i.map((function(e){return V.replace(e,"P")}))),e.each(g.from(i).reverse(),(function(e,t){V.insertAfter(t,s)}));var d=g.compact([s,c,l]);e.each(d,(function(t,n){var o=[n].concat(V.listDescendant(n,V.isList));e.each(o.reverse(),(function(e,t){V.nodeLength(t)||V.remove(t,!0)}))})),o=o.concat(i)})),o}},Ne=function(){var t=new we;this.insertTab=function(e,t){var n=V.createText(new Array(t+1).join(V.NBSP_CHAR));(e=e.deleteContents()).insertNode(n,!0),(e=he.create(n,t)).select()},this.insertParagraph=function(n){var o=he.create(n);o=(o=o.deleteContents()).wrapBodyInlineWithPara();var i=V.ancestor(o.sc,V.isPara),r;if(i){if(V.isEmpty(i)&&V.isLi(i))return void t.toggleList(i.parentNode.nodeName);if(V.isEmpty(i)&&V.isPara(i)&&V.isBlockquote(i.parentNode))V.insertAfter(i,i.parentNode),r=i;else{r=V.splitTree(i,o.getStartPoint());var a=V.listDescendant(i,V.isEmptyAnchor);a=a.concat(V.listDescendant(r,V.isEmptyAnchor)),e.each(a,(function(e,t){V.remove(t)})),(V.isHeading(r)||V.isPre(r))&&V.isEmpty(r)&&(r=V.replace(r,"p"))}}else{var s=o.sc.childNodes[o.so];r=e(V.emptyPara)[0],s?o.sc.insertBefore(r,s):o.sc.appendChild(r)}he.create(r,0).normalize().select().scrollIntoView(n)}},Te=function(){this.tab=function(e,t){var n=V.ancestor(e.commonAncestor(),V.isCell),o=V.ancestor(n,V.isTable),i=V.listDescendant(o,V.isCell),r=g[t?"prev":"next"](i,n);r&&he.create(r,0).select()},this.createTable=function(t,n,o){for(var i=[],r,a=0;a<t;a++)i.push("<td>"+V.blank+"</td>");r=i.join("");for(var s=[],l,c=0;c<n;c++)s.push("<tr>"+r+"</tr>");l=s.join("");var d=e("<table>"+l+"</table>");return o&&o.tableClassName&&d.addClass(o.tableClassName),d[0]}},Ie="bogus",Ee=function(t){var n=this,o=t.layoutInfo.note,i=t.layoutInfo.editor,r=t.layoutInfo.editable,a=t.options,s=a.langInfo,l=r[0],c=null,d=new Ce,u=new Te,f=new Ne,h=new we,m=new ye(r);
286this.initialize=function(){r.on("keydown",(function(e){e.keyCode===ue.code.ENTER&&t.triggerEvent("enter",e),t.triggerEvent("keydown",e),a.shortcuts&&!e.isDefaultPrevented()&&n.handleKeyMap(e)})).on("keyup",(function(e){t.triggerEvent("keyup",e)})).on("focus",(function(e){t.triggerEvent("focus",e)})).on("blur",(function(e){t.triggerEvent("blur",e)})).on("mousedown",(function(e){t.triggerEvent("mousedown",e)})).on("mouseup",(function(e){t.triggerEvent("mouseup",e)})).on("scroll",(function(e){t.triggerEvent("scroll",e)})).on("paste",(function(e){t.triggerEvent("paste",e)})),r.html(V.html(o)||V.emptyPara);var e=O.isMSIE?"DOMCharacterDataModified DOMSubtreeModified DOMNodeInserted":"input";r.on(e,(function(){t.triggerEvent("change",r.html())})),i.on("focusin",(function(e){t.triggerEvent("focusin",e)})).on("focusout",(function(e){t.triggerEvent("focusout",e)})),!a.airMode&&a.height&&this.setHeight(a.height),!a.airMode&&a.maxHeight&&r.css("max-height",a.maxHeight),!a.airMode&&a.minHeight&&r.css("min-height",a.minHeight),m.recordUndo()},this.destroy=function(){r.off()},this.handleKeyMap=function(e){var n=a.keyMap[O.isMac?"mac":"pc"],o=[];e.metaKey&&o.push("CMD"),e.ctrlKey&&!e.altKey&&o.push("CTRL"),e.shiftKey&&o.push("SHIFT");var i=ue.nameFromCode[e.keyCode];i&&o.push(i);var r=n[o.join("+")];r?(e.preventDefault(),t.invoke(r)):ue.isEdit(e.keyCode)&&this.afterCommand()},this.createRange=function(){return this.focus(),he.create(l)},this.saveRange=function(e){c=this.createRange(),e&&c.collapse().select()},this.restoreRange=function(){c&&(c.select(),this.focus())},this.saveTarget=function(e){r.data("target",e)},this.clearTarget=function(){r.removeData("target")},this.restoreTarget=function(){return r.data("target")},this.currentStyle=function(){var e=he.create();return e&&(e=e.normalize()),e?d.current(e):d.fromNode(r)},this.styleFromNode=function(e){return d.fromNode(e)},this.undo=function(){t.triggerEvent("before.command",r.html()),m.undo(),t.triggerEvent("change",r.html())},t.memo("help.undo",s.help.undo),this.redo=function(){t.triggerEvent("before.command",r.html()),m.redo(),t.triggerEvent("change",r.html())},t.memo("help.redo",s.help.redo);for(var p=this.beforeCommand=function(){t.triggerEvent("before.command",r.html()),n.focus()},v=this.afterCommand=function(e){m.recordUndo(),e||t.triggerEvent("change",r.html())},b=["bold","italic","underline","strikethrough","superscript","subscript","justifyLeft","justifyCenter","justifyRight","justifyFull","formatBlock","removeFormat","backColor","foreColor","fontName"],k=0,y=b.length;k<y;k++)this[b[k]]=function(e){return function(t){p(),document.execCommand(e,!1,t),v(!0)}}(b[k]),t.memo("help."+b[k],s.help[b[k]]);this.tab=function(){var e=this.createRange();e.isCollapsed()&&e.isOnCell()?u.tab(e):(p(),f.insertTab(e,a.tabSize),v())},t.memo("help.tab",s.help.tab),this.untab=function(){var e=this.createRange();e.isCollapsed()&&e.isOnCell()&&u.tab(e,!0)},t.memo("help.untab",s.help.untab),this.wrapCommand=function(e){return function(){p(),e.apply(n,arguments),v()}},this.insertParagraph=this.wrapCommand((function(){f.insertParagraph(l)})),t.memo("help.insertParagraph",s.help.insertParagraph),this.insertOrderedList=this.wrapCommand((function(){h.insertOrderedList(l)})),t.memo("help.insertOrderedList",s.help.insertOrderedList),this.insertUnorderedList=this.wrapCommand((function(){h.insertUnorderedList(l)})),t.memo("help.insertUnorderedList",s.help.insertUnorderedList),this.indent=this.wrapCommand((function(){h.indent(l)})),t.memo("help.indent",s.help.indent),this.outdent=this.wrapCommand((function(){h.outdent(l)})),t.memo("help.outdent",s.help.outdent),this.insertImage=function(e,n){return ve.createImage(e,n).then((function(e){p(),"function"==typeof n?n(e):("string"==typeof n&&e.attr("data-filename",n),e.css("width",Math.min(r.width(),e.width()))),e.show(),he.create(l).insertNode(e[0]),he.createFromNodeAfter(e[0]).select(),v()})).fail((function(e){t.triggerEvent("image.upload.error",e)}))},this.insertImages=function(o){e.each(o,(function(e,o){var i=o.name;a.maximumImageFileSize&&a.maximumImageFileSize<o.size?t.triggerEvent("image.upload.error",s.image.maximumFileSizeError):ve.readFileAsDataURL(o).then((function(e){return n.insertImage(e,i)})).fail((function(){t.triggerEvent("image.upload.error")}))}))},this.insertImagesOrCallback=function(e){var n;a.callbacks.onImageUpload?t.triggerEvent("image.upload",e):this.insertImages(e)},this.insertNode=this.wrapCommand((function(e){var t;this.createRange().insertNode(e),he.createFromNodeAfter(e).select()}
286)),this.insertText=this.wrapCommand((function(e){var t,n=this.createRange().insertNode(V.createText(e));he.create(n,V.nodeLength(n)).select()})),this.getSelectedText=function(){var e=this.createRange();return e.isOnAnchor()&&(e=he.createFromNode(V.ancestor(e.sc,V.isAnchor))),e.toString()},this.pasteHTML=this.wrapCommand((function(e){var t=this.createRange().pasteHTML(e);he.createFromNodeAfter(g.last(t)).select()})),this.formatBlock=this.wrapCommand((function(e){e=O.isMSIE?"<"+e+">":e,document.execCommand("FormatBlock",!1,e)})),this.formatPara=function(){this.formatBlock("P")},t.memo("help.formatPara",s.help.formatPara);for(var k=1;k<=6;k++)this["formatH"+k]=function(e){return function(){this.formatBlock("H"+e)}}(k),t.memo("help.formatH"+k,s.help["formatH"+k]);this.fontSize=function(t){var n=this.createRange();if(n&&n.isCollapsed()){var o=d.styleNodes(n),i=g.head(o);e(o).css({"font-size":t+"px"}),i&&!V.nodeLength(i)&&(i.innerHTML=V.ZERO_WIDTH_NBSP_CHAR,he.createFromNodeAfter(i.firstChild).select(),r.data(Ie,i))}else p(),e(d.styleNodes(n)).css({"font-size":t+"px"}),v()},this.insertHorizontalRule=this.wrapCommand((function(){var e=this.createRange().insertNode(V.create("HR"));e.nextSibling&&he.create(e.nextSibling,0).normalize().select()})),t.memo("help.insertHorizontalRule",s.help.insertHorizontalRule),this.removeBogus=function(){var e=r.data(Ie);if(e){var t=g.find(g.from(e.childNodes),V.isText),n=t.nodeValue.indexOf(V.ZERO_WIDTH_NBSP_CHAR);-1!==n&&t.deleteData(n,1),V.isEmpty(e)&&V.remove(e),r.removeData(Ie)}},this.lineHeight=this.wrapCommand((function(e){d.stylePara(this.createRange(),{lineHeight:e})})),this.unlink=function(){var e=this.createRange();if(e.isOnAnchor()){var t=V.ancestor(e.sc,V.isAnchor);(e=he.createFromNode(t)).select(),p(),document.execCommand("unlink"),v()}},this.createLink=this.wrapCommand((function(t){var n=t.url,o=t.text,i=t.isNewWindow,r=t.range||this.createRange(),s=r.toString()!==o;a.onCreateLink&&(n=a.onCreateLink(n));var l=[];if(s){var c=(r=r.deleteContents()).insertNode(e("<A>"+o+"</A>")[0]);l.push(c)}else l=d.styleNodes(r,{nodeName:"A",expandClosestSibling:!0,onlyPartialContains:!0});e.each(l,(function(t,o){e(o).attr("href",n),i?e(o).attr("target","_blank"):e(o).removeAttr("target")}));var u,f=he.createFromNodeBefore(g.head(l)).getStartPoint(),h,m=he.createFromNodeAfter(g.last(l)).getEndPoint();he.create(f.node,f.offset,m.node,m.offset).select()}
286)),this.getLinkInfo=function(){var t=this.createRange().expand(V.isAnchor),n=e(g.head(t.nodes(V.isAnchor)));return{range:t,text:t.toString(),isNewWindow:!!n.length&&"_blank"===n.attr("target"),url:n.length?n.attr("href"):""}},this.color=this.wrapCommand((function(e){var t=e.foreColor,n=e.backColor;t&&document.execCommand("foreColor",!1,t),n&&document.execCommand("backColor",!1,n)})),this.insertTable=this.wrapCommand((function(e){var t=e.split("x"),n;this.createRange().deleteContents().insertNode(u.createTable(t[0],t[1],a))})),this.floatMe=this.wrapCommand((function(t){var n;e(this.restoreTarget()).css("float",t)})),this.resize=this.wrapCommand((function(t){var n;e(this.restoreTarget()).css({width:100*t+"%",height:""})})),this.resizeTo=function(e,t,n){var o;if(n){var i=e.y/e.x,r=t.data("ratio");o={width:r>i?e.x:e.y/r,height:r>i?e.x*r:e.y}}else o={width:e.x,height:e.y};t.css(o)},this.removeMedia=this.wrapCommand((function(){var n=e(this.restoreTarget()).detach();t.triggerEvent("media.delete",n,r)})),this.hasFocus=function(){return r.is(":focus")},this.focus=function(){this.hasFocus()||r.focus()},this.isEmpty=function(){return V.isEmpty(r[0])||V.emptyPara===r.html()},this.empty=function(){t.invoke("code",V.emptyPara)},this.setHeight=function(e){r.outerHeight(e)}},Se=function(t){var n=this,o=t.layoutInfo.editable;this.events={"summernote.keydown":function(e,o){n.needKeydownHook()&&(o.ctrlKey||o.metaKey)&&o.keyCode===ue.code.V&&(t.invoke("editor.saveRange"),n.$paste.focus(),setTimeout((function(){n.pasteByHook()}),0))}},this.needKeydownHook=function(){return O.isMSIE&&O.browserVersion>10||O.isFF},this.initialize=function(){this.needKeydownHook()?(this.$paste=e("<div />").attr("contenteditable",!0).css({position:"absolute",left:-1e5,opacity:0}),o.before(this.$paste),this.$paste.on("paste",(function(e){t.triggerEvent("paste",e)}))):o.on("paste",this.pasteByEvent)},this.destroy=function(){this.needKeydownHook()&&(this.$paste.remove(),this.$paste=null)},this.pasteByHook=function(){var n=this.$paste[0].firstChild;if(V.isImg(n)){for(var o=n.src,i=atob(o.split(",")[1]),r=new Uint8Array(i.length),a=0;a<i.length;a++)r[a]=i.charCodeAt(a);var s=new Blob([r],{type:"image/png"});s.name="clipboard.png",t.invoke("editor.restoreRange"),t.invoke("editor.focus"),t.invoke("editor.insertImagesOrCallback",[s])}else{var l=e("<div />").html(this.$paste.html()).html();t.invoke("editor.restoreRange"),t.invoke("editor.focus"),l&&t.invoke("editor.pasteHTML",l)}this.$paste.empty()},this.pasteByEvent=function(e){var n=e.originalEvent.clipboardData;if(n&&n.items&&n.items.length){var o=g.head(n.items);"file"===o.kind&&-1!==o.type.indexOf("image/")&&t.invoke("editor.insertImagesOrCallback",[o.getAsFile()]),t.invoke("editor.afterCommand")}}},Pe=function(t){var n=e(document),o=t.layoutInfo.editor,i=t.layoutInfo.editable,r=t.options,a=r.langInfo,s=e(['<div class="note-dropzone">','  <div class="note-dropzone-message"/>',"</div>"].join("")).prependTo(o);this.initialize=function(){r.disableDragAndDrop?n.on("drop",(function(e){e.preventDefault()})):this.attachDragAndDropEvent()},this.attachDragAndDropEvent=function(){var r=e(),l=s.find(".note-dropzone-message");n.on("dragenter",(function(e){var n=t.invoke("codeview.isActivated"),i=o.width()>0&&o.height()>0;n||r.length||!i||(o.addClass("dragover"),s.width(o.width()),s.height(o.height()),l.text(a.image.dragImageHere)),r=r.add(e.target)})).on("dragleave",(function(e){(r=r.not(e.target)).length||o.removeClass("dragover")})).on("drop",(function(){r=e(),o.removeClass("dragover")})),s.on("dragenter",(function(){s.addClass("hover"),l.text(a.image.dropImage)})).on("dragleave",(function(){s.removeClass("hover"),l.text(a.image.dragImageHere)})),s.on("drop",(function(n){var o=n.originalEvent.dataTransfer;o&&o.files&&o.files.length?(n.preventDefault(),i.focus(),t.invoke("editor.insertImagesOrCallback",o.files)):e.each(o.types,(function(n,i){var r=o.getData(i);i.toLowerCase().indexOf("text")>-1?t.invoke("editor.pasteHTML",r):e(r).each((function(){t.invoke("editor.insertNode",this)}))}))})).on("dragover",!1)}},He;O.hasCodeMirror&&(O.isSupportAmd?require(["codemirror"],(function(e){He=e})):He=window.CodeMirror);var Re=function(e){var t=e.layoutInfo.editor,n=e.layoutInfo.editable,o=e.layoutInfo.codable,i=e.options;this.sync=function(){var e;this.isActivated()&&O.hasCodeMirror&&o.data("cmEditor").save()},this.isActivated=function(){return t.hasClass("codeview")},this.toggle=function(){this.isActivated()?this.deactivate():this.activate(),e.triggerEvent("codeview.toggled")},this.activate=function(){if(o.val(V.html(n,i.prettifyHtml)),o.height(n.height()),e.invoke("toolbar.updateCodeview",!0),t.addClass("codeview"),o.focus(),O.hasCodeMirror){var r=He.fromTextArea(o[0],i.codemirror);if(i.codemirror.tern){var a=new He.TernServer(i.codemirror.tern);r.ternServer=a,r.on("cursorActivity",(function(e){a.updateArgHints(e)}))}r.setSize(null,n.outerHeight()),o.data("cmEditor",r)}},this.deactivate=function(){if(O.hasCodeMirror){var r=o.data("cmEditor");o.val(r.getValue()),r.toTextArea()}var a=V.value(o,i.prettifyHtml)||V.emptyPara,s=n.html()!==a;n.html(a),n.height(i.height?o.height():"auto"),t.removeClass("codeview"),s&&e.triggerEvent("change",n.html(),n),n.focus(),e.invoke("toolbar.updateCodeview",!1)},this.destroy=function(){this.isActivated()&&this.deactivate()}},xe=24,Fe=function(t){var n=e(document),o=t.layoutInfo.statusbar,i=t.layoutInfo.editable,r=t.options;this.initialize=function(){r.airMode||r.disableResizeEditor||o.on("mousedown",(function(e){e.preventDefault(),e.stopPropagation();var t=i.offset().top-n.scrollTop();n.on("mousemove",(function(e){var n=e.clientY-(t+xe);n=r.minheight>0?Math.max(n,r.minheight):n,n=r.maxHeight>0?Math.min(n,r.maxHeight):n,i.height(n)})).one("mouseup",(function(){n.off("mousemove")}))}))},this.destroy=function(){o.off()}},Le=function(t){var n=t.layoutInfo.editor,o=t.layoutInfo.toolbar,i=t.layoutInfo.editable,r=t.layoutInfo.codable,a=e(window),s=e("html, body");this.toggle=function(){var e=function(e){i.css("height",e.h),r.css("height",e.h),r.data("cmeditor")&&r.data("cmeditor").setsize(null,e.h)};n.toggleClass("fullscreen"),this.isFullscreen()?(i.data("orgHeight",i.css("height")),a.on("resize",(function(){e({h:a.height()-o.outerHeight()})})).trigger("resize"),s.css("overflow","hidden")):(a.off("resize"),e({h:i.data("orgHeight")}),s.css("overflow","visible")),t.invoke("toolbar.updateFullscreen",this.isFullscreen())},this.isFullscreen=function(){return n.hasClass("fullscreen")}},Ae=function(t){var n=this,o=e(document),i=t.layoutInfo.editingArea,r=t.options;this.events={"summernote.mousedown":function(e,t){n.update(t.target)&&t.preventDefault()},"summernote.keyup summernote.scroll summernote.change summernote.dialog.shown":function(){n.update()}},this.initialize=function(){this.$handle=e(['<div class="note-handle">','<div class="note-control-selection">','<div class="note-control-selection-bg"></div>','<div class="note-control-holder note-control-nw"></div>','<div class="note-control-holder note-control-ne"></div>','<div class="note-control-holder note-control-sw"></div>
286','<div class="',r.disableResizeImage?"note-control-holder":"note-control-sizing",' note-control-se"></div>',r.disableResizeImage?"":'<div class="note-control-selection-info"></div>',"</div>","</div>"].join("")).prependTo(i),this.$handle.on("mousedown",(function(e){if(V.isControlSizing(e.target)){e.preventDefault(),e.stopPropagation();var i=n.$handle.find(".note-control-selection").data("target"),r=i.offset(),a=o.scrollTop();o.on("mousemove",(function(e){t.invoke("editor.resizeTo",{x:e.clientX-r.left,y:e.clientY-(r.top-a)},i,!e.shiftKey),n.update(i[0])})).one("mouseup",(function(e){e.preventDefault(),o.off("mousemove"),t.invoke("editor.afterCommand")})),i.data("ratio")||i.data("ratio",i.height()/i.width())}}))},this.destroy=function(){this.$handle.remove()},this.update=function(n){var o=V.isImg(n),i=this.$handle.find(".note-control-selection");if(t.invoke("imagePopover.update",n),o){var r=e(n),a=r.position(),s={w:r.outerWidth(!0),h:r.outerHeight(!0)};i.css({display:"block",left:a.left,top:a.top,width:s.w,height:s.h}).data("target",r);var l=s.w+"x"+s.h;i.find(".note-control-selection-info").text(l),t.invoke("editor.saveTarget",n)}else this.hide();return o},this.hide=function(){t.invoke("editor.clearTarget"),this.$handle.children().hide()}},De=function(t){var n=this,o="http://",i=/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|mailto:[A-Z0-9._%+-]+@)?(www\.)?(.+)$/i;this.events={"summernote.keyup":function(e,t){t.isDefaultPrevented()||n.handleKeyup(t)},"summernote.keydown":function(e,t){n.handleKeydown(t)}},this.initialize=function(){this.lastWordRange=null},this.destroy=function(){this.lastWordRange=null},this.replace=function(){if(this.lastWordRange){var n=this.lastWordRange.toString(),r=n.match(i);if(r&&(r[1]||r[2])){var a=r[1]?n:o+n,s=e("<a />").html(n).attr("href",a)[0];this.lastWordRange.insertNode(s),this.lastWordRange=null,t.invoke("editor.focus")}}},this.handleKeydown=function(e){if(g.contains([ue.code.ENTER,ue.code.SPACE],e.keyCode)){var n=t.invoke("editor.createRange").getWordRange();this.lastWordRange=n}},this.handleKeyup=function(e){g.contains([ue.code.ENTER,ue.code.SPACE],e.keyCode)&&this.replace()}},Me=function(e){var t=e.layoutInfo.note;this.events={"summernote.change":function(){t.val(e.invoke("code"))}},this.shouldInitialize=function(){return V.isTextarea(t[0])}},ze=function(t){var n=this,o=t.layoutInfo.editingArea,i=t.options;this.events={"summernote.init summernote.change":function(){n.update()},"summernote.codeview.toggled":function(){n.update()}},this.shouldInitialize=function(){return!!i.placeholder},this.initialize=function(){this.$placeholder=e('<div class="note-placeholder">'),this.$placeholder.on("click",(function(){t.invoke("focus")})).text(i.placeholder).prependTo(o)},this.destroy=function(){this.$placeholder.remove()},this.update=function(){var e=!t.invoke("codeview.isActivated")&&t.invoke("editor.isEmpty");this.$placeholder.toggle(e)}},Be=function(n){var o=this,i=e.summernote.ui,r=n.layoutInfo.toolbar,a=n.options,s=a.langInfo,l=t.invertObject(a.keyMap[O.isMac?"mac":"pc"]),c=this.representShortcut=function(e){var t=l[e];return O.isMac&&(t=t.replace("CMD","⌘").replace("SHIFT","⇧"))," ("+(t=t.replace("BACKSLASH","\\").replace("SLASH","/").replace("LEFTBRACKET","[").replace("RIGHTBRACKET","]"))+")"};this.initialize=function(){this.addToolbarButtons(),this.addImagePopoverButtons(),this.addLinkPopoverButtons(),this.fontInstalledMap={}},this.destroy=function(){delete this.fontInstalledMap},this.isFontInstalled=function(e){return o.fontInstalledMap.hasOwnProperty(e)||(o.fontInstalledMap[e]=O.isFontInstalled(e)||g.contains(a.fontNamesIgnoreCheck,e)),o.fontInstalledMap[e]},this.addToolbarButtons=function(){n.memo("button.style",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:i.icon(a.icons.magic)+" "+i.icon(a.icons.caret,"span"),tooltip:s.style.style,data:{toggle:"dropdown"}}),i.dropdown({className:"dropdown-style",items:n.options.styleTags,template:function(e){"string"==typeof e&&(e={tag:e,title:e});var t=e.tag,n=e.title,o,i;return"<"+t+(e.style?' style="'+e.style+'" ':"")+(e.className?' className="'+e.className+'"':"")+">"+n+"</"+t+">"},click:n.createInvokeHandler("editor.formatBlock")})]).render()})),n.memo("button.bold",(function(){return i.button({className:"note-btn-bold",contents:i.icon(a.icons.bold),tooltip:s.font.bold+c("bold"),click:n.createInvokeHandler("editor.bold")}).render()})),n.memo("button.italic",(function(){return i.button({className:"note-btn-italic",contents:i.icon(a.icons.italic),tooltip:s.font.italic+c("italic"),click:n.createInvokeHandler("editor.italic")}).render()})),n.memo("button.underline",(function(){return i.button({className:"note-btn-underline",contents:i.icon(a.icons.underline),tooltip:s.font.underline+c("underline"),click:n.createInvokeHandler("editor.underline")}).render()})),n.memo("button.clear",(function(){return i.button({contents:i.icon(a.icons.eraser),tooltip:s.font.clear+c("removeFormat"),click:n.createInvokeHandler("editor.removeFormat")}).render()})),n.memo("button.strikethrough",(function(){return i.button({className:"note-btn-strikethrough",contents:i.icon(a.icons.strikethrough),tooltip:s.font.strikethrough+c("strikethrough"),click:n.createInvokeHandler("editor.strikethrough")}).render()})),n.memo("button.superscript",(function(){return i.button({className:"note-btn-superscript",contents:i.icon(a.icons.superscript),tooltip:s.font.superscript,click:n.createInvokeHandler("editor.superscript")}).render()})),n.memo("button.subscript",(function(){return i.button({className:"note-btn-subscript",contents:i.icon(a.icons.subscript),tooltip:s.font.subscript,click:n.createInvokeHandler("editor.subscript")}).render()})),n.memo("button.fontname",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:'<span class="note-current-fontname"/> '+i.icon(a.icons.caret,"span"),tooltip:s.font.name,data:{toggle:"dropdown"}}),i.dropdownCheck({className:"dropdown-fontname",checkClassName:a.icons.menuCheck,items:a.fontNames.filter(o.isFontInstalled),template:function(e){return'<span style="font-family:'+e+'">'+e+"</span>"},click:n.createInvokeHandler("editor.fontName")}
286)]).render()})),n.memo("button.fontsize",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:'<span class="note-current-fontsize"/>'+i.icon(a.icons.caret,"span"),tooltip:s.font.size,data:{toggle:"dropdown"}}),i.dropdownCheck({className:"dropdown-fontsize",checkClassName:a.icons.menuCheck,items:a.fontSizes,click:n.createInvokeHandler("editor.fontSize")})]).render()})),n.memo("button.color",(function(){return i.buttonGroup({className:"note-color",children:[i.button({className:"note-current-color-button",contents:i.icon(a.icons.font+" note-recent-color"),tooltip:s.color.recent,click:function(t){var o=e(t.currentTarget);n.invoke("editor.color",{backColor:o.attr("data-backColor"),foreColor:o.attr("data-foreColor")})},callback:function(e){var t;e.find(".note-recent-color").css("background-color","#FFFF00"),e.attr("data-backColor","#FFFF00")}}),i.button({className:"dropdown-toggle",contents:i.icon(a.icons.caret,"span"),tooltip:s.color.more,data:{toggle:"dropdown"}}),i.dropdown({items:["<li>",'<div class="btn-group">','  <div class="note-palette-title">'+s.color.background+"</div>","  <div>",'    <button type="button" class="note-color-reset btn btn-default" data-event="backColor" data-value="inherit">',s.color.transparent,"    </button>","  </div>",'  <div class="note-holder" data-event="backColor"/>',"</div>",'<div class="btn-group">','  <div class="note-palette-title">'+s.color.foreground+"</div>","  <div>",'    <button type="button" class="note-color-reset btn btn-default" data-event="removeFormat" data-value="foreColor">',s.color.resetToDefault,"    </button>","  </div>",'  <div class="note-holder" data-event="foreColor"/>',"</div>","</li>"].join(""),callback:function(t){t.find(".note-holder").each((function(){var t=e(this);t.append(i.palette({colors:a.colors,eventName:t.data("event")}).render())}))},click:function(t){var o=e(t.target),i=o.data("event"),r=o.data("value");if(i&&r){var a="backColor"===i?"background-color":"color",s=o.closest(".note-color").find(".note-recent-color"),l=o.closest(".note-color").find(".note-current-color-button");s.css(a,r),l.attr("data-"+i,r),n.invoke("editor."+i,r)}}})]}).render()})),n.memo("button.ul",(function(){return i.button({contents:i.icon(a.icons.unorderedlist),tooltip:s.lists.unordered+c("insertUnorderedList"),click:n.createInvokeHandler("editor.insertUnorderedList")}).render()})),n.memo("button.ol",(function(){return i.button({contents:i.icon(a.icons.orderedlist),tooltip:s.lists.ordered+c("insertOrderedList"),click:n.createInvokeHandler("editor.insertOrderedList")}).render()}));var r=i.button({contents:i.icon(a.icons.alignLeft),tooltip:s.paragraph.left+c("justifyLeft"),click:n.createInvokeHandler("editor.justifyLeft")}),l=i.button({contents:i.icon(a.icons.alignCenter),tooltip:s.paragraph.center+c("justifyCenter"),click:n.createInvokeHandler("editor.justifyCenter")}),d=i.button({contents:i.icon(a.icons.alignRight),tooltip:s.paragraph.right+c("justifyRight"),click:n.createInvokeHandler("editor.justifyRight")}),u=i.button({contents:i.icon(a.icons.alignJustify),tooltip:s.paragraph.justify+c("justifyFull"),click:n.createInvokeHandler("editor.justifyFull")}),f=i.button({contents:i.icon(a.icons.outdent),tooltip:s.paragraph.outdent+c("outdent"),click:n.createInvokeHandler("editor.outdent")}),h=i.button({contents:i.icon(a.icons.indent),tooltip:s.paragraph.indent+c("indent"),click:n.createInvokeHandler("editor.indent")});n.memo("button.justifyLeft",t.invoke(r,"render")),n.memo("button.justifyCenter",t.invoke(l,"render")),n.memo("button.justifyRight",t.invoke(d,"render")),n.memo("button.justifyFull",t.invoke(u,"render")),n.memo("button.outdent",t.invoke(f,"render")),n.memo("button.indent",t.invoke(h,"render")),n.memo("button.paragraph",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:i.icon(a.icons.alignLeft)+" "+i.icon(a.icons.caret,"span"),tooltip:s.paragraph.paragraph,data:{toggle:"dropdown"}}),i.dropdown([i.buttonGroup({className:"note-align",children:[r,l,d,u]}),i.buttonGroup({className:"note-list",children:[f,h]})])]).render()})),n.memo("button.height",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:i.icon(a.icons.textHeight)+" "+i.icon(a.icons.caret,"span"),tooltip:s.font.height,data:{toggle:"dropdown"}}),i.dropdownCheck({items:a.lineHeights,checkClassName:a.icons.menuCheck,className:"dropdown-line-height",click:n.createInvokeHandler("editor.lineHeight")})]).render()})),n.memo("button.table",(function(){return i.buttonGroup([i.button({className:"dropdown-toggle",contents:i.icon(a.icons.table)+" "+i.icon(a.icons.caret,"span"),tooltip:s.table.table,data:{toggle:"dropdown"}}),i.dropdown({className:"note-table",items:['<div class="note-dimension-picker">','  <div class="note-dimension-picker-mousecatcher" data-event="insertTable" data-value="1x1"/>','  <div class="note-dimension-picker-highlighted"/>','  <div class="note-dimension-picker-unhighlighted"/>',"</div>",'<div class="note-dimension-display">1 x 1</div>'].join("")})],{callback:function(e){var t;e.find(".note-dimension-picker-mousecatcher").css({width:a.insertTableMaxSize.col+"em",height:a.insertTableMaxSize.row+"em"}).mousedown(n.createInvokeHandler("editor.insertTable")).on("mousemove",o.tableMoveHandler)}}).render()})),n.memo("button.link",(function(){return i.button({contents:i.icon(a.icons.link),tooltip:s.link.link,click:n.createInvokeHandler("linkDialog.show")}).render()})),n.memo("button.picture",(function(){return i.button({contents:i.icon(a.icons.picture),tooltip:s.image.image,click:n.createInvokeHandler("imageDialog.show")}).render()})),n.memo("button.video",(function(){return i.button({contents:i.icon(a.icons.video),tooltip:s.video.video,click:n.createInvokeHandler("videoDialog.show")}).render()})),n.memo("button.hr",(function(){return i.button({contents:i.icon(a.icons.minus),tooltip:s.hr.insert+c("insertHorizontalRule"),click:n.createInvokeHandler("editor.insertHorizontalRule")}).render()})),n.memo("button.fullscreen",(function(){return i.button({className:"btn-fullscreen",contents:i.icon(a.icons.arrowsAlt),tooltip:s.options.fullscreen,click:n.createInvokeHandler("fullscreen.toggle")}).render()})),n.memo("button.codeview",(function(){return i.button({className:"btn-codeview",contents:i.icon(a.icons.code),tooltip:s.options.codeview,click:n.createInvokeHandler("codeview.toggle")}).render()})),n.memo("button.redo",(function(){return i.button({contents:i.icon(a.icons.redo),tooltip:s.history.redo+c("redo"),click:n.createInvokeHandler("editor.redo")}).render()})),n.memo("button.undo",(function(){return i.button({contents:i.icon(a.icons.undo),tooltip:s.history.undo+c("undo"),click:n.createInvokeHandler("editor.undo")}).render()})),n.memo("button.help",(function(){return i.button({contents:i.icon(a.icons.question),tooltip:s.options.help,click:n.createInvokeHandler("helpDialog.show")}).render()}))},this.addImagePopoverButtons=function(){n.memo("button.imageSize100",(function(){return i.button({contents:'<span class="note-fontsize-10">100%</span>',tooltip:s.image.resizeFull,click:n.createInvokeHandler("editor.resize","1")}
286).render()})),n.memo("button.imageSize50",(function(){return i.button({contents:'<span class="note-fontsize-10">50%</span>',tooltip:s.image.resizeHalf,click:n.createInvokeHandler("editor.resize","0.5")}).render()})),n.memo("button.imageSize25",(function(){return i.button({contents:'<span class="note-fontsize-10">25%</span>',tooltip:s.image.resizeQuarter,click:n.createInvokeHandler("editor.resize","0.25")}).render()})),n.memo("button.floatLeft",(function(){return i.button({contents:i.icon(a.icons.alignLeft),tooltip:s.image.floatLeft,click:n.createInvokeHandler("editor.floatMe","left")}).render()})),n.memo("button.floatRight",(function(){return i.button({contents:i.icon(a.icons.alignRight),tooltip:s.image.floatRight,click:n.createInvokeHandler("editor.floatMe","right")}).render()})),n.memo("button.floatNone",(function(){return i.button({contents:i.icon(a.icons.alignJustify),tooltip:s.image.floatNone,click:n.createInvokeHandler("editor.floatMe","none")}).render()})),n.memo("button.removeMedia",(function(){return i.button({contents:i.icon(a.icons.trash),tooltip:s.image.remove,click:n.createInvokeHandler("editor.removeMedia")}).render()}))},this.addLinkPopoverButtons=function(){n.memo("button.linkDialogShow",(function(){return i.button({contents:i.icon(a.icons.link),tooltip:s.link.edit,click:n.createInvokeHandler("linkDialog.show")}).render()})),n.memo("button.unlink",(function(){return i.button({contents:i.icon(a.icons.unlink),tooltip:s.link.unlink,click:n.createInvokeHandler("editor.unlink")}).render()}))},this.build=function(e,t){for(var o=0,r=t.length;o<r;o++){for(var a=t[o],s=a[0],l=a[1],c=i.buttonGroup({className:"note-"+s}).render(),d=0,u=l.length;d<u;d++){var f=n.memo("button."+l[d]);f&&c.append("function"==typeof f?f(n):f)}c.appendTo(e)}},this.updateCurrentStyle=function(){var t=n.invoke("editor.currentStyle");if(this.updateBtnStates({".note-btn-bold":function(){return"bold"===t["font-bold"]},".note-btn-italic":function(){return"italic"===t["font-italic"]},".note-btn-underline":function(){return"underline"===t["font-underline"]},".note-btn-subscript":function(){return"subscript"===t["font-subscript"]},".note-btn-superscript":function(){return"superscript"===t["font-superscript"]},".note-btn-strikethrough":function(){return"strikethrough"===t["font-strikethrough"]}}),t["font-family"]){var i=t["font-family"].split(",").map((function(e){return e.replace(/[\'\"]/g,"").replace(/\s+$/,"").replace(/^\s+/,"")})),a=g.find(i,o.isFontInstalled);r.find(".dropdown-fontname li a").each((function(){var t=e(this).data("value")+""==a+"";this.className=t?"checked":""})),r.find(".note-current-fontname").text(a)}if(t["font-size"]){var s=t["font-size"];r.find(".dropdown-fontsize li a").each((function(){var t=e(this).data("value")+""==s+"";this.className=t?"checked":""})),r.find(".note-current-fontsize").text(s)}if(t["line-height"]){var l=t["line-height"];r.find(".dropdown-line-height li a").each((function(){var t=e(this).data("value")+""==l+"";this.className=t?"checked":""}))}},this.updateBtnStates=function(t){e.each(t,(function(e,t){i.toggleBtnActive(r.find(e),t())}))},this.tableMoveHandler=function(t){var n=18,o=e(t.target.parentNode),i=o.next(),r=o.find(".note-dimension-picker-mousecatcher"),s=o.find(".note-dimension-picker-highlighted"),l=o.find(".note-dimension-picker-unhighlighted"),c;if(void 0===t.offsetX){var d=e(t.target).offset();c={x:t.pageX-d.left,y:t.pageY-d.top}}else c={x:t.offsetX,y:t.offsetY};var u=Math.ceil(c.x/n)||1,f=Math.ceil(c.y/n)||1;s.css({width:u+"em",height:f+"em"}),r.data("value",u+"x"+f),3<u&&u<a.insertTableMaxSize.col&&l.css({width:u+1+"em"}),3<f&&f<a.insertTableMaxSize.row&&l.css({height:f+1+"em"}),i.html(u+" x "+f)}},$e=function(t){var n=e.summernote.ui,o=t.layoutInfo.note,i=t.layoutInfo.toolbar,r=t.options;this.shouldInitialize=function(){return!r.airMode},this.initialize=function(){r.toolbar=r.toolbar||[],r.toolbar.length?t.invoke("buttons.build",i,r.toolbar):i.hide(),r.toolbarContainer&&i.appendTo(r.toolbarContainer),o.on("summernote.keyup summernote.mouseup summernote.change",(function(){t.invoke("buttons.updateCurrentStyle")})),t.invoke("buttons.updateCurrentStyle")},this.destroy=function(){i.children().remove()},this.updateFullscreen=function(e){n.toggleBtnActive(i.find(".btn-fullscreen"),e)},this.updateCodeview=function(e){n.toggleBtnActive(i.find(".btn-codeview"),e),e?this.deactivate():this.activate()},this.activate=function(e){var t=i.find("button");e||(t=t.not(".btn-codeview")),n.toggleBtn(t,!0)},this.deactivate=function(e){var t=i.find("button");e||(t=t.not(".btn-codeview")),n.toggleBtn(t,!1)}},Ue=function(t){var n=this,o=e.summernote.ui,i=t.layoutInfo.editor,r=t.options,a=r.langInfo;this.initialize=function(){var t=r.dialogsInBody?e(document.body):i,n='<div class="form-group"><label>'+a.link.textToDisplay+'</label><input class="note-link-text form-control" type="text" /></div><div class="form-group"><label>'+a.link.url+'</label><input class="note-link-url form-control" type="text" value="http://" /></div>'+(r.disableLinkTarget?"":'<div class="checkbox"><label><input type="checkbox" checked> '+a.link.openInNewWindow+"</label></div>"),s='<button href="#" class="btn btn-primary note-link-btn disabled" disabled>'+a.link.insert+"</button>";this.$dialog=o.dialog({className:"link-dialog",title:a.link.insert,fade:r.dialogsFade,body:n,footer:s}).render().appendTo(t)},this.destroy=function(){o.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",(function(e){e.keyCode===ue.code.ENTER&&t.trigger("click")}))},this.showLinkDialog=function(i){return e.Deferred((function(e){var r=n.$dialog.find(".note-link-text"),a=n.$dialog.find(".note-link-url"),s=n.$dialog.find(".note-link-btn"),l=n.$dialog.find("input[type=checkbox]");o.onDialogShown(n.$dialog,(function(){t.triggerEvent("dialog.shown"),r.val(i.text),r.on("input",(function(){o.toggleBtn(s,r.val()&&a.val()),i.text=r.val()})),i.url||(i.url=i.text||"http://",o.toggleBtn(s,i.text)),a.on("input",(function(){o.toggleBtn(s,r.val()&&a.val()),i.text||r.val(a.val())})).val(i.url).trigger("focus"),n.bindEnterKey(a,s),n.bindEnterKey(r,s),l.prop("checked",i.isNewWindow),s.one("click",(function(t){t.preventDefault(),e.resolve({range:i.range,url:a.val(),text:r.val(),isNewWindow:l.is(":checked")}),n.$dialog.modal("hide")}))})),o.onDialogHidden(n.$dialog,(function(){r.off("input keypress"),a.off("input keypress"),s.off("click"),"pending"===e.state()&&e.reject()})),o.showDialog(n.$dialog)})).promise()},this.show=function(){var e=t.invoke("editor.getLinkInfo");t.invoke("editor.saveRange"),this.showLinkDialog(e).then((function(e){t.invoke("editor.restoreRange"),t.invoke("editor.createLink",e)})).fail((function(){t.invoke("editor.restoreRange")}))},t.memo("help.linkDialog.show",r.langInfo.help["linkDialog.show"])},Oe=function(t){var n=this,o=e.summernote.ui,i=t.options;this.events={"summernote.keyup summernote.mouseup summernote.change summernote.scroll":function(){n.update()},"summernote.dialog.shown":function(){n.hide()}},this.shouldInitialize=function(){return!g.isEmpty(i.popover.link)},this.initialize=function(){this.$popover=o.popover({className:"note-link-popover",callback:function(e){var t;e.find(".popover-content").prepend('<span><a target="_blank"></a>&nbsp;</span>')}}).render().appendTo("body");var e=this.$popover.find(".popover-content");t.invoke("buttons.build",e,i.popover.link)},this.destroy=function(){this.$popover.remove()},this.update=function(){if(t.invoke("editor.hasFocus")){var n=t.invoke("editor.createRange");if(n.isCollapsed()&&n.isOnAnchor()){var o=V.ancestor(n.sc,V.isAnchor),i=e(o).attr("href");this.$popover.find("a").attr("href",i).html(i);var r=V.posFromPlaceholder(o);this.$popover.css({display:"block",left:r.left,top:r.top})}else this.hide()}else this.hide()},this.hide=function(){this.$popover.hide()}},je=function(t){var n=this,o=e.summernote.ui,i=t.layoutInfo.editor,r=t.options,a=r.langInfo;this.initialize=function(){var t=r.dialogsInBody?e(document.body):i,n="";if(r.maximumImageFileSize){var s=Math.floor(Math.log(r.maximumImageFileSize)/Math.log(1024)),l=1*(r.maximumImageFileSize/Math.pow(1024,s)).toFixed(2)+" "+" KMGTP"[s]+"B";n="<small>"+a.image.maximumFileSize+" : "+l+"</small>"}var c='<div class="form-group note-group-select-from-files"><label>'+a.image.selectFromFiles+'</label><input class="note-image-input form-control" type="file" name="files" accept="image/*" multiple="multiple" />'+n+'</div><div class="form-group" style="overflow:auto;"><label>'+a.image.url+'</label><input class="note-image-url form-control col-md-12" type="text" /></div>',d='<button href="#" class="btn btn-primary note-image-btn disabled" disabled>'+a.image.insert+"</button>";this.$dialog=o.dialog({title:a.image.insert,fade:r.dialogsFade,body:c,footer:d}).render().appendTo(t)},this.destroy=function(){o.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",(function(e){e.keyCode===ue.code.ENTER&&t.trigger("click")}))},this.show=function(){t.invoke("editor.saveRange"),this.showImageDialog().then((function(e){o.hideDialog(n.$dialog),t.invoke("editor.restoreRange"),"string"==typeof e?t.invoke("editor.insertImage",e):t.invoke("editor.insertImagesOrCallback",e)})).fail((function(){t.invoke("editor.restoreRange")}))},this.showImageDialog=function(){return e.Deferred((function(e){var i=n.$dialog.find(".note-image-input"),r=n.$dialog.find(".note-image-url"),a=n.$dialog.find(".note-image-btn");o.onDialogShown(n.$dialog,(function(){t.triggerEvent("dialog.shown"),i.replaceWith(i.clone().on("change",(function(){e.resolve(this.files||this.value)})).val("")),a.click((function(t){t.preventDefault(),e.resolve(r.val())})),r.on("keyup paste",(function(){var e=r.val();o.toggleBtn(a,e)})).val("").trigger("focus"),n.bindEnterKey(r,a)})),o.onDialogHidden(n.$dialog,(function(){i.off("change"),r.off("keyup paste keypress"),a.off("
286click"),"pending"===e.state()&&e.reject()})),o.showDialog(n.$dialog)}))}},Ke=function(t){var n=e.summernote.ui,o=t.options;this.shouldInitialize=function(){return!g.isEmpty(o.popover.image)},this.initialize=function(){this.$popover=n.popover({className:"note-image-popover"}).render().appendTo("body");var e=this.$popover.find(".popover-content");t.invoke("buttons.build",e,o.popover.image)},this.destroy=function(){this.$popover.remove()},this.update=function(e){if(V.isImg(e)){var t=V.posFromPlaceholder(e);this.$popover.css({display:"block",left:t.left,top:t.top})}else this.hide()},this.hide=function(){this.$popover.hide()}},Ve=function(t){var n=this,o=e.summernote.ui,i=t.layoutInfo.editor,r=t.options,a=r.langInfo;this.initialize=function(){var t=r.dialogsInBody?e(document.body):i,n='<div class="form-group row-fluid"><label>'+a.video.url+' <small class="text-muted">'+a.video.providers+'</small></label><input class="note-video-url form-control span12" type="text" /></div>',s='<button href="#" class="btn btn-primary note-video-btn disabled" disabled>'+a.video.insert+"</button>";this.$dialog=o.dialog({title:a.video.insert,fade:r.dialogsFade,body:n,footer:s}).render().appendTo(t)},this.destroy=function(){o.hideDialog(this.$dialog),this.$dialog.remove()},this.bindEnterKey=function(e,t){e.on("keypress",(function(e){e.keyCode===ue.code.ENTER&&t.trigger("click")}))},this.createVideoNode=function(t){var n=/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/,o=t.match(n),i=/\/\/instagram.com\/p\/(.[a-zA-Z0-9_-]*)/,r=t.match(i),a=/\/\/vine.co\/v\/(.[a-zA-Z0-9]*)/,s=t.match(a),l=/\/\/(player.)?vimeo.com\/([a-z]*\/)*([0-9]{6,11})[?]?.*/,c=t.match(l),d=/.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/,u=t.match(d),f=/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/,h=t.match(f),m=/^.+.(mp4|m4v)$/,p=t.match(m),g=/^.+.(ogg|ogv)$/,v=t.match(g),b=/^.+.(webm)$/,k=t.match(b),y;if(o&&11===o[1].length){var C=o[1];y=e("<iframe>").attr("frameborder",0).attr("src","//www.youtube.com/embed/"+C).attr("width","640").attr("height","360")}else if(r&&r[0].length)y=e("<iframe>").attr("frameborder",0).attr("src",r[0]+"/embed/").attr("width","612").attr("height","710").attr("scrolling","no").attr("allowtransparency","true");else if(s&&s[0].length)y=e("<iframe>").attr("frameborder",0).attr("src",s[0]+"/embed/simple").attr("width","600").attr("height","600").attr("class","vine-embed");else if(c&&c[3].length)y=e("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("src","//player.vimeo.com/video/"+c[3]).attr("width","640").attr("height","360");else if(u&&u[2].length)y=e("<iframe>").attr("frameborder",0).attr("src","//www.dailymotion.com/embed/video/"+u[2]).attr("width","640").attr("height","360");else if(h&&h[1].length)y=e("<iframe webkitallowfullscreen mozallowfullscreen allowfullscreen>").attr("frameborder",0).attr("height","498").attr("width","510").attr("src","//player.youku.com/embed/"+h[1]);else{if(!(p||v||k))return!1;y=e("<video controls>").attr("src",t).attr("width","640").attr("height","360")}return y.addClass("note-video-clip"),y[0]},this.show=function(){var e=t.invoke("editor.getSelectedText");t.invoke("editor.saveRange"),this.showVideoDialog(e).then((function(e){o.hideDialog(n.$dialog),t.invoke("editor.restoreRange");var i=n.createVideoNode(e);i&&t.invoke("editor.insertNode",i)})).fail((function(){t.invoke("editor.restoreRange")}))},this.showVideoDialog=function(i){return e.Deferred((function(e){var r=n.$dialog.find(".note-video-url"),a=n.$dialog.find(".note-video-btn");o.onDialogShown(n.$dialog,(function(){t.triggerEvent("dialog.shown"),r.val(i).on("input",(function(){o.toggleBtn(a,r.val())})).trigger("focus"),a.click((function(t){t.preventDefault(),e.resolve(r.val())})),n.bindEnterKey(r,a)})),o.onDialogHidden(n.$dialog,(function(){r.off("input"),a.off("click"),"pending"===e.state()&&e.reject()})),o.showDialog(n.$dialog)}))}},We=function(t){var n=this,o=e.summernote.ui,i=t.layoutInfo.editor,r=t.options,a=r.langInfo;this.createShortCutList=function(){var n=r.keyMap[O.isMac?"mac":"pc"];return Object.keys(n).map((function(o){var i=n[o],r=e('<div><div class="help-list-item"/></div>');return r.append(e("<label><kbd>"+o+"</kdb></label>").css({width:180,"margin-right":10})).append(e("<span/>").html(t.memo("help."+i)||i)),r.html()})).join("")},this.initialize=function(){var t=r.dialogsInBody?e(document.body):i,n=['<p class="text-center">','<a href="//summernote.org/" target="_blank">Summernote 0.8.1</a> · ','<a href="//github.com/summernote/summernote" target="_blank">Project</a> · ','<a href="//github.com/summernote/summernote/issues" target="_blank">Issues</a>',"</p>"].join("");this.$dialog=o.dialog({title:a.options.help,fade:r.dialogsFade,body:this.createShortCutList(),footer:n,callback:function(e){e.find(".modal
286-body").css({"max-height":300,overflow:"scroll"})}}).render().appendTo(t)},this.destroy=function(){o.hideDialog(this.$dialog),this.$dialog.remove()},this.showHelpDialog=function(){return e.Deferred((function(e){o.onDialogShown(n.$dialog,(function(){t.triggerEvent("dialog.shown"),e.resolve()})),o.showDialog(n.$dialog)})).promise()},this.show=function(){t.invoke("editor.saveRange"),this.showHelpDialog().then((function(){t.invoke("editor.restoreRange")}))}},qe=function(n){var o=this,i=e.summernote.ui,r=n.options,a=20;this.events={"summernote.keyup summernote.mouseup summernote.scroll":function(){o.update()},"summernote.change summernote.dialog.shown":function(){o.hide()},"summernote.focusout":function(e,n){O.isFF||n.relatedTarget&&V.ancestor(n.relatedTarget,t.eq(o.$popover[0]))||o.hide()}},this.shouldInitialize=function(){return r.airMode&&!g.isEmpty(r.popover.air)},this.initialize=function(){this.$popover=i.popover({className:"note-air-popover"}).render().appendTo("body");var e=this.$popover.find(".popover-content");n.invoke("buttons.build",e,r.popover.air)},this.destroy=function(){this.$popover.remove()},this.update=function(){var e=n.invoke("editor.currentStyle");if(e.range&&!e.range.isCollapsed()){var o=g.last(e.range.getClientRects());if(o){var i=t.rect2bnd(o);this.$popover.css({display:"block",left:Math.max(i.left+i.width/2,0)-a,top:i.top+i.height})}}else this.hide()},this.hide=function(){this.$popover.hide()}},_e=function(n){var o=this,i=e.summernote.ui,r=5,a=n.options.hint||[],s=n.options.hintDirection||"bottom",l=e.isArray(a)?a:[a];this.events={"summernote.keyup":function(e,t){t.isDefaultPrevented()||o.handleKeyup(t)},"summernote.keydown":function(e,t){o.handleKeydown(t)},"summernote.dialog.shown":function(){o.hide()}},this.shouldInitialize=function(){return l.length>0},this.initialize=function(){this.lastWordRange=null,this.$popover=i.popover({className:"note-hint-popover",hideArrow:!0,direction:""}).render().appendTo("body"),this.$popover.hide(),this.$content=this.$popover.find(".popover-content"),this.$content.on("click",".note-hint-item",(function(){o.$content.find(".active").removeClass("active"),e(this).addClass("active"),o.replace()}))},this.destroy=function(){this.$popover.remove()},this.selectItem=function(e){this.$content.find(".active").removeClass("active"),e.addClass("active"),this.$content[0].scrollTop=e[0].offsetTop-this.$content.innerHeight()/2},this.moveDown=function(){var e=this.$content.find(".note-hint-item.active"),t=e.next();if(t.length)this.selectItem(t);else{var n=e.parent().next();n.length||(n=this.$content.find(".note-hint-group").first()),this.selectItem(n.find(".note-hint-item").first())}},this.moveUp=function(){var e=this.$content.find(".note-hint-item.active"),t=e.prev();if(t.length)this.selectItem(t);else{var n=e.parent().prev();n.length||(n=this.$content.find(".note-hint-group").last()),this.selectItem(n.find(".note-hint-item").last())}},this.replace=function(){var e=this.$content.find(".note-hint-item.active");if(e.length){var t=this.nodeFromItem(e);this.lastWordRange.insertNode(t),he.createFromNode(t).collapse().select(),this.lastWordRange=null,this.hide(),n.invoke("editor.focus")}},this.nodeFromItem=function(e){var t=l[e.data("index")],n=e.data("item"),o=t.content?t.content(n):n;return"string"==typeof o&&(o=V.createText(o)),o},this.createItemTemplates=function(t,n){var o=l[t];return n.map((function(n,i){var r=e('<div class="note-hint-item"/>');return r.append(o.template?o.template(n):n+""),r.data({index:t,item:n}),0===t&&0===i&&r.addClass("active"),r}))},this.handleKeydown=function(e){this.$popover.is(":visible")&&(e.keyCode===ue.code.ENTER?(e.preventDefault(),this.replace()):e.keyCode===ue.code.UP?(e.preventDefault(),this.moveUp()):e.keyCode===ue.code.DOWN&&(e.preventDefault(),this.moveDown()))},this.searchKeyword=function(e,t,n){var o=l[e];if(o&&o.match.test(t)&&o.search){var i=o.match.exec(t);o.search(i[1],n)}else n()},this.createGroup=function(t,n){var i=e('<div class="note-hint-group note-hint-group-'+t+'"/>');return this.searchKeyword(t,n,(function(e){(e=e||[]).length&&(i.html(o.createItemTemplates(t,e)),o.show())})),i},this.handleKeyup=function(e){if(g.contains([ue.code.ENTER,ue.code.
286UP,ue.code.DOWN],e.keyCode)){if(e.keyCode===ue.code.ENTER&&this.$popover.is(":visible"))return}else{var i=n.invoke("editor.createRange").getWordRange(),r=i.toString();if(l.length&&r){this.$content.empty();var a=t.rect2bnd(g.last(i.getClientRects()));a&&(this.$popover.hide(),this.lastWordRange=i,l.forEach((function(e,t){e.match.test(r)&&o.createGroup(t,r).appendTo(o.$content)})),"top"===s?this.$popover.css({left:a.left,top:a.top-this.$popover.outerHeight()-5}):this.$popover.css({left:a.left,top:a.top+a.height+5}))}else this.hide()}},this.show=function(){this.$popover.show()},this.hide=function(){this.$popover.hide()}};e.summernote=e.extend(e.summernote,{version:"0.8.1",ui:de,plugins:{},options:{modules:{editor:Ee,clipboard:Se,dropzone:Pe,codeview:Re,statusbar:Fe,fullscreen:Le,handle:Ae,hintPopover:_e,autoLink:De,autoSync:Me,placeholder:ze,buttons:Be,toolbar:$e,linkDialog:Ue,linkPopover:Oe,imageDialog:je,imagePopover:Ke,videoDialog:Ve,helpDialog:We,airPopover:qe},buttons:{},lang:"en-US",toolbar:[["style",["style"]],["font",["bold","underline","clear"]],["fontname",["fontname"]],["color",["color"]],["para",["ul","ol","paragraph"]],["table",["table"]],["insert",["link","picture","video"]],["view",["fullscreen","codeview","help"]]],popover:{image:[["imagesize",["imageSize100","imageSize50","imageSize25"]],["float",["floatLeft","floatRight","floatNone"]],["remove",["removeMedia"]]],link:[["link",["linkDialogShow","unlink"]]],air:[["color",["color"]],["font",["bold","underline","clear"]],["para",["ul","paragraph"]],["table",["table"]],["insert",["link","picture"]]]},airMode:!1,width:null,height:null,focus:!1,tabSize:4,styleWithSpan:!0,shortcuts:!0,textareaAutoSync:!0,direction:null,styleTags:["p","blockquote","pre","h1","h2","h3","h4","h5","h6"],fontNames:["Arial","Arial Black","Comic Sans MS","Courier New","Helvetica Neue","Helvetica","Impact","Lucida Grande","Tahoma","Times New Roman","Verdana"],fontSizes:["8","9","10","11","12","14","18","24","36"],colors:[["#000000","#424242","#636363","#9C9C94","#CEC6CE","#EFEFEF","#F7F7F7","#FFFFFF"],["#FF0000","#FF9C00","#FFFF00","#00FF00","#00FFFF","#0000FF","#9C00FF","#FF00FF"],["#F7C6CE","#FFE7CE","#FFEFC6","#D6EFD6","#CEDEE7","#CEE7F7","#D6D6E7","#E7D6DE"],["#E79C9C","#FFC69C","#FFE79C","#B5D6A5","#A5C6CE","#9CC6EF","#B5A5D6","#D6A5BD"],["#E76363","#F7AD6B","#FFD663","#94BD7B","#73A5AD","#6BADDE","#8C7BC6","#C67BA5"],["#CE0000","#E79439","#EFC631","#6BA54A","#4A7B8C","#3984C6","#634AA5","#A54A7B"],["#9C0000","#B56308","#BD9400","#397B21","#104A5A","#085294","#311873","#731842"],["#630000","#7B3900","#846300","#295218","#083139","#003163","#21104A","#4A1031"]],lineHeights:["1.0","1.2","1.4","1.5","1.6","1.8","2.0","3.0"],tableClassName:"table table-bordered",insertTableMaxSize:{col:10,row:10},dialogsInBody:!1,dialogsFade:!1,maximumImageFileSize:null,callbacks:{onInit:null,onFocus:null,onBlur:null,onEnter:null,onKeyup:null,onKeydown:null,onSubmit:null,onImageUpload:null,onImageUploadError:null},codemirror:{mode:"text/html",htmlMode:!0,lineNumbers:!0},keyMap:{pc:{ENTER:"insertParagraph","CTRL+Z":"undo","CTRL+Y":"redo",TAB:"tab","SHIFT+TAB":"untab","CTRL+B":"bold","CTRL+I":"italic","CTRL+U":"underline","CTRL+SHIFT+S":"strikethrough","CTRL+BACKSLASH":"removeFormat","CTRL+SHIFT+L":"justifyLeft","CTRL+SHIFT+E":"justifyCenter","CTRL+SHIFT+R":"justifyRight","CTRL+SHIFT+J":"justifyFull","CTRL+SHIFT+NUM7":"insertUnorderedList","CTRL+SHIFT+NUM8":"insertOrderedList","CTRL+LEFTBRACKET":"outdent","CTRL+RIGHTBRACKET":"indent","CTRL+NUM0":"formatPara","CTRL+NUM1":"formatH1","CTRL+NUM2":"formatH2","CTRL+NUM3":"formatH3","CTRL+NUM4":"formatH4","CTRL+NUM5":"formatH5","CTRL+NUM6":"formatH6","CTRL+ENTER":"insertHorizontalRule","CTRL+K":"linkDialog.show"},mac:{ENTER:"insertParagraph","CMD+Z":"undo","CMD+SHIFT+Z":"redo",TAB:"tab","SHIFT+TAB":"untab","CMD+B":"bold","CMD+I":"italic","CMD+U":"underline","CMD+SHIFT+S":"strikethrough","CMD+BACKSLASH":"removeFormat","CMD+SHIFT+L":"justifyLeft","CMD+SHIFT+E":"justifyCenter","CMD+SHIFT+R":"justifyRight","CMD+SHIFT+J":"justifyFull","CMD+SHIFT+NUM7":"insertUnorderedList","CMD+SHIFT+NUM8":"insertOrderedList","CMD+LEFTBRACKET":"outdent","CMD+RIGHTBRACKET":"indent","CMD+NUM0":"formatPara","CMD+NUM1":"formatH1","CMD+NUM2":"formatH2","CMD+NUM3":"formatH3","CMD+NUM4":"formatH4","CMD+NUM5":"formatH5","CMD+NUM6":"formatH6","CMD+ENTER":"insertHorizontalRule","CMD+K":"linkDialog.show"}},icons:{align:"note-icon-align",alignCenter:"note-icon-align-center",alignJustify:"note-icon-align-justify",alignLeft:"note-icon-align-left",alignRight:"note-icon-align-right",indent:"note-icon-align-indent",outdent:"note-icon-align-outdent",arrowsAlt:"note-icon-arrows-alt",bold:"note-icon-bold",caret:"note-icon-caret",cir
286cle:"note-icon-circle",close:"note-icon-close",code:"note-icon-code",eraser:"note-icon-eraser",font:"note-icon-font",frame:"note-icon-frame",italic:"note-icon-italic",link:"note-icon-link",unlink:"note-icon-chain-broken",magic:"note-icon-magic",menuCheck:"note-icon-check",minus:"note-icon-minus",orderedlist:"note-icon-orderedlist",pencil:"note-icon-pencil",picture:"note-icon-picture",question:"note-icon-question",redo:"note-icon-redo",square:"note-icon-square",strikethrough:"note-icon-strikethrough",subscript:"note-icon-subscript",superscript:"note-icon-superscript",table:"note-icon-table",textHeight:"note-icon-text-height",trash:"note-icon-trash",underline:"note-icon-underline",undo:"note-icon-undo",unorderedlist:"note-icon-unorderedlist",video:"note-icon-video"}}})},"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(window.jQuery)}).call(this),Package._define("summernote:standalone")}();
287
288!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,t=Package.meteor.meteorEnv,n=Package["templating-runtime"].Template,o=Package.underscore._,r=Package["reactive-var"].ReactiveVar,c=Package["aldeed:autoform"].AutoForm,u=Package["aldeed:simple-schema"].SimpleSchema,m=Package["aldeed:simple-schema"].MongoObject,s=Package.blaze.Blaze,i=Package.blaze.UI,l=Package.blaze.Handlebars,f=Package.spacebars.Spacebars,g=Package.htmljs.HTML;(function(){n.__checkName("afSummernote"),n.afSummernote=new n("Template.afSummernote",(function(){var e=this;return g.DIV(g.Attrs((function(){return f.attrMustache(e.lookup("atts"))})))}))}).call(this),function(){n.afSummernote.created=function(){this.value=new r(this.data.value)},n.afSummernote.rendered=function(){var e=this,a=this.data.atts.settings||{},t=$(this.firstNode),n=a.onblur;a.onblur=function(e){t.change(),"function"==typeof n&&n.apply(this,arguments)},t.summernote(a),this.autorun((function(){t.summernote("code",e.value.get())})),t.closest("form").on("reset",(function(){t.summernote("code","")}))},n.afSummernote.helpers({atts:function(){var e=this;return Tracker.nonreactive((function(){var a=n.instance();a.value.get()!==e.value&&a.value.set(e.value)})),o.omit(this.atts,"settings")}})}.call(this),function(){c.addInputType("summernote",{template:"afSummernote",valueOut:function(){return this.summernote("code")}})}.call(this),Package._define("mpowaga:autoform-summernote")}();
289
290Package._define("djedi:sanitize-html");
291
292Package._define("gadicohen:sitemaps");
293
294!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,t=Package.meteor.meteorEnv,c=Package.check.check,l=Package.check.Match,o=Package.blaze.Blaze,n=Package.blaze.UI,i=Package.blaze.Handlebars,s=Package.htmljs.HTML,u,p,r;(function(){(u={})._getPublicKey=function(){if(e.settings&&e.settings.public&&e.settings.public.uploadcare){if(e.settings.public.uploadcare.publickey)return e.settings.public.uploadcare.publickey;if(e.settings.public.uploadcare.public_key)return e.settings.public.uploadcare.public_key;"undefined"!=typeof console&&console.log("uploadcare-plus - No public key supplied")}else"undefined"!=typeof console&&console.log("uploadcare-plus - You need at least to create public settings")},u._setInitParams=function(a){for(var t in window.UPLOADCARE_PUBLIC_KEY=a,p=e.settings.public.uploadcare)"public_key"!=t&&"publickey"!=t&&p.hasOwnProperty(t)&&(window["UPLOADCARE_"+t.toUpperCase()]=p[t])},u.load=function(e,a){if("undefined"==typeof window.uploadcare&&(e?c(e,String):e=this._getPublicKey(),e)){this._setInitParams(e);var t=function(){"[object Function]"===Object.prototype.toString.call(a)&&a()},l=function(e){"undefined"!=typeof console&&console.log(e)},o=document.createElement("script");o.type="text/javascript",o.src="https://ucarecdn.com/widget/2.9.0/uploadcare/uploadcare.full.min.js",o.onload=t,o.onerror=l,document.getElementsByTagName("head")[0].appendChild(o)}},r=function(e,a){console.log("uploadcare-plus - loadUploadcare is deprecated. Use UploadCarePlus.load instead"),u.load(e,a)},n.registerHelper("uploadcareUUIDToImageUrl",(function(a,t){var c="";if(a){var l="https://ucarecdn.com/";e.settings&&e.settings.public&&e.settings.public.uploadcare&&e.settings.public.uploadcare.cdn&&(l=e.settings.public.uploadcare.cdn),c=l+a+"/","string"==typeof t&&""!=t&&(c+=t)}return c}))}).call(this),Package._define("natestrauser:uploadcare-plus",{loadUploadcare:r,UploadCarePlus:u})}();
295
296!function(){var e=Package.meteor.Meteor,a=Package.meteor.global,n=Package.meteor.meteorEnv,t;(function(){
297/**
298 * speakingurl
299 * @version v9.0.0
300 * @link http://pid.github.io/speakingurl/
301 * @license BSD
302 * @author Sascha Droste
303 */
304!function(e,a){"use strict";var n=function(e,a){var n,t,u,l,s,r,c,m,g,h,d,k,f,y,p,A="-",b=[";","?",":","@","&","=","+","$",",","/"],z=[";","?",":","@","&","=","+","$",","],E=[".","!","~","*","'","(",")"],S="",j="",v=!0,O={},w={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"Ae","Å":"A","Æ":"AE","Ç":"C","È":"E","É":"E","Ê":"E","Ë":"E","Ì":"I","Í":"I","Î":"I","Ï":"I","Ð":"D","Ñ":"N","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"Oe","Ő":"O","Ø":"O","Ù":"U","Ú":"U","Û":"U","Ü":"Ue","Ű":"U","Ý":"Y","Þ":"TH","ß":"ss","à":"a","á":"a","â":"a","ã":"a","ä":"ae","å":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","í":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"oe","ő":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"ue","ű":"u","ý":"y","þ":"th","ÿ":"y","ẞ":"SS","ا":"a","أ":"a","إ":"i","آ":"aa","ؤ":"u","ئ":"e","ء":"a","ب":"b","ت":"t","ث":"th","ج":"j","ح":"h","خ":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","ش":"sh","ص":"s","ض":"dh","ط":"t","ظ":"z","ع":"a","غ":"gh","ف":"f","ق":"q","ك":"k","ل":"l","م":"m","ن":"n","ه":"h","و":"w","ي":"y","ى":"a","ة":"h","ﻻ":"la","ﻷ":"laa","ﻹ":"lai","ﻵ":"laa","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","က":"k","ခ":"kh","ဂ":"g","ဃ":"ga","င":"ng","စ":"s","ဆ":"sa","ဇ":"z","စျ":"za","ည":"ny","ဋ":"t","ဌ":"ta","ဍ":"d","ဎ":"da","ဏ":"na","တ":"t","ထ":"ta","ဒ":"d","ဓ":"da","န":"n","ပ":"p","ဖ":"pa","ဗ"
304:"b","ဘ":"ba","မ":"m","ယ":"y","ရ":"ya","လ":"l","ဝ":"w","သ":"th","ဟ":"h","ဠ":"la","အ":"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h","ဧ":"e","၏":"-e","ဣ":"i","ဤ":"-i","ဉ":"u","ဦ":"-u","ဩ":"aw","သြော":"aw","ဪ":"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"","č":"c","ď":"d","ě":"e","ň":"n","ř":"r","Å¡":"s","Å¥":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Å ":"S","Ť":"T","Å®":"U","Ž":"Z","ހ":"h","ށ":"sh","ނ":"n","ރ":"r","ބ":"b","ޅ":"lh","ކ":"k","އ":"a","ވ":"v","މ":"m","ފ":"f","ދ":"dh","ތ":"th","ލ":"l","ގ":"g","ޏ":"gn","ސ":"s","ޑ":"d","ޒ":"z","ޓ":"t","ޔ":"y","ޕ":"p","ޖ":"j","ޗ":"ch","ޘ":"tt","ޙ":"hh","ޚ":"kh","ޛ":"th","ޜ":"z","ޝ":"sh","ޞ":"s","ޟ":"d","Þ ":"t","Þ¡":"z","Þ¢":"a","Þ£":"gh","Þ¤":"q","Þ¥":"w","Þ¦":"a","Þ§":"aa","Þ¨":"i","Þ©":"ee","Þª":"u","Þ«":"oo","Þ¬":"e","Þ­":"ey","Þ®":"o","Þ¯":"oa","Þ°":"","α":"a","β":"v","γ":"g","δ":"d","ε":"e","ζ":"z","η":"i","θ":"th","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"ks","ο":"o","π":"p","ρ":"r","σ":"s","τ":"t","υ":"y","φ":"f","χ":"x","ψ":"ps","ω":"o","ά":"a","έ":"e","ί":"i","ό":"o","ύ":"y","ή":"i","ώ":"o","ς":"s","ϊ":"i","ΰ":"y","ϋ":"y","ΐ":"i","Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"I","Θ":"TH","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"KS","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ά":"A","Έ":"E","Ί":"I","Ό":"O","Ύ":"Y","Ή":"I","Ώ":"O","Ϊ":"I","Ϋ":"Y","ā":"a","ē":"e","Ä£":"g","Ä«":"i","Ä·":"k","ļ":"l","ņ":"n","Å«":"u","Ā":"A","Ē":"E","Ä¢":"G","Ī":"I","Ķ":"k","Ä»":"L","Ņ":"N","Ū":"U","Ќ":"Kj","ќ":"kj","Љ":"Lj","љ":"lj","Њ":"Nj","њ":"nj","Тс":"Ts","тс":"ts","ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"E","Ł":"L","Ń":"N","Ś":"S","Ź":"Z","Å»":"Z","Є":"Ye","І":"I","Ї":"Yi","Ґ":"G","є":"ye","і":"i","ї":"yi","ґ":"g","ă":"a","Ă":"A","ș":"s","Ș":"S","ț":"t","Ț":"T","Å£":"t","Å¢":"T","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ё":"yo","ж":"zh","з":"z","и":"i","й":"i","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","р":"r","с":"s","т":"t","у":"u","ф":"f","х":"kh","ц":"c","ч":"ch","ш":"sh","щ":"sh","ъ":"","ы":"y","ь":"","э":"e","ю":"yu","я":"ya","А":"A","Б":"B","В":"V","Г":"G","Д":"D","Е":"E","Ё":"Yo","Ж":"Zh","З":"Z","И":"I","Й":"I","К":"K","Л":"L","М":"M","Н":"N","О":"O","П":"P","Р":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"Kh","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"","Ы":"Y","Ь":"","Э":"E","Ю":"Yu","Я":"Ya","ђ":"dj","ј":"j","ћ":"c","џ":"dz","Ђ":"Dj","Ј":"j","Ћ":"C","Џ":"Dz","ľ":"l","ĺ":"l","ŕ":"r","Ľ":"L","Ĺ":"L","Ŕ":"R","ş":"s","Ş":"S","ı":"i","İ":"I","ğ":"g","Ğ":"G","ả":"a","Ả":"A","ẳ":"a","Ẳ":"A","ẩ":"a","Ẩ":"A","đ":"d","Đ":"D","ẹ":"e","Ẹ":"E","ẽ":"e","Ẽ":"E","ẻ":"e","Ẻ":"E","ế":"e","Ế":"E","ề":"e","Ề":"E","ệ":"e","Ệ":"E","ễ":"e","Ễ":"E","ể":"e","Ể":"E","ọ":"o","Ọ":"o","ố":"o","Ố":"O","ồ":"o","Ồ":"O","ổ":"o","Ổ":"O","ộ":"o","Ộ":"O","ỗ":"o","Ỗ":"O","Æ¡":"o","Æ ":"O","ớ":"o","Ớ":"O","ờ":"o","Ờ":"O","ợ":"o","Ợ":"O","ỡ":"o","á» ":"O","Ở":"o","ở":"o","ị":"i","Ị":"I","Ä©":"i","Ĩ":"I","ỉ":"i","Ỉ":"i","á»§":"u","Ủ":"U","ụ":"u","Ụ":"U","Å©":"u","Ũ":"U","ư":"u","Ư":"U","ứ":"u","Ứ":"U","ừ":"u","Ừ":"U","á»±":"u","á»°":"U","ữ":"u","á»®":"U","á»­":"u","Ử":"ư","á»·":"y","á»¶":"y","ỳ":"y","Ỳ":"Y","ỵ":"y","á»´":"Y","ỹ":"y","Ỹ":"Y","ạ":"a","Ạ":"A","ấ":"a","Ấ":"A","ầ":"a","Ầ":"A","ậ":"a","Ậ":"A","ẫ":"a","Ẫ":"A","ắ":"a","Ắ":"A","ằ":"a","Ằ":"A","ặ":"a","Ặ":"A","ẵ":"a","Ẵ":"A","“":'"',"”":'"',"‘":"'","’":"'","∂":"d","ƒ":"f","™":"(TM)","©":"(C)","œ":"oe","Œ":"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o","º":"o","ª":"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","â
304‚£":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","Â¥":"CNY","元":"CNY","円":"YEN","ï·¼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF"},U=["်","Þ°"],C={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},I={en:{},az:{"ç":"c","ə":"e","ğ":"g","ı":"i","ö":"o","ş":"s","ü":"u","Ç":"C","Ə":"E","Ğ":"G","İ":"I","Ö":"O","Ş":"S","Ü":"U"},cs:{"č":"c","ď":"d","ě":"e","ň":"n","ř":"r","Å¡":"s","Å¥":"t","ů":"u","ž":"z","Č":"C","Ď":"D","Ě":"E","Ň":"N","Ř":"R","Å ":"S","Ť":"T","Å®":"U","Ž":"Z"},fi:{"ä":"a","Ä":"A","ö":"o","Ö":"O"},hu:{"ä":"a","Ä":"A","ö":"o","Ö":"O","ü":"u","Ü":"U","ű":"u","Ű":"U"},lt:{"ą":"a","č":"c","ę":"e","ė":"e","į":"i","Å¡":"s","ų":"u","Å«":"u","ž":"z","Ą":"A","Č":"C","Ę":"E","Ė":"E","Ä®":"I","Å ":"S","Ų":"U","Ū":"U"},lv:{"ā":"a","č":"c","ē":"e","Ä£":"g","Ä«":"i","Ä·":"k","ļ":"l","ņ":"n","Å¡":"s","Å«":"u","ž":"z","Ā":"A","Č":"C","Ē":"E","Ä¢":"G","Ī":"i","Ķ":"k","Ä»":"L","Ņ":"N","Å ":"S","Ū":"u","Ž":"Z"},pl:{"ą":"a","ć":"c","ę":"e","ł":"l","ń":"n","ó":"o","ś":"s","ź":"z","ż":"z","Ą":"A","Ć":"C","Ę":"e","Ł":"L","Ń":"N","Ó":"O","Ś":"S","Ź":"Z","Å»":"Z"},sk:{"ä":"a","Ä":"A"},sr:{"љ":"lj","њ":"nj","Љ":"Lj","Њ":"Nj","đ":"dj","Đ":"Dj"},tr:{"Ü":"U","Ö":"O","ü":"u","ö":"o"}},N={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cz:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mene jako",">":"vice jako","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}};if("string"!=typeof e)return"";if("string"==typeof a&&(A=a),c=N.en,m=I.en,"object"==typeof a)for(d in n=a.maintainCase||!1,O=a.custom&&"object"==typeof a.custom?a.custom:O,u=+a.truncate>1&&a.truncate||!1,l=a.uric||!1,s=a.uricNoSlash||!1,r=a.mark||!1,v=!1!==a.symbols&&!1!==a.lang,A=a.separator||A,l&&(p+=b.join("")),s&&(p+=z.join("")),r&&(p+=E.join("")),c=a.lang&&N[a.lang]&&v?N[a.lang]:v?N.en:{},m=a.lang&&I[a.lang]?I[a.lang]:!1===a.lang||!0===a.lang?{}:I.en,a.titleCase&&"number"==typeof a.titleCase.length&&Array.prototype.toString.call(a.titleCase)?(a.titleCase.forEach((function(e){O[e+""]=e+""})),t=!0):t=!!a.titleCase,a.custom&&"number"==typeof a.custom.length&&Array.prototype.toString.call(a.custom)&&a.custom.forEach((function(e){O[e+""]=e+""})),Object.keys(O).forEach((function(a){var n;n=a.length>1?new RegExp("\\b"+o(a)+"\\b","gi"):new RegExp(o(a),"gi"),e=e.replace(n,O[a])})),O)p+=d;for(p=o(p+=A),f=!1,y=!1,h=0,k=(e=e.replace(/(^\s+|\s+$)/g,"")).length;k>h;h++)d=e[h],i(d,O)?f=!1:m[d]?(d=f&&m[d].match(/[A-Za-z0-9]/)?" "+m[d]:m[d],f=!1):d in w?(k>h+1&&U.indexOf(e[h+1])>=0?(j+=d,d=""):!0===y?(d=C[j]+w[d],j=""):d=f&&w[d].match(/[A-Za-z0-9]/)?" "+w[d]:w[d],f=!1,y=!1):d in C?(j+=d,d="",h===k-1&&(d=C[j]),y=!0):!c[d]||l&&-1!==b.join("").indexOf(d)||s&&-1!==z.join("").indexOf(d)?(!0===y?(d=C[j]+d,j="",y=!1):f&&(/[A-Za-z0-9]/.test(d)||S.substr(-1).match(/A-Za-z0-9]/))&&(d=" "+d),f=!1):(d=f||S.substr(-1).match(/[A-Za-z0-9]/)?A+c[d]:c[d],d+=void 0!==e[h+1]&&e[h+1].match(/[A-Za-z0-9]/)?A:"",f=!0),S+=d.replace(new RegExp("[^\\w\\s"+p+"_-]","g"),A);return t&&(S=S.replace(/(\w)(\S*)/g,(function(e,a,n){var t=a.toUpperCase()+(null!==n?n:"");return Object.keys(O).indexOf(t.toLowerCase())<0?t:t.toLowerCase()}))),S=S.replace(/\s+/g,A).replace(new RegExp("\\"+A+"+","g"),A).replace(new RegExp("(^\\"+A+"+|\\"+A+"+$)","g"),""),u&&S.length>u&&(g=S.charAt(u)===A,S=S.slice(0,u),g||(S=S.slice(0,S.lastIndexOf(A)))),n||t||(S=S.toLowerCase()),S},t=function(e){return function(a){return n(a,e)}},o=function(e){return e.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},i=function(e,a){for(var n in a)if(a[n]===e)return!0};if("undefined"!=typeof module&&module.exports)module.exports=n,module.exports.createSlug=t;else if("undefined"!=typeof define&&define.amd)define([],(function(){return n}));else try{if(e.getSlug||e.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";e.getSlug=n,e.createSlug=t}catch(u){}}(this)}
304).call(this),function(){t=this.getSlug,delete this.getSlug}.call(this),Package._define("ongoworks:speakingurl",{getSlug:t})}();
305
306!function(){var t=Package.meteor.Meteor,r=Package.meteor.global,e=Package.meteor.meteorEnv,o,n;(function(){var t=o="object"==typeof o?o:{};n=function(){function t(t){var r;this.router=t,null==this.currentRoute&&(this.currentRoute={}),null==this.currentController&&(this.currentController={}),r=this,this.router.onRun((function(){return r.currentRoute=this,r.getController(),this.next()})),this.router.onBeforeAction((function(){return r.currentRoute=this,r.getController(),this.next()}))}return t.prototype.getController=function(){return this.currentController=function(){var t,r,e,o,n,u;switch(!1){case!(null!=(e=this.currentRoute)&&null!=(o=e.route)?o.findControllerConstructor:void 0):return"function"==typeof(t=this.currentRoute.route).findControllerConstructor?t.findControllerConstructor():void 0;case!(null!=(n=this.currentRoute)&&null!=(u=n.route)?u.findController:void 0):return"function"==typeof(r=this.currentRoute.route).findController?r.findController():void 0;default:return null}}.call(this)},t}()}).call(this),Package._define("ostrio:iron-router-helper-class",{IronRouterHelper:n})}();
307
308!function(){var t=Package.meteor.Meteor,e=Package.meteor.global,r=Package.meteor.meteorEnv,o=Package.underscore._,i=Package["reactive-var"].ReactiveVar,n=Package["ostrio:iron-router-helper-class"].IronRouterHelper,u;(function(){var e=u="object"==typeof u?u:{},r,l=function(t,e){for(var r in e)s.call(e,r)&&(t[r]=e[r]);function o(){this.constructor=t}return o.prototype=e.prototype,t.prototype=new o,t.__super__=e.prototype,t},s={}.hasOwnProperty;r=function(t){function e(t){var r;this.router=t,e.__super__.constructor.call(this,this.router),r=this,this.default=document.title||null,null==this.title&&(this.title=new i(this.default)),this.title.set=function(t){var e;if(e=this.curValue,!o.isEqual(e,t))return document.title=t,this.curValue=t},this.router.onAfterAction((function(){return r.getTitle()}))}return l(e,t),e.prototype.setTitle=function(t){if(o.isFunction(t)&&(t=t.apply(this.currentRoute)),o.isString(t))return this.title.set(t)},e.prototype.getTitle=function(){return this.setTitle(function(){var t,e,r,i,n,u,l,s,c;switch(!1){case!(null!=(t=this.currentRoute)&&null!=(e=t.route)&&null!=(r=e.options)?r.title:void 0):return this.currentRoute.route.options.title;case!((null!=(i=this.currentRoute)?i.prototype:void 0)&&o.has(this.currentRoute.prototype,"title")):return this.currentRoute.prototype.title;case!(null!=(n=this.currentRoute)?n.title:void 0):return this.currentRoute.title;case!((null!=(u=this.currentController)?u.prototype:void 0)&&o.has(this.currentController.prototype,"title")):return this.currentController.prototype.title;case!(null!=(l=this.currentController)?l.title:void 0):return this.currentController.title;case!(null!=(s=this.router)&&null!=(c=s.options)?c.title:void 0):return this.router.options.title;default:return this.default}}.call(this))},e}(n),t.startup((function(){return new r(Router)}))}).call(this),Package._define("ostrio:iron-router-title")}();
309
310!function(){var a=Package.meteor.Meteor,e=Package.meteor.global,c=Package.meteor.meteorEnv,t=Package["templating-runtime"].Template,l=Package.blaze.Blaze,g=Package.blaze.UI,k=Package.blaze.Handlebars,r=Package.spacebars.Spacebars,n=Package.htmljs.HTML;(function(){}).call(this),Package._define("copleykj:stripe-sync")}();
311
312Package._define("mdg:seo");
313
314!function(){var e=Package.meteor.Meteor,n=Package.meteor.global,o=Package.meteor.meteorEnv,t;(function(){(t={}).collection=new e.Collection("counters-collection"),t.get=function(e){var n=t.collection.findOne(e);return n?n.count:0}}).call(this),Package._define("natestrauser:publish-performant-counts",{Counter:t})}();
315
316Package._define("shell-server");
317
318!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,n=Package.meteor.meteorEnv,a=Package["templating-runtime"].Template,i=Package.modules.meteorInstall,t=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,r=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,p=Package.blaze.Blaze,u=Package.blaze.UI,k=Package.blaze.Handlebars,g=Package.spacebars.Spacebars,m=Package.htmljs.HTML,f=i({node_modules:{meteor:{"facebook-config-ui":{
318"template.facebook_configure.js":function e(){a.__checkName("configureLoginServiceDialogForFacebook"),a.configureLoginServiceDialogForFacebook=new a("Template.configureLoginServiceDialogForFacebook",(function(){var e=this;return[m.Raw("<p>\n    First, you'll need to register your app on Facebook. Follow these steps:\n  </p>\n  "),m.OL(m.Raw('\n    <li>\n      Visit <a href="https://developers.facebook.com/apps" target="_blank">https://developers.facebook.com/apps</a>\n    </li>\n    <li>\n      Click "Add a New App".\n    </li>\n    <li>\n      Add a "Display Name" for your app and click on "Create App ID".\n    </li>\n    <li>\n      Answer the "Security Check" CAPTCHA and click on "Submit".\n    </li>\n    <li>\n      When the new app dashboard loads, click on "Settings" in the left hand menu.\n    </li>\n    <li>\n      From the top of the "Basic" settings page, note down your "App ID" and "App Secret" (you will be asked for them at the bottom of this popup).\n    </li>\n    <li>\n      Click on the "Add Platform" button, and select "Website".\n    </li>\n    '),m.LI('\n      In the "Website" section, set the "Site URL" to ',m.SPAN({class:"url"},p.View("lookup:siteUrl",(function(){return g.mustache(e.lookup("siteUrl"))}))),' and click on "Save Changes".\n    '),m.Raw('\n    <li>\n      Click on "Add Product" in the left hand menu.\n    </li>\n    <li>\n      Hover over "Facebook Login", click on "Set Up".\n    </li>\n    <li>\n      Click on "Facebook Login > Settings" from the left hand menu.\n    </li>\n    '),m.LI('\n      Set "Valid OAuth redirect URIs" to ',m.SPAN({class:"url"},p.View("lookup:siteUrl",(function(){return g.mustache(e.lookup("siteUrl"))})),"_oauth/facebook"),' and click on "Save Changes".\n    '),m.Raw('\n    <li>\n      Select "App Review" from the left hand menu.\n    </li>\n    <li>\n      Toggle the "Make app public" switch to "Yes".\n    </li>\n    <li>\n      Select a "Category" in the "Make app public" popup and click on "Confirm".\n    </li>\n  '))]}))},
318"facebook_configure.js":function o(){a.configureLoginServiceDialogForFacebook.helpers({siteUrl:function(){return e.absoluteUrl()}}),a.configureLoginServiceDialogForFacebook.fields=function(){return[{property:"appId",label:"App ID"},{property:"secret",label:"App Secret"}]}}}}}},{extensions:[".js",".json",".css",".html"]});f("/node_modules/meteor/facebook-config-ui/template.facebook_configure.js"),f("/node_modules/meteor/facebook-config-ui/facebook_configure.js"),Package._define("facebook-config-ui")}();
319
320!function(){var e=Package.meteor.Meteor,o=Package.meteor.global,r=Package.meteor.meteorEnv,t=Package["templating-runtime"].Template,n=Package.modules.meteorInstall,a=Package.modules.meteorBabelHelpers,i=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,l=Package["ecmascript-runtime-client"].Map,s=Package["ecmascript-runtime-client"].Set,g=Package.blaze.Blaze,m=Package.blaze.UI,p=Package.blaze.Handlebars,u=Package.spacebars.Spacebars,d=Package.htmljs.HTML,v=n({node_modules:{meteor:{"meteor-developer-config-ui":{
320"template.meteor_developer_configure.js":function e(){t.__checkName("configureLoginServiceDialogForMeteorDeveloper"),t.configureLoginServiceDialogForMeteorDeveloper=new t("Template.configureLoginServiceDialogForMeteorDeveloper",(function(){var e=this;return[d.Raw("<p>\n    First, you'll need to get a Meteor developer account Client ID.\n    Follow these steps:\n  </p>\n  "),d.OL(d.Raw('\n    <li> Visit <a href="https://www.meteor.com/account-settings" target="_blank">https://www.meteor.com/account-settings</a> and sign in.\n    </li>\n    <li> Click "NEW APPLICATION" in the "Meteor Account Services" section\n      and give your app a name.</li>\n    '),d.LI(" Add\n      ",d.SPAN({class:"url"},"\n        ",g.View("lookup:siteUrl",(function(){return u.mustache(e.lookup("siteUrl"))})),"_oauth/meteor-developer\n      "),"\n      as the Redirect URL.\n    "),"\n  ")]}))},
320"meteor_developer_configure.js":function o(){t.configureLoginServiceDialogForMeteorDeveloper.helpers({siteUrl:function(){return e.absoluteUrl()}}),t.configureLoginServiceDialogForMeteorDeveloper.fields=function(){return[{property:"clientId",label:"App ID"},{property:"secret",label:"App secret"}]}}}}}},{extensions:[".js",".json",".css",".html"]});v("/node_modules/meteor/meteor-developer-config-ui/template.meteor_developer_configure.js"),v("/node_modules/meteor/meteor-developer-config-ui/meteor_developer_configure.js"),Package._define("meteor-developer-config-ui")}();
321
322!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,i=Package.meteor.meteorEnv,a=Package["templating-runtime"].Template,n=Package.blaze.Blaze,r=Package.blaze.UI,o=Package.blaze.Handlebars,l=Package.spacebars.Spacebars,c=Package.htmljs.HTML;(function(){a.__checkName("configureLoginServiceDialogForTwitter"),a.configureLoginServiceDialogForTwitter=new a("Template.configureLoginServiceDialogForTwitter",(function(){var e=this;return[c.Raw("<p>\n    First, you'll need to register your app on Twitter. Follow these steps:\n  </p>\n  "),c.OL(c.Raw('\n    <li>\n      Visit <a href="https://apps.twitter.com/app/new" target="_blank">https://apps.twitter.com/app/new</a>\n    </li>\n    '),c.LI("\n      Set Website to: ",c.SPAN({class:"url"},n.View("lookup:siteUrl",(function(){return l.mustache(e.lookup("siteUrl"))}))),"\n    "),"\n    ",c.LI("\n      Set Callback URL to: ",c.SPAN({class:"url"},n.View("lookup:siteUrl",(function(){return l.mustache(e.lookup("siteUrl"))})),"_oauth/twitter"),"\n    "),c.Raw('\n    <li>\n      Select "Create your Twitter application".\n    </li>\n    <li>\n      On the Settings tab, enable "Allow this application to be used to Sign in with Twitter" and click\n      "Update settings".\n    </li>\n    <li>\n      Switch to the "Keys and Access Tokens" tab.\n    </li>\n  '))]}))}).call(this),function(){a.configureLoginServiceDialogForTwitter.helpers({siteUrl:function(){return e.absoluteUrl({replaceLocalhost:!0})}}),a.configureLoginServiceDialogForTwitter.fields=function(){return[{property:"consumerKey",label:"API key"},{property:"secret",label:"API secret"}]}}.call(this),Package._define("twitter-config-ui")}();
323
324!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,o=Package.meteor.meteorEnv,r=Package.modules.meteorInstall,n=Package.modules.meteorBabelHelpers,a=Package.promise.Promise,c=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,l=Package["ecmascript-runtime-client"].Set,m,p=r({node_modules:{meteor:{webapp:{
324"webapp_client.js":function e(t,o,e){e.export({WebApp:function(){return r}});var r={_isCssLoaded:function(){return 0===document.styleSheets.length||Array.prototype.find.call(document.styleSheets,(function(e){return e.cssText&&!e.cssRules?!e.cssText.match(/meteor-css-not-found-error/):!Array.prototype.find.call(e.cssRules,(function(e){return".meteor-css-not-found-error"===e.selectorText}))}))}}}}}}},{extensions:[".js",".json"]}),i=p("/node_modules/meteor/webapp/webapp_client.js");Package._define("webapp",i,{WebApp:m})}();
325
326Package._define("hot-code-push");
327
328!function(){var e;Package._define("launch-screen",{LaunchScreen:e})}();
329
330Package._define("dferber:prerender");
331
332!function(){var e=Package.meteor.Meteor,t=Package.meteor.global,n=Package.meteor.meteorEnv,r=Package.tracker.Tracker,i=Package.tracker.Deps,a=Package.retry.Retry,o=Package["ddp-client"].DDP,s=Package.modules.meteorInstall,c=Package.modules.meteorBabelHelpers,u=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,f=Package["ecmascript-runtime-client"].Map,d=Package["ecmascript-runtime-client"].Set,v,h=s({node_modules:{meteor:{autoupdate:{
332"autoupdate_client.js":function t(n,r,t){(function(t){var n;t.export({Autoupdate:function(){return o}}),t.link("./client_versions.js",{ClientVersions:function(e){n=e}},0);var r=e.isCordova?"web.cordova":e.isModern?"web.browser":"web.browser.legacy",i=((__meteor_runtime_config__.autoupdate||{}).versions||{})[r]||{version:"unknown",versionRefreshable:"unknown",versionNonRefreshable:"unknown",assets:[]},o={},s=o._clientVersions=new n;e.connection.registerStore("meteor_autoupdate_clientVersions",s.createStore()),o.newClientAvailable=function(){return s.newClientAvailable(r,["versionRefreshable","versionNonRefreshable"],i)};var c=!1,l=new a({minCount:0,baseTimeout:3e4}),f=0;o._retrySubscription=function(){e.subscribe("meteor_autoupdate_clientVersions",{onError:function(t){e._debug("autoupdate subscription failed",t),f++,l.retryLater(f,(function(){o._retrySubscription()}))},onReady:function(){var t=u.resolve();function n(e){t.then((function(){return o(e)}))}var a=s.watch(n);function o(t){if(t._id===r){if(t.versionNonRefreshable!==i.versionNonRefreshable)return a&&a(),void(Package.reload&&Package.reload.Reload._reload());if(t.versionRefreshable!==i.versionRefreshable){var n=function(t,n){var r;if(t.onload=function(){c=!0,r||(r=!0,n())},!c)var i=e.setInterval((function(){t.sheet&&(r||(r=!0,n()),e.clearInterval(i))}),50)},o=function(){u.length>0&&--l<1&&u.splice(0).forEach((function(e){e.parentNode.removeChild(e)}))};i.versionRefreshable=t.versionRefreshable;var s=t.assets||[],u=[];Array.prototype.forEach.call(document.getElementsByTagName("link"),(function(e){"__meteor-css__"===e.className&&u.push(e)}));var l=s.length;s.length>0?s.forEach((function(t){var r=document.createElement("link"),i;r.setAttribute("rel","stylesheet"),r.setAttribute("type","text/css"),r.setAttribute("class","__meteor-css__"),r.setAttribute("href",t.url),n(r,(function(){e.setTimeout(o,200)})),document.getElementsByTagName("head").item(0).appendChild(r)})):o()}}}}})},o._retrySubscription()}).call(this,t)},
332"client_versions.js":function e(t,n,e){var r,i;e.link("@babel/runtime/helpers/objectSpread2",{default:function(e){r=e}},0),e.export({ClientVersions:function(){return a}}),e.link("meteor/tracker",{Tracker:function(e){i=e}},0);var a=function(){function e(){this._versions=new f,this._watchCallbacks=new d}var t=e.prototype;return t.createStore=function(){function e(){var e=this;return{update:function(t){var n=t.id,r=t.msg,i=t.fields;"added"!==r&&"changed"!==r||e.set(n,i)}}}return e}(),t.hasVersions=function(){function e(){return this._versions.size>0}return e}(),t.get=function(){function e(e){return this._versions.get(e)}return e}(),t.set=function(){function e(e,t){var n=this._versions.get(e),i=!1;n?Object.assign(n,t):(n=r({_id:e},t),i=!0,this._versions.set(e,n)),this._watchCallbacks.forEach((function(e){var t=e.fn,r=e.filter;r&&r!==n._id||t(n,i)}))}return e}(),t.watch=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipInitial,i=n.filter;if(!r){var a=u.resolve();this._versions.forEach((function(t){i&&i!==t._id||a.then((function(){return e(t,!0)}))}))}var o={fn:e,filter:i};return this._watchCallbacks.add(o),function(){return t._watchCallbacks.delete(o)}}return e}(),t.newClientAvailable=function(){function e(e,t,n){function r(r){return r._id===e&&t.some((function(e){return r[e]!==n[e]}))}var a=new i.Dependency,o=this.get(e);a.depend();var s=this.watch((function(e){r(e)&&(a.changed(),s())}),{skipInitial:!0});return!!o&&r(o)}return e}(),e}()}}}}},{extensions:[".js",".json"]}),_=h("/node_modules/meteor/autoupdate/autoupdate_client.js");Package._define("autoupdate",_,{Autoupdate:v})}();
333
334ServiceConfiguration=Package["service-configuration"].ServiceConfiguration,Mongo=Package.mongo.Mongo,Session=Package.session.Session,$=Package.jquery.$,jQuery=Package.jquery.jQuery,Tracker=Package.tracker.Tracker,Deps=Package.tracker.Deps,Log=Package.logging.Log,Reload=Package.reload.Reload,Random=Package.random.Random,EJSON=Package.ejson.EJSON,Spacebars=Package.spacebars.Spacebars,check=Package.check.check,Match=Package.check.Match,HTTP=Package.http.HTTP,ReactiveVar=Package["reactive-var"].ReactiveVar,Router=Package["iron:router"].Router,RouteController=Package["iron:router"].RouteController,Helpers=Package["raix:handlebar-helpers"].Helpers,moment=Package["momentjs:moment"].moment,AutoForm=Package["aldeed:autoform"].AutoForm,RssFeed=Package["lampe:rssfeed"].RssFeed,SubsManager=Package["meteorhacks:subs-manager"].SubsManager,Roles=Package["alanning:roles"].Roles,Avatar=Package["utilities:avatar"].Avatar,Modal=Package["peppelg:bootstrap-3-modal"].Modal,loadUploadcare=Package["natestrauser:uploadcare-plus"].loadUploadcare,UploadCarePlus=Package["natestrauser:uploadcare-plus"].UploadCarePlus,getSlug=Package["ongoworks:speakingurl"].getSlug,Counter=Package["natestrauser:publish-performant-counts"].Counter,_=Package.underscore._,Accounts=Package["accounts-base"].Accounts,Github=Package["github-oauth"].Github,Google=Package["google-oauth"].Google,Meteor=Package.meteor.Meteor,global=Package.meteor.global,meteorEnv=Package.meteor.meteorEnv,WebApp=Package.webapp.WebApp,DDP=Package["ddp-client"].DDP,LaunchScreen=Package["launch-screen"].LaunchScreen,Blaze=Package.ui.Blaze,UI=Package.ui.UI,Handlebars=Package.ui.Handlebars,Template=Package["templating-runtime"].Template,Iron=Package["iron:core"].Iron,SimpleSchema=Package["aldeed:simple-schema"].SimpleSchema,MongoObject=Package["aldeed:simple-schema"].MongoObject,Collection2=Package["aldeed:collection2-core"].Collection2,AccountsTemplates=Package["useraccounts:core"].AccountsTemplates,T9n=Package["useraccounts:core"].T9n,ActiveRoute=Package["zimme:active-route"].ActiveRoute,CryptoJS=Package["jparker:crypto-core"].CryptoJS,Autoupdate=Package.autoupdate.Autoupdate,HTML=Package.htmljs.HTML;
335
336(function(){Template.__checkName("footer"),Template.footer=new Template("Template.footer",(function(){var t=this;return HTML.Raw('<footer class="container-fluid">\n\t\t<div class="row">\n\t\t\t<div class="col-xs-12 text-center">\n\t\t\t\t<small>\n\t\t\t\t\tMade By <a href="http://natestrauser.me" target="_blank">Nate Strauser</a>\n\t\t\t\t\t&nbsp;-&nbsp;\n          <i class="fa fa-github fa-lg"></i>&nbsp;&nbsp;<a href="https://github.com/nate-strauser/wework" target="_blank">Fork on GitHub</a>\n          &nbsp;-&nbsp;\n\t\t\t\t\t<i class="fa fa-rocket fa-lg"></i>&nbsp;&nbsp;<a href="https://www.meteor.com/hosting" target="_blank">Hosted on Galaxy</a>\n\t\t\t\t</small>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="row">\n\t\t\t<div class="col-xs-12 text-center">\n\t\t\t\t<br>\n\t\t\t\t<small>\n\t\t\t\t\t<i class="fa fa-rss"></i> RSS <a href="/rss/jobs" target="_blank">Jobs</a>\n           \x3c!-- <a href="/rss/profiles" target="_blank">Developers</a> --\x3e\n\t\t\t\t\t&nbsp;-&nbsp;\n\t\t\t\t\t<i class="fa fa-code"></i> JSON <a href="/api/jobs" target="_blank">Jobs</a>\n           \x3c!-- <a href="/api/profiles" target="_blank">Developers</a> --\x3e\n\t\t\t\t</small>\n\t\t\t\t<br>\n\t\t\t</div>\n\t\t</div>\n\t\t<div class="row">\n\t\t\t<div class="col-xs-12 text-center" id="disclaimer">\n\t\t\t\tWe Work Meteor is an independent entity and has not been authorized, sponsored, or otherwise approved by <a href="http://www.meteor.com/">Meteor Software</a>.\n\t\t\t</div>\n\t\t</div>\n\t</footer>')}))}).call(this);
337
338(function(){Template.__checkName("header"),Template.header=new Template("Template.header",(function(){var e=this;return HTML.SECTION({id:"header"},"\n        ",Spacebars.include(e.lookupTemplate("connectionBanner")),"\n        ",HTML.NAV({class:"navbar navbar-default",role:"navigation"},"\n            ",HTML.DIV({class:"container"},HTML.Raw('\n                \x3c!-- Brand and toggle get grouped for better mobile display --\x3e\n                <div class="navbar-header">\n                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
338\n                        <span class="sr-only">Toggle navigation</span>\n                        <span class="icon-bar"></span>\n                        <span class="icon-bar"></span>\n                        <span class="icon-bar"></span>\n                    </button>\n                    <a class="navbar-brand" href="/">We Work Meteor</a>\n                </div>\n                \x3c!-- Collect the nav links, forms, and other content for toggling --\x3e\n                '),HTML.DIV({class:"collapse navbar-collapse",id:"bs-example-navbar-collapse-1"},"\n                    ",HTML.UL({class:"nav navbar-nav"},"\n                        ",HTML.LI({class:function(){return Spacebars.mustache(e.lookup("isActiveRoute"),Spacebars.kw({regex:"^jobs$"}))}},HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"jobs")}},"Jobs")),HTML.Raw("\n                        \x3c!-- <li class=\"{{isActiveRoute regex='profiles'}}\"><a href=\"{{pathFor 'profiles'}}\">Developers</a></li> --\x3e\n                        "),Blaze.If((function(){return Spacebars.call(e.lookup("currentUser"))}),(function(){return["\n                            ",HTML.LI({class:function(){return Spacebars.mustache(e.lookup("isActiveRoute"),Spacebars.kw({regex:"jobNew"}))}},HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"jobNew")}},"Post a Job")),HTML.Raw("\n                            \x3c!-- {{#unless currentUser.isDeveloper}}\n                                <li class=\"{{isActiveRoute regex='^profile$'}}\">\n                                    <a href=\"{{pathFor 'profileNew'}}\">Create Developer Profile</a>\n                                </li>\n                            {{/unless}} --\x3e\n                        ")]})),"\n                    "),"\n                    ",HTML.UL({class:"nav navbar-nav navbar-right"},"\n                        ",Blaze.If((function(){return Spacebars.call(e.lookup("currentUser"))}),(function(){return["\n                        \t",Spacebars.include(e.lookupTemplate("headerUserMenu")),"\n                        "]}),(function(){return["\n                            ",HTML.LI({class:function(){return Spacebars.mustache(e.lookup("isActiveRoute"),Spacebars.kw({regex:"signIn"}))}},HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"signIn")}},"Log In")),"\n                            ",HTML.LI({class:function(){return Spacebars.mustache(e.lookup("isActiveRoute"),Spacebars.kw({regex:"signUp"}))}},HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"signUp")}},"Sign Up")),"\n                        "]})),"\n                    "),"\n                "),HTML.Raw("\n                \x3c!-- /.navbar-collapse --\x3e\n            ")),HTML.Raw("\n            \x3c!-- /.container-fluid --\x3e\n        ")),"\n    ")})),Template.__checkName("headerUserMenu"),Template.headerUserMenu=new Template("Template.headerUserMenu",(function(){var e=this;return HTML.LI({id:"user-drop-down",class:"dropdown"},"\n        ",HTML.A({class:"dropdown-toggle box-user-option","data-toggle":"dropdown",href:"#"},"\n\t\t\t",Blaze._TemplateWith((function(){return{user:Spacebars.call(e.lookup("currentUser")),size:Spacebars.call("small")}}),(function(){return Spacebars.include(e.lookupTemplate("avatar"))})),Blaze.View("lookup:currentUserDisplayName",(function(){return Spacebars.mustache(e.lookup("currentUserDisplayName"))}
338)),HTML.Raw(' <span class="caret"></span>\n\t\t')),"\n        ",HTML.UL({class:"dropdown-menu",role:"menu"},"\n            ",HTML.LI("\n                ",HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"myJobs")}},HTML.Raw('<i class="fa fa-building fa-fw"></i> My Posted Jobs')),"\n            "),HTML.Raw('\n            <li class="divider"></li>\n            \x3c!-- {{#if isInRole \'admin\'}}\n                <li><a href="/admin"><i class="fa fa-cogs fa-fw"></i> Admin</a></li>\n                <li class="divider"></li>\n            {{/if}} --\x3e\n            \x3c!-- {{#if currentUser.isDeveloper}}\n                <li>\n                    {{#with profile}}<a href="{{pathFor \'profile\'}}"><i class="fa fa-rocket fa-fw"></i> Developer Profile</a>{{/with}}\n                </li>\n            {{else}}\n                <li>\n                    <a href="{{pathFor \'profileNew\'}}"><i class="fa fa-rocket fa-fw"></i> Create Developer Profile</a>\n                </li>\n            {{/if}} --\x3e\n            <li>\n                <a href="#" id="userProfile"><i class="fa fa-user fa-fw"></i> User Profile</a>\n            </li>\n            <li class="divider"></li>\n            <li><a href="#" id="signOut"><i class="fa fa-sign-out fa-fw"></i> Sign Out</a></li>\n        ')),"\n    ")}))}).call(this);
339
340(function(){Template.__checkName("layout"),Template.layout=new Template("Template.layout",(function(){var e=this;return[Blaze._TemplateWith((function(){return{region:Spacebars.call("header")}}),(function(){return Spacebars.include(e.lookupTemplate("yield"))})),"\n\t",HTML.DIV({id:"content-wrapper",class:"container"},"\n\t\t",Spacebars.include(e.lookupTemplate("yield")),"\n\t"),"\n\t",Blaze._TemplateWith((function(){return{region:Spacebars.call("footer")}}),(function(){return Spacebars.include(e.lookupTemplate("yield"))}))]})),Template.__checkName("layoutNoContainer"),Template.layoutNoContainer=new Template("Template.layoutNoContainer",(function(){var e=this;return[Blaze._TemplateWith((function(){return{region:Spacebars.call("header")}}),(function(){return Spacebars.include(e.lookupTemplate("yield"))})),"\n\t",HTML.DIV({id:"content-wrapper"},"\n\t\t",Spacebars.include(e.lookupTemplate("yield")),"\n\t"),"\n\t",Blaze._TemplateWith((function(){return{region:Spacebars.call("footer")}}),(function(){return Spacebars.include(e.lookupTemplate("yield"))}))]}))}).call(this);
341
342(function(){Template.__checkName("loading"),Template.loading=new Template("Template.loading",(function(){var t=this;return HTML.Raw('<div class="row">\n\t\t<div class="col-sm-12 text-center">\n\t\t\t<br>\n\t\t\t<br>\n\t\t\t<br>\n\t\t\t<i class="fa fa-spinner fa-pulse"></i>&nbsp;Loading....\n\t\t</div>\n\t</div>')}))}).call(this);
343
344(function(){Template.__checkName("notFound"),Template.notFound=new Template("Template.notFound",(function(){var t=this;return HTML.Raw('<div class="row">\n\t\t<div class="col-sm-8 col-sm-offset-2 text-center">\n\t\t\t<div class="alert alert-danger">\n\t\t\t\t<i class="fa fa-frown-o fa-3x pull-left"></i>\n\t\t\t\t<b>Oops, we couldn\'t find the item that belongs to this url.</b>\n\t\t\t\t<br>\n\t\t\t\t<br>\n\t\t\t\tIt may have been deleted by the owner or removed by admins.\n\t\t\t</div>\n\t\t</div>\n\t</div>')}))}).call(this);
345
346(function(){Template.__checkName("job"),Template.job=new Template("Template.job",(function(){var t=this;return HTML.DIV({id:"job",class:"row"},"\n\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t",HTML.DIV({class:"panel panel-default"},"\n\t\t\t\t",HTML.DIV({class:"panel-body"},"\n\t\t\t\t\t",Spacebars.include(t.lookupTemplate("jobExpiredAlert")),"\n\t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("isInRole"),"admin")}),(function(){return["\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("jobAdminEditLink")),"\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("jobStatusToggle")),"\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("jobSuggestedTweet")),"\n\t\t\t\t\t"]})),"\n\t\t\t\t\t",Spacebars.include(t.lookupTemplate("jobStatusAlert")),"\n\t\t\t\t\t",Spacebars.include(t.lookupTemplate("jobFeatured")),"\n\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t\t\t\t",HTML.H2("\n\t\t\t\t\t\t\t\t",Blaze.View("lookup:title",(function(){return Spacebars.mustache(t.lookup("title"))})),"\n\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),"\n\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-3"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("c
346ompany"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t<i class="fa fa-building fa-fw"></i> '),Blaze.View("lookup:company",(function(){return Spacebars.mustache(t.lookup("company"))})),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-3"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("location"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t<i class="fa fa-map-marker"></i> '),Blaze.View("lookup:location",(function(){return Spacebars.mustache(t.lookup("location"))})),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-6 job-url"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("url"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t<i class="fa fa-external-link fa-m"></i>&nbsp;&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("url"))},target:"_blank",rel:"noopener"},Blaze.View("lookup:cutString",(function(){return Spacebars.mustache(t.lookup("cutString"),t.lookup("url"),50)}))),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),HTML.Raw("\n\t\t\t\t\t<hr>\n\t\t\t\t\t"),HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-3"},"\n\t\t\t\t\t\t\t",Spacebars.include(t.lookupTemplate("jobLabels")),"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("hasLabel"))}),(function(){return HTML.Raw("\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t")})),"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("contact"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t<i class="fa fa-envelope fa-fw"></i> '),Blaze.View("lookup:contact",(function(){return Spacebars.mustache(t.lookup("contact"))})),HTML.Raw("\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t")]})),HTML.Raw('\n\t\t\t\t\t\t\t<i class="fa fa-calendar fa-fw"></i> Posted on '),Blaze.View("lookup:formatDate",(function(){return Spacebars.mustache(t.lookup("formatDate"),t.lookup("createdAt"))})),"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("featured"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t<i class="fa fa-trophy fa-fw"></i> Featured Until '),Blaze.View("lookup:formatDate",(function(){return Spacebars.mustache(t.lookup("formatDate"),t.lookup("featuredThrough"))})),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-9"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("htmlDescription"))}),(function(){return["\n\t\t\t\t\t\t\t\t",Blaze.View("lookup:htmlDescription",(function(){return Spacebars.makeRaw(Spacebars.mustache(t.lookup("htmlDescription")))})),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),"\n\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-xs-12"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("$eq"),t.lookup("userId"),Spacebars.dot(t.lookup("$"),"Meteor","userId"))}),(function(){return["\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t",HTML.DIV({class:"pull-right"},HTML.Raw("\n\t\t\t\t\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t\t\t\t\t\t"),HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"jobEdit")},class:"btn btn-primary"},HTML.Raw('<i class="fa fa-pencil"></i> Edit')),"\n\t\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("$eq"),t.lookup("status"),"active")}),(function(){return HTML.Raw('\n\t\t\t\t\t\t\t\t\t<div class="pull-right">\n\t\t\t\t\t\t\t\t\t\t<a id="job-deactivate" class="btn btn-danger">\n\t\t\t\t\t\t\t\t\t\t\t<i class="fa fa-times"></i> Deactivate\n\t\t\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t')})),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),"\n\t\t\t\t"),"\n\t\t\t"),"\n\t\t"),"\n\t")}))}).call(this);
347
348(function(){Template.__checkName("jobDeactivate"),Template.jobDeactivate=new Template("Template.jobDeactivate",(function(){var t=this;return HTML.Raw('<div class="modal fade">\n        <div class="modal-dialog">\n            <div class="modal-content">\n\n                <div class="modal-header">\n                    <h4 class="modal-title">Why do you want to deactivate?</h4>\n                </div>\n\n                <div class="modal-body">\n                    <br><br>\n                    <div class="row">\n                        <div class="col-sm-6 text-center">\n                            <a class="deactivate filled btn btn-primary btn-lg" role="button" href="#">Position Filled</a>\n                        </div>\n                        <div class="col-sm-6 text-center">\n                            <a class="deactivate btn btn-danger btn-lg" role="button" href="#">Other Reasons</a>\n                        </div>\n                    </div>\n                    <br><br><br>\n                    <div class="row">\n                        <div class="col-sm-12 text-right">\n                            <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>\n                        </div>\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>')}))}).call(this);
349
350(function(){Template.__checkName("jobNew"),Template.jobNew=new Template("Template.jobNew",(function(){var e=this;return HTML.DIV({class:"row"},"\n        ",HTML.DIV({class:"col-sm-10 col-sm-offset-1"},HTML.Raw('\n                <h4 class="text-center">We Work Meteor is only for jobs that will actively use <a href="http://www.meteor.com/">Meteor</a>.</h4>\n                <br>\n                <p>Jobs are free to post.\n\n                Your job post will remain on this site for 90 days.  After 90 days the post will no longer appear to visitors.\n\n                You can have your job post featured on the home page for 30 days for $100 buy purchasing the upgrade after creating your post.</p>\n                <br>\n            '),HTML.DIV({class:"panel panel-default"},HTML.Raw('\n                <div class="panel-heading">\n                    <h4>Create Your Job Post</h4>\n                </div>\n                '),HTML.DIV({class:"panel-body"},"\n                    ",Blaze._TemplateWith((function(){return{id:Spacebars.call("jobNew"),collection:Spacebars.call("Jobs"),type:Spacebars.call("normal")}}),(function(){return Spacebars.include(e.lookupTemplate("autoForm"),(function(){return["\n                        ",Spacebars.include(e.lookupTemplate("jobFields")),HTML.Raw('\n                        \n                        \x3c!-- reCAPTCHA v3 Badge Notice --\x3e\n                        <div class="form-group">\n                            <small class="text-muted">\n                                This site is protected by reCAPTCHA and the Google\n                                <a href="https://policies.google.com/privacy" target="_blank">Privacy Policy</a> and\n                                <a href="https://policies.google.com/terms" target="_blank">Terms of Service</a> apply.\n                            </small>\n                        </div>\n                        \n                        <div>\n                            <button type="submit" class="btn btn-primary" id="submitJobBtn"><i class="fa fa-chevron-right"></i> Continue to preview your post</button>\n                        </div>\n                    ')]}))})),"\n                "),"\n            "),"\n        "),"\n    ")})),Template.__checkName("jobEdit"),Template.jobEdit=new Template("Template.jobEdit",(function(){var e=this;return HTML.DIV({class:"row"},"\n        ",HTML.DIV({class:"col-sm-10 col-sm-offset-1"},"\n            ",HTML.DIV({class:"panel panel-default"},HTML.Raw('\n                <div class="panel-heading">\n                    <h4>Edit Job Post</h4>\n                </div>\n                '),HTML.DIV({class:"panel-body"},"\n                    \n                        ",Blaze._TemplateWith((function(){return{id:Spacebars.call("jobEdit"),collection:Spacebars.call("Jobs"),doc:Spacebars.call(e.lookup("job")),type:Spacebars.call("update")}}),(function(){return Spacebars.include(e.lookupTemplate("autoForm"),(function(){return["\n                            ",Spacebars.include(e.lookupTemplate("jobFields")),HTML.Raw('\n                            <div>\n                                <button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o"></i> Update</button>\n                                <button id="cancel" class="btn btn-default"> Cancel</button>\n                            </div>\n                        ')]}))})),"\n                    \n                "),"\n            "),"\n        "),"\n    ")})),Template.__checkName("jobFields"),Template.jobFields=new Template("Template.jobFields",(function(){var e=this;return[Blaze._TemplateWith((function(){return{name:Spacebars.call("title"),placeholder:Spacebars.call("Title displayed for your listing")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("jobtype"),firstOption:Spacebars.call("(Select a Job Type)"),options:Spacebars.call("allowed")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("company"),placeholder:Spacebars.call("Name of the hiring company")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("location"),placeholder:Spacebars.call("Where is this job located?")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("remote")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("description"),rows:Spacebars.call(8),placeholder:Spacebars.call("Tell prospective developers about this position. What is the project? What will you expect them to know beforehand? Things like that.")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("url"),placeholder:Spacebars.call("External URL of job posting")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),"\n    ",Blaze._TemplateWith((function(){return{name:Spacebars.call("contact"),placeholder:Spacebars.call("email/twitter/whatever for you to be contacted at (your user account email address is not displayed)")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))}))]}))}).call(this);
351
352(function(){Template.__checkName("jobLabels"),Template.jobLabels=new Template("Template.jobLabels",(function(){var e=this;return[Blaze.If((function(){return Spacebars.call(e.lookup("featured"))}),(function(){return HTML.Raw('<span class="label label-primary"><i class="fa fa-trophy"></i> Featured</span>')})),"\n    ",Blaze.If((function(){return Spacebars.call(e.lookup("remote"))}),(function(){return HTML.Raw('<span class="label label-success"><i class="fa fa-globe"></i> Remote</span>')})),"\n    ",Blaze.If((function(){return Spacebars.call(e.lookup("jobtype"))}),(function(){return HTML.SPAN({class:"label label-default"},HTML.Raw('<i class="fa fa-clock-o"></i> '),Blaze.View("lookup:jobtype",(function(){return Spacebars.mustache(e.lookup("jobtype"))})))}))]})),Template.__checkName("jobExpiredAlert"),Template.jobExpiredAlert=new Template("Template.jobExpiredAlert",(function(){var e=this;return Blaze.If((function(){return Spacebars.call(e.lookup("expired"))}),(function(){return HTML.Raw('\n        <div class="row">\n            <div class="col-xs-10 col-xs-offset-1 alert alert-danger">\n                <strong>Uh oh!</strong> This job post expired.\n            </div>\n        </div>\n    ')}))})),Template.__checkName("jobStatusToggle"),Template.jobStatusToggle=new Template("Template.jobStatusToggle",(function(){var e=this;return HTML.DIV({class:"row"},"\n        ",HTML.DIV({class:"col-sm-12"},"\n            Current Status is ",HTML.B(Blaze.View("lookup:status",(function(){return Spacebars.mustache(e.lookup("status"))})))," - Set status to\n            ",Blaze.Each((function(){return Spacebars.call(e.lookup("statuses"))}),(function(){return["\n                ",Blaze.Unless((function(){return Spacebars.dataMustache(e.lookup("$eq"),Spacebars.dot(e.lookup(".."),"status"),e.lookup("."))}),(function(){return["\n                    ",HTML.BUTTON({type:"button",class:"set-status"},Blaze.View("lookup:.",(function(){return Spacebars.mustache(e.lookup("."))}))),"\n                "]})),"\n            "]})),HTML.Raw("\n            <hr>\n        ")),"\n    ")})),Template.__checkName("jobAdminEditLink"),Template.jobAdminEditLink=new Template("Template.jobAdminEditLink",(function(){var e=this;return HTML.DIV({class:"pull-right"},"\n    \t",HTML.A({href:function(){return["/admin/Jobs/",Spacebars.mustache(e.lookup("_id")),"/edit"]}},"Edit Job"),"\n    ")})),Template.__checkName("jobSuggestedTweet"),Template.jobSuggestedTweet=new Template("Template.jobSuggestedTweet",(function(){var e=this;return HTML.DIV({class:"row"},"\n        ",HTML.DIV({class:"col-sm-12"},"\n            ",Blaze.View("lookup:title",(function(){return Spacebars.mustache(e.lookup("title"))}))," -\n            ",Blaze.If((function(){return Spacebars.call(e.lookup("remote"))}),(function(){return["#Remote ",Blaze.View("lookup:jobtype",(function(){return Spacebars.mustache(e.lookup("jobtype"))}))]}),(function(){return[Blaze.View("lookup:jobtype",(function(){return Spacebars.mustache(e.lookup("jobtype"))}))," in ",Blaze.View("lookup:location",(function(){return Spacebars.mustache(e.lookup("location"))}))]}))," ",Blaze.View("lookup:urlFor",(function(){return Spacebars.mustache(e.lookup("urlFor"),"job")})),HTML.Raw(" #meteorjob #meteorjs\n            <hr>\n        ")),"\n    ")})),Template.__checkName("jobStatusAlert"),Template.jobStatusAlert=new Template("Template.jobStatusAlert",(function(){var e=this;return Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"pending")}),(function(){return HTML.Raw('\n        <div class="alert alert-info">\n            <i class="fa fa-exclamation-triangle fa-2x pull-left"></i>
352 This post is awaiting admin approval. It will be reviewed shortly and then become live on the site.\n        </div>\n    ')}),(function(){return["\n        ",Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"flagged")}),(function(){return HTML.Raw('\n            <div class="alert alert-danger">\n                <i class="fa fa-flag fa-2x pull-left"></i> This post has been flagged for content. Contact an admin if you believe this is in error.\n            </div>\n        ')}),(function(){return["\n            ",Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"inactive")}),(function(){return HTML.Raw('\n                <div class="alert alert-warning">\n                    <i class="fa fa-flag-checkered fa-2x pull-left"></i> This job post has been deactivated.\n                </div>\n            ')}),(function(){return["\n                ",Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"filled")}),(function(){return HTML.Raw('\n                    <div class="alert alert-success">\n                        <i class="fa fa-trophy fa-2x pull-left"></i> This job post has been filled.\n                    </div>\n                ')})),"\n            "]})),"\n        "]})),"\n    "]}))})),Template.__checkName("jobFeatured"),Template.jobFeatured=new Template("Template.jobFeatured",(function(){var e=this;return Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),Spacebars.dot(e.lookup("currentUser"),"_id"),e.lookup("userId"))}),(function(){return["\n        ",Blaze.Unless((function(){return Spacebars.call(e.lookup("featured"))}),(function(){return["\n            ",Blaze.If((function(){return Spacebars.call(e.lookup("featuredAllowed"))}),(function(){return HTML.Raw('\n                <div class="row">\n                    <div class="col-sm-12">\n                        <div class="well">\n                            <h3 class="top-flush">Upgrade to a Featured Job Post</h3>\n                            <div class="row">\n                                <div class="col-sm-6">\n                                    <ul>\n                                        <li>Guaranteed to stay on home page</li>\n                                        <li>Highlighted job listing display</li>\n                                        <li>Priority placement in jobs listing</li>\n                                    </ul>\n                                </div>\n                                <div class="col-sm-6 text-center">\n                                    <a id="buy-featured" class="btn btn-primary btn-lg" role="button" href="#">Buy 30 Days for $100</a>\n                                </div>\n                            </div>\n                        </div>\n                    </div>\n                </div>\n            ')})),"\n        "]})),"\n    "]}))}))}).call(this);
353
354(function(){Template.__checkName("jobSmall"),Template.jobSmall=new Template("Template.jobSmall",(function(){var a=this;return HTML.DIV({class:function(){return["jobSmall ",Blaze.If((function(){return Spacebars.call(a.lookup("featured"))}),(function(){return"featured"}))," panel panel-default"]}},"\n        ",HTML.DIV({class:"panel-body"},"\n            ",HTML.DIV({class:"row"},"\n                ",HTML.DIV({class:"col-sm-8"},"\n                    ",HTML.H4("\n\t\t\t\t",HTML.A({href:function(){return Spacebars.mustache(a.lookup("pathFor"),"job")}},Blaze.View("lookup:title",(function(){return Spacebars.mustache(a.lookup("title"))}))),"\n\t\t\t"),"\n                "),"\n                ",HTML.DIV({class:"col-sm-4 text-right"},"\n                    ",Spacebars.include(a.lookupTemplate("jobLabels")),"\n                "),"\n            "),"\n            ",HTML.DIV({class:"row"},"\n                ",HTML.DIV({class:"col-sm-3"},HTML.Raw('\n                     \n                    <i class="fa fa-calendar"></i> '),Blaze.View("lookup:formatDate",(function(){return Spacebars.mustache(a.lookup("formatDate"),a.lookup("createdAt"))})),"\n                    \n                    \n                "),"\n                ",HTML.DIV({class:"col-sm-9 text-right"},"\n                    ",Blaze.If((function(){return Spacebars.call(a.lookup("c
354ompany"))}),(function(){return[HTML.Raw('<i class="fa fa-building"></i> '),Blaze.View("lookup:company",(function(){return Spacebars.mustache(a.lookup("company"))}))]})),"\n                    ",Blaze.If((function(){return Spacebars.call(a.lookup("location"))}),(function(){return["\n                        ",Blaze.If((function(){return Spacebars.call(a.lookup("company"))}),(function(){return" - "})),HTML.Raw('<i class="fa fa-map-marker"></i> '),Blaze.View("lookup:location",(function(){return Spacebars.mustache(a.lookup("location"))})),"\n                    "]})),"\n                "),"\n            "),"\n        "),"\n    ")}))}).call(this);
355
356(function(){Template.__checkName("jobs"),Template.jobs=new Template("Template.jobs",(function(){var n=this;return[Blaze.Each((function(){return Spacebars.call(n.lookup("jobs"))}),(function(){return["\n\t\t",Spacebars.include(n.lookupTemplate("jobSmall")),"\n  "]}),(function(){return HTML.Raw('\n  <div class="panel panel-default">\n    <div class="panel-body">\n      <div class="row">\n        <div class="col-sm-12">\n            <h4>\n              No active jobs found.\n            </h4>\n        </div>\n      </div>\n    </div>\n</div>\n\t')})),HTML.Raw('\n\t\x3c!-- <div class="text-center">\n\t\t{{> infiniteScroll }}\n\t</div> --\x3e')]}))}).call(this);
357
358(function(){Template.__checkName("jobsRecent"),Template.jobsRecent=new Template("Template.jobsRecent",(function(){var e=this;return HTML.SECTION({id:"jobsRecent"},"\n        ",HTML.DIV({class:"row"},HTML.Raw('\n            <div class="col-sm-4">\n                <h2>Recent Jobs</h2>\n            </div>\n            '),HTML.DIV({class:"col-sm-4 text-center"},"\n                Last post about ",Blaze.View("lookup:timeFromLastJob",(function(){return Spacebars.mustache(e.lookup("timeFromLastJob"))})),"\n            "),HTML.Raw('\n            <div class="col-sm-4 text-right">\n                <a href="/rss/jobs" target="_blank"><i class="fa fa-rss fa-2x"></i></a>\n            </div>\n        ')),"\n        ",Blaze.Each((function(){return Spacebars.call(e.lookup("featuredJobs"))}),(function(){return["\n            ",Spacebars.include(e.lookupTemplate("jobSmall")),"\n        "]})),"\n        ",Blaze.Each((function(){return Spacebars.call(e.lookup("jobs"))}),(function(){return["\n            ",Spacebars.include(e.lookupTemplate("jobSmall")),"\n        "]})),"\n        ",HTML.DIV({class:"panel panel-default"},"\n            ",HTML.DIV({class:"panel-body text-center"},"\n                ",HTML.H4(HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"jobs")}},HTML.Raw('View All Jobs&nbsp;&nbsp;<i class="fa fa-arrow-right"></i>'))),"\n            "),"\n        "),"\n    ")}))}).call(this);
359
360(function(){Template.__checkName("myJobs"),Template.myJobs=new Template("Template.myJobs",(function(){var e=this;return[HTML.Raw("<h3>My Posted Jobs</h3>\n\t"),Blaze.Each((function(){return Spacebars.call(e.lookup("jobs"))}),(function(){return["\n\t\t",Spacebars.include(e.lookupTemplate("jobSmall")),"\n\t"]}),(function(){return["\n\t\tYou haven't posted any jobs.  ",HTML.A({href:function(){return Spacebars.mustache(e.lookup("pathFor"),"jobNew")}},"Post a Job")," if you have one to offer.\n\t"]}))]}))}).call(this);
361
362(function(){Template.__checkName("profile"),Template.profile=new Template("Template.profile",(function(){var t=this;return HTML.DIV({id:"profile",class:"row"},"\n\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t",HTML.DIV({class:"panel panel-default"},"\n  \t\t\t\t",HTML.DIV({class:"panel-body"},"\n  \t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("isInRole"),"admin")}),(function(){return["\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("profileAdminEditLink")),"\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("profileStatusToggle")),"\n\t\t\t\t\t"]})),"\n\t\t\t\t\t",Spacebars.include(t.lookupTemplate("profileStatusAlert")),"\n\n\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-3"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("customImageUrl"))}),(function(){return["\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"avatar avatar-large"},"\n\t\t\t\t\t\t\t\t\t",HTML.IMG({class:"img-responsive",src:function(){return Spacebars.mustache(t.lookup("resizeImageUrl"),t.lookup("customImageUrl"),200,200)}}),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t"]}),(function(){return["\n\t\t\t\t\t\t\t\t",Blaze._TemplateWith((function(){return{userId:S
362pacebars.call(t.lookup("userId")),size:Spacebars.call("large")}}),(function(){return Spacebars.include(t.lookupTemplate("avatar"))})),"\n\t\t\t\t\t\t\t"]})),"\n\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("availableForHire"))}),(function(){return HTML.Raw('\n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t<span class="label label-primary"><i class="fa fa-rocket"></i> Hire Me</span>\n\t\t\t\t\t\t\t')})),"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("$eq"),t.lookup("type"),"Company")}),(function(){return HTML.Raw('\n\t\t\t\t\t\t\t\t<span class="label label-danger"><i class="fa fa-users"></i> Company</span>\n\t\t\t\t\t\t\t')})),HTML.Raw("\n\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t"),HTML.SMALL("\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("location"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<i class="fa fa-map-marker"></i>&nbsp;'),Blaze.View("lookup:location",(function(){return Spacebars.mustache(t.lookup("location"))})),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("interestedIn"))}),(function(){return[HTML.Raw("\n\t\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t\t<b>Interested In</b>\n\t\t\t\t\t\t\t\t\t"),Blaze.Each((function(){return Spacebars.call(t.lookup("interestedIn"))}),(function(){return[HTML.Raw("\n\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t\t"),Blaze.View("lookup:.",(function(){return Spacebars.mustache(t.lookup("."))})),"\n\t\t\t\t\t\t\t\t\t"]})),HTML.Raw("\n\t\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t")]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("url"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<i class="fa fa-external-link"></i>&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("url"))},target:"_blank",rel:"noopener"},"Web Site"),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("contact"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t<i class="fa fa-envelope"></i>&nbsp;'),Blaze.View("lookup:contact",(function(){return Spacebars.mustache(t.lookup("contact"))})),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("resumeUrl"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t<i class="fa fa-file-text"></i>&nbsp;&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("resumeUrl"))},target:"_blank",rel:"noopener"},"View Resume"),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("githubUrl"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t<i class="fa fa-github"></i>&nbsp;&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("githubUrl"))},target:"_blank",rel:"noopener"},"Github"),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("linkedinUrl"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t<i class="fa fa-linkedin"></i>&nbsp;&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("linkedinUrl"))},target:"_blank",rel:"noopener"},"LinkedIn"),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("stackoverflowUrl"))}),(function(){return[HTML.Raw('\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t<i class="fa fa-stack-overflow"></i>&nbsp;&nbsp;'),HTML.A({href:function(){return Spacebars.mustache(t.lookup("stackoverflowUrl"))},target:"_blank",rel:"noopener"},"Stackoverflow"),"\n\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t"),HTML.Raw('\n\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t<i class="fa fa-calendar"></i> Created on '),Blaze.View("lookup:formatDate",(function(){return Spacebars.mustache(t.lookup("formatDate"),t.lookup("createdAt"))})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-9"},"\n\t\t\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t\t\t\t\t\t",HTML.H2({class:"top-flush"},"\n\t\t\t\t\t\t\t\t\t\t",Blaze.View("lookup:displayName",(function(){return Spacebars.mustache(t.lookup("displayName"))})),"\n\t\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t\t\t\t\t\t",HTML.H4("\n\t\t\t\t\t\t\t\t\t\t",Blaze.View("lookup:title",(function(){return Spacebars.mustache(t.lookup("title"))})),"\n\t\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("htmlDescription"))}),(function(){return[HTML.Raw("\n\t\t\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t\t\t"),Blaze.View("lookup:htmlDescription",(function(){return Spacebars.makeRaw(Spacebars.mustache(t.lookup("htmlDescription")))})),"\n\t\t\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),"\n\t\t\t\t\t",HTML.DIV({class:"row"},"\n\t\t\t\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t\t\t\t",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("$eq"),t.lookup("userId"),Spacebars.dot(t.lookup("$"),"Meteor","userId"))}),(function(){return["\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"pull-right"},HTML.Raw("\n\t\t\t\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t\t\t\t\t"),HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"profileEdit")},class:"btn btn-primary"},HTML.Raw('<i class="fa fa-pencil"></i> Edit')),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t\t",HTML.DIV({class:"pull-right"},"\n\t\t\t\t\t\t\t\t\t",Blaze._TemplateWith((function(){return{collection:Spacebars.call("Profiles"),_id:Spacebars.call(t.lookup("_id")),class:Spacebars.call("btn btn-danger"),beforeRemove:Spacebars.call(t.lookup("beforeRemove"))}}),(function(){return Spacebars.include(t.lookupTemplate("quickRemoveButton"),(function(){return HTML.Raw('\n\t\t\t\t\t\t\t\t\t\t<i class="fa fa-tras
362h-o"></i> Delete\n\t\t\t\t\t\t\t\t\t')}))})),"\n\t\t\t\t\t\t\t\t"),"\n\t\t\t\t\t\t\t"]})),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"),"\n\t\t\t\t"),"\n\t\t\t"),"\n\t\t"),"\n\t")}))}).call(this);
363
364(function(){Template.__checkName("profileNew"),Template.profileNew=new Template("Template.profileNew",(function(){var t=this;return HTML.DIV({class:"row"},"\n\t\t",HTML.DIV({class:"col-sm-10 col-sm-offset-1"},"\n\t\t\t",HTML.DIV({class:"panel panel-default"},HTML.Raw('\n\t\t\t\t<div class="panel-heading">\n\t\t\t\t\t<h4>Create Your Developer Profile</h4>\n\t\t\t\t</div>\n\t\t\t\t'),HTML.DIV({class:"panel-body"},"\n\t\t\t\t\t",Blaze._TemplateWith((function(){return{collection:Spacebars.call("Profiles"),id:Spacebars.call("profileNew"),type:Spacebars.call("insert")}}),(function(){return Spacebars.include(t.lookupTemplate("autoForm"),(function(){return["\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("profileFields")),HTML.Raw('\n\t\t\t\t\t    <div>\n\t\t\t\t\t    \t<button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o"></i> Save</button>\n\t\t\t\t\t    </div>\n\t\t\t\t\t')]}))})),"\n\t\t\t\t"),"\n\t\t\t"),"\n\t\t"),"\n\t")})),Template.__checkName("profileEdit"),Template.profileEdit=new Template("Template.profileEdit",(function(){var t=this;return HTML.DIV({class:"row"},"\n\t\t",HTML.DIV({class:"col-sm-10 col-sm-offset-1"},"\n\t\t\t",HTML.DIV({class:"panel panel-default"},HTML.Raw('\n\t\t\t\t<div class="panel-heading">\n\t\t\t\t\t<h4>Edit Developer Profile</h4>\n\t\t\t\t</div>\n\t\t\t\t'),HTML.DIV({class:"panel-body"},"\n\t\t\t\t\t",Blaze._TemplateWith((function(){return{collection:Spacebars.call("Profiles"),id:Spacebars.call("profileEdit"),type:Spacebars.call("update"),doc:Spacebars.call(t.lookup("profile"))}}),(function(){return Spacebars.include(t.lookupTemplate("autoForm"),(function(){return["\n\t\t\t\t\t    ",Spacebars.include(t.lookupTemplate("profileFields")),HTML.Raw('\n\t\t\t\t\t    <div>\n\t\t\t\t\t    \t<button type="submit" class="btn btn-primary"><i class="fa fa-floppy-o"></i> Update</button>\n\t\t\t\t\t    \t<button id="cancel" class="btn btn-default"> Cancel</button>\n\t\t\t\t\t    </div>\n\t\t\t\t\t')]}))})),"\n\t\t\t\t"),"\n\t\t\t"),"\n\t\t"),"\n\t")})),Template.__checkName("profileFields"),Template.profileFields=new Template("Template.profileFields",(function(){var t=this;return[HTML.DIV({class:"form-group",id:"profileAvatarPreview"},"\n\t\t",HTML.LABEL({class:"control-label"},Blaze.If((function(){return Spacebars.call(t.lookup("customImagePreviewUrl"))}),(function(){return"Custom"}),(function(){return"Automatic"}))," Avatar"),"\n\t\t",HTML.DIV({class:"row"},"\n\t\t\t",HTML.DIV({class:"col-md-4"},"\n\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("customImagePreviewUrl"))}),(function(){return["\n\t\t\t\t\t",HTML.DIV({class:"avatar avatar-large"},"\n\t\t\t\t\t\t",HTML.IMG({class:"img-responsive",src:function(){return Spacebars.mustache(t.lookup("resizeImageUrl"),t.lookup("customImagePreviewUrl"),200,200)}}),"\n\t\t\t\t\t"),"\n\t\t\t\t"]}),(function(){return["\n\t\t\t\t\t",Blaze._TemplateWith((function(){return{user:Spacebars.call(t.lookup("currentUser")),size:Spacebars.call("large")}}),(function(){return Spacebars.include(t.lookupTemplate("avatar"))})),"\n\t\t\t\t"]})),"\n\t\t\t"),HTML.Raw('\n\t\t\t<div class="col-md-4">\n\t\t\t\t<input id="custom-image" name="customImageUrl" data-schema-key="customImageUrl" type="hidden" role="uploadcare-uploader" data-tabs="file camera url facebook gdrive dropbox instagram flickr skydrive" data-image-shrink="800x800" data-images-only="true" data-preview-step="true" data-clearable="true" data-multiple="false" data-system-dialog="false" data-crop="800:800" data-cdn-base="https://ucarecdn.com/">\n\t\t\t</div>\n\t\t')),"\n\t"),"\n\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("name"),placeholder:Spacebars.call("Your Name")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("title"),placeholder:Spacebars.call("Title displayed for your listing")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("availableForHire")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("type"),noselect:Spacebars.call("true"),options:Spacebars.call("allowed"),type:Spacebars.call("select-radio-inline")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("interestedIn"),noselect:Spacebars.call("true"),options:Spacebars.call("allowed"),type:Spacebars.call("select-checkbox-inline")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("location"),placeholder:Spacebars.call("Where are you located")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("contact"),placeholder:Spacebars.call("email/twitter/whatever for you to be contacted at (your user account email address is not displayed)")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("url"),placeholder:Spacebars.call("URL your personal website/blog")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("resumeUrl"),placeholder:Spacebars.call("URL of resume/cv hosted externally (dropbox, gdrive, etc)")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("githubUrl"),placeholder:Spacebars.call("Your github public profile")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("linkedinUrl"),placeholder:Spacebars.call("Your linkedin public profile")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("stackoverflowUrl"),placeholder:Spacebars.call("Your stackoverflow public profile")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))})),"\n\t",Blaze._TemplateWith((function(){return{name:Spacebars.call("description"),rows:Spacebars.call(8),placeholder:Spacebars.call("Tell us about what you've done with meteor, how long you've been programming, things like that")}}),(function(){return Spacebars.include(t.lookupTemplate("afQuickField"))}))]}))}).call(this);
365
366(function(){Template.__checkName("profileStatusToggle"),Template.profileStatusToggle=new Template("Template.profileStatusToggle",(function(){var e=this;return HTML.DIV({class:"row"},"\n        ",HTML.DIV({class:"col-sm-12"},"\n            Current Status is ",HTML.B(Blaze.View("lookup:status",(function(){return Spacebars.mustache(e.lookup("status"))})))," - Set status to ",Blaze.Each((function(){return Spacebars.call(e.lookup("statuses"))}),(function(){return[" ",Blaze.Unless((function(){return Spacebars.dataMustache(e.lookup("$eq"),Spacebars.dot(e.lookup(".."),"status"),e.lookup("."))}),(function(){return["\n            ",HTML.BUTTON({type:"button",class:"set-status"},Blaze.View("lookup:.",(function(){return Spacebars.mustache(e.lookup("."))}))),"\n            "]}))," "]})),HTML.Raw("\n            <hr>\n        ")),"\n    ")})),Template.__checkName("profileAdminEditLink"),Template.profileAdminEditLink=new Template("Template.profileAdminEditLink",(function(){var e=this;return HTML.DIV({class:"pull-right"},"\n        ",HTML.A({href:function(){return["/admin/Profiles/",Spacebars.mustache(e.lookup("_id")),"/edit"]}},"Edit Profile"),"\n    ")})),Template.__checkName("profileStatusAlert"),Template.profileStatusAlert=new Template("Template.profileStatusAlert",(function(){var e=this;return Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"pending")}),(function(){return HTML.Raw('\n        <div class="alert alert-info">\n            <i class="fa fa-exclamation-triangle fa-2x pull-left"></i>
366 This profile is awaiting admin approval. It will be reviewed shortly and then become live on the site.\n        </div>\n    ')}),(function(){return["\n      ",Blaze.If((function(){return Spacebars.dataMustache(e.lookup("$eq"),e.lookup("status"),"flagged")}),(function(){return HTML.Raw('\n      <div class="alert alert-danger">\n          <i class="fa fa-flag fa-2x pull-left"></i> This profile has been flagged for content. Contact an admin if you believe this is in error.\n      </div>\n      ')})),"\n    "]}))}))}).call(this);
367
368(function(){Template.__checkName("profileSmall"),Template.profileSmall=new Template("Template.profileSmall",(function(){var t=this;return HTML.DIV({class:"col-md-3"},"\n        ",HTML.DIV({class:"developer-grid panel panel-default text-center"},"\n            ",HTML.DIV({class:"panel-body"},"\n                ",HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"profile")}},"\n\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("customImageUrl"))}),(function(){return["\n\t\t\t\t\t\t",HTML.DIV({class:"avatar center-block"},"\n\t\t\t\t\t\t\t",HTML.IMG({class:"img-responsive",src:function(){return Spacebars.mustache(t.lookup("resizeImageUrl"),t.lookup("customImageUrl"),100,100)}}),"\n\t\t\t\t\t\t"),"\n\t\t\t\t\t"]}),(function(){return["\n\t\t\t\t\t\t",Blaze._TemplateWith((function(){return{userId:Spacebars.call(t.lookup("userId")),size:Spacebars.call("medium"),class:Spacebars.call("center-block")}}),(function(){return Spacebars.include(t.lookupTemplate("avatar"))})),"\n\t\t\t\t\t"]})),"\n\t\t\t\t"),"\n                ",HTML.H4({class:"name"},HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"profile")}},"\n\t\t\t\t\t",Blaze.If((function(){return Spacebars.call(t.lookup("name"))}),(function(){return Blaze.View("lookup:name",(function(){return Spacebars.mustache(t.lookup("name"))}))}),(function(){return Blaze.View("lookup:userName",(function(){return Spacebars.mustache(t.lookup("userName"))}))})),"\n\t\t\t\t")),"\n                ",HTML.DIV({class:"labels"},"\n                    ",Blaze.If((function(){return Spacebars.call(t.lookup("availableForHire"))}),(function(){return HTML.Raw('\n                        <span class="label label-primary"><i class="fa fa-rocket"></i> Hire Me</span>\n                    ')})),"\n                    ",Blaze.If((function(){return Spacebars.dataMustache(t.lookup("$eq"),t.lookup("type"),"Company")}),(function(){return HTML.Raw('\n                        <span class="label label-danger"><i class="fa fa-users"></i> Company</span>\n                    ')})),"\n                "),"\n                ",HTML.DIV({class:"title"},"\n                    ",HTML.SMALL(Blaze.View("lookup:title",(function(){return Spacebars.mustache(t.lookup("title"))}))),"\n                "),"\n                ",HTML.DIV({class:"location"},"\n                    ",Blaze.If((function(){return Spacebars.call(t.lookup("location"))}),(function(){return["\n                        ",HTML.SMALL(HTML.Raw('<i class="fa fa-map-marker"></i>&nbsp;'),Blaze.View("lookup:location",(function(){return Spacebars.mustache(t.lookup("location"))}))),"\n                    "]})),"\n                "),"\n            "),"\n        "),"\n    ")}))}).call(this);
369
370(function(){Template.__checkName("profiles"),Template.profiles=new Template("Template.profiles",(function(){var n=this;return HTML.SECTION({id:"profiles"},HTML.Raw('\n    <div class="row search-filter">\n        <div class="col-md-3 col-md-offset-6 col-sm-6 text-right">\n          <div class="form-group">\n            <select id="type" class="form-control">\n              <option value="All">Companies &amp; Individuals</option>\n              <option value="Individual">Individuals Only</option>\n              <option value="Company">Companies Only</option>\n            </select>\n          </div>\n        </div>\n        <div class="col-md-3 col-sm-6">\n          <div class="form-group">\n            <input type="text" id="search" class="form-control" placeholder="Search">\n          </div>\n        </div>\n      \n    </div>\n    '),HTML.DIV({class:"row"},"\n      ",Blaze.Each((function(){return Spacebars.call(n.lookup("profiles"))}),(function(){return["\n        ",Spacebars.include(n.lookupTemplate("profileSmall")),"\n      "]}),(function(){return["\n        ",Blaze.If((function(){return Spacebars.call(n.lookup("queryActive"))}),(function(){return"\n          Sorry no matching profiles found.\n        "})),"\n      "]})),"\n    "),"\n    ",HTML.DIV({class:"text-center"},"\n        ",Spacebars.include(n.lookupTemplate("infiniteScroll")),"\n    "),"\n  ")}))}).call(this);
371
372(function(){Template.__checkName("profilesRecent"),Template.profilesRecent=new Template("Template.profilesRecent",(function(){var t=this;return HTML.SECTION({id:"profilesRecent"},HTML.Raw('\n\t\t<div class="row">\n\t\t\t<div class="col-sm-4">\n\t\t\t\t<h2>Featured Developers</h2> \n\t\t\t</div>\n\t\t\t<div class="col-sm-4 col-sm-offset-4 text-right">\n\t\t\t\t<a href="/rss/profiles" target="_blank"><i class="fa fa-rss fa-2x"></i></a>\n\t\t\t</div>\n\t\t</div>\n\t\t'),HTML.DIV({class:"row"},"\n\t\t\t",Blaze.Each((function(){return Spacebars.call(t.lookup("profiles"))}),(function(){return["\n\t\t\t\t",Spacebars.include(t.lookupTemplate("profileSmall")),"\t\t\t\n\t\t\t"]})),"\n\t\t"),"\n\t\t",HTML.DIV({class:"panel panel-default"},"\n\t\t\t",HTML.DIV({class:"panel-body text-center"},"\n\t\t\t\t",HTML.H4(HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"profiles")}},"View All ",Blaze.View("lookup:getCount",(function(){return Spacebars.mustache(t.lookup("getCount"),"developerCount")})),HTML.Raw(' Developers&nbsp;&nbsp;<i class="fa fa-arrow-right"></i>'))),"\n\t\t\t"),"\n\t\t"),"\n\t")}))}).call(this);
373
374(function(){Template.__checkName("userProfile"),Template.userProfile=new Template("Template.userProfile",(function(){var e=this;return HTML.DIV({class:"modal fade"},"\n        ",HTML.DIV({class:"modal-dialog"},"\n            ",HTML.DIV({class:"modal-content"},HTML.Raw('\n\n                <div class="modal-header">\n                    <h4 class="modal-title">Your User Profile</h4>\n                </div>\n\n                '),HTML.DIV({class:"modal-body"},"\n                    ",HTML.DIV({class:"row"},"\n                        ",HTML.DIV({class:"col-sm-12"},"\n                            ",Blaze._TemplateWith((function(){return{id:Spacebars.call("userProfileEdit"),collection:Spacebars.call("Users"),doc:Spacebars.call(e.lookup("currentUser")),type:Spacebars.call("update")}}),(function(){return Spacebars.include(e.lookupTemplate("autoForm"),(function(){return["\n                                ",Blaze._TemplateWith((function(){return{name:Spacebars.call("profile.name"),placeholder:Spacebars.call("John Doe")}}),(function(){return Spacebars.include(e.lookupTemplate("afQuickField"))})),HTML.Raw('\n                                <br><br>\n                                <div>\n                                    <button type="submit" class="btn btn-primary">
374Update</button>\n                                    <button id="cancel" class="btn btn-default">Cancel</button>\n                                </div>\n                            ')]}))})),"\n                        "),"\n                    "),"\n                "),"\n            "),"\n        "),"\n    ")}))}).call(this);
375
376(function(){Template.__checkName("home"),Template.home=new Template("Template.home",(function(){var t=this;return[HTML.DIV({class:"jumbotron container-fluid"},"\n\t\t",HTML.DIV({class:"container text-center"},HTML.Raw('\n\t\t\t<div class="row">\n\t\t\t\t<h1>We Work Meteor</h1>\n\t\t\t</div>\n\t\t\t<div class="row">\n\t\t\t\t<br>\n\t\t\t\t<iframe src="//platform.twitter.com/widgets/follow_button.html?screen_name=weworkmeteor&amp;size=l&amp;show_count=false" style="width: 185px; height: 28px;" allowtransparency="true" frameborder="0" scrolling="no">\n\t\t\t\t</iframe>\n\t\t\t\t<br><br>\n\t\t\t</div>\n\t\t\t'),HTML.DIV({class:"row"},"\n\t\t\t\t",HTML.P(HTML.Raw('\n\t\t\t\t\tThe premier job board space specifically for <a href="http://www.meteor.com/">Meteor</a>\n\t\t\t\t\t<br><br>\n\t\t\t\t\tBrowse the '),HTML.A({href:function(){return Spacebars.mustache(t.lookup("pathFor"),"jobs")}}," active job postings"),HTML.Raw("\n          \x3c!-- or <a href=\"{{pathFor 'profileNew'}}\">create your profile</a> to join the <a href=\"{{pathFor 'profiles'}}\">{{getCount 'developerCount'}} registered developers</a> --\x3e\n\n\t\t\t\t")),"\n\t\t\t"),"\n\n\t\t\t",HTML.DIV({id:"callToAction",class:"row"},"\n\t\t\t\t",HTML.A({class:"col-sm-4 col-sm-offset-4 col-xs-12 text-center btn btn-primary btn-md",role:"button",href:function(){return Spacebars.mustache(t.lookup("pathFor"),"jobNew")}},"Post A Job"),HTML.Raw('\n\t\t\t\t\x3c!-- <a class="col-sm-4 col-sm-offset-2 col-xs-12 text-center btn btn-success btn-md" role="button" href="{{pathFor \'profileNew\'}}">Create a Profile</a> --\x3e\n\t\t\t')),"\n\t\t"),"\n\t"),"\n\t",HTML.DIV({class:"container"},"\n\t\t",HTML.DIV({class:"row"},"\n\t\t\t",HTML.DIV({class:"col-sm-12"},"\n\t\t\t\t",Spacebars.include(t.lookupTemplate("jobsRecent")),"\n\t\t\t"),"\n\t\t"),HTML.Raw('\n\t\t<hr>\n\t\t\x3c!-- <div class="row">\n\t\t\t<div class="col-sm-12">\n\t\t\t\t{{>profilesRecent}}\n\t\t\t</div>\n\t\t</div> --\x3e\n\t'))]}))}).call(this);
377
378(function(){JOB_TYPES=["Full Time","Part Time","Hourly Contract","Term Contract","Mentoring","Internship","Bounty","Open Source","Volunteer","Other"],SUMMERNOTE_OPTIONS={type:"summernote",height:300,minHeight:300,toolbar:[["style",["style"]],["font",["bold","italic","underline","clear"]],["para",["ul","ol"]],["insert",["link","hr"]],["misc",["codeview"]]],styleWithSpan:!1},STATUSES=["pending","active","flagged","inactive","filled"],PROFILE_STATUSES=["pending","active","flagged"]}).call(this);
379
380(function(){subs=new SubsManager({cacheLimit:20,expireIn:5})}).call(this);
381
382(function(){getUserName=function(e){return e?e.profile&&e.profile.name?e.profile.name:e.profile&&e.profile.firstName&&e.profile.lastName?e.profile.firstName+" "+e.profile.lastName:e.username?e.username:e.emails&&e.emails[0]&&e.emails[0].address?e.emails[0].address:"":""},getUserEmail=function(e){return e&&e.emails&&e.emails[0]&&e.emails[0].address?e.emails[0].address:e&&e.services&&e.services.facebook&&e.services.facebook.email?e.services.facebook.email:e&&e.services&&e.services.google&&e.services.google.email?e.services.google.email:e&&e.services&&e.services.github&&e.services.github.email?e.services.github.email:e&&e.services&&e.services.linkedin&&e.services.linkedin.email?e.services.linkedin.email:e&&e.services&&e.services.twitter&&e.services.twitter.email?e.services.twitter.email:e&&e.services&&e.services.meteor&&e.services.meteor.email?e.services.meteor.email:void 0},daysUntilExpiration=function(){var e=90,i=new Date;return i.setDate(i.getDate()-e),i}}).call(this);
383
384(function(){Meteor.methods({deactivateJob:function(e,t){check(e,String),check(t,Boolean);var r=Jobs.findOne({_id:e});if(!r)throw new Meteor.Error("Could not find job.");if(this.userId!==r.userId)throw new Meteor.Error("You can only deactivate your own job.");if("active"!==r.status)throw new Meteor.Error("You can only deactivate an active job.");Jobs.update({_id:e},{$set:{status:t?"filled":"inactive"}})},adminSetJobStatus:function(e,t){check(e,String),check(t,String);var r=Jobs.findOne({_id:e});if(!r)throw new Meteor.Error("Could not find job.");if(!Roles.userIsInRole(this.userId,["admin"]))throw new Meteor.Error("Only admins can set job status");var o={status:t};Meteor.isServer&&"active"===t&&r.featured()&&(o.featuredThrough=moment().add(30,"days").toDate()),Jobs.update({_id:e},{$set:o})},adminSetProfileStatus:function(e,t){var r;if(check(e,String),check(t,String),!Profiles.findOne({_id:e}))throw new Meteor.Error("Could not find profile.");if(!Roles.userIsInRole(this.userId,["admin"]))throw new Meteor.Error("Only admins can set profile status");var o={status:t};Profiles.update({_id:e},{$set:o})},createFeaturedJobCharge:function(e,t){check(e,String),check(t,String);var r=Jobs.findOne({_id:t});if(!r)throw new Meteor.Error("Could not find job.");if(r.userId!==this.userId)throw new Meteor.Error("You can only pay for you own job post.");if(Meteor.isServer){var o=Stripe.charges.create({source:e,amount:1e4,currency:"usd",description:"We Work Meteor - Featured Job Post - 30 Days"});if(!o||"succeeded"!==o.status&&"paid"!==o.status)throw new Meteor.Error("Payment Failed!","Stripe result not as expected",JSON.stringify(o));Jobs.update({_id:r._id},{$set:{featuredThrough:moment().add(30,"days").toDate()},$push:{featuredChargeHistory:o.id}})}else Jobs.update({_id:t},{$set:{featuredThrough:moment().add(30,"days").toDate()}})}})}).call(this);
385
386(function(){!function(n){"use strict";function t(){var n=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==n.style[i])return{end:t[i]};return!1}n.fn.emulateTransitionEnd=function(t){var i=!1,r=this,o;return n(this).one("bsTransitionEnd",(function(){i=!0})),setTimeout((function(){i||n(r).trigger(n.support.transition.end)}),t),this},n((function(){n.support.transition=t(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})}))}(jQuery)}).call(this);
387
388(function(){!function(t){"use strict";var e=function(a,s){this.$element=t(a),this.options=t.extend({},e.DEFAULTS,s),this.$trigger=t('[data-toggle="collapse"][href="#'+a.id+'"],[data-toggle="collapse"][data-target="#'+a.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function a(e){var a,s=e.attr("data-target")||(a=e.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return t(s)}function s(a){return this.each((function(){var s=t(this),i=s.data("bs.collapse"),n=t.extend({},e.DEFAULTS,s.data(),"object"==typeof a&&a);!i&&n.toggle&&/show|hide/.test(a)&&(n.toggle=!1),i||s.data("bs.collapse",i=new e(this,n)),"string"==typeof a&&i[a]()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){var t;return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(a=i.data("bs.collapse"))&&a.transitioning)){var n=t.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){i&&i.length&&(s.call(i,"hide"),a||i.data("bs.collapse",null));var l=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[l](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[l](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var r=t.camelCase(["scroll",l].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[l](this.$element[0][r])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=t.Event("hide.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){var s=this.dimension();this.$element[s](this.$element[s]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[s](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy((function(e,s){var i=t(s);this.addAriaAndCollapsedClass(a(i),i)}),this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var a=t.hasClass("in");t.attr("aria-expanded",a),e.toggleClass("collapsed",!a).attr("aria-expanded",a)};var i=t.fn.collapse;t.fn.collapse=s,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',(function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var n=a(i),l,o=n.data("bs.collapse")?"toggle":i.data();s.call(n,o)}))}(jQuery)}).call(this);
389
390(function(){!function(t){"use strict";
390var o=".dropdown-backdrop",e='[data-toggle="dropdown"]',n=function(o){t(o).on("click.bs.dropdown",this.toggle)};function r(o){var e=o.attr("data-target");e||(e=(e=o.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var n=e&&t(e);return n&&n.length?n:o.parent()}function a(n){n&&3===n.which||(t(o).remove(),t(e).each((function(){var o=t(this),e=r(o),a={relatedTarget:this};e.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&t.contains(e[0],n.target)||(e.trigger(n=t.Event("hide.bs.dropdown",a)),n.isDefaultPrevented()||(o.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",a))))})))}function d(o){return this.each((function(){var e=t(this),r=e.data("bs.dropdown");r||e.data("bs.dropdown",r=new n(this)),"string"==typeof o&&r[o].call(e)}))}n.VERSION="3.3.5",n.prototype.toggle=function(o){var e=t(this);if(!e.is(".disabled, :disabled")){var n=r(e),d=n.hasClass("open");if(a(),!d){"ontouchstart"in document.documentElement&&!n.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",a);var i={relatedTarget:this};if(n.trigger(o=t.Event("show.bs.dropdown",i)),o.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),n.toggleClass("open").trigger("shown.bs.dropdown",i)}return!1}},n.prototype.keydown=function(o){if(/(38|40|27|32)/.test(o.which)&&!/input|textarea/i.test(o.target.tagName)){var n=t(this);if(o.preventDefault(),o.stopPropagation(),!n.is(".disabled, :disabled")){var a=r(n),d=a.hasClass("open");if(!d&&27!=o.which||d&&27==o.which)return 27==o.which&&a.find(e).trigger("focus"),n.trigger("click");var i=" li:not(.disabled):visible a",s=a.find(".dropdown-menu"+i);if(s.length){var p=s.index(o.target);38==o.which&&p>0&&p--,40==o.which&&p<s.length-1&&p++,~p||(p=0),s.eq(p).trigger("focus")}}}};var i=t.fn.dropdown;t.fn.dropdown=d,t.fn.dropdown.Constructor=n,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=i,this},t(document).on("click.bs.dropdown.data-api",a).on("click.bs.dropdown.data-api",".dropdown form",(function(t){t.stopPropagation()})).on("click.bs.dropdown.data-api",e,n.prototype.toggle).on("keydown.bs.dropdown.data-api",e,n.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",n.prototype.keydown)}(jQuery)}).call(this);
391
392(function(){!function(t){"use strict";var e=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy((function(){this.$element.trigger("loaded.bs.modal")}),this))};function i(i,o){return this.each((function(){var s=t(this),n=s.data("bs.modal"),a=t.extend({},e.DEFAULTS,s.data(),"object"==typeof i&&i);n||s.data("bs.modal",n=new e(this,a)),"string"==typeof i?n[i](o):a.show&&n.show(o)}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=300,e.BACKDROP_TRANSITION_DURATION=150,e.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},e.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},e.prototype.show=function(i){var o=this,s=t.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(s),this.isShown||s.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",(function(){o.$element.one("mouseup.dismiss.bs.modal",(function(e){t(e.target).is(o.$element)&&(o.ignoreBackdropClick=!0)}))})),this.backdrop((function(){var s=t.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),s&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var n=t.Event("shown.bs.modal",{relatedTarget:i});s?o.$dialog.one("bsTransitionEnd",(function(){o.$element.trigger("focus").trigger(n)})).emulateTransitionEnd(e.TRANSITION_DURATION):o.$element.trigger("focus").trigger(n)})))},e.prototype.hide=function(i){i&&i.preventDefault(),i=t.Event("hide.bs.modal"),this.$element.trigger(i),this.isShown&&!i.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("
392click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(e.TRANSITION_DURATION):this.hideModal())},e.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy((function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")}),this))},e.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy((function(t){27==t.which&&this.hide()}),this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},e.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},e.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop((function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")}))},e.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},e.prototype.backdrop=function(i){var o=this,s=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var n=t.support.transition&&s;if(this.$backdrop=t(document.createElement("div")).addClass("modal-backdrop "+s).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy((function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())}),this)),n&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!i)return;n?this.$backdrop.one("bsTransitionEnd",i).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):i()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var a=function(){o.removeBackdrop(),i&&i()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",a).emulateTransitionEnd(e.BACKDROP_TRANSITION_DURATION):a()}else i&&i()},e.prototype.handleUpdate=function(){this.adjustDialog()},e.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},e.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},e.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},e.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},e.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},e.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var o=t.fn.modal;t.fn.modal=i,t.fn.modal.Constructor=e,t.fn.modal.noConflict=function(){return t.fn.modal=o,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var o=t(this),s=o.attr("href"),n=t(o.attr("data-target")||s&&s.replace(/.*(?=#[^\s]+$)/,"")),a=n.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(s)&&s},n.data(),o.data());o.is("a")&&e.preventDefault(),n.one("show.bs.modal",(function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",(function(){o.is(":visible")&&o.trigger("focus")}))})),i.call(n,a,this)}))}(jQuery)}).call(this);
393
394(function(){!function(t){"use strict";var e=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};function i(i){return this.each((function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof i&&i;!n&&/destroy|hide/.test(i)||(n||o.data("bs.tooltip",n=new e(this,s)),"string"==typeof i&&n[i]())}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();
vendor: 4,670 bytes, line 394
394return this._options&&t.each(this._options,(function(t,o){i[t]!=o&&(e[t]=o)})),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout((function(){"in"==i.hoverState&&i.show()}),i.options.delay.show)}},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout((function(){"out"==i.hoverState&&i.hide()}),i.options.delay.hide)}},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),r=this.getUID(this.type);this.setContent(),s.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,p=l.test(a);p&&(a=a.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),f=s[0].offsetWidth,c=s[0].offsetHeight;if(p){var u=a,d=this.getPosition(this.$viewport);a="bottom"==a&&h.bottom+c>d.bottom?"top":"top"==a&&h.top-c<d.top?"bottom":"right"==a&&h.right+f>d.width?"left":"left"==a&&h.left-f<d.left?"right":a,s.removeClass(u).addClass(a)}var g=this.getCalculatedOffset(a,h,f,c);this.applyPlacement(g,a);var v=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",v).emulateTransitionEnd(e.TRANSITION_DURATION):v()}},e.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,p=o[0].offsetHeight;"top"==i&&p!=s&&(e.top=e.top+s-p);var h=this.getViewportAdjustedDelta(i,e,l,p);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),c=f?2*h.left-n+l:2*h.top-s+p,u=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(c,o[0][u],f)},e.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},e.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},e.prototype.hide=function(i){var o=this,n=t(this.$tip),s=t.Event("hide.bs."+this.type);function r(){"in"!=o.hoverState&&n.detach(),o.$element.removeAttr("aria-describedby").trigger("hidden.bs."+o.type),i&&i()}if(this.$element.trigger(s),!s.isDefaultPrevented())return n.removeClass("in"),t.support.transition&&n.hasClass("fade")?n.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r(),this.hoverState=null,this},e.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},e.prototype.hasContent=function(){return this.getTitle()},e.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)}
vendor: 17,511 bytes, lines 394-412
394,e.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},e.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,l=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:l>r.top+r.height&&(n.top=r.top+r.height-l)}else{var p=e.left-s,h=e.left+s+i;p<r.left?n.left=r.left-p:h>r.right&&(n.left=r.left+r.width-h)}return n},e.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},e.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},e.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},e.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},e.prototype.enable=function(){this.enabled=!0},e.prototype.disable=function(){this.enabled=!1},e.prototype.toggleEnabled=function(){this.enabled=!this.enabled},e.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},e.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide((function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null}))};var o=t.fn.tooltip;t.fn.tooltip=i,t.fn.tooltip.Constructor=e,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery)}).call(this);
395
396(function(){!function(t){"use strict";var o=function(t,o){this.init("popover",t,o)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");function e(e){return this.each((function(){var n=t(this),r=n.data("bs.popover"),i="object"==typeof e&&e;!r&&/destroy|hide/.test(e)||(r||n.data("bs.popover",r=new o(this,i)),"string"==typeof e&&r[e]())}))}o.VERSION="3.3.5",o.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),(o.prototype=t.extend({},t.fn.tooltip.Constructor.prototype)).constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),o=this.getTitle(),e=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](o),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof e?"html":"append":"text"](e),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,o=this.options;return t.attr("data-content")||("function"==typeof o.content?o.content.call(t[0]):o.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=o,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery)}).call(this);
397
398(function(){!function(t){"use strict";var e=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};function i(i){return this.each((function(){var s=t(this),n=s.data("bs.carousel"),a=t.extend({},e.DEFAULTS,s.data(),"object"==typeof i&&i),r="string"==typeof i?i:a.slide;n||s.data("bs.carousel",n=new e(this,a)),"number"==typeof i?n.to(i):r?n[r]():a.interval&&n.pause().cycle()}))}e.VERSION="3.3.5",e.TRANSITION_DURATION=600,e.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},e.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},e.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},e.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},e.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),s;if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var n,a=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(a)},e.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",(function(){e.to(t)})):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},e.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},e.prototype.next=function(){if(!this.sliding)return this.slide("next")},e.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},e.prototype.slide=function(i,s){var n=this.$element.find(".item.active"),a=s||this.getItemForDirection(i,n),r=this.interval,o="next"==i?"left":"right",l=this;if(a.hasClass("active"))return this.sliding=!1;var h=a[0],c=t.Event("slide.bs.carousel",{relatedTarget:h,direction:o});if(this.$element.trigger(c),!c.isDefaultPrevented()){if(this.sliding=!0,r&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var d=t(this.$indicators.children()[this.getItemIndex(a)]);d&&d.addClass("active")}var u=t.Event("slid.bs.carousel",{relatedTarget:h,direction:o});return t.support.transition&&this.$element.hasClass("slide")?(a.addClass(i),a[0].offsetWidth,n.addClass(o),a.addClass(o),n.one("bsTransitionEnd",(function(){a.removeClass([i,o].join(" ")).addClass("active"),n.removeClass(["active",o].join(" ")),l.sliding=!1,setTimeout((function(){l.$element.trigger(u)}),0)})).emulateTransitionEnd(e.TRANSITION_DURATION)):(n.removeClass("active"),a.addClass("active"),this.sliding=!1,this.$element.trigger(u)),r&&this.cycle(),this}};var s=t.fn.carousel;t.fn.carousel=i,t.fn.carousel.Constructor=e,t.fn.carousel.noConflict=function(){return t.fn.carousel=s,this};var n=function(e){var s,n=t(this),a=t(n.attr("data-target")||(s=n.attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,""));if(a.hasClass("carousel")){var r=t.extend({},a.data(),n.data()),o=n.attr("data-slide-to");o&&(r.interval=!1),i.call(a,r),o&&a.data("bs.carousel").to(o),e.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",(function(){t('[data-ride="carousel"]').each((function(){var e=t(this);i.call(e,e.data())}))}))}(jQuery)}).call(this);
399
400(function(){!function(t){"use strict";var i=function(e,o){this.options=t.extend({},i.DEFAULTS,o),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function e(e){return this.each((function(){var o=t(this),f=o.data("bs.affix"),n="object"==typeof e&&e;f||o.data("bs.affix",f=new i(this,n)),"string"==typeof e&&f[e]()}))}i.VERSION="3.3.5",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,i,e,o){var f=this.$target.scrollTop(),n=this.$element.offset(),s=this.$target.height();if(null!=e&&"top"==this.affixed)return f<e&&"top";if("bottom"==this.affixed)return null!=e?!(f+this.unpin<=n.top)&&"bottom":!(f+s<=t-o)&&"bottom";var a=null==this.affixed,h=a?f:n.top,l;return null!=e&&f<=e?"top":null!=o&&h+(a?s:i)>=t-o&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),o=this.options.offset,f=o.top,n=o.bottom,s=Math.max(t(document).height(),t(document.body).height());"object"!=typeof o&&(n=f=o),"function"==typeof f&&(f=o.top(this.$element)),"function"==typeof n&&(n=o.bottom(this.$element));var a=this.getState(s,e,f,n);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var h="affix"+(a?"-"+a:""),l=t.Event(h+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(h).trigger(h.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-n})}};var o=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=o,this},t(window).on("load",(function(){t('[data-spy="affix"]').each((function(){var i=t(this),o=i.data();o.offset=o.offset||{},null!=o.offsetBottom&&(o.offset.bottom=o.offsetBottom),null!=o.offsetTop&&(o.offset.top=o.offsetTop),e.call(i,o)}))}))}(jQuery)}).call(this);
401
402(function(){!function(t){"use strict";var e='[data-dismiss="alert"]',a=function(a){t(a).on("click",e,this.close)};function n(e){return this.each((function(){var n=t(this),r=n.data("bs.alert");r||n.data("bs.alert",r=new a(this)),"string"==typeof e&&r[e].call(n)}))}a.VERSION="3.3.5",a.TRANSITION_DURATION=150,a.prototype.close=function(e){var n=t(this),r=n.attr("data-target");r||(r=(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]*$)/,""));var s=t(r);function i(){s.detach().trigger("closed.bs.alert").remove()}e&&e.preventDefault(),s.length||(s=n.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",i).emulateTransitionEnd(a.TRANSITION_DURATION):i())};var r=t.fn.alert;t.fn.alert=n,t.fn.alert.Constructor=a,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery)}).call(this);
403
404(function(){!function(t){"use strict";var e=function(s,n){this.$element=t(s),this.options=t.extend({},e.DEFAULTS,n),this.isLoading=!1};function s(s){return this.each((function(){var n=t(this),a=n.data("bs.button"),i="object"==typeof s&&s;a||n.data("bs.button",a=new e(this,i)),"toggle"==s?a.toggle():s&&a.setState(s)}))}e.VERSION="3.3.5",e.DEFAULTS={loadingText:"loading..."},e.prototype.setState=function(e){var s="disabled",n=this.$element,a=n.is("input")?"val":"html",i=n.data();e+="Text",null==i.resetText&&n.data("resetText",n[a]()),setTimeout(t.proxy((function(){n[a](null==i[e]?this.options[e]:i[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(s).attr(s,s)):this.isLoading&&(this.isLoading=!1,n.removeClass(s).removeAttr(s))}),this),0)},e.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var s=this.$element.find("input");"radio"==s.prop("type")?(s.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==s.prop("type")&&(s.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),s.prop("checked",this.$element.hasClass("active")),t&&s.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=s,t.fn.button.Constructor=e,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(e){var n=t(e.target);n.hasClass("btn")||(n=n.closest(".btn")),s.call(n,"toggle"),t(e.target).is('input[type="radio"]')||t(e.target).is('input[type="checkbox"]')||e.preventDefault()})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))}))}(jQuery)}).call(this);
405
406(function(){!function(t){"use strict";function s(e,i){this.$body=t(document.body),this.$scrollElement=t(e).is(document.body)?t(window):t(e),this.options=t.extend({},s.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function e(e){return this.each((function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof e&&e;o||i.data("bs.scrollspy",o=new s(this,r)),"string"==typeof e&&o[e]()}))}s.VERSION="3.3.5",s.DEFAULTS={offset:10},s.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},s.prototype.refresh=function(){var s=this,e="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(e="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map((function(){var s=t(this),o=s.data("target")||s.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[e]().top+i,o]]||null})).sort((function(t,s){return t[0]-s[0]})).each((function(){s.offsets.push(this[0]),s.targets.push(this[1])}))},s.prototype.process=function(){var t=this.$scrollElement.scrollTop()+this.options.offset,s=this.getScrollHeight(),e=this.options.offset+s-this.$scrollElement.height(),i=this.offsets,o=this.targets,r=this.activeTarget,l;if(this.scrollHeight!=s&&this.refresh(),t>=e)return r!=(l=o[o.length-1])&&this.activate(l);if(r&&t<i[0])return this.activeTarget=null,this.clear();for(l=i.length;l--;)r!=o[l]&&t>=i[l]&&(void 0===i[l+1]||t<i[l+1])&&this.activate(o[l])},s.prototype.activate=function(s){this.activeTarget=s,this.clear();var e=this.selector+'[data-target="'+s+'"],'+this.selector+'[href="'+s+'"]',i=t(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},s.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=e,t.fn.scrollspy.Constructor=s,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var s=t(this);e.call(s,s.data())}))}))}(jQuery)}).call(this);
407
408(function(){!function(t){"use strict";var a=function(a){this.element=t(a)};function e(e){return this.each((function(){var n=t(this),i=n.data("bs.tab");i||n.data("bs.tab",i=new a(this)),"string"==typeof e&&i[e]()}))}a.VERSION="3.3.5",a.TRANSITION_DURATION=150,a.prototype.show=function(){var a=this.element,e=a.closest("ul:not(.dropdown-menu)"),n=a.data("target");if(n||(n=(n=a.attr("href"))&&n.replace(/.*(?=#[^\s]*$)/,"")),!a.parent("li").hasClass("active")){var i=e.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:a[0]}),s=t.Event("show.bs.tab",{relatedTarget:i[0]});if(i.trigger(r),a.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var d=t(n);this.activate(a.closest("li"),e),this.activate(d,d.parent(),(function(){i.trigger({type:"hidden.bs.tab",relatedTarget:a[0]}),a.trigger({type:"shown.bs.tab",relatedTarget:i[0]})}))}}},a.prototype.activate=function(e,n,i){var r=n.find("> .active"),s=i&&t.support.transition&&(r.length&&r.hasClass("fade")||!!n.find("> .fade").length);function d(){r.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),s?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}r.length&&s?r.one("bsTransitionEnd",d).emulateTransitionEnd(a.TRANSITION_DURATION):d(),r.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=a,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var i=function(a){a.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery)}).call(this);
409
410(function(){UPLOADCARE_MANUAL_START=!0}).call(this);
411
412(function(){Meteor.startup((()=>
412{if(Meteor.settings.public?.recaptcha?.v3SiteKey){const e=document.createElement("script");e.src=`https://www.google.com/recaptcha/api.js?render=${Meteor.settings.public.recaptcha.v3SiteKey}`,e.async=!0,e.defer=!0,e.onload=()=>{console.log("=== reCAPTCHA Script Loaded Successfully ===")},e.onerror=e=>{console.error("=== reCAPTCHA Script Failed to Load ===",e)},document.head.appendChild(e)}else console.warn("reCAPTCHA site key not configured!")})),window.getRecaptchaToken=function(e="submit_job"){return new Promise(((t,c)=>{Meteor.settings.public?.recaptcha?.v3SiteKey?"undefined"!=typeof grecaptcha?grecaptcha.ready((()=>{grecaptcha.execute(Meteor.settings.public.recaptcha.v3SiteKey,{action:e}).then((e=>{t(e)})).catch((e=>{c(e)}))})):c(new Error("reCAPTCHA not loaded")):c(new Error("reCAPTCHA not configured"))}))}}).call(this);
413
414(function(){Template.header.events({"click .navbar-nav a":function(e,n){var r=document.getElementsByClassName("navbar-toggle")[0],t=$(e.currentTarget);window.innerWidth<768&&(t.hasClass("box-user-option")||r.click())}}),Template.headerUserMenu.helpers({profile:function(){return Profiles.findOne({userId:Meteor.userId()})}}),Template.headerUserMenu.events({"click #signOut":function(e,n){Meteor.logout(),Router.go("/")},"click .navbar-nav a":function(e,n){var r=document.getElementsByClassName("navbar-toggle")[0],t=$(e.currentTarget);window.innerWidth<768&&(t.hasClass("box-user-option")||r.click())},"click #userProfile":function(e,n){e.preventDefault(),Modal.show("userProfile")}}),Template.headerUserMenu.onRendered((function(){this.$(".dropdown-toggle").dropdown()}))}).call(this);
415
416(function(){Template.job.events({"click #job-deactivate":function(e,t){e.preventDefault(),Modal.show("jobDeactivate",t.data)}}),Template.job.helpers({hasLabel:function(){return this.jobType||this.remote||this.featured}})}).call(this);
417
418(function(){Template.jobDeactivate.events({"click .deactivate":function(e,t){e.preventDefault(),Meteor.call("deactivateJob",t.data._id,$(e.currentTarget).hasClass("filled"),(function(e,t){Modal.hide("jobDeactivate")}))}})}).call(this);
419
420(function(){AutoForm.addHooks(["jobNew"],{onSubmit:function(e){const o=this;return $("#submitJobBtn").prop("disabled",!0).html('<i class="fa fa-spinner fa-spin"></i> Processing...'),getRecaptchaToken("submit_job").then((r=>{Meteor.call("jobs.create",e,r,((e,r)=>{$("#submitJobBtn").prop("disabled",!1).html('<i class="fa fa-chevron-right"></i> Continue to preview your post'),e?("spam-detected"===e.error?alert("Your submission was flagged as potential spam. Please ensure you are not using a VPN or proxy, and try again."):"recaptcha-failed"===e.error?alert("Security verification failed. Please refresh the page and try again."):"config-missing"===e.error?alert("reCAPTCHA is not configured. Please contact the administrator."):alert("An error occurred: "+e.reason),console.error("Job submission error:",e),o.done(e)):(o.done(),Router.go("job",{_id:r}))}))})).catch((e=>{console.error("=== reCAPTCHA Token Generation Failed ==="),console.error("Error:",e),console.error("Error message:",e.message),console.error("Error stack:",e.stack),$("#submitJobBtn").prop("disabled",!1).html('<i class="fa fa-chevron-right"></i> Continue to preview your post'),alert("Security verification could not be loaded. Please refresh the page and try again."),o.done(e)})),!1}}),AutoForm.addHooks(["jobEdit"],{after:{update:function(e,o){e?console.log("Update Error:",e):Router.go("job",{_id:Router.current().params._id})}}}),Template.jobEdit.events({"click #cancel":function(e,o){e.preventDefault(),Router.go("job",{_id:this.job._id})}})}).call(this);
421
422(function(){Template.jobExpiredAlert.helpers({expired:function(){return this.userId===Meteor.userId()&&(this.createdAt<daysUntilExpiration()&&this.updatedAt<daysUntilExpiration()||this.createdAt<daysUntilExpiration()&&void 0===this.updatedAt)}}),Template.jobStatusToggle.helpers({statuses:function(){return STATUSES}}),Template.jobStatusToggle.events({"click .set-status":function(e,t){e.preventDefault(),Meteor.call("adminSetJobStatus",t.data._id,String(this))}}),Template.jobFeatured.events({"click #buy-featured":function(e,t){e.preventDefault();var r=t.data,o=$(e.currentTarget);o.button("loading"),StripeCheckout.open({key:Meteor.settings.public.Stripe.pubKey,name:"We Work Meteor",billingAddress:!1,allowRememberMe:!0,description:"Featured Job Post - 30 Days",currency:"usd",amount:1e4,email:getUserEmail(Meteor.user()),closed:function(){o.button("reset")},token:function(e,t){Meteor.call("createFeaturedJobCharge",e.id,r._id,(function(e,t){e?console.log("Insert Error:",e):console.log(t),o.button("reset")}))}})}})}).call(this);
423
424(function(){Template.jobs.helpers({jobs:function(){return Jobs.find({},{sort:{featuredThrough:-1,createdAt:-1}})}})}).call(this);
425
426(function(){Template.jobsRecent.helpers({timeFromLastJob:function(){var t=_.first(Jobs.find({},{sort:{createdAt:-1},limit:1}).fetch());if(t)return moment(t.createdAt).fromNow()}})}).call(this);
427
428(function(){Template.profile.helpers({beforeRemove:function(){return function(e,t){var n=e.findOne(t);confirm('Really delete "'+n.title+'"?')&&(this.remove(),Router.go("profiles"))}},splitInterestedIn:function(){if(interestedIn)return interestedIn.split(",")}})}).call(this);
429
430(function(){AutoForm.addHooks(["profileNew","profileEdit"],{after:{insert:function(e,o){e?console.log("Insert Error:",e):Router.go("profile",{_id:o})},update:function(e,o){e?console.log("Update Error:",e):Router.go("profile",{_id:Router.current().params._id})}}}),Template.profileEdit.events({"click #cancel":function(e,o){e.preventDefault(),Router.go("profile",{_id:this.profile._id})}});var e=new ReactiveVar;Template.profileFields.rendered=function(){var o,t=this;o=Meteor.setInterval((function(){if("undefined"!=typeof uploadcare){Meteor.clearInterval(o);var r=uploadcare.SingleWidget("#custom-image");if(t.data&&t.data.profile&&t.data.profile.customImageUrl){var i=t.data.profile.customImageUrl;i&&(r.value(i),e.set(i))}r.onChange((function(o){o?o.done((function(o){console.log(o),e.set(o.cdnUrl)})):e.get()&&e.set(null)}))}}),10)},Template.profileFields.helpers({customImagePreviewUrl:function(o,t){if(e.get())return e.get()}})}).call(this);
431
432(function(){Template.profileStatusToggle.helpers({statuses:function(){return PROFILE_STATUSES}}),Template.profileStatusToggle.events({"click .set-status":function(t,e){t.preventDefault(),Meteor.call("adminSetProfileStatus",e.data._id,String(this))}})}).call(this);
433
434(function(){Template.profiles.onCreated((function(){this.query=new ReactiveVar({}),this.infiniteScroll({perPage:40,collection:Profiles,publication:"profiles",query:this.query})})),Template.profiles.helpers({profiles:function(){var e=Template.instance().query.get(),t={sort:{randomSorter:1}};return e&&e.text&&(t.sort={score:-1}),Profiles.find({},t)},queryActive:function(){return!_.isEqual({},Template.instance().query.get())}});var e=_.debounce((function(e,t){var r=t.get();_.isEmpty(e)?delete r.text:r.text=e,t.set(r)}),250);Template.profiles.events({"keyup #search":function(t,r){e($(t.currentTarget).val(),r.query)},"change #type":function(e,t){var r=t.query.get(),i=$(e.currentTarget).val();"All"!==i?r.type=i:delete r.type,t.query.set(r)},"change #availableForHire":function(e,t){var r=t.query.get(),i;$(e.currentTarget).is(":checked")?r.availableForHire=!0:delete r.availableForHire,t.query.set(r)}})}).call(this);
435
436(function(){AutoForm.addHooks(["userProfileEdit"],{after:{update:function(e,o){e?console.log(e):Modal.hide("userProfile")}}}),Template.userProfile.events({"click #cancel":function(e,o){e.preventDefault(),Modal.hide("userProfile")}})}).call(this);
437
438(function(){Jobs=new Mongo.Collection("jobs"),Jobs.attachSchema(new SimpleSchema({title:{type:String,label:"Job Title",max:128},company:{type:String,label:"Company",max:128,optional:!0},location:{type:String,label:"Location",max:128,optional:!0},url:{type:String,label:"URL",max:256,optional:!0,regEx:SimpleSchema.RegEx.Url},contact:{type:String,label:"Contact Info",max:128},jobtype:{type:String,label:"Job Type",allowedValues:JOB_TYPES},remote:{type:Boolean,label:"This is a remote position."},userId:{type:String,label:"User Id",autoValue:function(){return this.isInsert?Meteor.userId():this.isUpsert?{$setOnInsert:Meteor.userId()}:void this.unset()},denyUpdate:!0},userName:{type:String,label:"User Name",autoValue:function(){return this.isInsert?getUserName(Meteor.user()):this.isUpsert?{$setOnInsert:getUserName(Meteor.user())}:void this.unset()}},description:{type:String,label:"Job Description",max:2e4,autoform:{afFieldInput:SUMMERNOTE_OPTIONS}},status:{type:String,allowedValues:STATUSES,autoValue:function(){return this.isInsert?"pending":this.isUpsert?{$setOnInsert:"pending"}:void 0}},featuredThrough:{type:Date,optional:!0},featuredChargeHistory:{type:[String],optional:!0},htmlDescription:{type:String,optional:!0,autoValue:function(t){var e=this.field("description");if(Meteor.isServer&&e.isSet)return cleanHtml(e.value)}},createdAt:{type:Date,autoValue:function(){return this.isInsert?new Date:this.isUpsert?{$setOnInsert:new Date}:void this.unset()},denyUpdate:!0},updatedAt:{type:Date,autoValue:function(){if(this.isUpdate)return new Date},denyInsert:!0,optional:!0}}
438)),Jobs.helpers({path:function(){return"jobs/"+this._id+"/"+this.slug()},slug:function(){return getSlug(this.title)},featured:function(){return this.featuredThrough&&moment().isBefore(this.featuredThrough)},featuredAllowed:function(){return"pending"===this.status||"active"===this.status}}),Jobs.allow({insert:function(t,e){return!1},update:function(t,e,n,i){return Roles.userIsInRole(t,["admin"])||!_.contains(n,"htmlDescription")&&!_.contains(n,"status")&&!_.contains(n,"featuredThrough")&&!_.contains(n,"featuredChargeHistory")&&t&&e&&t===e.userId},remove:function(t,e){return!1},fetch:["userId","status"]})}).call(this);
439
440(function(){Profiles=new Mongo.Collection("experts"),Profiles.attachSchema(new SimpleSchema({userId:{type:String,autoValue:function(){return this.isInsert?Meteor.userId():this.isUpsert?{$setOnInsert:Meteor.userId()}:void this.unset()},denyUpdate:!0},userName:{type:String,label:"User Name",autoValue:function(){return this.isInsert?getUserName(Meteor.user()):this.isUpsert?{$setOnInsert:getUserName(Meteor.user())}:void this.unset()}},customImageUrl:{type:String,optional:!0},name:{type:String,label:"Name",max:128},type:{type:String,label:"Individual or Company",allowedValues:["Individual","Company"]},title:{type:String,label:"Title",max:128},location:{type:String,label:"Location",max:256},description:{type:String,label:"Description",max:1e4,autoform:{afFieldInput:SUMMERNOTE_OPTIONS}},htmlDescription:{type:String,optional:!0,autoValue:function(e){var t=this.field("description");if(Meteor.isServer&&t.isSet)return cleanHtml(t.value)}},availableForHire:{type:Boolean,label:"Currently Available For Hire",defaultValue:!1},interestedIn:{type:[String],label:"Interested In",allowedValues:JOB_TYPES,optional:!0},contact:{type:String,label:"Contact Info",max:1024,optional:!0},url:{type:String,label:"Personal URL",max:1024,optional:!0,regEx:SimpleSchema.RegEx.Url},resumeUrl:{type:String,label:"Resume URL",max:1024,optional:!0,regEx:SimpleSchema.RegEx.Url},githubUrl:{type:String,label:"GitHub URL",max:1024,optional:!0,regEx:SimpleSchema.RegEx.Url},linkedinUrl:{type:String,label:"LinkedIn URL",max:1024,optional:!0,regEx:SimpleSchema.RegEx.Url},stackoverflowUrl:{type:String,label:"Stackoverflow URL",max:1024,optional:!0,regEx:SimpleSchema.RegEx.Url},randomSorter:{type:Number,defaultValue:Math.floor(1e4*Math.random())},status:{type:String,allowedValues:PROFILE_STATUSES,autoValue:function(){return this.isInsert?"pending":this.isUpsert?{$setOnInsert:"pending"}:void 0}},createdAt:{type:Date,autoValue:function(){return this.isInsert?new Date:this.isUpsert?{$setOnInsert:new Date}:void this.unset()},denyUpdate:!0},updatedAt:{type:Date,autoValue:function(){if(this.isUpdate)return new Date},denyInsert:!0,optional:!0}})),Meteor.isServer&&Profiles._ensureIndex({userName:"text",name:"text",title:"text",description:"text",location:"text"}),Profiles.helpers({displayName:function(){return this.name||this.userName},path:function(){return"profiles/"+this._id+"/"+this.slug()},slug:function(){return getSlug(this.displayName()+" "+this.title)}}),Profiles.allow({insert:function(e,t){return e&&t&&e===t.userId},update:function(e,t,n,r){return Roles.userIsInRole(e,["admin"])||!_.contains(n,"randomSorter")&&!_.contains(n,"htmlDescription")&&!_.contains(n,"status")&&e&&t&&e===t.userId},remove:function(e,t){return Roles.userIsInRole(e,["admin"])||e&&t&&e===t.userId},fetch:["userId"]})}).call(this);
441
442(function(){Users=Meteor.users,UserProfileSchema=new SimpleSchema({name:{type:String,label:"Full Name",max:64,optional:!0}}),UserSchema=new SimpleSchema({_id:{type:String,regEx:SimpleSchema.RegEx.Id},username:{type:String,optional:!0},emails:{type:[Object],optional:!0},"emails.$.address":{type:String,regEx:SimpleSchema.RegEx.Email,label:"Email Address"},"emails.$.verified":{type:Boolean,defaultValue:!1},emailHash:{type:String,optional:!0},isDeveloper:{type:Boolean,defaultValue:!1},createdAt:{type:Date},profile:{type:UserProfileSchema,optional:!0},services:{type:Object,optional:!0,blackbox:!0},roles:{type:Array,optional:!0},"roles.$":{type:String},heartbeat:{type:Date,optional:!0}}),Users.attachSchema(UserSchema),Users.allow({insert:function(e,t){return!1},update:function(e,t,a,l){return Roles.userIsInRole(e,["admin"])||!_.contains(a,"roles")&&e&&t&&e===t.userId},remove:function(e,t){return!1},fetch:["userId"]})}).call(this);
443
444(function(){AccountsTemplates.configure({confirmPassword:!0,enablePasswordChange:!0,forbidClientAccountCreation:!1,overrideLoginErrors:!0,sendVerificationEmail
444:!1,showForgotPasswordLink:!0,showLabels:!1,showPlaceholders:!0,continuousValidation:!0,negativeFeedback:!1,negativeValidation:!0,positiveValidation:!1,positiveFeedback:!1,homeRoutePath:"/",redirectTimeout:2e3}),AccountsTemplates.configureRoute("forgotPwd"),AccountsTemplates.configureRoute("resetPwd"),AccountsTemplates.configureRoute("signIn",{name:"signIn",path:"/sign-in",redirect:"/"}),AccountsTemplates.configureRoute("signUp",{name:"signUp",path:"/sign-up",redirect:"/"}),AccountsTemplates.configureRoute("verifyEmail")}).call(this);
445
446(function(){AdminConfig={name:"We Work Meteor",collections:{Jobs:{icon:"briefcase",tableColumns:[{label:"ID",name:"_id"},{label:"Title",name:"title"},{label:"User Name",name:"userName"},{label:"Status",name:"status"}],color:"red"},Profiles:{icon:"file-text-o",tableColumns:[{label:"ID",name:"_id"},{label:"Title",name:"title"},{label:"User Name",name:"userName"},{label:"Status",name:"status"}],color:"green"}},autoForm:{omitFields:["createdAt","updatedAt"]}}}).call(this);
447
448(function(){Avatar.setOptions({fallbackType:"default image",emailHashProperty:"emailHash",defaultImageUrl:"/images/avatar.png",gravatarDefault:"mm",imageSizes:{small:30,medium:100,large:200}})}).call(this);
449
450(function(){Tracker.autorun((function(){var n=Router.current();Tracker.afterFlush((function(){$(".content-inner").scrollTop(0),$(window).scrollTop(0)}))}))}).call(this);
451
452(function(){UI.registerHelper("formatDate",(function(e){if(e)return moment(e).format("M/D/YY")})),UI.registerHelper("currentUserDisplayName",(function(){return getUserName(Meteor.user())})),UI.registerHelper("currentUserEmail",(function(){return getUserEmail(Meteor.user())})),UI.registerHelper("resizeImageUrl",(function(e,r,t){if(e)return e+"-/resize/"+r+"x"+t+"/"})),UI.registerHelper("getCount",(function(e){if(e)return Counter.get(e)}))}).call(this);
453
454(function(){Router.configure({layoutTemplate:"layout",loadingTemplate:"loading",yieldTemplates:{header:{to:"header"},footer:{to:"footer"}},progressSpinner:!1,progressDelay:250,title:"We Work Meteor - Job board just for Meteor"}),Router.map((function(){this.route("home",{path:"/",layoutTemplate:"layoutNoContainer",data:function(){return{jobs:Jobs.find({featuredThrough:{$exists:!1},status:"active"},{sort:{createdAt:-1},limit:10}),featuredJobs:Jobs.find({featuredThrough:{$gte:new Date},status:"active"},{sort:{featuredThrough:-1}})}},subscriptions:function(){return[subs.subscribe("homeJobs"),subs.subscribe("featuredJobs")]}}),this.route("jobs",{path:"/jobs",title:"We Work Meteor - All Jobs",subscriptions:function(){return[subs.subscribe("jobs")]}}),this.route("myJobs",{path:"/myjobs",title:"We Work Meteor - My Jobs",data:function(){return{jobs:Jobs.find({userId:Meteor.userId()},{sort:{createdAt:-1}})}},waitOn:function(){return subs.subscribe("my_jobs")}}),this.route("job",{path:"/jobs/:_id/:slug?",title:function(){if(this.data())return"We Work Meteor - "+this.data().title},data:function(){return Jobs.findOne({_id:this.params._id})},waitOn:function(){return subs.subscribe("job",this.params._id)},onBeforeAction:function(){var t=this.data().slug();this.params.slug!==t?this.redirect("job",{_id:this.params._id,slug:t}):this.next()}}),this.route("jobNew",{path:"/job",title:"We Work Meteor - Post a Job"}),this.route("jobEdit",{path:"/jobs/:_id/:slug/edit",title:"We Work Meteor - Edit Job Post",data:function(){return{job:Jobs.findOne({_id:this.params._id})}},waitOn:function(){return subs.subscribe("job",this.params._id)}})})),Router.plugin("ensureSignedIn",{only:["jobEdit","jobNew"]}),Router.plugin("dataNotFound",{notFoundTemplate:"notFound"})}).call(this);
455
456!function(){var e=Package.meteor.Meteor,r=Package.meteor.global,a=Package.meteor.meteorEnv,t=Package.check.check,i=Package.check.Match,n=Package.modules.meteorInstall,o=Package.modules.meteorBabelHelpers,c=Package.promise.Promise,l=Package["ecmascript-runtime-client"].Symbol,s=Package["ecmascript-runtime-client"].Map,m=Package["ecmascript-runtime-client"].Set,d,u=n({node_modules:{meteor:{"mdg:validation-error":{
456"validation-error.js":function r(a,n,r){var o,c;r.link("@babel/runtime/helpers/assertThisInitialized",{default:function(e){o=e}},0),r.link("@babel/runtime/helpers/inheritsLoose",{default:function(e){c=e}},1);var l=[i.ObjectIncluding({name:String,type:String})];d=function(r){function a(e){var a,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.DEFAULT_MESSAGE;return t(e,l),t(i,String),(a=r.call(this,d.ERROR_CODE,i,e)||this)||o(a)}return c(a,r),a.is=function(){function r(r){return r instanceof e.Error&&r.error===d.ERROR_CODE}return r}(),a}(e.Error),d.ERROR_CODE="validation-error",d.DEFAULT_MESSAGE="Validation failed"}
456}}}},{extensions:[".js",".json"]});u("/node_modules/meteor/mdg:validation-error/validation-error.js"),Package._define("mdg:validation-error",{ValidationError:d})}();
457

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.