text
stringlengths
3
1.05M
// debug.inspect = true; /* |-------------------------------------------------------------------------------------| | | | CONSTANTS | | | |-------------------------------------------------------------------------------------| */ const LAYERS = ["bg", "game", "fx", "ui"]; const LEVELS_MUSIC = ["theme1", "theme2", "theme3", 'theme4', 'boss-theme']; /* |-------------------------------------------------------------------------------------| | | | COMPONENTS AND FUNCTIONS || | |-------------------------------------------------------------------------------------| */ function floating(){ let limit = {max: 0, min: 0}; let dir = 1; const SPEED = 10; return { id: "floating", require: ["pos"], add(){ limit.max = this.pos.y + 8; limit.min = this.pos.y; }, update(){ if(this.pos.y > limit.max){ dir = -1; } if(this.pos.y < limit.min){ dir = 1; } this.move(0, SPEED*dir); } } } function spawner(type, p){ p = p ?? {x: width(), y: height()/2} if(type == "hand"){ add([sprite("hand", {anim: 'idle'}), layer("game"), scale(2), area({scale: 0.6}), origin("center"), pos(width(), randi(40, height() - 40)), "hand", "enemy", {health: 2,speedX: -180, speedY: 0,}]); }else if(type == "eye"){ add([sprite("eye", {anim: 'idle'}), layer("game"), scale(2), area({scale: 0.6}), origin("center"), pos(randi(width()/2, width()), 0), "eye", "enemy", {health: 4, speedX: -150, speedY: 80,}]); }else if(type == "ghost"){ add([sprite("ghost", {anim: 'idle', flipX: true,}), floating(), opacity(0.3), layer("game"), scale(2), area({scale: 0.8}), origin("center"), pos(width(), randi(140, height() - 140)), "ghost", "enemy", {health: 8,speedX: -150, speedY: wave(-50, 50, time() * 2), t: 0}]); }else if(type == "virus"){ add([sprite("virus", {anim: 'idle'}), layer("game"), scale(2), area({scale: 0.8}), origin("center"), pos(width(), randi(100, height()) - 100), "virus", "enemy", {health: 6,speedX: -150, speedY: Math.ceil(wave(-50, 50, time() * 2)), t: 0}]); }else if(type == "wendigo"){ add([sprite("wendigo", {anim: 'idle'}), layer("game"), scale(2), area({scale: 0.8}), origin("center"), pos(width() - 50, randi(100, height() - 100)), "wendigo", "enemy", {health: 4, speedX: 0, speedY: 90, t: 0}]); }else if(type == 'spider'){ add([sprite("skull"), layer("game"), scale(2), area({scale: 0.8}), origin("center"), pos(p), "spider", "enemy", {health: 4, speedX: -650 , speedY: 0}]); }else if(type == 'mv'){ add([sprite("mother-virus", {anim: 'idle'}), layer("game"), scale(2), area({scale: 0.8}), origin("center"), pos(width() - 50, randi(100, height() - 100)), "mv", "enemy", {health: 6, speedX: -100, speedY: 90, t: 0}]); } } function createEffects(type){ if(type == "lights"){ loop(0.2, () => { add([ rect(5, 5), pos(randi(0, width()), randi(0, height())), scale(randi(1, 4)), opacity(rand(0.1, 1)), color(randi(0, 255), randi(0, 255), randi(0, 255)), lifespan(randi(0, 3), {fade: rand(1, 2)}), layer("bg"), z(1), ]) }) }else if(type == "hole"){ add([ sprite("hole", {anim: "idle"}), pos(width()/2, height()/2), scale(8), origin("center"), opacity(0.4), layer("bg"), ]) }else if(type == 'green particles'){ loop(0.2, () => { add([ rect(5, 5), pos(randi(10, width() - 10), randi(10, height() - 10)), scale(randi(1, 5)), opacity(rand(0.1, 1)), color(226, 255, 147), lifespan(randi(0, 3), {fade: rand(1, 2)}), layer("bg"), z(1), ]) }) }else if(type == 'asteroids'){ loop(2.5, () => { if(chance(0.5)){ add([ sprite(choose(['rock1', 'rock2'])), pos(width() - 10, randi(150, height() - 150)), scale(randi(5, 10)), opacity(rand(0.1, 0.6)), cleanup(), area(), origin('center'), move(LEFT, randi(50, 300)), layer("bg"), z(1), ]) } }) } } function addText(t, s){ add([ text(t, { size: s, width: width(), transform: (idx, ch) => ({ pos: vec2(0, wave(-2, 2, time() * 1.5 + idx * 0.5)), scale: wave(1, 1.2, time() * 2 + idx), // angle: wave(-9, 9, time() * 3 + idx), }), }), origin("center"), pos(width()/2, height()/2), z(100) ]) } const spawnBullet = (type, p, vel) => { if(type == "g"){ add([ sprite('g-bullet'), scale(3), area({width: 10, height: 8, }), origin('center'), cleanup(), pos(p), move(vel, 260), "e-bullet", layer("fx"), ]) }else if(type == "v"){ add([ sprite('v-bullet'), scale(3), area({width: 10, height: 8, }), origin('center'), cleanup(), pos(p), move(vel, 260), "e-bullet", layer("fx"), ]) }else if(type == 'w'){ add([ sprite('w-bullet'), scale(3), area({width: 10, height: 8, }), origin('center'), cleanup(), pos(p), move(vel, 600), "e-bullet", layer("fx"), ]) }else if(type == 'b'){ add([ sprite('b-bullet'), scale(3), area({width: 10, height: 8, }), origin('center'), cleanup(), pos(p), move(vel, 600), "e-bullet", layer("fx"), ]) }else if(type == 'mv'){ add([ sprite('mv-bullet', {anim: 'idle'}), scale(3), area({width: 10, height: 8, }), origin('center'), cleanup(), pos(p), move(vel, 200), "e-bullet", layer("fx"), ]) } } function kaboom(p, s){ play("explo", {volume: 0.7}); const ex = add([ sprite("explosion", {anim: "explode"}), pos(p), scale(s), z(50), layer("fx"), origin("center"), ]) ex.onAnimEnd("explode", () => { destroy(ex); }) } const m = play("main-theme", {volume: 0.7, loop: true}); m.pause(); scene("home", () => { m.play(); const logo = add([ sprite("logo"), pos(width()/2, height()/3.8), scale(8), origin("center"), ]) const STORY_MODE = add([ text("STORY MODE", {size: 20}), pos(width()/2, height()/1.4), origin("center"), area(), scale(1), z(10), ]) add([rect(200, 40), pos(STORY_MODE.pos), origin("center"), scale(1), outline(3 , rgb (204, 0, 58 )), color(255, 32, 96), "bar-s", area()]); get("bar-s")[0].onHover(() => { STORY_MODE.scale = 1.1; get("bar-s")[0].scale = 1.1; }, () => { STORY_MODE.scale = 1; get("bar-s")[0].scale = 1; }) get("bar-s")[0].onClick(() => { go("intro", "chapters"); m.pause(); }) }) scene("intro", (s) => { m.play() const intro = "SUDDENLY, YOU OPEN YOUR EYES. YOU ARE IN A CAPSULE. ALL YOU SEE IS BLACK, YOU START TO REMEMBER HOW DID YOU GET HERE YOU WERE IN A WHITE ROOM WITH SCIENTISTS, THEY TOLD YOU THAT YOU WILL GO TO THE 5TH DIMENSION. YOU START TO HEAR ROARINGS AND SIGHS. YOU PREPARE YOUR GUNS AND YOU TURN ON THE CAPSULE TO GET INTO THIS NEW DIMENSION." addText(intro, 20); onKeyPress(['enter', 'space'], () => { go(s); m.pause(); }) onClick(() => { go(s); m.pause(); }) }) scene('chapters', () => { m.play(); const chp1 = add([ sprite('chapter1'), area(), scale(3), pos(width()/4, height()/2), origin('center') ]) const chp2 = add([ sprite('chapter2'), area(), scale(3), pos(width()/1.5, height()/2), origin('center') ]) chp1.onHover(() => { chp1.scale = 3.1; }, () => { chp1.scale = 3; }) chp1.onClick(() => { go('levels', 1); }) chp2.onHover(() => { chp2.scale = 3.1; }, () => { chp2.scale = 3; }) chp2.onClick(() => { go('levels', 2); }) }) scene("levels", (chp) => { m.play() let names; if(chp == 1) { names = ["1. THE ARRIVAL", "2. THE VOID", "3. THE HOLE", '4. THE NEST', '5. THE LEADER']; }else if(chp == 2){ names = ["6. A NEW WORLD"]; } for(let i=1; i<=5; i++){ add([text(names[i-1], {size: 20}), pos(width()/2, 40*i == 60 ? 40 : 40*i + 20*i), origin("center"), area(), scale(1), z(10), "level text" ]); add([ rect(400, 40), pos(width()/2, 40*i == 40 ? 60 : 40*i + 20*i), origin("center"), scale(1), outline(3, rgb (204, 0, 58 )), color(255, 32, 96), "bar", area(), { level: i, } ]) } every("bar", (b) => { b.onHover(() => { get("level text")[b.level > 0 ? b.level - 1 : b.level].scale = 1.1; b.scale = 1.1 // debug.log(b.level) }, () => { get("level text")[b.level > 0 ? b.level - 1 : b.level].scale = 1; b.scale = 1; }) b.onClick(() => { m.stop(); go("play", b.level, chp) }) }) add([ text('IF YOU WANT TO FOLLOW THE STORY PLEASE PLAY THE LEVELS IN ORDER', {size: 10, width: width()}), pos(width()/2, height() - 40), origin("center"), ]) // add([text("BEING CREATED, PLEASE STAND BY", {size: 30, width: width()}), pos(width()/2, height()/2), origin("center"),]); }) scene("play", (l, c) => { add([ rect(width(), 10), pos(width()/2, 0), origin('center'), area(), opacity(0), 'barrier' ]) add([ rect(width(), 10), pos(width()/2, height()), origin('center'), area(), opacity(0), 'barrier' ]) const music = play(LEVELS_MUSIC[l - 1], {loop: true, volume: 0.6}); layers(LAYERS); // debug.log(l); const ENEMY_TYPES = []; let limit; let deathCounter = 0; if(c == 1) { if(l == 1){ ENEMY_TYPES.push("hand", "eye"); limit = 20; }else if(l == 2){ ENEMY_TYPES.push("hand", "eye", "ghost"); limit = 25; createEffects("lights"); }else if(l == 3){ ENEMY_TYPES.push("hand", "eye", "ghost", "virus"); limit = 20; createEffects("hole"); createEffects("lights"); }else if(l == 4){ ENEMY_TYPES.push('ghost', 'virus', 'wendigo'); limit = 15; createEffects('green particles'); createEffects('asteroids'); }else if(l == 5){ ENEMY_TYPES.push('spider'); createEffects('green particles'); createEffects('asteroids'); } }else if(c == 2){ if(l == 1){ ENEMY_TYPES.push("virus", "mv"); limit = 15; } } const boss = add([ sprite("boss", {anim: 'idle'}), pos(width() - 100, height()/2), origin('center'), scale(5), layer('game'), health(80), floating(), area({scale: 0.6}), 'boss', { t: 0, } ]) const healthbar = add([ rect(width(), 24), pos(0, 0), color(255, 50, 50), fixed(), layer("ui"), { max: get('boss')[0].hp(), set(hp) { this.width = width() * hp / this.max; this.flash = true; }, }, ]) healthbar.onUpdate(() => { if (healthbar.flash) { healthbar.color = rgb(255, 255, 255); healthbar.flash = false; } else { healthbar.color = rgb(255, 50, 50); } }) boss.onDeath(() => { kaboom(boss.pos, 10); destroy(boss); wait(1, () => go('ending', l)); music.stop(); }) onCollide('boss', 'bullet', (boss, b) => { boss.hurt(); healthbar.set(boss.hp()) destroy(b); }) const deathIcon = add([ sprite("skull-icon"), scale(2), pos(width() - 160, 25), layer('ui'), origin("center") ]) const deathLabel = add([ text("HELLO", {size: 20}), pos({x: width() - 40, y: 25}), layer('ui'), origin("center"), ]); onCollide("enemy", "bullet", (e, b) => { play(choose(["e-hurt-1","e-hurt-2","e-hurt-3", "e-hurt-4"]), {volume: 0.4, speed: 1.5}) e.health -= b.dmg; destroy(b); }) onUpdate("enemy", (e) => { if(e.health < 1){ kaboom(e.pos, 5); destroy(e); deathCounter++; } if(e.pos.x < 0 || e.pos.y > height() + 20){ destroy(e); } if(e.is("ghost")){ e.speedY = wave(-80, 80, time() * 1.5); e.t += dt(); if(e.t > 1.5){ spawnBullet('g', e.pos, LEFT); e.t = 0; } } if(e.is("virus")){ e.speedY = Math.ceil(wave(-50, 50, time() * 2)) e.t += dt(); if(e.t > 1.5){ spawnBullet('v', e.pos, vec2(-100, 60)); spawnBullet('v', e.pos, vec2(-100, -60)); spawnBullet('v', e.pos, vec2(-100, 0)); e.t = 0; } } if(e.is("wendigo")){ if(e.pos.y < 50){ e.speedY = 100; }else if(e.pos.y > height() - 50){ e.speedY = -100; } e.t += dt(); if(e.t > 3){ spawnBullet('w', e.pos, vec2(-100, 30)); spawnBullet('w', e.pos, vec2(-100, -30)); spawnBullet('w', e.pos, vec2(-100, 0)); wait(0.001, () => e.t = 0); } } if(e.is("mv")){ if(e.pos.y > height() - 100){ e.speedY = -90; } if(e.pos.y < 100){ e.speedY = 90; } e.t += dt(); if(e.t > 3){ spawnBullet('mv', e.pos, vec2(-100, 60)); spawnBullet('mv', e.pos, vec2(-100, 30)); spawnBullet('mv', e.pos, vec2(-100, -60)); spawnBullet('mv', e.pos, vec2(-100, -30)); wait(0.001, () => e.t = 0); } } e.move(e.speedX, e.speedY); }) onUpdate('boss', (b) => { b.t += dt(); if(b.t > 2.5){ spawnBullet('b', b.pos, vec2(-100, 15)); spawnBullet('b', b.pos, vec2(-100, -15)); spawnBullet('b', b.pos, vec2(-100, 30)); spawnBullet('b', b.pos, vec2(-100, 0)); spawnBullet('b', b.pos, vec2(-100, -30)); spawnBullet('b', b.pos, vec2(-100, 45)); spawnBullet('b', b.pos, vec2(-100, -45)); spawnBullet('b', b.pos, vec2(-100, -60)); spawnBullet('b', b.pos, vec2(-100, 60)); wait(0.001, () => b.t = 0); } }) const ship = add([ sprite(c == 1 ? 'ship-d' : 'ship2', {anim: 'idle'}), scale(2), area({scale: 0.6}), origin("center"), health(4), pos(40, height()/2), layer("game"), { bulletColor: rgb(255, 255, 255), } ]) ship.onUpdate(() => { ship.pushOut(get('barrier')[0]); ship.pushOut(get('barrier')[1]); }) const healthLabel = add([ sprite("heart", {frame: 0}), scale(3), pos(width() - 210, 30), origin("center"), layer('ui'), ]) // if(l == 5){ // deathLabel.destroy(); // deathIcon.destroy(); // healthLabel.pos = {x: width() - 50, y: 30} // } onKeyPress("space", () => { add([ sprite('bullet', {anim: 'idle'}), area(), scale(2), origin("center"), pos(ship.pos), "bullet", color(ship.bulletColor), cleanup(), layer("fx"), { dmg: 1, } ]) play("laser", {volume: 0.1}); }) ship.onDeath(() => { music.stop(); kaboom(ship.pos, 5); ship.destroy(); healthLabel.frame = 4; wait(1, () => go("game over", c)); }) ship.onCollide("enemy", (e) => { kaboom(ship.pos, 5); ship.destroy(); healthLabel.frame = 4; wait(1, () => go("game over", c)) music.stop(); }) ship.onCollide("e-bullet", (b) => { healthLabel.frame += 1; destroy(b); ship.hurt(); play("hurt", {volume: 0.7}); shake(25); }) onKeyDown(['up', 'w'], () => { ship.move(0, -160) }) onKeyDown(['down', 's'], () => { ship.move(0, 160) }) onUpdate('bullet', (b) => { b.move(500, 0); if(b.pos.x > width()){ destroy(b); } }) onUpdate(() => { if(deathCounter >= limit){ music.stop(); wait(1, () => go("ending", l, c)); } }) if(l < 5){ loop(1, () => { spawner(choose(ENEMY_TYPES)); }) boss.destroy(); healthbar.destroy(); }else { loop(0.85, () => { spawner(choose(ENEMY_TYPES), {x: width() - 20, y: ship.pos.y}); }) } }) scene("ending", (idx, c) => { const ENDINGS = ['THOSE THINGS WERE NOT NORMAL, THEY HAD STRANGE SHAPES AND SEEMED DANGEROUS. WHATEVER THEY WERE, YOU KNEW THEY WERE NOT FRIENDLY. AFTER A LITTLE FLOATING IN THE VAST BLACK SPACE, YOU BEGIN TO SEE LIGHTS. BEAUTIFUL LIGHTS WITH DIFFERENT COLORS. YOU ARE AMAZED BY THE BEAUTY OF THIS PLACE. BUT THEN MORE MONSTERS BEGAN TO APPEAR.', 'THE MONSTERS KEPT COMING, THERE WERE THOUSANDS OF THEM, AS IF THEY WERE PROTECTING SOMETHING. YOU START CLEARING YOUR PATH, BUT THEN YOU FIND OUT WHAT THEY ARE PROTECTING. THE HOLE.', 'YOU APPROACH THE HOLE AND YOU ARE DRAWN BY IT. YOU TRY TO GO BACK BUT THE HOLE KEEPS DRAWING. YOUR WORK WAS USELESS BECAUSE YOU END UP IN THE HOLE ANYWAY. INSIDE IT, THERE WAS SOMETHING LIKE A HIVE WHERE MONSTERS WERE BORN. AND AT THE END OF IT, THERE WERE THOUSANDS OF EGGS PROTECTED BY A GREAT MONSTER.', 'THOSE THINGS KEPT COMING BUT YOU WERE QUICK ENOUGH TO KILL THEM BEFORE THEY REACHED YOU. YOU WERE APPROACHING THE CENTER OF THE NEST. WHEN YOU GOT THERE, THE BIG MONSTER THAT LOOKED LIKE A SPIDER WITH A SKULL INSTEAD OF A HEAD WAS SCREAMING AT YOU, AND THE CLOSER YOU WERE, THE MORE ANGRY THE MONSTER GETTEN. ', 'BEFORE THE MONSTER DIE IT SCREAMED, AND THEN ALL THE LITTLE MONSTERS WERE GOING TO YOU. TO KILL YOU BECAUSE YOU KILLED THEIR KING. YOU WANTED TO TURN ON YOUR GUNS BUT YOU DISCOVERED THAT YOUR SHIP RAN OUT OF ENERGY. SO YOU WERE ALONE, WITH NO DEFENSES AND WITH THOUSAND OF ANGRY MONSTERS GOING TO KILL YOU. THAT WAS YOUR END... WHAT A PITY...']; addText(ENDINGS[idx - 1], 20); onKeyPress("enter", () => { go("levels"); }) }) scene("game over", (c) => { const GAME_OVER_TEXTS = ['THE MONSTERS TOOK ALL THAT WAS IN YOUR SHIP, EVEN DEATH YOUR BODY', 'THEY LEFT YOUR BODY IN THERE. ALONE. IN THE ENDLESS BLACK SPACE', 'THE MONSTERS ATE EVERYTHING IN YOUR CAPSULE. EVEN YOUR DEAD BODY', 'YOU SEE THOSE THINGS CLOSER, THEY KEPT COMING, ALL OF THEM. THEY CAME TO EAT A SNACK', 'YOU WILL NEVER SEE THE LIGHT AGAIN... NEVER']; addText(GAME_OVER_TEXTS[randi(0, GAME_OVER_TEXTS.length)], 20); add([ text("GAME OVER", {size: 30}), pos(width()/2, height()/3), origin("center"), color(RED), ]) onKeyPress("enter", () => { go("levels", c); }) }) go("home");
// Objects class FacebookMessenger { constructor() { this._name = 'facebook'; } send(message) { console.log('Send to : ' + this._name); console.log('Send a message : ' + message); } setName(name) { this._name = name; } } class MessengerAdapter { constructor(name) { this._messenger = new FacebookMessenger(); this._messenger.setName(name); } send(message) { this._messenger.send(message); } } class TwitterMessenger { constructor() { this._name = 'twitter'; this._adapter = new MessengerAdapter(this._name); } send(message) { this._adapter.send(message); } } // Test const facebook = new FacebookMessenger(); facebook.send('Hello, Keid!'); const twitter = new TwitterMessenger(); twitter.send('How are you?');
/** * Copyright 2018 The Subscribe with Google Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS-IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import {ActivityIframeView} from '../ui/activity-iframe-view'; import {SubscriptionFlows} from '../api/subscriptions'; import {feArgs, feUrl} from './services'; export class LoginNotificationApi { /** * @param {!./deps.DepsDef} deps */ constructor(deps) { /** @private @const {!./deps.DepsDef} */ this.deps_ = deps; /** @private @const {!Window} */ this.win_ = deps.win(); /** @private @const {!web-activities/activity-ports.ActivityPorts} */ this.activityPorts_ = deps.activities(); /** @private @const {!../components/dialog-manager.DialogManager} */ this.dialogManager_ = deps.dialogManager(); /** @private {?Promise} */ this.openViewPromise_ = null; /** @private @const {!ActivityIframeView} */ this.activityIframeView_ = new ActivityIframeView( this.win_, this.activityPorts_, feUrl('/loginiframe'), feArgs({ publicationId: deps.pageConfig().getPublicationId(), productId: deps.pageConfig().getProductId(), // No need to ask the user. Just tell them you're logging them in. userConsent: false, // TODO(chenshay): Pass entitlements value here. }), /* shouldFadeBody */ true ); } /** * Continues the Login flow (after waiting). * @return {!Promise} */ start() { this.deps_.callbacks().triggerFlowStarted( SubscriptionFlows.SHOW_LOGIN_NOTIFICATION); this.openViewPromise_ = this.dialogManager_.openView( this.activityIframeView_); return this.activityIframeView_.acceptResult().then(() => { // The consent part is complete. this.dialogManager_.completeView(this.activityIframeView_); }, reason => { this.dialogManager_.completeView(this.activityIframeView_); throw reason; }); } }
/** * @license * Visual Blocks Editor * * Copyright 2012 Google Inc. * https://developers.google.com/blockly/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @fileoverview Object representing an input (value, statement, or dummy). * @author fraser@google.com (Neil Fraser) */ 'use strict'; goog.provide('Blockly.Input'); goog.require('Blockly.Connection'); goog.require('Blockly.FieldLabel'); goog.require('goog.asserts'); /** * Class for an input with an optional field. * @param {number} type The type of the input. * @param {string} name Language-neutral identifier which may used to find this * input again. * @param {!Blockly.Block} block The block containing this input. * @param {Blockly.Connection} connection Optional connection for this input. * @constructor */ Blockly.Input = function(type, name, block, connection) { if (type != Blockly.DUMMY_INPUT && !name) { throw 'Value inputs and statement inputs must have non-empty name.'; } /** @type {number} */ this.type = type; /** @type {string} */ this.name = name; /** * @type {!Blockly.Block} * @private */ this.sourceBlock_ = block; /** @type {Blockly.Connection} */ this.connection = connection; /** @type {!Array.<!Blockly.Field>} */ this.fieldRow = []; }; /** * Alignment of input's fields (left, right or centre). * @type {number} */ Blockly.Input.prototype.align = Blockly.ALIGN_LEFT; /** * Is the input visible? * @type {boolean} * @private */ Blockly.Input.prototype.visible_ = true; /** * Add a field (or label from string), and all prefix and suffix fields, to the * end of the input's field row. * @param {string|!Blockly.Field} field Something to add as a field. * @param {string=} opt_name Language-neutral identifier which may used to find * this field again. Should be unique to the host block. * @return {!Blockly.Input} The input being append to (to allow chaining). */ Blockly.Input.prototype.appendField = function(field, opt_name) { this.insertFieldAt(this.fieldRow.length, field, opt_name); return this; }; /** * Inserts a field (or label from string), and all prefix and suffix fields, at * the location of the input's field row. * @param {number} index The index at which to insert field. * @param {string|!Blockly.Field} field Something to add as a field. * @param {string=} opt_name Language-neutral identifier which may used to find * this field again. Should be unique to the host block. * @return {number} The index following the last inserted field. */ Blockly.Input.prototype.insertFieldAt = function(index, field, opt_name) { if (index < 0 || index > this.fieldRow.length) { throw new Error('index ' + index + ' out of bounds.'); } // Empty string, Null or undefined generates no field, unless field is named. if (!field && !opt_name) { return index; } // Generate a FieldLabel when given a plain text field. if (goog.isString(field)) { field = new Blockly.FieldLabel(/** @type {string} */ (field)); } field.setSourceBlock(this.sourceBlock_); if (this.sourceBlock_.rendered) { field.init(); } field.name = opt_name; if (field.prefixField) { // Add any prefix. index = this.insertFieldAt(index, field.prefixField); } // Add the field to the field row. this.fieldRow.splice(index, 0, field); ++index; if (field.suffixField) { // Add any suffix. index = this.insertFieldAt(index, field.suffixField); } if (this.sourceBlock_.rendered) { this.sourceBlock_.render(); // Adding a field will cause the block to change shape. this.sourceBlock_.bumpNeighbours_(); } return index; }; /** * Remove a field from this input. * @param {string} name The name of the field. * @throws {goog.asserts.AssertionError} if the field is not present. */ Blockly.Input.prototype.removeField = function(name) { for (var i = 0, field; field = this.fieldRow[i]; i++) { if (field.name === name) { field.dispose(); this.fieldRow.splice(i, 1); if (this.sourceBlock_.rendered) { this.sourceBlock_.render(); // Removing a field will cause the block to change shape. this.sourceBlock_.bumpNeighbours_(); } return; } } goog.asserts.fail('Field "%s" not found.', name); }; /** * Gets whether this input is visible or not. * @return {boolean} True if visible. */ Blockly.Input.prototype.isVisible = function() { return this.visible_; }; /** * Sets whether this input is visible or not. * Used to collapse/uncollapse a block. * @param {boolean} visible True if visible. * @return {!Array.<!Blockly.Block>} List of blocks to render. */ Blockly.Input.prototype.setVisible = function(visible) { var renderList = []; if (this.visible_ == visible) { return renderList; } this.visible_ = visible; var display = visible ? 'block' : 'none'; for (var y = 0, field; field = this.fieldRow[y]; y++) { field.setVisible(visible); } if (this.connection) { // Has a connection. if (visible) { renderList = this.connection.unhideAll(); } else { this.connection.hideAll(); } var child = this.connection.targetBlock(); if (child) { child.getSvgRoot().style.display = display; if (!visible) { child.rendered = false; } } } return renderList; }; /** * Change a connection's compatibility. * @param {string|Array.<string>|null} check Compatible value type or * list of value types. Null if all types are compatible. * @return {!Blockly.Input} The input being modified (to allow chaining). */ Blockly.Input.prototype.setCheck = function(check) { if (!this.connection) { throw 'This input does not have a connection.'; } this.connection.setCheck(check); return this; }; /** * Change the alignment of the connection's field(s). * @param {number} align One of Blockly.ALIGN_LEFT, ALIGN_CENTRE, ALIGN_RIGHT. * In RTL mode directions are reversed, and ALIGN_RIGHT aligns to the left. * @return {!Blockly.Input} The input being modified (to allow chaining). */ Blockly.Input.prototype.setAlign = function(align) { this.align = align; if (this.sourceBlock_.rendered) { this.sourceBlock_.render(); } return this; }; /** * Initialize the fields on this input. */ Blockly.Input.prototype.init = function() { if (!this.sourceBlock_.workspace.rendered) { return; // Headless blocks don't need fields initialized. } for (var i = 0; i < this.fieldRow.length; i++) { this.fieldRow[i].init(); } }; /** * Sever all links to this input. */ Blockly.Input.prototype.dispose = function() { for (var i = 0, field; field = this.fieldRow[i]; i++) { field.dispose(); } if (this.connection) { this.connection.dispose(); } this.sourceBlock_ = null; };
const replace = curry(function(find, replacement, str) { const regex = new RegExp(find, 'g') return str.replace(regex, replacement) }) const wrapWith = curry(function(tag, str) { return `<${tag}>${str}</${tag}>` }) const modifyPoem = pipe( replace('brillig', wrapWith('em', 'four o’clock in the afternoon')), replace('\n', '<br/>\n'), wrapWith('p'), wrapWith('blockquote') ) console.log(modifyPoem(poem)) // <blockquote><p>Twas <em>four o’clock in the afternoon</em>, and the slithy toves<br/> // Did gyre and gimble in the wabe;<br/> // All mimsy were the borogoves,<br/> // And the mome raths outgrabe.</p></blockquote>
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Internal dependencies */ import groupBy from '../../utils/groupBy'; export const ACTION_TYPES = { CREATING_TEMPLATE_FROM_STORY: 'creating_template_from_story', CREATE_TEMPLATE_FROM_STORY_FAILURE: 'create_template_from_story_failure', CREATE_TEMPLATE_FROM_STORY_SUCCESS: 'create_template_from_story_success', LOADING_TEMPLATES: 'loading_templates', FETCH_TEMPLATES_SUCCESS: 'fetch_templates_success', FETCH_TEMPLATES_FAILURE: 'fetch_templates_failure', FETCH_MY_TEMPLATES_SUCCESS: 'fetch_my_templates_success', FETCH_MY_TEMPLATES_FAILURE: 'fetch_my_templates_failure', PLACEHOLDER: 'placeholder', }; export const defaultTemplatesState = { allPagesFetched: false, error: {}, isLoading: false, savedTemplates: {}, savedTemplatesOrderById: [], templates: {}, templatesOrderById: [], totalTemplates: null, totalPages: null, }; function templateReducer(state, action) { switch (action.type) { case ACTION_TYPES.LOADING_TEMPLATES: case ACTION_TYPES.CREATING_TEMPLATE_FROM_STORY: { return { ...state, isLoading: action.payload, }; } case ACTION_TYPES.CREATE_TEMPLATE_FROM_STORY_SUCCESS: { return { ...state, error: {}, }; } case ACTION_TYPES.FETCH_MY_TEMPLATES_FAILURE: case ACTION_TYPES.FETCH_TEMPLATES_FAILURE: case ACTION_TYPES.CREATE_TEMPLATE_FROM_STORY_FAILURE: return { ...state, error: { ...action.payload, id: Date.now() }, }; case ACTION_TYPES.FETCH_MY_TEMPLATES_SUCCESS: { const fetchedTemplatesById = action.payload.savedTemplates.map( ({ id }) => id ); const combinedTemplateIds = action.payload.page === 1 ? fetchedTemplatesById : [...state.savedTemplatesById, ...fetchedTemplatesById]; const uniqueTemplateIds = [...new Set(combinedTemplateIds)]; return { ...state, savedTemplates: { ...state.savedTemplates, ...groupBy(action.payload.savedTemplates, 'id'), }, savedTemplatesOrderById: uniqueTemplateIds, totalTemplates: action.payload.totalTemplates, totalPages: action.payload.totalPages, error: {}, }; } case ACTION_TYPES.FETCH_TEMPLATES_SUCCESS: { const fetchedTemplatesById = action.payload.templates.map(({ id }) => id); const combinedTemplateIds = action.payload.page === 1 ? fetchedTemplatesById : [...state.templatesOrderById, ...fetchedTemplatesById]; const uniqueTemplateIds = [...new Set(combinedTemplateIds)]; return { ...state, error: {}, templatesOrderById: uniqueTemplateIds, templates: { ...state.templates, ...groupBy(action.payload.templates, 'id'), }, totalPages: action.payload.totalPages, totalTemplates: action.payload.totalTemplates, allPagesFetched: action.payload.page >= action.payload.totalPages, }; } case ACTION_TYPES.PLACEHOLDER: return defaultTemplatesState; default: return state; } } export default templateReducer;
/*! For license information please see chunk.7122cc44cc9455b79dfd.js.LICENSE */ (window.webpackJsonp=window.webpackJsonp||[]).push([[57],{135:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},363:function(e,t,r){(function(e){var r,i,a,n;function s(e){return(s="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)}"undefined"!=typeof window&&(n=function(){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"===s(e)&&e&&e.__esModule)return e;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(i,a,function(t){return e[t]}.bind(null,a));return i},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/dist/",r(r.s="./src/hls.js")}({"./node_modules/eventemitter3/index.js":function(e,t,r){"use strict";var i=Object.prototype.hasOwnProperty,a="~";function n(){}function s(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function o(e,t,r,i,n){if("function"!=typeof r)throw new TypeError("The listener must be a function");var o=new s(r,i||e,n),l=a?a+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],o]:e._events[l].push(o):(e._events[l]=o,e._eventsCount++),e}function l(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function u(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(a=!1)),u.prototype.eventNames=function(){var e,t,r=[];if(0===this._eventsCount)return r;for(t in e=this._events)i.call(e,t)&&r.push(a?t.slice(1):t);return Object.getOwnPropertySymbols?r.concat(Object.getOwnPropertySymbols(e)):r},u.prototype.listeners=function(e){var t=a?a+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var i=0,n=r.length,s=new Array(n);i<n;i++)s[i]=r[i].fn;return s},u.prototype.listenerCount=function(e){var t=a?a+e:e,r=this._events[t];return r?r.fn?1:r.length:0},u.prototype.emit=function(e,t,r,i,n,s){var o=a?a+e:e;if(!this._events[o])return!1;var l,u,d=this._events[o],c=arguments.length;if(d.fn){switch(d.once&&this.removeListener(e,d.fn,void 0,!0),c){case 1:return d.fn.call(d.context),!0;case 2:return d.fn.call(d.context,t),!0;case 3:return d.fn.call(d.context,t,r),!0;case 4:return d.fn.call(d.context,t,r,i),!0;case 5:return d.fn.call(d.context,t,r,i,n),!0;case 6:return d.fn.call(d.context,t,r,i,n,s),!0}for(u=1,l=new Array(c-1);u<c;u++)l[u-1]=arguments[u];d.fn.apply(d.context,l)}else{var f,h=d.length;for(u=0;u<h;u++)switch(d[u].once&&this.removeListener(e,d[u].fn,void 0,!0),c){case 1:d[u].fn.call(d[u].context);break;case 2:d[u].fn.call(d[u].context,t);break;case 3:d[u].fn.call(d[u].context,t,r);break;case 4:d[u].fn.call(d[u].context,t,r,i);break;default:if(!l)for(f=1,l=new Array(c-1);f<c;f++)l[f-1]=arguments[f];d[u].fn.apply(d[u].context,l)}}return!0},u.prototype.on=function(e,t,r){return o(this,e,t,r,!1)},u.prototype.once=function(e,t,r){return o(this,e,t,r,!0)},u.prototype.removeListener=function(e,t,r,i){var n=a?a+e:e;if(!this._events[n])return this;if(!t)return l(this,n),this;var s=this._events[n];if(s.fn)s.fn!==t||i&&!s.once||r&&s.context!==r||l(this,n);else{for(var o=0,u=[],d=s.length;o<d;o++)(s[o].fn!==t||i&&!s[o].once||r&&s[o].context!==r)&&u.push(s[o]);u.length?this._events[n]=1===u.length?u[0]:u:l(this,n)}return this},u.prototype.removeAllListeners=function(e){var t;return e?(t=a?a+e:e,this._events[t]&&l(this,t)):(this._events=new n,this._eventsCount=0),this},u.prototype.off=u.prototype.removeListener,u.prototype.addListener=u.prototype.on,u.prefixed=a,u.EventEmitter=u,e.exports=u},"./node_modules/node-libs-browser/node_modules/events/events.js":function(e,t){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"==typeof e}function a(e){return"object"===s(e)&&null!==e}function n(e){return void 0===e}e.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,r,s,o,l,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var d=new Error('Uncaught, unspecified "error" event. ('+t+")");throw d.context=t,d}if(n(r=this._events[e]))return!1;if(i(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),r.apply(this,o)}else if(a(r))for(o=Array.prototype.slice.call(arguments,1),s=(u=r.slice()).length,l=0;l<s;l++)u[l].apply(this,o);return!0},r.prototype.addListener=function(e,t){var s;if(!i(t))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(s=n(this._maxListeners)?r.defaultMaxListeners:this._maxListeners)&&s>0&&this._events[e].length>s&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!i(t))throw TypeError("listener must be a function");var r=!1;function a(){this.removeListener(e,a),r||(r=!0,t.apply(this,arguments))}return a.listener=t,this.on(e,a),this},r.prototype.removeListener=function(e,t){var r,n,s,o;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(s=(r=this._events[e]).length,n=-1,r===t||i(r.listener)&&r.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(r)){for(o=s;o-- >0;)if(r[o]===t||r[o].listener&&r[o].listener===t){n=o;break}if(n<0)return this;1===r.length?(r.length=0,delete this._events[e]):r.splice(n,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(i(r=this._events[e]))this.removeListener(e,r);else if(r)for(;r.length;)this.removeListener(e,r[r.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){return this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[]},r.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},"./node_modules/url-toolkit/src/url-toolkit.js":function(e,t,r){var i,a,n,s,o;i=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/?#]*)?((?:[^\/\?#]*\/)*.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,a=/^([^\/?#]*)(.*)$/,n=/(?:\/|^)\.(?=\/)/g,s=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,o={buildAbsoluteURL:function(e,t,r){if(r=r||{},e=e.trim(),!(t=t.trim())){if(!r.alwaysNormalize)return e;var i=o.parseURL(e);if(!i)throw new Error("Error trying to parse base URL.");return i.path=o.normalizePath(i.path),o.buildURLFromParts(i)}var n=o.parseURL(t);if(!n)throw new Error("Error trying to parse relative URL.");if(n.scheme)return r.alwaysNormalize?(n.path=o.normalizePath(n.path),o.buildURLFromParts(n)):t;var s=o.parseURL(e);if(!s)throw new Error("Error trying to parse base URL.");if(!s.netLoc&&s.path&&"/"!==s.path[0]){var l=a.exec(s.path);s.netLoc=l[1],s.path=l[2]}s.netLoc&&!s.path&&(s.path="/");var u={scheme:s.scheme,netLoc:n.netLoc,path:null,params:n.params,query:n.query,fragment:n.fragment};if(!n.netLoc&&(u.netLoc=s.netLoc,"/"!==n.path[0]))if(n.path){var d=s.path,c=d.substring(0,d.lastIndexOf("/")+1)+n.path;u.path=o.normalizePath(c)}else u.path=s.path,n.params||(u.params=s.params,n.query||(u.query=s.query));return null===u.path&&(u.path=r.alwaysNormalize?o.normalizePath(n.path):n.path),o.buildURLFromParts(u)},parseURL:function(e){var t=i.exec(e);return t?{scheme:t[1]||"",netLoc:t[2]||"",path:t[3]||"",params:t[4]||"",query:t[5]||"",fragment:t[6]||""}:null},normalizePath:function(e){for(e=e.split("").reverse().join("").replace(n,"");e.length!==(e=e.replace(s,"")).length;);return e.split("").reverse().join("")},buildURLFromParts:function(e){return e.scheme+e.netLoc+e.path+e.params+e.query+e.fragment}},e.exports=o},"./node_modules/webworkify-webpack/index.js":function(e,t,r){function i(e){var t={};function r(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r.oe=function(e){throw console.error(e),e};var i=r(r.s=ENTRY_MODULE);return i.default||i}var a="[\\.|\\-|\\+|\\w|/|@]+",n="\\((/\\*.*?\\*/)?s?.*?("+a+").*?\\)";function s(e){return(e+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function o(e,t,i){var o={};o[i]=[];var l=t.toString(),u=l.match(/^function\s?\(\w+,\s*\w+,\s*(\w+)\)/);if(!u)return o;for(var d,c=u[1],f=new RegExp("(\\\\n|\\W)"+s(c)+n,"g");d=f.exec(l);)"dll-reference"!==d[3]&&o[i].push(d[3]);for(f=new RegExp("\\("+s(c)+'\\("(dll-reference\\s('+a+'))"\\)\\)'+n,"g");d=f.exec(l);)e[d[2]]||(o[i].push(d[1]),e[d[2]]=r(d[1]).m),o[d[2]]=o[d[2]]||[],o[d[2]].push(d[4]);for(var h,p=Object.keys(o),g=0;g<p.length;g++)for(var v=0;v<o[p[g]].length;v++)h=o[p[g]][v],isNaN(1*h)||(o[p[g]][v]=1*o[p[g]][v]);return o}function l(e){return Object.keys(e).reduce(function(t,r){return t||e[r].length>0},!1)}e.exports=function(e,t){t=t||{};var a={main:r.m},n=t.all?{main:Object.keys(a.main)}:function(e,t){for(var r={main:[t]},i={main:[]},a={main:{}};l(r);)for(var n=Object.keys(r),s=0;s<n.length;s++){var u=n[s],d=r[u].pop();if(a[u]=a[u]||{},!a[u][d]&&e[u][d]){a[u][d]=!0,i[u]=i[u]||[],i[u].push(d);for(var c=o(e,e[u][d],u),f=Object.keys(c),h=0;h<f.length;h++)r[f[h]]=r[f[h]]||[],r[f[h]]=r[f[h]].concat(c[f[h]])}}return i}(a,e),s="";Object.keys(n).filter(function(e){return"main"!==e}).forEach(function(e){for(var t=0;n[e][t];)t++;n[e].push(t),a[e][t]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",s=s+"var "+e+" = ("+i.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+n[e].map(function(t){return JSON.stringify(t)+": "+a[e][t].toString()}).join(",")+"});\n"}),s=s+"new (("+i.toString().replace("ENTRY_MODULE",JSON.stringify(e))+")({"+n.main.map(function(e){return JSON.stringify(e)+": "+a.main[e].toString()}).join(",")+"}))(self);";var u=new window.Blob([s],{type:"text/javascript"});if(t.bare)return u;var d=(window.URL||window.webkitURL||window.mozURL||window.msURL).createObjectURL(u),c=new window.Worker(d);return c.objectURL=d,c}},"./src/config.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/controller/abr-controller.js"),a=r("./src/controller/buffer-controller.js"),n=r("./src/controller/cap-level-controller.js"),s=r("./src/controller/fps-controller.js"),o=r("./src/utils/xhr-loader.js"),l=r("./src/controller/audio-track-controller.js"),u=r("./src/controller/audio-stream-controller.js"),d=r("./src/utils/cues.js"),c=r("./src/controller/timeline-controller.js"),f=r("./src/controller/subtitle-track-controller.js"),h=r("./src/controller/subtitle-stream-controller.js"),p=r("./src/controller/eme-controller.js"),g=r("./src/utils/mediakeys-helper.js");t.hlsDefaultConfig={autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,liveDurationInfinity:!1,liveBackBufferLength:1/0,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:o.default,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,abrController:i.default,bufferController:a.default,capLevelController:n.default,fpsController:s.default,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,requestMediaKeySystemAccessFunc:g.requestMediaKeySystemAccess},t.hlsDefaultConfig.subtitleStreamController=h.SubtitleStreamController,t.hlsDefaultConfig.subtitleTrackController=f.default,t.hlsDefaultConfig.timelineController=c.default,t.hlsDefaultConfig.cueHandler=d,t.hlsDefaultConfig.enableCEA708Captions=!0,t.hlsDefaultConfig.enableWebVTT=!0,t.hlsDefaultConfig.captionsTextTrack1Label="English",t.hlsDefaultConfig.captionsTextTrack1LanguageCode="en",t.hlsDefaultConfig.captionsTextTrack2Label="Spanish",t.hlsDefaultConfig.captionsTextTrack2LanguageCode="es",t.hlsDefaultConfig.audioStreamController=u.default,t.hlsDefaultConfig.audioTrackController=l.default,t.hlsDefaultConfig.emeController=p.default},"./src/controller/abr-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/utils/buffer-helper.js"),l=r("./src/errors.js"),u=r("./src/utils/logger.js"),d=r("./src/utils/ewma-bandwidth-estimator.js"),c=window.performance,f=function(t){function r(e){var r=t.call(this,e,n.default.FRAG_LOADING,n.default.FRAG_LOADED,n.default.FRAG_BUFFERED,n.default.ERROR)||this;return r.lastLoadedFragLevel=0,r._nextAutoLevel=-1,r.hls=e,r.timer=null,r._bwEstimator=null,r.onCheck=r._abandonRulesCheck.bind(r),r}return a(r,t),r.prototype.destroy=function(){this.clearTimer(),s.default.prototype.destroy.call(this)},r.prototype.onFragLoading=function(e){var t=e.frag;if("main"===t.type&&(this.timer||(this.fragCurrent=t,this.timer=setInterval(this.onCheck,100)),!this._bwEstimator)){var r=this.hls,i=r.config,a=t.level,n=void 0,s=void 0;r.levels[a].details.live?(n=i.abrEwmaFastLive,s=i.abrEwmaSlowLive):(n=i.abrEwmaFastVoD,s=i.abrEwmaSlowVoD),this._bwEstimator=new d.default(r,s,n,i.abrEwmaDefaultEstimate)}},r.prototype._abandonRulesCheck=function(){var e=this.hls,t=e.media,r=this.fragCurrent;if(r){var i=r.loader,a=e.minAutoLevel;if(!i||i.stats&&i.stats.aborted)return u.logger.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),void(this._nextAutoLevel=-1);var s=i.stats;if(t&&s&&(!t.paused&&0!==t.playbackRate||!t.readyState)&&r.autoLevel&&r.level){var l=c.now()-s.trequest,d=Math.abs(t.playbackRate);if(l>500*r.duration/d){var f=e.levels,h=Math.max(1,s.bw?s.bw/8:1e3*s.loaded/l),p=f[r.level],g=p.realBitrate?Math.max(p.realBitrate,p.bitrate):p.bitrate,v=s.total?s.total:Math.max(s.loaded,Math.round(r.duration*g/8)),m=t.currentTime,y=(v-s.loaded)/h,E=(o.BufferHelper.bufferInfo(t,m,e.config.maxBufferHole).end-m)/d;if(E<2*r.duration/d&&y>E){var _=void 0,T=void 0;for(T=r.level-1;T>a;T--){var S=f[T].realBitrate?Math.max(f[T].realBitrate,f[T].bitrate):f[T].bitrate;if((_=r.duration*S/(6.4*h))<E)break}_<y&&(u.logger.warn("loading too slow, abort fragment loading and switch to level "+T+":fragLoadedDelay["+T+"]<fragLoadedDelay["+(r.level-1)+"];bufferStarvationDelay:"+_.toFixed(1)+"<"+y.toFixed(1)+":"+E.toFixed(1)),e.nextLoadLevel=T,this._bwEstimator.sample(l,s.loaded),i.abort(),this.clearTimer(),e.trigger(n.default.FRAG_LOAD_EMERGENCY_ABORTED,{frag:r,stats:s}))}}}}},r.prototype.onFragLoaded=function(t){var r=t.frag;if("main"===r.type&&e.isFinite(r.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=r.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var i=this.hls.levels[r.level],a=(i.loaded?i.loaded.bytes:0)+t.stats.loaded,n=(i.loaded?i.loaded.duration:0)+t.frag.duration;i.loaded={bytes:a,duration:n},i.realBitrate=Math.round(8*a/n)}if(t.frag.bitrateTest){var s=t.stats;s.tparsed=s.tbuffered=s.tload,this.onFragBuffered(t)}}},r.prototype.onFragBuffered=function(t){var r=t.stats,i=t.frag;if(!0!==r.aborted&&"main"===i.type&&e.isFinite(i.sn)&&(!i.bitrateTest||r.tload===r.tbuffered)){var a=r.tparsed-r.trequest;u.logger.log("latency/loading/parsing/append/kbps:"+Math.round(r.tfirst-r.trequest)+"/"+Math.round(r.tload-r.tfirst)+"/"+Math.round(r.tparsed-r.tload)+"/"+Math.round(r.tbuffered-r.tparsed)+"/"+Math.round(8*r.loaded/(r.tbuffered-r.trequest))),this._bwEstimator.sample(a,r.loaded),r.bwEstimate=this._bwEstimator.getEstimate(),i.bitrateTest?this.bitrateTestDelay=a/1e3:this.bitrateTestDelay=0}},r.prototype.onError=function(e){switch(e.details){case l.ErrorDetails.FRAG_LOAD_ERROR:case l.ErrorDetails.FRAG_LOAD_TIMEOUT:this.clearTimer()}},r.prototype.clearTimer=function(){clearInterval(this.timer),this.timer=null},Object.defineProperty(r.prototype,"nextAutoLevel",{get:function(){var e=this._nextAutoLevel,t=this._bwEstimator;if(!(-1===e||t&&t.canEstimate()))return e;var r=this._nextABRAutoLevel;return-1!==e&&(r=Math.min(e,r)),r},set:function(e){this._nextAutoLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"_nextABRAutoLevel",{get:function(){var e=this.hls,t=e.maxAutoLevel,r=e.levels,i=e.config,a=e.minAutoLevel,n=e.media,s=this.lastLoadedFragLevel,l=this.fragCurrent?this.fragCurrent.duration:0,d=n?n.currentTime:0,c=n&&0!==n.playbackRate?Math.abs(n.playbackRate):1,f=this._bwEstimator?this._bwEstimator.getEstimate():i.abrEwmaDefaultEstimate,h=(o.BufferHelper.bufferInfo(n,d,i.maxBufferHole).end-d)/c,p=this._findBestLevel(s,l,f,a,t,h,i.abrBandWidthFactor,i.abrBandWidthUpFactor,r);if(p>=0)return p;u.logger.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var g=l?Math.min(l,i.maxStarvationDelay):i.maxStarvationDelay,v=i.abrBandWidthFactor,m=i.abrBandWidthUpFactor;if(0===h){var y=this.bitrateTestDelay;if(y)g=(l?Math.min(l,i.maxLoadingDelay):i.maxLoadingDelay)-y,u.logger.trace("bitrate test took "+Math.round(1e3*y)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*g)+" ms"),v=m=1}return p=this._findBestLevel(s,l,f,a,t,h+g,v,m,r),Math.max(p,0)},enumerable:!0,configurable:!0}),r.prototype._findBestLevel=function(e,t,r,i,a,n,s,o,l){for(var d=a;d>=i;d--){var c=l[d];if(c){var f=c.details,h=f?f.totalduration/f.fragments.length:t,p=!!f&&f.live,g=void 0;g=d<=e?s*r:o*r;var v=l[d].realBitrate?Math.max(l[d].realBitrate,l[d].bitrate):l[d].bitrate,m=v*h/g;if(u.logger.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+d+"/"+Math.round(g)+"/"+v+"/"+h+"/"+n+"/"+m),g>v&&(!m||p&&!this.bitrateTestDelay||m<n))return d}}return-1},r}(s.default);t.default=f}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/audio-stream-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/utils/binary-search.js"),s=r("./src/utils/buffer-helper.js"),o=r("./src/demux/demuxer.js"),l=r("./src/events.js"),u=r("./src/controller/level-helper.js"),d=r("./src/utils/time-ranges.js"),c=r("./src/errors.js"),f=r("./src/utils/logger.js"),h=r("./src/utils/discontinuities.js"),p=r("./src/controller/fragment-tracker.js"),g=r("./src/loader/fragment.js"),v=r("./src/controller/base-stream-controller.js"),m=window.performance,y=function(t){function r(e,r){var i=t.call(this,e,l.default.MEDIA_ATTACHED,l.default.MEDIA_DETACHING,l.default.AUDIO_TRACKS_UPDATED,l.default.AUDIO_TRACK_SWITCHING,l.default.AUDIO_TRACK_LOADED,l.default.KEY_LOADED,l.default.FRAG_LOADED,l.default.FRAG_PARSING_INIT_SEGMENT,l.default.FRAG_PARSING_DATA,l.default.FRAG_PARSED,l.default.ERROR,l.default.BUFFER_RESET,l.default.BUFFER_CREATED,l.default.BUFFER_APPENDED,l.default.BUFFER_FLUSHED,l.default.INIT_PTS_FOUND)||this;return i.fragmentTracker=r,i.config=e.config,i.audioCodecSwap=!1,i._state=v.State.STOPPED,i.initPTS=[],i.waitingFragment=null,i.videoTrackCC=null,i}return a(r,t),r.prototype.onInitPtsFound=function(e){var t=e.id,r=e.frag.cc,i=e.initPTS;"main"===t&&(this.initPTS[r]=i,this.videoTrackCC=r,f.logger.log("InitPTS for cc: "+r+" found from video track: "+i),this.state===v.State.WAITING_INIT_PTS&&this.tick())},r.prototype.startLoad=function(e){if(this.tracks){var t=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),this.fragLoadError=0,t>0&&-1===e?(f.logger.log("audio:override startPosition with lastCurrentTime @"+t.toFixed(3)),this.state=v.State.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:e,this.state=v.State.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=e,this.state=v.State.STOPPED},Object.defineProperty(r.prototype,"state",{get:function(){return this._state},set:function(e){if(this.state!==e){var t=this.state;this._state=e,f.logger.log("audio stream:"+t+"->"+e)}},enumerable:!0,configurable:!0}),r.prototype.doTick=function(){var t,r,i,a=this.hls,o=a.config;switch(this.state){case v.State.ERROR:case v.State.PAUSED:case v.State.BUFFER_FLUSHING:break;case v.State.STARTING:this.state=v.State.WAITING_TRACK,this.loadedmetadata=!1;break;case v.State.IDLE:var u=this.tracks;if(!u)break;if(!this.media&&(this.startFragRequested||!o.startFragPrefetch))break;if(this.loadedmetadata)t=this.media.currentTime;else if(void 0===(t=this.nextLoadPosition))break;var d=this.mediaBuffer?this.mediaBuffer:this.media,c=this.videoBuffer?this.videoBuffer:this.media,g=s.BufferHelper.bufferInfo(d,t,o.maxBufferHole),y=s.BufferHelper.bufferInfo(c,t,o.maxBufferHole),E=g.len,_=g.end,T=this.fragPrevious,S=Math.min(o.maxBufferLength,o.maxMaxBufferLength),b=Math.max(S,y.len),A=this.audioSwitch,R=this.trackId;if((E<b||A)&&R<u.length){if(void 0===(i=u[R].details)){this.state=v.State.WAITING_TRACK;break}if(!A&&this._streamEnded(g,i))return this.hls.trigger(l.default.BUFFER_EOS,{type:"audio"}),void(this.state=v.State.ENDED);var D=i.fragments,L=D.length,w=D[0].start,O=D[L-1].start+D[L-1].duration,k=void 0;if(A)if(i.live&&!i.PTSKnown)f.logger.log("switching audiotrack, live stream, unknown PTS,load first fragment"),_=0;else if(_=t,i.PTSKnown&&t<w){if(!(g.end>w||g.nextStart))return;f.logger.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=w+.05}if(i.initSegment&&!i.initSegment.data)k=i.initSegment;else if(_<=w){if(k=D[0],null!==this.videoTrackCC&&k.cc!==this.videoTrackCC&&(k=h.findFragWithCC(D,this.videoTrackCC)),i.live&&k.loadIdx&&k.loadIdx===this.fragLoadIdx){var I=g.nextStart?g.nextStart:w;return f.logger.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(I+.05)),void(this.media.currentTime=I+.05)}}else{var P=void 0,C=o.maxFragLookUpTolerance,x=T?D[T.sn-D[0].sn+1]:void 0,F=function(e){var t=Math.min(C,e.duration);return e.start+e.duration-t<=_?1:e.start-t>_&&e.start?-1:0};_<O?(_>O-C&&(C=0),P=x&&!F(x)?x:n.default.search(D,F)):P=D[L-1],P&&(k=P,w=P.start,T&&k.level===T.level&&k.sn===T.sn&&(k.sn<i.endSN?(k=D[k.sn+1-i.startSN],f.logger.log("SN just loaded, load next one: "+k.sn)):k=null))}k&&(k.encrypted?(f.logger.log("Loading key for "+k.sn+" of ["+i.startSN+" ,"+i.endSN+"],track "+R),this.state=v.State.KEY_LOADING,a.trigger(l.default.KEY_LOADING,{frag:k})):(f.logger.log("Loading "+k.sn+", cc: "+k.cc+" of ["+i.startSN+" ,"+i.endSN+"],track "+R+", currentTime:"+t+",bufferEnd:"+_.toFixed(3)),this.fragCurrent=k,(A||this.fragmentTracker.getState(k)===p.FragmentState.NOT_LOADED)&&(this.startFragRequested=!0,e.isFinite(k.sn)&&(this.nextLoadPosition=k.start+k.duration),a.trigger(l.default.FRAG_LOADING,{frag:k}),this.state=v.State.FRAG_LOADING)))}break;case v.State.WAITING_TRACK:(r=this.tracks[this.trackId])&&r.details&&(this.state=v.State.IDLE);break;case v.State.FRAG_LOADING_WAITING_RETRY:var M=m.now(),N=this.retryDate,j=(d=this.media)&&d.seeking;(!N||M>=N||j)&&(f.logger.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=v.State.IDLE);break;case v.State.WAITING_INIT_PTS:var U=this.videoTrackCC;if(void 0===this.initPTS[U])break;var B=this.waitingFragment;if(B){var G=B.frag.cc;U!==G?(r=this.tracks[this.trackId]).details&&r.details.live&&(f.logger.warn("Waiting fragment CC ("+G+") does not match video track CC ("+U+")"),this.waitingFragment=null,this.state=v.State.IDLE):(this.state=v.State.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=v.State.IDLE;break;case v.State.STOPPED:case v.State.FRAG_LOADING:case v.State.PARSING:case v.State.PARSED:case v.State.ENDED:}},r.prototype.onMediaAttached=function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("ended",this.onvended);var r=this.config;this.tracks&&r.autoStartLoad&&this.startLoad(r.startPosition)},r.prototype.onMediaDetaching=function(){var e=this.media;e&&e.ended&&(f.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()},r.prototype.onAudioTracksUpdated=function(e){f.logger.log("audio tracks updated"),this.tracks=e.audioTracks},r.prototype.onAudioTrackSwitching=function(e){var t=!!e.url;this.trackId=e.id,this.fragCurrent=null,this.state=v.State.PAUSED,this.waitingFragment=null,t?this.setInterval(100):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),t&&(this.audioSwitch=!0,this.state=v.State.IDLE),this.tick()},r.prototype.onAudioTrackLoaded=function(t){var r=t.details,i=t.id,a=this.tracks[i],n=r.totalduration,s=0;if(f.logger.log("track "+i+" loaded ["+r.startSN+","+r.endSN+"],duration:"+n),r.live){var o=a.details;o&&r.fragments.length>0?(u.mergeDetails(o,r),s=r.fragments[0].start,r.PTSKnown?f.logger.log("live audio playlist sliding:"+s.toFixed(3)):f.logger.log("live audio playlist - outdated PTS, unknown sliding")):(r.PTSKnown=!1,f.logger.log("live audio playlist - first load, unknown sliding"))}else r.PTSKnown=!1;if(a.details=r,!this.startFragRequested){if(-1===this.startPosition){var l=r.startTimeOffset;e.isFinite(l)?(f.logger.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l):this.startPosition=0}this.nextLoadPosition=this.startPosition}this.state===v.State.WAITING_TRACK&&(this.state=v.State.IDLE),this.tick()},r.prototype.onKeyLoaded=function(){this.state===v.State.KEY_LOADING&&(this.state=v.State.IDLE,this.tick())},r.prototype.onFragLoaded=function(e){var t=this.fragCurrent,r=e.frag;if(this.state===v.State.FRAG_LOADING&&t&&"audio"===r.type&&r.level===t.level&&r.sn===t.sn){var i=this.tracks[this.trackId],a=i.details,n=a.totalduration,s=t.level,u=t.sn,d=t.cc,c=this.config.defaultAudioCodec||i.audioCodec||"mp4a.40.2",h=this.stats=e.stats;if("initSegment"===u)this.state=v.State.IDLE,h.tparsed=h.tbuffered=m.now(),a.initSegment.data=e.payload,this.hls.trigger(l.default.FRAG_BUFFERED,{stats:h,frag:t,id:"audio"}),this.tick();else{this.state=v.State.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new o.default(this.hls,"audio"));var p=this.initPTS[d],g=a.initSegment?a.initSegment.data:[];if(a.initSegment||void 0!==p){this.pendingBuffering=!0,f.logger.log("Demuxing "+u+" of ["+a.startSN+" ,"+a.endSN+"],track "+s);this.demuxer.push(e.payload,g,c,null,t,n,!1,p)}else f.logger.log("unknown video PTS for continuity counter "+d+", waiting for video PTS before demuxing audio frag "+u+" of ["+a.startSN+" ,"+a.endSN+"],track "+s),this.waitingFragment=e,this.state=v.State.WAITING_INIT_PTS}}this.fragLoadError=0},r.prototype.onFragParsingInitSegment=function(e){var t=this.fragCurrent,r=e.frag;if(t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===v.State.PARSING){var i=e.tracks,a=void 0;if(i.video&&delete i.video,a=i.audio){a.levelCodec=a.codec,a.id=e.id,this.hls.trigger(l.default.BUFFER_CODECS,i),f.logger.log("audio track:audio,container:"+a.container+",codecs[level/parsed]=["+a.levelCodec+"/"+a.codec+"]");var n=a.initSegment;if(n){var s={type:"audio",data:n,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[s]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(l.default.BUFFER_APPENDING,s))}this.tick()}}},r.prototype.onFragParsingData=function(t){var r=this,i=this.fragCurrent,a=t.frag;if(i&&"audio"===t.id&&"audio"===t.type&&a.sn===i.sn&&a.level===i.level&&this.state===v.State.PARSING){var n=this.trackId,s=this.tracks[n],o=this.hls;e.isFinite(t.endPTS)||(t.endPTS=t.startPTS+i.duration,t.endDTS=t.startDTS+i.duration),i.addElementaryStream(g.default.ElementaryStreamTypes.AUDIO),f.logger.log("parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb),u.updateFragPTSDTS(s.details,i,t.startPTS,t.endPTS);var d=this.audioSwitch,h=this.media,p=!1;if(d&&h)if(h.readyState){var m=h.currentTime;f.logger.log("switching audio track : currentTime:"+m),m>=t.startPTS&&(f.logger.log("switching audio track : flushing all audio"),this.state=v.State.BUFFER_FLUSHING,o.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}),p=!0,this.audioSwitch=!1,o.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:n}))}else this.audioSwitch=!1,o.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:n});var y=this.pendingData;if(!y)return f.logger.warn("Apparently attempt to enqueue media payload without codec initialization data upfront"),void o.trigger(l.default.ERROR,{type:c.ErrorTypes.MEDIA_ERROR,details:null,fatal:!0});this.audioSwitch||([t.data1,t.data2].forEach(function(e){e&&e.length&&y.push({type:t.type,data:e,parent:"audio",content:"data"})}),!p&&y.length&&(y.forEach(function(e){r.state===v.State.PARSING&&(r.pendingBuffering=!0,r.hls.trigger(l.default.BUFFER_APPENDING,e))}),this.pendingData=[],this.appended=!0)),this.tick()}},r.prototype.onFragParsed=function(e){var t=this.fragCurrent,r=e.frag;t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===v.State.PARSING&&(this.stats.tparsed=m.now(),this.state=v.State.PARSED,this._checkAppendedParsed())},r.prototype.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},r.prototype.onBufferCreated=function(e){var t=e.tracks.audio;t&&(this.mediaBuffer=t.buffer,this.loadedmetadata=!0),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer)},r.prototype.onBufferAppended=function(e){if("audio"===e.parent){var t=this.state;t!==v.State.PARSING&&t!==v.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}},r.prototype._checkAppendedParsed=function(){if(!(this.state!==v.State.PARSED||this.appended&&this.pendingBuffering)){var e=this.fragCurrent,t=this.stats,r=this.hls;if(e){this.fragPrevious=e,t.tbuffered=m.now(),r.trigger(l.default.FRAG_BUFFERED,{stats:t,frag:e,id:"audio"});var i=this.mediaBuffer?this.mediaBuffer:this.media;f.logger.log("audio buffered : "+d.default.toString(i.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,r.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=v.State.IDLE}this.tick()}},r.prototype.onError=function(t){var r=t.frag;if(!r||"audio"===r.type)switch(t.details){case c.ErrorDetails.FRAG_LOAD_ERROR:case c.ErrorDetails.FRAG_LOAD_TIMEOUT:var i=t.frag;if(i&&"audio"!==i.type)break;if(!t.fatal){var a=this.fragLoadError;if(a?a++:a=1,a<=(o=this.config).fragLoadingMaxRetry){this.fragLoadError=a;var n=Math.min(Math.pow(2,a-1)*o.fragLoadingRetryDelay,o.fragLoadingMaxRetryTimeout);f.logger.warn("AudioStreamController: frag loading failed, retry in "+n+" ms"),this.retryDate=m.now()+n,this.state=v.State.FRAG_LOADING_WAITING_RETRY}else f.logger.error("AudioStreamController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=v.State.ERROR}break;case c.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case c.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:case c.ErrorDetails.KEY_LOAD_ERROR:case c.ErrorDetails.KEY_LOAD_TIMEOUT:this.state!==v.State.ERROR&&(this.state=t.fatal?v.State.ERROR:v.State.IDLE,f.logger.warn("AudioStreamController: "+t.details+" while loading frag, now switching to "+this.state+" state ..."));break;case c.ErrorDetails.BUFFER_FULL_ERROR:if("audio"===t.parent&&(this.state===v.State.PARSING||this.state===v.State.PARSED)){var o,u=this.mediaBuffer,d=this.media.currentTime;if(u&&s.BufferHelper.isBuffered(u,d)&&s.BufferHelper.isBuffered(u,d+.5))(o=this.config).maxMaxBufferLength>=o.maxBufferLength&&(o.maxMaxBufferLength/=2,f.logger.warn("AudioStreamController: reduce max buffer length to "+o.maxMaxBufferLength+"s")),this.state=v.State.IDLE;else f.logger.warn("AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=v.State.BUFFER_FLUSHING,this.hls.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"})}}},r.prototype.onBufferFlushed=function(){var e=this,t=this.pendingData;t&&t.length?(f.logger.log("AudioStreamController: appending pending audio data after buffer flushed"),t.forEach(function(t){e.hls.trigger(l.default.BUFFER_APPENDING,t)}),this.appended=!0,this.pendingData=[],this.state=v.State.PARSED):(this.state=v.State.IDLE,this.fragPrevious=null,this.tick())},r}(v.default);t.default=y}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/audio-track-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/task-loop.js"),o=r("./src/utils/logger.js"),l=r("./src/errors.js"),u=function(e){function t(t){var r=e.call(this,t,n.default.MANIFEST_LOADING,n.default.MANIFEST_PARSED,n.default.AUDIO_TRACK_LOADED,n.default.AUDIO_TRACK_SWITCHED,n.default.LEVEL_LOADED,n.default.ERROR)||this;return r._trackId=-1,r._selectDefaultTrack=!0,r.tracks=[],r.trackIdBlacklist=Object.create(null),r.audioGroupId=null,r}return a(t,e),t.prototype.onManifestLoading=function(){this.tracks=[],this._trackId=-1,this._selectDefaultTrack=!0},t.prototype.onManifestParsed=function(e){var t=this.tracks=e.audioTracks||[];this.hls.trigger(n.default.AUDIO_TRACKS_UPDATED,{audioTracks:t})},t.prototype.onAudioTrackLoaded=function(e){if(e.id>=this.tracks.length)o.logger.warn("Invalid audio track id:",e.id);else{if(o.logger.log("audioTrack "+e.id+" loaded"),this.tracks[e.id].details=e.details,e.details.live&&!this.hasInterval()){var t=1e3*e.details.targetduration;this.setInterval(t)}!e.details.live&&this.hasInterval()&&this.clearInterval()}},t.prototype.onAudioTrackSwitched=function(e){var t=this.tracks[e.id].groupId;t&&this.audioGroupId!==t&&(this.audioGroupId=t)},t.prototype.onLevelLoaded=function(e){var t=this.hls.levels[e.level];if(t.audioGroupIds){var r=t.audioGroupIds[t.urlId];this.audioGroupId!==r&&(this.audioGroupId=r,this._selectInitialAudioTrack())}},t.prototype.onError=function(e){e.type===l.ErrorTypes.NETWORK_ERROR&&(e.fatal&&this.clearInterval(),e.details===l.ErrorDetails.AUDIO_TRACK_LOAD_ERROR&&(o.logger.warn("Network failure on audio-track id:",e.context.id),this._handleLoadError()))},Object.defineProperty(t.prototype,"audioTracks",{get:function(){return this.tracks},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTrack",{get:function(){return this._trackId},set:function(e){this._setAudioTrack(e),this._selectDefaultTrack=!1},enumerable:!0,configurable:!0}),t.prototype._setAudioTrack=function(e){if(this._trackId===e&&this.tracks[this._trackId].details)o.logger.debug("Same id as current audio-track passed, and track details available -> no-op");else if(e<0||e>=this.tracks.length)o.logger.warn("Invalid id passed to audio-track controller");else{var t=this.tracks[e];o.logger.log("Now switching to audio-track index "+e),this.clearInterval(),this._trackId=e;var r=t.url,i=t.type,a=t.id;this.hls.trigger(n.default.AUDIO_TRACK_SWITCHING,{id:a,type:i,url:r}),this._loadTrackDetailsIfNeeded(t)}},t.prototype.doTick=function(){this._updateTrack(this._trackId)},t.prototype._selectInitialAudioTrack=function(){var e=this,t=this.tracks;if(t.length){var r=this.tracks[this._trackId],i=null;if(r&&(i=r.name),this._selectDefaultTrack){var a=t.filter(function(e){return e.default});a.length?t=a:o.logger.warn("No default audio tracks defined")}var s=!1,u=function(){t.forEach(function(t){s||e.audioGroupId&&t.groupId!==e.audioGroupId||i&&i!==t.name||(e._setAudioTrack(t.id),s=!0)})};u(),s||(i=null,u()),s||(o.logger.error("No track found for running audio group-ID: "+this.audioGroupId),this.hls.trigger(n.default.ERROR,{type:l.ErrorTypes.MEDIA_ERROR,details:l.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,fatal:!0}))}},t.prototype._needsTrackLoading=function(e){var t=e.details,r=e.url;return!(t&&!t.live)&&!!r},t.prototype._loadTrackDetailsIfNeeded=function(e){if(this._needsTrackLoading(e)){var t=e.url,r=e.id;o.logger.log("loading audio-track playlist for id: "+r),this.hls.trigger(n.default.AUDIO_TRACK_LOADING,{url:t,id:r})}},t.prototype._updateTrack=function(e){if(!(e<0||e>=this.tracks.length)){this.clearInterval(),this._trackId=e,o.logger.log("trying to update audio-track "+e);var t=this.tracks[e];this._loadTrackDetailsIfNeeded(t)}},t.prototype._handleLoadError=function(){this.trackIdBlacklist[this._trackId]=!0;var e=this._trackId,t=this.tracks[e],r=t.name,i=t.language,a=t.groupId;o.logger.warn("Loading failed on audio track id: "+e+", group-id: "+a+', name/language: "'+r+'" / "'+i+'"');for(var n=e,s=0;s<this.tracks.length;s++){if(!this.trackIdBlacklist[s])if(this.tracks[s].name===r){n=s;break}}n!==e?(o.logger.log("Attempting audio-track fallback id:",n,"group-id:",this.tracks[n].groupId),this._setAudioTrack(n)):o.logger.warn('No fallback audio-track found for name/language: "'+r+'" / "'+i+'"')},t}(s.default);t.default=u},"./src/controller/base-stream-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/task-loop.js"),s=r("./src/controller/fragment-tracker.js"),o=r("./src/utils/buffer-helper.js"),l=r("./src/utils/logger.js");t.State={STOPPED:"STOPPED",STARTING:"STARTING",IDLE:"IDLE",PAUSED:"PAUSED",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_TRACK:"WAITING_TRACK",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR",WAITING_INIT_PTS:"WAITING_INIT_PTS",WAITING_LEVEL:"WAITING_LEVEL"};var u=function(r){function i(){return null!==r&&r.apply(this,arguments)||this}return a(i,r),i.prototype.doTick=function(){},i.prototype.startLoad=function(){},i.prototype.stopLoad=function(){var e=this.fragCurrent;e&&(e.loader&&e.loader.abort(),this.fragmentTracker.removeFragment(e)),this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.fragCurrent=null,this.fragPrevious=null,this.clearInterval(),this.clearNextTick(),this.state=t.State.STOPPED},i.prototype._streamEnded=function(e,t){var r=this.fragCurrent,i=this.fragmentTracker;if(!t.live&&r&&!r.backtracked&&r.sn===t.endSN&&!e.nextStart){var a=i.getState(r);return a===s.FragmentState.PARTIAL||a===s.FragmentState.OK}return!1},i.prototype.onMediaSeeking=function(){var r=this.config,i=this.media,a=this.mediaBuffer,n=this.state,s=i?i.currentTime:null,u=o.BufferHelper.bufferInfo(a||i,s,this.config.maxBufferHole);if(e.isFinite(s)&&l.logger.log("media seeking to "+s.toFixed(3)),n===t.State.FRAG_LOADING){var d=this.fragCurrent;if(0===u.len&&d){var c=r.maxFragLookUpTolerance,f=d.start-c,h=d.start+d.duration+c;s<f||s>h?(d.loader&&(l.logger.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),d.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=t.State.IDLE):l.logger.log("seeking outside of buffer but within currently loaded fragment range")}}else n===t.State.ENDED&&(0===u.len&&(this.fragPrevious=null,this.fragCurrent=null),this.state=t.State.IDLE);i&&(this.lastCurrentTime=s),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=s),this.tick()},i.prototype.onMediaEnded=function(){this.startPosition=this.lastCurrentTime=0},i.prototype.onHandlerDestroying=function(){this.stopLoad(),r.prototype.onHandlerDestroying.call(this)},i.prototype.onHandlerDestroyed=function(){this.state=t.State.STOPPED,this.fragmentTracker=null},i}(n.default);t.default=u}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/buffer-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/utils/logger.js"),l=r("./src/errors.js"),u=r("./src/utils/mediasource-helper.js").getMediaSource(),d=function(t){function r(e){var r=t.call(this,e,n.default.MEDIA_ATTACHING,n.default.MEDIA_DETACHING,n.default.MANIFEST_PARSED,n.default.BUFFER_RESET,n.default.BUFFER_APPENDING,n.default.BUFFER_CODECS,n.default.BUFFER_EOS,n.default.BUFFER_FLUSHING,n.default.LEVEL_PTS_UPDATED,n.default.LEVEL_UPDATED)||this;return r._msDuration=null,r._levelDuration=null,r._levelTargetDuration=10,r._live=null,r._objectUrl=null,r.bufferCodecEventsExpected=0,r.onsbue=r.onSBUpdateEnd.bind(r),r.onsbe=r.onSBUpdateError.bind(r),r.pendingTracks={},r.tracks={},r}return a(r,t),r.prototype.destroy=function(){s.default.prototype.destroy.call(this)},r.prototype.onLevelPtsUpdated=function(e){var t=e.type,r=this.tracks.audio;if("audio"===t&&r&&"audio/mpeg"===r.container){var i=this.sourceBuffer.audio;if(Math.abs(i.timestampOffset-e.start)>.1){var a=i.updating;try{i.abort()}catch(n){o.logger.warn("can not abort audio buffer: "+n)}a?this.audioTimestampOffset=e.start:(o.logger.warn("change mpeg audio timestamp offset from "+i.timestampOffset+" to "+e.start),i.timestampOffset=e.start)}}},r.prototype.onManifestParsed=function(e){this.bufferCodecEventsExpected=e.altAudio?2:1,o.logger.log(this.bufferCodecEventsExpected+" bufferCodec event(s) expected")},r.prototype.onMediaAttaching=function(e){var t=this.media=e.media;if(t){var r=this.mediaSource=new u;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),r.addEventListener("sourceopen",this.onmso),r.addEventListener("sourceended",this.onmse),r.addEventListener("sourceclose",this.onmsc),t.src=window.URL.createObjectURL(r),this._objectUrl=t.src}},r.prototype.onMediaDetaching=function(){o.logger.log("media source detaching");var e=this.mediaSource;if(e){if("open"===e.readyState)try{e.endOfStream()}catch(t){o.logger.warn("onMediaDetaching:"+t.message+" while calling endOfStream")}e.removeEventListener("sourceopen",this.onmso),e.removeEventListener("sourceended",this.onmse),e.removeEventListener("sourceclose",this.onmsc),this.media&&(window.URL.revokeObjectURL(this._objectUrl),this.media.src===this._objectUrl?(this.media.removeAttribute("src"),this.media.load()):o.logger.warn("media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(n.default.MEDIA_DETACHED)},r.prototype.onMediaSourceOpen=function(){o.logger.log("media source opened"),this.hls.trigger(n.default.MEDIA_ATTACHED,{media:this.media});var e=this.mediaSource;e&&e.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()},r.prototype.checkPendingTracks=function(){var e=this.bufferCodecEventsExpected,t=this.pendingTracks,r=Object.keys(t).length;(r&&!e||2===r)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())},r.prototype.onMediaSourceClose=function(){o.logger.log("media source closed")},r.prototype.onMediaSourceEnded=function(){o.logger.log("media source ended")},r.prototype.onSBUpdateEnd=function(){if(this.audioTimestampOffset){var e=this.sourceBuffer.audio;o.logger.warn("change mpeg audio timestamp offset from "+e.timestampOffset+" to "+this.audioTimestampOffset),e.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var t=this.parent,r=this.segments.reduce(function(e,r){return r.parent===t?e+1:e},0),i={},a=this.sourceBuffer;for(var s in a)i[s]=a[s].buffered;this.hls.trigger(n.default.BUFFER_APPENDED,{parent:t,pending:r,timeRanges:i}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration(),0===r&&this.flushLiveBackBuffer()},r.prototype.onSBUpdateError=function(e){o.logger.error("sourceBuffer error:",e),this.hls.trigger(n.default.ERROR,{type:l.ErrorTypes.MEDIA_ERROR,details:l.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})},r.prototype.onBufferReset=function(){var e=this.sourceBuffer;for(var t in e){var r=e[t];try{this.mediaSource.removeSourceBuffer(r),r.removeEventListener("updateend",this.onsbue),r.removeEventListener("error",this.onsbe)}catch(i){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0},r.prototype.onBufferCodecs=function(e){var t=this;if(!Object.keys(this.sourceBuffer).length){Object.keys(e).forEach(function(r){t.pendingTracks[r]=e[r]});var r=this.mediaSource;this.bufferCodecEventsExpected=Math.max(this.bufferCodecEventsExpected-1,0),r&&"open"===r.readyState&&this.checkPendingTracks()}},r.prototype.createSourceBuffers=function(e){var t=this.sourceBuffer,r=this.mediaSource;for(var i in e)if(!t[i]){var a=e[i],s=a.levelCodec||a.codec,u=a.container+";codecs="+s;o.logger.log("creating sourceBuffer("+u+")");try{var d=t[i]=r.addSourceBuffer(u);d.addEventListener("updateend",this.onsbue),d.addEventListener("error",this.onsbe),this.tracks[i]={codec:s,container:a.container},a.buffer=d}catch(c){o.logger.error("error while trying to add sourceBuffer:"+c.message),this.hls.trigger(n.default.ERROR,{type:l.ErrorTypes.MEDIA_ERROR,details:l.ErrorDetails.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:c,mimeType:u})}}this.hls.trigger(n.default.BUFFER_CREATED,{tracks:e})},r.prototype.onBufferAppending=function(e){this._needsFlush||(this.segments?this.segments.push(e):this.segments=[e],this.doAppending())},r.prototype.onBufferAppendFail=function(e){o.logger.error("sourceBuffer error:",e.event),this.hls.trigger(n.default.ERROR,{type:l.ErrorTypes.MEDIA_ERROR,details:l.ErrorDetails.BUFFER_APPENDING_ERROR,fatal:!1})},r.prototype.onBufferEos=function(e){var t=this.sourceBuffer,r=e.type;for(var i in t)r&&i!==r||t[i].ended||(t[i].ended=!0,o.logger.log(i+" sourceBuffer now EOS"));this.checkEos()},r.prototype.checkEos=function(){var e=this.sourceBuffer,t=this.mediaSource;if(t&&"open"===t.readyState){for(var r in e){var i=e[r];if(!i.ended)return;if(i.updating)return void(this._needsEos=!0)}o.logger.log("all media data are available, signal endOfStream() to MediaSource and stop loading fragment");try{t.endOfStream()}catch(a){o.logger.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1}else this._needsEos=!1},r.prototype.onBufferFlushing=function(e){this.flushRange.push({start:e.startOffset,end:e.endOffset,type:e.type}),this.flushBufferCounter=0,this.doFlush()},r.prototype.flushLiveBackBuffer=function(){if(this._live){var e=this.hls.config.liveBackBufferLength;if(isFinite(e)&&!(e<0))for(var t=this.media.currentTime,r=this.sourceBuffer,i=Object.keys(r),a=t-Math.max(e,this._levelTargetDuration),n=i.length-1;n>=0;n--){var s=i[n],o=r[s].buffered;o.length>0&&a>o.start(0)&&this.removeBufferRange(s,r[s],0,a)}}},r.prototype.onLevelUpdated=function(e){var t=e.details;t.fragments.length>0&&(this._levelDuration=t.totalduration+t.fragments[0].start,this._levelTargetDuration=t.averagetargetduration||t.targetduration||10,this._live=t.live,this.updateMediaElementDuration())},r.prototype.updateMediaElementDuration=function(){var t,r=this.hls.config;if(null!==this._levelDuration&&this.media&&this.mediaSource&&this.sourceBuffer&&0!==this.media.readyState&&"open"===this.mediaSource.readyState){for(var i in this.sourceBuffer)if(!0===this.sourceBuffer[i].updating)return;t=this.media.duration,null===this._msDuration&&(this._msDuration=this.mediaSource.duration),!0===this._live&&!0===r.liveDurationInfinity?(o.logger.log("Media Source duration is set to Infinity"),this._msDuration=this.mediaSource.duration=1/0):(this._levelDuration>this._msDuration&&this._levelDuration>t||!e.isFinite(t))&&(o.logger.log("Updating Media Source duration to "+this._levelDuration.toFixed(3)),this._msDuration=this.mediaSource.duration=this._levelDuration)}},r.prototype.doFlush=function(){for(;this.flushRange.length;){var e=this.flushRange[0];if(!this.flushBuffer(e.start,e.end,e.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var t=0,r=this.sourceBuffer;try{for(var i in r)t+=r[i].buffered.length}catch(a){o.logger.error("error while accessing sourceBuffer.buffered")}this.appended=t,this.hls.trigger(n.default.BUFFER_FLUSHED)}},r.prototype.doAppending=function(){var e=this.hls,t=this.segments,r=this.sourceBuffer;if(Object.keys(r).length){if(this.media.error)return this.segments=[],void o.logger.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(t&&t.length){var i=t.shift();try{var a=r[i.type];a?a.updating?t.unshift(i):(a.ended=!1,this.parent=i.parent,a.appendBuffer(i.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(u){o.logger.error("error while trying to append buffer:"+u.message),t.unshift(i);var s={type:l.ErrorTypes.MEDIA_ERROR,parent:i.parent};22!==u.code?(this.appendError?this.appendError++:this.appendError=1,s.details=l.ErrorDetails.BUFFER_APPEND_ERROR,this.appendError>e.config.appendErrorMaxRetry?(o.logger.log("fail "+e.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),this.segments=[],s.fatal=!0,e.trigger(n.default.ERROR,s)):(s.fatal=!1,e.trigger(n.default.ERROR,s))):(this.segments=[],s.details=l.ErrorDetails.BUFFER_FULL_ERROR,s.fatal=!1,e.trigger(n.default.ERROR,s))}}}},r.prototype.flushBuffer=function(e,t,r){var i,a=this.sourceBuffer;if(Object.keys(a).length){if(o.logger.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+e+"/"+t),this.flushBufferCounter<this.appended){for(var n in a)if(!r||n===r){if((i=a[n]).ended=!1,i.updating)return o.logger.warn("cannot flush, sb updating in progress"),!1;if(this.removeBufferRange(n,i,e,t))return this.flushBufferCounter++,!1}}else o.logger.warn("abort flushing too many retries");o.logger.log("buffer flushed")}return!0},r.prototype.removeBufferRange=function(e,t,r,i){try{for(var a=0;a<t.buffered.length;a++){var n=t.buffered.start(a),s=t.buffered.end(a),l=Math.max(n,r),u=Math.min(s,i);if(Math.min(u,s)-l>.5)return o.logger.log("sb remove "+e+" ["+l+","+u+"], of ["+n+","+s+"], pos:"+this.media.currentTime),t.remove(l,u),!0}}catch(d){o.logger.warn("removeBufferRange failed",d)}return!1},r}(s.default);t.default=d}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/cap-level-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=function(t){function r(r){var i=t.call(this,r,n.default.FPS_DROP_LEVEL_CAPPING,n.default.MEDIA_ATTACHING,n.default.MANIFEST_PARSED,n.default.BUFFER_CODECS,n.default.MEDIA_DETACHING)||this;return i.autoLevelCapping=e.POSITIVE_INFINITY,i.firstLevel=null,i.levels=[],i.media=null,i.restrictedLevels=[],i.timer=null,i}return a(r,t),r.prototype.destroy=function(){this.hls.config.capLevelToPlayerSize&&(this.media=null,this._stopCapping())},r.prototype.onFpsDropLevelCapping=function(e){r.isLevelAllowed(e.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(e.droppedLevel)},r.prototype.onMediaAttaching=function(e){this.media=e.media instanceof window.HTMLVideoElement?e.media:null},r.prototype.onManifestParsed=function(e){var t=this.hls;this.restrictedLevels=[],this.levels=e.levels,this.firstLevel=e.firstLevel,t.config.capLevelToPlayerSize&&e.video&&this._startCapping()},r.prototype.onBufferCodecs=function(e){this.hls.config.capLevelToPlayerSize&&e.video&&this._startCapping()},r.prototype.onLevelsUpdated=function(e){this.levels=e.levels},r.prototype.onMediaDetaching=function(){this._stopCapping()},r.prototype.detectPlayerSize=function(){if(this.media){var e=this.levels?this.levels.length:0;if(e){var t=this.hls;t.autoLevelCapping=this.getMaxLevel(e-1),t.autoLevelCapping>this.autoLevelCapping&&t.streamController.nextLevelSwitch(),this.autoLevelCapping=t.autoLevelCapping}}},r.prototype.getMaxLevel=function(e){var t=this;if(!this.levels)return-1;var i=this.levels.filter(function(i,a){return r.isLevelAllowed(a,t.restrictedLevels)&&a<=e});return r.getMaxLevelByMediaSize(i,this.mediaWidth,this.mediaHeight)},r.prototype._startCapping=function(){this.timer||(this.autoLevelCapping=e.POSITIVE_INFINITY,this.hls.firstLevel=this.getMaxLevel(this.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},r.prototype._stopCapping=function(){this.restrictedLevels=[],this.firstLevel=null,this.autoLevelCapping=e.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer),this.timer=null)},Object.defineProperty(r.prototype,"mediaWidth",{get:function(){var e,t=this.media;return t&&(e=t.width||t.clientWidth||t.offsetWidth,e*=r.contentScaleFactor),e},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"mediaHeight",{get:function(){var e,t=this.media;return t&&(e=t.height||t.clientHeight||t.offsetHeight,e*=r.contentScaleFactor),e},enumerable:!0,configurable:!0}),Object.defineProperty(r,"contentScaleFactor",{get:function(){var e=1;try{e=window.devicePixelRatio}catch(t){}return e},enumerable:!0,configurable:!0}),r.isLevelAllowed=function(e,t){return void 0===t&&(t=[]),-1===t.indexOf(e)},r.getMaxLevelByMediaSize=function(e,t,r){if(!e||e&&!e.length)return-1;for(var i,a,n=e.length-1,s=0;s<e.length;s+=1){var o=e[s];if((o.width>=t||o.height>=r)&&(i=o,!(a=e[s+1])||i.width!==a.width||i.height!==a.height)){n=s;break}}return n},r}(r("./src/event-handler.js").default);t.default=s}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/eme-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/event-handler.js"),s=r("./src/events.js"),o=r("./src/errors.js"),l=r("./src/utils/logger.js"),u=window.XMLHttpRequest,d="com.widevine.alpha",c="com.microsoft.playready",f=function(e){function t(t){var r=e.call(this,t,s.default.MEDIA_ATTACHED,s.default.MANIFEST_PARSED)||this;return r._widevineLicenseUrl=t.config.widevineLicenseUrl,r._licenseXhrSetup=t.config.licenseXhrSetup,r._emeEnabled=t.config.emeEnabled,r._requestMediaKeySystemAccess=t.config.requestMediaKeySystemAccessFunc,r._mediaKeysList=[],r._media=null,r._hasSetMediaKeys=!1,r._isMediaEncrypted=!1,r._requestLicenseFailureCount=0,r}return a(t,e),t.prototype.getLicenseServerUrl=function(e){var t;switch(e){case d:t=this._widevineLicenseUrl;break;default:t=null}return t||(l.logger.error('No license server URL configured for key-system "'+e+'"'),this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})),t},t.prototype._attemptKeySystemAccess=function(e,t,r){var i=this,a=function(e,t,r){switch(e){case d:return function(e,t,r){var i={videoCapabilities:[]};return t.forEach(function(e){i.videoCapabilities.push({contentType:'video/mp4; codecs="'+e+'"'})}),[i]}(0,r);default:throw Error("Unknown key-system: "+e)}}(e,0,r);a?(l.logger.log("Requesting encrypted media key-system access"),this.requestMediaKeySystemAccess(e,a).then(function(t){i._onMediaKeySystemAccessObtained(e,t)}).catch(function(t){l.logger.error('Failed to obtain key-system "'+e+'" access:',t)})):l.logger.warn("Can not create config for key-system (maybe because platform is not supported):",e)},Object.defineProperty(t.prototype,"requestMediaKeySystemAccess",{get:function(){if(!this._requestMediaKeySystemAccess)throw new Error("No requestMediaKeySystemAccess function configured");return this._requestMediaKeySystemAccess},enumerable:!0,configurable:!0}),t.prototype._onMediaKeySystemAccessObtained=function(e,t){var r=this;l.logger.log('Access for key-system "'+e+'" obtained');var i={mediaKeys:null,mediaKeysSession:null,mediaKeysSessionInitialized:!1,mediaKeySystemAccess:t,mediaKeySystemDomain:e};this._mediaKeysList.push(i),t.createMediaKeys().then(function(t){i.mediaKeys=t,l.logger.log('Media-keys created for key-system "'+e+'"'),r._onMediaKeysCreated()}).catch(function(e){l.logger.error("Failed to create media-keys:",e)})},t.prototype._onMediaKeysCreated=function(){var e=this;this._mediaKeysList.forEach(function(t){t.mediaKeysSession||(t.mediaKeysSession=t.mediaKeys.createSession(),e._onNewMediaKeySession(t.mediaKeysSession))})},t.prototype._onNewMediaKeySession=function(e){var t=this;l.logger.log("New key-system session "+e.sessionId),e.addEventListener("message",function(r){t._onKeySessionMessage(e,r.message)},!1)},t.prototype._onKeySessionMessage=function(e,t){l.logger.log("Got EME message event, creating license request"),this._requestLicense(t,function(t){l.logger.log("Received license data, updating key-session"),e.update(t)})},t.prototype._onMediaEncrypted=function(e,t){l.logger.log('Media is encrypted using "'+e+'" init data type'),this._isMediaEncrypted=!0,this._mediaEncryptionInitDataType=e,this._mediaEncryptionInitData=t,this._attemptSetMediaKeys(),this._generateRequestWithPreferredKeySession()},t.prototype._attemptSetMediaKeys=function(){if(!this._hasSetMediaKeys){var e=this._mediaKeysList[0];if(!e||!e.mediaKeys)return l.logger.error("Fatal: Media is encrypted but no CDM access or no keys have been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_NO_KEYS,fatal:!0});l.logger.log("Setting keys for encrypted media"),this._media.setMediaKeys(e.mediaKeys),this._hasSetMediaKeys=!0}},t.prototype._generateRequestWithPreferredKeySession=function(){var e=this,t=this._mediaKeysList[0];if(!t)return l.logger.error("Fatal: Media is encrypted but not any key-system access has been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});if(t.mediaKeysSessionInitialized)l.logger.warn("Key-Session already initialized but requested again");else{var r=t.mediaKeysSession;r||(l.logger.error("Fatal: Media is encrypted but no key-session existing"),this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!0}));var i=this._mediaEncryptionInitDataType,a=this._mediaEncryptionInitData;l.logger.log('Generating key-session request for "'+i+'" init data type'),t.mediaKeysSessionInitialized=!0,r.generateRequest(i,a).then(function(){l.logger.debug("Key-session generation succeeded")}).catch(function(t){l.logger.error("Error generating key-session request:",t),e.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_NO_SESSION,fatal:!1})})}},t.prototype._createLicenseXhr=function(e,t,r){var i=new u,a=this._licenseXhrSetup;try{if(a)try{a(i,e)}catch(n){i.open("POST",e,!0),a(i,e)}i.readyState||i.open("POST",e,!0)}catch(n){return l.logger.error("Error setting up key-system license XHR",n),void this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}return i.responseType="arraybuffer",i.onreadystatechange=this._onLicenseRequestReadyStageChange.bind(this,i,e,t,r),i},t.prototype._onLicenseRequestReadyStageChange=function(e,t,r,i){switch(e.readyState){case 4:if(200===e.status)this._requestLicenseFailureCount=0,l.logger.log("License request succeeded"),i(e.response);else{if(l.logger.error("License Request XHR failed ("+t+"). Status: "+e.status+" ("+e.statusText+")"),this._requestLicenseFailureCount++,this._requestLicenseFailureCount<=3){var a=3-this._requestLicenseFailureCount+1;return l.logger.warn("Retrying license request, "+a+" attempts left"),void this._requestLicense(r,i)}this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,fatal:!0})}}},t.prototype._generateLicenseRequestChallenge=function(e,t){var r;return e.mediaKeySystemDomain===c?l.logger.error("PlayReady is not supported (yet)"):e.mediaKeySystemDomain===d?r=t:l.logger.error("Unsupported key-system:",e.mediaKeySystemDomain),r},t.prototype._requestLicense=function(e,t){l.logger.log("Requesting content license for key-system");var r=this._mediaKeysList[0];if(!r)return l.logger.error("Fatal error: Media is encrypted but no key-system access has been obtained yet"),void this.hls.trigger(s.default.ERROR,{type:o.ErrorTypes.KEY_SYSTEM_ERROR,details:o.ErrorDetails.KEY_SYSTEM_NO_ACCESS,fatal:!0});var i=this.getLicenseServerUrl(r.mediaKeySystemDomain),a=this._createLicenseXhr(i,e,t);l.logger.log("Sending license request to URL: "+i),a.send(this._generateLicenseRequestChallenge(r,e))},t.prototype.onMediaAttached=function(e){var t=this;if(this._emeEnabled){var r=e.media;this._media=r,r.addEventListener("encrypted",function(e){t._onMediaEncrypted(e.initDataType,e.initData)})}},t.prototype.onManifestParsed=function(e){if(this._emeEnabled){var t=e.levels.map(function(e){return e.audioCodec}),r=e.levels.map(function(e){return e.videoCodec});this._attemptKeySystemAccess(d,t,r)}},t}(n.default);t.default=f},"./src/controller/fps-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/utils/logger.js"),l=window.performance,u=function(e){function t(t){return e.call(this,t,n.default.MEDIA_ATTACHING)||this}return a(t,e),t.prototype.destroy=function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1},t.prototype.onMediaAttaching=function(e){var t=this.hls.config;t.capLevelOnFPSDrop&&("function"==typeof(this.video=e.media instanceof window.HTMLVideoElement?e.media:null).getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),t.fpsDroppedMonitoringPeriod))},t.prototype.checkFPS=function(e,t,r){var i=l.now();if(t){if(this.lastTime){var a=i-this.lastTime,s=r-this.lastDroppedFrames,u=t-this.lastDecodedFrames,d=1e3*s/a,c=this.hls;if(c.trigger(n.default.FPS_DROP,{currentDropped:s,currentDecoded:u,totalDroppedFrames:r}),d>0&&s>c.config.fpsDroppedMonitoringThreshold*u){var f=c.currentLevel;o.logger.warn("drop FPS ratio greater than max allowed value for currentLevel: "+f),f>0&&(-1===c.autoLevelCapping||c.autoLevelCapping>=f)&&(f-=1,c.trigger(n.default.FPS_DROP_LEVEL_CAPPING,{level:f,droppedLevel:c.currentLevel}),c.autoLevelCapping=f,c.streamController.nextLevelSwitch())}}this.lastTime=i,this.lastDroppedFrames=r,this.lastDecodedFrames=t}},t.prototype.checkFPSInterval=function(){var e=this.video;if(e)if(this.isVideoPlaybackQualityAvailable){var t=e.getVideoPlaybackQuality();this.checkFPS(e,t.totalVideoFrames,t.droppedVideoFrames)}else this.checkFPS(e,e.webkitDecodedFrameCount,e.webkitDroppedFrameCount)},t}(s.default);t.default=u},"./src/controller/fragment-finders.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/binary-search.js");function a(e,t,r){void 0===e&&(e=0),void 0===t&&(t=0);var i=Math.min(t,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.start+r.duration-i<=e?1:r.start-i>e&&r.start?-1:0}function n(e,t,r){var i=1e3*Math.min(t,r.duration+(r.deltaPTS?r.deltaPTS:0));return r.endProgramDateTime-i>e}t.findFragmentByPDT=function(t,r,i){if(!Array.isArray(t)||!t.length||!e.isFinite(r))return null;if(r<t[0].programDateTime)return null;if(r>=t[t.length-1].endProgramDateTime)return null;i=i||0;for(var a=0;a<t.length;++a){var s=t[a];if(n(r,i,s))return s}return null},t.findFragmentByPTS=function(e,t,r,n){void 0===r&&(r=0),void 0===n&&(n=0);var s=e?t[e.sn-t[0].sn+1]:null;return s&&!a(r,n,s)?s:i.default.search(t,a.bind(null,r,n))},t.fragmentWithinToleranceTest=a,t.pdtWithinToleranceTest=n}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/fragment-tracker.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/event-handler.js"),s=r("./src/events.js");t.FragmentState={NOT_LOADED:"NOT_LOADED",APPENDING:"APPENDING",PARTIAL:"PARTIAL",OK:"OK"};var o=function(r){function i(e){var t=r.call(this,e,s.default.BUFFER_APPENDED,s.default.FRAG_BUFFERED,s.default.FRAG_LOADED)||this;return t.bufferPadding=.2,t.fragments=Object.create(null),t.timeRanges=Object.create(null),t.config=e.config,t}return a(i,r),i.prototype.destroy=function(){this.fragments=Object.create(null),this.timeRanges=Object.create(null),this.config=null,n.default.prototype.destroy.call(this),r.prototype.destroy.call(this)},i.prototype.getBufferedFrag=function(e,t){var r=this.fragments,i=Object.keys(r).filter(function(i){var a=r[i];if(a.body.type!==t)return!1;if(!a.buffered)return!1;var n=a.body;return n.startPTS<=e&&e<=n.endPTS});if(0===i.length)return null;var a=i.pop();return r[a].body},i.prototype.detectEvictedFragments=function(e,t){var r,i,a=this;Object.keys(this.fragments).forEach(function(n){var s=a.fragments[n];if(!0===s.buffered){var o=s.range[e];if(o){r=o.time;for(var l=0;l<r.length;l++)if(i=r[l],!1===a.isTimeBuffered(i.startPTS,i.endPTS,t)){a.removeFragment(s.body);break}}}})},i.prototype.detectPartialFragments=function(e){var t=this,r=this.getFragmentKey(e),i=this.fragments[r];i&&(i.buffered=!0,Object.keys(this.timeRanges).forEach(function(r){if(e.hasElementaryStream(r)){var a=t.timeRanges[r];i.range[r]=t.getBufferedTimes(e.startPTS,e.endPTS,a)}}))},i.prototype.getBufferedTimes=function(e,t,r){for(var i,a,n=[],s=!1,o=0;o<r.length;o++){if(i=r.start(o)-this.bufferPadding,a=r.end(o)+this.bufferPadding,e>=i&&t<=a){n.push({startPTS:Math.max(e,r.start(o)),endPTS:Math.min(t,r.end(o))});break}if(e<a&&t>i)n.push({startPTS:Math.max(e,r.start(o)),endPTS:Math.min(t,r.end(o))}),s=!0;else if(t<=i)break}return{time:n,partial:s}},i.prototype.getFragmentKey=function(e){return e.type+"_"+e.level+"_"+e.urlId+"_"+e.sn},i.prototype.getPartialFragment=function(e){var t,r,i,a=this,n=null,s=0;return Object.keys(this.fragments).forEach(function(o){var l=a.fragments[o];a.isPartial(l)&&(r=l.body.startPTS-a.bufferPadding,i=l.body.endPTS+a.bufferPadding,e>=r&&e<=i&&(t=Math.min(e-r,i-e),s<=t&&(n=l.body,s=t)))}),n},i.prototype.getState=function(e){var r=this.getFragmentKey(e),i=this.fragments[r],a=t.FragmentState.NOT_LOADED;return void 0!==i&&(a=i.buffered?!0===this.isPartial(i)?t.FragmentState.PARTIAL:t.FragmentState.OK:t.FragmentState.APPENDING),a},i.prototype.isPartial=function(e){return!0===e.buffered&&(void 0!==e.range.video&&!0===e.range.video.partial||void 0!==e.range.audio&&!0===e.range.audio.partial)},i.prototype.isTimeBuffered=function(e,t,r){for(var i,a,n=0;n<r.length;n++){if(i=r.start(n)-this.bufferPadding,a=r.end(n)+this.bufferPadding,e>=i&&t<=a)return!0;if(t<=i)return!1}return!1},i.prototype.onFragLoaded=function(t){var r=t.frag;e.isFinite(r.sn)&&!r.bitrateTest&&(this.fragments[this.getFragmentKey(r)]={body:r,range:Object.create(null),buffered:!1})},i.prototype.onBufferAppended=function(e){var t=this;this.timeRanges=e.timeRanges,Object.keys(this.timeRanges).forEach(function(e){var r=t.timeRanges[e];t.detectEvictedFragments(e,r)})},i.prototype.onFragBuffered=function(e){this.detectPartialFragments(e.frag)},i.prototype.hasFragment=function(e){var t=this.getFragmentKey(e);return void 0!==this.fragments[t]},i.prototype.removeFragment=function(e){var t=this.getFragmentKey(e);delete this.fragments[t]},i.prototype.removeAllFragments=function(){this.fragments=Object.create(null)},i}(n.default);t.FragmentTracker=o}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/gap-controller.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/buffer-helper.js"),a=r("./src/errors.js"),n=r("./src/events.js"),s=r("./src/utils/logger.js"),o=function(){function e(e,t,r,i){this.config=e,this.media=t,this.fragmentTracker=r,this.hls=i,this.stallReported=!1}return e.prototype.poll=function(e,t){var r=this.config,a=this.media,n=a.currentTime,o=window.performance.now();if(n!==e)return this.stallReported&&(s.logger.warn("playback not stuck anymore @"+n+", after "+Math.round(o-this.stalled)+"ms"),this.stallReported=!1),this.stalled=null,void(this.nudgeRetry=0);if(!(a.ended||!a.buffered.length||a.readyState>2||a.seeking&&i.BufferHelper.isBuffered(a,n))){var l=o-this.stalled,u=i.BufferHelper.bufferInfo(a,n,r.maxBufferHole);this.stalled?(l>=1e3&&this._reportStall(u.len),this._tryFixBufferStall(u,l)):this.stalled=o}},e.prototype._tryFixBufferStall=function(e,t){var r=this.config,i=this.fragmentTracker,a=this.media.currentTime,n=i.getPartialFragment(a);n&&this._trySkipBufferHole(n),e.len>.5&&t>1e3*r.highBufferWatchdogPeriod&&(this.stalled=null,this._tryNudgeBuffer())},e.prototype._reportStall=function(e){var t=this.hls,r=this.media;this.stallReported||(this.stallReported=!0,s.logger.warn("Playback stalling at @"+r.currentTime+" due to low buffer"),t.trigger(n.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!1,buffer:e}))},e.prototype._trySkipBufferHole=function(e){for(var t=this.hls,r=this.media,i=r.currentTime,o=0,l=0;l<r.buffered.length;l++){var u=r.buffered.start(l);if(i>=o&&i<u)return r.currentTime=Math.max(u,r.currentTime+.1),s.logger.warn("skipping hole, adjusting currentTime from "+i+" to "+r.currentTime),this.stalled=null,void t.trigger(n.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+i+" to "+r.currentTime,frag:e});o=r.buffered.end(l)}},e.prototype._tryNudgeBuffer=function(){var e=this.config,t=this.hls,r=this.media,i=r.currentTime,o=(this.nudgeRetry||0)+1;if(this.nudgeRetry=o,o<e.nudgeMaxRetry){var l=i+o*e.nudgeOffset;s.logger.log("adjust currentTime from "+i+" to "+l),r.currentTime=l,t.trigger(n.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_NUDGE_ON_STALL,fatal:!1})}else s.logger.error("still stuck in high buffer @"+i+" after "+e.nudgeMaxRetry+", raise fatal error"),t.trigger(n.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.BUFFER_STALLED_ERROR,fatal:!0})},e}();t.default=o},"./src/controller/id3-track-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/demux/id3.js"),l=r("./src/utils/texttrack-utils.js"),u=function(e){function t(t){var r=e.call(this,t,n.default.MEDIA_ATTACHED,n.default.MEDIA_DETACHING,n.default.FRAG_PARSING_METADATA)||this;return r.id3Track=void 0,r.media=void 0,r}return a(t,e),t.prototype.destroy=function(){s.default.prototype.destroy.call(this)},t.prototype.onMediaAttached=function(e){this.media=e.media,this.media},t.prototype.onMediaDetaching=function(){l.clearCurrentCues(this.id3Track),this.id3Track=void 0,this.media=void 0},t.prototype.getID3Track=function(e){for(var t=0;t<e.length;t++){var r=e[t];if("metadata"===r.kind&&"id3"===r.label)return l.sendAddTrackEvent(r,this.media),r}return this.media.addTextTrack("metadata","id3")},t.prototype.onFragParsingMetadata=function(e){var t=e.frag,r=e.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var i=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,a=0;a<r.length;a++){var n=o.default.getID3Frames(r[a].data);if(n){var s=r[a].pts,l=a<r.length-1?r[a+1].pts:t.endPTS;s===l&&(l+=1e-4);for(var u=0;u<n.length;u++){var d=n[u];if(!o.default.isTimeStampFrame(d)){var c=new i(s,l,"");c.value=d,this.id3Track.addCue(c)}}}}},t}(s.default);t.default=u},"./src/controller/level-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n,o=r("./src/events.js"),l=r("./src/event-handler.js"),u=r("./src/utils/logger.js"),d=r("./src/errors.js"),c=r("./src/utils/codecs.js"),f=r("./src/controller/level-helper.js"),h=(window.performance,function(e){function t(t){var r=e.call(this,t,o.default.MANIFEST_LOADED,o.default.LEVEL_LOADED,o.default.AUDIO_TRACK_SWITCHED,o.default.FRAG_LOADED,o.default.ERROR)||this;return r.canload=!1,r.currentLevelIndex=null,r.manualLevelIndex=-1,r.timer=null,n=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),r}return a(t,e),t.prototype.onHandlerDestroying=function(){this.clearTimer(),this.manualLevelIndex=-1},t.prototype.clearTimer=function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)},t.prototype.startLoad=function(){var e=this._levels;this.canload=!0,this.levelRetryCount=0,e&&e.forEach(function(e){e.loadError=0;var t=e.details;t&&t.live&&(e.details=void 0)}),null!==this.timer&&this.loadLevel()},t.prototype.stopLoad=function(){this.canload=!1},t.prototype.onManifestLoaded=function(e){var t,r=[],i=[],a={},s=null,l=!1,h=!1;if(e.levels.forEach(function(e){var t=e.attrs;e.loadError=0,e.fragmentError=!1,l=l||!!e.videoCodec,h=h||!!e.audioCodec,n&&e.audioCodec&&-1!==e.audioCodec.indexOf("mp4a.40.34")&&(e.audioCodec=void 0),(s=a[e.bitrate])?s.url.push(e.url):(e.url=[e.url],e.urlId=0,a[e.bitrate]=e,r.push(e)),t&&(t.AUDIO&&(h=!0,f.addGroupId(s||e,"audio",t.AUDIO)),t.SUBTITLES&&f.addGroupId(s||e,"text",t.SUBTITLES))}),l&&h&&(r=r.filter(function(e){return!!e.videoCodec})),r=r.filter(function(e){var t=e.audioCodec,r=e.videoCodec;return(!t||c.isCodecSupportedInMp4(t,"audio"))&&(!r||c.isCodecSupportedInMp4(r,"video"))}),e.audioTracks&&(i=e.audioTracks.filter(function(e){return!e.audioCodec||c.isCodecSupportedInMp4(e.audioCodec,"audio")})).forEach(function(e,t){e.id=t}),r.length>0){t=r[0].bitrate,r.sort(function(e,t){return e.bitrate-t.bitrate}),this._levels=r;for(var p=0;p<r.length;p++)if(r[p].bitrate===t){this._firstLevel=p,u.logger.log("manifest loaded,"+r.length+" level(s) found, first bitrate:"+t);break}this.hls.trigger(o.default.MANIFEST_PARSED,{levels:r,audioTracks:i,firstLevel:this._firstLevel,stats:e.stats,audio:h,video:l,altAudio:i.some(function(e){return!!e.url})})}else this.hls.trigger(o.default.ERROR,{type:d.ErrorTypes.MEDIA_ERROR,details:d.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})},Object.defineProperty(t.prototype,"levels",{get:function(){return this._levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"level",{get:function(){return this.currentLevelIndex},set:function(e){var t=this._levels;t&&(e=Math.min(e,t.length-1),this.currentLevelIndex===e&&t[e].details||this.setLevelInternal(e))},enumerable:!0,configurable:!0}),t.prototype.setLevelInternal=function(e){var t=this._levels,r=this.hls;if(e>=0&&e<t.length){if(this.clearTimer(),this.currentLevelIndex!==e){u.logger.log("switching to level "+e),this.currentLevelIndex=e;var i=t[e];i.level=e,r.trigger(o.default.LEVEL_SWITCHING,i)}var a=t[e],n=a.details;if(!n||n.live){var s=a.urlId;r.trigger(o.default.LEVEL_LOADING,{url:a.url[s],level:e,id:s})}}else r.trigger(o.default.ERROR,{type:d.ErrorTypes.OTHER_ERROR,details:d.ErrorDetails.LEVEL_SWITCH_ERROR,level:e,fatal:!1,reason:"invalid level idx"})},Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.manualLevelIndex},set:function(e){this.manualLevelIndex=e,void 0===this._startLevel&&(this._startLevel=e),-1!==e&&(this.level=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return this._firstLevel},set:function(e){this._firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){if(void 0===this._startLevel){var e=this.hls.config.startLevel;return void 0!==e?e:this._firstLevel}return this._startLevel},set:function(e){this._startLevel=e},enumerable:!0,configurable:!0}),t.prototype.onError=function(e){if(e.fatal)e.type===d.ErrorTypes.NETWORK_ERROR&&this.clearTimer();else{var t,r=!1,i=!1;switch(e.details){case d.ErrorDetails.FRAG_LOAD_ERROR:case d.ErrorDetails.FRAG_LOAD_TIMEOUT:case d.ErrorDetails.KEY_LOAD_ERROR:case d.ErrorDetails.KEY_LOAD_TIMEOUT:t=e.frag.level,i=!0;break;case d.ErrorDetails.LEVEL_LOAD_ERROR:case d.ErrorDetails.LEVEL_LOAD_TIMEOUT:t=e.context.level,r=!0;break;case d.ErrorDetails.REMUX_ALLOC_ERROR:t=e.level,r=!0}void 0!==t&&this.recoverLevel(e,t,r,i)}},t.prototype.recoverLevel=function(e,t,r,i){var a,n,s,o=this,l=this.hls.config,d=e.details,c=this._levels[t];if(c.loadError++,c.fragmentError=i,r){if(!(this.levelRetryCount+1<=l.levelLoadingMaxRetry))return u.logger.error("level controller, cannot recover from "+d+" error"),this.currentLevelIndex=null,this.clearTimer(),void(e.fatal=!0);n=Math.min(Math.pow(2,this.levelRetryCount)*l.levelLoadingRetryDelay,l.levelLoadingMaxRetryTimeout),this.timer=setTimeout(function(){return o.loadLevel()},n),e.levelRetry=!0,this.levelRetryCount++,u.logger.warn("level controller, "+d+", retry in "+n+" ms, current retry count is "+this.levelRetryCount)}(r||i)&&((a=c.url.length)>1&&c.loadError<a?(c.urlId=(c.urlId+1)%a,c.details=void 0,u.logger.warn("level controller, "+d+" for level "+t+": switching to redundant URL-id "+c.urlId)):-1===this.manualLevelIndex?(s=0===t?this._levels.length-1:t-1,u.logger.warn("level controller, "+d+": switch to "+s),this.hls.nextAutoLevel=this.currentLevelIndex=s):i&&(u.logger.warn("level controller, "+d+": reload a fragment"),this.currentLevelIndex=null))},t.prototype.onFragLoaded=function(e){var t=e.frag;if(void 0!==t&&"main"===t.type){var r=this._levels[t.level];void 0!==r&&(r.fragmentError=!1,r.loadError=0,this.levelRetryCount=0)}},t.prototype.onLevelLoaded=function(e){var t=this,r=e.level,i=e.details;if(r===this.currentLevelIndex){var a=this._levels[r];if(a.fragmentError||(a.loadError=0,this.levelRetryCount=0),i.live){var n=f.computeReloadInterval(a.details,i,e.stats.trequest);u.logger.log("live playlist, reload in "+Math.round(n)+" ms"),this.timer=setTimeout(function(){return t.loadLevel()},n)}else this.clearTimer()}},t.prototype.onAudioTrackSwitched=function(e){var t=this.hls.audioTracks[e.id].groupId,r=this.hls.levels[this.currentLevelIndex];if(r&&r.audioGroupIds){for(var i=-1,a=0;a<r.audioGroupIds.length;a++)if(r.audioGroupIds[a]===t){i=a;break}i!==r.urlId&&(r.urlId=i,this.startLoad())}},t.prototype.loadLevel=function(){if(u.logger.debug("call to loadLevel"),null!==this.currentLevelIndex&&this.canload){var e=this._levels[this.currentLevelIndex];if("object"===s(e)&&e.url.length>0){var t=this.currentLevelIndex,r=e.urlId,i=e.url[r];u.logger.log("Attempt loading level index "+t+" with URL-id "+r),this.hls.trigger(o.default.LEVEL_LOADING,{url:i,level:t,id:r})}}},Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(e){this.level=e,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=e)},enumerable:!0,configurable:!0}),t}(l.default));t.default=h},"./src/controller/level-helper.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js");function a(t,r,a){var n=t[r],s=t[a],o=s.startPTS;e.isFinite(o)?a>r?(n.duration=o-n.start,n.duration<0&&i.logger.warn("negative duration computed for frag "+n.sn+",level "+n.level+", there should be some duration drift between playlist and fragment!")):(s.duration=n.start-o,s.duration<0&&i.logger.warn("negative duration computed for frag "+s.sn+",level "+s.level+", there should be some duration drift between playlist and fragment!")):s.start=a>r?n.start+n.duration:Math.max(n.start-s.duration,0)}function n(t,r,i,n,s,o){var l=i;if(e.isFinite(r.startPTS)){var u=Math.abs(r.startPTS-i);e.isFinite(r.deltaPTS)?r.deltaPTS=Math.max(u,r.deltaPTS):r.deltaPTS=u,l=Math.max(i,r.startPTS),i=Math.min(i,r.startPTS),n=Math.max(n,r.endPTS),s=Math.min(s,r.startDTS),o=Math.max(o,r.endDTS)}var d=i-r.start;r.start=r.startPTS=i,r.maxStartPTS=l,r.endPTS=n,r.startDTS=s,r.endDTS=o,r.duration=n-i;var c,f,h,p=r.sn;if(!t||p<t.startSN||p>t.endSN)return 0;for(c=p-t.startSN,(f=t.fragments)[c]=r,h=c;h>0;h--)a(f,h,h-1);for(h=c;h<f.length-1;h++)a(f,h,h+1);return t.PTSKnown=!0,d}function s(e,t,r){if(e&&t)for(var i=Math.max(e.startSN,t.startSN)-t.startSN,a=Math.min(e.endSN,t.endSN)-t.startSN,n=t.startSN-e.startSN,s=i;s<=a;s++){var o=e.fragments[n+s],l=t.fragments[s];if(!o||!l)break;r(o,l,s)}}function o(e,t){var r=t.startSN-e.startSN,i=e.fragments,a=t.fragments;if(!(r<0||r>i.length))for(var n=0;n<a.length;n++)a[n].start+=i[r].start}t.addGroupId=function(e,t,r){switch(t){case"audio":e.audioGroupIds||(e.audioGroupIds=[]),e.audioGroupIds.push(r);break;case"text":e.textGroupIds||(e.textGroupIds=[]),e.textGroupIds.push(r)}},t.updatePTS=a,t.updateFragPTSDTS=n,t.mergeDetails=function(t,r){r.initSegment&&t.initSegment&&(r.initSegment=t.initSegment);var a,l=0;if(s(t,r,function(t,i){l=t.cc-i.cc,e.isFinite(t.startPTS)&&(i.start=i.startPTS=t.startPTS,i.endPTS=t.endPTS,i.duration=t.duration,i.backtracked=t.backtracked,i.dropped=t.dropped,a=i),r.PTSKnown=!0}),r.PTSKnown){if(l){i.logger.log("discontinuity sliding from playlist, take drift into account");for(var u=r.fragments,d=0;d<u.length;d++)u[d].cc+=l}a?n(r,a,a.startPTS,a.endPTS,a.startDTS,a.endDTS):o(t,r),r.PTSKnown=t.PTSKnown}},t.mergeSubtitlePlaylists=function(e,t,r){void 0===r&&(r=0);var i=-1;s(e,t,function(e,t,r){t.start=e.start,i=r});var a=t.fragments;if(i<0)a.forEach(function(e){e.start+=r});else for(var n=i+1;n<a.length;n++)a[n].start=a[n-1].start+a[n-1].duration},t.mapFragmentIntersection=s,t.adjustSliding=o,t.computeReloadInterval=function(e,t,r){var i=1e3*(t.averagetargetduration?t.averagetargetduration:t.targetduration),a=i/2;return e&&t.endSN===e.endSN&&(i=a),r&&(i=Math.max(a,i-(window.performance.now()-r))),Math.round(i)}}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/stream-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/utils/binary-search.js"),s=r("./src/utils/buffer-helper.js"),o=r("./src/demux/demuxer.js"),l=r("./src/events.js"),u=r("./src/controller/fragment-tracker.js"),d=r("./src/loader/fragment.js"),c=r("./src/loader/playlist-loader.js"),f=r("./src/controller/level-helper.js"),h=r("./src/utils/time-ranges.js"),p=r("./src/errors.js"),g=r("./src/utils/logger.js"),v=r("./src/utils/discontinuities.js"),m=r("./src/controller/fragment-finders.js"),y=r("./src/controller/gap-controller.js"),E=r("./src/controller/base-stream-controller.js"),_=function(t){function r(e,r){var i=t.call(this,e,l.default.MEDIA_ATTACHED,l.default.MEDIA_DETACHING,l.default.MANIFEST_LOADING,l.default.MANIFEST_PARSED,l.default.LEVEL_LOADED,l.default.KEY_LOADED,l.default.FRAG_LOADED,l.default.FRAG_LOAD_EMERGENCY_ABORTED,l.default.FRAG_PARSING_INIT_SEGMENT,l.default.FRAG_PARSING_DATA,l.default.FRAG_PARSED,l.default.ERROR,l.default.AUDIO_TRACK_SWITCHING,l.default.AUDIO_TRACK_SWITCHED,l.default.BUFFER_CREATED,l.default.BUFFER_APPENDED,l.default.BUFFER_FLUSHED)||this;return i.fragmentTracker=r,i.config=e.config,i.audioCodecSwap=!1,i._state=E.State.STOPPED,i.stallReported=!1,i.gapController=null,i}return a(r,t),r.prototype.startLoad=function(e){if(this.levels){var t=this.lastCurrentTime,r=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var i=r.startLevel;-1===i&&(i=0,this.bitrateTest=!0),this.level=r.nextLoadLevel=i,this.loadedmetadata=!1}t>0&&-1===e&&(g.logger.log("override startPosition with lastCurrentTime @"+t.toFixed(3)),e=t),this.state=E.State.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=e,this.tick()}else this.forceStartLoad=!0,this.state=E.State.STOPPED},r.prototype.stopLoad=function(){this.forceStartLoad=!1,t.prototype.stopLoad.call(this)},r.prototype.doTick=function(){switch(this.state){case E.State.BUFFER_FLUSHING:this.fragLoadError=0;break;case E.State.IDLE:this._doTickIdle();break;case E.State.WAITING_LEVEL:var e=this.levels[this.level];e&&e.details&&(this.state=E.State.IDLE);break;case E.State.FRAG_LOADING_WAITING_RETRY:var t=window.performance.now(),r=this.retryDate;(!r||t>=r||this.media&&this.media.seeking)&&(g.logger.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=E.State.IDLE);break;case E.State.ERROR:case E.State.STOPPED:case E.State.FRAG_LOADING:case E.State.PARSING:case E.State.PARSED:case E.State.ENDED:}this._checkBuffer(),this._checkFragmentChanged()},r.prototype._doTickIdle=function(){var e=this.hls,t=e.config,r=this.media;if(void 0!==this.levelLastLoaded&&(r||!this.startFragRequested&&t.startFragPrefetch)){var i;i=this.loadedmetadata?r.currentTime:this.nextLoadPosition;var a=e.nextLoadLevel,n=this.levels[a];if(n){var o,u=n.bitrate;o=u?Math.max(8*t.maxBufferSize/u,t.maxBufferLength):t.maxBufferLength,o=Math.min(o,t.maxMaxBufferLength);var d=s.BufferHelper.bufferInfo(this.mediaBuffer?this.mediaBuffer:r,i,t.maxBufferHole),c=d.len;if(!(c>=o)){g.logger.trace("buffer length of "+c.toFixed(3)+" is below max of "+o.toFixed(3)+". checking for more payload ..."),this.level=e.nextLoadLevel=a;var f=n.details;if(!f||f.live&&this.levelLastLoaded!==a)this.state=E.State.WAITING_LEVEL;else{if(this._streamEnded(d,f)){var h={};return this.altAudio&&(h.type="video"),this.hls.trigger(l.default.BUFFER_EOS,h),void(this.state=E.State.ENDED)}this._fetchPayloadOrEos(i,d,f)}}}}},r.prototype._fetchPayloadOrEos=function(e,t,r){var i=this.fragPrevious,a=this.level,n=r.fragments,s=n.length;if(0!==s){var o,l=n[0].start,u=n[s-1].start+n[s-1].duration,d=t.end;if(r.initSegment&&!r.initSegment.data)o=r.initSegment;else if(r.live){var c=this.config.initialLiveManifestSize;if(s<c)return void g.logger.warn("Can not start playback of a level, reason: not enough fragments "+s+" < "+c);if(null===(o=this._ensureFragmentAtLivePoint(r,d,l,u,i,n,s)))return}else d<l&&(o=n[0]);o||(o=this._findFragment(l,i,s,n,d,u,r)),o&&(o.encrypted?(g.logger.log("Loading key for "+o.sn+" of ["+r.startSN+" ,"+r.endSN+"],level "+a),this._loadKey(o)):(g.logger.log("Loading "+o.sn+" of ["+r.startSN+" ,"+r.endSN+"],level "+a+", currentTime:"+e.toFixed(3)+",bufferEnd:"+d.toFixed(3)),this._loadFragment(o)))}},r.prototype._ensureFragmentAtLivePoint=function(e,t,r,i,a,s,o){var l,u=this.hls.config,d=this.media,c=void 0!==u.liveMaxLatencyDuration?u.liveMaxLatencyDuration:u.liveMaxLatencyDurationCount*e.targetduration;if(t<Math.max(r-u.maxFragLookUpTolerance,i-c)){var f=this.liveSyncPosition=this.computeLivePosition(r,e);g.logger.log("buffer end: "+t.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+f.toFixed(3)),t=f,d&&d.readyState&&d.duration>f&&(d.currentTime=f),this.nextLoadPosition=f}if(e.PTSKnown&&t>i&&d&&d.readyState)return null;if(this.startFragRequested&&!e.PTSKnown){if(a)if(e.hasProgramDateTime)g.logger.log("live playlist, switching playlist, load frag with same PDT: "+a.programDateTime),l=m.findFragmentByPDT(s,a.endProgramDateTime,u.maxFragLookUpTolerance);else{var h=a.sn+1;if(h>=e.startSN&&h<=e.endSN){var p=s[h-e.startSN];a.cc===p.cc&&(l=p,g.logger.log("live playlist, switching playlist, load frag with next SN: "+l.sn))}l||(l=n.default.search(s,function(e){return a.cc-e.cc}))&&g.logger.log("live playlist, switching playlist, load frag with same CC: "+l.sn)}l||(l=s[Math.min(o-1,Math.round(o/2))],g.logger.log("live playlist, switching playlist, unknown, load middle frag : "+l.sn))}return l},r.prototype._findFragment=function(e,t,r,i,a,n,s){var o,l=this.hls.config;if(a<n){var u=a>n-l.maxFragLookUpTolerance?0:l.maxFragLookUpTolerance;o=m.findFragmentByPTS(t,i,a,u)}else o=i[r-1];if(o){var d=o.sn-s.startSN,c=t&&o.level===t.level,f=i[d-1],h=i[d+1];if(t&&o.sn===t.sn)if(c&&!o.backtracked)if(o.sn<s.endSN){var p=t.deltaPTS;p&&p>l.maxBufferHole&&t.dropped&&d?(o=f,g.logger.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this")):(o=h,g.logger.log("SN just loaded, load next one: "+o.sn,o))}else o=null;else o.backtracked&&(h&&h.backtracked?(g.logger.warn("Already backtracked from fragment "+h.sn+", will not backtrack to fragment "+o.sn+". Loading fragment "+h.sn),o=h):(g.logger.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),o.dropped=0,f?(o=f).backtracked=!0:d&&(o=null)))}return o},r.prototype._loadKey=function(e){this.state=E.State.KEY_LOADING,this.hls.trigger(l.default.KEY_LOADING,{frag:e})},r.prototype._loadFragment=function(t){var r=this.fragmentTracker.getState(t);this.fragCurrent=t,this.startFragRequested=!0,e.isFinite(t.sn)&&!t.bitrateTest&&(this.nextLoadPosition=t.start+t.duration),t.backtracked||r===u.FragmentState.NOT_LOADED||r===u.FragmentState.PARTIAL?(t.autoLevel=this.hls.autoLevelEnabled,t.bitrateTest=this.bitrateTest,this.hls.trigger(l.default.FRAG_LOADING,{frag:t}),this.demuxer||(this.demuxer=new o.default(this.hls,"main")),this.state=E.State.FRAG_LOADING):r===u.FragmentState.APPENDING&&this._reduceMaxBufferLength(t.duration)&&this.fragmentTracker.removeFragment(t)},Object.defineProperty(r.prototype,"state",{get:function(){return this._state},set:function(e){if(this.state!==e){var t=this.state;this._state=e,g.logger.log("main stream:"+t+"->"+e),this.hls.trigger(l.default.STREAM_STATE_TRANSITION,{previousState:t,nextState:e})}},enumerable:!0,configurable:!0}),r.prototype.getBufferedFrag=function(e){return this.fragmentTracker.getBufferedFrag(e,c.default.LevelType.MAIN)},Object.defineProperty(r.prototype,"currentLevel",{get:function(){var e=this.media;if(e){var t=this.getBufferedFrag(e.currentTime);if(t)return t.level}return-1},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"nextBufferedFrag",{get:function(){var e=this.media;return e?this.followingBufferedFrag(this.getBufferedFrag(e.currentTime)):null},enumerable:!0,configurable:!0}),r.prototype.followingBufferedFrag=function(e){return e?this.getBufferedFrag(e.endPTS+.5):null},Object.defineProperty(r.prototype,"nextLevel",{get:function(){var e=this.nextBufferedFrag;return e?e.level:-1},enumerable:!0,configurable:!0}),r.prototype._checkFragmentChanged=function(){var e,t,r=this.media;if(r&&r.readyState&&!1===r.seeking&&((t=r.currentTime)>this.lastCurrentTime&&(this.lastCurrentTime=t),s.BufferHelper.isBuffered(r,t)?e=this.getBufferedFrag(t):s.BufferHelper.isBuffered(r,t+.1)&&(e=this.getBufferedFrag(t+.1)),e)){var i=e;if(i!==this.fragPlaying){this.hls.trigger(l.default.FRAG_CHANGED,{frag:i});var a=i.level;this.fragPlaying&&this.fragPlaying.level===a||this.hls.trigger(l.default.LEVEL_SWITCHED,{level:a}),this.fragPlaying=i}}},r.prototype.immediateLevelSwitch=function(){if(g.logger.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var t=this.media,r=void 0;t?(r=t.paused,t.pause()):r=!0,this.previouslyPaused=r}var i=this.fragCurrent;i&&i.loader&&i.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(0,e.POSITIVE_INFINITY)},r.prototype.immediateLevelSwitchEnd=function(){var e=this.media;e&&e.buffered.length&&(this.immediateSwitch=!1,s.BufferHelper.isBuffered(e,e.currentTime)&&(e.currentTime-=1e-4),this.previouslyPaused||e.play())},r.prototype.nextLevelSwitch=function(){var t=this.media;if(t&&t.readyState){var r,i=void 0,a=void 0;if((r=this.getBufferedFrag(t.currentTime))&&r.startPTS>1&&this.flushMainBuffer(0,r.startPTS-1),t.paused)i=0;else{var n=this.hls.nextLoadLevel,s=this.levels[n],o=this.fragLastKbps;i=o&&this.fragCurrent?this.fragCurrent.duration*s.bitrate/(1e3*o)+1:0}if((a=this.getBufferedFrag(t.currentTime+i))&&(a=this.followingBufferedFrag(a))){var l=this.fragCurrent;l&&l.loader&&l.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(a.maxStartPTS,e.POSITIVE_INFINITY)}}},r.prototype.flushMainBuffer=function(e,t){this.state=E.State.BUFFER_FLUSHING;var r={startOffset:e,endOffset:t};this.altAudio&&(r.type="video"),this.hls.trigger(l.default.BUFFER_FLUSHING,r)},r.prototype.onMediaAttached=function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("seeked",this.onvseeked),t.addEventListener("ended",this.onvended);var r=this.config;this.levels&&r.autoStartLoad&&this.hls.startLoad(r.startPosition),this.gapController=new y.default(r,t,this.fragmentTracker,this.hls)},r.prototype.onMediaDetaching=function(){var e=this.media;e&&e.ended&&(g.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var t=this.levels;t&&t.forEach(function(e){e.details&&e.details.fragments.forEach(function(e){e.backtracked=void 0})}),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("seeked",this.onvseeked),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()},r.prototype.onMediaSeeked=function(){var t=this.media,r=t?t.currentTime:void 0;e.isFinite(r)&&g.logger.log("media seeked to "+r.toFixed(3)),this.tick()},r.prototype.onManifestLoading=function(){g.logger.log("trigger BUFFER_RESET"),this.hls.trigger(l.default.BUFFER_RESET),this.fragmentTracker.removeAllFragments(),this.stalled=!1,this.startPosition=this.lastCurrentTime=0},r.prototype.onManifestParsed=function(e){var t,r=!1,i=!1;e.levels.forEach(function(e){(t=e.audioCodec)&&(-1!==t.indexOf("mp4a.40.2")&&(r=!0),-1!==t.indexOf("mp4a.40.5")&&(i=!0))}),this.audioCodecSwitch=r&&i,this.audioCodecSwitch&&g.logger.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=e.levels,this.startFragRequested=!1;var a=this.config;(a.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(a.startPosition)},r.prototype.onLevelLoaded=function(t){var r=t.details,i=t.level,a=this.levels[this.levelLastLoaded],n=this.levels[i],s=r.totalduration,o=0;if(g.logger.log("level "+i+" loaded ["+r.startSN+","+r.endSN+"],duration:"+s),r.live){var u=n.details;u&&r.fragments.length>0?(f.mergeDetails(u,r),o=r.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(o,u),r.PTSKnown&&e.isFinite(o)?g.logger.log("live playlist sliding:"+o.toFixed(3)):(g.logger.log("live playlist - outdated PTS, unknown sliding"),v.alignStream(this.fragPrevious,a,r))):(g.logger.log("live playlist - first load, unknown sliding"),r.PTSKnown=!1,v.alignStream(this.fragPrevious,a,r))}else r.PTSKnown=!1;if(n.details=r,this.levelLastLoaded=i,this.hls.trigger(l.default.LEVEL_UPDATED,{details:r,level:i}),!1===this.startFragRequested){if(-1===this.startPosition||-1===this.lastCurrentTime){var d=r.startTimeOffset;e.isFinite(d)?(d<0&&(g.logger.log("negative start time offset "+d+", count from end of last fragment"),d=o+s+d),g.logger.log("start time offset found in playlist, adjust startPosition to "+d),this.startPosition=d):r.live?(this.startPosition=this.computeLivePosition(o,r),g.logger.log("configure startPosition to "+this.startPosition)):this.startPosition=0,this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===E.State.WAITING_LEVEL&&(this.state=E.State.IDLE),this.tick()},r.prototype.onKeyLoaded=function(){this.state===E.State.KEY_LOADING&&(this.state=E.State.IDLE,this.tick())},r.prototype.onFragLoaded=function(e){var t=this.fragCurrent,r=this.hls,i=this.levels,a=this.media,n=e.frag;if(this.state===E.State.FRAG_LOADING&&t&&"main"===n.type&&n.level===t.level&&n.sn===t.sn){var s=e.stats,u=i[t.level],d=u.details;if(this.bitrateTest=!1,this.stats=s,g.logger.log("Loaded "+t.sn+" of ["+d.startSN+" ,"+d.endSN+"],level "+t.level),n.bitrateTest&&r.nextLoadLevel)this.state=E.State.IDLE,this.startFragRequested=!1,s.tparsed=s.tbuffered=window.performance.now(),r.trigger(l.default.FRAG_BUFFERED,{stats:s,frag:t,id:"main"}),this.tick();else if("initSegment"===n.sn)this.state=E.State.IDLE,s.tparsed=s.tbuffered=window.performance.now(),d.initSegment.data=e.payload,r.trigger(l.default.FRAG_BUFFERED,{stats:s,frag:t,id:"main"}),this.tick();else{g.logger.log("Parsing "+t.sn+" of ["+d.startSN+" ,"+d.endSN+"],level "+t.level+", cc "+t.cc),this.state=E.State.PARSING,this.pendingBuffering=!0,this.appended=!1,n.bitrateTest&&(n.bitrateTest=!1,this.fragmentTracker.onFragLoaded({frag:n}));var c=!(a&&a.seeking)&&(d.PTSKnown||!d.live),f=d.initSegment?d.initSegment.data:[],h=this._getAudioCodec(u);(this.demuxer=this.demuxer||new o.default(this.hls,"main")).push(e.payload,f,h,u.videoCodec,t,d.totalduration,c)}}this.fragLoadError=0},r.prototype.onFragParsingInitSegment=function(e){var t=this.fragCurrent,r=e.frag;if(t&&"main"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===E.State.PARSING){var i=e.tracks,a=void 0,n=void 0;if(i.audio&&this.altAudio&&delete i.audio,n=i.audio){var s=this.levels[this.level].audioCodec,o=navigator.userAgent.toLowerCase();s&&this.audioCodecSwap&&(g.logger.log("swapping playlist audio codec"),s=-1!==s.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==n.metadata.channelCount&&-1===o.indexOf("firefox")&&(s="mp4a.40.5"),-1!==o.indexOf("android")&&"audio/mpeg"!==n.container&&(s="mp4a.40.2",g.logger.log("Android: force audio codec to "+s)),n.levelCodec=s,n.id=e.id}for(a in(n=i.video)&&(n.levelCodec=this.levels[this.level].videoCodec,n.id=e.id),this.hls.trigger(l.default.BUFFER_CODECS,i),i){n=i[a],g.logger.log("main track:"+a+",container:"+n.container+",codecs[level/parsed]=["+n.levelCodec+"/"+n.codec+"]");var u=n.initSegment;u&&(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(l.default.BUFFER_APPENDING,{type:a,data:u,parent:"main",content:"initSegment"}))}this.tick()}},r.prototype.onFragParsingData=function(t){var r=this,i=this.fragCurrent,a=t.frag;if(i&&"main"===t.id&&a.sn===i.sn&&a.level===i.level&&("audio"!==t.type||!this.altAudio)&&this.state===E.State.PARSING){var n=this.levels[this.level],s=i;if(e.isFinite(t.endPTS)||(t.endPTS=t.startPTS+i.duration,t.endDTS=t.startDTS+i.duration),!0===t.hasAudio&&s.addElementaryStream(d.default.ElementaryStreamTypes.AUDIO),!0===t.hasVideo&&s.addElementaryStream(d.default.ElementaryStreamTypes.VIDEO),g.logger.log("Parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb+",dropped:"+(t.dropped||0)),"video"===t.type)if(s.dropped=t.dropped,s.dropped)if(s.backtracked)g.logger.warn("Already backtracked on this fragment, appending with the gap",s.sn);else{var o=n.details;if(!o||s.sn!==o.startSN)return g.logger.warn("missing video frame(s), backtracking fragment",s.sn),this.fragmentTracker.removeFragment(s),s.backtracked=!0,this.nextLoadPosition=t.startPTS,this.state=E.State.IDLE,this.fragPrevious=s,void this.tick();g.logger.warn("missing video frame(s) on first frag, appending with gap",s.sn)}else s.backtracked=!1;var u=f.updateFragPTSDTS(n.details,s,t.startPTS,t.endPTS,t.startDTS,t.endDTS),c=this.hls;c.trigger(l.default.LEVEL_PTS_UPDATED,{details:n.details,level:this.level,drift:u,type:t.type,start:t.startPTS,end:t.endPTS}),[t.data1,t.data2].forEach(function(e){e&&e.length&&r.state===E.State.PARSING&&(r.appended=!0,r.pendingBuffering=!0,c.trigger(l.default.BUFFER_APPENDING,{type:t.type,data:e,parent:"main",content:"data"}))}),this.tick()}},r.prototype.onFragParsed=function(e){var t=this.fragCurrent,r=e.frag;t&&"main"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===E.State.PARSING&&(this.stats.tparsed=window.performance.now(),this.state=E.State.PARSED,this._checkAppendedParsed())},r.prototype.onAudioTrackSwitching=function(t){var r=!!t.url,i=t.id;if(!r){if(this.mediaBuffer!==this.media){g.logger.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var a=this.fragCurrent;a.loader&&(g.logger.log("switching to main audio track, cancel main fragment load"),a.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=E.State.IDLE}var n=this.hls;n.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}),n.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:i}),this.altAudio=!1}},r.prototype.onAudioTrackSwitched=function(e){var t=e.id,r=!!this.hls.audioTracks[t].url;if(r){var i=this.videoBuffer;i&&this.mediaBuffer!==i&&(g.logger.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=i)}this.altAudio=r,this.tick()},r.prototype.onBufferCreated=function(e){var t,r,i=e.tracks,a=!1;for(var n in i){var s=i[n];"main"===s.id?(r=n,t=s,"video"===n&&(this.videoBuffer=i[n].buffer)):a=!0}a&&t?(g.logger.log("alternate track found, use "+r+".buffered to schedule main fragment loading"),this.mediaBuffer=t.buffer):this.mediaBuffer=this.media},r.prototype.onBufferAppended=function(e){if("main"===e.parent){var t=this.state;t!==E.State.PARSING&&t!==E.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}},r.prototype._checkAppendedParsed=function(){if(!(this.state!==E.State.PARSED||this.appended&&this.pendingBuffering)){var e=this.fragCurrent;if(e){var t=this.mediaBuffer?this.mediaBuffer:this.media;g.logger.log("main buffered : "+h.default.toString(t.buffered)),this.fragPrevious=e;var r=this.stats;r.tbuffered=window.performance.now(),this.fragLastKbps=Math.round(8*r.total/(r.tbuffered-r.tfirst)),this.hls.trigger(l.default.FRAG_BUFFERED,{stats:r,frag:e,id:"main"}),this.state=E.State.IDLE}this.tick()}},r.prototype.onError=function(t){var r=t.frag||this.fragCurrent;if(!r||"main"===r.type){var i=!!this.media&&s.BufferHelper.isBuffered(this.media,this.media.currentTime)&&s.BufferHelper.isBuffered(this.media,this.media.currentTime+.5);switch(t.details){case p.ErrorDetails.FRAG_LOAD_ERROR:case p.ErrorDetails.FRAG_LOAD_TIMEOUT:case p.ErrorDetails.KEY_LOAD_ERROR:case p.ErrorDetails.KEY_LOAD_TIMEOUT:if(!t.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var a=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);g.logger.warn("mediaController: frag loading failed, retry in "+a+" ms"),this.retryDate=window.performance.now()+a,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=E.State.FRAG_LOADING_WAITING_RETRY}else g.logger.error("mediaController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=E.State.ERROR;break;case p.ErrorDetails.LEVEL_LOAD_ERROR:case p.ErrorDetails.LEVEL_LOAD_TIMEOUT:this.state!==E.State.ERROR&&(t.fatal?(this.state=E.State.ERROR,g.logger.warn("streamController: "+t.details+",switch to "+this.state+" state ...")):t.levelRetry||this.state!==E.State.WAITING_LEVEL||(this.state=E.State.IDLE));break;case p.ErrorDetails.BUFFER_FULL_ERROR:"main"!==t.parent||this.state!==E.State.PARSING&&this.state!==E.State.PARSED||(i?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=E.State.IDLE):(g.logger.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,e.POSITIVE_INFINITY)))}}},r.prototype._reduceMaxBufferLength=function(e){var t=this.config;return t.maxMaxBufferLength>=e&&(t.maxMaxBufferLength/=2,g.logger.warn("main:reduce max buffer length to "+t.maxMaxBufferLength+"s"),!0)},r.prototype._checkBuffer=function(){var e=this.media;if(e&&0!==e.readyState){var t=(this.mediaBuffer?this.mediaBuffer:e).buffered;!this.loadedmetadata&&t.length?(this.loadedmetadata=!0,this._seekToStartPos()):this.immediateSwitch?this.immediateLevelSwitchEnd():this.gapController.poll(this.lastCurrentTime,t)}},r.prototype.onFragLoadEmergencyAborted=function(){this.state=E.State.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()},r.prototype.onBufferFlushed=function(){var e=this.mediaBuffer?this.mediaBuffer:this.media;e&&this.fragmentTracker.detectEvictedFragments(d.default.ElementaryStreamTypes.VIDEO,e.buffered),this.state=E.State.IDLE,this.fragPrevious=null},r.prototype.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},r.prototype.computeLivePosition=function(e,t){var r=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*t.targetduration;return e+Math.max(0,t.totalduration-r)},r.prototype._seekToStartPos=function(){var e=this.media,t=e.currentTime,r=e.seeking?t:this.startPosition;t!==r&&(g.logger.log("target start position not buffered, seek to buffered.start(0) "+r+" from current time "+t+" "),e.currentTime=r)},r.prototype._getAudioCodec=function(e){var t=this.config.defaultAudioCodec||e.audioCodec;return this.audioCodecSwap&&(g.logger.log("swapping playlist audio codec"),t&&(t=-1!==t.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5")),t},Object.defineProperty(r.prototype,"liveSyncPosition",{get:function(){return this._liveSyncPosition},set:function(e){this._liveSyncPosition=e},enumerable:!0,configurable:!0}),r}(E.default);t.default=_}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/subtitle-stream-controller.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/utils/logger.js"),o=r("./src/crypt/decrypter.js"),l=r("./src/utils/buffer-helper.js"),u=r("./src/controller/fragment-finders.js"),d=r("./src/controller/fragment-tracker.js"),c=r("./src/controller/base-stream-controller.js"),f=r("./src/controller/level-helper.js"),h=window.performance,p=function(e){function t(t,r){var i=e.call(this,t,n.default.MEDIA_ATTACHED,n.default.MEDIA_DETACHING,n.default.ERROR,n.default.KEY_LOADED,n.default.FRAG_LOADED,n.default.SUBTITLE_TRACKS_UPDATED,n.default.SUBTITLE_TRACK_SWITCH,n.default.SUBTITLE_TRACK_LOADED,n.default.SUBTITLE_FRAG_PROCESSED,n.default.LEVEL_UPDATED)||this;return i.fragmentTracker=r,i.config=t.config,i.state=c.State.STOPPED,i.tracks=[],i.tracksBuffered=[],i.currentTrackId=-1,i.decrypter=new o.default(t,t.config),i.lastAVStart=0,i._onMediaSeeking=i.onMediaSeeking.bind(i),i}return a(t,e),t.prototype.onSubtitleFragProcessed=function(e){var t=e.frag,r=e.success;if(this.fragPrevious=t,this.state=c.State.IDLE,r){var i=this.tracksBuffered[this.currentTrackId];if(i){for(var a,n=t.start,s=0;s<i.length;s++)if(n>=i[s].start&&n<=i[s].end){a=i[s];break}var o=t.start+t.duration;a?a.end=o:(a={start:n,end:o},i.push(a))}}},t.prototype.onMediaAttached=function(e){var t=e.media;this.media=t,t.addEventListener("seeking",this._onMediaSeeking),this.state=c.State.IDLE},t.prototype.onMediaDetaching=function(){this.media.removeEventListener("seeking",this._onMediaSeeking),this.media=null,this.state=c.State.STOPPED},t.prototype.onError=function(e){var t=e.frag;t&&"subtitle"===t.type&&(this.state=c.State.IDLE)},t.prototype.onSubtitleTracksUpdated=function(e){var t=this;s.logger.log("subtitle tracks updated"),this.tracksBuffered=[],this.tracks=e.subtitleTracks,this.tracks.forEach(function(e){t.tracksBuffered[e.id]=[]})},t.prototype.onSubtitleTrackSwitch=function(e){if(this.currentTrackId=e.id,this.tracks&&-1!==this.currentTrackId){var t=this.tracks[this.currentTrackId];t&&t.details&&this.setInterval(500)}else this.clearInterval()},t.prototype.onSubtitleTrackLoaded=function(e){var t=e.id,r=e.details,i=this.currentTrackId,a=this.tracks,n=a[i];t>=a.length||t!==i||!n||(r.live&&f.mergeSubtitlePlaylists(n.details,r,this.lastAVStart),n.details=r,this.setInterval(500))},t.prototype.onKeyLoaded=function(){this.state===c.State.KEY_LOADING&&(this.state=c.State.IDLE)},t.prototype.onFragLoaded=function(e){var t=this.fragCurrent,r=e.frag.decryptdata,i=e.frag,a=this.hls;if(this.state===c.State.FRAG_LOADING&&t&&"subtitle"===e.frag.type&&t.sn===e.frag.sn&&e.payload.byteLength>0&&r&&r.key&&"AES-128"===r.method){var s=h.now();this.decrypter.decrypt(e.payload,r.key.buffer,r.iv.buffer,function(e){var t=h.now();a.trigger(n.default.FRAG_DECRYPTED,{frag:i,payload:e,stats:{tstart:s,tdecrypt:t}})})}},t.prototype.onLevelUpdated=function(e){var t=e.details.fragments;this.lastAVStart=t.length?t[0].start:0},t.prototype.doTick=function(){if(this.media)switch(this.state){case c.State.IDLE:var e=this,t=e.config,r=e.currentTrackId,i=e.fragmentTracker,a=e.media,o=e.tracks;if(!o||!o[r]||!o[r].details)break;var f=t.maxBufferHole,h=t.maxFragLookUpTolerance,p=Math.min(t.maxBufferLength,t.maxMaxBufferLength),g=l.BufferHelper.bufferedInfo(this._getBuffered(),a.currentTime,f),v=g.end,m=g.len,y=o[r].details,E=y.fragments,_=E.length,T=E[_-1].start+E[_-1].duration;if(m>p)return;var S=void 0,b=this.fragPrevious;v<T?(b&&y.hasProgramDateTime&&(S=u.findFragmentByPDT(E,b.endProgramDateTime,h)),S||(S=u.findFragmentByPTS(b,E,v,h))):S=E[_-1],S&&S.encrypted?(s.logger.log("Loading key for "+S.sn),this.state=c.State.KEY_LOADING,this.hls.trigger(n.default.KEY_LOADING,{frag:S})):S&&i.getState(S)===d.FragmentState.NOT_LOADED&&(this.fragCurrent=S,this.state=c.State.FRAG_LOADING,this.hls.trigger(n.default.FRAG_LOADING,{frag:S}))}else this.state=c.State.IDLE},t.prototype.stopLoad=function(){this.lastAVStart=0,e.prototype.stopLoad.call(this)},t.prototype._getBuffered=function(){return this.tracksBuffered[this.currentTrackId]||[]},t.prototype.onMediaSeeking=function(){this.fragPrevious=null},t}(c.default);t.SubtitleStreamController=p},"./src/controller/subtitle-track-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/utils/logger.js"),l=r("./src/controller/level-helper.js"),u=function(t){function r(e){var r=t.call(this,e,n.default.MEDIA_ATTACHED,n.default.MEDIA_DETACHING,n.default.MANIFEST_LOADED,n.default.SUBTITLE_TRACK_LOADED)||this;return r.tracks=[],r.trackId=-1,r.media=null,r.stopped=!0,r.subtitleDisplay=!0,r}return a(r,t),r.prototype.destroy=function(){s.default.prototype.destroy.call(this)},r.prototype.onMediaAttached=function(e){var t=this;this.media=e.media,this.media&&(this.queuedDefaultTrack&&(this.subtitleTrack=this.queuedDefaultTrack,delete this.queuedDefaultTrack),this.trackChangeListener=this._onTextTracksChanged.bind(this),this.useTextTrackPolling=!(this.media.textTracks&&"onchange"in this.media.textTracks),this.useTextTrackPolling?this.subtitlePollingInterval=setInterval(function(){t.trackChangeListener()},500):this.media.textTracks.addEventListener("change",this.trackChangeListener))},r.prototype.onMediaDetaching=function(){this.media&&(this.useTextTrackPolling?clearInterval(this.subtitlePollingInterval):this.media.textTracks.removeEventListener("change",this.trackChangeListener),this.media=null)},r.prototype.onManifestLoaded=function(e){var t=this,r=e.subtitles||[];this.tracks=r,this.hls.trigger(n.default.SUBTITLE_TRACKS_UPDATED,{subtitleTracks:r}),r.forEach(function(e){e.default&&(t.media?t.subtitleTrack=e.id:t.queuedDefaultTrack=e.id)})},r.prototype.onSubtitleTrackLoaded=function(e){var t=this,r=e.id,i=e.details,a=this.trackId,n=this.tracks,s=n[a];if(r>=n.length||r!==a||!s||this.stopped)this._clearReloadTimer();else if(o.logger.log("subtitle track "+r+" loaded"),i.live){var u=l.computeReloadInterval(s.details,i,e.stats.trequest);o.logger.log("Reloading live subtitle playlist in "+u+"ms"),this.timer=setTimeout(function(){t._loadCurrentTrack()},u)}else this._clearReloadTimer()},r.prototype.startLoad=function(){this.stopped=!1,this._loadCurrentTrack()},r.prototype.stopLoad=function(){this.stopped=!0,this._clearReloadTimer()},Object.defineProperty(r.prototype,"subtitleTracks",{get:function(){return this.tracks},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"subtitleTrack",{get:function(){return this.trackId},set:function(e){this.trackId!==e&&(this._toggleTrackModes(e),this._setSubtitleTrackInternal(e))},enumerable:!0,configurable:!0}),r.prototype._clearReloadTimer=function(){this.timer&&(clearTimeout(this.timer),this.timer=null)},r.prototype._loadCurrentTrack=function(){var e=this.trackId,t=this.tracks,r=this.hls,i=t[e];e<0||!i||i.details&&!i.details.live||(o.logger.log("Loading subtitle track "+e),r.trigger(n.default.SUBTITLE_TRACK_LOADING,{url:i.url,id:e}))},r.prototype._toggleTrackModes=function(e){var t=this.media,r=this.subtitleDisplay,i=this.trackId;if(t){var a=d(t.textTracks);if(-1===e)[].slice.call(a).forEach(function(e){e.mode="disabled"});else{var n=a[i];n&&(n.mode="disabled")}var s=a[e];s&&(s.mode=r?"showing":"hidden")}},r.prototype._setSubtitleTrackInternal=function(t){var r=this.hls,i=this.tracks;!e.isFinite(t)||t<-1||t>=i.length||(this.trackId=t,o.logger.log("Switching to subtitle track "+t),r.trigger(n.default.SUBTITLE_TRACK_SWITCH,{id:t}),this._loadCurrentTrack())},r.prototype._onTextTracksChanged=function(){if(this.media){for(var e=-1,t=d(this.media.textTracks),r=0;r<t.length;r++)if("hidden"===t[r].mode)e=r;else if("showing"===t[r].mode){e=r;break}this.subtitleTrack=e}},r}(s.default);function d(e){for(var t=[],r=0;r<e.length;r++){var i=e[r];"subtitles"===i.kind&&i.label&&t.push(e[r])}return t}t.default=u}).call(this,r("./src/polyfills/number.js").Number)},"./src/controller/timeline-controller.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/utils/cea-608-parser.js"),l=r("./src/utils/output-filter.js"),u=r("./src/utils/webvtt-parser.js"),d=r("./src/utils/logger.js"),c=r("./src/utils/texttrack-utils.js");function f(e,t){return e&&e.label===t.name&&!(e.textTrack1||e.textTrack2)}var h=function(t){function r(e){var r=t.call(this,e,n.default.MEDIA_ATTACHING,n.default.MEDIA_DETACHING,n.default.FRAG_PARSING_USERDATA,n.default.FRAG_DECRYPTED,n.default.MANIFEST_LOADING,n.default.MANIFEST_LOADED,n.default.FRAG_LOADED,n.default.LEVEL_SWITCHING,n.default.INIT_PTS_FOUND)||this;if(r.hls=e,r.config=e.config,r.enabled=!0,r.Cues=e.config.cueHandler,r.textTracks=[],r.tracks=[],r.unparsedVttFrags=[],r.initPTS=[],r.cueRanges=[],r.captionsTracks={},r.captionsProperties={textTrack1:{label:r.config.captionsTextTrack1Label,languageCode:r.config.captionsTextTrack1LanguageCode},textTrack2:{label:r.config.captionsTextTrack2Label,languageCode:r.config.captionsTextTrack2LanguageCode}},r.config.enableCEA708Captions){var i=new l.default(r,"textTrack1"),a=new l.default(r,"textTrack2");r.cea608Parser=new o.default(0,i,a)}return r}return a(r,t),r.prototype.addCues=function(e,t,r,i){for(var a,n,s,o,l=this.cueRanges,u=!1,d=l.length;d--;){var c=l[d],f=(a=c[0],n=c[1],s=t,o=r,Math.min(n,o)-Math.max(a,s));if(f>=0&&(c[0]=Math.min(c[0],t),c[1]=Math.max(c[1],r),u=!0,f/(r-t)>.5))return}u||l.push([t,r]),this.Cues.newCue(this.captionsTracks[e],t,r,i)},r.prototype.onInitPtsFound=function(e){var t=this;if("main"===e.id&&(this.initPTS[e.frag.cc]=e.initPTS),this.unparsedVttFrags.length){var r=this.unparsedVttFrags;this.unparsedVttFrags=[],r.forEach(function(e){t.onFragLoaded(e)})}},r.prototype.getExistingTrack=function(e){var t=this.media;if(t)for(var r=0;r<t.textTracks.length;r++){var i=t.textTracks[r];if(i[e])return i}return null},r.prototype.createCaptionsTrack=function(e){var t=this.captionsProperties[e],r=t.label,i=t.languageCode,a=this.captionsTracks;if(!a[e]){var n=this.getExistingTrack(e);if(n)a[e]=n,c.clearCurrentCues(a[e]),c.sendAddTrackEvent(a[e],this.media);else{var s=this.createTextTrack("captions",r,i);s&&(s[e]=!0,a[e]=s)}}},r.prototype.createTextTrack=function(e,t,r){var i=this.media;if(i)return i.addTextTrack(e,t,r)},r.prototype.destroy=function(){s.default.prototype.destroy.call(this)},r.prototype.onMediaAttaching=function(e){this.media=e.media,this._cleanTracks()},r.prototype.onMediaDetaching=function(){var e=this.captionsTracks;Object.keys(e).forEach(function(t){c.clearCurrentCues(e[t]),delete e[t]})},r.prototype.onManifestLoading=function(){this.lastSn=-1,this.prevCC=-1,this.vttCCs={ccOffset:0,presentationOffset:0,0:{start:0,prevCC:-1,new:!1}},this._cleanTracks()},r.prototype._cleanTracks=function(){var e=this.media;if(e){var t=e.textTracks;if(t)for(var r=0;r<t.length;r++)c.clearCurrentCues(t[r])}},r.prototype.onManifestLoaded=function(e){var t=this;if(this.textTracks=[],this.unparsedVttFrags=this.unparsedVttFrags||[],this.initPTS=[],this.cueRanges=[],this.config.enableWebVTT){this.tracks=e.subtitles||[];var r=this.media?this.media.textTracks:[];this.tracks.forEach(function(e,i){var a;if(i<r.length){for(var n=null,s=0;s<r.length;s++)if(f(r[s],e)){n=r[s];break}n&&(a=n)}a||(a=t.createTextTrack("subtitles",e.name,e.lang)),e.default?a.mode=t.hls.subtitleDisplay?"showing":"hidden":a.mode="disabled",t.textTracks.push(a)})}},r.prototype.onLevelSwitching=function(){this.enabled="NONE"!==this.hls.currentLevel.closedCaptions},r.prototype.onFragLoaded=function(t){var r=t.frag,i=t.payload;if("main"===r.type){var a=r.sn;if(a!==this.lastSn+1){var s=this.cea608Parser;s&&s.reset()}this.lastSn=a}else if("subtitle"===r.type)if(i.byteLength){if(!e.isFinite(this.initPTS[r.cc]))return this.unparsedVttFrags.push(t),void(this.initPTS.length&&this.hls.trigger(n.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r}));var o=r.decryptdata;null!=o&&null!=o.key&&"AES-128"===o.method||this._parseVTTs(r,i)}else this.hls.trigger(n.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:r})},r.prototype._parseVTTs=function(e,t){var r=this.vttCCs;r[e.cc]||(r[e.cc]={start:e.start,prevCC:this.prevCC,new:!0},this.prevCC=e.cc);var i=this.textTracks,a=this.hls;u.default.parse(t,this.initPTS[e.cc],r,e.cc,function(t){var r=i[e.level];"disabled"!==r.mode?(t.forEach(function(e){if(!r.cues.getCueById(e.id))try{r.addCue(e)}catch(i){var t=new window.TextTrackCue(e.startTime,e.endTime,e.text);t.id=e.id,r.addCue(t)}}),a.trigger(n.default.SUBTITLE_FRAG_PROCESSED,{success:!0,frag:e})):a.trigger(n.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})},function(t){d.logger.log("Failed to parse VTT cue: "+t),a.trigger(n.default.SUBTITLE_FRAG_PROCESSED,{success:!1,frag:e})})},r.prototype.onFragDecrypted=function(t){var r=t.payload,i=t.frag;if("subtitle"===i.type){if(!e.isFinite(this.initPTS[i.cc]))return void this.unparsedVttFrags.push(t);this._parseVTTs(i,r)}},r.prototype.onFragParsingUserdata=function(e){if(this.enabled&&this.config.enableCEA708Captions)for(var t=0;t<e.samples.length;t++){var r=this.extractCea608Data(e.samples[t].bytes);this.cea608Parser.addData(e.samples[t].pts,r)}},r.prototype.extractCea608Data=function(e){for(var t,r,i,a=31&e[0],n=2,s=[],o=0;o<a;o++)t=e[n++],r=127&e[n++],i=127&e[n++],0===r&&0===i||0!=(4&t)&&0===(3&t)&&(s.push(r),s.push(i));return s},r}(s.default);t.default=h}).call(this,r("./src/polyfills/number.js").Number)},"./src/crypt/aes-crypto.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.subtle=e,this.aesIV=t}return e.prototype.decrypt=function(e,t){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},t,e)},e}();t.default=i},"./src/crypt/aes-decryptor.js":function(e,t,r){"use strict";function i(e){var t=e.byteLength,r=t&&new DataView(e).getUint8(t-1);return r?e.slice(0,t-r):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePadding=i;var a=function(){function e(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return e.prototype.uint8ArrayToUint32Array_=function(e){for(var t=new DataView(e),r=new Uint32Array(4),i=0;i<4;i++)r[i]=t.getUint32(4*i);return r},e.prototype.initTable=function(){var e=this.sBox,t=this.invSBox,r=this.subMix,i=r[0],a=r[1],n=r[2],s=r[3],o=this.invSubMix,l=o[0],u=o[1],d=o[2],c=o[3],f=new Uint32Array(256),h=0,p=0,g=0;for(g=0;g<256;g++)f[g]=g<128?g<<1:g<<1^283;for(g=0;g<256;g++){var v=p^p<<1^p<<2^p<<3^p<<4;v=v>>>8^255&v^99,e[h]=v,t[v]=h;var m=f[h],y=f[m],E=f[y],_=257*f[v]^16843008*v;i[h]=_<<24|_>>>8,a[h]=_<<16|_>>>16,n[h]=_<<8|_>>>24,s[h]=_,_=16843009*E^65537*y^257*m^16843008*h,l[v]=_<<24|_>>>8,u[v]=_<<16|_>>>16,d[v]=_<<8|_>>>24,c[v]=_,h?(h=m^f[f[f[E^m]]],p^=f[f[p]]):h=p=1}},e.prototype.expandKey=function(e){for(var t=this.uint8ArrayToUint32Array_(e),r=!0,i=0;i<t.length&&r;)r=t[i]===this.key[i],i++;if(!r){this.key=t;var a=this.keySize=t.length;if(4!==a&&6!==a&&8!==a)throw new Error("Invalid aes key size="+a);var n,s,o,l,u=this.ksRows=4*(a+6+1),d=this.keySchedule=new Uint32Array(u),c=this.invKeySchedule=new Uint32Array(u),f=this.sBox,h=this.rcon,p=this.invSubMix,g=p[0],v=p[1],m=p[2],y=p[3];for(n=0;n<u;n++)n<a?o=d[n]=t[n]:(l=o,n%a==0?(l=f[(l=l<<8|l>>>24)>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l],l^=h[n/a|0]<<24):a>6&&n%a==4&&(l=f[l>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l]),d[n]=o=(d[n-a]^l)>>>0);for(s=0;s<u;s++)n=u-s,l=3&s?d[n]:d[n-4],c[s]=s<4||n<=4?l:g[f[l>>>24]]^v[f[l>>>16&255]]^m[f[l>>>8&255]]^y[f[255&l]],c[s]=c[s]>>>0}},e.prototype.networkToHostOrderSwap=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},e.prototype.decrypt=function(e,t,r,a){for(var n,s,o,l,u,d,c,f,h,p,g,v,m,y,E=this.keySize+6,_=this.invKeySchedule,T=this.invSBox,S=this.invSubMix,b=S[0],A=S[1],R=S[2],D=S[3],L=this.uint8ArrayToUint32Array_(r),w=L[0],O=L[1],k=L[2],I=L[3],P=new Int32Array(e),C=new Int32Array(P.length),x=this.networkToHostOrderSwap;t<P.length;){for(h=x(P[t]),p=x(P[t+1]),g=x(P[t+2]),v=x(P[t+3]),u=h^_[0],d=v^_[1],c=g^_[2],f=p^_[3],m=4,y=1;y<E;y++)n=b[u>>>24]^A[d>>16&255]^R[c>>8&255]^D[255&f]^_[m],s=b[d>>>24]^A[c>>16&255]^R[f>>8&255]^D[255&u]^_[m+1],o=b[c>>>24]^A[f>>16&255]^R[u>>8&255]^D[255&d]^_[m+2],l=b[f>>>24]^A[u>>16&255]^R[d>>8&255]^D[255&c]^_[m+3],u=n,d=s,c=o,f=l,m+=4;n=T[u>>>24]<<24^T[d>>16&255]<<16^T[c>>8&255]<<8^T[255&f]^_[m],s=T[d>>>24]<<24^T[c>>16&255]<<16^T[f>>8&255]<<8^T[255&u]^_[m+1],o=T[c>>>24]<<24^T[f>>16&255]<<16^T[u>>8&255]<<8^T[255&d]^_[m+2],l=T[f>>>24]<<24^T[u>>16&255]<<16^T[d>>8&255]<<8^T[255&c]^_[m+3],m+=3,C[t]=x(n^w),C[t+1]=x(l^O),C[t+2]=x(o^k),C[t+3]=x(s^I),w=h,O=p,k=g,I=v,t+=4}return a?i(C.buffer):C.buffer},e.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},e}();t.default=a},"./src/crypt/decrypter.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/crypt/aes-crypto.js"),a=r("./src/crypt/fast-aes-key.js"),n=r("./src/crypt/aes-decryptor.js"),s=r("./src/errors.js"),o=r("./src/utils/logger.js"),l=r("./src/events.js"),u=r("./src/utils/get-self-scope.js").getSelfScope(),d=function(){function e(e,t,r){var i=(void 0===r?{}:r).removePKCS7Padding,a=void 0===i||i;if(this.logEnabled=!0,this.observer=e,this.config=t,this.removePKCS7Padding=a,a)try{var n=u.crypto;n&&(this.subtle=n.subtle||n.webkitSubtle)}catch(s){}this.disableWebCrypto=!this.subtle}return e.prototype.isSync=function(){return this.disableWebCrypto&&this.config.enableSoftwareAES},e.prototype.decrypt=function(e,t,r,s){var l=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(o.logger.log("JS AES decrypt"),this.logEnabled=!1);var u=this.decryptor;u||(this.decryptor=u=new n.default),u.expandKey(t),s(u.decrypt(e,0,r,this.removePKCS7Padding))}else{this.logEnabled&&(o.logger.log("WebCrypto AES decrypt"),this.logEnabled=!1);var d=this.subtle;this.key!==t&&(this.key=t,this.fastAesKey=new a.default(d,t)),this.fastAesKey.expandKey().then(function(a){new i.default(d,r).decrypt(e,a).catch(function(i){l.onWebCryptoError(i,e,t,r,s)}).then(function(e){s(e)})}).catch(function(i){l.onWebCryptoError(i,e,t,r,s)})}},e.prototype.onWebCryptoError=function(e,t,r,i,a){this.config.enableSoftwareAES?(o.logger.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(t,r,i,a)):(o.logger.error("decrypting error : "+e.message),this.observer.trigger(l.default.ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.FRAG_DECRYPT_ERROR,fatal:!0,reason:e.message}))},e.prototype.destroy=function(){var e=this.decryptor;e&&(e.destroy(),this.decryptor=void 0)},e}();t.default=d},"./src/crypt/fast-aes-key.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.subtle=e,this.key=t}return e.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},e}();t.default=i},"./src/demux/aacdemuxer.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/demux/adts.js"),a=r("./src/utils/logger.js"),n=r("./src/demux/id3.js"),s=function(){function t(e,t,r){this.observer=e,this.config=r,this.remuxer=t}return t.prototype.resetInitSegment=function(e,t,r,i){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:t,duration:i,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(e){if(!e)return!1;for(var t=(n.default.getID3Data(e,0)||[]).length,r=e.length;t<r;t++)if(i.probe(e,t))return a.logger.log("ADTS sync word found !"),!0;return!1},t.prototype.append=function(t,r,s,o){for(var l=this._audioTrack,u=n.default.getID3Data(t,0)||[],d=n.default.getTimeStamp(u),c=e.isFinite(d)?90*d:9e4*r,f=0,h=c,p=t.length,g=u.length,v=[{pts:h,dts:h,data:u}];g<p-1;)if(i.isHeader(t,g)&&g+5<p){i.initTrackConfig(l,this.observer,t,g,l.manifestCodec);var m=i.appendFrame(l,t,g,c,f);if(!m){a.logger.log("Unable to parse AAC frame");break}g+=m.length,h=m.sample.pts,f++}else n.default.isHeader(t,g)?(u=n.default.getID3Data(t,g),v.push({pts:h,dts:h,data:u}),g+=u.length):g++;this.remuxer.remux(l,{samples:[]},{samples:v,inputTimeScale:9e4},{samples:[]},r,s,o)},t.prototype.destroy=function(){},t}();t.default=s}).call(this,r("./src/polyfills/number.js").Number)},"./src/demux/adts.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js"),a=r("./src/errors.js"),n=r("./src/events.js");function s(e,t,r,s){var o,l,u,d,c,f=navigator.userAgent.toLowerCase(),h=s,p=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];if(o=1+((192&t[r+2])>>>6),!((l=(60&t[r+2])>>>2)>p.length-1))return d=(1&t[r+2])<<2,d|=(192&t[r+3])>>>6,i.logger.log("manifest codec:"+s+",ADTS data:type:"+o+",sampleingIndex:"+l+"["+p[l]+"Hz],channelConfig:"+d),/firefox/i.test(f)?l>=6?(o=5,c=new Array(4),u=l-3):(o=2,c=new Array(2),u=l):-1!==f.indexOf("android")?(o=2,c=new Array(2),u=l):(o=5,c=new Array(4),s&&(-1!==s.indexOf("mp4a.40.29")||-1!==s.indexOf("mp4a.40.5"))||!s&&l>=6?u=l-3:((s&&-1!==s.indexOf("mp4a.40.2")&&(l>=6&&1===d||/vivaldi/i.test(f))||!s&&1===d)&&(o=2,c=new Array(2)),u=l)),c[0]=o<<3,c[0]|=(14&l)>>1,c[1]|=(1&l)<<7,c[1]|=d<<3,5===o&&(c[1]|=(14&u)>>1,c[2]=(1&u)<<7,c[2]|=8,c[3]=0),{config:c,samplerate:p[l],channelCount:d,codec:"mp4a.40."+o,manifestCodec:h};e.trigger(n.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+l})}function o(e,t){return 255===e[t]&&240==(246&e[t+1])}function l(e,t){return 1&e[t+1]?7:9}function u(e,t){return(3&e[t+3])<<11|e[t+4]<<3|(224&e[t+5])>>>5}function d(e){return 9216e4/e}function c(e,t,r,i,a){var n,s,o=e.length;if(n=l(e,t),s=u(e,t),(s-=n)>0&&t+n+s<=o)return{headerLength:n,frameLength:s,stamp:r+i*a}}t.getAudioConfig=s,t.isHeaderPattern=o,t.getHeaderLength=l,t.getFullFrameLength=u,t.isHeader=function(e,t){return!!(t+1<e.length&&o(e,t))},t.probe=function(e,t){if(t+1<e.length&&o(e,t)){var r=l(e,t);t+5<e.length&&(r=u(e,t));var i=t+r;if(i===e.length||i+1<e.length&&o(e,i))return!0}return!1},t.initTrackConfig=function(e,t,r,a,n){if(!e.samplerate){var o=s(t,r,a,n);e.config=o.config,e.samplerate=o.samplerate,e.channelCount=o.channelCount,e.codec=o.codec,e.manifestCodec=o.manifestCodec,i.logger.log("parsed codec:"+e.codec+",rate:"+o.samplerate+",nb channel:"+o.channelCount)}},t.getFrameDuration=d,t.parseFrameHeader=c,t.appendFrame=function(e,t,r,i,a){var n=c(t,r,i,a,d(e.samplerate));if(n){var s=n.stamp,o=n.headerLength,l=n.frameLength,u={unit:t.subarray(r+o,r+o+l),pts:s,dts:s};return e.samples.push(u),e.len+=l,{sample:u,length:l+o}}}},"./src/demux/demuxer-inline.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,a=r("./src/events.js"),n=r("./src/errors.js"),s=r("./src/crypt/decrypter.js"),o=r("./src/demux/aacdemuxer.js"),l=r("./src/demux/mp4demuxer.js"),u=r("./src/demux/tsdemuxer.js"),d=r("./src/demux/mp3demuxer.js"),c=r("./src/remux/mp4-remuxer.js"),f=r("./src/remux/passthrough-remuxer.js"),h=r("./src/utils/get-self-scope.js"),p=r("./src/utils/logger.js"),g=h.getSelfScope();try{i=g.performance.now.bind(g.performance)}catch(m){p.logger.debug("Unable to use Performance API on this environment"),i=g.Date.now}var v=function(){function e(e,t,r,i){this.observer=e,this.typeSupported=t,this.config=r,this.vendor=i}return e.prototype.destroy=function(){var e=this.demuxer;e&&e.destroy()},e.prototype.push=function(e,t,r,n,o,l,u,d,c,f,h,p){var g=this;if(e.byteLength>0&&null!=t&&null!=t.key&&"AES-128"===t.method){var v=this.decrypter;null==v&&(v=this.decrypter=new s.default(this.observer,this.config));var m=i();v.decrypt(e,t.key.buffer,t.iv.buffer,function(e){var s=i();g.observer.trigger(a.default.FRAG_DECRYPTED,{stats:{tstart:m,tdecrypt:s}}),g.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),n,o,l,u,d,c,f,h,p)})}else this.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),n,o,l,u,d,c,f,h,p)},e.prototype.pushDecrypted=function(e,t,r,i,s,h,p,g,v,m,y,E){var _=this.demuxer;if(!_||(p||g)&&!this.probe(e)){for(var T=this.observer,S=this.typeSupported,b=this.config,A=[{demux:u.default,remux:c.default},{demux:l.default,remux:f.default},{demux:o.default,remux:c.default},{demux:d.default,remux:c.default}],R=0,D=A.length;R<D;R++){var L=A[R],w=L.demux.probe;if(w(e)){var O=this.remuxer=new L.remux(T,b,S,this.vendor);_=new L.demux(T,O,b,S),this.probe=w;break}}if(!_)return void T.trigger(a.default.ERROR,{type:n.ErrorTypes.MEDIA_ERROR,details:n.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=_}var k=this.remuxer;(p||g)&&(_.resetInitSegment(r,i,s,m),k.resetInitSegment()),p&&(_.resetTimeStamp(E),k.resetTimeStamp(E)),"function"==typeof _.setDecryptData&&_.setDecryptData(t),_.append(e,h,v,y)},e}();t.default=v},"./src/demux/demuxer-worker.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/demux/demuxer-inline.js"),a=r("./src/events.js"),n=r("./src/utils/logger.js"),s=r("./node_modules/node-libs-browser/node_modules/events/events.js");t.default=function(e){var t=new s.EventEmitter;t.trigger=function(e){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];t.emit.apply(t,[e,e].concat(r))},t.off=function(e){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];t.removeListener.apply(t,[e].concat(r))};var r=function(t,r){e.postMessage({event:t,data:r})};e.addEventListener("message",function(a){var s=a.data;switch(s.cmd){case"init":var o=JSON.parse(s.config);e.demuxer=new i.default(t,s.typeSupported,o,s.vendor),n.enableLogs(o.debug),r("init",null);break;case"demux":e.demuxer.push(s.data,s.decryptdata,s.initSegment,s.audioCodec,s.videoCodec,s.timeOffset,s.discontinuity,s.trackSwitch,s.contiguous,s.duration,s.accurateTimeOffset,s.defaultInitPTS)}}),t.on(a.default.FRAG_DECRYPTED,r),t.on(a.default.FRAG_PARSING_INIT_SEGMENT,r),t.on(a.default.FRAG_PARSED,r),t.on(a.default.ERROR,r),t.on(a.default.FRAG_PARSING_METADATA,r),t.on(a.default.FRAG_PARSING_USERDATA,r),t.on(a.default.INIT_PTS_FOUND,r),t.on(a.default.FRAG_PARSING_DATA,function(t,r){var i=[],a={event:t,data:r};r.data1&&(a.data1=r.data1.buffer,i.push(r.data1.buffer),delete r.data1),r.data2&&(a.data2=r.data2.buffer,i.push(r.data2.buffer),delete r.data2),e.postMessage(a,i)})}},"./src/demux/demuxer.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./node_modules/webworkify-webpack/index.js"),a=r("./src/events.js"),n=r("./src/demux/demuxer-inline.js"),s=r("./src/utils/logger.js"),o=r("./src/errors.js"),l=r("./src/utils/mediasource-helper.js"),u=r("./src/utils/get-self-scope.js"),d=r("./src/observer.js"),c=u.getSelfScope(),f=l.getMediaSource(),h=function(){function t(e,t){var r=this;this.hls=e,this.id=t;var l=this.observer=new d.Observer,u=e.config,h=function(t,i){(i=i||{}).frag=r.frag,i.id=r.id,e.trigger(t,i)};l.on(a.default.FRAG_DECRYPTED,h),l.on(a.default.FRAG_PARSING_INIT_SEGMENT,h),l.on(a.default.FRAG_PARSING_DATA,h),l.on(a.default.FRAG_PARSED,h),l.on(a.default.ERROR,h),l.on(a.default.FRAG_PARSING_METADATA,h),l.on(a.default.FRAG_PARSING_USERDATA,h),l.on(a.default.INIT_PTS_FOUND,h);var p={mp4:f.isTypeSupported("video/mp4"),mpeg:f.isTypeSupported("audio/mpeg"),mp3:f.isTypeSupported('audio/mp4; codecs="mp3"')},g=navigator.vendor;if(u.enableWorker&&"undefined"!=typeof Worker){s.logger.log("demuxing in webworker");var v=void 0;try{v=this.w=i("./src/demux/demuxer-worker.js"),this.onwmsg=this.onWorkerMessage.bind(this),v.addEventListener("message",this.onwmsg),v.onerror=function(t){e.trigger(a.default.ERROR,{type:o.ErrorTypes.OTHER_ERROR,details:o.ErrorDetails.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:t.message+" ("+t.filename+":"+t.lineno+")"}})},v.postMessage({cmd:"init",typeSupported:p,vendor:g,id:t,config:JSON.stringify(u)})}catch(m){s.logger.warn("Error in worker:",m),s.logger.error("Error while initializing DemuxerWorker, fallback on DemuxerInline"),v&&c.URL.revokeObjectURL(v.objectURL),this.demuxer=new n.default(l,p,u,g),this.w=void 0}}else this.demuxer=new n.default(l,p,u,g)}return t.prototype.destroy=function(){var e=this.w;if(e)e.removeEventListener("message",this.onwmsg),e.terminate(),this.w=null;else{var t=this.demuxer;t&&(t.destroy(),this.demuxer=null)}var r=this.observer;r&&(r.removeAllListeners(),this.observer=null)},t.prototype.push=function(t,r,i,a,n,o,l,u){var d=this.w,c=e.isFinite(n.startPTS)?n.startPTS:n.start,f=n.decryptdata,h=this.frag,p=!(h&&n.cc===h.cc),g=!(h&&n.level===h.level),v=h&&n.sn===h.sn+1,m=!g&&v;if(p&&s.logger.log(this.id+":discontinuity detected"),g&&s.logger.log(this.id+":switch detected"),this.frag=n,d)d.postMessage({cmd:"demux",data:t,decryptdata:f,initSegment:r,audioCodec:i,videoCodec:a,timeOffset:c,discontinuity:p,trackSwitch:g,contiguous:m,duration:o,accurateTimeOffset:l,defaultInitPTS:u},t instanceof ArrayBuffer?[t]:[]);else{var y=this.demuxer;y&&y.push(t,f,r,i,a,c,p,g,m,o,l,u)}},t.prototype.onWorkerMessage=function(e){var t=e.data,r=this.hls;switch(t.event){case"init":c.URL.revokeObjectURL(this.w.objectURL);break;case a.default.FRAG_PARSING_DATA:t.data.data1=new Uint8Array(t.data1),t.data2&&(t.data.data2=new Uint8Array(t.data2));default:t.data=t.data||{},t.data.frag=this.frag,t.data.id=this.id,r.trigger(t.event,t.data)}},t}();t.default=h}).call(this,r("./src/polyfills/number.js").Number)},"./src/demux/exp-golomb.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js"),a=function(){function e(e){this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}return e.prototype.loadWord=function(){var e=this.data,t=this.bytesAvailable,r=e.byteLength-t,i=new Uint8Array(4),a=Math.min(4,t);if(0===a)throw new Error("no bytes available");i.set(e.subarray(r,r+a)),this.word=new DataView(i.buffer).getUint32(0),this.bitsAvailable=8*a,this.bytesAvailable-=a},e.prototype.skipBits=function(e){var t;this.bitsAvailable>e?(this.word<<=e,this.bitsAvailable-=e):(e-=this.bitsAvailable,e-=(t=e>>3)>>3,this.bytesAvailable-=t,this.loadWord(),this.word<<=e,this.bitsAvailable-=e)},e.prototype.readBits=function(e){var t=Math.min(this.bitsAvailable,e),r=this.word>>>32-t;return e>32&&i.logger.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=t,this.bitsAvailable>0?this.word<<=t:this.bytesAvailable>0&&this.loadWord(),(t=e-t)>0&&this.bitsAvailable?r<<t|this.readBits(t):r},e.prototype.skipLZ=function(){var e;for(e=0;e<this.bitsAvailable;++e)if(0!=(this.word&2147483648>>>e))return this.word<<=e,this.bitsAvailable-=e,e;return this.loadWord(),e+this.skipLZ()},e.prototype.skipUEG=function(){this.skipBits(1+this.skipLZ())},e.prototype.skipEG=function(){this.skipBits(1+this.skipLZ())},e.prototype.readUEG=function(){var e=this.skipLZ();return this.readBits(e+1)-1},e.prototype.readEG=function(){var e=this.readUEG();return 1&e?1+e>>>1:-1*(e>>>1)},e.prototype.readBoolean=function(){return 1===this.readBits(1)},e.prototype.readUByte=function(){return this.readBits(8)},e.prototype.readUShort=function(){return this.readBits(16)},e.prototype.readUInt=function(){return this.readBits(32)},e.prototype.skipScalingList=function(e){var t,r=8,i=8;for(t=0;t<e;t++)0!==i&&(i=(r+this.readEG()+256)%256),r=0===i?r:i},e.prototype.readSPS=function(){var e,t,r,i,a,n,s,o=0,l=0,u=0,d=0,c=this.readUByte.bind(this),f=this.readBits.bind(this),h=this.readUEG.bind(this),p=this.readBoolean.bind(this),g=this.skipBits.bind(this),v=this.skipEG.bind(this),m=this.skipUEG.bind(this),y=this.skipScalingList.bind(this);if(c(),e=c(),f(5),g(3),c(),m(),100===e||110===e||122===e||244===e||44===e||83===e||86===e||118===e||128===e){var E=h();if(3===E&&g(1),m(),m(),g(1),p())for(n=3!==E?8:12,s=0;s<n;s++)p()&&y(s<6?16:64)}m();var _=h();if(0===_)h();else if(1===_)for(g(1),v(),v(),t=h(),s=0;s<t;s++)v();m(),g(1),r=h(),i=h(),0===(a=f(1))&&g(1),g(1),p()&&(o=h(),l=h(),u=h(),d=h());var T=[1,1];if(p()&&p())switch(c()){case 1:T=[1,1];break;case 2:T=[12,11];break;case 3:T=[10,11];break;case 4:T=[16,11];break;case 5:T=[40,33];break;case 6:T=[24,11];break;case 7:T=[20,11];break;case 8:T=[32,11];break;case 9:T=[80,33];break;case 10:T=[18,11];break;case 11:T=[15,11];break;case 12:T=[64,33];break;case 13:T=[160,99];break;case 14:T=[4,3];break;case 15:T=[3,2];break;case 16:T=[2,1];break;case 255:T=[c()<<8|c(),c()<<8|c()]}return{width:Math.ceil(16*(r+1)-2*o-2*l),height:(2-a)*(i+1)*16-(a?2:4)*(u+d),pixelRatio:T}},e.prototype.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},e}();t.default=a},"./src/demux/id3.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.isHeader=function(e,t){return t+10<=e.length&&73===e[t]&&68===e[t+1]&&51===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128},e.isFooter=function(e,t){return t+10<=e.length&&51===e[t]&&68===e[t+1]&&73===e[t+2]&&e[t+3]<255&&e[t+4]<255&&e[t+6]<128&&e[t+7]<128&&e[t+8]<128&&e[t+9]<128},e.getID3Data=function(t,r){for(var i=r,a=0;e.isHeader(t,r);){a+=10,a+=e._readSize(t,r+6),e.isFooter(t,r+10)&&(a+=10),r+=a}if(a>0)return t.subarray(i,i+a)},e._readSize=function(e,t){var r=0;return r=(127&e[t])<<21,r|=(127&e[t+1])<<14,r|=(127&e[t+2])<<7,r|=127&e[t+3]},e.getTimeStamp=function(t){for(var r=e.getID3Frames(t),i=0;i<r.length;i++){var a=r[i];if(e.isTimeStampFrame(a))return e._readTimeStamp(a)}},e.isTimeStampFrame=function(e){return e&&"PRIV"===e.key&&"com.apple.streaming.transportStreamTimestamp"===e.info},e._getFrameData=function(t){var r=String.fromCharCode(t[0],t[1],t[2],t[3]),i=e._readSize(t,4);return{type:r,size:i,data:t.subarray(10,10+i)}},e.getID3Frames=function(t){for(var r=0,i=[];e.isHeader(t,r);){for(var a=e._readSize(t,r+6),n=(r+=10)+a;r+8<n;){var s=e._getFrameData(t.subarray(r)),o=e._decodeFrame(s);o&&i.push(o),r+=s.size+10}e.isFooter(t,r)&&(r+=10)}return i},e._decodeFrame=function(t){return"PRIV"===t.type?e._decodePrivFrame(t):"T"===t.type[0]?e._decodeTextFrame(t):"W"===t.type[0]?e._decodeURLFrame(t):void 0},e._readTimeStamp=function(e){if(8===e.data.byteLength){var t=new Uint8Array(e.data),r=1&t[3],i=(t[4]<<23)+(t[5]<<15)+(t[6]<<7)+t[7];return i/=45,r&&(i+=47721858.84),Math.round(i)}},e._decodePrivFrame=function(t){if(!(t.size<2)){var r=e._utf8ArrayToStr(t.data,!0),i=new Uint8Array(t.data.subarray(r.length+1));return{key:t.type,info:r,data:i.buffer}}},e._decodeTextFrame=function(t){if(!(t.size<2)){if("TXXX"===t.type){var r=1,i=e._utf8ArrayToStr(t.data.subarray(r));r+=i.length+1;var a=e._utf8ArrayToStr(t.data.subarray(r));return{key:t.type,info:i,data:a}}var n=e._utf8ArrayToStr(t.data.subarray(1));return{key:t.type,data:n}}},e._decodeURLFrame=function(t){if("WXXX"===t.type){if(t.size<2)return;var r=1,i=e._utf8ArrayToStr(t.data.subarray(r));r+=i.length+1;var a=e._utf8ArrayToStr(t.data.subarray(r));return{key:t.type,info:i,data:a}}var n=e._utf8ArrayToStr(t.data);return{key:t.type,data:n}},e._utf8ArrayToStr=function(e,t){void 0===t&&(t=!1);for(var r,i,a,n=e.length,s="",o=0;o<n;){if(0===(r=e[o++])&&t)return s;if(0!==r&&3!==r)switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:s+=String.fromCharCode(r);break;case 12:case 13:i=e[o++],s+=String.fromCharCode((31&r)<<6|63&i);break;case 14:i=e[o++],a=e[o++],s+=String.fromCharCode((15&r)<<12|(63&i)<<6|(63&a)<<0)}}return s},e}(),a=i._utf8ArrayToStr;t.utf8ArrayToStr=a,t.default=i},"./src/demux/mp3demuxer.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/demux/id3.js"),a=r("./src/utils/logger.js"),n=r("./src/demux/mpegaudio.js"),s=function(){function e(e,t,r){this.observer=e,this.config=r,this.remuxer=t}return e.prototype.resetInitSegment=function(e,t,r,i){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:t,duration:i,inputTimeScale:9e4}},e.prototype.resetTimeStamp=function(){},e.probe=function(e){var t,r,s=i.default.getID3Data(e,0);if(s&&void 0!==i.default.getTimeStamp(s))for(t=s.length,r=Math.min(e.length-1,t+100);t<r;t++)if(n.default.probe(e,t))return a.logger.log("MPEG Audio sync word found !"),!0;return!1},e.prototype.append=function(e,t,r,a){for(var s=i.default.getID3Data(e,0),o=i.default.getTimeStamp(s),l=o?90*o:9e4*t,u=s.length,d=e.length,c=0,f=0,h=this._audioTrack,p=[{pts:l,dts:l,data:s}];u<d;)if(n.default.isHeader(e,u)){var g=n.default.appendFrame(h,e,u,l,c);if(!g)break;u+=g.length,f=g.sample.pts,c++}else i.default.isHeader(e,u)?(s=i.default.getID3Data(e,u),p.push({pts:f,dts:f,data:s}),u+=s.length):u++;this.remuxer.remux(h,{samples:[]},{samples:p,inputTimeScale:9e4},{samples:[]},t,r,a)},e.prototype.destroy=function(){},e}();t.default=s},"./src/demux/mp4demuxer.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js"),a=r("./src/events.js"),n=Math.pow(2,32)-1,s=function(){function e(e,t){this.observer=e,this.remuxer=t}return e.prototype.resetTimeStamp=function(e){this.initPTS=e},e.prototype.resetInitSegment=function(t,r,i,n){if(t&&t.byteLength){var s=this.initData=e.parseInitSegment(t);null==r&&(r="mp4a.40.5"),null==i&&(i="avc1.42e01e");var o={};s.audio&&s.video?o.audiovideo={container:"video/mp4",codec:r+","+i,initSegment:n?t:null}:(s.audio&&(o.audio={container:"audio/mp4",codec:r,initSegment:n?t:null}),s.video&&(o.video={container:"video/mp4",codec:i,initSegment:n?t:null})),this.observer.trigger(a.default.FRAG_PARSING_INIT_SEGMENT,{tracks:o})}else r&&(this.audioCodec=r),i&&(this.videoCodec=i)},e.probe=function(t){return e.findBox({data:t,start:0,end:Math.min(t.length,16384)},["moof"]).length>0},e.bin2str=function(e){return String.fromCharCode.apply(null,e)},e.readUint16=function(e,t){e.data&&(t+=e.start,e=e.data);var r=e[t]<<8|e[t+1];return r<0?65536+r:r},e.readUint32=function(e,t){e.data&&(t+=e.start,e=e.data);var r=e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3];return r<0?4294967296+r:r},e.writeUint32=function(e,t,r){e.data&&(t+=e.start,e=e.data),e[t]=r>>24,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r},e.findBox=function(t,r){var i,a,n,s,o,l,u=[];if(t.data?(o=t.start,n=t.end,t=t.data):(o=0,n=t.byteLength),!r.length)return null;for(i=o;i<n;)l=(a=e.readUint32(t,i))>1?i+a:n,e.bin2str(t.subarray(i+4,i+8))===r[0]&&(1===r.length?u.push({data:t,start:i+8,end:l}):(s=e.findBox({data:t,start:i+8,end:l},r.slice(1))).length&&(u=u.concat(s))),i=l;return u},e.parseSegmentIndex=function(t){var r,i=e.findBox(t,["moov"])[0],a=i?i.end:null,n=0,s=e.findBox(t,["sidx"]);if(!s||!s[0])return null;r=[];var o=(s=s[0]).data[0];n=0===o?8:16;var l=e.readUint32(s,n);n+=4;n+=0===o?8:16,n+=2;var u=s.end+0,d=e.readUint16(s,n);n+=2;for(var c=0;c<d;c++){var f=n,h=e.readUint32(s,f);f+=4;var p=2147483647&h;if(1===(2147483648&h)>>>31)return void console.warn("SIDX has hierarchical references (not supported)");var g=e.readUint32(s,f);f+=4,r.push({referenceSize:p,subsegmentDuration:g,info:{duration:g/l,start:u,end:u+p-1}}),u+=p,n=f+=4}return{earliestPresentationTime:0,timescale:l,version:o,referencesCount:d,references:r,moovEndOffset:a}},e.parseInitSegment=function(t){var r=[];return e.findBox(t,["moov","trak"]).forEach(function(t){var a=e.findBox(t,["tkhd"])[0];if(a){var n=a.data[a.start],s=0===n?12:20,o=e.readUint32(a,s),l=e.findBox(t,["mdia","mdhd"])[0];if(l){s=0===(n=l.data[l.start])?12:20;var u=e.readUint32(l,s),d=e.findBox(t,["mdia","hdlr"])[0];if(d){var c={soun:"audio",vide:"video"}[e.bin2str(d.data.subarray(d.start+8,d.start+12))];if(c){var f=e.findBox(t,["mdia","minf","stbl","stsd"]);if(f.length){f=f[0];var h=e.bin2str(f.data.subarray(f.start+12,f.start+16));i.logger.log("MP4Demuxer:"+c+":"+h+" found")}r[o]={timescale:u,type:c},r[c]={timescale:u,id:o}}}}}}),r},e.getStartDTS=function(t,r){var i,a,n;return i=e.findBox(r,["moof","traf"]),a=[].concat.apply([],i.map(function(r){return e.findBox(r,["tfhd"]).map(function(i){var a,n;return a=e.readUint32(i,4),n=t[a].timescale||9e4,e.findBox(r,["tfdt"]).map(function(t){var r,i;return r=t.data[t.start],i=e.readUint32(t,4),1===r&&(i*=Math.pow(2,32),i+=e.readUint32(t,8)),i})[0]/n})})),n=Math.min.apply(null,a),isFinite(n)?n:0},e.offsetStartDTS=function(t,r,i){e.findBox(r,["moof","traf"]).map(function(r){return e.findBox(r,["tfhd"]).map(function(a){var s=e.readUint32(a,4),o=t[s].timescale||9e4;e.findBox(r,["tfdt"]).map(function(t){var r=t.data[t.start],a=e.readUint32(t,4);if(0===r)e.writeUint32(t,4,a-i*o);else{a*=Math.pow(2,32),a+=e.readUint32(t,8),a-=i*o,a=Math.max(a,0);var s=Math.floor(a/(n+1)),l=Math.floor(a%(n+1));e.writeUint32(t,4,s),e.writeUint32(t,8,l)}})})})},e.prototype.append=function(t,r,i,n){var s=this.initData;s||(this.resetInitSegment(t,this.audioCodec,this.videoCodec,!1),s=this.initData);var o,l=this.initPTS;if(void 0===l){var u=e.getStartDTS(s,t);this.initPTS=l=u-r,this.observer.trigger(a.default.INIT_PTS_FOUND,{initPTS:l})}e.offsetStartDTS(s,t,l),o=e.getStartDTS(s,t),this.remuxer.remux(s.audio,s.video,null,null,o,i,n,t)},e.prototype.destroy=function(){},e}();t.default=s},"./src/demux/mpegaudio.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],SamplesCoefficients:[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],BytesInSlot:[0,1,1,4],appendFrame:function(e,t,r,i,a){if(!(r+24>t.length)){var n=this.parseHeader(t,r);if(n&&r+n.frameLength<=t.length){var s=i+a*(9e4*n.samplesPerFrame/n.sampleRate),o={unit:t.subarray(r,r+n.frameLength),pts:s,dts:s};return e.config=[],e.channelCount=n.channelCount,e.samplerate=n.sampleRate,e.samples.push(o),e.len+=n.frameLength,{sample:o,length:n.frameLength}}}},parseHeader:function(e,t){var r=e[t+1]>>3&3,a=e[t+1]>>1&3,n=e[t+2]>>4&15,s=e[t+2]>>2&3,o=e[t+2]>>1&1;if(1!==r&&0!==n&&15!==n&&3!==s){var l=3===r?3-a:3===a?3:4,u=1e3*i.BitratesMap[14*l+n-1],d=3===r?0:2===r?1:2,c=i.SamplingRateMap[3*d+s],f=e[t+3]>>6==3?1:2,h=i.SamplesCoefficients[r][a],p=i.BytesInSlot[a],g=8*h*p;return{sampleRate:c,channelCount:f,frameLength:parseInt(h*u/c+o,10)*p,samplesPerFrame:g}}},isHeaderPattern:function(e,t){return 255===e[t]&&224==(224&e[t+1])&&0!=(6&e[t+1])},isHeader:function(e,t){return!!(t+1<e.length&&this.isHeaderPattern(e,t))},probe:function(e,t){if(t+1<e.length&&this.isHeaderPattern(e,t)){var r=this.parseHeader(e,t),i=4;r&&r.frameLength&&(i=r.frameLength);var a=t+i;if(a===e.length||a+1<e.length&&this.isHeaderPattern(e,a))return!0}return!1}};t.default=i},"./src/demux/sample-aes.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/crypt/decrypter.js"),a=function(){function e(e,t,r,a){this.decryptdata=r,this.discardEPB=a,this.decrypter=new i.default(e,t,{removePKCS7Padding:!1})}return e.prototype.decryptBuffer=function(e,t){this.decrypter.decrypt(e,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,t)},e.prototype.decryptAacSample=function(e,t,r,i){var a=e[t].unit,n=a.subarray(16,a.length-a.length%16),s=n.buffer.slice(n.byteOffset,n.byteOffset+n.length),o=this;this.decryptBuffer(s,function(n){n=new Uint8Array(n),a.set(n,16),i||o.decryptAacSamples(e,t+1,r)})},e.prototype.decryptAacSamples=function(e,t,r){for(;;t++){if(t>=e.length)return void r();if(!(e[t].unit.length<32)){var i=this.decrypter.isSync();if(this.decryptAacSample(e,t,r,i),!i)return}}},e.prototype.getAvcEncryptedData=function(e){for(var t=16*Math.floor((e.length-48)/160)+16,r=new Int8Array(t),i=0,a=32;a<=e.length-16;a+=160,i+=16)r.set(e.subarray(a,a+16),i);return r},e.prototype.getAvcDecryptedUnit=function(e,t){t=new Uint8Array(t);for(var r=0,i=32;i<=e.length-16;i+=160,r+=16)e.set(t.subarray(r,r+16),i);return e},e.prototype.decryptAvcSample=function(e,t,r,i,a,n){var s=this.discardEPB(a.data),o=this.getAvcEncryptedData(s),l=this;this.decryptBuffer(o.buffer,function(o){a.data=l.getAvcDecryptedUnit(s,o),n||l.decryptAvcSamples(e,t,r+1,i)})},e.prototype.decryptAvcSamples=function(e,t,r,i){for(;;t++,r=0){if(t>=e.length)return void i();for(var a=e[t].units;!(r>=a.length);r++){var n=a[r];if(!(n.length<=48||1!==n.type&&5!==n.type)){var s=this.decrypter.isSync();if(this.decryptAvcSample(e,t,r,i,n,s),!s)return}}}},e}();t.default=a},"./src/demux/tsdemuxer.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/demux/adts.js"),a=r("./src/demux/mpegaudio.js"),n=r("./src/events.js"),s=r("./src/demux/exp-golomb.js"),o=r("./src/demux/sample-aes.js"),l=r("./src/utils/logger.js"),u=r("./src/errors.js"),d={video:1,audio:2,id3:3,text:4},c=function(){function e(e,t,r,i){this.observer=e,this.config=r,this.typeSupported=i,this.remuxer=t,this.sampleAes=null}return e.prototype.setDecryptData=function(e){null!=e&&null!=e.key&&"SAMPLE-AES"===e.method?this.sampleAes=new o.default(this.observer,this.config,e,this.discardEPB):this.sampleAes=null},e.probe=function(t){var r=e._syncOffset(t);return!(r<0)&&(r&&l.logger.warn("MPEG2-TS detected but first sync word found @ offset "+r+", junk ahead ?"),!0)},e._syncOffset=function(e){for(var t=Math.min(1e3,e.length-564),r=0;r<t;){if(71===e[r]&&71===e[r+188]&&71===e[r+376])return r;r++}return-1},e.createTrack=function(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:d[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===e?0:void 0,isAAC:"audio"===e||void 0,duration:"audio"===e?t:void 0}},e.prototype.resetInitSegment=function(t,r,i,a){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=e.createTrack("video",a),this._audioTrack=e.createTrack("audio",a),this._id3Track=e.createTrack("id3",a),this._txtTrack=e.createTrack("text",a),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=r,this.videoCodec=i,this._duration=a},e.prototype.resetTimeStamp=function(){},e.prototype.append=function(t,r,i,a){var s,o,d,c,f,h=t.length,p=!1;this.contiguous=i;var g=this.pmtParsed,v=this._avcTrack,m=this._audioTrack,y=this._id3Track,E=v.pid,_=m.pid,T=y.pid,S=this._pmtId,b=v.pesData,A=m.pesData,R=y.pesData,D=this._parsePAT,L=this._parsePMT,w=this._parsePES,O=this._parseAVCPES.bind(this),k=this._parseAACPES.bind(this),I=this._parseMPEGPES.bind(this),P=this._parseID3PES.bind(this),C=e._syncOffset(t);for(h-=(h+C)%188,s=C;s<h;s+=188)if(71===t[s]){if(o=!!(64&t[s+1]),d=((31&t[s+1])<<8)+t[s+2],(48&t[s+3])>>4>1){if((c=s+5+t[s+4])===s+188)continue}else c=s+4;switch(d){case E:o&&(b&&(f=w(b))&&void 0!==f.pts&&O(f,!1),b={data:[],size:0}),b&&(b.data.push(t.subarray(c,s+188)),b.size+=s+188-c);break;case _:o&&(A&&(f=w(A))&&void 0!==f.pts&&(m.isAAC?k(f):I(f)),A={data:[],size:0}),A&&(A.data.push(t.subarray(c,s+188)),A.size+=s+188-c);break;case T:o&&(R&&(f=w(R))&&void 0!==f.pts&&P(f),R={data:[],size:0}),R&&(R.data.push(t.subarray(c,s+188)),R.size+=s+188-c);break;case 0:o&&(c+=t[c]+1),S=this._pmtId=D(t,c);break;case S:o&&(c+=t[c]+1);var x=L(t,c,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);(E=x.avc)>0&&(v.pid=E),(_=x.audio)>0&&(m.pid=_,m.isAAC=x.isAAC),(T=x.id3)>0&&(y.pid=T),p&&!g&&(l.logger.log("reparse from beginning"),p=!1,s=C-188),g=this.pmtParsed=!0;break;case 17:case 8191:break;default:p=!0}}else this.observer.trigger(n.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});b&&(f=w(b))&&void 0!==f.pts?(O(f,!0),v.pesData=null):v.pesData=b,A&&(f=w(A))&&void 0!==f.pts?(m.isAAC?k(f):I(f),m.pesData=null):(A&&A.size&&l.logger.log("last AAC PES packet truncated,might overlap between fragments"),m.pesData=A),R&&(f=w(R))&&void 0!==f.pts?(P(f),y.pesData=null):y.pesData=R,null==this.sampleAes?this.remuxer.remux(m,v,y,this._txtTrack,r,i,a):this.decryptAndRemux(m,v,y,this._txtTrack,r,i,a)},e.prototype.decryptAndRemux=function(e,t,r,i,a,n,s){if(e.samples&&e.isAAC){var o=this;this.sampleAes.decryptAacSamples(e.samples,0,function(){o.decryptAndRemuxAvc(e,t,r,i,a,n,s)})}else this.decryptAndRemuxAvc(e,t,r,i,a,n,s)},e.prototype.decryptAndRemuxAvc=function(e,t,r,i,a,n,s){if(t.samples){var o=this;this.sampleAes.decryptAvcSamples(t.samples,0,0,function(){o.remuxer.remux(e,t,r,i,a,n,s)})}else this.remuxer.remux(e,t,r,i,a,n,s)},e.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},e.prototype._parsePAT=function(e,t){return(31&e[t+10])<<8|e[t+11]},e.prototype._parsePMT=function(e,t,r,i){var a,n,s={audio:-1,avc:-1,id3:-1,isAAC:!0};for(a=t+3+((15&e[t+1])<<8|e[t+2])-4,t+=12+((15&e[t+10])<<8|e[t+11]);t<a;){switch(n=(31&e[t+1])<<8|e[t+2],e[t]){case 207:if(!i){l.logger.log("unkown stream type:"+e[t]);break}case 15:-1===s.audio&&(s.audio=n);break;case 21:-1===s.id3&&(s.id3=n);break;case 219:if(!i){l.logger.log("unkown stream type:"+e[t]);break}case 27:-1===s.avc&&(s.avc=n);break;case 3:case 4:r?-1===s.audio&&(s.audio=n,s.isAAC=!1):l.logger.log("MPEG audio found, not supported in this browser for now");break;case 36:l.logger.warn("HEVC stream type found, not supported for now");break;default:l.logger.log("unkown stream type:"+e[t])}t+=5+((15&e[t+3])<<8|e[t+4])}return s},e.prototype._parsePES=function(e){var t,r,i,a,n,s,o,u,d=0,c=e.data;if(!e||0===e.size)return null;for(;c[0].length<19&&c.length>1;){var f=new Uint8Array(c[0].length+c[1].length);f.set(c[0]),f.set(c[1],c[0].length),c[0]=f,c.splice(1,1)}if(1===((t=c[0])[0]<<16)+(t[1]<<8)+t[2]){if((i=(t[4]<<8)+t[5])&&i>e.size-6)return null;192&(r=t[7])&&((s=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2)>4294967295&&(s-=8589934592),64&r?((o=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2)>4294967295&&(o-=8589934592),s-o>54e5&&(l.logger.warn(Math.round((s-o)/9e4)+"s delta between PTS and DTS, align them"),s=o)):o=s),u=(a=t[8])+9,e.size-=u,n=new Uint8Array(e.size);for(var h=0,p=c.length;h<p;h++){var g=(t=c[h]).byteLength;if(u){if(u>g){u-=g;continue}t=t.subarray(u),g-=u,u=0}n.set(t,d),d+=g}return i&&(i-=a+3),{data:n,pts:s,dts:o,len:i}}return null},e.prototype.pushAccesUnit=function(e,t){if(e.units.length&&e.frame){var r=t.samples,i=r.length;!this.config.forceKeyFrameOnDiscontinuity||!0===e.key||t.sps&&(i||this.contiguous)?(e.id=i,r.push(e)):t.dropped++}e.debug.length&&l.logger.log(e.pts+"/"+e.dts+":"+e.debug)},e.prototype._parseAVCPES=function(e,t){var r,i,a,n=this,o=this._avcTrack,l=this._parseAVCNALu(e.data),u=this.avcSample,d=!1,c=this.pushAccesUnit.bind(this),f=function(e,t,r,i){return{key:e,pts:t,dts:r,units:[],debug:i}};e.data=null,u&&l.length&&!o.audFound&&(c(u,o),u=this.avcSample=f(!1,e.pts,e.dts,"")),l.forEach(function(t){switch(t.type){case 1:i=!0,u||(u=n.avcSample=f(!0,e.pts,e.dts,"")),u.frame=!0;var l=t.data;if(d&&l.length>4){var h=new s.default(l).readSliceType();2!==h&&4!==h&&7!==h&&9!==h||(u.key=!0)}break;case 5:i=!0,u||(u=n.avcSample=f(!0,e.pts,e.dts,"")),u.key=!0,u.frame=!0;break;case 6:i=!0,(r=new s.default(n.discardEPB(t.data))).readUByte();for(var p=0,g=0,v=!1,m=0;!v&&r.bytesAvailable>1;){p=0;do{p+=m=r.readUByte()}while(255===m);g=0;do{g+=m=r.readUByte()}while(255===m);if(4===p&&0!==r.bytesAvailable){if(v=!0,181===r.readUByte())if(49===r.readUShort())if(1195456820===r.readUInt())if(3===r.readUByte()){var y=r.readUByte(),E=31&y,_=[y,r.readUByte()];for(a=0;a<E;a++)_.push(r.readUByte()),_.push(r.readUByte()),_.push(r.readUByte());n._insertSampleInOrder(n._txtTrack.samples,{type:3,pts:e.pts,bytes:_})}}else if(g<r.bytesAvailable)for(a=0;a<g;a++)r.readUByte()}break;case 7:if(i=!0,d=!0,!o.sps){var T=(r=new s.default(t.data)).readSPS();o.width=T.width,o.height=T.height,o.pixelRatio=T.pixelRatio,o.sps=[t.data],o.duration=n._duration;var S=t.data.subarray(1,4),b="avc1.";for(a=0;a<3;a++){var A=S[a].toString(16);A.length<2&&(A="0"+A),b+=A}o.codec=b}break;case 8:i=!0,o.pps||(o.pps=[t.data]);break;case 9:i=!1,o.audFound=!0,u&&c(u,o),u=n.avcSample=f(!1,e.pts,e.dts,"");break;case 12:i=!1;break;default:i=!1,u&&(u.debug+="unknown NAL "+t.type+" ")}u&&i&&u.units.push(t)}),t&&u&&(c(u,o),this.avcSample=null)},e.prototype._insertSampleInOrder=function(e,t){var r=e.length;if(r>0){if(t.pts>=e[r-1].pts)e.push(t);else for(var i=r-1;i>=0;i--)if(t.pts<e[i].pts){e.splice(i,0,t);break}}else e.push(t)},e.prototype._getLastNalUnit=function(){var e,t=this.avcSample;if(!t||0===t.units.length){var r=this._avcTrack.samples;t=r[r.length-1]}if(t){var i=t.units;e=i[i.length-1]}return e},e.prototype._parseAVCNALu=function(e){var t,r,i,a,n=0,s=e.byteLength,o=this._avcTrack,l=o.naluState||0,u=l,d=[],c=-1;for(-1===l&&(c=0,a=31&e[0],l=0,n=1);n<s;)if(t=e[n++],l)if(1!==l)if(t)if(1===t){var f,h;if(c>=0)i={data:e.subarray(c,n-l-1),type:a},d.push(i);else if(f=this._getLastNalUnit())if(u&&n<=4-u&&f.state&&(f.data=f.data.subarray(0,f.data.byteLength-u)),(r=n-l-1)>0)(h=new Uint8Array(f.data.byteLength+r)).set(f.data,0),h.set(e.subarray(0,r),f.data.byteLength),f.data=h;n<s?(c=n,a=31&e[n],l=0):l=-1}else l=0;else l=3;else l=t?0:2;else l=t?0:1;(c>=0&&l>=0&&(i={data:e.subarray(c,s),type:a,state:l},d.push(i)),0===d.length)&&((f=this._getLastNalUnit())&&((h=new Uint8Array(f.data.byteLength+e.byteLength)).set(f.data,0),h.set(e,f.data.byteLength),f.data=h));return o.naluState=l,d},e.prototype.discardEPB=function(e){for(var t,r,i=e.byteLength,a=[],n=1;n<i-2;)0===e[n]&&0===e[n+1]&&3===e[n+2]?(a.push(n+2),n+=2):n++;if(0===a.length)return e;t=i-a.length,r=new Uint8Array(t);var s=0;for(n=0;n<t;s++,n++)s===a[0]&&(s++,a.shift()),r[n]=e[s];return r},e.prototype._parseAACPES=function(e){var t,r,a,s,o,d=this._audioTrack,c=e.data,f=e.pts,h=this.aacOverFlow,p=this.aacLastPTS;if(h){var g=new Uint8Array(h.byteLength+c.byteLength);g.set(h,0),g.set(c,h.byteLength),c=g}for(a=0,o=c.length;a<o-1&&!i.isHeader(c,a);a++);if(a){var v=void 0,m=void 0;if(a<o-1?(v="AAC PES did not start with ADTS header,offset:"+a,m=!1):(v="no ADTS header found in AAC PES",m=!0),l.logger.warn("parsing error:"+v),this.observer.trigger(n.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:m,reason:v}),m)return}if(i.initTrackConfig(d,this.observer,c,a,this.audioCodec),r=0,t=i.getFrameDuration(d.samplerate),h&&p){var y=p+t;Math.abs(y-f)>1&&(l.logger.log("AAC: align PTS for overlapping frames by "+Math.round((y-f)/90)),f=y)}for(;a<o;)if(i.isHeader(c,a)&&a+5<o){var E=i.appendFrame(d,c,a,f,r);if(!E)break;a+=E.length,s=E.sample.pts,r++}else a++;h=a<o?c.subarray(a,o):null,this.aacOverFlow=h,this.aacLastPTS=s},e.prototype._parseMPEGPES=function(e){for(var t=e.data,r=t.length,i=0,n=0,s=e.pts;n<r;)if(a.default.isHeader(t,n)){var o=a.default.appendFrame(this._audioTrack,t,n,s,i);if(!o)break;n+=o.length,i++}else n++},e.prototype._parseID3PES=function(e){this._id3Track.samples.push(e)},e}();t.default=c},"./src/errors.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ErrorTypes={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",KEY_SYSTEM_ERROR:"keySystemError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},t.ErrorDetails={KEY_SYSTEM_NO_KEYS:"keySystemNoKeys",KEY_SYSTEM_NO_ACCESS:"keySystemNoAccess",KEY_SYSTEM_NO_SESSION:"keySystemNoSession",KEY_SYSTEM_LICENSE_REQUEST_FAILED:"keySystemLicenseRequestFailed",MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},"./src/event-handler.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js"),a=r("./src/errors.js"),n=r("./src/events.js"),o={hlsEventGeneric:!0,hlsHandlerDestroying:!0,hlsHandlerDestroyed:!0},l=function(){function e(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.hls=e,this.onEvent=this.onEvent.bind(this),this.handledEvents=t,this.useGenericHandler=!0,this.registerListeners()}return e.prototype.destroy=function(){this.onHandlerDestroying(),this.unregisterListeners(),this.onHandlerDestroyed()},e.prototype.onHandlerDestroying=function(){},e.prototype.onHandlerDestroyed=function(){},e.prototype.isEventHandler=function(){return"object"===s(this.handledEvents)&&this.handledEvents.length&&"function"==typeof this.onEvent},e.prototype.registerListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(e){if(o[e])throw new Error("Forbidden event-name: "+e);this.hls.on(e,this.onEvent)},this)},e.prototype.unregisterListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(e){this.hls.off(e,this.onEvent)},this)},e.prototype.onEvent=function(e,t){this.onEventGeneric(e,t)},e.prototype.onEventGeneric=function(e,t){try{(function(e,t){var r="on"+e.replace("hls","");if("function"!=typeof this[r])throw new Error("Event "+e+" has no generic handler in this "+this.constructor.name+" class (tried "+r+")");return this[r].bind(this,t)}).call(this,e,t).call()}catch(r){i.logger.error("An internal error happened while handling event "+e+'. Error message: "'+r.message+'". Here is a stacktrace:',r),this.hls.trigger(n.default.ERROR,{type:a.ErrorTypes.OTHER_ERROR,details:a.ErrorDetails.INTERNAL_EXCEPTION,fatal:!1,event:e,err:r})}},e}();t.default=l},"./src/events.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hlsFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"}},"./src/hls.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./node_modules/url-toolkit/src/url-toolkit.js"),s=r("./src/errors.js"),o=r("./src/loader/playlist-loader.js"),l=r("./src/loader/fragment-loader.js"),u=r("./src/loader/key-loader.js"),d=r("./src/controller/fragment-tracker.js"),c=r("./src/controller/stream-controller.js"),f=r("./src/controller/level-controller.js"),h=r("./src/controller/id3-track-controller.js"),p=r("./src/is-supported.js"),g=r("./src/utils/logger.js"),v=r("./src/config.js"),m=r("./src/events.js"),y=function(e){function t(r){void 0===r&&(r={});var i=e.call(this)||this,a=t.DefaultConfig;if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var n in a)n in r||(r[n]=a[n]);if(void 0!==r.liveMaxLatencyDurationCount&&r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==r.liveMaxLatencyDuration&&(r.liveMaxLatencyDuration<=r.liveSyncDuration||void 0===r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');g.enableLogs(r.debug),i.config=r,i._autoLevelCapping=-1;var s=i.abrController=new r.abrController(i),p=new r.bufferController(i),v=new r.capLevelController(i),m=new r.fpsController(i),y=new o.default(i),E=new l.default(i),_=new u.default(i),T=new h.default(i),S=i.levelController=new f.default(i),b=new d.FragmentTracker(i),A=[S,i.streamController=new c.default(i,b)],R=r.audioStreamController;R&&A.push(new R(i,b)),i.networkControllers=A;var D=[y,E,_,s,p,v,m,T,b];if(R=r.audioTrackController){var L=new R(i);i.audioTrackController=L,D.push(L)}if(R=r.subtitleTrackController){var w=new R(i);i.subtitleTrackController=w,A.push(w)}if(R=r.emeController){var O=new R(i);i.emeController=O,D.push(O)}return(R=r.subtitleStreamController)&&A.push(new R(i,b)),(R=r.timelineController)&&D.push(new R(i)),i.coreComponents=D,i}return a(t,e),Object.defineProperty(t,"version",{get:function(){return"0.12.4"},enumerable:!0,configurable:!0}),t.isSupported=function(){return p.isSupported()},Object.defineProperty(t,"Events",{get:function(){return m.default},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorTypes",{get:function(){return s.ErrorTypes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorDetails",{get:function(){return s.ErrorDetails},enumerable:!0,configurable:!0}),Object.defineProperty(t,"DefaultConfig",{get:function(){return t.defaultConfig?t.defaultConfig:v.hlsDefaultConfig},set:function(e){t.defaultConfig=e},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){g.logger.log("destroy"),this.trigger(m.default.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach(function(e){e.destroy()}),this.url=null,this.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(e){g.logger.log("attachMedia"),this.media=e,this.trigger(m.default.MEDIA_ATTACHING,{media:e})},t.prototype.detachMedia=function(){g.logger.log("detachMedia"),this.trigger(m.default.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(e){e=n.buildAbsoluteURL(window.location.href,e,{alwaysNormalize:!0}),g.logger.log("loadSource:"+e),this.url=e,this.trigger(m.default.MANIFEST_LOADING,{url:e})},t.prototype.startLoad=function(e){void 0===e&&(e=-1),g.logger.log("startLoad("+e+")"),this.networkControllers.forEach(function(t){t.startLoad(e)})},t.prototype.stopLoad=function(){g.logger.log("stopLoad"),this.networkControllers.forEach(function(e){e.stopLoad()})},t.prototype.swapAudioCodec=function(){g.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){g.logger.log("recoverMediaError");var e=this.media;this.detachMedia(),this.attachMedia(e)},Object.defineProperty(t.prototype,"levels",{get:function(){return this.levelController.levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLevel",{get:function(){return this.streamController.currentLevel},set:function(e){g.logger.log("set currentLevel:"+e),this.loadLevel=e,this.streamController.immediateLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLevel",{get:function(){return this.streamController.nextLevel},set:function(e){g.logger.log("set nextLevel:"+e),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loadLevel",{get:function(){return this.levelController.level},set:function(e){g.logger.log("set loadLevel:"+e),this.levelController.manualLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return this.levelController.nextLoadLevel},set:function(e){this.levelController.nextLoadLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(e){g.logger.log("set firstLevel:"+e),this.levelController.firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){return this.levelController.startLevel},set:function(e){g.logger.log("set startLevel:"+e);-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelCapping",{get:function(){return this._autoLevelCapping},set:function(e){g.logger.log("set autoLevelCapping:"+e),this._autoLevelCapping=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelEnabled",{get:function(){return-1===this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minAutoLevel",{get:function(){for(var e=this.levels,t=this.config.minAutoBitrate,r=e?e.length:0,i=0;i<r;i++){if((e[i].realBitrate?Math.max(e[i].realBitrate,e[i].bitrate):e[i].bitrate)>t)return i}return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoLevel",{get:function(){var e=this.levels,t=this.autoLevelCapping;return-1===t&&e&&e.length?e.length-1:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextAutoLevel",{get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(e){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTracks",{get:function(){var e=this.audioTrackController;return e?e.audioTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTrack",{get:function(){var e=this.audioTrackController;return e?e.audioTrack:-1},set:function(e){var t=this.audioTrackController;t&&(t.audioTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveSyncPosition",{get:function(){return this.streamController.liveSyncPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTracks",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTrack",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTrack:-1},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleDisplay",{get:function(){var e=this.subtitleTrackController;return!!e&&e.subtitleDisplay},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)},enumerable:!0,configurable:!0}),t}(r("./src/observer.js").Observer);t.default=y},"./src/is-supported.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/mediasource-helper.js");t.isSupported=function(){var e=i.getMediaSource(),t=window.SourceBuffer||window.WebKitSourceBuffer,r=e&&"function"==typeof e.isTypeSupported&&e.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),a=!t||t.prototype&&"function"==typeof t.prototype.appendBuffer&&"function"==typeof t.prototype.remove;return!!r&&!!a}},"./src/loader/fragment-loader.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/errors.js"),l=r("./src/utils/logger.js"),u=function(t){function r(e){var r=t.call(this,e,n.default.FRAG_LOADING)||this;return r.loaders={},r}return a(r,t),r.prototype.destroy=function(){var e=this.loaders;for(var r in e){var i=e[r];i&&i.destroy()}this.loaders={},t.prototype.destroy.call(this)},r.prototype.onFragLoading=function(t){var r=t.frag,i=r.type,a=this.loaders,n=this.hls.config,s=n.fLoader,o=n.loader;r.loaded=0;var u,d,c,f=a[i];f&&(l.logger.warn("abort previous fragment loader for type: "+i),f.abort()),f=a[i]=r.loader=n.fLoader?new s(n):new o(n),u={url:r.url,frag:r,responseType:"arraybuffer",progressData:!1};var h=r.byteRangeStartOffset,p=r.byteRangeEndOffset;e.isFinite(h)&&e.isFinite(p)&&(u.rangeStart=h,u.rangeEnd=p),d={timeout:n.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:n.fragLoadingMaxRetryTimeout},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},f.load(u,d,c)},r.prototype.loadsuccess=function(e,t,r,i){void 0===i&&(i=null);var a=e.data,s=r.frag;s.loader=void 0,this.loaders[s.type]=void 0,this.hls.trigger(n.default.FRAG_LOADED,{payload:a,frag:s,stats:t,networkDetails:i})},r.prototype.loaderror=function(e,t,r){void 0===r&&(r=null);var i=t.frag,a=i.loader;a&&a.abort(),this.loaders[i.type]=void 0,this.hls.trigger(n.default.ERROR,{type:o.ErrorTypes.NETWORK_ERROR,details:o.ErrorDetails.FRAG_LOAD_ERROR,fatal:!1,frag:t.frag,response:e,networkDetails:r})},r.prototype.loadtimeout=function(e,t,r){void 0===r&&(r=null);var i=t.frag,a=i.loader;a&&a.abort(),this.loaders[i.type]=void 0,this.hls.trigger(n.default.ERROR,{type:o.ErrorTypes.NETWORK_ERROR,details:o.ErrorDetails.FRAG_LOAD_TIMEOUT,fatal:!1,frag:t.frag,networkDetails:r})},r.prototype.loadprogress=function(e,t,r,i){void 0===i&&(i=null);var a=t.frag;a.loaded=e.loaded,this.hls.trigger(n.default.FRAG_LOAD_PROGRESS,{frag:a,stats:e,networkDetails:i})},r}(s.default);t.default=u}).call(this,r("./src/polyfills/number.js").Number)},"./src/loader/fragment.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./node_modules/url-toolkit/src/url-toolkit.js"),a=r("./src/loader/level-key.js"),n=function(){function t(){var e;this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[],this.programDateTime=null,this.rawProgramDateTime=null,this._elementaryStreams=((e={})[t.ElementaryStreamTypes.AUDIO]=!1,e[t.ElementaryStreamTypes.VIDEO]=!1,e)}return Object.defineProperty(t,"ElementaryStreamTypes",{get:function(){return{AUDIO:"audio",VIDEO:"video"}},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"url",{get:function(){return!this._url&&this.relurl&&(this._url=i.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(e){this._url=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRange",{get:function(){if(!this._byteRange&&!this.rawByteRange)return[];if(this._byteRange)return this._byteRange;var e=[];if(this.rawByteRange){var t=this.rawByteRange.split("@",2);if(1===t.length){var r=this.lastByteRangeEndOffset;e[0]=r||0}else e[0]=parseInt(t[1]);e[1]=parseInt(t[0])+e[0],this._byteRange=e}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRangeStartOffset",{get:function(){return this.byteRange[0]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"byteRangeEndOffset",{get:function(){return this.byteRange[1]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decryptdata",{get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"endProgramDateTime",{get:function(){if(!e.isFinite(this.programDateTime))return null;var t=e.isFinite(this.duration)?this.duration:0;return this.programDateTime+1e3*t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"encrypted",{get:function(){return!(!this.decryptdata||null===this.decryptdata.uri||null!==this.decryptdata.key)},enumerable:!0,configurable:!0}),t.prototype.addElementaryStream=function(e){this._elementaryStreams[e]=!0},t.prototype.hasElementaryStream=function(e){return!0===this._elementaryStreams[e]},t.prototype.createInitializationVector=function(e){for(var t=new Uint8Array(16),r=12;r<16;r++)t[r]=e>>8*(15-r)&255;return t},t.prototype.fragmentDecryptdataFromLevelkey=function(e,t){var r=e;return e&&e.method&&e.uri&&!e.iv&&((r=new a.default).method=e.method,r.baseuri=e.baseuri,r.reluri=e.reluri,r.iv=this.createInitializationVector(t)),r},t}();t.default=n}).call(this,r("./src/polyfills/number.js").Number)},"./src/loader/key-loader.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/errors.js"),l=r("./src/utils/logger.js"),u=function(e){function t(t){var r=e.call(this,t,n.default.KEY_LOADING)||this;return r.loaders={},r.decryptkey=null,r.decrypturl=null,r}return a(t,e),t.prototype.destroy=function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy()}this.loaders={},s.default.prototype.destroy.call(this)},t.prototype.onKeyLoading=function(e){var t=e.frag,r=t.type,i=this.loaders[r],a=t.decryptdata,s=a.uri;if(s!==this.decrypturl||null===this.decryptkey){var o=this.hls.config;i&&(l.logger.warn("abort previous key loader for type:"+r),i.abort()),t.loader=this.loaders[r]=new o.loader(o),this.decrypturl=s,this.decryptkey=null;var u,d,c;u={url:s,frag:t,responseType:"arraybuffer"},d={timeout:o.fragLoadingTimeOut,maxRetry:0,retryDelay:o.fragLoadingRetryDelay,maxRetryDelay:o.fragLoadingMaxRetryTimeout},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},t.loader.load(u,d,c)}else this.decryptkey&&(a.key=this.decryptkey,this.hls.trigger(n.default.KEY_LOADED,{frag:t}))},t.prototype.loadsuccess=function(e,t,r){var i=r.frag;this.decryptkey=i.decryptdata.key=new Uint8Array(e.data),i.loader=void 0,this.loaders[i.type]=void 0,this.hls.trigger(n.default.KEY_LOADED,{frag:i})},t.prototype.loaderror=function(e,t){var r=t.frag,i=r.loader;i&&i.abort(),this.loaders[t.type]=void 0,this.hls.trigger(n.default.ERROR,{type:o.ErrorTypes.NETWORK_ERROR,details:o.ErrorDetails.KEY_LOAD_ERROR,fatal:!1,frag:r,response:e})},t.prototype.loadtimeout=function(e,t){var r=t.frag,i=r.loader;i&&i.abort(),this.loaders[t.type]=void 0,this.hls.trigger(n.default.ERROR,{type:o.ErrorTypes.NETWORK_ERROR,details:o.ErrorDetails.KEY_LOAD_TIMEOUT,fatal:!1,frag:r})},t}(s.default);t.default=u},"./src/loader/level-key.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./node_modules/url-toolkit/src/url-toolkit.js"),a=function(){function e(){this.method=null,this.key=null,this.iv=null,this._uri=null}return Object.defineProperty(e.prototype,"uri",{get:function(){return!this._uri&&this.reluri&&(this._uri=i.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri},enumerable:!0,configurable:!0}),e}();t.default=a},"./src/loader/level.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function t(e){this.endCC=0,this.endSN=0,this.fragments=[],this.initSegment=null,this.live=!0,this.needSidxRanges=!1,this.startCC=0,this.startSN=0,this.startTimeOffset=null,this.targetduration=0,this.totalduration=0,this.type=null,this.url=e,this.version=null}return Object.defineProperty(t.prototype,"hasProgramDateTime",{get:function(){return!(!this.fragments[0]||!e.isFinite(this.fragments[0].programDateTime))},enumerable:!0,configurable:!0}),t}();t.default=r}).call(this,r("./src/polyfills/number.js").Number)},"./src/loader/m3u8-parser.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./node_modules/url-toolkit/src/url-toolkit.js"),a=r("./src/loader/fragment.js"),n=r("./src/loader/level.js"),s=r("./src/loader/level-key.js"),o=r("./src/utils/attr-list.js"),l=r("./src/utils/logger.js"),u=r("./src/utils/codecs.js"),d=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,c=/#EXT-X-MEDIA:(.*)/g,f=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),h=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,p=/\.(mp4|m4s|m4v|m4a)$/i,g=function(){function t(){}return t.findGroup=function(e,t){if(!e)return null;for(var r=null,i=0;i<e.length;i++){var a=e[i];a.id===t&&(r=a)}return r},t.convertAVC1ToAVCOTI=function(e){var t,r=e.split(".");return r.length>2?(t=r.shift()+".",t+=parseInt(r.shift()).toString(16),t+=("000"+parseInt(r.shift()).toString(16)).substr(-4)):t=e,t},t.resolve=function(e,t){return i.buildAbsoluteURL(t,e,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,r){var i,a=[];function n(e,t){["video","audio"].forEach(function(r){var i=e.filter(function(e){return u.isCodecType(e,r)});if(i.length){var a=i.filter(function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)});t[r+"Codec"]=a.length>0?a[0]:i[0],e=e.filter(function(e){return-1===i.indexOf(e)})}}),t.unknownCodecs=e}for(d.lastIndex=0;null!=(i=d.exec(e));){var s={},l=s.attrs=new o.default(i[1]);s.url=t.resolve(i[2],r);var c=l.decimalResolution("RESOLUTION");c&&(s.width=c.width,s.height=c.height),s.bitrate=l.decimalInteger("AVERAGE-BANDWIDTH")||l.decimalInteger("BANDWIDTH"),s.name=l.NAME,n([].concat((l.CODECS||"").split(/[ ,]+/)),s),s.videoCodec&&-1!==s.videoCodec.indexOf("avc1")&&(s.videoCodec=t.convertAVC1ToAVCOTI(s.videoCodec)),a.push(s)}return a},t.parseMasterPlaylistMedia=function(e,r,i,a){var n;void 0===a&&(a=[]);var s=[],l=0;for(c.lastIndex=0;null!==(n=c.exec(e));){var u={},d=new o.default(n[1]);if(d.TYPE===i){if(u.groupId=d["GROUP-ID"],u.name=d.NAME,u.type=i,u.default="YES"===d.DEFAULT,u.autoselect="YES"===d.AUTOSELECT,u.forced="YES"===d.FORCED,d.URI&&(u.url=t.resolve(d.URI,r)),u.lang=d.LANGUAGE,u.name||(u.name=u.lang),a.length){var f=t.findGroup(a,u.groupId);u.audioCodec=f?f.codec:a[0].codec}u.id=l++,s.push(u)}}return s},t.parseLevelPlaylist=function(t,r,i,u,d){var c,g,m=0,y=0,E=new n.default(r),_=new s.default,T=0,S=null,b=new a.default,A=null;for(f.lastIndex=0;null!==(c=f.exec(t));){var R=c[1];if(R){b.duration=parseFloat(R);var D=(" "+c[2]).slice(1);b.title=D||null,b.tagList.push(D?["INF",R,D]:["INF",R])}else if(c[3]){if(e.isFinite(b.duration)){var L=m++;b.type=u,b.start=y,b.levelkey=_,b.sn=L,b.level=i,b.cc=T,b.urlId=d,b.baseurl=r,b.relurl=(" "+c[3]).slice(1),v(b,S),E.fragments.push(b),S=b,y+=b.duration,b=new a.default}}else if(c[4]){if(b.rawByteRange=(" "+c[4]).slice(1),S){var w=S.byteRangeEndOffset;w&&(b.lastByteRangeEndOffset=w)}}else if(c[5])b.rawProgramDateTime=(" "+c[5]).slice(1),b.tagList.push(["PROGRAM-DATE-TIME",b.rawProgramDateTime]),null===A&&(A=E.fragments.length);else{for(c=c[0].match(h),g=1;g<c.length&&void 0===c[g];g++);var O=(" "+c[g+1]).slice(1),k=(" "+c[g+2]).slice(1);switch(c[g]){case"#":b.tagList.push(k?[O,k]:[O]);break;case"PLAYLIST-TYPE":E.type=O.toUpperCase();break;case"MEDIA-SEQUENCE":m=E.startSN=parseInt(O);break;case"TARGETDURATION":E.targetduration=parseFloat(O);break;case"VERSION":E.version=parseInt(O);break;case"EXTM3U":break;case"ENDLIST":E.live=!1;break;case"DIS":T++,b.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":T=parseInt(O);break;case"KEY":var I=O,P=new o.default(I),C=P.enumeratedString("METHOD"),x=P.URI,F=P.hexadecimalInteger("IV");C&&(_=new s.default,x&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(C)>=0&&(_.method=C,_.baseuri=r,_.reluri=x,_.key=null,_.iv=F));break;case"START":var M=O,N=new o.default(M).decimalFloatingPoint("TIME-OFFSET");e.isFinite(N)&&(E.startTimeOffset=N);break;case"MAP":var j=new o.default(O);b.relurl=j.URI,b.rawByteRange=j.BYTERANGE,b.baseurl=r,b.level=i,b.type=u,b.sn="initSegment",E.initSegment=b,(b=new a.default).rawProgramDateTime=E.initSegment.rawProgramDateTime;break;default:l.logger.warn("line parsed but not handled: "+c)}}}return(b=S)&&!b.relurl&&(E.fragments.pop(),y-=b.duration),E.totalduration=y,E.averagetargetduration=y/E.fragments.length,E.endSN=m-1,E.startCC=E.fragments[0]?E.fragments[0].cc:0,E.endCC=T,!E.initSegment&&E.fragments.length&&E.fragments.every(function(e){return p.test(e.relurl)})&&(l.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(b=new a.default).relurl=E.fragments[0].relurl,b.baseurl=r,b.level=i,b.type=u,b.sn="initSegment",E.initSegment=b,E.needSidxRanges=!0),A&&function(e,t){for(var r=e[t],i=t-1;i>=0;i--){var a=e[i];a.programDateTime=r.programDateTime-1e3*a.duration,r=a}}(E.fragments,A),E},t}();function v(t,r){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):r&&r.programDateTime&&(t.programDateTime=r.endProgramDateTime),e.isFinite(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}t.default=g}).call(this,r("./src/polyfills/number.js").Number)},"./src/loader/playlist-loader.js":function(e,t,r){"use strict";(function(e){var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=r("./src/events.js"),s=r("./src/event-handler.js"),o=r("./src/errors.js"),l=r("./src/utils/logger.js"),u=r("./src/demux/mp4demuxer.js"),d=r("./src/loader/m3u8-parser.js"),c=window.performance,f={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},h={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},p=function(t){function r(e){var r=t.call(this,e,n.default.MANIFEST_LOADING,n.default.LEVEL_LOADING,n.default.AUDIO_TRACK_LOADING,n.default.SUBTITLE_TRACK_LOADING)||this;return r.loaders={},r}return a(r,t),Object.defineProperty(r,"ContextType",{get:function(){return f},enumerable:!0,configurable:!0}),Object.defineProperty(r,"LevelType",{get:function(){return h},enumerable:!0,configurable:!0}),r.canHaveQualityLevels=function(e){return e!==f.AUDIO_TRACK&&e!==f.SUBTITLE_TRACK},r.mapContextToLevelType=function(e){switch(e.type){case f.AUDIO_TRACK:return h.AUDIO;case f.SUBTITLE_TRACK:return h.SUBTITLE;default:return h.MAIN}},r.getResponseUrl=function(e,t){var r=e.url;return void 0!==r&&0!==r.indexOf("data:")||(r=t.url),r},r.prototype.createInternalLoader=function(e){var t=this.hls.config,r=t.pLoader,i=t.loader,a=new(r||i)(t);return e.loader=a,this.loaders[e.type]=a,a},r.prototype.getInternalLoader=function(e){return this.loaders[e.type]},r.prototype.resetInternalLoader=function(e){this.loaders[e]&&delete this.loaders[e]},r.prototype.destroyInternalLoaders=function(){for(var e in this.loaders){var t=this.loaders[e];t&&t.destroy(),this.resetInternalLoader(e)}},r.prototype.destroy=function(){this.destroyInternalLoaders(),t.prototype.destroy.call(this)},r.prototype.onManifestLoading=function(e){this.load(e.url,{type:f.MANIFEST,level:0,id:null})},r.prototype.onLevelLoading=function(e){this.load(e.url,{type:f.LEVEL,level:e.level,id:e.id})},r.prototype.onAudioTrackLoading=function(e){this.load(e.url,{type:f.AUDIO_TRACK,level:null,id:e.id})},r.prototype.onSubtitleTrackLoading=function(e){this.load(e.url,{type:f.SUBTITLE_TRACK,level:null,id:e.id})},r.prototype.load=function(e,t){var r=this.hls.config;l.logger.debug("Loading playlist of type "+t.type+", level: "+t.level+", id: "+t.id);var i,a,n,s,o=this.getInternalLoader(t);if(o){var u=o.context;if(u&&u.url===e)return l.logger.trace("playlist request ongoing"),!1;l.logger.warn("aborting previous loader for type: "+t.type),o.abort()}switch(t.type){case f.MANIFEST:i=r.manifestLoadingMaxRetry,a=r.manifestLoadingTimeOut,n=r.manifestLoadingRetryDelay,s=r.manifestLoadingMaxRetryTimeout;break;case f.LEVEL:i=0,a=r.levelLoadingTimeOut;break;default:i=r.levelLoadingMaxRetry,a=r.levelLoadingTimeOut,n=r.levelLoadingRetryDelay,s=r.levelLoadingMaxRetryTimeout}o=this.createInternalLoader(t),t.url=e,t.responseType=t.responseType||"";var d={timeout:a,maxRetry:i,retryDelay:n,maxRetryDelay:s},c={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)};return l.logger.debug("Calling internal loader delegate for URL: "+e),o.load(t,d,c),!0},r.prototype.loadsuccess=function(e,t,r,i){if(void 0===i&&(i=null),r.isSidxRequest)return this._handleSidxRequest(e,r),void this._handlePlaylistLoaded(e,t,r,i);this.resetInternalLoader(r.type);var a=e.data;t.tload=c.now(),0===a.indexOf("#EXTM3U")?a.indexOf("#EXTINF:")>0||a.indexOf("#EXT-X-TARGETDURATION:")>0?this._handleTrackOrLevelPlaylist(e,t,r,i):this._handleMasterPlaylist(e,t,r,i):this._handleManifestParsingError(e,r,"no EXTM3U delimiter",i)},r.prototype.loaderror=function(e,t,r){void 0===r&&(r=null),this._handleNetworkError(t,r,!1,e)},r.prototype.loadtimeout=function(e,t,r){void 0===r&&(r=null),this._handleNetworkError(t,r,!0)},r.prototype._handleMasterPlaylist=function(e,t,i,a){var s=this.hls,o=e.data,u=r.getResponseUrl(e,i),c=d.default.parseMasterPlaylist(o,u);if(c.length){var f=c.map(function(e){return{id:e.attrs.AUDIO,codec:e.audioCodec}}),h=d.default.parseMasterPlaylistMedia(o,u,"AUDIO",f),p=d.default.parseMasterPlaylistMedia(o,u,"SUBTITLES");if(h.length){var g=!1;h.forEach(function(e){e.url||(g=!0)}),!1===g&&c[0].audioCodec&&!c[0].attrs.AUDIO&&(l.logger.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),h.unshift({type:"main",name:"main"}))}s.trigger(n.default.MANIFEST_LOADED,{levels:c,audioTracks:h,subtitles:p,url:u,stats:t,networkDetails:a})}else this._handleManifestParsingError(e,i,"no level found in manifest",a)},r.prototype._handleTrackOrLevelPlaylist=function(t,i,a,s){var o=this.hls,l=a.id,u=a.level,h=a.type,p=r.getResponseUrl(t,a),g=e.isFinite(l)?l:0,v=e.isFinite(u)?u:g,m=r.mapContextToLevelType(a),y=d.default.parseLevelPlaylist(t.data,p,v,m,g);if(y.tload=i.tload,h===f.MANIFEST){var E={url:p,details:y};o.trigger(n.default.MANIFEST_LOADED,{levels:[E],audioTracks:[],url:p,stats:i,networkDetails:s})}if(i.tparsed=c.now(),y.needSidxRanges){var _=y.initSegment.url;this.load(_,{isSidxRequest:!0,type:h,level:u,levelDetails:y,id:l,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer"})}else a.levelDetails=y,this._handlePlaylistLoaded(t,i,a,s)},r.prototype._handleSidxRequest=function(e,t){var r=u.default.parseSegmentIndex(new Uint8Array(e.data));if(r){var i=r.references,a=t.levelDetails;i.forEach(function(e,t){var r=e.info,i=a.fragments[t];0===i.byteRange.length&&(i.rawByteRange=String(1+r.end-r.start)+"@"+String(r.start))}),a.initSegment.rawByteRange=String(r.moovEndOffset)+"@0"}},r.prototype._handleManifestParsingError=function(e,t,r,i){this.hls.trigger(n.default.ERROR,{type:o.ErrorTypes.NETWORK_ERROR,details:o.ErrorDetails.MANIFEST_PARSING_ERROR,fatal:!0,url:e.url,reason:r,networkDetails:i})},r.prototype._handleNetworkError=function(e,t,r,i){var a,s;void 0===r&&(r=!1),void 0===i&&(i=null),l.logger.info("A network error occured while loading a "+e.type+"-type playlist");var u=this.getInternalLoader(e);switch(e.type){case f.MANIFEST:a=r?o.ErrorDetails.MANIFEST_LOAD_TIMEOUT:o.ErrorDetails.MANIFEST_LOAD_ERROR,s=!0;break;case f.LEVEL:a=r?o.ErrorDetails.LEVEL_LOAD_TIMEOUT:o.ErrorDetails.LEVEL_LOAD_ERROR,s=!1;break;case f.AUDIO_TRACK:a=r?o.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:o.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,s=!1;break;default:s=!1}u&&(u.abort(),this.resetInternalLoader(e.type));var d={type:o.ErrorTypes.NETWORK_ERROR,details:a,fatal:s,url:u.url,loader:u,context:e,networkDetails:t};i&&(d.response=i),this.hls.trigger(n.default.ERROR,d)},r.prototype._handlePlaylistLoaded=function(e,t,i,a){var s=i.type,o=i.level,l=i.id,u=i.levelDetails;if(u.targetduration)if(r.canHaveQualityLevels(i.type))this.hls.trigger(n.default.LEVEL_LOADED,{details:u,level:o||0,id:l||0,stats:t,networkDetails:a});else switch(s){case f.AUDIO_TRACK:this.hls.trigger(n.default.AUDIO_TRACK_LOADED,{details:u,id:l,stats:t,networkDetails:a});break;case f.SUBTITLE_TRACK:this.hls.trigger(n.default.SUBTITLE_TRACK_LOADED,{details:u,id:l,stats:t,networkDetails:a})}else this._handleManifestParsingError(e,i,"invalid target duration",a)},r}(s.default);t.default=p}).call(this,r("./src/polyfills/number.js").Number)},"./src/observer.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.trigger=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.emit.apply(this,[e,e].concat(t))},t}(r("./node_modules/eventemitter3/index.js").EventEmitter);t.Observer=n},"./src/polyfills/number.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/get-self-scope.js").getSelfScope().Number;t.Number=i,i.isFinite=i.isFinite||function(e){return"number"==typeof e&&isFinite(e)}},"./src/remux/aac-helper.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.getSilentFrame=function(e,t){switch(e){case"mp4a.40.2":if(1===t)return new Uint8Array([0,200,0,128,35,128]);if(2===t)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===t)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===t)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===t)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null},e}();t.default=i},"./src/remux/mp4-generator.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Math.pow(2,32)-1,a=function(){function e(){}return e.init=function(){var t;for(t in e.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]},e.types)e.types.hasOwnProperty(t)&&(e.types[t]=[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]);var r=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),i=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);e.HDLR_TYPES={video:r,audio:i};var a=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),n=new Uint8Array([0,0,0,0,0,0,0,0]);e.STTS=e.STSC=e.STCO=n,e.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),e.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),e.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),e.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var s=new Uint8Array([105,115,111,109]),o=new Uint8Array([97,118,99,49]),l=new Uint8Array([0,0,0,1]);e.FTYP=e.box(e.types.ftyp,s,l,s,o),e.DINF=e.box(e.types.dinf,e.box(e.types.dref,a))},e.box=function(e){for(var t,r=Array.prototype.slice.call(arguments,1),i=8,a=r.length,n=a;a--;)i+=r[a].byteLength;for((t=new Uint8Array(i))[0]=i>>24&255,t[1]=i>>16&255,t[2]=i>>8&255,t[3]=255&i,t.set(e,4),a=0,i=8;a<n;a++)t.set(r[a],i),i+=r[a].byteLength;return t},e.hdlr=function(t){return e.box(e.types.hdlr,e.HDLR_TYPES[t])},e.mdat=function(t){return e.box(e.types.mdat,t)},e.mdhd=function(t,r){r*=t;var a=Math.floor(r/(i+1)),n=Math.floor(r%(i+1));return e.box(e.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,a>>24,a>>16&255,a>>8&255,255&a,n>>24,n>>16&255,n>>8&255,255&n,85,196,0,0]))},e.mdia=function(t){return e.box(e.types.mdia,e.mdhd(t.timescale,t.duration),e.hdlr(t.type),e.minf(t))},e.mfhd=function(t){return e.box(e.types.mfhd,new Uint8Array([0,0,0,0,t>>24,t>>16&255,t>>8&255,255&t]))},e.minf=function(t){return"audio"===t.type?e.box(e.types.minf,e.box(e.types.smhd,e.SMHD),e.DINF,e.stbl(t)):e.box(e.types.minf,e.box(e.types.vmhd,e.VMHD),e.DINF,e.stbl(t))},e.moof=function(t,r,i){return e.box(e.types.moof,e.mfhd(t),e.traf(i,r))},e.moov=function(t){for(var r=t.length,i=[];r--;)i[r]=e.trak(t[r]);return e.box.apply(null,[e.types.moov,e.mvhd(t[0].timescale,t[0].duration)].concat(i).concat(e.mvex(t)))},e.mvex=function(t){for(var r=t.length,i=[];r--;)i[r]=e.trex(t[r]);return e.box.apply(null,[e.types.mvex].concat(i))},e.mvhd=function(t,r){r*=t;var a=Math.floor(r/(i+1)),n=Math.floor(r%(i+1)),s=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,t>>24&255,t>>16&255,t>>8&255,255&t,a>>24,a>>16&255,a>>8&255,255&a,n>>24,n>>16&255,n>>8&255,255&n,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return e.box(e.types.mvhd,s)},e.sdtp=function(t){var r,i,a=t.samples||[],n=new Uint8Array(4+a.length);for(i=0;i<a.length;i++)r=a[i].flags,n[i+4]=r.dependsOn<<4|r.isDependedOn<<2|r.hasRedundancy;return e.box(e.types.sdtp,n)},e.stbl=function(t){return e.box(e.types.stbl,e.stsd(t),e.box(e.types.stts,e.STTS),e.box(e.types.stsc,e.STSC),e.box(e.types.stsz,e.STSZ),e.box(e.types.stco,e.STCO))},e.avc1=function(t){var r,i,a,n=[],s=[];for(r=0;r<t.sps.length;r++)a=(i=t.sps[r]).byteLength,n.push(a>>>8&255),n.push(255&a),n=n.concat(Array.prototype.slice.call(i));for(r=0;r<t.pps.length;r++)a=(i=t.pps[r]).byteLength,s.push(a>>>8&255),s.push(255&a),s=s.concat(Array.prototype.slice.call(i));var o=e.box(e.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|t.sps.length].concat(n).concat([t.pps.length]).concat(s))),l=t.width,u=t.height,d=t.pixelRatio[0],c=t.pixelRatio[1];return e.box(e.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,l>>8&255,255&l,u>>8&255,255&u,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),o,e.box(e.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),e.box(e.types.pasp,new Uint8Array([d>>24,d>>16&255,d>>8&255,255&d,c>>24,c>>16&255,c>>8&255,255&c])))},e.esds=function(e){var t=e.config.length;return new Uint8Array([0,0,0,0,3,23+t,0,1,0,4,15+t,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([t]).concat(e.config).concat([6,1,2]))},e.mp4a=function(t){var r=t.samplerate;return e.box(e.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]),e.box(e.types.esds,e.esds(t)))},e.mp3=function(t){var r=t.samplerate;return e.box(e.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,t.channelCount,0,16,0,0,0,0,r>>8&255,255&r,0,0]))},e.stsd=function(t){return"audio"===t.type?t.isAAC||"mp3"!==t.codec?e.box(e.types.stsd,e.STSD,e.mp4a(t)):e.box(e.types.stsd,e.STSD,e.mp3(t)):e.box(e.types.stsd,e.STSD,e.avc1(t))},e.tkhd=function(t){var r=t.id,a=t.duration*t.timescale,n=t.width,s=t.height,o=Math.floor(a/(i+1)),l=Math.floor(a%(i+1));return e.box(e.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,r>>24&255,r>>16&255,r>>8&255,255&r,0,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,l>>24,l>>16&255,l>>8&255,255&l,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,n>>8&255,255&n,0,0,s>>8&255,255&s,0,0]))},e.traf=function(t,r){var a=e.sdtp(t),n=t.id,s=Math.floor(r/(i+1)),o=Math.floor(r%(i+1));return e.box(e.types.traf,e.box(e.types.tfhd,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n])),e.box(e.types.tfdt,new Uint8Array([1,0,0,0,s>>24,s>>16&255,s>>8&255,255&s,o>>24,o>>16&255,o>>8&255,255&o])),e.trun(t,a.length+16+20+8+16+8+8),a)},e.trak=function(t){return t.duration=t.duration||4294967295,e.box(e.types.trak,e.tkhd(t),e.mdia(t))},e.trex=function(t){var r=t.id;return e.box(e.types.trex,new Uint8Array([0,0,0,0,r>>24,r>>16&255,r>>8&255,255&r,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},e.trun=function(t,r){var i,a,n,s,o,l,u=t.samples||[],d=u.length,c=12+16*d,f=new Uint8Array(c);for(r+=8+c,f.set([0,0,15,1,d>>>24&255,d>>>16&255,d>>>8&255,255&d,r>>>24&255,r>>>16&255,r>>>8&255,255&r],0),i=0;i<d;i++)n=(a=u[i]).duration,s=a.size,o=a.flags,l=a.cts,f.set([n>>>24&255,n>>>16&255,n>>>8&255,255&n,s>>>24&255,s>>>16&255,s>>>8&255,255&s,o.isLeading<<2|o.dependsOn,o.isDependedOn<<6|o.hasRedundancy<<4|o.paddingValue<<1|o.isNonSync,61440&o.degradPrio,15&o.degradPrio,l>>>24&255,l>>>16&255,l>>>8&255,255&l],12+16*i);return e.box(e.types.trun,f)},e.initSegment=function(t){e.types||e.init();var r,i=e.moov(t);return(r=new Uint8Array(e.FTYP.byteLength+i.byteLength)).set(e.FTYP),r.set(i,e.FTYP.byteLength),r},e}();t.default=a},"./src/remux/mp4-remuxer.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/remux/aac-helper.js"),a=r("./src/remux/mp4-generator.js"),n=r("./src/events.js"),s=r("./src/errors.js"),o=r("./src/utils/logger.js"),l=function(){function e(e,t,r,i){this.observer=e,this.config=t,this.typeSupported=r;var a=navigator.userAgent;this.isSafari=i&&i.indexOf("Apple")>-1&&a&&!a.match("CriOS"),this.ISGenerated=!1}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(e){this._initPTS=this._initDTS=e},e.prototype.resetInitSegment=function(){this.ISGenerated=!1},e.prototype.remux=function(e,t,r,i,a,s,l){if(this.ISGenerated||this.generateIS(e,t,a),this.ISGenerated){var u=e.samples.length,d=t.samples.length,c=a,f=a;if(u&&d){var h=(e.samples[0].pts-t.samples[0].pts)/t.inputTimeScale;c+=Math.max(0,h),f+=Math.max(0,-h)}if(u){e.timescale||(o.logger.warn("regenerate InitSegment as audio detected"),this.generateIS(e,t,a));var p=this.remuxAudio(e,c,s,l);if(d){var g=void 0;p&&(g=p.endPTS-p.startPTS),t.timescale||(o.logger.warn("regenerate InitSegment as video detected"),this.generateIS(e,t,a)),this.remuxVideo(t,f,s,g,l)}}else if(d){var v=this.remuxVideo(t,f,s,0,l);v&&e.codec&&this.remuxEmptyAudio(e,c,s,v)}}r.samples.length&&this.remuxID3(r,a),i.samples.length&&this.remuxText(i,a),this.observer.trigger(n.default.FRAG_PARSED)},e.prototype.generateIS=function(e,t,r){var i,l,u=this.observer,d=e.samples,c=t.samples,f=this.typeSupported,h="audio/mp4",p={},g={tracks:p},v=void 0===this._initPTS;if(v&&(i=l=1/0),e.config&&d.length&&(e.timescale=e.samplerate,o.logger.log("audio sampling rate : "+e.samplerate),e.isAAC||(f.mpeg?(h="audio/mpeg",e.codec=""):f.mp3&&(e.codec="mp3")),p.audio={container:h,codec:e.codec,initSegment:!e.isAAC&&f.mpeg?new Uint8Array:a.default.initSegment([e]),metadata:{channelCount:e.channelCount}},v&&(i=l=d[0].pts-e.inputTimeScale*r)),t.sps&&t.pps&&c.length){var m=t.inputTimeScale;t.timescale=m,p.video={container:"video/mp4",codec:t.codec,initSegment:a.default.initSegment([t]),metadata:{width:t.width,height:t.height}},v&&(i=Math.min(i,c[0].pts-m*r),l=Math.min(l,c[0].dts-m*r),this.observer.trigger(n.default.INIT_PTS_FOUND,{initPTS:i}))}Object.keys(p).length?(u.trigger(n.default.FRAG_PARSING_INIT_SEGMENT,g),this.ISGenerated=!0,v&&(this._initPTS=i,this._initDTS=l)):u.trigger(n.default.ERROR,{type:s.ErrorTypes.MEDIA_ERROR,details:s.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},e.prototype.remuxVideo=function(e,t,r,i,l){var u,d,c,f,h,p,g,v=8,m=e.timescale,y=e.samples,E=[],_=y.length,T=this._PTSNormalize,S=this._initPTS,b=this.nextAvcDts,A=this.isSafari;if(0!==_){A&&(r|=y.length&&b&&(l&&Math.abs(t-b/m)<.1||Math.abs(y[0].pts-b-S)<m/5)),r||(b=t*m),y.forEach(function(e){e.pts=T(e.pts-S,b),e.dts=T(e.dts-S,b)}),y.sort(function(e,t){var r=e.dts-t.dts,i=e.pts-t.pts;return r||i||e.id-t.id});var R=y.reduce(function(e,t){return Math.max(Math.min(e,t.pts-t.dts),-18e3)},0);if(R<0){o.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(R/90)+" ms to overcome this issue");for(var D=0;D<y.length;D++)y[D].dts+=R}var L=y[0];h=Math.max(L.dts,0),f=Math.max(L.pts,0);var w=Math.round((h-b)/90);r&&w&&(w>1?o.logger.log("AVC:"+w+" ms hole between fragments detected,filling it"):w<-1&&o.logger.log("AVC:"+-w+" ms overlapping between fragments detected"),h=b,y[0].dts=h,f=Math.max(f-w,b),y[0].pts=f,o.logger.log("Video/PTS/DTS adjusted: "+Math.round(f/90)+"/"+Math.round(h/90)+",delta:"+w+" ms")),L=y[y.length-1],g=Math.max(L.dts,0),p=Math.max(L.pts,0,g),A&&(u=Math.round((g-h)/(y.length-1)));var O=0,k=0;for(D=0;D<_;D++){for(var I=y[D],P=I.units,C=P.length,x=0,F=0;F<C;F++)x+=P[F].data.length;k+=x,O+=C,I.length=x,I.dts=A?h+D*u:Math.max(I.dts,h),I.pts=Math.max(I.pts,I.dts)}var M=k+4*O+8;try{d=new Uint8Array(M)}catch(Z){return void this.observer.trigger(n.default.ERROR,{type:s.ErrorTypes.MUX_ERROR,details:s.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:M,reason:"fail allocating video mdat "+M})}var N=new DataView(d.buffer);N.setUint32(0,M),d.set(a.default.types.mdat,4);for(D=0;D<_;D++){var j=y[D],U=j.units,B=0,G=void 0;for(F=0,C=U.length;F<C;F++){var K=U[F],H=K.data,V=K.data.byteLength;N.setUint32(v,V),v+=4,d.set(H,v),v+=V,B+=4+V}if(A)G=Math.max(0,u*Math.round((j.pts-j.dts)/u));else{if(D<_-1)u=y[D+1].dts-j.dts;else{var W=this.config,Y=j.dts-y[D>0?D-1:D].dts;if(W.stretchShortVideoTrack){var q=W.maxBufferHole,X=Math.floor(q*m),z=(i?f+i*m:this.nextAudioPts)-j.pts;z>X?((u=z-Y)<0&&(u=Y),o.logger.log("It is approximately "+z/90+" ms to the next segment; using duration "+u/90+" ms for the last video frame.")):u=Y}else u=Y}G=Math.round(j.pts-j.dts)}E.push({size:B,duration:u,cts:G,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:j.key?2:1,isNonSync:j.key?0:1}})}this.nextAvcDts=g+u;var Q=e.dropped;if(e.len=0,e.nbNalu=0,e.dropped=0,E.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var J=E[0].flags;J.dependsOn=2,J.isNonSync=0}e.samples=E,c=a.default.moof(e.sequenceNumber++,h,e),e.samples=[];var $={data1:c,data2:d,startPTS:f/m,endPTS:(p+u)/m,startDTS:h/m,endDTS:this.nextAvcDts/m,type:"video",hasAudio:!1,hasVideo:!0,nb:E.length,dropped:Q};return this.observer.trigger(n.default.FRAG_PARSING_DATA,$),$}},e.prototype.remuxAudio=function(e,t,r,l){var u,d,c,f,h,p,g,v=e.inputTimeScale,m=e.timescale,y=v/m,E=(e.isAAC?1024:1152)*y,_=this._PTSNormalize,T=this._initPTS,S=!e.isAAC&&this.typeSupported.mpeg,b=e.samples,A=[],R=this.nextAudioPts;if(r|=b.length&&R&&(l&&Math.abs(t-R/v)<.1||Math.abs(b[0].pts-R-T)<20*E),b.forEach(function(e){e.pts=e.dts=_(e.pts-T,t*v)}),0!==(b=b.filter(function(e){return e.pts>=0})).length){if(r||(R=l?t*v:b[0].pts),e.isAAC)for(var D=this.config.maxAudioFramesDrift,L=0,w=R;L<b.length;){var O,k=b[L];O=(j=k.pts)-w;var I=Math.abs(1e3*O/v);if(O<=-D*E)o.logger.warn("Dropping 1 audio frame @ "+(w/v).toFixed(3)+"s due to "+Math.round(I)+" ms overlap."),b.splice(L,1),e.len-=k.unit.length;else if(O>=D*E&&I<1e4&&w){var P=Math.round(O/E);o.logger.warn("Injecting "+P+" audio frame @ "+(w/v).toFixed(3)+"s due to "+Math.round(1e3*O/v)+" ms gap.");for(var C=0;C<P;C++){var x=Math.max(w,0);(c=i.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(o.logger.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),c=k.unit.subarray()),b.splice(L,0,{unit:c,pts:x,dts:x}),e.len+=c.length,w+=E,L++}k.pts=k.dts=w,w+=E,L++}else Math.abs(O),k.pts=k.dts=w,w+=E,L++}C=0;for(var F=b.length;C<F;C++){var M=b[C],N=M.unit,j=M.pts;if(void 0!==g)d.duration=Math.round((j-g)/y);else{var U=Math.round(1e3*(j-R)/v),B=0;if(r&&e.isAAC&&U){if(U>0&&U<1e4)B=Math.round((j-R)/E),o.logger.log(U+" ms hole between AAC samples detected,filling it"),B>0&&((c=i.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(c=N.subarray()),e.len+=B*c.length);else if(U<-12){o.logger.log("drop overlapping AAC sample, expected/parsed/delta:"+(R/v).toFixed(3)+"s/"+(j/v).toFixed(3)+"s/"+-U+"ms"),e.len-=N.byteLength;continue}j=R}if(p=j,!(e.len>0))return;var G=S?e.len:e.len+8;u=S?0:8;try{f=new Uint8Array(G)}catch(X){return void this.observer.trigger(n.default.ERROR,{type:s.ErrorTypes.MUX_ERROR,details:s.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:G,reason:"fail allocating audio mdat "+G})}S||(new DataView(f.buffer).setUint32(0,G),f.set(a.default.types.mdat,4));for(L=0;L<B;L++)(c=i.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(o.logger.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),c=N.subarray()),f.set(c,u),u+=c.byteLength,d={size:c.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},A.push(d)}f.set(N,u);var K=N.byteLength;u+=K,d={size:K,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},A.push(d),g=j}var H=0,V=A.length;if(V>=2&&(H=A[V-2].duration,d.duration=H),V){this.nextAudioPts=R=g+y*H,e.len=0,e.samples=A,h=S?new Uint8Array:a.default.moof(e.sequenceNumber++,p/y,e),e.samples=[];var W=p/v,Y=R/v,q={data1:h,data2:f,startPTS:W,endPTS:Y,startDTS:W,endDTS:Y,type:"audio",hasAudio:!0,hasVideo:!1,nb:V};return this.observer.trigger(n.default.FRAG_PARSING_DATA,q),q}return null}},e.prototype.remuxEmptyAudio=function(e,t,r,a){var n=e.inputTimeScale,s=n/(e.samplerate?e.samplerate:n),l=this.nextAudioPts,u=(void 0!==l?l:a.startDTS*n)+this._initDTS,d=a.endDTS*n+this._initDTS,c=1024*s,f=Math.ceil((d-u)/c),h=i.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(o.logger.warn("remux empty Audio"),h){for(var p=[],g=0;g<f;g++){var v=u+g*c;p.push({unit:h,pts:v,dts:v}),e.len+=h.length}e.samples=p,this.remuxAudio(e,t,r)}else o.logger.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")},e.prototype.remuxID3=function(e){var t,r=e.samples.length,i=e.inputTimeScale,a=this._initPTS,s=this._initDTS;if(r){for(var o=0;o<r;o++)(t=e.samples[o]).pts=(t.pts-a)/i,t.dts=(t.dts-s)/i;this.observer.trigger(n.default.FRAG_PARSING_METADATA,{samples:e.samples})}e.samples=[]},e.prototype.remuxText=function(e){e.samples.sort(function(e,t){return e.pts-t.pts});var t,r=e.samples.length,i=e.inputTimeScale,a=this._initPTS;if(r){for(var s=0;s<r;s++)(t=e.samples[s]).pts=(t.pts-a)/i;this.observer.trigger(n.default.FRAG_PARSING_USERDATA,{samples:e.samples})}e.samples=[]},e.prototype._PTSNormalize=function(e,t){var r;if(void 0===t)return e;for(r=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=r;return e},e}();t.default=l},"./src/remux/passthrough-remuxer.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/events.js"),a=function(){function e(e){this.observer=e}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(){},e.prototype.resetInitSegment=function(){},e.prototype.remux=function(e,t,r,a,n,s,o,l){var u=this.observer,d="";e&&(d+="audio"),t&&(d+="video"),u.trigger(i.default.FRAG_PARSING_DATA,{data1:l,startPTS:n,startDTS:n,type:d,hasAudio:!!e,hasVideo:!!t,nb:1,dropped:0}),u.trigger(i.default.FRAG_PARSED)},e}();t.default=a},"./src/task-loop.js":function(e,t,r){"use strict";var i,a=this&&this.__extends||(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){function t(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];var a=e.apply(this,[t].concat(r))||this;return a._tickInterval=null,a._tickTimer=null,a._tickCallCount=0,a._boundTick=a.tick.bind(a),a}return a(t,e),t.prototype.onHandlerDestroying=function(){this.clearNextTick(),this.clearInterval()},t.prototype.hasInterval=function(){return!!this._tickInterval},t.prototype.hasNextTick=function(){return!!this._tickTimer},t.prototype.setInterval=function(e){return!this._tickInterval&&(this._tickInterval=setInterval(this._boundTick,e),!0)},t.prototype.clearInterval=function(){return!!this._tickInterval&&(clearInterval(this._tickInterval),this._tickInterval=null,!0)},t.prototype.clearNextTick=function(){return!!this._tickTimer&&(clearTimeout(this._tickTimer),this._tickTimer=null,!0)},t.prototype.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&(this.clearNextTick(),this._tickTimer=setTimeout(this._boundTick,0)),this._tickCallCount=0)},t.prototype.doTick=function(){},t}(r("./src/event-handler.js").default);t.default=n},"./src/utils/attr-list.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=/^(\d+)x(\d+)$/,i=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,a=function(){function t(e){for(var r in"string"==typeof e&&(e=t.parseAttrList(e)),e)e.hasOwnProperty(r)&&(this[r]=e[r])}return t.prototype.decimalInteger=function(t){var r=parseInt(this[t],10);return r>e.MAX_SAFE_INTEGER?1/0:r},t.prototype.hexadecimalInteger=function(e){if(this[e]){var t=(this[e]||"0x").slice(2);t=(1&t.length?"0":"")+t;for(var r=new Uint8Array(t.length/2),i=0;i<t.length/2;i++)r[i]=parseInt(t.slice(2*i,2*i+2),16);return r}return null},t.prototype.hexadecimalIntegerAsNumber=function(t){var r=parseInt(this[t],16);return r>e.MAX_SAFE_INTEGER?1/0:r},t.prototype.decimalFloatingPoint=function(e){return parseFloat(this[e])},t.prototype.enumeratedString=function(e){return this[e]},t.prototype.decimalResolution=function(e){var t=r.exec(this[e]);if(null!==t)return{width:parseInt(t[1],10),height:parseInt(t[2],10)}},t.parseAttrList=function(e){var t,r={};for(i.lastIndex=0;null!==(t=i.exec(e));){var a=t[2];0===a.indexOf('"')&&a.lastIndexOf('"')===a.length-1&&(a=a.slice(1,-1)),r[t[1]]=a}return r},t}();t.default=a}).call(this,r("./src/polyfills/number.js").Number)},"./src/utils/binary-search.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={search:function(e,t){for(var r=0,i=e.length-1,a=null,n=null;r<=i;){var s=t(n=e[a=(r+i)/2|0]);if(s>0)r=a+1;else{if(!(s<0))return n;i=a-1}}return null}}},"./src/utils/buffer-helper.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(){}return e.isBuffered=function(e,t){try{if(e)for(var r=e.buffered,i=0;i<r.length;i++)if(t>=r.start(i)&&t<=r.end(i))return!0}catch(a){}return!1},e.bufferInfo=function(e,t,r){try{if(e){var i=e.buffered,a=[],n=void 0;for(n=0;n<i.length;n++)a.push({start:i.start(n),end:i.end(n)});return this.bufferedInfo(a,t,r)}}catch(s){}return{len:0,start:t,end:t,nextStart:void 0}},e.bufferedInfo=function(e,t,r){var i,a,n,s,o,l=[];for(e.sort(function(e,t){var r=e.start-t.start;return r||t.end-e.end}),o=0;o<e.length;o++){var u=l.length;if(u){var d=l[u-1].end;e[o].start-d<r?e[o].end>d&&(l[u-1].end=e[o].end):l.push(e[o])}else l.push(e[o])}for(o=0,i=0,a=n=t;o<l.length;o++){var c=l[o].start,f=l[o].end;if(t+r>=c&&t<f)a=c,i=(n=f)-t;else if(t+r<c){s=c;break}}return{len:i,start:a,end:n,nextStart:s}},e}();t.BufferHelper=i},"./src/utils/cea-608-parser.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={42:225,92:233,94:237,95:243,96:250,123:231,124:247,125:209,126:241,127:9608,128:174,129:176,130:189,131:191,132:8482,133:162,134:163,135:9834,136:224,137:32,138:232,139:226,140:234,141:238,142:244,143:251,144:193,145:201,146:211,147:218,148:220,149:252,150:8216,151:161,152:42,153:8217,154:9473,155:169,156:8480,157:8226,158:8220,159:8221,160:192,161:194,162:199,163:200,164:202,165:203,166:235,167:206,168:207,169:239,170:212,171:217,172:249,173:219,174:171,175:187,176:195,177:227,178:205,179:204,180:236,181:210,182:242,183:213,184:245,185:123,186:125,187:92,188:94,189:95,190:124,191:8764,192:196,193:228,194:214,195:246,196:223,197:165,198:164,199:9475,200:197,201:229,202:216,203:248,204:9487,205:9491,206:9495,207:9499},a=function(e){var t=e;return i.hasOwnProperty(e)&&(t=i[e]),String.fromCharCode(t)},n=15,s=100,o={17:1,18:3,21:5,22:7,23:9,16:11,19:12,20:14},l={17:2,18:4,21:6,22:8,23:10,19:13,20:15},u={25:1,26:3,29:5,30:7,31:9,24:11,27:12,28:14},d={25:2,26:4,29:6,30:8,31:10,27:13,28:15},c=["white","green","blue","cyan","red","yellow","magenta","black","transparent"],f={verboseFilter:{DATA:3,DEBUG:3,INFO:2,WARNING:2,TEXT:1,ERROR:0},time:null,verboseLevel:0,setTime:function(e){this.time=e},log:function(e,t){this.verboseFilter[e];this.verboseLevel}},h=function(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r].toString(16));return t},p=function(){function e(e,t,r,i,a){this.foreground=e||"white",this.underline=t||!1,this.italics=r||!1,this.background=i||"black",this.flash=a||!1}return e.prototype.reset=function(){this.foreground="white",this.underline=!1,this.italics=!1,this.background="black",this.flash=!1},e.prototype.setStyles=function(e){for(var t=["foreground","underline","italics","background","flash"],r=0;r<t.length;r++){var i=t[r];e.hasOwnProperty(i)&&(this[i]=e[i])}},e.prototype.isDefault=function(){return"white"===this.foreground&&!this.underline&&!this.italics&&"black"===this.background&&!this.flash},e.prototype.equals=function(e){return this.foreground===e.foreground&&this.underline===e.underline&&this.italics===e.italics&&this.background===e.background&&this.flash===e.flash},e.prototype.copy=function(e){this.foreground=e.foreground,this.underline=e.underline,this.italics=e.italics,this.background=e.background,this.flash=e.flash},e.prototype.toString=function(){return"color="+this.foreground+", underline="+this.underline+", italics="+this.italics+", background="+this.background+", flash="+this.flash},e}(),g=function(){function e(e,t,r,i,a,n){this.uchar=e||" ",this.penState=new p(t,r,i,a,n)}return e.prototype.reset=function(){this.uchar=" ",this.penState.reset()},e.prototype.setChar=function(e,t){this.uchar=e,this.penState.copy(t)},e.prototype.setPenState=function(e){this.penState.copy(e)},e.prototype.equals=function(e){return this.uchar===e.uchar&&this.penState.equals(e.penState)},e.prototype.copy=function(e){this.uchar=e.uchar,this.penState.copy(e.penState)},e.prototype.isEmpty=function(){return" "===this.uchar&&this.penState.isDefault()},e}(),v=function(){function e(){this.chars=[];for(var e=0;e<s;e++)this.chars.push(new g);this.pos=0,this.currPenState=new p}return e.prototype.equals=function(e){for(var t=!0,r=0;r<s;r++)if(!this.chars[r].equals(e.chars[r])){t=!1;break}return t},e.prototype.copy=function(e){for(var t=0;t<s;t++)this.chars[t].copy(e.chars[t])},e.prototype.isEmpty=function(){for(var e=!0,t=0;t<s;t++)if(!this.chars[t].isEmpty()){e=!1;break}return e},e.prototype.setCursor=function(e){this.pos!==e&&(this.pos=e),this.pos<0?(f.log("ERROR","Negative cursor position "+this.pos),this.pos=0):this.pos>s&&(f.log("ERROR","Too large cursor position "+this.pos),this.pos=s)},e.prototype.moveCursor=function(e){var t=this.pos+e;if(e>1)for(var r=this.pos+1;r<t+1;r++)this.chars[r].setPenState(this.currPenState);this.setCursor(t)},e.prototype.backSpace=function(){this.moveCursor(-1),this.chars[this.pos].setChar(" ",this.currPenState)},e.prototype.insertChar=function(e){e>=144&&this.backSpace();var t=a(e);this.pos>=s?f.log("ERROR","Cannot insert "+e.toString(16)+" ("+t+") at position "+this.pos+". Skipping it!"):(this.chars[this.pos].setChar(t,this.currPenState),this.moveCursor(1))},e.prototype.clearFromPos=function(e){var t;for(t=e;t<s;t++)this.chars[t].reset()},e.prototype.clear=function(){this.clearFromPos(0),this.pos=0,this.currPenState.reset()},e.prototype.clearToEndOfRow=function(){this.clearFromPos(this.pos)},e.prototype.getTextString=function(){for(var e=[],t=!0,r=0;r<s;r++){var i=this.chars[r].uchar;" "!==i&&(t=!1),e.push(i)}return t?"":e.join("")},e.prototype.setPenStyles=function(e){this.currPenState.setStyles(e),this.chars[this.pos].setPenState(this.currPenState)},e}(),m=function(){function e(){this.rows=[];for(var e=0;e<n;e++)this.rows.push(new v);this.currRow=n-1,this.nrRollUpRows=null,this.reset()}return e.prototype.reset=function(){for(var e=0;e<n;e++)this.rows[e].clear();this.currRow=n-1},e.prototype.equals=function(e){for(var t=!0,r=0;r<n;r++)if(!this.rows[r].equals(e.rows[r])){t=!1;break}return t},e.prototype.copy=function(e){for(var t=0;t<n;t++)this.rows[t].copy(e.rows[t])},e.prototype.isEmpty=function(){for(var e=!0,t=0;t<n;t++)if(!this.rows[t].isEmpty()){e=!1;break}return e},e.prototype.backSpace=function(){this.rows[this.currRow].backSpace()},e.prototype.clearToEndOfRow=function(){this.rows[this.currRow].clearToEndOfRow()},e.prototype.insertChar=function(e){this.rows[this.currRow].insertChar(e)},e.prototype.setPen=function(e){this.rows[this.currRow].setPenStyles(e)},e.prototype.moveCursor=function(e){this.rows[this.currRow].moveCursor(e)},e.prototype.setCursor=function(e){f.log("INFO","setCursor: "+e),this.rows[this.currRow].setCursor(e)},e.prototype.setPAC=function(e){f.log("INFO","pacData = "+JSON.stringify(e));var t=e.row-1;if(this.nrRollUpRows&&t<this.nrRollUpRows-1&&(t=this.nrRollUpRows-1),this.nrRollUpRows&&this.currRow!==t){for(var r=0;r<n;r++)this.rows[r].clear();var i=this.currRow+1-this.nrRollUpRows,a=this.lastOutputScreen;if(a){var s=a.rows[i].cueStartTime;if(s&&s<f.time)for(r=0;r<this.nrRollUpRows;r++)this.rows[t-this.nrRollUpRows+r+1].copy(a.rows[i+r])}}this.currRow=t;var o=this.rows[this.currRow];if(null!==e.indent){var l=e.indent,u=Math.max(l-1,0);o.setCursor(e.indent),e.color=o.chars[u].penState.foreground}var d={foreground:e.color,underline:e.underline,italics:e.italics,background:"black",flash:!1};this.setPen(d)},e.prototype.setBkgData=function(e){f.log("INFO","bkgData = "+JSON.stringify(e)),this.backSpace(),this.setPen(e),this.insertChar(32)},e.prototype.setRollUpRows=function(e){this.nrRollUpRows=e},e.prototype.rollUp=function(){if(null!==this.nrRollUpRows){f.log("TEXT",this.getDisplayText());var e=this.currRow+1-this.nrRollUpRows,t=this.rows.splice(e,1)[0];t.clear(),this.rows.splice(this.currRow,0,t),f.log("INFO","Rolling up")}else f.log("DEBUG","roll_up but nrRollUpRows not set yet")},e.prototype.getDisplayText=function(e){e=e||!1;for(var t=[],r="",i=-1,a=0;a<n;a++){var s=this.rows[a].getTextString();s&&(i=a+1,e?t.push("Row "+i+": '"+s+"'"):t.push(s.trim()))}return t.length>0&&(r=e?"["+t.join(" | ")+"]":t.join("\n")),r},e.prototype.getTextAndFormat=function(){return this.rows},e}(),y=function(){function e(e,t){this.chNr=e,this.outputFilter=t,this.mode=null,this.verbose=0,this.displayedMemory=new m,this.nonDisplayedMemory=new m,this.lastOutputScreen=new m,this.currRollUpRow=this.displayedMemory.rows[n-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null}return e.prototype.reset=function(){this.mode=null,this.displayedMemory.reset(),this.nonDisplayedMemory.reset(),this.lastOutputScreen.reset(),this.currRollUpRow=this.displayedMemory.rows[n-1],this.writeScreen=this.displayedMemory,this.mode=null,this.cueStartTime=null,this.lastCueEndTime=null},e.prototype.getHandler=function(){return this.outputFilter},e.prototype.setHandler=function(e){this.outputFilter=e},e.prototype.setPAC=function(e){this.writeScreen.setPAC(e)},e.prototype.setBkgData=function(e){this.writeScreen.setBkgData(e)},e.prototype.setMode=function(e){e!==this.mode&&(this.mode=e,f.log("INFO","MODE="+e),"MODE_POP-ON"===this.mode?this.writeScreen=this.nonDisplayedMemory:(this.writeScreen=this.displayedMemory,this.writeScreen.reset()),"MODE_ROLL-UP"!==this.mode&&(this.displayedMemory.nrRollUpRows=null,this.nonDisplayedMemory.nrRollUpRows=null),this.mode=e)},e.prototype.insertChars=function(e){for(var t=0;t<e.length;t++)this.writeScreen.insertChar(e[t]);var r=this.writeScreen===this.displayedMemory?"DISP":"NON_DISP";f.log("INFO",r+": "+this.writeScreen.getDisplayText(!0)),"MODE_PAINT-ON"!==this.mode&&"MODE_ROLL-UP"!==this.mode||(f.log("TEXT","DISPLAYED: "+this.displayedMemory.getDisplayText(!0)),this.outputDataUpdate())},e.prototype.ccRCL=function(){f.log("INFO","RCL - Resume Caption Loading"),this.setMode("MODE_POP-ON")},e.prototype.ccBS=function(){f.log("INFO","BS - BackSpace"),"MODE_TEXT"!==this.mode&&(this.writeScreen.backSpace(),this.writeScreen===this.displayedMemory&&this.outputDataUpdate())},e.prototype.ccAOF=function(){},e.prototype.ccAON=function(){},e.prototype.ccDER=function(){f.log("INFO","DER- Delete to End of Row"),this.writeScreen.clearToEndOfRow(),this.outputDataUpdate()},e.prototype.ccRU=function(e){f.log("INFO","RU("+e+") - Roll Up"),this.writeScreen=this.displayedMemory,this.setMode("MODE_ROLL-UP"),this.writeScreen.setRollUpRows(e)},e.prototype.ccFON=function(){f.log("INFO","FON - Flash On"),this.writeScreen.setPen({flash:!0})},e.prototype.ccRDC=function(){f.log("INFO","RDC - Resume Direct Captioning"),this.setMode("MODE_PAINT-ON")},e.prototype.ccTR=function(){f.log("INFO","TR"),this.setMode("MODE_TEXT")},e.prototype.ccRTD=function(){f.log("INFO","RTD"),this.setMode("MODE_TEXT")},e.prototype.ccEDM=function(){f.log("INFO","EDM - Erase Displayed Memory"),this.displayedMemory.reset(),this.outputDataUpdate(!0)},e.prototype.ccCR=function(){f.log("CR - Carriage Return"),this.writeScreen.rollUp(),this.outputDataUpdate(!0)},e.prototype.ccENM=function(){f.log("INFO","ENM - Erase Non-displayed Memory"),this.nonDisplayedMemory.reset()},e.prototype.ccEOC=function(){if(f.log("INFO","EOC - End Of Caption"),"MODE_POP-ON"===this.mode){var e=this.displayedMemory;this.displayedMemory=this.nonDisplayedMemory,this.nonDisplayedMemory=e,this.writeScreen=this.nonDisplayedMemory,f.log("TEXT","DISP: "+this.displayedMemory.getDisplayText())}this.outputDataUpdate(!0)},e.prototype.ccTO=function(e){f.log("INFO","TO("+e+") - Tab Offset"),this.writeScreen.moveCursor(e)},e.prototype.ccMIDROW=function(e){var t={flash:!1};if(t.underline=e%2==1,t.italics=e>=46,t.italics)t.foreground="white";else{var r=Math.floor(e/2)-16;t.foreground=["white","green","blue","cyan","red","yellow","magenta"][r]}f.log("INFO","MIDROW: "+JSON.stringify(t)),this.writeScreen.setPen(t)},e.prototype.outputDataUpdate=function(e){void 0===e&&(e=!1);var t=f.time;null!==t&&this.outputFilter&&(null!==this.cueStartTime||this.displayedMemory.isEmpty()?this.displayedMemory.equals(this.lastOutputScreen)||(this.outputFilter.newCue&&(this.outputFilter.newCue(this.cueStartTime,t,this.lastOutputScreen),!0===e&&this.outputFilter.dispatchCue&&this.outputFilter.dispatchCue()),this.cueStartTime=this.displayedMemory.isEmpty()?null:t):this.cueStartTime=t,this.lastOutputScreen.copy(this.displayedMemory))},e.prototype.cueSplitAtTime=function(e){this.outputFilter&&(this.displayedMemory.isEmpty()||(this.outputFilter.newCue&&this.outputFilter.newCue(this.cueStartTime,e,this.displayedMemory),this.cueStartTime=e))},e}(),E=function(){function e(e,t,r){this.field=e||1,this.outputs=[t,r],this.channels=[new y(1,t),new y(2,r)],this.currChNr=-1,this.lastCmdA=null,this.lastCmdB=null,this.bufferedData=[],this.startTime=null,this.lastTime=null,this.dataCounters={padding:0,char:0,cmd:0,other:0}}return e.prototype.getHandler=function(e){return this.channels[e].getHandler()},e.prototype.setHandler=function(e,t){this.channels[e].setHandler(t)},e.prototype.addData=function(e,t){var r,i,a,n=!1;this.lastTime=e,f.setTime(e);for(var s=0;s<t.length;s+=2)if(i=127&t[s],a=127&t[s+1],0!==i||0!==a){if(f.log("DATA","["+h([t[s],t[s+1]])+"] -> ("+h([i,a])+")"),(r=this.parseCmd(i,a))||(r=this.parseMidrow(i,a)),r||(r=this.parsePAC(i,a)),r||(r=this.parseBackgroundAttributes(i,a)),!r)if(n=this.parseChars(i,a))if(this.currChNr&&this.currChNr>=0)this.channels[this.currChNr-1].insertChars(n);else f.log("WARNING","No channel found yet. TEXT-MODE?");r?this.dataCounters.cmd+=2:n?this.dataCounters.char+=2:(this.dataCounters.other+=2,f.log("WARNING","Couldn't parse cleaned data "+h([i,a])+" orig: "+h([t[s],t[s+1]])))}else this.dataCounters.padding+=2},e.prototype.parseCmd=function(e,t){var r=null;if(!((20===e||28===e)&&t>=32&&t<=47)&&!((23===e||31===e)&&t>=33&&t<=35))return!1;if(e===this.lastCmdA&&t===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,f.log("DEBUG","Repeated command ("+h([e,t])+") is dropped"),!0;r=20===e||23===e?1:2;var i=this.channels[r-1];return 20===e||28===e?32===t?i.ccRCL():33===t?i.ccBS():34===t?i.ccAOF():35===t?i.ccAON():36===t?i.ccDER():37===t?i.ccRU(2):38===t?i.ccRU(3):39===t?i.ccRU(4):40===t?i.ccFON():41===t?i.ccRDC():42===t?i.ccTR():43===t?i.ccRTD():44===t?i.ccEDM():45===t?i.ccCR():46===t?i.ccENM():47===t&&i.ccEOC():i.ccTO(t-32),this.lastCmdA=e,this.lastCmdB=t,this.currChNr=r,!0},e.prototype.parseMidrow=function(e,t){var r=null;return(17===e||25===e)&&t>=32&&t<=47&&((r=17===e?1:2)!==this.currChNr?(f.log("ERROR","Mismatch channel in midrow parsing"),!1):(this.channels[r-1].ccMIDROW(t),f.log("DEBUG","MIDROW ("+h([e,t])+")"),!0))},e.prototype.parsePAC=function(e,t){var r,i=null;if(!((e>=17&&e<=23||e>=25&&e<=31)&&t>=64&&t<=127)&&!((16===e||24===e)&&t>=64&&t<=95))return!1;if(e===this.lastCmdA&&t===this.lastCmdB)return this.lastCmdA=null,this.lastCmdB=null,!0;r=e<=23?1:2,i=t>=64&&t<=95?1===r?o[e]:u[e]:1===r?l[e]:d[e];var a=this.interpretPAC(i,t);return this.channels[r-1].setPAC(a),this.lastCmdA=e,this.lastCmdB=t,this.currChNr=r,!0},e.prototype.interpretPAC=function(e,t){var r=t,i={color:null,italics:!1,indent:null,underline:!1,row:e};return r=t>95?t-96:t-64,i.underline=1==(1&r),r<=13?i.color=["white","green","blue","cyan","red","yellow","magenta","white"][Math.floor(r/2)]:r<=15?(i.italics=!0,i.color="white"):i.indent=4*Math.floor((r-16)/2),i},e.prototype.parseChars=function(e,t){var r=null,i=null,n=null;if(e>=25?(r=2,n=e-8):(r=1,n=e),n>=17&&n<=19){var s=t;s=17===n?t+80:18===n?t+112:t+144,f.log("INFO","Special char '"+a(s)+"' in channel "+r),i=[s]}else e>=32&&e<=127&&(i=0===t?[e]:[e,t]);if(i){var o=h(i);f.log("DEBUG","Char codes = "+o.join(",")),this.lastCmdA=null,this.lastCmdB=null}return i},e.prototype.parseBackgroundAttributes=function(e,t){var r,i,a;return((16===e||24===e)&&t>=32&&t<=47||(23===e||31===e)&&t>=45&&t<=47)&&(r={},16===e||24===e?(i=Math.floor((t-32)/2),r.background=c[i],t%2==1&&(r.background=r.background+"_semi")):45===t?r.background="transparent":(r.foreground="black",47===t&&(r.underline=!0)),a=e<24?1:2,this.channels[a-1].setBkgData(r),this.lastCmdA=null,this.lastCmdB=null,!0)},e.prototype.reset=function(){for(var e=0;e<this.channels.length;e++)this.channels[e]&&this.channels[e].reset();this.lastCmdA=null,this.lastCmdB=null},e.prototype.cueSplitAtTime=function(e){for(var t=0;t<this.channels.length;t++)this.channels[t]&&this.channels[t].cueSplitAtTime(e)},e}();t.default=E},"./src/utils/codecs.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}};t.isCodecType=function(e,t){var r=i[t];return!!r&&!0===r[e.slice(0,4)]},t.isCodecSupportedInMp4=function(e,t){return window.MediaSource.isTypeSupported((t||"video")+'/mp4;codecs="'+e+'"')}},"./src/utils/cues.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/vttparser.js");t.newCue=function(e,t,r,a){for(var n,s,o,l,u,d=window.VTTCue||window.TextTrackCue,c=0;c<a.rows.length;c++)if(o=!0,l=0,u="",!(n=a.rows[c]).isEmpty()){for(var f=0;f<n.chars.length;f++)n.chars[f].uchar.match(/\s/)&&o?l++:(u+=n.chars[f].uchar,o=!1);n.cueStartTime=t,t===r&&(r+=1e-4),s=new d(t,r,i.fixLineBreaks(u.trim())),l>=16?l--:l++,navigator.userAgent.match(/Firefox\//)?s.line=c+1:s.line=c>7?c-2:c+1,s.align="left",s.position=Math.max(0,Math.min(100,l/32*100+(navigator.userAgent.match(/Firefox\//)?50:0))),e.addCue(s)}}},"./src/utils/discontinuities.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/binary-search.js"),a=r("./src/utils/logger.js");function n(e,t){for(var r=null,i=0;i<e.length;i+=1){var a=e[i];if(a&&a.cc===t){r=a;break}}return r}function s(e,t,r){var i=!1;return t&&t.details&&r&&(r.endCC>r.startCC||e&&e.cc<r.startCC)&&(i=!0),i}function o(e,t){var r=e.fragments,i=t.fragments;if(i.length&&r.length){var s=n(r,i[0].cc);if(s&&(!s||s.startPTS))return s;a.logger.log("No frag in previous level to align on")}else a.logger.log("No fragments to align")}function l(e,t){t.fragments.forEach(function(t){if(t){var r=t.start+e;t.start=t.startPTS=r,t.endPTS=r+t.duration}}),t.PTSKnown=!0}function u(e,t,r){if(s(e,r,t)){var i=o(r.details,t);i&&(a.logger.log("Adjusting PTS using last level due to CC increase within current level"),l(i.start,t))}}function d(t,r){if(r&&r.fragments.length){if(!t.hasProgramDateTime||!r.hasProgramDateTime)return;var i=r.fragments[0].programDateTime,n=(t.fragments[0].programDateTime-i)/1e3+r.fragments[0].start;e.isFinite(n)&&(a.logger.log("adjusting PTS using programDateTime delta, sliding:"+n.toFixed(3)),l(n,t))}}t.findFirstFragWithCC=n,t.findFragWithCC=function(e,t){return i.default.search(e,function(e){return e.cc<t?1:e.cc>t?-1:0})},t.shouldAlignOnDiscontinuities=s,t.findDiscontinuousReferenceFrag=o,t.adjustPts=l,t.alignStream=function(e,t,r){u(e,r,t),!r.PTSKnown&&t&&d(r,t.details)},t.alignDiscontinuities=u,t.alignPDT=d}).call(this,r("./src/polyfills/number.js").Number)},"./src/utils/ewma-bandwidth-estimator.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/ewma.js"),a=function(){function e(e,t,r,a){this.hls=e,this.defaultEstimate_=a,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new i.default(t),this.fast_=new i.default(r)}return e.prototype.sample=function(e,t){var r=8e3*t/(e=Math.max(e,this.minDelayMs_)),i=e/1e3;this.fast_.sample(i,r),this.slow_.sample(i,r)},e.prototype.canEstimate=function(){var e=this.fast_;return e&&e.getTotalWeight()>=this.minWeight_},e.prototype.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},e.prototype.destroy=function(){},e}();t.default=a},"./src/utils/ewma.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=0,this.totalWeight_=0}return e.prototype.sample=function(e,t){var r=Math.pow(this.alpha_,e);this.estimate_=t*(1-r)+r*this.estimate_,this.totalWeight_+=e},e.prototype.getTotalWeight=function(){return this.totalWeight_},e.prototype.getEstimate=function(){if(this.alpha_){var e=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/e}return this.estimate_},e}();t.default=i},"./src/utils/get-self-scope.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSelfScope=function(){return"undefined"==typeof window?self:window}},"./src/utils/logger.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/get-self-scope.js");function a(){}var n={trace:a,debug:a,log:a,warn:a,info:a,error:a},o=n;var l=i.getSelfScope();function u(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];t.forEach(function(t){o[t]=e[t]?e[t].bind(e):function(e){var t=l.console[e];return t?function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];r[0]&&(r[0]=function(e,t){return t="["+e+"] > "+t}(e,r[0])),t.apply(l.console,r)}:a}(t)})}t.enableLogs=function(e){if(!0===e||"object"===s(e)){u(e,"debug","log","info","warn","error");try{o.log()}catch(t){o=n}}else o=n},t.logger=o},"./src/utils/mediakeys-helper.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="undefined"!=typeof window&&window.navigator&&window.navigator.requestMediaKeySystemAccess?window.navigator.requestMediaKeySystemAccess.bind(window.navigator):null;t.requestMediaKeySystemAccess=i},"./src/utils/mediasource-helper.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMediaSource=function(){if("undefined"!=typeof window)return window.MediaSource||window.WebKitMediaSource}},"./src/utils/output-filter.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){this.timelineController=e,this.trackName=t,this.startTime=null,this.endTime=null,this.screen=null}return e.prototype.dispatchCue=function(){null!==this.startTime&&(this.timelineController.addCues(this.trackName,this.startTime,this.endTime,this.screen),this.startTime=null)},e.prototype.newCue=function(e,t,r){(null===this.startTime||this.startTime>e)&&(this.startTime=e),this.endTime=t,this.screen=r,this.timelineController.createCaptionsTrack(this.trackName)},e}();t.default=i},"./src/utils/texttrack-utils.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendAddTrackEvent=function(e,t){var r=null;try{r=new window.Event("addtrack")}catch(i){(r=document.createEvent("Event")).initEvent("addtrack",!1,!1)}r.track=e,t.dispatchEvent(r)},t.clearCurrentCues=function(e){if(e&&e.cues)for(;e.cues.length>0;)e.removeCue(e.cues[0])}},"./src/utils/time-ranges.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={toString:function(e){for(var t="",r=e.length,i=0;i<r;i++)t+="["+e.start(i).toFixed(3)+","+e.end(i).toFixed(3)+"]";return t}}},"./src/utils/vttcue.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if("undefined"!=typeof window&&window.VTTCue)return window.VTTCue;var e="auto",t={"":!0,lr:!0,rl:!0},r={start:!0,middle:!0,end:!0,left:!0,right:!0};function i(e){return"string"==typeof e&&(!!r[e.toLowerCase()]&&e.toLowerCase())}function a(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)e[i]=r[i]}return e}function n(r,n,s){var o=this,l=function(){if("undefined"!=typeof navigator)return/MSIE\s8\.0/.test(navigator.userAgent)}(),u={};l?o=document.createElement("custom"):u.enumerable=!0,o.hasBeenReset=!1;var d="",c=!1,f=r,h=n,p=s,g=null,v="",m=!0,y="auto",E="start",_=50,T="middle",S=50,b="middle";if(Object.defineProperty(o,"id",a({},u,{get:function(){return d},set:function(e){d=""+e}})),Object.defineProperty(o,"pauseOnExit",a({},u,{get:function(){return c},set:function(e){c=!!e}})),Object.defineProperty(o,"startTime",a({},u,{get:function(){return f},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"endTime",a({},u,{get:function(){return h},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");h=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"text",a({},u,{get:function(){return p},set:function(e){p=""+e,this.hasBeenReset=!0}})),Object.defineProperty(o,"region",a({},u,{get:function(){return g},set:function(e){g=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"vertical",a({},u,{get:function(){return v},set:function(e){var r=function(e){return"string"==typeof e&&!!t[e.toLowerCase()]&&e.toLowerCase()}(e);if(!1===r)throw new SyntaxError("An invalid or illegal string was specified.");v=r,this.hasBeenReset=!0}})),Object.defineProperty(o,"snapToLines",a({},u,{get:function(){return m},set:function(e){m=!!e,this.hasBeenReset=!0}})),Object.defineProperty(o,"line",a({},u,{get:function(){return y},set:function(t){if("number"!=typeof t&&t!==e)throw new SyntaxError("An invalid number or illegal string was specified.");y=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"lineAlign",a({},u,{get:function(){return E},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");E=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"position",a({},u,{get:function(){return _},set:function(e){if(e<0||e>100)throw new Error("Position must be between 0 and 100.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"positionAlign",a({},u,{get:function(){return T},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");T=t,this.hasBeenReset=!0}})),Object.defineProperty(o,"size",a({},u,{get:function(){return S},set:function(e){if(e<0||e>100)throw new Error("Size must be between 0 and 100.");S=e,this.hasBeenReset=!0}})),Object.defineProperty(o,"align",a({},u,{get:function(){return b},set:function(e){var t=i(e);if(!t)throw new SyntaxError("An invalid or illegal string was specified.");b=t,this.hasBeenReset=!0}})),o.displayState=void 0,l)return o}return n.prototype.getCueAsHTML=function(){return window.WebVTT.convertCueToDOMTree(window,this.text)},n}()},"./src/utils/vttparser.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/vttcue.js"),a=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}};function n(){this.window=window,this.state="INITIAL",this.buffer="",this.decoder=new a,this.regionList=[]}function s(){this.values=Object.create(null)}function o(e,t,r,i){var a=i?e.split(i):[e];for(var n in a)if("string"==typeof a[n]){var s=a[n].split(r);if(2===s.length)t(s[0],s[1])}}s.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,r){return r?this.has(e)?this.values[e]:t[r]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,r){for(var i=0;i<r.length;++i)if(t===r[i]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(t=parseFloat(t))>=0&&t<=100)&&(this.set(e,t),!0)}};var l=new i.default(0,0,0),u="middle"===l.align?"middle":"center";function d(e,t,r){var i=e;function a(){var t=function(e){function t(e,t,r,i){return 3600*(0|e)+60*(0|t)+(0|r)+(0|i)/1e3}var r=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return r?r[3]?t(r[1],r[2],r[3].replace(":",""),r[4]):r[1]>59?t(r[1],r[2],0,r[4]):t(0,r[1],r[2],r[4]):null}(e);if(null===t)throw new Error("Malformed timestamp: "+i);return e=e.replace(/^[^\sa-zA-Z-]+/,""),t}function n(){e=e.replace(/^\s+/,"")}if(n(),t.startTime=a(),n(),"--\x3e"!==e.substr(0,3))throw new Error("Malformed time stamp (time stamps must be separated by '--\x3e'): "+i);e=e.substr(3),n(),t.endTime=a(),n(),function(e,t){var i=new s;o(e,function(e,t){switch(e){case"region":for(var a=r.length-1;a>=0;a--)if(r[a].id===t){i.set(e,r[a].region);break}break;case"vertical":i.alt(e,t,["rl","lr"]);break;case"line":var n=t.split(","),s=n[0];i.integer(e,s),i.percent(e,s)&&i.set("snapToLines",!1),i.alt(e,s,["auto"]),2===n.length&&i.alt("lineAlign",n[1],["start",u,"end"]);break;case"position":n=t.split(","),i.percent(e,n[0]),2===n.length&&i.alt("positionAlign",n[1],["start",u,"end","line-left","line-right","auto"]);break;case"size":i.percent(e,t);break;case"align":i.alt(e,t,["start",u,"end","left","right"])}},/:/,/\s/),t.region=i.get("region",null),t.vertical=i.get("vertical","");var a=i.get("line","auto");"auto"===a&&-1===l.line&&(a=-1),t.line=a,t.lineAlign=i.get("lineAlign","start"),t.snapToLines=i.get("snapToLines",!0),t.size=i.get("size",100),t.align=i.get("align",u);var n=i.get("position","auto");"auto"===n&&50===l.position&&(n="start"===t.align||"left"===t.align?0:"end"===t.align||"right"===t.align?100:50),t.position=n}(e,t)}function c(e){return e.replace(/<br(?: \/)?>/gi,"\n")}t.fixLineBreaks=c,n.prototype={parse:function(e){var t=this;function r(){var e=t.buffer,r=0;for(e=c(e);r<e.length&&"\r"!==e[r]&&"\n"!==e[r];)++r;var i=e.substr(0,r);return"\r"===e[r]&&++r,"\n"===e[r]&&++r,t.buffer=e.substr(r),i}e&&(t.buffer+=t.decoder.decode(e,{stream:!0}));try{var a=void 0;if("INITIAL"===t.state){if(!/\r\n|\n/.test(t.buffer))return this;var n=(a=r()).match(/^()?WEBVTT([ \t].*)?$/);if(!n||!n[0])throw new Error("Malformed WebVTT signature.");t.state="HEADER"}for(var s=!1;t.buffer;){if(!/\r\n|\n/.test(t.buffer))return this;switch(s?s=!1:a=r(),t.state){case"HEADER":/:/.test(a)?o(a,function(e,t){},/:/):a||(t.state="ID");continue;case"NOTE":a||(t.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(a)){t.state="NOTE";break}if(!a)continue;if(t.cue=new i.default(0,0,""),t.state="CUE",-1===a.indexOf("--\x3e")){t.cue.id=a;continue}case"CUE":try{d(a,t.cue,t.regionList)}catch(u){t.cue=null,t.state="BADCUE";continue}t.state="CUETEXT";continue;case"CUETEXT":var l=-1!==a.indexOf("--\x3e");if(!a||l&&(s=!0)){t.oncue&&t.oncue(t.cue),t.cue=null,t.state="ID";continue}t.cue.text&&(t.cue.text+="\n"),t.cue.text+=a;continue;case"BADCUE":a||(t.state="ID");continue}}}catch(u){"CUETEXT"===t.state&&t.cue&&t.oncue&&t.oncue(t.cue),t.cue=null,t.state="INITIAL"===t.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){try{if(this.buffer+=this.decoder.decode(),(this.cue||"HEADER"===this.state)&&(this.buffer+="\n\n",this.parse()),"INITIAL"===this.state)throw new Error("Malformed WebVTT signature.")}catch(e){throw e}return this.onflush&&this.onflush(),this}},t.default=n},"./src/utils/webvtt-parser.js":function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/vttparser.js"),a=r("./src/demux/id3.js"),n=function(e,t,r){return e.substr(r||0,t.length)===t},s=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return(t>>>0).toString()},o={parse:function(t,r,o,l,u,d){var c,f=a.utf8ArrayToStr(new Uint8Array(t)).trim().replace(/\r\n|\n\r|\n|\r/g,"\n").split("\n"),h="00:00.000",p=0,g=0,v=0,m=[],y=!0,E=new i.default;E.oncue=function(e){var t=o[l],r=o.ccOffset;t&&t.new&&(void 0!==g?r=o.ccOffset=t.start:function(e,t,r){var i=e[t],a=e[i.prevCC];if(!a||!a.new&&i.new)return e.ccOffset=e.presentationOffset=i.start,void(i.new=!1);for(;a&&a.new;)e.ccOffset+=i.start-a.start,i.new=!1,a=e[(i=a).prevCC];e.presentationOffset=r}(o,l,v)),v&&(r=v-o.presentationOffset),e.startTime+=r-g,e.endTime+=r-g,e.id=s(e.startTime.toString())+s(e.endTime.toString())+s(e.text),e.text=decodeURIComponent(encodeURIComponent(e.text)),e.endTime>0&&m.push(e)},E.onparsingerror=function(e){c=e},E.onflush=function(){c&&d?d(c):u(m)},f.forEach(function(t){if(y){if(n(t,"X-TIMESTAMP-MAP=")){y=!1,t.substr(16).split(",").forEach(function(e){n(e,"LOCAL:")?h=e.substr(6):n(e,"MPEGTS:")&&(p=parseInt(e.substr(7)))});try{r+(9e4*o[l].start||0)<0&&(r+=8589934592),p-=r,i=h,a=parseInt(i.substr(-3)),s=parseInt(i.substr(-6,2)),u=parseInt(i.substr(-9,2)),d=i.length>9?parseInt(i.substr(0,i.indexOf(":"))):0,g=(e.isFinite(a)&&e.isFinite(s)&&e.isFinite(u)&&e.isFinite(d)?(a+=1e3*s,a+=6e4*u,a+=36e5*d):-1)/1e3,v=p/9e4,-1===g&&(c=new Error("Malformed X-TIMESTAMP-MAP: "+t))}catch(f){c=new Error("Malformed X-TIMESTAMP-MAP: "+t)}return}""===t&&(y=!1)}var i,a,s,u,d;E.parse(t+"\n")}),E.flush()}};t.default=o}).call(this,r("./src/polyfills/number.js").Number)},"./src/utils/xhr-loader.js":function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=r("./src/utils/logger.js"),a=window.performance,n=window.XMLHttpRequest,s=function(){function e(e){e&&e.xhrSetup&&(this.xhrSetup=e.xhrSetup)}return e.prototype.destroy=function(){this.abort(),this.loader=null},e.prototype.abort=function(){var e=this.loader;e&&4!==e.readyState&&(this.stats.aborted=!0,e.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null},e.prototype.load=function(e,t,r){this.context=e,this.config=t,this.callbacks=r,this.stats={trequest:a.now(),retry:0},this.retryDelay=t.retryDelay,this.loadInternal()},e.prototype.loadInternal=function(){var e,t=this.context;e=this.loader=new n;var r=this.stats;r.tfirst=0,r.loaded=0;var i=this.xhrSetup;try{if(i)try{i(e,t.url)}catch(a){e.open("GET",t.url,!0),i(e,t.url)}e.readyState||e.open("GET",t.url,!0)}catch(a){return void this.callbacks.onError({code:e.status,text:a.message},t,e)}t.rangeEnd&&e.setRequestHeader("Range","bytes="+t.rangeStart+"-"+(t.rangeEnd-1)),e.onreadystatechange=this.readystatechange.bind(this),e.onprogress=this.loadprogress.bind(this),e.responseType=t.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),e.send()},e.prototype.readystatechange=function(e){var t=e.currentTarget,r=t.readyState,n=this.stats,s=this.context,o=this.config;if(!n.aborted&&r>=2)if(window.clearTimeout(this.requestTimeout),0===n.tfirst&&(n.tfirst=Math.max(a.now(),n.trequest)),4===r){var l=t.status;if(l>=200&&l<300){n.tload=Math.max(n.tfirst,a.now());var u=void 0,d=void 0;d="arraybuffer"===s.responseType?(u=t.response).byteLength:(u=t.responseText).length,n.loaded=n.total=d;var c={url:t.responseURL,data:u};this.callbacks.onSuccess(c,n,s,t)}else n.retry>=o.maxRetry||l>=400&&l<499?(i.logger.error(l+" while loading "+s.url),this.callbacks.onError({code:l,text:t.statusText},s,t)):(i.logger.warn(l+" while loading "+s.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,o.maxRetryDelay),n.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),o.timeout)},e.prototype.loadtimeout=function(){i.logger.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)},e.prototype.loadprogress=function(e){var t=e.currentTarget,r=this.stats;r.loaded=e.loaded,e.lengthComputable&&(r.total=e.total);var i=this.callbacks.onProgress;i&&i(r,this.context,null,t)},e}();t.default=s}}).default},"object"===s(t)&&"object"===s(e)?e.exports=n():(i=[],void 0===(a="function"==typeof(r=n)?r.apply(t,i):r)||(e.exports=a)))}).call(this,r(135)(e))}}]); //# sourceMappingURL=chunk.7122cc44cc9455b79dfd.js.map
var demo = g9({ x:130, y:415, }, function({x,y}, draw){ draw.circle(x,y,"hello") draw.circle(y,x,"asdfe") }, function(newdata, renderees){ console.log('changed data to', newdata) })
import React, {Component} from 'react'; import Login from './Login'; import { Panel } from 'react-bootstrap'; class Home extends Component { constructor(props) { super(props); this.state = { authenticated: true, user: '', password:'' }; this.handleChange = this.handleChange.bind(this); this.handleSubmit = this.handleSubmit.bind(this); }; handleChange(event) { if (event.target.name === 'user') { this.setState({user: event.target.value}); } else { this.setState({password: event.target.value}); } } handleSubmit(event) { event.preventDefault(); } render() { return this.state.isAuthenticated ? ( <Panel className="App-contin"> <Panel.Heading> <Panel.Title componentClass="h3">Welcome</Panel.Title> </Panel.Heading> <Panel.Body>Panel content</Panel.Body> </Panel> ) : ( <Panel> <Panel.Heading> <Panel.Title componentClass="h3">Longin</Panel.Title> </Panel.Heading> <Panel.Body> <Login /> </Panel.Body> </Panel> ) } } export default Home;
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ const schematics_1 = require("@angular-devkit/schematics"); const semver = require("semver"); const npm_1 = require("../utility/npm"); const angularDevkitPackagesName = [ '@angular-devkit/core', '@angular-devkit/schematics', '@angular-devkit/build-optimizer', ]; function default_1(options) { const version = options.version || 'latest'; if (semver.valid(version)) { throw new schematics_1.SchematicsException('You cannot specify a version, you need to use a dist tag.'); } return npm_1.updatePackageJson(angularDevkitPackagesName, options.version, options.loose); } exports.default = default_1; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiLi8iLCJzb3VyY2VzIjpbInBhY2thZ2VzL3NjaGVtYXRpY3MvcGFja2FnZV91cGRhdGUvX2FuZ3VsYXItZGV2a2l0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUE7Ozs7OztHQU1HO0FBQ0gsMkRBQXVFO0FBQ3ZFLGlDQUFpQztBQUVqQyx3Q0FBbUQ7QUFHbkQsTUFBTSx5QkFBeUIsR0FBRztJQUNoQyxzQkFBc0I7SUFDdEIsNEJBQTRCO0lBQzVCLGlDQUFpQztDQUNsQyxDQUFDO0FBR0YsbUJBQXdCLE9BQStCO0lBQ3JELE1BQU0sT0FBTyxHQUFHLE9BQU8sQ0FBQyxPQUFPLElBQUksUUFBUSxDQUFDO0lBQzVDLEVBQUUsQ0FBQyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDO1FBQzFCLE1BQU0sSUFBSSxnQ0FBbUIsQ0FBQywyREFBMkQsQ0FBQyxDQUFDO0lBQzdGLENBQUM7SUFFRCxNQUFNLENBQUMsdUJBQWlCLENBQUMseUJBQXlCLEVBQUUsT0FBTyxDQUFDLE9BQU8sRUFBRSxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDdEYsQ0FBQztBQVBELDRCQU9DIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuaW1wb3J0IHsgUnVsZSwgU2NoZW1hdGljc0V4Y2VwdGlvbiB9IGZyb20gJ0Bhbmd1bGFyLWRldmtpdC9zY2hlbWF0aWNzJztcbmltcG9ydCAqIGFzIHNlbXZlciBmcm9tICdzZW12ZXInO1xuaW1wb3J0IHsgU2NoZW1hdGljc1VwZGF0ZVNjaGVtYSB9IGZyb20gJy4uL3NjaGVtYSc7XG5pbXBvcnQgeyB1cGRhdGVQYWNrYWdlSnNvbiB9IGZyb20gJy4uL3V0aWxpdHkvbnBtJztcblxuXG5jb25zdCBhbmd1bGFyRGV2a2l0UGFja2FnZXNOYW1lID0gW1xuICAnQGFuZ3VsYXItZGV2a2l0L2NvcmUnLFxuICAnQGFuZ3VsYXItZGV2a2l0L3NjaGVtYXRpY3MnLFxuICAnQGFuZ3VsYXItZGV2a2l0L2J1aWxkLW9wdGltaXplcicsXG5dO1xuXG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uKG9wdGlvbnM6IFNjaGVtYXRpY3NVcGRhdGVTY2hlbWEpOiBSdWxlIHtcbiAgY29uc3QgdmVyc2lvbiA9IG9wdGlvbnMudmVyc2lvbiB8fCAnbGF0ZXN0JztcbiAgaWYgKHNlbXZlci52YWxpZCh2ZXJzaW9uKSkge1xuICAgIHRocm93IG5ldyBTY2hlbWF0aWNzRXhjZXB0aW9uKCdZb3UgY2Fubm90IHNwZWNpZnkgYSB2ZXJzaW9uLCB5b3UgbmVlZCB0byB1c2UgYSBkaXN0IHRhZy4nKTtcbiAgfVxuXG4gIHJldHVybiB1cGRhdGVQYWNrYWdlSnNvbihhbmd1bGFyRGV2a2l0UGFja2FnZXNOYW1lLCBvcHRpb25zLnZlcnNpb24sIG9wdGlvbnMubG9vc2UpO1xufVxuIl19
/* Copyright 2015, 2016 OpenMarket Ltd Copyright 2017 Vector Creations Ltd Copyright 2017 New Vector Ltd Copyright 2018 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ import React from 'react'; import PropTypes from 'prop-types'; import classNames from 'classnames'; import sdk from '../../index'; import dis from '../../dispatcher'; import { MatrixClient } from 'matrix-js-sdk'; import RateLimitedFunc from '../../ratelimitedfunc'; import { showGroupInviteDialog, showGroupAddRoomDialog } from '../../GroupAddressPicker'; import GroupStore from '../../stores/GroupStore'; export default class RightPanel extends React.Component { static get propTypes() { return { roomId: React.PropTypes.string, // if showing panels for a given room, this is set groupId: React.PropTypes.string, // if showing panels for a given group, this is set user: React.PropTypes.object, }; } static get contextTypes() { return { matrixClient: PropTypes.instanceOf(MatrixClient), }; } static Phase = Object.freeze({ RoomMemberList: 'RoomMemberList', GroupMemberList: 'GroupMemberList', GroupRoomList: 'GroupRoomList', GroupRoomInfo: 'GroupRoomInfo', FilePanel: 'FilePanel', NotificationPanel: 'NotificationPanel', RoomMemberInfo: 'RoomMemberInfo', GroupMemberInfo: 'GroupMemberInfo', }); constructor(props, context) { super(props, context); this.state = { phase: this._getPhaseFromProps(), isUserPrivilegedInGroup: null, }; this.onAction = this.onAction.bind(this); this.onRoomStateMember = this.onRoomStateMember.bind(this); this.onGroupStoreUpdated = this.onGroupStoreUpdated.bind(this); this.onInviteToGroupButtonClick = this.onInviteToGroupButtonClick.bind(this); this.onAddRoomToGroupButtonClick = this.onAddRoomToGroupButtonClick.bind(this); this._delayedUpdate = new RateLimitedFunc(() => { this.forceUpdate(); }, 500); } _getPhaseFromProps() { if (this.props.groupId) { return RightPanel.Phase.GroupMemberList; } else if (this.props.user) { return RightPanel.Phase.RoomMemberInfo; } else { return RightPanel.Phase.RoomMemberList; } } componentWillMount() { this.dispatcherRef = dis.register(this.onAction); const cli = this.context.matrixClient; cli.on("RoomState.members", this.onRoomStateMember); this._initGroupStore(this.props.groupId); if (this.props.user) { this.setState({member: this.props.user}); } } componentWillUnmount() { dis.unregister(this.dispatcherRef); if (this.context.matrixClient) { this.context.matrixClient.removeListener("RoomState.members", this.onRoomStateMember); } this._unregisterGroupStore(this.props.groupId); } componentWillReceiveProps(newProps) { if (newProps.groupId !== this.props.groupId) { this._unregisterGroupStore(this.props.groupId); this._initGroupStore(newProps.groupId); } } _initGroupStore(groupId) { if (!groupId) return; GroupStore.registerListener(groupId, this.onGroupStoreUpdated); } _unregisterGroupStore() { GroupStore.unregisterListener(this.onGroupStoreUpdated); } onGroupStoreUpdated() { this.setState({ isUserPrivilegedInGroup: GroupStore.isUserPrivileged(this.props.groupId), }); } onInviteToGroupButtonClick() { showGroupInviteDialog(this.props.groupId).then(() => { this.setState({ phase: RightPanel.Phase.GroupMemberList, }); }); } onAddRoomToGroupButtonClick() { showGroupAddRoomDialog(this.props.groupId).then(() => { this.forceUpdate(); }); } onRoomStateMember(ev, state, member) { if (member.roomId !== this.props.roomId) { return; } // redraw the badge on the membership list if (this.state.phase === RightPanel.Phase.RoomMemberList && member.roomId === this.props.roomId) { this._delayedUpdate(); } else if (this.state.phase === RightPanel.Phase.RoomMemberInfo && member.roomId === this.props.roomId && member.userId === this.state.member.userId) { // refresh the member info (e.g. new power level) this._delayedUpdate(); } } onAction(payload) { if (payload.action === "view_right_panel_phase") { this.setState({ phase: payload.phase, groupRoomId: payload.groupRoomId, groupId: payload.groupId, member: payload.member, }); } } render() { const MemberList = sdk.getComponent('rooms.MemberList'); const MemberInfo = sdk.getComponent('rooms.MemberInfo'); const NotificationPanel = sdk.getComponent('structures.NotificationPanel'); const FilePanel = sdk.getComponent('structures.FilePanel'); const GroupMemberList = sdk.getComponent('groups.GroupMemberList'); const GroupMemberInfo = sdk.getComponent('groups.GroupMemberInfo'); const GroupRoomList = sdk.getComponent('groups.GroupRoomList'); const GroupRoomInfo = sdk.getComponent('groups.GroupRoomInfo'); let panel = <div />; if (this.props.roomId && this.state.phase === RightPanel.Phase.RoomMemberList) { panel = <MemberList roomId={this.props.roomId} key={this.props.roomId} />; } else if (this.props.groupId && this.state.phase === RightPanel.Phase.GroupMemberList) { panel = <GroupMemberList groupId={this.props.groupId} key={this.props.groupId} />; } else if (this.state.phase === RightPanel.Phase.GroupRoomList) { panel = <GroupRoomList groupId={this.props.groupId} key={this.props.groupId} />; } else if (this.state.phase === RightPanel.Phase.RoomMemberInfo) { panel = <MemberInfo member={this.state.member} key={this.props.roomId || this.state.member.userId} />; } else if (this.state.phase === RightPanel.Phase.GroupMemberInfo) { panel = <GroupMemberInfo groupMember={this.state.member} groupId={this.props.groupId} key={this.state.member.user_id} />; } else if (this.state.phase === RightPanel.Phase.GroupRoomInfo) { panel = <GroupRoomInfo groupRoomId={this.state.groupRoomId} groupId={this.props.groupId} key={this.state.groupRoomId} />; } else if (this.state.phase === RightPanel.Phase.NotificationPanel) { panel = <NotificationPanel />; } else if (this.state.phase === RightPanel.Phase.FilePanel) { panel = <FilePanel roomId={this.props.roomId} />; } const classes = classNames("mx_RightPanel", "mx_fadable", { "collapsed": this.props.collapsed, "mx_fadable_faded": this.props.disabled, "dark-panel": true, }); return ( <aside className={classes}> { panel } </aside> ); } }
/** * Created by jiahao.li on 3/28/2016. */ (function () { 'use strict'; angular .module('app.core') .directive('c2sCheckAfterToday', c2sCheckAfterToday); /* @ngInject */ function c2sCheckAfterToday() { var directive = { require: 'ngModel', restrict: 'A', scope: {}, link: linkFunc }; return directive; /* @ngInject */ function linkFunc(scope, elm, attrs, ctrl) { ctrl.$validators.isAfterToday = function (modelDate) { if (angular.isDefined(modelDate)) { return modelDate < new Date(); } }; } } })();
// _____ _ _ _____ // / ___| (_) | | / __ \ // \ `--. ___ _ __ _ _ __ | |_| / \/ // `--. \/ __| '__| | '_ \| __| | / _` | '_ ` _ \ // /\__/ / (__| | | | |_) | |_| \__/\ (_| | | | | | | // \____/ \___|_| |_| .__/ \__|\____/\__,_|_| |_| |_| // | | // Version 1.6.0 |_| (c) Tele-Line Videotex Services // Use jscompress.com to compress this file ;(function($) { $.fn.scriptcam=function(options) { // merge passed options with default values var opts=$.extend({}, $.fn.scriptcam.defaults, options); // off we go return this.each(function() { // add flash to div opts.id=this.id; // add id of plugin to the options structure data=opts; // pass options to jquery internal data field to make them available to the outside world data.path=decodeURIComponent(data.path); // convert URI back to normal string $('#'+opts.id).html(opts.noFlashFound); // inject no flash found message // forward incoming flash movie calls to outgoing functions $.scriptcam.SC_promptWillShow=data.promptWillShow; $.scriptcam.SC_fileReady=data.fileReady; $.scriptcam.SC_fileConversionStarted=data.fileConversionStarted; $.scriptcam.SC_onMotion=data.onMotion; $.scriptcam.SC_onError=data.onError; $.scriptcam.SC_onHandLeft=data.onHandLeft; $.scriptcam.SC_onHandRight=data.onHandRight; $.scriptcam.SC_onWebcamReady=data.onWebcamReady; $.scriptcam.SC_connected=data.connected; $.scriptcam.SC_onPictureAsBase64=data.onPictureAsBase64; $.scriptcam.SC_disconnected=data.disconnected; $.scriptcam.SC_setVolume=data.setVolume; $.scriptcam.SC_timeLeft=data.timeLeft; $.scriptcam.SC_userLeft=data.userLeft; $.scriptcam.SC_userJoined=data.userJoined; $.scriptcam.SC_addChatText=function(value) { value = value.replace(":{", '<img src="'+data.path+'angry.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-{", '<img src="'+data.path+'angry.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":)", '<img src="'+data.path+'smile.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-)", '<img src="'+data.path+'smile.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":D", '<img src="'+data.path+'biggrin.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-D", '<img src="'+data.path+'biggrin.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":O", '<img src="'+data.path+'ohmy.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-O", '<img src="'+data.path+'ohmy.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":(", '<img src="'+data.path+'sad.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-(", '<img src="'+data.path+'sad.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":p", '<img src="'+data.path+'tongue.gif" width="16" height="16" class="smiley"/>'); value = value.replace(":-p", '<img src="'+data.path+'tongue.gif" width="16" height="16" class="smiley"/>'); value = value.replace(";)", '<img src="'+data.path+'wink.gif" width="16" height="16" class="smiley"/>'); value = value.replace(";-)", '<img src="'+data.path+'wink.gif" width="16" height="16" class="smiley"/>'); $('#'+data.chatWindow).append(value+'<br/>'); $('#'+data.chatWindow).animate({ scrollTop: $('#'+data.chatWindow).prop("scrollHeight") - $('#'+data.chatWindow).height() }, 100); } if (opts.canvasHeight && opts.canvasHeight) { var newWidth=opts.canvasWidth; var newHeight=opts.canvasHeight; } else { // no canvas dimensions given, make our own horizontal layout var newWidth=opts.width*opts.zoom; var newHeight=opts.height*opts.zoom; if (opts.chatRoom) { newWidth=(opts.width*opts.zoom)+(opts.width*opts.zoomChat)+5; // make room for two horizontal video windows with a margin of 5 opts.posX=(opts.width*opts.zoom)+5; newHeight=opts.height*Math.max(opts.zoom,opts.zoomChat); }; } // make new dimensions are not below minimum flash size if (newWidth < 215) { newWidth=215; } if (newHeight < 138) { newHeight=138; } if (opts.rotate!=0 || opts.skewX!=0 || opts.skewY!=0 || opts.flip!=0 || opts.zoom!=1 || opts.zoomChat!=1) { // no GPU acceleration var params = { menu: 'false', wmode: 'window', allowScriptAccess: 'always', allowFullScreen: 'true' }; } else { // GPU acceleration when no filter is used var params = { menu: 'false', wmode: 'direct', allowScriptAccess: 'always', allowFullScreen: 'true' }; }; // Escape all values contained in the flashVars (IE needs this) for (var key in opts) { opts[key] = encodeURIComponent(opts[key]); }; if (fileExists(decodeURIComponent(data.path)+'scriptcam.swf')) { swfobject.embedSWF(decodeURIComponent(data.path)+'scriptcam.swf', opts.id, newWidth, newHeight, '11.6', false, opts, params); } else { alert(decodeURIComponent(data.path)+'scriptcam.swf not found, please check the path parameter'); } }); }; function fileExists(url) { var http = new XMLHttpRequest(); http.open('HEAD', url, false); http.send(); return http.status==200; } $.scriptcam={}; // outgoing functions (calling the flash movie) $.scriptcam.getFrameAsBase64=function() { return $('#'+data.id).get(0).SC_getFrameAsBase64(); } $.scriptcam.version=function() { return $('#'+data.id).get(0).SC_version(); } $.scriptcam.hardwareacceleration=function() { return $('#'+data.id).get(0).SC_hardwareacceleration(); } $.scriptcam.getMotionParameters=function() { $('#'+data.id).get(0).SC_getMotionParameters(); } $.scriptcam.getBarCode=function() { return $('#'+data.id).get(0).SC_getBarCode(); } $.scriptcam.startRecording=function() { $('#'+data.id).get(0).SC_startRecording(); } $.scriptcam.pauseRecording=function() { $('#'+data.id).get(0).SC_pauseRecording(); } $.scriptcam.resumeRecording=function() { $('#'+data.id).get(0).SC_resumeRecording(); } $.scriptcam.closeCamera=function() { $('#'+data.id).get(0).SC_closeCamera(); } $.scriptcam.changeVolume=function(value) { $('#'+data.id).get(0).SC_changeVolume(value); } $.scriptcam.sendMessage=function(value) { $('#'+data.id).get(0).SC_sendMessage(value); } $.scriptcam.playMP3=function(value) { $('#'+data.id).get(0).SC_playMP3(value); } $.scriptcam.changeCamera=function(value) { $('#'+data.id).get(0).SC_changeCamera(value); } $.scriptcam.changeMicrophone=function(value) { $('#'+data.id).get(0).SC_changeMicrophone(value); } // set javascript default values (flash default values are managed in the swf file) $.fn.scriptcam.defaults={ width:320, height:240, chatWindow:'chatWindow', path:'', zoom:1, zoomChat:1, rotate:0, skewX:0, skewY:0, flip:0, noFlashFound:'<p>You need <a href="http://www.adobe.com/go/getflashplayer">Adobe Flash Player 11.7</a> to use this software.<br/>Please click on the link to download the installer.</p>' }; })(jQuery); // incoming functions (calls coming from flash) - must be public and forward calls to the scriptcam plugin function SC_onError(errorId,errorMsg) { $.scriptcam.SC_onError(errorId,errorMsg); } function SC_fileReady(fileName) { $.scriptcam.SC_fileReady(fileName); } function SC_fileConversionStarted(fileName) { $.scriptcam.SC_fileConversionStarted(fileName); } function SC_onMotion(decodedString) { $.scriptcam.SC_onMotion(decodedString); } function SC_promptWillShow() { $.scriptcam.SC_promptWillShow(); } function SC_onHandLeft() { $.scriptcam.SC_onHandLeft(); } function SC_onHandRight() { $.scriptcam.SC_onHandRight(); } function SC_onWebcamReady(cameraNames,camera,microphoneNames,microphone) { $.scriptcam.SC_onWebcamReady(cameraNames,camera,microphoneNames,microphone); } function SC_onPictureAsBase64(value) { $.scriptcam.SC_onPictureAsBase64(value); } function SC_connected() { $.scriptcam.SC_connected(); } function SC_disconnected() { $.scriptcam.SC_disconnected(); } function SC_setVolume(value) { $.scriptcam.SC_setVolume(value); } function SC_onMotion(motion,brightness,color,motionx,motiony) { $.scriptcam.SC_onMotion(motion,brightness,color,motionx,motiony); } function SC_timeLeft(value) { $.scriptcam.SC_timeLeft(value); } function SC_addChatText(value) { $.scriptcam.SC_addChatText(value); } function SC_userJoined(value) { $.scriptcam.SC_userJoined(value); } function SC_userLeft(value) { $.scriptcam.SC_userLeft(value); }
import { isBrowser } from './root'; // @internal export const __stores__ = {}; // @internal export const __queries__ = {}; if (isBrowser) { window.$$stores = __stores__; window.$$queries = __queries__; } //# sourceMappingURL=stores.js.map
!function(o,t,i,e){"use strict";var r;if(""==(r=(r=i.body||i.documentElement).style).webkitFlexWrap||""==r.msFlexWrap||""==r.flexWrap)return;var a=(h=o(".news-list--home")).find("article");(n=function(){a.css("height","auto");var t=Math.floor(h.width()/a.width());if(null==t||t<2)return!0;for(var i=0,e=a.length;i<e;i+=t){var r=0,n=a.slice(i,i+t);n.each(function(){var t=parseInt(o(this).outerHeight());r<t&&(r=t)}),n.css("height",r)}})(),o(t).on("resize",n),h.find("img").on("load",n);a=(h=o(".info-box")).find("> div");(n=function(){a.css("height","auto");var t=Math.floor(h.width()/a.width());if(null==t||t<2)return!0;for(var i=0,e=a.length;i<e;i+=t){var r=0,n=a.slice(i,i+t);n.each(function(){var t=parseInt(o(this).outerHeight());r<t&&(r=t)}),n.css("height",r)}})(),o(t).on("resize",n),h.find("img").on("load",n);var h,n;a=(h=o(".resources-list__group")).find("article");(n=function(){a.css("height","auto");var t=Math.floor(h.width()/a.width());if(null==t||t<2)return!0;for(var i=0,e=a.length;i<e;i+=t){var r=0,n=a.slice(i,i+t);n.each(function(){var t=parseInt(o(this).outerHeight());r<t&&(r=t)}),n.css("height",r)}})(),o(t).on("resize",n),h.find("img").on("load",n)}(jQuery,window,document);
/** Copyright 2014 Gordon Williams (gw@pur3.co.uk) This Source Code is subject to the terms of the Mozilla Public License, v2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. ------------------------------------------------------------------ A button that copies a URL containign the code to the clipboard ------------------------------------------------------------------ **/ "use strict"; (function(){ var icon; var MAX_URL = 2000; function init() { NodeMCU.Core.Config.add("SHOW_CODE_LINK_ICON", { section : "General", name : "Show Copy URL Icon", description : "Show an icon that will create a URL containing the code from the Code Editor and will copy it to the clipboard. Great for sharing your code on Twitter/Websites/etc", type : "boolean", defaultValue : false, onChange : function(newValue) { showIcon(newValue); } }); showIcon(NodeMCU.Config.SHOW_CODE_LINK_ICON); } function showIcon(show) { if (show) { icon = NodeMCU.Core.App.addIcon({ id: "codeLink", icon: "star", title : "Copy URL for this code to the clipboard", order: 300, area: { name: "code", position: "bottom" }, click: copyCodeLink }); } else { if (icon!==undefined) icon.remove(); } } function copyCodeLink() { var code = NodeMCU.Core.Code.getCurrentCode(); var url = "http://www.espruino.com/webide?code="+encodeURIComponent(code); if (url.length > MAX_URL) { NodeMCU.Core.Notifications.error("Your code is too large for a URL (greater than "+MAX_URL+" characters)"); return; } var copier = $('<textarea rows="1" cols="1"></textarea>').appendTo(document.body); copier.val(url).select(); document.execCommand('copy'); copier.remove(); NodeMCU.Core.Notifications.info("URL Copied to clipboard"); }; NodeMCU.Plugins.CodeLink = { init : init, }; }());
"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.editSupllier = exports.deleteSupplier = exports.addSupplier = exports.franchiseSuppliers = exports.storeSuppliers = void 0; const supplier_1 = __importDefault(require("../models/supplier")); /* *** Api for viewing all suppliers of a store *** */ const storeSuppliers = (req, res) => __awaiter(void 0, void 0, void 0, function* () { try { const storeUser = req.body.user; const suppliers = yield supplier_1.default.find({ storeId: storeUser.storeId.id, isDeleted: false }).populate('franchiseId', 'name'); if (!suppliers[0]) { return res.status(404).json({ msg: 'No suppliers Found' }); } res.status(200).json({ msg: 'Suppliers found', suppliers: suppliers }); } catch (error) { res.status(500).json({ msg: error.message }); } }); exports.storeSuppliers = storeSuppliers; /* *** Api for viewing all suppliers of a franchise *** */ const franchiseSuppliers = (req, res) => __awaiter(void 0, void 0, void 0, function* () { try { const storeUser = req.body.user; if (storeUser.role.roleName === 'store admin' && !req.body.franchiseId) { return res.status(403).json({ msg: 'must provide franchiseId ' }); } const suppliers = yield supplier_1.default.find({ storeId: storeUser.storeId.id, franchiseId: storeUser.role.roleName === 'store admin' ? req.body.franchiseId : storeUser.franchiseId.id, isDeleted: false }, '_id firstName companyName address contactNo franchiseId'); if (!suppliers[0]) { return res.status(200).json({ msg: 'No franchise suppliers Found' }); } res.status(200).json({ msg: 'franchise Suppliers found', suppliers: suppliers }); } catch (error) { res.status(500).json({ msg: error.message }); } }); exports.franchiseSuppliers = franchiseSuppliers; /* *** Api for adding a supplier of a franchise *** */ const addSupplier = (req, res) => __awaiter(void 0, void 0, void 0, function* () { try { const storeUser = req.body.user; if (storeUser.role.roleName === 'store amdin' && !req.body.franchiseId) { return res.status(400).json({ msg: 'Must provide Franchise Id' }); } const newSupplier = yield supplier_1.default.updateOne({ storeId: storeUser.storeId.id, franchiseId: storeUser.role.roleName === 'store admin' ? req.body.franchiseId : storeUser.franchiseId.id, companyName: req.body.companyName, contactNo: req.body.phone, }, { firstName: req.body.firstName, lastName: req.body.lastName, accountNo: req.body.accountNo, address: req.body.address, email: req.body.email, isDeleted: false }, { upsert: true }); if (newSupplier.upserted) { return res.status(200).json({ msg: 'Supplier created' }); } res.status(201).json({ msg: 'supplier updated' }); } catch (error) { res.status(500).json({ msg: error.message }); } }); exports.addSupplier = addSupplier; /* *** Api for deleting a supplier of a franchise *** */ const deleteSupplier = (req, res) => __awaiter(void 0, void 0, void 0, function* () { try { const storeUser = req.body.user; if (storeUser.role.roleName === 'store amdin' && !req.body.franchiseId) { return res.status(400).json({ msg: 'Must provide Franchise Id' }); } const newSupplier = yield supplier_1.default.updateOne({ storeId: storeUser.storeId.id, franchiseId: storeUser.role.roleName === 'store admin' ? req.body.franchiseId : storeUser.franchiseId.id, _id: req.body.supplierId, isDeleted: false }, { isDeleted: true }); if (newSupplier.nModified === 0) { return res.status(400).json({ msg: 'Supplier not deleted' }); } res.status(201).json({ msg: 'supplier soft deleted' }); } catch (error) { res.status(500).json({ msg: error.message }); } }); exports.deleteSupplier = deleteSupplier; /* *** Api for editing a supplier *** */ const editSupllier = (req, res) => __awaiter(void 0, void 0, void 0, function* () { try { const storeUser = req.body.user; console.log('body:::', req.body); if (storeUser.role.roleName === 'store amdin' && !req.body.franchiseId) { return res.status(400).json({ msg: 'Must provide Franchise Id' }); } const newSupplier = yield supplier_1.default.updateOne({ storeId: storeUser.storeId.id, franchiseId: storeUser.role.roleName == 'store admin' ? req.body.franchiseId : storeUser.franchiseId.id, _id: req.body._id }, { companyName: req.body.companyName, contactNo: req.body.contactNo, firstName: req.body.firstName, lastName: req.body.lastName, accountNo: req.body.accountNo, address: req.body.address, email: req.body.email, }); if (newSupplier.nModified == 0) { return res.status(400).json({ msg: 'Supplier Not Edited' }); } res.status(201).json({ msg: 'supplier edited' }); } catch (error) { res.status(500).json({ msg: error.message }); } }); exports.editSupllier = editSupllier;
import React, { Component } from 'react'; class ContactPage extends Component { render() { return ( <div className="container-fluid"> <h1 style={{margin: '0px'}}> Contact Us </h1> <div style={{color: 'red'}}> <h1>Serge Assaad: serge.assaad@duke.edu</h1> </div> <div style={{color: 'red'}}> <h1>Joseph Cobb: joseph.cobb@duke.edu</h1> </div> <div style={{color: 'red'}}> <h1>Hala El-Nahal: hala.el.nahal@duke.edu</h1> </div> </div> ) } } export default ContactPage;
(window.webpackJsonp=window.webpackJsonp||[]).push([["a078"],{"5rEg":function(e,n,t){"use strict";var c=t("q1tI"),r=t("17x9"),a=t("TSYQ"),o=t.n(a),i=t("BGR+"),l=t("VCL8"),s=t("wEI+"),f=t("CtXQ"),u=t("CWQg"),m=t("6CfX");function h(e){return(h="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)}function p(){return(p=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function v(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function d(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function z(e,n){return!n||"object"!==h(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,n){return(b=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function g(e){return null==e?"":e}function C(e){return!!("prefix"in e||e.suffix||e.allowClear)}var w=Object(u.a)("small","default","large"),x=function(e){function n(e){var t;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(t=z(this,y(n).call(this,e))).handleKeyDown=function(e){var n=t.props,c=n.onPressEnter,r=n.onKeyDown;13===e.keyCode&&c&&c(e),r&&r(e)},t.saveInput=function(e){t.input=e},t.handleReset=function(e){t.setValue("",e,function(){t.focus()})},t.handleChange=function(e){t.setValue(e.target.value,e)},t.renderComponent=function(e){var n=(0,e.getPrefixCls)("input",t.props.prefixCls);return t.renderLabeledInput(n,t.renderInput(n))};var c=void 0===e.value?e.defaultValue:e.value;return t.state={value:c},t}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&b(e,n)}(n,c["Component"]),t=n,a=[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}],(r=[{key:"getSnapshotBeforeUpdate",value:function(e){return C(e)!==C(this.props)&&Object(m.a)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentDidUpdate",value:function(){}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"getInputClassName",value:function(e){var n,t=this.props,c=t.size,r=t.disabled;return o()(e,(v(n={},"".concat(e,"-sm"),"small"===c),v(n,"".concat(e,"-lg"),"large"===c),v(n,"".concat(e,"-disabled"),r),n))}},{key:"setValue",value:function(e,n,t){"value"in this.props||this.setState({value:e},t);var c=this.props.onChange;if(c){var r=n;if("click"===n.type){(r=Object.create(n)).target=this.input,r.currentTarget=this.input;var a=this.input.value;return this.input.value="",c(r),void(this.input.value=a)}c(r)}}},{key:"renderClearIcon",value:function(e){var n=this.props.allowClear,t=this.state.value;return n&&null!=t&&""!==t?c.createElement(f.a,{type:"close-circle",theme:"filled",onClick:this.handleReset,className:"".concat(e,"-clear-icon"),role:"button"}):null}},{key:"renderSuffix",value:function(e){var n=this.props,t=n.suffix,r=n.allowClear;return t||r?c.createElement("span",{className:"".concat(e,"-suffix")},this.renderClearIcon(e),t):null}},{key:"renderLabeledInput",value:function(e,n){var t,r=this.props,a=r.addonBefore,i=r.addonAfter,l=r.style,s=r.size,f=r.className;if(!a&&!i)return n;var u="".concat(e,"-group"),m="".concat(u,"-addon"),h=a?c.createElement("span",{className:m},a):null,p=i?c.createElement("span",{className:m},i):null,d=o()("".concat(e,"-wrapper"),v({},u,a||i)),z=o()(f,"".concat(e,"-group-wrapper"),(v(t={},"".concat(e,"-group-wrapper-sm"),"small"===s),v(t,"".concat(e,"-group-wrapper-lg"),"large"===s),t));return c.createElement("span",{className:z,style:l},c.createElement("span",{className:d},h,c.cloneElement(n,{style:null}),p))}},{key:"renderLabeledIcon",value:function(e,n){var t,r=this.props,a=this.renderSuffix(e);if(!C(r))return n;var i=r.prefix?c.createElement("span",{className:"".concat(e,"-prefix")},r.prefix):null,l=o()(r.className,"".concat(e,"-affix-wrapper"),(v(t={},"".concat(e,"-affix-wrapper-sm"),"small"===r.size),v(t,"".concat(e,"-affix-wrapper-lg"),"large"===r.size),t));return c.createElement("span",{className:l,style:r.style},i,c.cloneElement(n,{style:null,className:this.getInputClassName(e)}),a)}},{key:"renderInput",value:function(e){var n=this.props,t=n.className,r=n.addonBefore,a=n.addonAfter,l=this.state.value,s=Object(i.a)(this.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue"]);return this.renderLabeledIcon(e,c.createElement("input",p({},s,{value:g(l),onChange:this.handleChange,className:o()(this.getInputClassName(e),v({},t,t&&!r&&!a)),onKeyDown:this.handleKeyDown,ref:this.saveInput})))}},{key:"render",value:function(){return c.createElement(s.a,null,this.renderComponent)}}])&&d(t.prototype,r),a&&d(t,a),n}();x.defaultProps={type:"text",disabled:!1},x.propTypes={type:r.string,id:r.string,size:r.oneOf(w),maxLength:r.number,disabled:r.bool,value:r.any,defaultValue:r.any,className:r.string,addonBefore:r.node,addonAfter:r.node,prefixCls:r.string,onPressEnter:r.func,onKeyDown:r.func,onKeyUp:r.func,onFocus:r.func,onBlur:r.func,prefix:r.node,suffix:r.node,allowClear:r.bool},Object(l.polyfill)(x);var M=x;function S(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var k=function(e){return c.createElement(s.a,null,function(n){var t,r=n.getPrefixCls,a=e.prefixCls,i=e.className,l=void 0===i?"":i,s=r("input-group",a),f=o()(s,(S(t={},"".concat(s,"-lg"),"large"===e.size),S(t,"".concat(s,"-sm"),"small"===e.size),S(t,"".concat(s,"-compact"),e.compact),t),l);return c.createElement("span",{className:f,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)})},H=t("2/Rp");function N(e){return(N="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)}function O(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function V(){return(V=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function E(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function _(e,n){return!n||"object"!==N(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function j(e){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function L(e,n){return(L=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var P=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r<c.length;r++)n.indexOf(c[r])<0&&(t[c[r]]=e[c[r]])}return t},A=function(e){function n(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=_(this,j(n).apply(this,arguments))).onSearch=function(n){var t=e.props.onSearch;t&&t(e.input.input.value,n),e.input.focus()},e.saveInput=function(n){e.input=n},e.renderSuffix=function(n){var t=e.props,r=t.suffix;if(t.enterButton)return r;var a=c.createElement(f.a,{className:"".concat(n,"-icon"),type:"search",key:"searchIcon",onClick:e.onSearch});if(r){var o=r;return c.isValidElement(o)&&!o.key&&(o=c.cloneElement(o,{key:"originSuffix"})),[o,a]}return a},e.renderAddonAfter=function(n){var t=e.props,r=t.enterButton,a=t.size,o=t.disabled,i=t.addonAfter;if(!r)return i;var l,s="".concat(n,"-button"),u=r;return l=u.type===H.a||"button"===u.type?c.cloneElement(u,V({onClick:e.onSearch,key:"enterButton"},u.type===H.a?{className:s,size:a}:{})):c.createElement(H.a,{className:s,type:"primary",size:a,disabled:o,key:"enterButton",onClick:e.onSearch},!0===r?c.createElement(f.a,{type:"search"}):r),i?[l,i]:l},e.renderSearch=function(n){var t=n.getPrefixCls,r=e.props,a=r.prefixCls,i=r.inputPrefixCls,l=r.size,s=r.enterButton,f=r.className,u=P(r,["prefixCls","inputPrefixCls","size","enterButton","className"]);delete u.onSearch;var m,h,p=t("input-search",a),v=t("input",i);s?m=o()(p,f,(O(h={},"".concat(p,"-enter-button"),!!s),O(h,"".concat(p,"-").concat(l),!!l),h)):m=o()(p,f);return c.createElement(M,V({onPressEnter:e.onSearch},u,{size:l,prefixCls:v,addonAfter:e.renderAddonAfter(p),suffix:e.renderSuffix(p),ref:e.saveInput,className:m}))},e}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&L(e,n)}(n,c["Component"]),t=n,(r=[{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"render",value:function(){return c.createElement(s.a,null,this.renderSearch)}}])&&E(t.prototype,r),a&&E(t,a),n}();A.defaultProps={enterButton:!1};var T,I="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",F=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"],R={};function B(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;T||(T=document.createElement("textarea"),document.body.appendChild(T)),e.getAttribute("wrap")?T.setAttribute("wrap",e.getAttribute("wrap")):T.removeAttribute("wrap");var r=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(n&&R[t])return R[t];var c=window.getComputedStyle(e),r=c.getPropertyValue("box-sizing")||c.getPropertyValue("-moz-box-sizing")||c.getPropertyValue("-webkit-box-sizing"),a=parseFloat(c.getPropertyValue("padding-bottom"))+parseFloat(c.getPropertyValue("padding-top")),o=parseFloat(c.getPropertyValue("border-bottom-width"))+parseFloat(c.getPropertyValue("border-top-width")),i={sizingStyle:F.map(function(e){return"".concat(e,":").concat(c.getPropertyValue(e))}).join(";"),paddingSize:a,borderSize:o,boxSizing:r};return n&&t&&(R[t]=i),i}(e,n),a=r.paddingSize,o=r.borderSize,i=r.boxSizing,l=r.sizingStyle;T.setAttribute("style","".concat(l,";").concat(I)),T.value=e.value||e.placeholder||"";var s,f=Number.MIN_SAFE_INTEGER,u=Number.MAX_SAFE_INTEGER,m=T.scrollHeight;if("border-box"===i?m+=o:"content-box"===i&&(m-=a),null!==t||null!==c){T.value=" ";var h=T.scrollHeight-a;null!==t&&(f=h*t,"border-box"===i&&(f=f+a+o),m=Math.max(f,m)),null!==c&&(u=h*c,"border-box"===i&&(u=u+a+o),s=m>u?"":"hidden",m=Math.min(u,m))}return{height:m,minHeight:f,maxHeight:u,overflowY:s}}var D=t("i8i4"),q=t("bdgK");function W(e){return(W="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)}function K(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function U(e,n){return!n||"object"!==W(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function G(e){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function X(e,n){return(X=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var Y=function(e){function n(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=U(this,G(n).apply(this,arguments))).resizeObserver=null,e.onResize=function(){var n=e.props.onResize;n&&n()},e}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&X(e,n)}(n,c["Component"]),t=n,(r=[{key:"componentDidMount",value:function(){this.onComponentUpdated()}},{key:"componentDidUpdate",value:function(){this.onComponentUpdated()}},{key:"componentWillUnmount",value:function(){this.destroyObserver()}},{key:"onComponentUpdated",value:function(){var e=this.props.disabled,n=Object(D.findDOMNode)(this);this.resizeObserver||e||!n?e&&this.destroyObserver():(this.resizeObserver=new q.default(this.onResize),this.resizeObserver.observe(n))}},{key:"destroyObserver",value:function(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"render",value:function(){var e=this.props.children;return void 0===e?null:e}}])&&K(t.prototype,r),a&&K(t,a),n}();function Q(e){return(Q="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)}function J(){return(J=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function Z(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function $(e,n){return!n||"object"!==Q(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ne(e,n){return(ne=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var te=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r<c.length;r++)n.indexOf(c[r])<0&&(t[c[r]]=e[c[r]])}return t};var ce=function(e){function n(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=$(this,ee(n).apply(this,arguments))).state={textareaStyles:{}},e.resizeOnNextFrame=function(){var n,t;e.nextFrameActionId&&(n=e.nextFrameActionId,window.cancelAnimationFrame?window.cancelAnimationFrame(n):window.clearTimeout(n)),e.nextFrameActionId=(t=e.resizeTextarea,window.requestAnimationFrame?window.requestAnimationFrame(t):window.setTimeout(t,1))},e.resizeTextarea=function(){var n=e.props.autosize;if(n&&e.textAreaRef){var t=n.minRows,c=n.maxRows,r=B(e.textAreaRef,!1,t,c);e.setState({textareaStyles:r})}},e.handleTextareaChange=function(n){"value"in e.props||e.resizeTextarea();var t=e.props.onChange;t&&t(n)},e.handleKeyDown=function(n){var t=e.props,c=t.onPressEnter,r=t.onKeyDown;13===n.keyCode&&c&&c(n),r&&r(n)},e.saveTextAreaRef=function(n){e.textAreaRef=n},e.renderTextArea=function(n){var t,r,a,l=n.getPrefixCls,s=e.props,f=s.prefixCls,u=s.className,m=s.disabled,h=s.autosize,p=te(e.props,[]),v=Object(i.a)(p,["prefixCls","onPressEnter","autosize"]),d=l("input",f),z=o()(d,u,(t={},r="".concat(d,"-disabled"),a=m,r in t?Object.defineProperty(t,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[r]=a,t)),y=J({},p.style,e.state.textareaStyles);return"value"in v&&(v.value=v.value||""),c.createElement(Y,{onResize:e.resizeOnNextFrame,disabled:!h},c.createElement("textarea",J({},v,{className:z,style:y,onKeyDown:e.handleKeyDown,onChange:e.handleTextareaChange,ref:e.saveTextAreaRef})))},e}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&ne(e,n)}(n,c["Component"]),t=n,(r=[{key:"componentDidMount",value:function(){this.resizeTextarea()}},{key:"componentDidUpdate",value:function(e){e.value!==this.props.value&&this.resizeOnNextFrame()}},{key:"focus",value:function(){this.textAreaRef.focus()}},{key:"blur",value:function(){this.textAreaRef.blur()}},{key:"render",value:function(){return c.createElement(s.a,null,this.renderTextArea)}}])&&Z(t.prototype,r),a&&Z(t,a),n}();Object(l.polyfill)(ce);var re=ce;function ae(e){return(ae="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)}function oe(){return(oe=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function ie(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function le(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function se(e,n){return!n||"object"!==ae(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ue(e,n){return(ue=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var me=function(e,n){var t={};for(var c in e)Object.prototype.hasOwnProperty.call(e,c)&&n.indexOf(c)<0&&(t[c]=e[c]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(c=Object.getOwnPropertySymbols(e);r<c.length;r++)n.indexOf(c[r])<0&&(t[c[r]]=e[c[r]])}return t},he={click:"onClick",hover:"onMouseOver"},pe=function(e){function n(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=se(this,fe(n).apply(this,arguments))).state={visible:!1},e.onChange=function(){e.setState({visible:!e.state.visible})},e}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&ue(e,n)}(n,c["Component"]),t=n,(r=[{key:"getIcon",value:function(){var e,n=this.props,t=n.prefixCls,r=n.action,a=(ie(e={},he[r]||"",this.onChange),ie(e,"className","".concat(t,"-icon")),ie(e,"type",this.state.visible?"eye":"eye-invisible"),ie(e,"key","passwordIcon"),ie(e,"onMouseDown",function(e){e.preventDefault()}),e);return c.createElement(f.a,a)}},{key:"render",value:function(){var e=this.props,n=e.className,t=e.prefixCls,r=e.inputPrefixCls,a=e.size,i=(e.suffix,e.visibilityToggle),l=me(e,["className","prefixCls","inputPrefixCls","size","suffix","visibilityToggle"]),s=i&&this.getIcon(),f=o()(t,n,ie({},"".concat(t,"-").concat(a),!!a));return c.createElement(M,oe({},l,{type:this.state.visible?"text":"password",size:a,className:f,prefixCls:r,suffix:s}))}}])&&le(t.prototype,r),a&&le(t,a),n}();pe.defaultProps={inputPrefixCls:"ant-input",prefixCls:"ant-input-password",action:"click",visibilityToggle:!0},M.Group=k,M.Search=A,M.TextArea=re,M.Password=pe;n.a=M},"7O5W":function(e,n,t){"use strict";(function(e,c){function r(e){return(r="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)}function a(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function i(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},c=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(c=c.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),c.forEach(function(n){o(e,n,t[n])})}return e}function l(e,n){return function(e){if(Array.isArray(e))return e}(e)||function(e,n){var t=[],c=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(c=(o=i.next()).done)&&(t.push(o.value),!n||t.length!==n);c=!0);}catch(l){r=!0,a=l}finally{try{c||null==i.return||i.return()}finally{if(r)throw a}}return t}(e,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}t.d(n,"a",function(){return Ve}),t.d(n,"b",function(){return He}),t.d(n,"c",function(){return Oe});var s=function(){},f={},u={},m={mark:s,measure:s};try{"undefined"!=typeof window&&(f=window),"undefined"!=typeof document&&(u=document),"undefined"!=typeof MutationObserver&&MutationObserver,"undefined"!=typeof performance&&(m=performance)}catch(Ee){}var h=(f.navigator||{}).userAgent,p=void 0===h?"":h,v=f,d=u,z=m,y=(v.document,!!d.documentElement&&!!d.head&&"function"==typeof d.addEventListener&&"function"==typeof d.createElement),b=(~p.indexOf("MSIE")||p.indexOf("Trident/"),"fa"),g="svg-inline--fa",C="data-fa-i2svg",w=(function(){try{}catch(Ee){return!1}}(),[1,2,3,4,5,6,7,8,9,10]),x=w.concat([11,12,13,14,15,16,17,18,19,20]),M=(["xs","sm","lg","fw","ul","li","border","pull-left","pull-right","spin","pulse","rotate-90","rotate-180","rotate-270","flip-horizontal","flip-vertical","flip-both","stack","stack-1x","stack-2x","inverse","layers","layers-text","layers-counter"].concat(w.map(function(e){return"".concat(e,"x")})).concat(x.map(function(e){return"w-".concat(e)})),v.FontAwesomeConfig||{});if(d&&"function"==typeof d.querySelector){[["data-family-prefix","familyPrefix"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(function(e){var n=l(e,2),t=n[0],c=n[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var n=d.querySelector("script["+e+"]");if(n)return n.getAttribute(e)}(t));null!=r&&(M[c]=r)})}var S=i({},{familyPrefix:b,replacementClass:g,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0},M);S.autoReplaceSvg||(S.observeMutations=!1);var k=i({},S);v.FontAwesomeConfig=k;var H=v||{};H.___FONT_AWESOME___||(H.___FONT_AWESOME___={}),H.___FONT_AWESOME___.styles||(H.___FONT_AWESOME___.styles={}),H.___FONT_AWESOME___.hooks||(H.___FONT_AWESOME___.hooks={}),H.___FONT_AWESOME___.shims||(H.___FONT_AWESOME___.shims=[]);var N=H.___FONT_AWESOME___,O=[];y&&((d.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(d.readyState)||d.addEventListener("DOMContentLoaded",function e(){d.removeEventListener("DOMContentLoaded",e),1,O.map(function(e){return e()})}));var V,E="pending",_="settled",j="fulfilled",L="rejected",P=function(){},A=void 0!==e&&void 0!==e.process&&"function"==typeof e.process.emit,T=void 0===c?setTimeout:c,I=[];function F(){for(var e=0;e<I.length;e++)I[e][0](I[e][1]);I=[],V=!1}function R(e,n){I.push([e,n]),V||(V=!0,T(F,0))}function B(e){var n=e.owner,t=n._state,c=n._data,r=e[t],a=e.then;if("function"==typeof r){t=j;try{c=r(c)}catch(Ee){K(a,Ee)}}D(a,c)||(t===j&&q(a,c),t===L&&K(a,c))}function D(e,n){var t;try{if(e===n)throw new TypeError("A promises callback cannot return that same promise.");if(n&&("function"==typeof n||"object"===r(n))){var c=n.then;if("function"==typeof c)return c.call(n,function(c){t||(t=!0,n===c?W(e,c):q(e,c))},function(n){t||(t=!0,K(e,n))}),!0}}catch(Ee){return t||K(e,Ee),!0}return!1}function q(e,n){e!==n&&D(e,n)||W(e,n)}function W(e,n){e._state===E&&(e._state=_,e._data=n,R(G,e))}function K(e,n){e._state===E&&(e._state=_,e._data=n,R(X,e))}function U(e){e._then=e._then.forEach(B)}function G(e){e._state=j,U(e)}function X(n){n._state=L,U(n),!n._handled&&A&&e.process.emit("unhandledRejection",n._data,n)}function Y(n){e.process.emit("rejectionHandled",n)}function Q(e){if("function"!=typeof e)throw new TypeError("Promise resolver "+e+" is not a function");if(this instanceof Q==!1)throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._then=[],function(e,n){function t(e){K(n,e)}try{e(function(e){q(n,e)},t)}catch(Ee){t(Ee)}}(e,this)}Q.prototype={constructor:Q,_state:E,_then:null,_data:void 0,_handled:!1,then:function(e,n){var t={owner:this,then:new this.constructor(P),fulfilled:e,rejected:n};return!n&&!e||this._handled||(this._handled=!0,this._state===L&&A&&R(Y,this)),this._state===j||this._state===L?R(B,t):this._then.push(t),t.then},catch:function(e){return this.then(null,e)}},Q.all=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.all().");return new Q(function(n,t){var c=[],r=0;function a(e){return r++,function(t){c[e]=t,--r||n(c)}}for(var o,i=0;i<e.length;i++)(o=e[i])&&"function"==typeof o.then?o.then(a(i),t):c[i]=o;r||n(c)})},Q.race=function(e){if(!Array.isArray(e))throw new TypeError("You must pass an array to Promise.race().");return new Q(function(n,t){for(var c,r=0;r<e.length;r++)(c=e[r])&&"function"==typeof c.then?c.then(n,t):n(c)})},Q.resolve=function(e){return e&&"object"===r(e)&&e.constructor===Q?e:new Q(function(n){n(e)})},Q.reject=function(e){return new Q(function(n,t){t(e)})};"function"==typeof Promise&&Promise;var J={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function Z(e){if(e&&y){var n=d.createElement("style");n.setAttribute("type","text/css"),n.innerHTML=e;for(var t=d.head.childNodes,c=null,r=t.length-1;r>-1;r--){var a=t[r],o=(a.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(c=a)}return d.head.insertBefore(n,c),e}}var $="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function ee(){for(var e=12,n="";e-- >0;)n+=$[62*Math.random()|0];return n}function ne(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function te(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,": ").concat(e[t],";")},"")}function ce(e){return e.size!==J.size||e.x!==J.x||e.y!==J.y||e.rotate!==J.rotate||e.flipX||e.flipY}function re(e){var n=e.transform,t=e.containerWidth,c=e.iconWidth,r={transform:"translate(".concat(t/2," 256)")},a="translate(".concat(32*n.x,", ").concat(32*n.y,") "),o="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),i="rotate(".concat(n.rotate," 0 0)");return{outer:r,inner:{transform:"".concat(a," ").concat(o," ").concat(i)},path:{transform:"translate(".concat(c/2*-1," -256)")}}}var ae={x:0,y:0,width:"100%",height:"100%"};function oe(e){var n=e.icons,t=n.main,c=n.mask,r=e.prefix,a=e.iconName,o=e.transform,l=e.symbol,s=e.title,f=e.extra,u=e.watchable,m=void 0!==u&&u,h=c.found?c:t,p=h.width,v=h.height,d="fa-w-".concat(Math.ceil(p/v*16)),z=[k.replacementClass,a?"".concat(k.familyPrefix,"-").concat(a):"",d].filter(function(e){return-1===f.classes.indexOf(e)}).concat(f.classes).join(" "),y={children:[],attributes:i({},f.attributes,{"data-prefix":r,"data-icon":a,class:z,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(v)})};m&&(y.attributes[C]=""),s&&y.children.push({tag:"title",attributes:{id:y.attributes["aria-labelledby"]||"title-".concat(ee())},children:[s]});var b=i({},y,{prefix:r,iconName:a,main:t,mask:c,transform:o,symbol:l,styles:f.styles}),g=c.found&&t.found?function(e){var n=e.children,t=e.attributes,c=e.main,r=e.mask,a=e.transform,o=c.width,l=c.icon,s=r.width,f=r.icon,u=re({transform:a,containerWidth:s,iconWidth:o}),m={tag:"rect",attributes:i({},ae,{fill:"white"})},h={tag:"g",attributes:i({},u.inner),children:[{tag:"path",attributes:i({},l.attributes,u.path,{fill:"black"})}]},p={tag:"g",attributes:i({},u.outer),children:[h]},v="mask-".concat(ee()),d="clip-".concat(ee()),z={tag:"defs",children:[{tag:"clipPath",attributes:{id:d},children:[f]},{tag:"mask",attributes:i({},ae,{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,p]}]};return n.push(z,{tag:"rect",attributes:i({fill:"currentColor","clip-path":"url(#".concat(d,")"),mask:"url(#".concat(v,")")},ae)}),{children:n,attributes:t}}(b):function(e){var n=e.children,t=e.attributes,c=e.main,r=e.transform,a=te(e.styles);if(a.length>0&&(t.style=a),ce(r)){var o=re({transform:r,containerWidth:c.width,iconWidth:c.width});n.push({tag:"g",attributes:i({},o.outer),children:[{tag:"g",attributes:i({},o.inner),children:[{tag:c.icon.tag,children:c.icon.children,attributes:i({},c.icon.attributes,o.path)}]}]})}else n.push(c.icon);return{children:n,attributes:t}}(b),w=g.children,x=g.attributes;return b.children=w,b.attributes=x,l?function(e){var n=e.prefix,t=e.iconName,c=e.children,r=e.attributes,a=e.symbol;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:i({},r,{id:!0===a?"".concat(n,"-").concat(k.familyPrefix,"-").concat(t):a}),children:c}]}]}(b):function(e){var n=e.children,t=e.main,c=e.mask,r=e.attributes,a=e.styles,o=e.transform;if(ce(o)&&t.found&&!c.found){var l={x:t.width/t.height/2,y:.5};r.style=te(i({},a,{"transform-origin":"".concat(l.x+o.x/16,"em ").concat(l.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:n}]}(b)}var ie=function(){},le=(k.measurePerformance&&z&&z.mark&&z.measure,function(e,n,t,c){var r,a,o,i=Object.keys(e),l=i.length,s=void 0!==c?function(e,n){return function(t,c,r,a){return e.call(n,t,c,r,a)}}(n,c):n;for(void 0===t?(r=1,o=e[i[0]]):(r=0,o=t);r<l;r++)o=s(o,e[a=i[r]],a,e);return o});var se=N.styles,fe=N.shims,ue=function(){var e=function(e){return le(se,function(n,t,c){return n[c]=le(t,e,{}),n},{})};e(function(e,n,t){return n[3]&&(e[n[3]]=t),e}),e(function(e,n,t){var c=n[2];return e[t]=t,c.forEach(function(n){e[n]=t}),e});var n="far"in se;le(fe,function(e,t){var c=t[0],r=t[1],a=t[2];return"far"!==r||n||(r="fas"),e[c]={prefix:r,iconName:a},e},{})};ue();N.styles;function me(e,n,t){if(e&&e[n]&&e[n][t])return{prefix:n,iconName:t,icon:e[n][t]}}function he(e){var n=e.tag,t=e.attributes,c=void 0===t?{}:t,r=e.children,a=void 0===r?[]:r;return"string"==typeof e?ne(e):"<".concat(n," ").concat(function(e){return Object.keys(e||{}).reduce(function(n,t){return n+"".concat(t,'="').concat(ne(e[t]),'" ')},"").trim()}(c),">").concat(a.map(he).join(""),"</").concat(n,">")}var pe=function(e){var n={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e?e.toLowerCase().split(" ").reduce(function(e,n){var t=n.toLowerCase().split("-"),c=t[0],r=t.slice(1).join("-");if(c&&"h"===r)return e.flipX=!0,e;if(c&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(c){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e},n):n};function ve(e){this.name="MissingIcon",this.message=e||"Icon unavailable",this.stack=(new Error).stack}ve.prototype=Object.create(Error.prototype),ve.prototype.constructor=ve;var de={fill:"currentColor"},ze={attributeType:"XML",repeatCount:"indefinite",dur:"2s"},ye={tag:"path",attributes:i({},de,{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})},be=i({},ze,{attributeName:"opacity"});i({},de,{cx:"256",cy:"364",r:"28"}),i({},ze,{attributeName:"r",values:"28;14;28;28;14;28;"}),i({},be,{values:"1;0;1;1;0;1;"}),i({},de,{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),i({},be,{values:"1;0;0;0;0;1;"}),i({},de,{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),i({},be,{values:"0;0;1;1;0;0;"}),N.styles;N.styles;var ge='svg:not(:root).svg-inline--fa {\n overflow: visible;\n}\n\n.svg-inline--fa {\n display: inline-block;\n font-size: inherit;\n height: 1em;\n overflow: visible;\n vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-lg {\n vertical-align: -0.225em;\n}\n.svg-inline--fa.fa-w-1 {\n width: 0.0625em;\n}\n.svg-inline--fa.fa-w-2 {\n width: 0.125em;\n}\n.svg-inline--fa.fa-w-3 {\n width: 0.1875em;\n}\n.svg-inline--fa.fa-w-4 {\n width: 0.25em;\n}\n.svg-inline--fa.fa-w-5 {\n width: 0.3125em;\n}\n.svg-inline--fa.fa-w-6 {\n width: 0.375em;\n}\n.svg-inline--fa.fa-w-7 {\n width: 0.4375em;\n}\n.svg-inline--fa.fa-w-8 {\n width: 0.5em;\n}\n.svg-inline--fa.fa-w-9 {\n width: 0.5625em;\n}\n.svg-inline--fa.fa-w-10 {\n width: 0.625em;\n}\n.svg-inline--fa.fa-w-11 {\n width: 0.6875em;\n}\n.svg-inline--fa.fa-w-12 {\n width: 0.75em;\n}\n.svg-inline--fa.fa-w-13 {\n width: 0.8125em;\n}\n.svg-inline--fa.fa-w-14 {\n width: 0.875em;\n}\n.svg-inline--fa.fa-w-15 {\n width: 0.9375em;\n}\n.svg-inline--fa.fa-w-16 {\n width: 1em;\n}\n.svg-inline--fa.fa-w-17 {\n width: 1.0625em;\n}\n.svg-inline--fa.fa-w-18 {\n width: 1.125em;\n}\n.svg-inline--fa.fa-w-19 {\n width: 1.1875em;\n}\n.svg-inline--fa.fa-w-20 {\n width: 1.25em;\n}\n.svg-inline--fa.fa-pull-left {\n margin-right: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n margin-left: 0.3em;\n width: auto;\n}\n.svg-inline--fa.fa-border {\n height: 1.5em;\n}\n.svg-inline--fa.fa-li {\n width: 2em;\n}\n.svg-inline--fa.fa-fw {\n width: 1.25em;\n}\n\n.fa-layers svg.svg-inline--fa {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.fa-layers {\n display: inline-block;\n height: 1em;\n position: relative;\n text-align: center;\n vertical-align: -0.125em;\n width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter, .fa-layers-text {\n display: inline-block;\n position: absolute;\n text-align: center;\n}\n\n.fa-layers-text {\n left: 50%;\n top: 50%;\n -webkit-transform: translate(-50%, -50%);\n transform: translate(-50%, -50%);\n -webkit-transform-origin: center center;\n transform-origin: center center;\n}\n\n.fa-layers-counter {\n background-color: #ff253a;\n border-radius: 1em;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n color: #fff;\n height: 1.5em;\n line-height: 1;\n max-width: 5em;\n min-width: 1.5em;\n overflow: hidden;\n padding: 0.25em;\n right: 0;\n text-overflow: ellipsis;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n bottom: 0;\n right: 0;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom right;\n transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n bottom: 0;\n left: 0;\n right: auto;\n top: auto;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: bottom left;\n transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n right: 0;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top right;\n transform-origin: top right;\n}\n\n.fa-layers-top-left {\n left: 0;\n right: auto;\n top: 0;\n -webkit-transform: scale(0.25);\n transform: scale(0.25);\n -webkit-transform-origin: top left;\n transform-origin: top left;\n}\n\n.fa-lg {\n font-size: 1.3333333333em;\n line-height: 0.75em;\n vertical-align: -0.0667em;\n}\n\n.fa-xs {\n font-size: 0.75em;\n}\n\n.fa-sm {\n font-size: 0.875em;\n}\n\n.fa-1x {\n font-size: 1em;\n}\n\n.fa-2x {\n font-size: 2em;\n}\n\n.fa-3x {\n font-size: 3em;\n}\n\n.fa-4x {\n font-size: 4em;\n}\n\n.fa-5x {\n font-size: 5em;\n}\n\n.fa-6x {\n font-size: 6em;\n}\n\n.fa-7x {\n font-size: 7em;\n}\n\n.fa-8x {\n font-size: 8em;\n}\n\n.fa-9x {\n font-size: 9em;\n}\n\n.fa-10x {\n font-size: 10em;\n}\n\n.fa-fw {\n text-align: center;\n width: 1.25em;\n}\n\n.fa-ul {\n list-style-type: none;\n margin-left: 2.5em;\n padding-left: 0;\n}\n.fa-ul > li {\n position: relative;\n}\n\n.fa-li {\n left: -2em;\n position: absolute;\n text-align: center;\n width: 2em;\n line-height: inherit;\n}\n\n.fa-border {\n border: solid 0.08em #eee;\n border-radius: 0.1em;\n padding: 0.2em 0.25em 0.15em;\n}\n\n.fa-pull-left {\n float: left;\n}\n\n.fa-pull-right {\n float: right;\n}\n\n.fa.fa-pull-left,\n.fas.fa-pull-left,\n.far.fa-pull-left,\n.fal.fa-pull-left,\n.fab.fa-pull-left {\n margin-right: 0.3em;\n}\n.fa.fa-pull-right,\n.fas.fa-pull-right,\n.far.fa-pull-right,\n.fal.fa-pull-right,\n.fab.fa-pull-right {\n margin-left: 0.3em;\n}\n\n.fa-spin {\n -webkit-animation: fa-spin 2s infinite linear;\n animation: fa-spin 2s infinite linear;\n}\n\n.fa-pulse {\n -webkit-animation: fa-spin 1s infinite steps(8);\n animation: fa-spin 1s infinite steps(8);\n}\n\n@-webkit-keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes fa-spin {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n.fa-rotate-90 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";\n -webkit-transform: rotate(90deg);\n transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";\n -webkit-transform: rotate(180deg);\n transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";\n -webkit-transform: rotate(270deg);\n transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";\n -webkit-transform: scale(-1, 1);\n transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(1, -1);\n transform: scale(1, -1);\n}\n\n.fa-flip-both, .fa-flip-horizontal.fa-flip-vertical {\n -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";\n -webkit-transform: scale(-1, -1);\n transform: scale(-1, -1);\n}\n\n:root .fa-rotate-90,\n:root .fa-rotate-180,\n:root .fa-rotate-270,\n:root .fa-flip-horizontal,\n:root .fa-flip-vertical,\n:root .fa-flip-both {\n -webkit-filter: none;\n filter: none;\n}\n\n.fa-stack {\n display: inline-block;\n height: 2em;\n position: relative;\n width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n bottom: 0;\n left: 0;\n margin: auto;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n.svg-inline--fa.fa-stack-1x {\n height: 1em;\n width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n height: 2em;\n width: 2.5em;\n}\n\n.fa-inverse {\n color: #fff;\n}\n\n.sr-only {\n border: 0;\n clip: rect(0, 0, 0, 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n}\n\n.sr-only-focusable:active, .sr-only-focusable:focus {\n clip: auto;\n height: auto;\n margin: 0;\n overflow: visible;\n position: static;\n width: auto;\n}';function Ce(){var e=b,n=g,t=k.familyPrefix,c=k.replacementClass,r=ge;if(t!==e||c!==n){var a=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(n),"g");r=r.replace(a,".".concat(t,"-")).replace(o,".".concat(c))}return r}function we(e){return{found:!0,width:e[0],height:e[1],icon:{tag:"path",attributes:{fill:"currentColor",d:e.slice(4)[0]}}}}function xe(){k.autoAddCss&&!Ne&&(Z(Ce()),Ne=!0)}function Me(e,n){return Object.defineProperty(e,"abstract",{get:n}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(function(e){return he(e)})}}),Object.defineProperty(e,"node",{get:function(){if(y){var n=d.createElement("div");return n.innerHTML=e.html,n.children}}}),e}function Se(e){var n=e.prefix,t=void 0===n?"fa":n,c=e.iconName;if(c)return me(He.definitions,t,c)||me(N.styles,t,c)}var ke,He=new(function(){function e(){!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var n,t,c;return n=e,(t=[{key:"add",value:function(){for(var e=this,n=arguments.length,t=new Array(n),c=0;c<n;c++)t[c]=arguments[c];var r=t.reduce(this._pullDefinitions,{});Object.keys(r).forEach(function(n){e.definitions[n]=i({},e.definitions[n]||{},r[n]),function e(n,t){var c=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,r=void 0!==c&&c,a=Object.keys(t).reduce(function(e,n){var c=t[n];return c.icon?e[c.iconName]=c.icon:e[n]=c,e},{});"function"!=typeof N.hooks.addPack||r?N.styles[n]=i({},N.styles[n]||{},a):N.hooks.addPack(n,a),"fas"===n&&e("fa",t)}(n,r[n]),ue()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,n){var t=n.prefix&&n.iconName&&n.icon?{0:n}:n;return Object.keys(t).map(function(n){var c=t[n],r=c.prefix,a=c.iconName,o=c.icon;e[r]||(e[r]={}),e[r][a]=o}),e}}])&&a(n.prototype,t),c&&a(n,c),e}()),Ne=!1,Oe={transform:function(e){return pe(e)}},Ve=(ke=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=n.transform,c=void 0===t?J:t,r=n.symbol,a=void 0!==r&&r,o=n.mask,l=void 0===o?null:o,s=n.title,f=void 0===s?null:s,u=n.classes,m=void 0===u?[]:u,h=n.attributes,p=void 0===h?{}:h,v=n.styles,d=void 0===v?{}:v;if(e){var z=e.prefix,y=e.iconName,b=e.icon;return Me(i({type:"icon"},e),function(){return xe(),k.autoA11y&&(f?p["aria-labelledby"]="".concat(k.replacementClass,"-title-").concat(ee()):(p["aria-hidden"]="true",p.focusable="false")),oe({icons:{main:we(b),mask:l?we(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:z,iconName:y,transform:i({},J,c),symbol:a,title:f,extra:{attributes:p,styles:d,classes:m}})})}},function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=(e||{}).icon?e:Se(e||{}),c=n.mask;return c&&(c=(c||{}).icon?c:Se(c||{})),ke(t,i({},n,{mask:c}))})}).call(this,t("yLpj"),t("URgk").setImmediate)},"97z3":function(e,n,t){"use strict";t.d(n,"a",function(){return l}),t.d(n,"b",function(){return s});var c=t("p46w"),r=t.n(c),a=t("cRSR"),o=t("Shr3"),i=t("cOit");function l(e,n,t,c,a){return function(l){Object(o.a)(e,n,t).then(function(e){return e}).then(function(e){console.log(e),e.hasOwnProperty("errors")?(c(),Object(i.b)("Authentification échoué.")):(!0===t?(r.a.set("authentication-token",e.data.retrieveAdminAccount.authenticateToken),r.a.set("authentication-user",JSON.stringify(e.data.retrieveAdminAccount))):(r.a.set("authentication-token",e.data.retrieveGuestAccount.authenticateToken),r.a.set("authentication-user",JSON.stringify(e.data.retrieveGuestAccount))),!0===t?a.push("/admin-dashboard"):a.push("/user-dashboard"))})}}function s(e,n,t,c,r,l,s){return function(f){Object(o.c)(e,n,t,c,r,l).then(function(e){return e}).then(function(e){e.hasOwnProperty("errors")?(f({type:a.a.registerFailure}),Object(i.b)("Inscription échoué."),s()):(f({type:a.a.registerSuccess}),s(),window.location.reload(),Object(i.a)("Inscription avec succès."))})}}},Ctgt:function(e,n,t){"use strict";t.r(n);var c=t("q1tI"),r=t.n(c),a=t("17x9"),o=t.n(a),i=t("VCL8");function l(){return(l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function s(e,n){if(null==e)return{};var t,c,r=function(e,n){if(null==e)return{};var t,c,r={},a=Object.keys(e);for(c=0;c<a.length;c++)t=a[c],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(c=0;c<a.length;c++)t=a[c],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function f(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,n){return(m=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var v=t("TSYQ"),d=function(e){function n(e){var t,c,r;!function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),c=this,r=u(n).call(this,e),t=!r||"object"!=typeof r&&"function"!=typeof r?h(c):r,p(h(h(t)),"handleClick",function(e){var n=t.state.checked,c=t.props.onClick,r=!n;t.setChecked(r,e),c&&c(r,e)}),p(h(h(t)),"handleKeyDown",function(e){37===e.keyCode?t.setChecked(!1,e):39===e.keyCode&&t.setChecked(!0,e)}),p(h(h(t)),"handleMouseUp",function(e){var n=t.props.onMouseUp;t.node&&t.node.blur(),n&&n(e)}),p(h(h(t)),"saveNode",function(e){t.node=e});var a=!1;return a="checked"in e?!!e.checked:!!e.defaultChecked,t.state={checked:a},t}var t,a,o;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&m(e,n)}(n,c["Component"]),t=n,o=[{key:"getDerivedStateFromProps",value:function(e){var n={},t=e.checked;return"checked"in e&&(n.checked=!!t),n}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,n=e.autoFocus,t=e.disabled;n&&!t&&this.focus()}},{key:"setChecked",value:function(e,n){var t=this.props,c=t.disabled,r=t.onChange;c||("checked"in this.props||this.setState({checked:e}),r&&r(e,n))}},{key:"focus",value:function(){this.node.focus()}},{key:"blur",value:function(){this.node.blur()}},{key:"render",value:function(){var e,n=this.props,t=n.className,c=n.prefixCls,a=n.disabled,o=n.loadingIcon,i=n.checkedChildren,f=n.unCheckedChildren,u=s(n,["className","prefixCls","disabled","loadingIcon","checkedChildren","unCheckedChildren"]),m=this.state.checked,h=v((p(e={},t,!!t),p(e,c,!0),p(e,"".concat(c,"-checked"),m),p(e,"".concat(c,"-disabled"),a),e));return r.a.createElement("button",l({},u,{type:"button",role:"switch","aria-checked":m,disabled:a,className:h,ref:this.saveNode,onKeyDown:this.handleKeyDown,onClick:this.handleClick,onMouseUp:this.handleMouseUp}),o,r.a.createElement("span",{className:"".concat(c,"-inner")},m?i:f))}}])&&f(t.prototype,a),o&&f(t,o),n}();d.propTypes={className:o.a.string,prefixCls:o.a.string,disabled:o.a.bool,checkedChildren:o.a.any,unCheckedChildren:o.a.any,onChange:o.a.func,onMouseUp:o.a.func,onClick:o.a.func,tabIndex:o.a.number,checked:o.a.bool,defaultChecked:o.a.bool,autoFocus:o.a.bool,loadingIcon:o.a.node},d.defaultProps={prefixCls:"rc-switch",checkedChildren:null,unCheckedChildren:null,className:"",defaultChecked:!1},Object(i.polyfill)(d),n.default=d},IP2g:function(e,n,t){"use strict";(function(e){t.d(n,"a",function(){return b});var c=t("7O5W"),r=t("17x9"),a=t.n(r),o=t("q1tI"),i=t.n(o);function l(e){return(l="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)}function s(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},c=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(c=c.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),c.forEach(function(n){s(e,n,t[n])})}return e}function u(e,n){if(null==e)return{};var t,c,r=function(e,n){if(null==e)return{};var t,c,r={},a=Object.keys(e);for(c=0;c<a.length;c++)t=a[c],n.indexOf(t)>=0||(r[t]=e[t]);return r}(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(c=0;c<a.length;c++)t=a[c],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(r[t]=e[t])}return r}function m(e){return function(e){if(Array.isArray(e)){for(var n=0,t=new Array(e.length);n<e.length;n++)t[n]=e[n];return t}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var h="undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};var p,v=(function(e){var n,t,c,r,a,o,i,l,s,f,u,m,p,v,d;n=h,t=function(e,n,c){if(!l(n)||f(n)||u(n)||m(n)||i(n))return n;var r,a=0,o=0;if(s(n))for(r=[],o=n.length;a<o;a++)r.push(t(e,n[a],c));else for(var h in r={},n)Object.prototype.hasOwnProperty.call(n,h)&&(r[e(h,c)]=t(e,n[h],c));return r},c=function(e){return p(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(e,n){return n?n.toUpperCase():""})).substr(0,1).toLowerCase()+e.substr(1)},r=function(e){var n=c(e);return n.substr(0,1).toUpperCase()+n.substr(1)},a=function(e,n){return function(e,n){var t=(n=n||{}).separator||"_",c=n.split||/(?=[A-Z])/;return e.split(c).join(t)}(e,n).toLowerCase()},o=Object.prototype.toString,i=function(e){return"function"==typeof e},l=function(e){return e===Object(e)},s=function(e){return"[object Array]"==o.call(e)},f=function(e){return"[object Date]"==o.call(e)},u=function(e){return"[object RegExp]"==o.call(e)},m=function(e){return"[object Boolean]"==o.call(e)},p=function(e){return(e-=0)==e},v=function(e,n){var t=n&&"process"in n?n.process:n;return"function"!=typeof t?e:function(n,c){return t(n,e,c)}},d={camelize:c,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(e,n){return t(v(c,n),e)},decamelizeKeys:function(e,n){return t(v(a,n),e,n)},pascalizeKeys:function(e,n){return t(v(r,n),e)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}},e.exports?e.exports=d:n.humps=d}(p={exports:{}},p.exports),p.exports);var d=!1;try{d=!0}catch(C){}function z(e,n){return Array.isArray(n)&&n.length>0||!Array.isArray(n)&&n?s({},e,n):{}}function y(e){return null===e?null:"object"===l(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function b(e){var n=e.icon,t=e.mask,r=e.symbol,a=e.className,o=e.title,i=y(n),l=z("classes",[].concat(m(function(e){var n,t=(s(n={"fa-spin":e.spin,"fa-pulse":e.pulse,"fa-fw":e.fixedWidth,"fa-inverse":e.inverse,"fa-border":e.border,"fa-li":e.listItem,"fa-flip-horizontal":"horizontal"===e.flip||"both"===e.flip,"fa-flip-vertical":"vertical"===e.flip||"both"===e.flip},"fa-".concat(e.size),null!==e.size),s(n,"fa-rotate-".concat(e.rotation),null!==e.rotation),s(n,"fa-pull-".concat(e.pull),null!==e.pull),n);return Object.keys(t).map(function(e){return t[e]?e:null}).filter(function(e){return e})}(e)),m(a.split(" ")))),u=z("transform","string"==typeof e.transform?c.c.transform(e.transform):e.transform),h=z("mask",y(t)),p=Object(c.a)(i,f({},l,u,h,{symbol:r,title:o}));if(!p)return function(){var e;!d&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",i),null;var v=p.abstract,C={};return Object.keys(e).forEach(function(n){b.defaultProps.hasOwnProperty(n)||(C[n]=e[n])}),g(v[0],C)}b.displayName="FontAwesomeIcon",b.propTypes={border:a.a.bool,className:a.a.string,mask:a.a.oneOfType([a.a.object,a.a.array,a.a.string]),fixedWidth:a.a.bool,inverse:a.a.bool,flip:a.a.oneOf(["horizontal","vertical","both"]),icon:a.a.oneOfType([a.a.object,a.a.array,a.a.string]),listItem:a.a.bool,pull:a.a.oneOf(["right","left"]),pulse:a.a.bool,rotation:a.a.oneOf([90,180,270]),size:a.a.oneOf(["lg","xs","sm","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:a.a.bool,symbol:a.a.oneOfType([a.a.bool,a.a.string]),title:a.a.string,transform:a.a.oneOfType([a.a.string,a.a.object])},b.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null};var g=function e(n,t){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof t)return t;var r=(t.children||[]).map(function(t){return e(n,t)}),a=Object.keys(t.attributes||{}).reduce(function(e,n){var c=t.attributes[n];switch(n){case"class":e.attrs.className=c,delete t.attributes.class;break;case"style":e.attrs.style=c.split(";").map(function(e){return e.trim()}).filter(function(e){return e}).reduce(function(e,n){var t,c=n.indexOf(":"),r=v.camelize(n.slice(0,c)),a=n.slice(c+1).trim();return r.startsWith("webkit")?e[(t=r,t.charAt(0).toUpperCase()+t.slice(1))]=a:e[r]=a,e},{});break;default:0===n.indexOf("aria-")||0===n.indexOf("data-")?e.attrs[n.toLowerCase()]=c:e.attrs[v.camelize(n)]=c}return e},{attrs:{}}),o=c.style,i=void 0===o?{}:o,l=u(c,["style"]);return a.attrs.style=f({},a.attrs.style,i),n.apply(void 0,[t.tag,f({},a.attrs,l)].concat(m(r)))}.bind(null,i.a.createElement)}).call(this,t("yLpj"))},URgk:function(e,n,t){(function(e){var c=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;function a(e,n){this._id=e,this._clearFn=n}n.setTimeout=function(){return new a(r.call(setTimeout,c,arguments),clearTimeout)},n.setInterval=function(){return new a(r.call(setInterval,c,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e&&e.close()},a.prototype.unref=a.prototype.ref=function(){},a.prototype.close=function(){this._clearFn.call(c,this._id)},n.enroll=function(e,n){clearTimeout(e._idleTimeoutId),e._idleTimeout=n},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var n=e._idleTimeout;n>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},n))},t("YBdB"),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,t("yLpj"))},WrI5:function(e,n,t){"use strict";t.r(n);var c=t("q1tI"),r=t.n(c),a=t("5rEg"),o=t("CtXQ"),i=t("17x9"),l=t("XIdC"),s=t.n(l),f=t("TSYQ"),u=t.n(f),m=t("BGR+"),h=t("g0mS"),p=t("wEI+");function v(e){return(v="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)}function d(){return(d=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}function z(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function y(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function b(e,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(e,n){return(C=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var w=function(e){function n(){var e;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),(e=b(this,g(n).apply(this,arguments))).saveSwitch=function(n){e.rcSwitch=n},e.renderSwitch=function(n){var t,r=n.getPrefixCls,a=e.props,i=a.prefixCls,l=a.size,f=a.loading,p=a.className,v=void 0===p?"":p,y=a.disabled,b=r("switch",i),g=u()(v,(z(t={},"".concat(b,"-small"),"small"===l),z(t,"".concat(b,"-loading"),f),t)),C=f?c.createElement(o.a,{type:"loading",className:"".concat(b,"-loading-icon")}):null;return c.createElement(h.a,{insertExtraNode:!0},c.createElement(s.a,d({},Object(m.a)(e.props,["loading"]),{prefixCls:b,className:g,disabled:y||f,ref:e.saveSwitch,loadingIcon:C})))},e}var t,r,a;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&C(e,n)}(n,c["Component"]),t=n,(r=[{key:"focus",value:function(){this.rcSwitch.focus()}},{key:"blur",value:function(){this.rcSwitch.blur()}},{key:"render",value:function(){return c.createElement(p.a,null,this.renderSwitch)}}])&&y(t.prototype,r),a&&y(t,a),n}();w.propTypes={prefixCls:i.string,size:i.oneOf(["small","default","large"]),className:i.string};var x=t("2/Rp"),M=t("7O5W"),S=t("IP2g"),k=t("twK/"),H=t("/MKj"),N=t("nOHt"),O=t.n(N),V=t("97z3"),E=t("6dKc");t("o9iy");function _(e){return(_="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)}function j(e,n){for(var t=0;t<n.length;t++){var c=n[t];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(e,c.key,c)}}function L(e){return(L=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A(e,n){return(A=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}var T=function(e){function n(e){var t,c,r;return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,n),c=this,(t=!(r=L(n).call(this,e))||"object"!==_(r)&&"function"!=typeof r?P(c):r).state={email:"",password:"",disabled:!1},t.onChangeEmail=t.onChangeEmail.bind(P(t)),t.onChangePassword=t.onChangePassword.bind(P(t)),t.onIntentLogin=t.onIntentLogin.bind(P(t)),t.onResetButton=t.onResetButton.bind(P(t)),t}var t,i,l;return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&A(e,n)}(n,c["Component"]),t=n,(i=[{key:"componentDidMount",value:function(){M.b.add(k.b,k.a)}},{key:"onChangeEmail",value:function(e){this.setState({email:e.target.value})}},{key:"onChangePassword",value:function(e){this.setState({password:e.target.value})}},{key:"onResetButton",value:function(){this.setState({disabled:!1})}},{key:"onIntentLogin",value:function(){this.setState({disabled:!0}),(0,this.props.dispatch)(Object(V.a)(this.state.email,this.state.password,!0,this.onResetButton,O.a))}},{key:"render",value:function(){return r.a.createElement(r.a.Fragment,null,r.a.createElement(E.a,{title:"Muscle Feed | Administrateur",description:"Boutique en ligne de compléments alimentaires et de protéines pour la musculation à prix cassé. Le meilleur de la construction musculaire : proteines, gainer, bcaa, bruleur de graisses, booster."}),r.a.createElement("div",{className:"container admin-account-entry"},r.a.createElement("div",{className:"row justify-content-center align-items-center py-5"},r.a.createElement("div",{className:"col-6 col-md-3 text-center col-sm-12 col-xs-12 admin-login-box"},r.a.createElement(a.a,{prefix:r.a.createElement(o.a,{type:"user",style:{color:"rgba(0,0,0,.25)"}}),placeholder:"E-mail",className:"input-login",onChange:this.onChangeEmail}),r.a.createElement(a.a.Password,{prefix:r.a.createElement(o.a,{type:"lock",style:{color:"rgba(0,0,0,.25)"}}),placeholder:"Mot de passe",className:"mt-1 input-login",onChange:this.onChangePassword}),r.a.createElement("div",{className:"d-flex flex-row justify-content-space-between mt-2 p-0"},r.a.createElement("div",{className:"col-8 d-flex flex-row justify-content-start remember-switch"},r.a.createElement(w,{size:"small",defaultChecked:!0})," ",r.a.createElement("p",{className:"remember-text"},"Rester Connecté ?")),r.a.createElement("div",{className:"col-4"},r.a.createElement(x.a,{type:"primary",className:"ml-0 admin-login-button px-2",disabled:this.state.disabled,onClick:this.onIntentLogin},r.a.createElement("p",{className:"admin-login-text"},"Se connecter  ",r.a.createElement(S.a,{icon:k.a})))))))))}}])&&j(t.prototype,i),l&&j(t,l),n}();var I=Object(H.b)(function(e){return e})(T);n.default=I},XIdC:function(e,n,t){e.exports=t("Ctgt")},YBdB:function(e,n,t){(function(e,n){!function(e,t){"use strict";if(!e.setImmediate){var c,r,a,o,i,l=1,s={},f=!1,u=e.document,m=Object.getPrototypeOf&&Object.getPrototypeOf(e);m=m&&m.setTimeout?m:e,"[object process]"==={}.toString.call(e.process)?c=function(e){n.nextTick(function(){p(e)})}:!function(){if(e.postMessage&&!e.importScripts){var n=!0,t=e.onmessage;return e.onmessage=function(){n=!1},e.postMessage("","*"),e.onmessage=t,n}}()?e.MessageChannel?((a=new MessageChannel).port1.onmessage=function(e){p(e.data)},c=function(e){a.port2.postMessage(e)}):u&&"onreadystatechange"in u.createElement("script")?(r=u.documentElement,c=function(e){var n=u.createElement("script");n.onreadystatechange=function(){p(e),n.onreadystatechange=null,r.removeChild(n),n=null},r.appendChild(n)}):c=function(e){setTimeout(p,0,e)}:(o="setImmediate$"+Math.random()+"$",i=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(o)&&p(+n.data.slice(o.length))},e.addEventListener?e.addEventListener("message",i,!1):e.attachEvent("onmessage",i),c=function(n){e.postMessage(o+n,"*")}),m.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var n=new Array(arguments.length-1),t=0;t<n.length;t++)n[t]=arguments[t+1];var r={callback:e,args:n};return s[l]=r,c(l),l++},m.clearImmediate=h}function h(e){delete s[e]}function p(e){if(f)setTimeout(p,0,e);else{var n=s[e];if(n){f=!0;try{!function(e){var n=e.callback,c=e.args;switch(c.length){case 0:n();break;case 1:n(c[0]);break;case 2:n(c[0],c[1]);break;case 3:n(c[0],c[1],c[2]);break;default:n.apply(t,c)}}(n)}finally{h(e),f=!1}}}}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,t("yLpj"),t("8oxB"))},cOit:function(e,n,t){"use strict";var c=t("q1tI"),r=t.n(c),a=t("jo6Y"),o=t.n(a),i=t("YEIV"),l=t.n(i),s=t("QbLZ"),f=t.n(s),u=t("iCc5"),m=t.n(u),h=t("V7oC"),p=t.n(h),v=t("FYw3"),d=t.n(v),z=t("mRg0"),y=t.n(z),b=t("17x9"),g=t.n(b),C=t("i8i4"),w=t.n(C),x=t("MFj2"),M=t("2GS6"),S=t("TSYQ"),k=t.n(S),H=function(e){function n(){var e,t,c,r;m()(this,n);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return t=c=d()(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(o))),c.close=function(e){e&&e.stopPropagation(),c.clearCloseTimer(),c.props.onClose()},c.startCloseTimer=function(){c.props.duration&&(c.closeTimer=setTimeout(function(){c.close()},1e3*c.props.duration))},c.clearCloseTimer=function(){c.closeTimer&&(clearTimeout(c.closeTimer),c.closeTimer=null)},r=t,d()(c,r)}return y()(n,e),p()(n,[{key:"componentDidMount",value:function(){this.startCloseTimer()}},{key:"componentDidUpdate",value:function(e){(this.props.duration!==e.duration||this.props.update)&&this.restartCloseTimer()}},{key:"componentWillUnmount",value:function(){this.clearCloseTimer()}},{key:"restartCloseTimer",value:function(){this.clearCloseTimer(),this.startCloseTimer()}},{key:"render",value:function(){var e,n=this.props,t=n.prefixCls+"-notice",c=(e={},l()(e,""+t,1),l()(e,t+"-closable",n.closable),l()(e,n.className,!!n.className),e);return r.a.createElement("div",{className:k()(c),style:n.style,onMouseEnter:this.clearCloseTimer,onMouseLeave:this.startCloseTimer,onClick:n.onClick},r.a.createElement("div",{className:t+"-content"},n.children),n.closable?r.a.createElement("a",{tabIndex:"0",onClick:this.close,className:t+"-close"},n.closeIcon||r.a.createElement("span",{className:t+"-close-x"})):null)}}]),n}(c.Component);H.propTypes={duration:g.a.number,onClose:g.a.func,children:g.a.any,update:g.a.bool,closeIcon:g.a.node},H.defaultProps={onEnd:function(){},onClose:function(){},duration:1.5,style:{right:"50%"}};var N=H,O=0,V=Date.now();var E=function(e){function n(){var e,t,c,r;m()(this,n);for(var a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];return t=c=d()(this,(e=n.__proto__||Object.getPrototypeOf(n)).call.apply(e,[this].concat(o))),c.state={notices:[]},c.add=function(e){var n=e.key=e.key||"rcNotification_"+V+"_"+O++,t=c.props.maxCount;c.setState(function(c){var r=c.notices,a=r.map(function(e){return e.key}).indexOf(n),o=r.concat();return-1!==a?o.splice(a,1,e):(t&&r.length>=t&&(e.updateKey=o[0].updateKey||o[0].key,o.shift()),o.push(e)),{notices:o}})},c.remove=function(e){c.setState(function(n){return{notices:n.notices.filter(function(n){return n.key!==e})}})},r=t,d()(c,r)}return y()(n,e),p()(n,[{key:"getTransitionName",value:function(){var e=this.props,n=e.transitionName;return!n&&e.animation&&(n=e.prefixCls+"-"+e.animation),n}},{key:"render",value:function(){var e,n=this,t=this.props,c=this.state.notices,a=c.map(function(e,a){var o=Boolean(a===c.length-1&&e.updateKey),i=e.updateKey?e.updateKey:e.key,l=Object(M.a)(n.remove.bind(n,e.key),e.onClose);return r.a.createElement(N,f()({prefixCls:t.prefixCls},e,{key:i,update:o,onClose:l,onClick:e.onClick,closeIcon:t.closeIcon}),e.content)}),o=(e={},l()(e,t.prefixCls,1),l()(e,t.className,!!t.className),e);return r.a.createElement("div",{className:k()(o),style:t.style},r.a.createElement(x.a,{transitionName:this.getTransitionName()},a))}}]),n}(c.Component);E.propTypes={prefixCls:g.a.string,transitionName:g.a.string,animation:g.a.oneOfType([g.a.string,g.a.object]),style:g.a.object,maxCount:g.a.number,closeIcon:g.a.node},E.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},E.newInstance=function(e,n){var t=e||{},c=t.getContainer,a=o()(t,["getContainer"]),i=document.createElement("div");c?c().appendChild(i):document.body.appendChild(i);var l=!1;w.a.render(r.a.createElement(E,f()({},a,{ref:function(e){l||(l=!0,n({notice:function(n){e.add(n)},removeNotice:function(n){e.remove(n)},component:e,destroy:function(){w.a.unmountComponentAtNode(i),i.parentNode.removeChild(i)}}))}})),i)};var _=E,j=t("CtXQ");function L(){return(L=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(e[c]=t[c])}return e}).apply(this,arguments)}var P,A={},T=4.5,I=24,F=24,R="topRight";function B(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:I,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:F;switch(e){case"topLeft":n={left:0,top:t,bottom:"auto"};break;case"topRight":n={right:0,top:t,bottom:"auto"};break;case"bottomLeft":n={left:0,top:"auto",bottom:c};break;default:n={right:0,top:"auto",bottom:c}}return n}var D={success:"check-circle-o",info:"info-circle-o",error:"close-circle-o",warning:"exclamation-circle-o"};var q={open:function(e){var n=e.prefixCls||"ant-notification",t="".concat(n,"-notice"),r=void 0===e.duration?T:e.duration,a=null;if(e.icon)a=c.createElement("span",{className:"".concat(t,"-icon")},e.icon);else if(e.type){var o=D[e.type];a=c.createElement(j.a,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(e.type),type:o})}var i=!e.description&&a?c.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;!function(e,n){var t=e.prefixCls,r=e.placement,a=void 0===r?R:r,o=e.getContainer,i=void 0===o?P:o,l=e.top,s=e.bottom,f="".concat(t,"-").concat(a);A[f]?n(A[f]):_.newInstance({prefixCls:t,className:"".concat(t,"-").concat(a),style:B(a,l,s),getContainer:i,closeIcon:c.createElement(j.a,{className:"".concat(t,"-close-icon"),type:"close"})},function(e){A[f]=e,n(e)})}({prefixCls:n,placement:e.placement,top:e.top,bottom:e.bottom,getContainer:e.getContainer},function(n){n.notice({content:c.createElement("div",{className:a?"".concat(t,"-with-icon"):""},a,c.createElement("div",{className:"".concat(t,"-message")},i,e.message),c.createElement("div",{className:"".concat(t,"-description")},e.description),e.btn?c.createElement("span",{className:"".concat(t,"-btn")},e.btn):null),duration:r,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},className:e.className})})},close:function(e){Object.keys(A).forEach(function(n){return A[n].removeNotice(e)})},config:function(e){var n=e.duration,t=e.placement,c=e.bottom,r=e.top,a=e.getContainer;void 0!==n&&(T=n),void 0!==t&&(R=t),void 0!==c&&(F=c),void 0!==r&&(I=r),void 0!==a&&(P=a)},destroy:function(){Object.keys(A).forEach(function(e){A[e].destroy(),delete A[e]})}};["success","info","warning","error"].forEach(function(e){q[e]=function(n){return q.open(L({},n,{type:e}))}}),q.warn=q.warning;var W=q;t("o9iy");function K(e){W.open({message:r.a.createElement("span",{className:"error-text-login"},e),icon:r.a.createElement(j.a,{type:"warning",style:{color:"#108ee9"},className:"error-icon-login"}),className:"notification-warning-toast"})}function U(e){W.open({message:r.a.createElement("span",{className:"error-text-login"},e),icon:r.a.createElement(j.a,{type:"check-circle",style:{color:"#108ee9"},className:"error-icon-login"}),className:"notification-warning-toast"})}t.d(n,"b",function(){return K}),t.d(n,"a",function(){return U})},cRSR:function(e,n,t){"use strict";t.d(n,"a",function(){return c});var c={authenticationFailure:"authenticationFailure",authenticationSuccess:"authenticationSuccess",authenticationRequest:"authenticationSuccess",registerFailure:"registerFailure",registerSuccess:"registerSuccess",registerRequest:"registerRequest"}},"twK/":function(e,n,t){"use strict";t.d(n,"b",function(){return r}),t.d(n,"a",function(){return c});var c={prefix:"far",iconName:"paper-plane",icon:[512,512,[],"f1d8","M440 6.5L24 246.4c-34.4 19.9-31.1 70.8 5.7 85.9L144 379.6V464c0 46.4 59.2 65.5 86.6 28.6l43.8-59.1 111.9 46.2c5.9 2.4 12.1 3.6 18.3 3.6 8.2 0 16.3-2.1 23.6-6.2 12.8-7.2 21.6-20 23.9-34.5l59.4-387.2c6.1-40.1-36.9-68.8-71.5-48.9zM192 464v-64.6l36.6 15.1L192 464zm212.6-28.7l-153.8-63.5L391 169.5c10.7-15.5-9.5-33.5-23.7-21.2L155.8 332.6 48 288 464 48l-59.4 387.3z"]},r={faAddressBook:{prefix:"far",iconName:"address-book",icon:[448,512,[],"f2b9","M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"]},faAddressCard:{prefix:"far",iconName:"address-card",icon:[576,512,[],"f2bb","M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"]},faAngry:{prefix:"far",iconName:"angry",icon:[496,512,[],"f556","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"]},faArrowAltCircleDown:{prefix:"far",iconName:"arrow-alt-circle-down",icon:[512,512,[],"f358","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"]},faArrowAltCircleLeft:{prefix:"far",iconName:"arrow-alt-circle-left",icon:[512,512,[],"f359","M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"]},faArrowAltCircleRight:{prefix:"far",iconName:"arrow-alt-circle-right",icon:[512,512,[],"f35a","M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"]},faArrowAltCircleUp:{prefix:"far",iconName:"arrow-alt-circle-up",icon:[512,512,[],"f35b","M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"]},faBell:{prefix:"far",iconName:"bell",icon:[448,512,[],"f0f3","M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"]},faBellSlash:{prefix:"far",iconName:"bell-slash",icon:[640,512,[],"f1f6","M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"]},faBookmark:{prefix:"far",iconName:"bookmark",icon:[384,512,[],"f02e","M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"]},faBuilding:{prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},faCalendar:{prefix:"far",iconName:"calendar",icon:[448,512,[],"f133","M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"]},faCalendarAlt:{prefix:"far",iconName:"calendar-alt",icon:[448,512,[],"f073","M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCalendarCheck:{prefix:"far",iconName:"calendar-check",icon:[448,512,[],"f274","M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"]},faCalendarMinus:{prefix:"far",iconName:"calendar-minus",icon:[448,512,[],"f272","M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCalendarPlus:{prefix:"far",iconName:"calendar-plus",icon:[448,512,[],"f271","M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCalendarTimes:{prefix:"far",iconName:"calendar-times",icon:[448,512,[],"f273","M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCaretSquareDown:{prefix:"far",iconName:"caret-square-down",icon:[448,512,[],"f150","M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCaretSquareLeft:{prefix:"far",iconName:"caret-square-left",icon:[448,512,[],"f191","M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCaretSquareRight:{prefix:"far",iconName:"caret-square-right",icon:[448,512,[],"f152","M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faCaretSquareUp:{prefix:"far",iconName:"caret-square-up",icon:[448,512,[],"f151","M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faChartBar:{prefix:"far",iconName:"chart-bar",icon:[512,512,[],"f080","M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"]},faCheckCircle:{prefix:"far",iconName:"check-circle",icon:[512,512,[],"f058","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"]},faCheckSquare:{prefix:"far",iconName:"check-square",icon:[448,512,[],"f14a","M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"]},faCircle:{prefix:"far",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"]},faClipboard:{prefix:"far",iconName:"clipboard",icon:[384,512,[],"f328","M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm144 418c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h42v36c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-36h42c3.3 0 6 2.7 6 6z"]},faClock:{prefix:"far",iconName:"clock",icon:[512,512,[],"f017","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"]},faClone:{prefix:"far",iconName:"clone",icon:[512,512,[],"f24d","M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"]},faClosedCaptioning:{prefix:"far",iconName:"closed-captioning",icon:[512,512,[],"f20a","M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"]},faComment:{prefix:"far",iconName:"comment",icon:[512,512,[],"f075","M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"]},faCommentAlt:{prefix:"far",iconName:"comment-alt",icon:[512,512,[],"f27a","M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"]},faCommentDots:{prefix:"far",iconName:"comment-dots",icon:[512,512,[],"f4ad","M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"]},faComments:{prefix:"far",iconName:"comments",icon:[576,512,[],"f086","M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"]},faCompass:{prefix:"far",iconName:"compass",icon:[496,512,[],"f14e","M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"]},faCopy:{prefix:"far",iconName:"copy",icon:[448,512,[],"f0c5","M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"]},faCopyright:{prefix:"far",iconName:"copyright",icon:[512,512,[],"f1f9","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"]},faCreditCard:{prefix:"far",iconName:"credit-card",icon:[576,512,[],"f09d","M527.9 32H48.1C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48.1 48h479.8c26.6 0 48.1-21.5 48.1-48V80c0-26.5-21.5-48-48.1-48zM54.1 80h467.8c3.3 0 6 2.7 6 6v42H48.1V86c0-3.3 2.7-6 6-6zm467.8 352H54.1c-3.3 0-6-2.7-6-6V256h479.8v170c0 3.3-2.7 6-6 6zM192 332v40c0 6.6-5.4 12-12 12h-72c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h72c6.6 0 12 5.4 12 12zm192 0v40c0 6.6-5.4 12-12 12H236c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h136c6.6 0 12 5.4 12 12z"]},faDizzy:{prefix:"far",iconName:"dizzy",icon:[496,512,[],"f567","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-33.8-217.9c7.8-7.8 7.8-20.5 0-28.3L196.3 192l17.9-17.9c7.8-7.8 7.8-20.5 0-28.3-7.8-7.8-20.5-7.8-28.3 0L168 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.9 7.7 20.5 7.7 28.4-.2zm160-92.2c-7.8-7.8-20.5-7.8-28.3 0L328 163.7l-17.8-17.8c-7.8-7.8-20.5-7.8-28.3 0-7.8 7.8-7.8 20.5 0 28.3l17.9 17.9-17.9 17.9c-7.8 7.8-7.8 20.5 0 28.3 7.8 7.8 20.5 7.8 28.3 0l17.8-17.8 17.8 17.8c7.8 7.8 20.5 7.8 28.3 0 7.8-7.8 7.8-20.5 0-28.3l-17.8-18 17.9-17.9c7.7-7.8 7.7-20.4 0-28.2zM248 272c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64z"]},faDotCircle:{prefix:"far",iconName:"dot-circle",icon:[512,512,[],"f192","M256 56c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m0-48C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 168c-44.183 0-80 35.817-80 80s35.817 80 80 80 80-35.817 80-80-35.817-80-80-80z"]},faEdit:{prefix:"far",iconName:"edit",icon:[576,512,[],"f044","M402.3 344.9l32-32c5-5 13.7-1.5 13.7 5.7V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h273.5c7.1 0 10.7 8.6 5.7 13.7l-32 32c-1.5 1.5-3.5 2.3-5.7 2.3H48v352h352V350.5c0-2.1.8-4.1 2.3-5.6zm156.6-201.8L296.3 405.7l-90.4 10c-26.2 2.9-48.5-19.2-45.6-45.6l10-90.4L432.9 17.1c22.9-22.9 59.9-22.9 82.7 0l43.2 43.2c22.9 22.9 22.9 60 .1 82.8zM460.1 174L402 115.9 216.2 301.8l-7.3 65.3 65.3-7.3L460.1 174zm64.8-79.7l-43.2-43.2c-4.1-4.1-10.8-4.1-14.8 0L436 82l58.1 58.1 30.9-30.9c4-4.2 4-10.8-.1-14.9z"]},faEnvelope:{prefix:"far",iconName:"envelope",icon:[512,512,[],"f0e0","M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm0 48v40.805c-22.422 18.259-58.168 46.651-134.587 106.49-16.841 13.247-50.201 45.072-73.413 44.701-23.208.375-56.579-31.459-73.413-44.701C106.18 199.465 70.425 171.067 48 152.805V112h416zM48 400V214.398c22.914 18.251 55.409 43.862 104.938 82.646 21.857 17.205 60.134 55.186 103.062 54.955 42.717.231 80.509-37.199 103.053-54.947 49.528-38.783 82.032-64.401 104.947-82.653V400H48z"]},faEnvelopeOpen:{prefix:"far",iconName:"envelope-open",icon:[512,512,[],"f2b6","M494.586 164.516c-4.697-3.883-111.723-89.95-135.251-108.657C337.231 38.191 299.437 0 256 0c-43.205 0-80.636 37.717-103.335 55.859-24.463 19.45-131.07 105.195-135.15 108.549A48.004 48.004 0 0 0 0 201.485V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V201.509a48 48 0 0 0-17.414-36.993zM464 458a6 6 0 0 1-6 6H54a6 6 0 0 1-6-6V204.347c0-1.813.816-3.526 2.226-4.665 15.87-12.814 108.793-87.554 132.364-106.293C200.755 78.88 232.398 48 256 48c23.693 0 55.857 31.369 73.41 45.389 23.573 18.741 116.503 93.493 132.366 106.316a5.99 5.99 0 0 1 2.224 4.663V458zm-31.991-187.704c4.249 5.159 3.465 12.795-1.745 16.981-28.975 23.283-59.274 47.597-70.929 56.863C336.636 362.283 299.205 400 256 400c-43.452 0-81.287-38.237-103.335-55.86-11.279-8.967-41.744-33.413-70.927-56.865-5.21-4.187-5.993-11.822-1.745-16.981l15.258-18.528c4.178-5.073 11.657-5.843 16.779-1.726 28.618 23.001 58.566 47.035 70.56 56.571C200.143 320.631 232.307 352 256 352c23.602 0 55.246-30.88 73.41-45.389 11.994-9.535 41.944-33.57 70.563-56.568 5.122-4.116 12.601-3.346 16.778 1.727l15.258 18.526z"]},faEye:{prefix:"far",iconName:"eye",icon:[576,512,[],"f06e","M288 144a110.94 110.94 0 0 0-31.24 5 55.4 55.4 0 0 1 7.24 27 56 56 0 0 1-56 56 55.4 55.4 0 0 1-27-7.24A111.71 111.71 0 1 0 288 144zm284.52 97.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400c-98.65 0-189.09-55-237.93-144C98.91 167 189.34 112 288 112s189.09 55 237.93 144C477.1 345 386.66 400 288 400z"]},faEyeSlash:{prefix:"far",iconName:"eye-slash",icon:[640,512,[],"f070","M634 471L36 3.51A16 16 0 0 0 13.51 6l-10 12.49A16 16 0 0 0 6 41l598 467.49a16 16 0 0 0 22.49-2.49l10-12.49A16 16 0 0 0 634 471zM296.79 146.47l134.79 105.38C429.36 191.91 380.48 144 320 144a112.26 112.26 0 0 0-23.21 2.47zm46.42 219.07L208.42 260.16C210.65 320.09 259.53 368 320 368a113 113 0 0 0 23.21-2.46zM320 112c98.65 0 189.09 55 237.93 144a285.53 285.53 0 0 1-44 60.2l37.74 29.5a333.7 333.7 0 0 0 52.9-75.11 32.35 32.35 0 0 0 0-29.19C550.29 135.59 442.93 64 320 64c-36.7 0-71.71 7-104.63 18.81l46.41 36.29c18.94-4.3 38.34-7.1 58.22-7.1zm0 288c-98.65 0-189.08-55-237.93-144a285.47 285.47 0 0 1 44.05-60.19l-37.74-29.5a333.6 333.6 0 0 0-52.89 75.1 32.35 32.35 0 0 0 0 29.19C89.72 376.41 197.08 448 320 448c36.7 0 71.71-7.05 104.63-18.81l-46.41-36.28C359.28 397.2 339.89 400 320 400z"]},faFile:{prefix:"far",iconName:"file",icon:[384,512,[],"f15b","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48z"]},faFileAlt:{prefix:"far",iconName:"file-alt",icon:[384,512,[],"f15c","M288 248v28c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-28c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm-12 72H108c-6.6 0-12 5.4-12 12v28c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-28c0-6.6-5.4-12-12-12zm108-188.1V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V48C0 21.5 21.5 0 48 0h204.1C264.8 0 277 5.1 286 14.1L369.9 98c9 8.9 14.1 21.2 14.1 33.9zm-128-80V128h76.1L256 51.9zM336 464V176H232c-13.3 0-24-10.7-24-24V48H48v416h288z"]},faFileArchive:{prefix:"far",iconName:"file-archive",icon:[384,512,[],"f1c6","M128.3 160v32h32v-32zm64-96h-32v32h32zm-64 32v32h32V96zm64 32h-32v32h32zm177.6-30.1L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM256 51.9l76.1 76.1H256zM336 464H48V48h79.7v16h32V48H208v104c0 13.3 10.7 24 24 24h104zM194.2 265.7c-1.1-5.6-6-9.7-11.8-9.7h-22.1v-32h-32v32l-19.7 97.1C102 385.6 126.8 416 160 416c33.1 0 57.9-30.2 51.5-62.6zm-33.9 124.4c-17.9 0-32.4-12.1-32.4-27s14.5-27 32.4-27 32.4 12.1 32.4 27-14.5 27-32.4 27zm32-198.1h-32v32h32z"]},faFileAudio:{prefix:"far",iconName:"file-audio",icon:[384,512,[],"f1c7","M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm144-76.024c0 10.691-12.926 16.045-20.485 8.485L136 360.486h-28c-6.627 0-12-5.373-12-12v-56c0-6.627 5.373-12 12-12h28l35.515-36.947c7.56-7.56 20.485-2.206 20.485 8.485v135.952zm41.201-47.13c9.051-9.297 9.06-24.133.001-33.439-22.149-22.752 12.235-56.246 34.395-33.481 27.198 27.94 27.212 72.444.001 100.401-21.793 22.386-56.947-10.315-34.397-33.481z"]},faFileCode:{prefix:"far",iconName:"file-code",icon:[384,512,[],"f1c9","M149.9 349.1l-.2-.2-32.8-28.9 32.8-28.9c3.6-3.2 4-8.8.8-12.4l-.2-.2-17.4-18.6c-3.4-3.6-9-3.7-12.4-.4l-57.7 54.1c-3.7 3.5-3.7 9.4 0 12.8l57.7 54.1c1.6 1.5 3.8 2.4 6 2.4 2.4 0 4.8-1 6.4-2.8l17.4-18.6c3.3-3.5 3.1-9.1-.4-12.4zm220-251.2L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM256 51.9l76.1 76.1H256zM336 464H48V48h160v104c0 13.3 10.7 24 24 24h104zM209.6 214c-4.7-1.4-9.5 1.3-10.9 6L144 408.1c-1.4 4.7 1.3 9.6 6 10.9l24.4 7.1c4.7 1.4 9.6-1.4 10.9-6L240 231.9c1.4-4.7-1.3-9.6-6-10.9zm24.5 76.9l.2.2 32.8 28.9-32.8 28.9c-3.6 3.2-4 8.8-.8 12.4l.2.2 17.4 18.6c3.3 3.5 8.9 3.7 12.4.4l57.7-54.1c3.7-3.5 3.7-9.4 0-12.8l-57.7-54.1c-3.5-3.3-9.1-3.2-12.4.4l-17.4 18.6c-3.3 3.5-3.1 9.1.4 12.4z"]},faFileExcel:{prefix:"far",iconName:"file-excel",icon:[384,512,[],"f1c3","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm212-240h-28.8c-4.4 0-8.4 2.4-10.5 6.3-18 33.1-22.2 42.4-28.6 57.7-13.9-29.1-6.9-17.3-28.6-57.7-2.1-3.9-6.2-6.3-10.6-6.3H124c-9.3 0-15 10-10.4 18l46.3 78-46.3 78c-4.7 8 1.1 18 10.4 18h28.9c4.4 0 8.4-2.4 10.5-6.3 21.7-40 23-45 28.6-57.7 14.9 30.2 5.9 15.9 28.6 57.7 2.1 3.9 6.2 6.3 10.6 6.3H260c9.3 0 15-10 10.4-18L224 320c.7-1.1 30.3-50.5 46.3-78 4.7-8-1.1-18-10.3-18z"]},faFileImage:{prefix:"far",iconName:"file-image",icon:[384,512,[],"f1c5","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm32-48h224V288l-23.5-23.5c-4.7-4.7-12.3-4.7-17 0L176 352l-39.5-39.5c-4.7-4.7-12.3-4.7-17 0L80 352v64zm48-240c-26.5 0-48 21.5-48 48s21.5 48 48 48 48-21.5 48-48-21.5-48-48-48z"]},faFilePdf:{prefix:"far",iconName:"file-pdf",icon:[384,512,[],"f1c1","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm250.2-143.7c-12.2-12-47-8.7-64.4-6.5-17.2-10.5-28.7-25-36.8-46.3 3.9-16.1 10.1-40.6 5.4-56-4.2-26.2-37.8-23.6-42.6-5.9-4.4 16.1-.4 38.5 7 67.1-10 23.9-24.9 56-35.4 74.4-20 10.3-47 26.2-51 46.2-3.3 15.8 26 55.2 76.1-31.2 22.4-7.4 46.8-16.5 68.4-20.1 18.9 10.2 41 17 55.8 17 25.5 0 28-28.2 17.5-38.7zm-198.1 77.8c5.1-13.7 24.5-29.5 30.4-35-19 30.3-30.4 35.7-30.4 35zm81.6-190.6c7.4 0 6.7 32.1 1.8 40.8-4.4-13.9-4.3-40.8-1.8-40.8zm-24.4 136.6c9.7-16.9 18-37 24.7-54.7 8.3 15.1 18.9 27.2 30.1 35.5-20.8 4.3-38.9 13.1-54.8 19.2zm131.6-5s-5 6-37.3-7.8c35.1-2.6 40.9 5.4 37.3 7.8z"]},faFilePowerpoint:{prefix:"far",iconName:"file-powerpoint",icon:[384,512,[],"f1c4","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm72-60V236c0-6.6 5.4-12 12-12h69.2c36.7 0 62.8 27 62.8 66.3 0 74.3-68.7 66.5-95.5 66.5V404c0 6.6-5.4 12-12 12H132c-6.6 0-12-5.4-12-12zm48.5-87.4h23c7.9 0 13.9-2.4 18.1-7.2 8.5-9.8 8.4-28.5.1-37.8-4.1-4.6-9.9-7-17.4-7h-23.9v52z"]},faFileVideo:{prefix:"far",iconName:"file-video",icon:[384,512,[],"f1c8","M369.941 97.941l-83.882-83.882A48 48 0 0 0 252.118 0H48C21.49 0 0 21.49 0 48v416c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V131.882a48 48 0 0 0-14.059-33.941zM332.118 128H256V51.882L332.118 128zM48 464V48h160v104c0 13.255 10.745 24 24 24h104v288H48zm228.687-211.303L224 305.374V268c0-11.046-8.954-20-20-20H100c-11.046 0-20 8.954-20 20v104c0 11.046 8.954 20 20 20h104c11.046 0 20-8.954 20-20v-37.374l52.687 52.674C286.704 397.318 304 390.28 304 375.986V264.011c0-14.311-17.309-21.319-27.313-11.314z"]},faFileWord:{prefix:"far",iconName:"file-word",icon:[384,512,[],"f1c2","M369.9 97.9L286 14C277 5 264.8-.1 252.1-.1H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V131.9c0-12.7-5.1-25-14.1-34zM332.1 128H256V51.9l76.1 76.1zM48 464V48h160v104c0 13.3 10.7 24 24 24h104v288H48zm220.1-208c-5.7 0-10.6 4-11.7 9.5-20.6 97.7-20.4 95.4-21 103.5-.2-1.2-.4-2.6-.7-4.3-.8-5.1.3.2-23.6-99.5-1.3-5.4-6.1-9.2-11.7-9.2h-13.3c-5.5 0-10.3 3.8-11.7 9.1-24.4 99-24 96.2-24.8 103.7-.1-1.1-.2-2.5-.5-4.2-.7-5.2-14.1-73.3-19.1-99-1.1-5.6-6-9.7-11.8-9.7h-16.8c-7.8 0-13.5 7.3-11.7 14.8 8 32.6 26.7 109.5 33.2 136 1.3 5.4 6.1 9.1 11.7 9.1h25.2c5.5 0 10.3-3.7 11.6-9.1l17.9-71.4c1.5-6.2 2.5-12 3-17.3l2.9 17.3c.1.4 12.6 50.5 17.9 71.4 1.3 5.3 6.1 9.1 11.6 9.1h24.7c5.5 0 10.3-3.7 11.6-9.1 20.8-81.9 30.2-119 34.5-136 1.9-7.6-3.8-14.9-11.6-14.9h-15.8z"]},faFlag:{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},faFlushed:{prefix:"far",iconName:"flushed",icon:[496,512,[],"f579","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm96-312c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm-112 24c0-44.2-35.8-80-80-80s-80 35.8-80 80 35.8 80 80 80 80-35.8 80-80zm-80 48c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zm160 144H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"]},faFolder:{prefix:"far",iconName:"folder",icon:[512,512,[],"f07b","M464 128H272l-54.63-54.63c-6-6-14.14-9.37-22.63-9.37H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48zm0 272H48V112h140.12l54.63 54.63c6 6 14.14 9.37 22.63 9.37H464v224z"]},faFolderOpen:{prefix:"far",iconName:"folder-open",icon:[576,512,[],"f07c","M527.9 224H480v-48c0-26.5-21.5-48-48-48H272l-64-64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h400c16.5 0 31.9-8.5 40.7-22.6l79.9-128c20-31.9-3-73.4-40.7-73.4zM48 118c0-3.3 2.7-6 6-6h134.1l64 64H426c3.3 0 6 2.7 6 6v42H152c-16.8 0-32.4 8.8-41.1 23.2L48 351.4zm400 282H72l77.2-128H528z"]},faFontAwesomeLogoFull:{prefix:"far",iconName:"font-awesome-logo-full",icon:[3992,512,["Font Awesome"],"f4e6","M454.6 0H57.4C25.9 0 0 25.9 0 57.4v397.3C0 486.1 25.9 512 57.4 512h397.3c31.4 0 57.4-25.9 57.4-57.4V57.4C512 25.9 486.1 0 454.6 0zm-58.9 324.9c0 4.8-4.1 6.9-8.9 8.9-19.2 8.1-39.7 15.7-61.5 15.7-40.5 0-68.7-44.8-163.2 2.5v51.8c0 30.3-45.7 30.2-45.7 0v-250c-9-7-15-17.9-15-30.3 0-21 17.1-38.2 38.2-38.2 21 0 38.2 17.1 38.2 38.2 0 12.2-5.8 23.2-14.9 30.2v21c37.1-12 65.5-34.4 146.1-3.4 26.6 11.4 68.7-15.7 76.5-15.7 5.5 0 10.3 4.1 10.3 8.9v160.4zm432.9-174.2h-137v70.1H825c39.8 0 40.4 62.2 0 62.2H691.6v105.6c0 45.5-70.7 46.4-70.7 0V128.3c0-22 18-39.8 39.8-39.8h167.8c39.6 0 40.5 62.2.1 62.2zm191.1 23.4c-169.3 0-169.1 252.4 0 252.4 169.9 0 169.9-252.4 0-252.4zm0 196.1c-81.6 0-82.1-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm372.4 53.4c-17.5 0-31.4-13.9-31.4-31.4v-117c0-62.4-72.6-52.5-99.1-16.4v133.4c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c43.3-51.6 162.4-60.4 162.4 39.3v141.5c.3 30.4-31.5 31.4-31.7 31.4zm179.7 2.9c-44.3 0-68.3-22.9-68.3-65.8V235.2H1488c-35.6 0-36.7-55.3 0-55.3h15.5v-37.3c0-41.3 63.8-42.1 63.8 0v37.5h24.9c35.4 0 35.7 55.3 0 55.3h-24.9v108.5c0 29.6 26.1 26.3 27.4 26.3 31.4 0 52.6 56.3-22.9 56.3zM1992 123c-19.5-50.2-95.5-50-114.5 0-107.3 275.7-99.5 252.7-99.5 262.8 0 42.8 58.3 51.2 72.1 14.4l13.5-35.9H2006l13 35.9c14.2 37.7 72.1 27.2 72.1-14.4 0-10.1 5.3 6.8-99.1-262.8zm-108.9 179.1l51.7-142.9 51.8 142.9h-103.5zm591.3-85.6l-53.7 176.3c-12.4 41.2-72 41-84 0l-42.3-135.9-42.3 135.9c-12.4 40.9-72 41.2-84.5 0l-54.2-176.3c-12.5-39.4 49.8-56.1 60.2-16.9L2213 342l45.3-139.5c10.9-32.7 59.6-34.7 71.2 0l45.3 139.5 39.3-142.4c10.3-38.3 72.6-23.8 60.3 16.9zm275.4 75.1c0-42.4-33.9-117.5-119.5-117.5-73.2 0-124.4 56.3-124.4 126 0 77.2 55.3 126.4 128.5 126.4 31.7 0 93-11.5 93-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-109 8.4-115.9-43.8h148.3c16.3 0 29.3-13.4 29.3-28.9zM2571 277.7c9.5-73.4 113.9-68.6 118.6 0H2571zm316.7 148.8c-31.4 0-81.6-10.5-96.6-31.9-12.4-17 2.5-39.8 21.8-39.8 16.3 0 36.8 22.9 77.7 22.9 27.4 0 40.4-11 40.4-25.8 0-39.8-142.9-7.4-142.9-102 0-40.4 35.3-75.7 98.6-75.7 31.4 0 74.1 9.9 87.6 29.4 10.8 14.8-1.4 36.2-20.9 36.2-15.1 0-26.7-17.3-66.2-17.3-22.9 0-37.8 10.5-37.8 23.8 0 35.9 142.4 6 142.4 103.1-.1 43.7-37.4 77.1-104.1 77.1zm266.8-252.4c-169.3 0-169.1 252.4 0 252.4 170.1 0 169.6-252.4 0-252.4zm0 196.1c-81.8 0-82-139.8 0-139.8 82.5 0 82.4 139.8 0 139.8zm476.9 22V268.7c0-53.8-61.4-45.8-85.7-10.5v134c0 41.3-63.8 42.1-63.8 0V268.7c0-52.1-59.5-47.4-85.7-10.1v133.6c0 41.5-63.3 41.8-63.3 0V208c0-40 63.1-41.6 63.1 0v3.4c9.9-14.4 41.8-37.3 78.6-37.3 35.3 0 57.7 16.4 66.7 43.8 13.9-21.8 45.8-43.8 82.6-43.8 44.3 0 70.7 23.4 70.7 72.7v145.3c.5 17.3-13.5 31.4-31.9 31.4 3.5.1-31.3 1.1-31.3-31.3zM3992 291.6c0-42.4-32.4-117.5-117.9-117.5-73.2 0-127.5 56.3-127.5 126 0 77.2 58.3 126.4 131.6 126.4 31.7 0 91.5-11.5 91.5-39.8 0-18.3-21.1-31.5-39.3-22.4-49.4 26.2-110.5 8.4-117.5-43.8h149.8c16.3 0 29.1-13.4 29.3-28.9zm-180.5-13.9c9.7-74.4 115.9-68.3 120.1 0h-120.1z"]},faFrown:{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},faFrownOpen:{prefix:"far",iconName:"frown-open",icon:[496,512,[],"f57a","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-48-248c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 112c-35.6 0-88.8 21.3-95.8 61.2-2 11.8 9 21.5 20.5 18.1 31.2-9.6 59.4-15.3 75.3-15.3s44.1 5.7 75.3 15.3c11.4 3.5 22.5-6.3 20.5-18.1-7-39.9-60.2-61.2-95.8-61.2z"]},faFutbol:{prefix:"far",iconName:"futbol",icon:[496,512,[],"f1e3","M483.8 179.4C449.8 74.6 352.6 8 248.1 8c-25.4 0-51.2 3.9-76.7 12.2C41.2 62.5-30.1 202.4 12.2 332.6 46.2 437.4 143.4 504 247.9 504c25.4 0 51.2-3.9 76.7-12.2 130.2-42.3 201.5-182.2 159.2-312.4zm-74.5 193.7l-52.2 6.4-43.7-60.9 24.4-75.2 71.1-22.1 38.9 36.4c-.2 30.7-7.4 61.1-21.7 89.2-4.7 9.3-10.7 17.8-16.8 26.2zm0-235.4l-10.4 53.1-70.7 22-64.2-46.5V92.5l47.4-26.2c39.2 13 73.4 38 97.9 71.4zM184.9 66.4L232 92.5v73.8l-64.2 46.5-70.6-22-10.1-52.5c24.3-33.4 57.9-58.6 97.8-71.9zM139 379.5L85.9 373c-14.4-20.1-37.3-59.6-37.8-115.3l39-36.4 71.1 22.2 24.3 74.3-43.5 61.7zm48.2 67l-22.4-48.1 43.6-61.7H287l44.3 61.7-22.4 48.1c-6.2 1.8-57.6 20.4-121.7 0z"]},faGem:{prefix:"far",iconName:"gem",icon:[576,512,[],"f3a5","M464 0H112c-4 0-7.8 2-10 5.4L2 152.6c-2.9 4.4-2.6 10.2.7 14.2l276 340.8c4.8 5.9 13.8 5.9 18.6 0l276-340.8c3.3-4.1 3.6-9.8.7-14.2L474.1 5.4C471.8 2 468.1 0 464 0zm-19.3 48l63.3 96h-68.4l-51.7-96h56.8zm-202.1 0h90.7l51.7 96H191l51.6-96zm-111.3 0h56.8l-51.7 96H68l63.3-96zm-43 144h51.4L208 352 88.3 192zm102.9 0h193.6L288 435.3 191.2 192zM368 352l68.2-160h51.4L368 352z"]},faGrimace:{prefix:"far",iconName:"grimace",icon:[496,512,[],"f57f","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm16 16H152c-26.5 0-48 21.5-48 48v32c0 26.5 21.5 48 48 48h192c26.5 0 48-21.5 48-48v-32c0-26.5-21.5-48-48-48zm-168 96h-24c-8.8 0-16-7.2-16-16v-8h40v24zm0-40h-40v-8c0-8.8 7.2-16 16-16h24v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm64 40h-48v-24h48v24zm0-40h-48v-24h48v24zm56 24c0 8.8-7.2 16-16 16h-24v-24h40v8zm0-24h-40v-24h24c8.8 0 16 7.2 16 16v8z"]},faGrin:{prefix:"far",iconName:"grin",icon:[496,512,[],"f580","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32z"]},faGrinAlt:{prefix:"far",iconName:"grin-alt",icon:[496,512,[],"f581","M200.3 248c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zm128 0c12.4-18.7 15.1-37.3 15.7-56-.5-18.7-3.3-37.3-15.7-56-8-12-25.1-11.4-32.7 0-12.4 18.7-15.1 37.3-15.7 56 .5 18.7 3.3 37.3 15.7 56 8.1 12 25.2 11.4 32.7 0zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3z"]},faGrinBeam:{prefix:"far",iconName:"grin-beam",icon:[496,512,[],"f582","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-235.9-72.9c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3zm160 0c3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3z"]},faGrinBeamSweat:{prefix:"far",iconName:"grin-beam-sweat",icon:[496,512,[],"f583","M440 160c29.5 0 53.3-26.3 53.3-58.7 0-25-31.7-75.5-46.2-97.3-3.6-5.3-10.7-5.3-14.2 0-14.5 21.8-46.2 72.3-46.2 97.3 0 32.4 23.8 58.7 53.3 58.7zM248 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zm105.3-52.9c-24.6 15.7-46 12.9-46.4 12.9 6.9 20.2 10.8 41.8 10.8 64.3 0 110.3-89.7 200-200 200S48 366.3 48 256 137.7 56 248 56c39.8 0 76.8 11.8 108 31.9 1.7-9.5 6.3-24.1 17.2-45.7C336.4 20.6 293.7 8 248 8 111 8 0 119 0 256s111 248 248 248 248-111 248-248c0-27-4.4-52.9-12.4-77.2zM168 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"]},faGrinHearts:{prefix:"far",iconName:"grin-hearts",icon:[496,512,[],"f584","M353.6 304.6c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-152.8-48.9c4.5 1.2 9.2-1.5 10.5-6l19.4-69.9c5.6-20.3-7.4-41.1-28.8-44.5-18.6-3-36.4 9.8-41.5 27.9l-2 7.1-7.1-1.9c-18.2-4.7-38.2 4.3-44.9 22-7.7 20.2 3.8 41.9 24.2 47.2l70.2 18.1zm188.8-65.3c-6.7-17.6-26.7-26.7-44.9-22l-7.1 1.9-2-7.1c-5-18.1-22.8-30.9-41.5-27.9-21.4 3.4-34.4 24.2-28.8 44.5l19.4 69.9c1.2 4.5 5.9 7.2 10.5 6l70.2-18.2c20.4-5.3 31.9-26.9 24.2-47.1zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200z"]},faGrinSquint:{prefix:"far",iconName:"grin-squint",icon:[496,512,[],"f585","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.4-17.7 15.3 7.9 47.1 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-234.7-40.8c3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3l-80-48c-5.1-3-11.4-1.9-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11.1.1 15.5zm242.9 2.5c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11-.1-15.5-3.8-4.4-10.2-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48z"]},faGrinSquintTears:{prefix:"far",iconName:"grin-squint-tears",icon:[512,512,[],"f586","M117.1 384.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 479 124.3 420.8 128 395c.8-6.4-4.6-11.8-10.9-10.9zm-41.2-41.7C40.3 268 53 176.1 114.6 114.6 152.4 76.8 202.6 56 256 56c36.2 0 70.8 9.8 101.2 27.7 3.8-20.3 8-36.1 12-48.3C333.8 17.2 294.9 8 256 8 192.5 8 129.1 32.2 80.6 80.6c-74.1 74.1-91.3 183.4-52 274 12.2-4.1 27.7-8.3 47.3-12.2zm352.3-187.6c45 76.6 34.9 176.9-30.8 242.6-37.8 37.8-88 58.6-141.4 58.6-30.5 0-59.8-7-86.4-19.8-3.9 19.5-8 35-12.2 47.2 31.4 13.6 65 20.6 98.7 20.6 63.5 0 126.9-24.2 175.4-72.6 78.1-78.1 93.1-195.4 45.2-288.6-12.3 4-28.2 8.1-48.5 12zm-33.3-26.9c25.8-3.7 84-13.7 100.9-30.6 21.9-21.9 21.5-57.9-.9-80.3s-58.3-22.8-80.3-.9C397.7 33 387.7 91.2 384 117c-.8 6.4 4.6 11.8 10.9 10.9zm-187 108.3c-3-3-7.2-4.2-11.4-3.2L106 255.7c-5.7 1.4-9.5 6.7-9.1 12.6.5 5.8 5.1 10.5 10.9 11l52.3 4.8 4.8 52.3c.5 5.8 5.2 10.4 11 10.9h.9c5.5 0 10.3-3.7 11.7-9.1l22.6-90.5c1-4.2-.2-8.5-3.2-11.5zm39.7-25.1l90.5-22.6c5.7-1.4 9.5-6.7 9.1-12.6-.5-5.8-5.1-10.5-10.9-11l-52.3-4.8-4.8-52.3c-.5-5.8-5.2-10.4-11-10.9-5.6-.1-11.2 3.4-12.6 9.1L233 196.5c-1 4.1.2 8.4 3.2 11.4 5 5 11.3 3.2 11.4 3.2zm52 88.5c-29.1 29.1-59.7 52.9-83.9 65.4-9.2 4.8-10 17.5-1.7 23.4 38.9 27.7 107 6.2 143.7-30.6S416 253 388.3 214.1c-5.8-8.2-18.5-7.6-23.4 1.7-12.3 24.2-36.2 54.7-65.3 83.8z"]},faGrinStars:{prefix:"far",iconName:"grin-stars",icon:[496,512,[],"f587","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm105.6-151.4c-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 7.9 47.2 71.3 80 123.3 80s115.3-32.9 123.3-80c1.6-9.8-7.7-18.4-17.7-15.3zm-227.9-57.5c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.5 1.9-12.2-4.3-13.2l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6.1 34.9zm259.7-72.7l-34.9-5-15.5-31.6c-2.9-5.8-11-5.8-13.9 0l-15.5 31.6-34.9 5c-6.2.9-8.9 8.6-4.3 13.2l25.4 24.6-6 34.9c-1 6.2 5.4 11 11 7.9l31.3-16.3 31.3 16.3c5.6 3.1 12-1.7 11-7.9l-6-34.9 25.4-24.6c4.5-4.6 1.8-12.2-4.4-13.2z"]},faGrinTears:{prefix:"far",iconName:"grin-tears",icon:[640,512,[],"f588","M117.1 256.1c-25.8 3.7-84 13.7-100.9 30.6-21.9 21.9-21.5 57.9.9 80.3s58.3 22.8 80.3.9C114.3 351 124.3 292.8 128 267c.8-6.4-4.6-11.8-10.9-10.9zm506.7 30.6c-16.9-16.9-75.1-26.9-100.9-30.6-6.3-.9-11.7 4.5-10.8 10.8 3.7 25.8 13.7 84 30.6 100.9 21.9 21.9 57.9 21.5 80.3-.9 22.3-22.3 22.7-58.3.8-80.2zm-126.6 61.7C463.8 412.3 396.9 456 320 456c-76.9 0-143.8-43.7-177.2-107.6-12.5 37.4-25.2 43.9-28.3 46.5C159.1 460.7 234.5 504 320 504s160.9-43.3 205.5-109.1c-3.2-2.7-15.9-9.2-28.3-46.5zM122.7 224.5C137.9 129.2 220.5 56 320 56c99.5 0 182.1 73.2 197.3 168.5 2.1-.2 5.2-2.4 49.5 7C554.4 106 448.7 8 320 8S85.6 106 73.2 231.4c44.5-9.4 47.1-7.2 49.5-6.9zM320 400c51.9 0 115.3-32.9 123.3-80 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.8-3.1-19.4 5.3-17.7 15.3 8 47.1 71.4 80 123.3 80zm130.3-168.3c3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.6 6.2 4.6 9.3 3.7zM240 189.4c12.3 0 23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.8 19.2-21.6 31.5-21.6z"]},faGrinTongue:{prefix:"far",iconName:"grin-tongue",icon:[496,512,[],"f589","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zM168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"]},faGrinTongueSquint:{prefix:"far",iconName:"grin-tongue-squint",icon:[496,512,[],"f58a","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3zm36.9-281.1c-3.8-4.4-10.3-5.5-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.7 1.7 15.3-2.5 3.8-4.5 3.8-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zm-162.9 45.5l-80-48c-5-3-11.4-2-15.3 2.5-3.8 4.5-3.8 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.6 4.2 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3s-2.2-8.1-5.8-10.3z"]},faGrinTongueWink:{prefix:"far",iconName:"grin-tongue-wink",icon:[496,512,[],"f58b","M152 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm176-52c-44.2 0-80 35.8-80 80s35.8 80 80 80 80-35.8 80-80-35.8-80-80-80zm0 128c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-72c-13.3 0-24 10.7-24 24s10.7 24 24 24 24-10.7 24-24-10.7-24-24-24zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm64 400c0 35.6-29.1 64.5-64.9 64-35.1-.5-63.1-29.8-63.1-65v-42.8l17.7-8.8c15-7.5 31.5 1.7 34.9 16.5l2.8 12.1c2.1 9.2 15.2 9.2 17.3 0l2.8-12.1c3.4-14.8 19.8-24.1 34.9-16.5l17.7 8.8V408zm28.2 25.3c2.2-8.1 3.8-16.5 3.8-25.3v-43.5c14.2-12.4 24.4-27.5 27.3-44.5 1.7-9.9-7.7-18.5-17.7-15.3-25.9 8.3-64.4 13.1-105.6 13.1s-79.6-4.8-105.6-13.1c-9.9-3.1-19.4 5.3-17.7 15.3 2.9 17 13.1 32.1 27.3 44.5V408c0 8.8 1.6 17.2 3.8 25.3C91.8 399.9 48 333 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 77-43.8 143.9-107.8 177.3z"]},faGrinWink:{prefix:"far",iconName:"grin-wink",icon:[496,512,[],"f58c","M328 180c-25.69 0-55.88 16.92-59.86 42.12-1.75 11.22 11.5 18.24 19.83 10.84l9.55-8.48c14.81-13.19 46.16-13.19 60.97 0l9.55 8.48c8.48 7.43 21.56.25 19.83-10.84C383.88 196.92 353.69 180 328 180zm-160 60c17.67 0 32-14.33 32-32s-14.33-32-32-32-32 14.33-32 32 14.33 32 32 32zm185.55 64.64c-25.93 8.3-64.4 13.06-105.55 13.06s-79.62-4.75-105.55-13.06c-9.94-3.13-19.4 5.37-17.71 15.34C132.67 367.13 196.06 400 248 400s115.33-32.87 123.26-80.02c1.68-9.89-7.67-18.48-17.71-15.34zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"]},faHandLizard:{prefix:"far",iconName:"hand-lizard",icon:[576,512,[],"f258","M556.686 290.542L410.328 64.829C397.001 44.272 374.417 32 349.917 32H56C25.121 32 0 57.122 0 88v8c0 44.112 35.888 80 80 80h196.042l-18.333 48H144c-48.523 0-88 39.477-88 88 0 30.879 25.121 56 56 56h131.552c2.987 0 5.914.549 8.697 1.631L352 408.418V480h224V355.829c0-23.225-6.679-45.801-19.314-65.287zM528 432H400v-23.582c0-19.948-12.014-37.508-30.604-44.736l-99.751-38.788A71.733 71.733 0 0 0 243.552 320H112c-4.411 0-8-3.589-8-8 0-22.056 17.944-40 40-40h113.709c19.767 0 37.786-12.407 44.84-30.873l24.552-64.281c8.996-23.553-8.428-48.846-33.63-48.846H80c-17.645 0-32-14.355-32-32v-8c0-4.411 3.589-8 8-8h293.917c8.166 0 15.693 4.09 20.137 10.942l146.358 225.715A71.84 71.84 0 0 1 528 355.829V432z"]},faHandPaper:{prefix:"far",iconName:"hand-paper",icon:[448,512,[],"f256","M372.57 112.641v-10.825c0-43.612-40.52-76.691-83.039-65.546-25.629-49.5-94.09-47.45-117.982.747C130.269 26.456 89.144 57.945 89.144 102v126.13c-19.953-7.427-43.308-5.068-62.083 8.871-29.355 21.796-35.794 63.333-14.55 93.153L132.48 498.569a32 32 0 0 0 26.062 13.432h222.897c14.904 0 27.835-10.289 31.182-24.813l30.184-130.958A203.637 203.637 0 0 0 448 310.564V179c0-40.62-35.523-71.992-75.43-66.359zm27.427 197.922c0 11.731-1.334 23.469-3.965 34.886L368.707 464h-201.92L51.591 302.303c-14.439-20.27 15.023-42.776 29.394-22.605l27.128 38.079c8.995 12.626 29.031 6.287 29.031-9.283V102c0-25.645 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V67c0-25.663 36.571-24.81 36.571.691V256c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16V101.125c0-25.672 36.57-24.81 36.57.691V256c0 8.837 7.163 16 16 16h6.857c8.837 0 16-7.163 16-16v-76.309c0-26.242 36.57-25.64 36.57-.691v131.563z"]},faHandPeace:{prefix:"far",iconName:"hand-peace",icon:[448,512,[],"f25b","M362.146 191.976c-13.71-21.649-38.761-34.016-65.006-30.341V74c0-40.804-32.811-74-73.141-74-40.33 0-73.14 33.196-73.14 74L160 168l-18.679-78.85C126.578 50.843 83.85 32.11 46.209 47.208 8.735 62.238-9.571 104.963 5.008 142.85l55.757 144.927c-30.557 24.956-43.994 57.809-24.733 92.218l54.853 97.999C102.625 498.97 124.73 512 148.575 512h205.702c30.744 0 57.558-21.44 64.555-51.797l27.427-118.999a67.801 67.801 0 0 0 1.729-15.203L448 256c0-44.956-43.263-77.343-85.854-64.024zM399.987 326c0 1.488-.169 2.977-.502 4.423l-27.427 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H148.575c-6.486 0-12.542-3.621-15.805-9.449l-54.854-98c-4.557-8.141-2.619-18.668 4.508-24.488l26.647-21.764a16 16 0 0 0 4.812-18.139l-64.09-166.549C37.226 92.956 84.37 74.837 96.51 106.389l59.784 155.357A16 16 0 0 0 171.227 272h11.632c8.837 0 16-7.163 16-16V74c0-34.375 50.281-34.43 50.281 0v182c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16v-28c0-25.122 36.567-25.159 36.567 0v28c0 8.837 7.163 16 16 16h6.856c8.837 0 16-7.163 16-16 0-25.12 36.567-25.16 36.567 0v70z"]},faHandPointDown:{prefix:"far",iconName:"hand-point-down",icon:[448,512,[],"f0a7","M188.8 512c45.616 0 83.2-37.765 83.2-83.2v-35.647a93.148 93.148 0 0 0 22.064-7.929c22.006 2.507 44.978-3.503 62.791-15.985C409.342 368.1 448 331.841 448 269.299V248c0-60.063-40-98.512-40-127.2v-2.679c4.952-5.747 8-13.536 8-22.12V32c0-17.673-12.894-32-28.8-32H156.8C140.894 0 128 14.327 128 32v64c0 8.584 3.048 16.373 8 22.12v2.679c0 6.964-6.193 14.862-23.668 30.183l-.148.129-.146.131c-9.937 8.856-20.841 18.116-33.253 25.851C48.537 195.798 0 207.486 0 252.8c0 56.928 35.286 92 83.2 92 8.026 0 15.489-.814 22.4-2.176V428.8c0 45.099 38.101 83.2 83.2 83.2zm0-48c-18.7 0-35.2-16.775-35.2-35.2V270.4c-17.325 0-35.2 26.4-70.4 26.4-26.4 0-35.2-20.625-35.2-44 0-8.794 32.712-20.445 56.1-34.926 14.575-9.074 27.225-19.524 39.875-30.799 18.374-16.109 36.633-33.836 39.596-59.075h176.752C364.087 170.79 400 202.509 400 248v21.299c0 40.524-22.197 57.124-61.325 50.601-8.001 14.612-33.979 24.151-53.625 12.925-18.225 19.365-46.381 17.787-61.05 4.95V428.8c0 18.975-16.225 35.2-35.2 35.2zM328 64c0-13.255 10.745-24 24-24s24 10.745 24 24-10.745 24-24 24-24-10.745-24-24z"]},faHandPointLeft:{prefix:"far",iconName:"hand-point-left",icon:[512,512,[],"f0a5","M0 220.8C0 266.416 37.765 304 83.2 304h35.647a93.148 93.148 0 0 0 7.929 22.064c-2.507 22.006 3.503 44.978 15.985 62.791C143.9 441.342 180.159 480 242.701 480H264c60.063 0 98.512-40 127.2-40h2.679c5.747 4.952 13.536 8 22.12 8h64c17.673 0 32-12.894 32-28.8V188.8c0-15.906-14.327-28.8-32-28.8h-64c-8.584 0-16.373 3.048-22.12 8H391.2c-6.964 0-14.862-6.193-30.183-23.668l-.129-.148-.131-.146c-8.856-9.937-18.116-20.841-25.851-33.253C316.202 80.537 304.514 32 259.2 32c-56.928 0-92 35.286-92 83.2 0 8.026.814 15.489 2.176 22.4H83.2C38.101 137.6 0 175.701 0 220.8zm48 0c0-18.7 16.775-35.2 35.2-35.2h158.4c0-17.325-26.4-35.2-26.4-70.4 0-26.4 20.625-35.2 44-35.2 8.794 0 20.445 32.712 34.926 56.1 9.074 14.575 19.524 27.225 30.799 39.875 16.109 18.374 33.836 36.633 59.075 39.596v176.752C341.21 396.087 309.491 432 264 432h-21.299c-40.524 0-57.124-22.197-50.601-61.325-14.612-8.001-24.151-33.979-12.925-53.625-19.365-18.225-17.787-46.381-4.95-61.05H83.2C64.225 256 48 239.775 48 220.8zM448 360c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"]},faHandPointRight:{prefix:"far",iconName:"hand-point-right",icon:[512,512,[],"f0a4","M428.8 137.6h-86.177a115.52 115.52 0 0 0 2.176-22.4c0-47.914-35.072-83.2-92-83.2-45.314 0-57.002 48.537-75.707 78.784-7.735 12.413-16.994 23.317-25.851 33.253l-.131.146-.129.148C135.662 161.807 127.764 168 120.8 168h-2.679c-5.747-4.952-13.536-8-22.12-8H32c-17.673 0-32 12.894-32 28.8v230.4C0 435.106 14.327 448 32 448h64c8.584 0 16.373-3.048 22.12-8h2.679c28.688 0 67.137 40 127.2 40h21.299c62.542 0 98.8-38.658 99.94-91.145 12.482-17.813 18.491-40.785 15.985-62.791A93.148 93.148 0 0 0 393.152 304H428.8c45.435 0 83.2-37.584 83.2-83.2 0-45.099-38.101-83.2-83.2-83.2zm0 118.4h-91.026c12.837 14.669 14.415 42.825-4.95 61.05 11.227 19.646 1.687 45.624-12.925 53.625 6.524 39.128-10.076 61.325-50.6 61.325H248c-45.491 0-77.21-35.913-120-39.676V215.571c25.239-2.964 42.966-21.222 59.075-39.596 11.275-12.65 21.725-25.3 30.799-39.875C232.355 112.712 244.006 80 252.8 80c23.375 0 44 8.8 44 35.2 0 35.2-26.4 53.075-26.4 70.4h158.4c18.425 0 35.2 16.5 35.2 35.2 0 18.975-16.225 35.2-35.2 35.2zM88 384c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"]},faHandPointUp:{prefix:"far",iconName:"hand-point-up",icon:[448,512,[],"f0a6","M105.6 83.2v86.177a115.52 115.52 0 0 0-22.4-2.176c-47.914 0-83.2 35.072-83.2 92 0 45.314 48.537 57.002 78.784 75.707 12.413 7.735 23.317 16.994 33.253 25.851l.146.131.148.129C129.807 376.338 136 384.236 136 391.2v2.679c-4.952 5.747-8 13.536-8 22.12v64c0 17.673 12.894 32 28.8 32h230.4c15.906 0 28.8-14.327 28.8-32v-64c0-8.584-3.048-16.373-8-22.12V391.2c0-28.688 40-67.137 40-127.2v-21.299c0-62.542-38.658-98.8-91.145-99.94-17.813-12.482-40.785-18.491-62.791-15.985A93.148 93.148 0 0 0 272 118.847V83.2C272 37.765 234.416 0 188.8 0c-45.099 0-83.2 38.101-83.2 83.2zm118.4 0v91.026c14.669-12.837 42.825-14.415 61.05 4.95 19.646-11.227 45.624-1.687 53.625 12.925 39.128-6.524 61.325 10.076 61.325 50.6V264c0 45.491-35.913 77.21-39.676 120H183.571c-2.964-25.239-21.222-42.966-39.596-59.075-12.65-11.275-25.3-21.725-39.875-30.799C80.712 279.645 48 267.994 48 259.2c0-23.375 8.8-44 35.2-44 35.2 0 53.075 26.4 70.4 26.4V83.2c0-18.425 16.5-35.2 35.2-35.2 18.975 0 35.2 16.225 35.2 35.2zM352 424c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24z"]},faHandPointer:{prefix:"far",iconName:"hand-pointer",icon:[448,512,[],"f25a","M358.182 179.361c-19.493-24.768-52.679-31.945-79.872-19.098-15.127-15.687-36.182-22.487-56.595-19.629V67c0-36.944-29.736-67-66.286-67S89.143 30.056 89.143 67v161.129c-19.909-7.41-43.272-5.094-62.083 8.872-29.355 21.795-35.793 63.333-14.55 93.152l109.699 154.001C134.632 501.59 154.741 512 176 512h178.286c30.802 0 57.574-21.5 64.557-51.797l27.429-118.999A67.873 67.873 0 0 0 448 326v-84c0-46.844-46.625-79.273-89.818-62.639zM80.985 279.697l27.126 38.079c8.995 12.626 29.031 6.287 29.031-9.283V67c0-25.12 36.571-25.16 36.571 0v175c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16v-35c0-25.12 36.571-25.16 36.571 0v35c0 8.836 7.163 16 16 16H272c8.837 0 16-7.164 16-16v-21c0-25.12 36.571-25.16 36.571 0v21c0 8.836 7.163 16 16 16h6.857c8.837 0 16-7.164 16-16 0-25.121 36.571-25.16 36.571 0v84c0 1.488-.169 2.977-.502 4.423l-27.43 119.001c-1.978 8.582-9.29 14.576-17.782 14.576H176c-5.769 0-11.263-2.878-14.697-7.697l-109.712-154c-14.406-20.223 14.994-42.818 29.394-22.606zM176.143 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.733 0-14-7.163-14-16zm75.428 0v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16zM327 400v-96c0-8.837 6.268-16 14-16h6c7.732 0 14 7.163 14 16v96c0 8.837-6.268 16-14 16h-6c-7.732 0-14-7.163-14-16z"]},faHandRock:{prefix:"far",iconName:"hand-rock",icon:[512,512,[],"f255","M408.864 79.052c-22.401-33.898-66.108-42.273-98.813-23.588-29.474-31.469-79.145-31.093-108.334-.022-47.16-27.02-108.71 5.055-110.671 60.806C44.846 105.407 0 140.001 0 187.429v56.953c0 32.741 14.28 63.954 39.18 85.634l97.71 85.081c4.252 3.702 3.11 5.573 3.11 32.903 0 17.673 14.327 32 32 32h252c17.673 0 32-14.327 32-32 0-23.513-1.015-30.745 3.982-42.37l42.835-99.656c6.094-14.177 9.183-29.172 9.183-44.568V146.963c0-52.839-54.314-88.662-103.136-67.911zM464 261.406a64.505 64.505 0 0 1-5.282 25.613l-42.835 99.655c-5.23 12.171-7.883 25.04-7.883 38.25V432H188v-10.286c0-16.37-7.14-31.977-19.59-42.817l-97.71-85.08C56.274 281.255 48 263.236 48 244.381v-56.953c0-33.208 52-33.537 52 .677v41.228a16 16 0 0 0 5.493 12.067l7 6.095A16 16 0 0 0 139 235.429V118.857c0-33.097 52-33.725 52 .677v26.751c0 8.836 7.164 16 16 16h7c8.836 0 16-7.164 16-16v-41.143c0-33.134 52-33.675 52 .677v40.466c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16v-27.429c0-33.03 52-33.78 52 .677v26.751c0 8.836 7.163 16 16 16h7c8.837 0 16-7.164 16-16 0-33.146 52-33.613 52 .677v114.445z"]},faHandScissors:{prefix:"far",iconName:"hand-scissors",icon:[512,512,[],"f257","M256 480l70-.013c5.114 0 10.231-.583 15.203-1.729l118.999-27.427C490.56 443.835 512 417.02 512 386.277V180.575c0-23.845-13.03-45.951-34.005-57.69l-97.999-54.853c-34.409-19.261-67.263-5.824-92.218 24.733L142.85 37.008c-37.887-14.579-80.612 3.727-95.642 41.201-15.098 37.642 3.635 80.37 41.942 95.112L168 192l-94-9.141c-40.804 0-74 32.811-74 73.14 0 40.33 33.196 73.141 74 73.141h87.635c-3.675 26.245 8.692 51.297 30.341 65.006C178.657 436.737 211.044 480 256 480zm0-48.013c-25.16 0-25.12-36.567 0-36.567 8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16h-28c-25.159 0-25.122-36.567 0-36.567h28c8.837 0 16-7.163 16-16v-6.856c0-8.837-7.163-16-16-16H74c-34.43 0-34.375-50.281 0-50.281h182c8.837 0 16-7.163 16-16v-11.632a16 16 0 0 0-10.254-14.933L106.389 128.51c-31.552-12.14-13.432-59.283 19.222-46.717l166.549 64.091a16.001 16.001 0 0 0 18.139-4.812l21.764-26.647c5.82-7.127 16.348-9.064 24.488-4.508l98 54.854c5.828 3.263 9.449 9.318 9.449 15.805v205.701c0 8.491-5.994 15.804-14.576 17.782l-119.001 27.427a19.743 19.743 0 0 1-4.423.502h-70z"]},faHandSpock:{prefix:"far",iconName:"hand-spock",icon:[512,512,[],"f259","M21.096 381.79l129.092 121.513a32 32 0 0 0 21.932 8.698h237.6c14.17 0 26.653-9.319 30.68-22.904l31.815-107.313A115.955 115.955 0 0 0 477 348.811v-36.839c0-4.051.476-8.104 1.414-12.045l31.73-133.41c10.099-42.412-22.316-82.738-65.544-82.525-4.144-24.856-22.543-47.165-49.85-53.992-35.803-8.952-72.227 12.655-81.25 48.75L296.599 184 274.924 52.01c-8.286-36.07-44.303-58.572-80.304-50.296-29.616 6.804-50.138 32.389-51.882 61.295-42.637.831-73.455 40.563-64.071 81.844l31.04 136.508c-27.194-22.515-67.284-19.992-91.482 5.722-25.376 26.961-24.098 69.325 2.871 94.707zm32.068-61.811l.002-.001c7.219-7.672 19.241-7.98 26.856-.813l53.012 49.894C143.225 378.649 160 371.4 160 357.406v-69.479c0-1.193-.134-2.383-.397-3.546l-34.13-150.172c-5.596-24.617 31.502-32.86 37.054-8.421l30.399 133.757a16 16 0 0 0 15.603 12.454h8.604c10.276 0 17.894-9.567 15.594-19.583l-41.62-181.153c-5.623-24.469 31.39-33.076 37.035-8.508l45.22 196.828A16 16 0 0 0 288.956 272h13.217a16 16 0 0 0 15.522-12.119l42.372-169.49c6.104-24.422 42.962-15.159 36.865 9.217L358.805 252.12c-2.521 10.088 5.115 19.88 15.522 19.88h9.694a16 16 0 0 0 15.565-12.295L426.509 146.6c5.821-24.448 42.797-15.687 36.966 8.802L431.72 288.81a100.094 100.094 0 0 0-2.72 23.162v36.839c0 6.548-.943 13.051-2.805 19.328L397.775 464h-219.31L53.978 346.836c-7.629-7.18-7.994-19.229-.814-26.857z"]},faHandshake:{prefix:"far",iconName:"handshake",icon:[640,512,[],"f2b5","M519.2 127.9l-47.6-47.6A56.252 56.252 0 0 0 432 64H205.2c-14.8 0-29.1 5.9-39.6 16.3L118 127.9H0v255.7h64c17.6 0 31.8-14.2 31.9-31.7h9.1l84.6 76.4c30.9 25.1 73.8 25.7 105.6 3.8 12.5 10.8 26 15.9 41.1 15.9 18.2 0 35.3-7.4 48.8-24 22.1 8.7 48.2 2.6 64-16.8l26.2-32.3c5.6-6.9 9.1-14.8 10.9-23h57.9c.1 17.5 14.4 31.7 31.9 31.7h64V127.9H519.2zM48 351.6c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16zm390-6.9l-26.1 32.2c-2.8 3.4-7.8 4-11.3 1.2l-23.9-19.4-30 36.5c-6 7.3-15 4.8-18 2.4l-36.8-31.5-15.6 19.2c-13.9 17.1-39.2 19.7-55.3 6.6l-97.3-88H96V175.8h41.9l61.7-61.6c2-.8 3.7-1.5 5.7-2.3H262l-38.7 35.5c-29.4 26.9-31.1 72.3-4.4 101.3 14.8 16.2 61.2 41.2 101.5 4.4l8.2-7.5 108.2 87.8c3.4 2.8 3.9 7.9 1.2 11.3zm106-40.8h-69.2c-2.3-2.8-4.9-5.4-7.7-7.7l-102.7-83.4 12.5-11.4c6.5-6 7-16.1 1-22.6L367 167.1c-6-6.5-16.1-6.9-22.6-1l-55.2 50.6c-9.5 8.7-25.7 9.4-34.6 0-9.3-9.9-8.5-25.1 1.2-33.9l65.6-60.1c7.4-6.8 17-10.5 27-10.5l83.7-.2c2.1 0 4.1.8 5.5 2.3l61.7 61.6H544v128zm48 47.7c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16c0 8.9-7.2 16-16 16z"]},faHdd:{prefix:"far",iconName:"hdd",icon:[576,512,[],"f0a0","M567.403 235.642L462.323 84.589A48 48 0 0 0 422.919 64H153.081a48 48 0 0 0-39.404 20.589L8.597 235.642A48.001 48.001 0 0 0 0 263.054V400c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V263.054c0-9.801-3-19.366-8.597-27.412zM153.081 112h269.838l77.913 112H75.168l77.913-112zM528 400H48V272h480v128zm-32-64c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-96 0c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32z"]},faHeart:{prefix:"far",iconName:"heart",icon:[512,512,[],"f004","M458.4 64.3C400.6 15.7 311.3 23 256 79.3 200.7 23 111.4 15.6 53.6 64.3-21.6 127.6-10.6 230.8 43 285.5l175.4 178.7c10 10.2 23.4 15.9 37.6 15.9 14.3 0 27.6-5.6 37.6-15.8L469 285.6c53.5-54.7 64.7-157.9-10.6-221.3zm-23.6 187.5L259.4 430.5c-2.4 2.4-4.4 2.4-6.8 0L77.2 251.8c-36.5-37.2-43.9-107.6 7.3-150.7 38.9-32.7 98.9-27.8 136.5 10.5l35 35.7 35-35.7c37.8-38.5 97.8-43.2 136.5-10.6 51.1 43.1 43.5 113.9 7.3 150.8z"]},faHospital:{prefix:"far",iconName:"hospital",icon:[448,512,[],"f0f8","M128 244v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12zm140 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm-76 84v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h40c6.627 0 12-5.373 12-12zm76 12h40c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12zm180 124v36H0v-36c0-6.627 5.373-12 12-12h19.5V85.035C31.5 73.418 42.245 64 55.5 64H144V24c0-13.255 10.745-24 24-24h112c13.255 0 24 10.745 24 24v40h88.5c13.255 0 24 9.418 24 21.035V464H436c6.627 0 12 5.373 12 12zM79.5 463H192v-67c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v67h112.5V112H304v24c0 13.255-10.745 24-24 24H168c-13.255 0-24-10.745-24-24v-24H79.5v351zM266 64h-26V38a6 6 0 0 0-6-6h-20a6 6 0 0 0-6 6v26h-26a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h26v26a6 6 0 0 0 6 6h20a6 6 0 0 0 6-6V96h26a6 6 0 0 0 6-6V70a6 6 0 0 0-6-6z"]},faHourglass:{prefix:"far",iconName:"hourglass",icon:[384,512,[],"f254","M368 48h4c6.627 0 12-5.373 12-12V12c0-6.627-5.373-12-12-12H12C5.373 0 0 5.373 0 12v24c0 6.627 5.373 12 12 12h4c0 80.564 32.188 165.807 97.18 208C47.899 298.381 16 383.9 16 464h-4c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12h-4c0-80.564-32.188-165.807-97.18-208C336.102 213.619 368 128.1 368 48zM64 48h256c0 101.62-57.307 184-128 184S64 149.621 64 48zm256 416H64c0-101.62 57.308-184 128-184s128 82.38 128 184z"]},faIdBadge:{prefix:"far",iconName:"id-badge",icon:[384,512,[],"f2c1","M336 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm0 464H48V48h288v416zM144 112h96c8.8 0 16-7.2 16-16s-7.2-16-16-16h-96c-8.8 0-16 7.2-16 16s7.2 16 16 16zm48 176c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"]},faIdCard:{prefix:"far",iconName:"id-card",icon:[576,512,[],"f2c2","M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H303.2c.9-4.5.8 3.6.8-22.4 0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6 0 26-.2 17.9.8 22.4H48V144h480v288zm-168-80h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm-168 96c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64z"]},faImage:{prefix:"far",iconName:"image",icon:[512,512,[],"f03e","M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 336H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v276a6 6 0 0 1-6 6zM128 152c-22.091 0-40 17.909-40 40s17.909 40 40 40 40-17.909 40-40-17.909-40-40-40zM96 352h320v-80l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L192 304l-39.515-39.515c-4.686-4.686-12.284-4.686-16.971 0L96 304v48z"]},faImages:{prefix:"far",iconName:"images",icon:[576,512,[],"f302","M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v48H54a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6v-10h48zm42-336H150a6 6 0 0 0-6 6v244a6 6 0 0 0 6 6h372a6 6 0 0 0 6-6V86a6 6 0 0 0-6-6zm6-48c26.51 0 48 21.49 48 48v256c0 26.51-21.49 48-48 48H144c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h384zM264 144c0 22.091-17.909 40-40 40s-40-17.909-40-40 17.909-40 40-40 40 17.909 40 40zm-72 96l39.515-39.515c4.686-4.686 12.284-4.686 16.971 0L288 240l103.515-103.515c4.686-4.686 12.284-4.686 16.971 0L480 208v80H192v-48z"]},faKeyboard:{prefix:"far",iconName:"keyboard",icon:[576,512,[],"f11c","M528 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h480c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm8 336c0 4.411-3.589 8-8 8H48c-4.411 0-8-3.589-8-8V112c0-4.411 3.589-8 8-8h480c4.411 0 8 3.589 8 8v288zM170 270v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-336 82v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm384 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zM122 188v-28c0-6.627-5.373-12-12-12H82c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm96 0v-28c0-6.627-5.373-12-12-12h-28c-6.627 0-12 5.373-12 12v28c0 6.627 5.373 12 12 12h28c6.627 0 12-5.373 12-12zm-98 158v-16c0-6.627-5.373-12-12-12H180c-6.627 0-12 5.373-12 12v16c0 6.627 5.373 12 12 12h216c6.627 0 12-5.373 12-12z"]},faKiss:{prefix:"far",iconName:"kiss",icon:[496,512,[],"f596","M168 176c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm136 132c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"]},faKissBeam:{prefix:"far",iconName:"kiss-beam",icon:[496,512,[],"f597","M168 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4zM248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm56-148c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36C290.6 335.3 304 321 304 308zm24-156c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2 7.2 5.6 8.3 3.5 1 7.5-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 5.9-4.5 5.6-8.3-3.1-42.1-32-71.4-55.8-71.4z"]},faKissWinkHeart:{prefix:"far",iconName:"kiss-wink-heart",icon:[504,512,[],"f598","M304 308.5c0-19.2-28.8-41.5-71.5-44-3.8-.4-7.4 2.4-8.2 6.2-.9 3.8 1.1 7.7 4.7 9.2l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-5.7 2.4-6 12.2 0 14.8l16.9 7.2c13 5.5 20.8 13.5 20.8 21.5s-7.8 16-20.7 21.5l-17 7.2c-3.6 1.5-5.6 5.4-4.7 9.2.8 3.6 4.1 6.2 7.8 6.2h.5c42.8-2.5 71.5-24.8 71.5-44 0-13-13.4-27.3-35.2-36 21.7-9.1 35.1-23.4 35.1-36.4zm70.5-83.5l9.5 8.5c3.8 3.3 9.3 4 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 5.8 3.1 11.2.7 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0zM136 208.5c0 17.7 14.3 32 32 32s32-14.3 32-32-14.3-32-32-32-32 14.3-32 32zm365.1 194c-8-20.8-31.5-31.5-53.1-25.9l-8.4 2.2-2.3-8.4c-5.9-21.4-27-36.5-49-33-25.2 4-40.6 28.6-34 52.6l22.9 82.6c1.5 5.3 7 8.5 12.4 7.1l83-21.5c24.1-6.3 37.7-31.8 28.5-55.7zM334 436.3c-26.1 12.5-55.2 19.7-86 19.7-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200c0 22.1-3.7 43.3-10.4 63.2 9 6.4 17 14.2 22.6 23.9 6.4.1 12.6 1.4 18.6 2.9 10.9-27.9 17.1-58.2 17.1-90C496 119 385 8 248 8S0 119 0 256s111 248 248 248c35.4 0 68.9-7.5 99.4-20.9-2.5-7.3 4.3 17.2-13.4-46.8z"]},faLaugh:{prefix:"far",iconName:"laugh",icon:[496,512,[],"f599","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 224c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm-160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"]},faLaughBeam:{prefix:"far",iconName:"laugh-beam",icon:[496,512,[],"f59a","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM328 152c-23.8 0-52.7 29.3-56 71.4-.7 8.6 10.8 11.9 14.9 4.5l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.1-42.1-32-71.4-55.8-71.4zm-201 75.9l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c4.1 7.4 15.6 4 14.9-4.5-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.6 8.5 10.9 11.9 15.1 4.5zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"]},faLaughSquint:{prefix:"far",iconName:"laugh-squint",icon:[496,512,[],"f59b","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6S48 309.4 48 256s20.8-103.6 58.6-141.4S194.6 56 248 56s103.6 20.8 141.4 58.6S448 202.6 448 256s-20.8 103.6-58.6 141.4zM343.6 196l33.6-40.3c8.6-10.3-3.8-24.8-15.4-18l-80 48c-7.8 4.7-7.8 15.9 0 20.6l80 48c11.5 6.8 24-7.6 15.4-18L343.6 196zm-209.4 58.3l80-48c7.8-4.7 7.8-15.9 0-20.6l-80-48c-11.6-6.9-24 7.7-15.4 18l33.6 40.3-33.6 40.3c-8.7 10.4 3.8 24.8 15.4 18zM362.4 288H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"]},faLaughWink:{prefix:"far",iconName:"laugh-wink",icon:[496,512,[],"f59c","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm141.4 389.4c-37.8 37.8-88 58.6-141.4 58.6s-103.6-20.8-141.4-58.6C68.8 359.6 48 309.4 48 256s20.8-103.6 58.6-141.4C144.4 76.8 194.6 56 248 56s103.6 20.8 141.4 58.6c37.8 37.8 58.6 88 58.6 141.4s-20.8 103.6-58.6 141.4zM328 164c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1zm-160 60c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm194.4 64H133.6c-8.2 0-14.5 7-13.5 15 7.5 59.2 58.9 105 121.1 105h13.6c62.2 0 113.6-45.8 121.1-105 1-8-5.3-15-13.5-15z"]},faLemon:{prefix:"far",iconName:"lemon",icon:[512,512,[],"f094","M484.112 27.889C455.989-.233 416.108-8.057 387.059 8.865 347.604 31.848 223.504-41.111 91.196 91.197-41.277 223.672 31.923 347.472 8.866 387.058c-16.922 29.051-9.1 68.932 19.022 97.054 28.135 28.135 68.011 35.938 97.057 19.021 39.423-22.97 163.557 49.969 295.858-82.329 132.474-132.477 59.273-256.277 82.331-295.861 16.922-29.05 9.1-68.931-19.022-97.054zm-22.405 72.894c-38.8 66.609 45.6 165.635-74.845 286.08-120.44 120.443-219.475 36.048-286.076 74.843-22.679 13.207-64.035-27.241-50.493-50.488 38.8-66.609-45.6-165.635 74.845-286.08C245.573 4.702 344.616 89.086 411.219 50.292c22.73-13.24 64.005 27.288 50.488 50.491zm-169.861 8.736c1.37 10.96-6.404 20.957-17.365 22.327-54.846 6.855-135.779 87.787-142.635 142.635-1.373 10.989-11.399 18.734-22.326 17.365-10.961-1.37-18.735-11.366-17.365-22.326 9.162-73.286 104.167-168.215 177.365-177.365 10.953-1.368 20.956 6.403 22.326 17.364z"]},faLifeRing:{prefix:"far",iconName:"life-ring",icon:[512,512,[],"f1cd","M256 504c136.967 0 248-111.033 248-248S392.967 8 256 8 8 119.033 8 256s111.033 248 248 248zm-103.398-76.72l53.411-53.411c31.806 13.506 68.128 13.522 99.974 0l53.411 53.411c-63.217 38.319-143.579 38.319-206.796 0zM336 256c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80zm91.28 103.398l-53.411-53.411c13.505-31.806 13.522-68.128 0-99.974l53.411-53.411c38.319 63.217 38.319 143.579 0 206.796zM359.397 84.72l-53.411 53.411c-31.806-13.505-68.128-13.522-99.973 0L152.602 84.72c63.217-38.319 143.579-38.319 206.795 0zM84.72 152.602l53.411 53.411c-13.506 31.806-13.522 68.128 0 99.974L84.72 359.398c-38.319-63.217-38.319-143.579 0-206.796z"]},faLightbulb:{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},faListAlt:{prefix:"far",iconName:"list-alt",icon:[512,512,[],"f022","M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h404a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zm-42-92v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm0-96v24c0 6.627-5.373 12-12 12H204c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h200c6.627 0 12 5.373 12 12zm-252 12c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36zm0 96c0 19.882-16.118 36-36 36s-36-16.118-36-36 16.118-36 36-36 36 16.118 36 36z"]},faMap:{prefix:"far",iconName:"map",icon:[576,512,[],"f279","M560.02 32c-1.96 0-3.98.37-5.96 1.16L384.01 96H384L212 35.28A64.252 64.252 0 0 0 191.76 32c-6.69 0-13.37 1.05-19.81 3.14L20.12 87.95A32.006 32.006 0 0 0 0 117.66v346.32C0 473.17 7.53 480 15.99 480c1.96 0 3.97-.37 5.96-1.16L192 416l172 60.71a63.98 63.98 0 0 0 40.05.15l151.83-52.81A31.996 31.996 0 0 0 576 394.34V48.02c0-9.19-7.53-16.02-15.98-16.02zM224 90.42l128 45.19v285.97l-128-45.19V90.42zM48 418.05V129.07l128-44.53v286.2l-.64.23L48 418.05zm480-35.13l-128 44.53V141.26l.64-.24L528 93.95v288.97z"]},faMeh:{prefix:"far",iconName:"meh",icon:[496,512,[],"f11a","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm8 144H160c-13.2 0-24 10.8-24 24s10.8 24 24 24h176c13.2 0 24-10.8 24-24s-10.8-24-24-24z"]},faMehBlank:{prefix:"far",iconName:"meh-blank",icon:[496,512,[],"f5a4","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-280c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm160 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"]},faMehRollingEyes:{prefix:"far",iconName:"meh-rolling-eyes",icon:[496,512,[],"f5a5","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm88-304c-39.8 0-72 32.2-72 72s32.2 72 72 72 72-32.2 72-72-32.2-72-72-72zm0 112c-22.1 0-40-17.9-40-40 0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40zm-104-40c0-39.8-32.2-72-72-72s-72 32.2-72 72 32.2 72 72 72 72-32.2 72-72zm-112 0c0-13.6 7.3-25.1 17.7-32.3-1 2.6-1.7 5.3-1.7 8.3 0 13.3 10.7 24 24 24s24-10.7 24-24c0-2.9-.7-5.7-1.7-8.3 10.4 7.2 17.7 18.7 17.7 32.3 0 22.1-17.9 40-40 40s-40-17.9-40-40zm192 128H184c-13.2 0-24 10.8-24 24s10.8 24 24 24h128c13.2 0 24-10.8 24-24s-10.8-24-24-24z"]},faMinusSquare:{prefix:"far",iconName:"minus-square",icon:[448,512,[],"f146","M108 284c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h232c6.6 0 12 5.4 12 12v32c0 6.6-5.4 12-12 12H108zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faMoneyBillAlt:{prefix:"far",iconName:"money-bill-alt",icon:[640,512,[],"f3d1","M320 144c-53.02 0-96 50.14-96 112 0 61.85 42.98 112 96 112 53 0 96-50.13 96-112 0-61.86-42.98-112-96-112zm40 168c0 4.42-3.58 8-8 8h-64c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h16v-55.44l-.47.31a7.992 7.992 0 0 1-11.09-2.22l-8.88-13.31a7.992 7.992 0 0 1 2.22-11.09l15.33-10.22a23.99 23.99 0 0 1 13.31-4.03H328c4.42 0 8 3.58 8 8v88h16c4.42 0 8 3.58 8 8v16zM608 64H32C14.33 64 0 78.33 0 96v320c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V96c0-17.67-14.33-32-32-32zm-16 272c-35.35 0-64 28.65-64 64H112c0-35.35-28.65-64-64-64V176c35.35 0 64-28.65 64-64h416c0 35.35 28.65 64 64 64v160z"]},faMoon:{prefix:"far",iconName:"moon",icon:[512,512,[],"f186","M279.135 512c78.756 0 150.982-35.804 198.844-94.775 28.27-34.831-2.558-85.722-46.249-77.401-82.348 15.683-158.272-47.268-158.272-130.792 0-48.424 26.06-92.292 67.434-115.836 38.745-22.05 28.999-80.788-15.022-88.919A257.936 257.936 0 0 0 279.135 0c-141.36 0-256 114.575-256 256 0 141.36 114.576 256 256 256zm0-464c12.985 0 25.689 1.201 38.016 3.478-54.76 31.163-91.693 90.042-91.693 157.554 0 113.848 103.641 199.2 215.252 177.944C402.574 433.964 344.366 464 279.135 464c-114.875 0-208-93.125-208-208s93.125-208 208-208z"]},faNewspaper:{prefix:"far",iconName:"newspaper",icon:[576,512,[],"f1ea","M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z"]},faObjectGroup:{prefix:"far",iconName:"object-group",icon:[512,512,[],"f247","M500 128c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v256H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V128h12zm-52-64h32v32h-32V64zM32 64h32v32H32V64zm32 384H32v-32h32v32zm416 0h-32v-32h32v32zm-40-64h-12c-6.627 0-12 5.373-12 12v12H96v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h320v12c0 6.627 5.373 12 12 12h12v256zm-36-192h-84v-52c0-6.628-5.373-12-12-12H108c-6.627 0-12 5.372-12 12v168c0 6.628 5.373 12 12 12h84v52c0 6.628 5.373 12 12 12h200c6.627 0 12-5.372 12-12V204c0-6.628-5.373-12-12-12zm-268-24h144v112H136V168zm240 176H232v-24h76c6.627 0 12-5.372 12-12v-76h56v112z"]},faObjectUngroup:{prefix:"far",iconName:"object-ungroup",icon:[576,512,[],"f248","M564 224c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12h-88v-24h12c6.627 0 12-5.373 12-12V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v12H96V44c0-6.627-5.373-12-12-12H12C5.373 32 0 37.373 0 44v72c0 6.627 5.373 12 12 12h12v160H12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h88v24h-12c-6.627 0-12 5.373-12 12v72c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12V224h12zM352 64h32v32h-32V64zm0 256h32v32h-32v-32zM64 352H32v-32h32v32zm0-256H32V64h32v32zm32 216v-12c0-6.627-5.373-12-12-12H72V128h12c6.627 0 12-5.373 12-12v-12h224v12c0 6.627 5.373 12 12 12h12v160h-12c-6.627 0-12 5.373-12 12v12H96zm128 136h-32v-32h32v32zm280-64h-12c-6.627 0-12 5.373-12 12v12H256v-12c0-6.627-5.373-12-12-12h-12v-24h88v12c0 6.627 5.373 12 12 12h72c6.627 0 12-5.373 12-12v-72c0-6.627-5.373-12-12-12h-12v-88h88v12c0 6.627 5.373 12 12 12h12v160zm40 64h-32v-32h32v32zm0-256h-32v-32h32v32z"]},faPaperPlane:c,faPauseCircle:{prefix:"far",iconName:"pause-circle",icon:[512,512,[],"f28b","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm96-280v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16zm-112 0v160c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16z"]},faPlayCircle:{prefix:"far",iconName:"play-circle",icon:[512,512,[],"f144","M371.7 238l-176-107c-15.8-8.8-35.7 2.5-35.7 21v208c0 18.4 19.8 29.8 35.7 21l176-101c16.4-9.1 16.4-32.8 0-42zM504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256z"]},faPlusSquare:{prefix:"far",iconName:"plus-square",icon:[448,512,[],"f0fe","M352 240v32c0 6.6-5.4 12-12 12h-88v88c0 6.6-5.4 12-12 12h-32c-6.6 0-12-5.4-12-12v-88h-88c-6.6 0-12-5.4-12-12v-32c0-6.6 5.4-12 12-12h88v-88c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v88h88c6.6 0 12 5.4 12 12zm96-160v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"]},faQuestionCircle:{prefix:"far",iconName:"question-circle",icon:[512,512,[],"f059","M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"]},faRegistered:{prefix:"far",iconName:"registered",icon:[512,512,[],"f25d","M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm110.442-81.791c-53.046-96.284-50.25-91.468-53.271-96.085 24.267-13.879 39.482-41.563 39.482-73.176 0-52.503-30.247-85.252-101.498-85.252h-78.667c-6.617 0-12 5.383-12 12V380c0 6.617 5.383 12 12 12h38.568c6.617 0 12-5.383 12-12v-83.663h31.958l47.515 89.303a11.98 11.98 0 0 0 10.593 6.36h42.81c9.14 0 14.914-9.799 10.51-17.791zM256.933 239.906h-33.875v-64.14h27.377c32.417 0 38.929 12.133 38.929 31.709-.001 20.913-11.518 32.431-32.431 32.431z"]},faSadCry:{prefix:"far",iconName:"sad-cry",icon:[496,512,[],"f5b3","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm144 386.4V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v151.4C315.5 447 282.8 456 248 456s-67.5-9-96-24.6V280c0-13.2-10.8-24-24-24s-24 10.8-24 24v114.4c-34.6-36-56-84.7-56-138.4 0-110.3 89.7-200 200-200s200 89.7 200 200c0 53.7-21.4 102.5-56 138.4zM205.8 234.5c4.4-2.4 6.9-7.4 6.1-12.4-4-25.2-34.2-42.1-59.8-42.1s-55.9 16.9-59.8 42.1c-.8 5 1.7 10 6.1 12.4 4.4 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.3 7.9 4.8 13.7 1.6zM344 180c-25.7 0-55.9 16.9-59.8 42.1-.8 5 1.7 10 6.1 12.4 4.5 2.4 9.9 1.8 13.7-1.6l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c2.5 2.2 8 4.7 13.7 1.6 4.4-2.4 6.9-7.4 6.1-12.4-3.9-25.2-34.1-42.1-59.8-42.1zm-96 92c-30.9 0-56 28.7-56 64s25.1 64 56 64 56-28.7 56-64-25.1-64-56-64z"]},faSadTear:{prefix:"far",iconName:"sad-tear",icon:[496,512,[],"f5b4","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm8-152c-13.2 0-24 10.8-24 24s10.8 24 24 24c23.8 0 46.3 10.5 61.6 28.8 8.1 9.8 23.2 11.9 33.8 3.1 10.2-8.5 11.6-23.6 3.1-33.8C330 320.8 294.1 304 256 304zm-88-64c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-165.6 98.8C151 290.1 126 325.4 126 342.9c0 22.7 18.8 41.1 42 41.1s42-18.4 42-41.1c0-17.5-25-52.8-36.4-68.1-2.8-3.7-8.4-3.7-11.2 0z"]},faSave:{prefix:"far",iconName:"save",icon:[448,512,[],"f0c7","M433.941 129.941l-83.882-83.882A48 48 0 0 0 316.118 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V163.882a48 48 0 0 0-14.059-33.941zM272 80v80H144V80h128zm122 352H54a6 6 0 0 1-6-6V86a6 6 0 0 1 6-6h42v104c0 13.255 10.745 24 24 24h176c13.255 0 24-10.745 24-24V83.882l78.243 78.243a6 6 0 0 1 1.757 4.243V426a6 6 0 0 1-6 6zM224 232c-48.523 0-88 39.477-88 88s39.477 88 88 88 88-39.477 88-88-39.477-88-88-88zm0 128c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z"]},faShareSquare:{prefix:"far",iconName:"share-square",icon:[576,512,[],"f14d","M561.938 158.06L417.94 14.092C387.926-15.922 336 5.097 336 48.032v57.198c-42.45 1.88-84.03 6.55-120.76 17.99-35.17 10.95-63.07 27.58-82.91 49.42C108.22 199.2 96 232.6 96 271.94c0 61.697 33.178 112.455 84.87 144.76 37.546 23.508 85.248-12.651 71.02-55.74-15.515-47.119-17.156-70.923 84.11-78.76V336c0 42.993 51.968 63.913 81.94 33.94l143.998-144c18.75-18.74 18.75-49.14 0-67.88zM384 336V232.16C255.309 234.082 166.492 255.35 206.31 376 176.79 357.55 144 324.08 144 271.94c0-109.334 129.14-118.947 240-119.85V48l144 144-144 144zm24.74 84.493a82.658 82.658 0 0 0 20.974-9.303c7.976-4.952 18.286.826 18.286 10.214V464c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h132c6.627 0 12 5.373 12 12v4.486c0 4.917-2.987 9.369-7.569 11.152-13.702 5.331-26.396 11.537-38.05 18.585a12.138 12.138 0 0 1-6.28 1.777H54a6 6 0 0 0-6 6v340a6 6 0 0 0 6 6h340a6 6 0 0 0 6-6v-25.966c0-5.37 3.579-10.059 8.74-11.541z"]},faSmile:{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},faSmileBeam:{prefix:"far",iconName:"smile-beam",icon:[496,512,[],"f5b8","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm84-143.4c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.6-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.2-8.4-25.3-7.1-33.8 3.1zM136.5 211c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4s-52.7 29.3-56 71.4c-.3 3.7 2.1 7.2 5.7 8.3 3.4 1.1 7.4-.5 9.3-3.7l9.5-17zM328 152c-23.8 0-52.7 29.3-56 71.4-.3 3.7 2.1 7.2 5.7 8.3 3.5 1.1 7.4-.5 9.3-3.7l9.5-17c7.7-13.7 19.2-21.6 31.5-21.6s23.8 7.9 31.5 21.6l9.5 17c2.1 3.7 6.2 4.7 9.3 3.7 3.6-1.1 6-4.5 5.7-8.3-3.3-42.1-32.2-71.4-56-71.4z"]},faSmileWink:{prefix:"far",iconName:"smile-wink",icon:[496,512,[],"f4da","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm117.8-146.4c-10.2-8.5-25.3-7.1-33.8 3.1-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8zM168 240c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-60c-25.7 0-55.9 16.9-59.9 42.1-1.7 11.2 11.5 18.2 19.8 10.8l9.5-8.5c14.8-13.2 46.2-13.2 61 0l9.5 8.5c8.5 7.4 21.6.3 19.8-10.8-3.8-25.2-34-42.1-59.7-42.1z"]},faSnowflake:{prefix:"far",iconName:"snowflake",icon:[448,512,[],"f2dc","M440.1 355.2l-39.2-23 34.1-9.3c8.4-2.3 13.4-11.1 11.1-19.6l-4.1-15.5c-2.2-8.5-10.9-13.6-19.3-11.3L343 298.2 271.2 256l71.9-42.2 79.7 21.7c8.4 2.3 17-2.8 19.3-11.3l4.1-15.5c2.2-8.5-2.7-17.3-11.1-19.6l-34.1-9.3 39.2-23c7.5-4.4 10.1-14.2 5.8-21.9l-7.9-13.9c-4.3-7.7-14-10.3-21.5-5.9l-39.2 23 9.1-34.7c2.2-8.5-2.7-17.3-11.1-19.6l-15.2-4.1c-8.4-2.3-17 2.8-19.3 11.3l-21.3 81-71.9 42.2v-84.5L306 70.4c6.1-6.2 6.1-16.4 0-22.6l-11.1-11.3c-6.1-6.2-16.1-6.2-22.2 0l-24.9 25.4V16c0-8.8-7-16-15.7-16h-15.7c-8.7 0-15.7 7.2-15.7 16v46.1l-24.9-25.4c-6.1-6.2-16.1-6.2-22.2 0L142.1 48c-6.1 6.2-6.1 16.4 0 22.6l58.3 59.3v84.5l-71.9-42.2-21.3-81c-2.2-8.5-10.9-13.6-19.3-11.3L72.7 84c-8.4 2.3-13.4 11.1-11.1 19.6l9.1 34.7-39.2-23c-7.5-4.4-17.1-1.8-21.5 5.9l-7.9 13.9c-4.3 7.7-1.8 17.4 5.8 21.9l39.2 23-34.1 9.1c-8.4 2.3-13.4 11.1-11.1 19.6L6 224.2c2.2 8.5 10.9 13.6 19.3 11.3l79.7-21.7 71.9 42.2-71.9 42.2-79.7-21.7c-8.4-2.3-17 2.8-19.3 11.3l-4.1 15.5c-2.2 8.5 2.7 17.3 11.1 19.6l34.1 9.3-39.2 23c-7.5 4.4-10.1 14.2-5.8 21.9L10 391c4.3 7.7 14 10.3 21.5 5.9l39.2-23-9.1 34.7c-2.2 8.5 2.7 17.3 11.1 19.6l15.2 4.1c8.4 2.3 17-2.8 19.3-11.3l21.3-81 71.9-42.2v84.5l-58.3 59.3c-6.1 6.2-6.1 16.4 0 22.6l11.1 11.3c6.1 6.2 16.1 6.2 22.2 0l24.9-25.4V496c0 8.8 7 16 15.7 16h15.7c8.7 0 15.7-7.2 15.7-16v-46.1l24.9 25.4c6.1 6.2 16.1 6.2 22.2 0l11.1-11.3c6.1-6.2 6.1-16.4 0-22.6l-58.3-59.3v-84.5l71.9 42.2 21.3 81c2.2 8.5 10.9 13.6 19.3 11.3L375 428c8.4-2.3 13.4-11.1 11.1-19.6l-9.1-34.7 39.2 23c7.5 4.4 17.1 1.8 21.5-5.9l7.9-13.9c4.6-7.5 2.1-17.3-5.5-21.7z"]},faSquare:{prefix:"far",iconName:"square",icon:[448,512,[],"f0c8","M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"]},faStar:{prefix:"far",iconName:"star",icon:[576,512,[],"f005","M528.1 171.5L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6zM388.6 312.3l23.7 138.4L288 385.4l-124.3 65.3 23.7-138.4-100.6-98 139-20.2 62.2-126 62.2 126 139 20.2-100.6 98z"]},faStarHalf:{prefix:"far",iconName:"star-half",icon:[576,512,[],"f089","M288 385.3l-124.3 65.4 23.7-138.4-100.6-98 139-20.2 62.2-126V0c-11.4 0-22.8 5.9-28.7 17.8L194 150.2 47.9 171.4c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.1 23 46 46.4 33.7L288 439.6v-54.3z"]},faStickyNote:{prefix:"far",iconName:"sticky-note",icon:[448,512,[],"f249","M448 348.106V80c0-26.51-21.49-48-48-48H48C21.49 32 0 53.49 0 80v351.988c0 26.51 21.49 48 48 48h268.118a48 48 0 0 0 33.941-14.059l83.882-83.882A48 48 0 0 0 448 348.106zm-128 80v-76.118h76.118L320 428.106zM400 80v223.988H296c-13.255 0-24 10.745-24 24v104H48V80h352z"]},faStopCircle:{prefix:"far",iconName:"stop-circle",icon:[512,512,[],"f28d","M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm296-80v160c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h160c8.8 0 16 7.2 16 16z"]},faSun:{prefix:"far",iconName:"sun",icon:[512,512,[],"f185","M494.2 221.9l-59.8-40.5 13.7-71c2.6-13.2-1.6-26.8-11.1-36.4-9.6-9.5-23.2-13.7-36.2-11.1l-70.9 13.7-40.4-59.9c-15.1-22.3-51.9-22.3-67 0l-40.4 59.9-70.8-13.7C98 60.4 84.5 64.5 75 74.1c-9.5 9.6-13.7 23.1-11.1 36.3l13.7 71-59.8 40.5C6.6 229.5 0 242 0 255.5s6.7 26 17.8 33.5l59.8 40.5-13.7 71c-2.6 13.2 1.6 26.8 11.1 36.3 9.5 9.5 22.9 13.7 36.3 11.1l70.8-13.7 40.4 59.9C230 505.3 242.6 512 256 512s26-6.7 33.5-17.8l40.4-59.9 70.9 13.7c13.4 2.7 26.8-1.6 36.3-11.1 9.5-9.5 13.6-23.1 11.1-36.3l-13.7-71 59.8-40.5c11.1-7.5 17.8-20.1 17.8-33.5-.1-13.6-6.7-26.1-17.9-33.7zm-112.9 85.6l17.6 91.2-91-17.6L256 458l-51.9-77-90.9 17.6 17.6-91.2-76.8-52 76.8-52-17.6-91.2 91 17.6L256 53l51.9 76.9 91-17.6-17.6 91.1 76.8 52-76.8 52.1zM256 152c-57.3 0-104 46.7-104 104s46.7 104 104 104 104-46.7 104-104-46.7-104-104-104zm0 160c-30.9 0-56-25.1-56-56s25.1-56 56-56 56 25.1 56 56-25.1 56-56 56z"]},faSurprise:{prefix:"far",iconName:"surprise",icon:[496,512,[],"f5c2","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-176c-35.3 0-64 28.7-64 64s28.7 64 64 64 64-28.7 64-64-28.7-64-64-64zm-48-72c0-17.7-14.3-32-32-32s-32 14.3-32 32 14.3 32 32 32 32-14.3 32-32zm128-32c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"]},faThumbsDown:{prefix:"far",iconName:"thumbs-down",icon:[512,512,[],"f165","M466.27 225.31c4.674-22.647.864-44.538-8.99-62.99 2.958-23.868-4.021-48.565-17.34-66.99C438.986 39.423 404.117 0 327 0c-7 0-15 .01-22.22.01C201.195.01 168.997 40 128 40h-10.845c-5.64-4.975-13.042-8-21.155-8H32C14.327 32 0 46.327 0 64v240c0 17.673 14.327 32 32 32h64c11.842 0 22.175-6.438 27.708-16h7.052c19.146 16.953 46.013 60.653 68.76 83.4 13.667 13.667 10.153 108.6 71.76 108.6 57.58 0 95.27-31.936 95.27-104.73 0-18.41-3.93-33.73-8.85-46.54h36.48c48.602 0 85.82-41.565 85.82-85.58 0-19.15-4.96-34.99-13.73-49.84zM64 296c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm330.18 16.73H290.19c0 37.82 28.36 55.37 28.36 94.54 0 23.75 0 56.73-47.27 56.73-18.91-18.91-9.46-66.18-37.82-94.54C206.9 342.89 167.28 272 138.92 272H128V85.83c53.611 0 100.001-37.82 171.64-37.82h37.82c35.512 0 60.82 17.12 53.12 65.9 15.2 8.16 26.5 36.44 13.94 57.57 21.581 20.384 18.699 51.065 5.21 65.62 9.45 0 22.36 18.91 22.27 37.81-.09 18.91-16.71 37.82-37.82 37.82z"]},faThumbsUp:{prefix:"far",iconName:"thumbs-up",icon:[512,512,[],"f164","M466.27 286.69C475.04 271.84 480 256 480 236.85c0-44.015-37.218-85.58-85.82-85.58H357.7c4.92-12.81 8.85-28.13 8.85-46.54C366.55 31.936 328.86 0 271.28 0c-61.607 0-58.093 94.933-71.76 108.6-22.747 22.747-49.615 66.447-68.76 83.4H32c-17.673 0-32 14.327-32 32v240c0 17.673 14.327 32 32 32h64c14.893 0 27.408-10.174 30.978-23.95 44.509 1.001 75.06 39.94 177.802 39.94 7.22 0 15.22.01 22.22.01 77.117 0 111.986-39.423 112.94-95.33 13.319-18.425 20.299-43.122 17.34-66.99 9.854-18.452 13.664-40.343 8.99-62.99zm-61.75 53.83c12.56 21.13 1.26 49.41-13.94 57.57 7.7 48.78-17.608 65.9-53.12 65.9h-37.82c-71.639 0-118.029-37.82-171.64-37.82V240h10.92c28.36 0 67.98-70.89 94.54-97.46 28.36-28.36 18.91-75.63 37.82-94.54 47.27 0 47.27 32.98 47.27 56.73 0 39.17-28.36 56.72-28.36 94.54h103.99c21.11 0 37.73 18.91 37.82 37.82.09 18.9-12.82 37.81-22.27 37.81 13.489 14.555 16.371 45.236-5.21 65.62zM88 432c0 13.255-10.745 24-24 24s-24-10.745-24-24 10.745-24 24-24 24 10.745 24 24z"]},faTimesCircle:{prefix:"far",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm101.8-262.2L295.6 256l62.2 62.2c4.7 4.7 4.7 12.3 0 17l-22.6 22.6c-4.7 4.7-12.3 4.7-17 0L256 295.6l-62.2 62.2c-4.7 4.7-12.3 4.7-17 0l-22.6-22.6c-4.7-4.7-4.7-12.3 0-17l62.2-62.2-62.2-62.2c-4.7-4.7-4.7-12.3 0-17l22.6-22.6c4.7-4.7 12.3-4.7 17 0l62.2 62.2 62.2-62.2c4.7-4.7 12.3-4.7 17 0l22.6 22.6c4.7 4.7 4.7 12.3 0 17z"]},faTired:{prefix:"far",iconName:"tired",icon:[496,512,[],"f5c8","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm129.1-303.8c-3.8-4.4-10.3-5.4-15.3-2.5l-80 48c-3.6 2.2-5.8 6.1-5.8 10.3s2.2 8.1 5.8 10.3l80 48c5.4 3.2 11.8 1.6 15.3-2.5 3.8-4.5 3.9-11 .1-15.5L343.6 208l33.6-40.3c3.8-4.5 3.7-11.1-.1-15.5zM220 208c0-4.2-2.2-8.1-5.8-10.3l-80-48c-5-3-11.5-1.9-15.3 2.5-3.8 4.5-3.9 11-.1 15.5l33.6 40.3-33.6 40.3c-3.8 4.5-3.7 11 .1 15.5 3.5 4.1 9.9 5.7 15.3 2.5l80-48c3.6-2.2 5.8-6.1 5.8-10.3zm28 64c-45.4 0-100.9 38.3-107.8 93.3-1.5 11.8 6.9 21.6 15.5 17.9C178.4 373.5 212 368 248 368s69.6 5.5 92.3 15.2c8.5 3.7 17-6 15.5-17.9-6.9-55-62.4-93.3-107.8-93.3z"]},faTrashAlt:{prefix:"far",iconName:"trash-alt",icon:[448,512,[],"f2ed","M268 416h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12zM432 80h-82.41l-34-56.7A48 48 0 0 0 274.41 0H173.59a48 48 0 0 0-41.16 23.3L98.41 80H16A16 16 0 0 0 0 96v16a16 16 0 0 0 16 16h16v336a48 48 0 0 0 48 48h288a48 48 0 0 0 48-48V128h16a16 16 0 0 0 16-16V96a16 16 0 0 0-16-16zM171.84 50.91A6 6 0 0 1 177 48h94a6 6 0 0 1 5.15 2.91L293.61 80H154.39zM368 464H80V128h288zm-212-48h24a12 12 0 0 0 12-12V188a12 12 0 0 0-12-12h-24a12 12 0 0 0-12 12v216a12 12 0 0 0 12 12z"]},faUser:{prefix:"far",iconName:"user",icon:[448,512,[],"f007","M313.6 304c-28.7 0-42.5 16-89.6 16-47.1 0-60.8-16-89.6-16C60.2 304 0 364.2 0 438.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-25.6c0-74.2-60.2-134.4-134.4-134.4zM400 464H48v-25.6c0-47.6 38.8-86.4 86.4-86.4 14.6 0 38.3 16 89.6 16 51.7 0 74.9-16 89.6-16 47.6 0 86.4 38.8 86.4 86.4V464zM224 288c79.5 0 144-64.5 144-144S303.5 0 224 0 80 64.5 80 144s64.5 144 144 144zm0-240c52.9 0 96 43.1 96 96s-43.1 96-96 96-96-43.1-96-96 43.1-96 96-96z"]},faUserCircle:{prefix:"far",iconName:"user-circle",icon:[496,512,[],"f2bd","M248 104c-53 0-96 43-96 96s43 96 96 96 96-43 96-96-43-96-96-96zm0 144c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm0-240C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-49.7 0-95.1-18.3-130.1-48.4 14.9-23 40.4-38.6 69.6-39.5 20.8 6.4 40.6 9.6 60.5 9.6s39.7-3.1 60.5-9.6c29.2 1 54.7 16.5 69.6 39.5-35 30.1-80.4 48.4-130.1 48.4zm162.7-84.1c-24.4-31.4-62.1-51.9-105.1-51.9-10.2 0-26 9.6-57.6 9.6-31.5 0-47.4-9.6-57.6-9.6-42.9 0-80.6 20.5-105.1 51.9C61.9 339.2 48 299.2 48 256c0-110.3 89.7-200 200-200s200 89.7 200 200c0 43.2-13.9 83.2-37.3 115.9z"]},faWindowClose:{prefix:"far",iconName:"window-close",icon:[512,512,[],"f410","M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v340zM356.5 194.6L295.1 256l61.4 61.4c4.6 4.6 4.6 12.1 0 16.8l-22.3 22.3c-4.6 4.6-12.1 4.6-16.8 0L256 295.1l-61.4 61.4c-4.6 4.6-12.1 4.6-16.8 0l-22.3-22.3c-4.6-4.6-4.6-12.1 0-16.8l61.4-61.4-61.4-61.4c-4.6-4.6-4.6-12.1 0-16.8l22.3-22.3c4.6-4.6 12.1-4.6 16.8 0l61.4 61.4 61.4-61.4c4.6-4.6 12.1-4.6 16.8 0l22.3 22.3c4.7 4.6 4.7 12.1 0 16.8z"]},faWindowMaximize:{prefix:"far",iconName:"window-maximize",icon:[512,512,[],"f2d0","M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 394c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V192h416v234z"]},faWindowMinimize:{prefix:"far",iconName:"window-minimize",icon:[512,512,[],"f2d1","M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"]},faWindowRestore:{prefix:"far",iconName:"window-restore",icon:[512,512,[],"f2d2","M464 0H144c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v320c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h48c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zm-96 464H48V256h320v208zm96-96h-48V144c0-26.5-21.5-48-48-48H144V48h320v320z"]}}},vs8G:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin-account",function(){var e=t("WrI5");return{page:e.default||e}}])}},[["vs8G","5d41","9da1","ad9d"]]]);
import { StyleSheet, Dimensions,Platform } from "react-native"; import {Color } from '../utils/Colors'; export const styles = StyleSheet.create({ subHeader:{ flex: 3, backgroundColor: Color.BACKGROUND_COLOR }, viewStyle:{ width: "100%", height: 44, backgroundColor: "white", marginTop: 5, borderWidth: Platform.OS === "ios" ? 0.2 : 0.4, borderRadius: 3 }, backIcon:{ height: 40, width: 40, alignContent: 'center', justifyContent: 'center' }, headerTitleStyle: { fontSize: 17, color: "#636863", alignContent: 'center', justifyContent: 'center', marginLeft: Platform.OS === "ios" ? 0 : -20 } })
module.exports = { mode: 'jit', darkMode: false, theme: { container: { center: true, padding: '1.5rem', }, debugScreens: { position: ['bottom', 'right'], }, extend: {}, }, plugins: [ require('@tailwindcss/forms'), require('@tailwindcss/typography'), require('tailwindcss-debug-screens'), ], purge: ['./src/**/*.{js,md,njk,svg}'], extend: { typography: { css: { h1: { fontSize: '3.5rem', //Trying to make h1 big like in https://trash.farm marginBottom: '0', }, }, }, }, }
from torch.nn import ( AvgPool2d, Conv2d, CrossEntropyLoss, Dropout, Flatten, Linear, MaxPool2d, MSELoss, ReLU, Sigmoid, Tanh, ZeroPad2d, ) from backpack.extensions.backprop_extension import BackpropExtension from backpack.extensions.curvature import Curvature from backpack.extensions.secondorder.hbp.hbp_options import ( BackpropStrategy, ExpectationApproximation, LossHessianStrategy, ) from . import activations, conv2d, dropout, flatten, linear, losses, padding, pooling class HBP(BackpropExtension): def __init__( self, curv_type, loss_hessian_strategy, backprop_strategy, ea_strategy, savefield="hbp", ): self.curv_type = curv_type self.loss_hessian_strategy = loss_hessian_strategy self.backprop_strategy = backprop_strategy self.ea_strategy = ea_strategy super().__init__( savefield=savefield, fail_mode="ERROR", module_exts={ MSELoss: losses.HBPMSELoss(), CrossEntropyLoss: losses.HBPCrossEntropyLoss(), Linear: linear.HBPLinear(), MaxPool2d: pooling.HBPMaxpool2d(), AvgPool2d: pooling.HBPAvgPool2d(), ZeroPad2d: padding.HBPZeroPad2d(), Conv2d: conv2d.HBPConv2d(), Dropout: dropout.HBPDropout(), Flatten: flatten.HBPFlatten(), ReLU: activations.HBPReLU(), Sigmoid: activations.HBPSigmoid(), Tanh: activations.HBPTanh(), }, ) def get_curv_type(self): return self.curv_type def get_loss_hessian_strategy(self): return self.loss_hessian_strategy def get_backprop_strategy(self): return self.backprop_strategy def get_ea_strategy(self): return self.ea_strategy class KFAC(HBP): """ Approximate Kronecker factorization of the Generalized Gauss-Newton/Fisher using Monte-Carlo sampling. Stores the output in :code:`kfac` as a list of Kronecker factors. - If there is only one element, the item represents the GGN/Fisher approximation itself. - If there are multiple elements, they are arranged in the order such that their Kronecker product represents the Generalized Gauss-Newton/Fisher approximation. - The dimension of the factors depends on the layer, but the product of all row dimensions (or column dimensions) yields the dimension of the layer parameter. .. note:: The literature uses column-stacking as vectorization convention. This is in contrast to the default row-major storing scheme of tensors in :code:`torch`. Therefore, the order of factors differs from the presentation in the literature. Implements the procedures described by - `Optimizing Neural Networks with Kronecker-factored Approximate Curvature <http://proceedings.mlr.press/v37/martens15.html>`_ by James Martens and Roger Grosse, 2015. - `A Kronecker-factored approximate Fisher matrix for convolution layers <http://proceedings.mlr.press/v48/grosse16.html>`_ by Roger Grosse and James Martens, 2016 """ def __init__(self, mc_samples=1): self._mc_samples = mc_samples super().__init__( curv_type=Curvature.GGN, loss_hessian_strategy=LossHessianStrategy.SAMPLING, backprop_strategy=BackpropStrategy.SQRT, ea_strategy=ExpectationApproximation.BOTEV_MARTENS, savefield="kfac", ) def get_num_mc_samples(self): return self._mc_samples class KFRA(HBP): """ Approximate Kronecker factorization of the Generalized Gauss-Newton/Fisher using the full Hessian of the loss function w.r.t. the model output and averaging after every backpropagation step. Stores the output in :code:`kfra` as a list of Kronecker factors. - If there is only one element, the item represents the GGN/Fisher approximation itself. - If there are multiple elements, they are arranged in the order such that their Kronecker product represents the Generalized Gauss-Newton/Fisher approximation. - The dimension of the factors depends on the layer, but the product of all row dimensions (or column dimensions) yields the dimension of the layer parameter. .. note:: The literature uses column-stacking as vectorization convention. This is in contrast to the default row-major storing scheme of tensors in :code:`torch`. Therefore, the order of factors differs from the presentation in the literature. - `Practical Gauss-Newton Optimisation for Deep Learning <http://proceedings.mlr.press/v70/botev17a.html>`_ by Aleksandar Botev, Hippolyt Ritter and David Barber, 2017. Extended for convolutions following - `A Kronecker-factored approximate Fisher matrix for convolution layers <http://proceedings.mlr.press/v48/grosse16.html>`_ by Roger Grosse and James Martens, 2016 """ def __init__(self): super().__init__( curv_type=Curvature.GGN, loss_hessian_strategy=LossHessianStrategy.SUM, backprop_strategy=BackpropStrategy.BATCH_AVERAGE, ea_strategy=ExpectationApproximation.BOTEV_MARTENS, savefield="kfra", ) class KFLR(HBP): """ Approximate Kronecker factorization of the Generalized Gauss-Newton/Fisher using the full Hessian of the loss function w.r.t. the model output. Stores the output in :code:`kflr` as a list of Kronecker factors. - If there is only one element, the item represents the GGN/Fisher approximation itself. - If there are multiple elements, they are arranged in the order such that their Kronecker product represents the Generalized Gauss-Newton/Fisher approximation. - The dimension of the factors depends on the layer, but the product of all row dimensions (or column dimensions) yields the dimension of the layer parameter. .. note:: The literature uses column-stacking as vectorization convention. This is in contrast to the default row-major storing scheme of tensors in :code:`torch`. Therefore, the order of factors differs from the presentation in the literature. Implements the procedures described by - `Practical Gauss-Newton Optimisation for Deep Learning <http://proceedings.mlr.press/v70/botev17a.html>`_ by Aleksandar Botev, Hippolyt Ritter and David Barber, 2017. Extended for convolutions following - `A Kronecker-factored approximate Fisher matrix for convolution layers <http://proceedings.mlr.press/v48/grosse16.html>`_ by Roger Grosse and James Martens, 2016 """ def __init__(self): super().__init__( curv_type=Curvature.GGN, loss_hessian_strategy=LossHessianStrategy.EXACT, backprop_strategy=BackpropStrategy.SQRT, ea_strategy=ExpectationApproximation.BOTEV_MARTENS, savefield="kflr", )
var searchData= [ ['network_2eh',['Network.h',['../db/d9e/_network_8h.html',1,'']]], ['networkinterfaces_2eh',['NetworkInterfaces.h',['../d1/dc9/_network_interfaces_8h.html',1,'']]] ];
import os, sys import unittest import shutil import inspect from configobj import ConfigObj from threading import Event if sys.path[0] != '.': sys.path.insert(0, os.path.abspath('.')) from lib.events import EventList from lib.jobstatus import JobStatus from lib.util import print_message from lib.filemanager import FileManager from lib.runmanager import RunManager from lib.initialize import initialize from jobs.amwg import AMWG from jobs.diag import Diag class TestAMWGDiagnostic(unittest.TestCase): def __init__(self, *args, **kwargs): super(TestAMWGDiagnostic, self).__init__(*args, **kwargs) self.config_path = os.path.join( os.getcwd(), 'tests', 'test_configs', 'test_amwg_complete.cfg') self.config = ConfigObj(self.config_path) self.config['global']['run_scripts_path'] = os.path.join( self.config['global']['project_path'], 'output', 'scripts') self.event_list = EventList() def test_amwg_setup(self): """ Test the amwg initialization and data setup works correctly """ print '\n'; print_message('---- Starting Test: {} ----'.format(inspect.stack()[0][3]), 'ok') _args = ['-c', self.config_path] config, filemanager, runmanager = initialize( argv=_args, version="2.0.0", branch="testing", event_list=self.event_list, kill_event=Event(), testing=True) amwg = AMWG( short_name='piControl_testing', case='20180129.DECKv1b_piControl.ne30_oEC.edison', start=1, end=2, comparison='obs', config=self.config) self.assertTrue(isinstance(amwg, Diag)) def test_amwg_prevalidate(self): """ test that the amwg execution (in dry run mode) words correctly """ print '\n'; print_message('---- Starting Test: {} ----'.format(inspect.stack()[0][3]), 'ok') _args = ['-c', self.config_path] config, filemanager, runmanager = initialize( argv=_args, version="2.0.0", branch="testing", event_list=self.event_list, kill_event=Event(), testing=True) self.assertFalse(config is None) self.assertFalse(filemanager is None) self.assertFalse(runmanager is None) def test_amwg_execution_completed_job(self): """ test that when run on a completed set of jobs, amwg recognizes that the run has already taken place and doesnt start again """ print '\n'; print_message('---- Starting Test: {} ----'.format(inspect.stack()[0][3]), 'ok') _args = ['-c', self.config_path, '-r', 'resources/'] config, filemanager, runmanager = initialize( argv=_args, version="2.0.0", branch="testing", event_list=self.event_list, kill_event=Event(), testing=True) config['global']['dryrun'] = True runmanager.check_data_ready() runmanager.start_ready_jobs() for case in runmanager.cases: for job in case['jobs']: if job.job_type == 'amwg': job.setup_data( config=config, filemanager=filemanager, case='20180129.DECKv1b_piControl.ne30_oEC.edison') job.execute( config=config, dryrun=True) self.assertEquals( job.status, JobStatus.COMPLETED) if __name__ == '__main__': unittest.main()
let mix = require('laravel-mix') .version(); mix.js('resources/assets/js/app.js', 'public/js');
var MF = MF || {};MF.RecordingData = MF.RecordingData || {};MF.RecordingData["07271582e18b6cefefa00b0582642d8b720078b6"] = { "startTime": "2020-07-27T19:08:18.0985574Z", "websitePageUrl": "/my-store/dashboard", "visitTime": 670008, "engagementTime": 110666, "pageTitle": "Mi Tienda | Canasta Rosa", "url": "https://canastarosa.com/my-store/dashboard", "viewportWidth": 1920, "viewportHeight": 937, "tags": [ "form-interact", "mouse-out" ], "session": { "id": "1e43a2e523bee89641c88625134b44e5", "token": "", "created": "2020-07-27T19:08:18.0985574+00:00", "lastActivity": "0001-01-01T00:00:00+00:00", "pages": 0, "duration": 0, "engagementTime": 0, "friction": 0, "country": "mx", "region": "", "city": "", "ip": "###.###.###.###", "userAgent": "", "browser": "Chrome", "browserVersion": "", "os": "Windows", "osVersion": "", "device": "Desktop", "referrerType": "", "screenRes": "1920x1080", "tags": [], "variables": [], "watched": false, "starred": false, "lng": 0.0, "lat": 0.0, "gdpr": false, "visitorName": null, "playbackUrl": "https://us.mouseflow.com/websites/4aae544e-8f04-40bf-bcb1-a71087b1475a/recordings/1e43a2e523bee89641c88625134b44e5/play" }, "events": [ { "t": 103, "e": 103, "ty": 0, "x": 1920, "y": 937 }, { "t": 1916, "e": 1916, "ty": 38, "x": 1, "y": 0 }, { "t": 1944, "e": 1944, "ty": 38, "x": 2, "y": 0 }, { "t": 2125, "e": 2125, "ty": 38, "x": 3, "y": 0 }, { "t": 2250, "e": 2250, "ty": 38, "x": 4, "y": 0 }, { "t": 2265, "e": 2265, "ty": 38, "x": 5, "y": 0 }, { "t": 2411, "e": 2411, "ty": 38, "x": 6, "y": 0 }, { "t": 2547, "e": 2547, "ty": 38, "x": 7, "y": 0 }, { "t": 2706, "e": 2706, "ty": 38, "x": 8, "y": 0 }, { "t": 2726, "e": 2726, "ty": 38, "x": 9, "y": 0 }, { "t": 2890, "e": 2890, "ty": 38, "x": 10, "y": 0 }, { "t": 2897, "e": 2897, "ty": 38, "x": 11, "y": 0 }, { "t": 3122, "e": 3122, "ty": 38, "x": 12, "y": 0 }, { "t": 3125, "e": 3125, "ty": 38, "x": 13, "y": 0 }, { "t": 3193, "e": 3193, "ty": 38, "x": 14, "y": 0 }, { "t": 3241, "e": 3241, "ty": 38, "x": 15, "y": 0 }, { "t": 3247, "e": 3247, "ty": 38, "x": 16, "y": 0 }, { "t": 3254, "e": 3254, "ty": 38, "x": 17, "y": 0 }, { "t": 3282, "e": 3282, "ty": 38, "x": 18, "y": 0 }, { "t": 4113, "e": 4113, "ty": 38, "x": 19, "y": 0 }, { "t": 4502, "e": 4502, "ty": 2, "x": 952, "y": 235 }, { "t": 4701, "e": 4701, "ty": 2, "x": 951, "y": 237 }, { "t": 4793, "e": 4793, "ty": 6, "x": 824, "y": 342, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 4801, "e": 4801, "ty": 2, "x": 824, "y": 342 }, { "t": 4810, "e": 4810, "ty": 7, "x": 751, "y": 391, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 4902, "e": 4902, "ty": 2, "x": 658, "y": 436 }, { "t": 5001, "e": 5001, "ty": 2, "x": 664, "y": 406 }, { "t": 5010, "e": 5010, "ty": 6, "x": 668, "y": 382, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 5101, "e": 5101, "ty": 2, "x": 673, "y": 351 }, { "t": 5239, "e": 5239, "ty": 38, "x": 20, "y": 0 }, { "t": 5241, "e": 5241, "ty": 3, "x": 673, "y": 351, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a > div" }, { "t": 5267, "e": 5267, "ty": 38, "x": 21, "y": 0 }, { "t": 5302, "e": 5302, "ty": 4, "x": 55407, "y": 53599, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a > div" }, { "t": 5307, "e": 5307, "ty": 5, "x": 673, "y": 351, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 5357, "e": 5357, "ty": 38, "x": 22, "y": 0 }, { "t": 5458, "e": 5458, "ty": 38, "x": 23, "y": 0 }, { "t": 5601, "e": 5601, "ty": 38, "x": 24, "y": 0 }, { "t": 5909, "e": 5909, "ty": 38, "x": 25, "y": 0 }, { "t": 6220, "e": 6220, "ty": 38, "x": 26, "y": 0 }, { "t": 7301, "e": 7301, "ty": 2, "x": 593, "y": 317 }, { "t": 7402, "e": 7402, "ty": 2, "x": 528, "y": 288 }, { "t": 7500, "e": 7500, "ty": 2, "x": 530, "y": 282 }, { "t": 7600, "e": 7599, "ty": 2, "x": 545, "y": 275 }, { "t": 7702, "e": 7701, "ty": 2, "x": 560, "y": 270 }, { "t": 7802, "e": 7801, "ty": 2, "x": 604, "y": 265 }, { "t": 7902, "e": 7901, "ty": 2, "x": 654, "y": 257 }, { "t": 8001, "e": 8000, "ty": 2, "x": 690, "y": 253 }, { "t": 8102, "e": 8101, "ty": 2, "x": 751, "y": 253 }, { "t": 8202, "e": 8201, "ty": 2, "x": 851, "y": 254 }, { "t": 8301, "e": 8300, "ty": 2, "x": 908, "y": 261 }, { "t": 8700, "e": 8699, "ty": 2, "x": 721, "y": 211 }, { "t": 8801, "e": 8800, "ty": 2, "x": 628, "y": 204 }, { "t": 8901, "e": 8900, "ty": 2, "x": 450, "y": 129 }, { "t": 9001, "e": 9000, "ty": 2, "x": 347, "y": 130 }, { "t": 9100, "e": 9099, "ty": 2, "x": 222, "y": 421 }, { "t": 9159, "e": 9158, "ty": 6, "x": 194, "y": 423, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3]" }, { "t": 9159, "e": 9158, "ty": 6, "x": 194, "y": 423, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3] > a" }, { "t": 9201, "e": 9200, "ty": 2, "x": 158, "y": 423 }, { "t": 9292, "e": 9291, "ty": 7, "x": 129, "y": 382, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3] > a" }, { "t": 9292, "e": 9291, "ty": 7, "x": 129, "y": 382, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3]" }, { "t": 9292, "e": 9291, "ty": 6, "x": 129, "y": 382, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2]" }, { "t": 9293, "e": 9292, "ty": 6, "x": 129, "y": 382, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2] > a" }, { "t": 9301, "e": 9300, "ty": 2, "x": 129, "y": 382 }, { "t": 9342, "e": 9341, "ty": 7, "x": 132, "y": 362, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2] > a" }, { "t": 9342, "e": 9341, "ty": 7, "x": 132, "y": 362, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2]" }, { "t": 9342, "e": 9341, "ty": 6, "x": 132, "y": 362, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 9343, "e": 9342, "ty": 6, "x": 132, "y": 362, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 9400, "e": 9399, "ty": 2, "x": 133, "y": 356 }, { "t": 9535, "e": 9500, "ty": 3, "x": 133, "y": 355, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 9602, "e": 9567, "ty": 2, "x": 133, "y": 355 }, { "t": 9607, "e": 9572, "ty": 4, "x": 42316, "y": 47775, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 9614, "e": 9579, "ty": 5, "x": 133, "y": 355, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 9653, "e": 9618, "ty": 38, "x": 27, "y": 0 }, { "t": 9700, "e": 9665, "ty": 2, "x": 133, "y": 354 }, { "t": 9801, "e": 9766, "ty": 2, "x": 209, "y": 334 }, { "t": 9809, "e": 9774, "ty": 7, "x": 279, "y": 326, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 9809, "e": 9774, "ty": 7, "x": 279, "y": 326, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 9842, "e": 9807, "ty": 6, "x": 437, "y": 302, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 9859, "e": 9824, "ty": 7, "x": 500, "y": 294, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 9901, "e": 9866, "ty": 2, "x": 578, "y": 293 }, { "t": 10000, "e": 9965, "ty": 2, "x": 603, "y": 292 }, { "t": 10042, "e": 10007, "ty": 6, "x": 605, "y": 299, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 10101, "e": 10066, "ty": 2, "x": 605, "y": 307 }, { "t": 10192, "e": 10157, "ty": 7, "x": 563, "y": 318, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 10193, "e": 10158, "ty": 6, "x": 563, "y": 318, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 10202, "e": 10167, "ty": 2, "x": 563, "y": 318 }, { "t": 10302, "e": 10267, "ty": 2, "x": 513, "y": 319 }, { "t": 10401, "e": 10366, "ty": 2, "x": 510, "y": 320 }, { "t": 10439, "e": 10404, "ty": 3, "x": 509, "y": 320, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 10501, "e": 10466, "ty": 2, "x": 509, "y": 320 }, { "t": 10511, "e": 10476, "ty": 4, "x": 55615, "y": 21855, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 10511, "e": 10476, "ty": 5, "x": 509, "y": 320, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 10544, "e": 10509, "ty": 38, "x": 28, "y": 0 }, { "t": 10918, "e": 10883, "ty": 38, "x": 29, "y": 0 }, { "t": 11199, "e": 11164, "ty": 38, "x": 30, "y": 0 }, { "t": 13701, "e": 13666, "ty": 2, "x": 508, "y": 319 }, { "t": 13801, "e": 13766, "ty": 2, "x": 510, "y": 319 }, { "t": 14601, "e": 14566, "ty": 2, "x": 510, "y": 318 }, { "t": 14701, "e": 14666, "ty": 2, "x": 530, "y": 308 }, { "t": 14802, "e": 14767, "ty": 2, "x": 882, "y": 369 }, { "t": 14902, "e": 14867, "ty": 2, "x": 1041, "y": 414 }, { "t": 15101, "e": 15066, "ty": 2, "x": 979, "y": 412 }, { "t": 15202, "e": 15167, "ty": 2, "x": 844, "y": 394 }, { "t": 16001, "e": 15966, "ty": 2, "x": 843, "y": 392 }, { "t": 16102, "e": 16067, "ty": 2, "x": 791, "y": 319 }, { "t": 16202, "e": 16167, "ty": 2, "x": 814, "y": 238 }, { "t": 16300, "e": 16265, "ty": 2, "x": 825, "y": 223 }, { "t": 16401, "e": 16366, "ty": 2, "x": 880, "y": 197 }, { "t": 16501, "e": 16466, "ty": 2, "x": 898, "y": 191 }, { "t": 16602, "e": 16567, "ty": 2, "x": 899, "y": 190 }, { "t": 16864, "e": 16829, "ty": 3, "x": 899, "y": 190, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[3]" }, { "t": 16935, "e": 16900, "ty": 4, "x": 50429, "y": 26383, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[3]" }, { "t": 16936, "e": 16901, "ty": 5, "x": 899, "y": 190, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[3]" }, { "t": 16966, "e": 16931, "ty": 38, "x": 31, "y": 0 }, { "t": 17222, "e": 17187, "ty": 38, "x": 32, "y": 0 }, { "t": 17238, "e": 17203, "ty": 38, "x": 33, "y": 0 }, { "t": 17501, "e": 17466, "ty": 38, "x": 34, "y": 0 }, { "t": 17801, "e": 17766, "ty": 2, "x": 904, "y": 202 }, { "t": 17841, "e": 17766, "ty": 6, "x": 994, "y": 360, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 17857, "e": 17782, "ty": 7, "x": 1047, "y": 414, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 17901, "e": 17826, "ty": 2, "x": 1134, "y": 479 }, { "t": 18001, "e": 17926, "ty": 2, "x": 1180, "y": 513 }, { "t": 19200, "e": 19125, "ty": 2, "x": 1157, "y": 479 }, { "t": 19301, "e": 19226, "ty": 2, "x": 1128, "y": 454 }, { "t": 19402, "e": 19327, "ty": 2, "x": 1118, "y": 422 }, { "t": 19474, "e": 19399, "ty": 6, "x": 1087, "y": 387, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 19500, "e": 19425, "ty": 2, "x": 1080, "y": 384 }, { "t": 19602, "e": 19527, "ty": 2, "x": 1076, "y": 382 }, { "t": 19702, "e": 19627, "ty": 2, "x": 1076, "y": 379 }, { "t": 20001, "e": 19926, "ty": 3, "x": 1076, "y": 378, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 20002, "e": 19927, "ty": 2, "x": 1076, "y": 378 }, { "t": 20041, "e": 19966, "ty": 4, "x": 39070, "y": 49280, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 20044, "e": 19969, "ty": 5, "x": 1076, "y": 378, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 20054, "e": 19979, "ty": 38, "x": 35, "y": 0 }, { "t": 20336, "e": 20261, "ty": 38, "x": 36, "y": 0 }, { "t": 20336, "e": 20261, "ty": 38, "x": 37, "y": 0 }, { "t": 20370, "e": 20295, "ty": 38, "x": 38, "y": 0 }, { "t": 20890, "e": 20815, "ty": 6, "x": 1159, "y": 374, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > button" }, { "t": 20901, "e": 20826, "ty": 2, "x": 1159, "y": 374 }, { "t": 21002, "e": 20927, "ty": 2, "x": 1252, "y": 374 }, { "t": 21101, "e": 21026, "ty": 2, "x": 1253, "y": 374 }, { "t": 21490, "e": 21415, "ty": 3, "x": 1253, "y": 374, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > button" }, { "t": 21574, "e": 21499, "ty": 4, "x": 26027, "y": 11166, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > button" }, { "t": 21577, "e": 21502, "ty": 5, "x": 1253, "y": 374, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > button" }, { "t": 21591, "e": 21516, "ty": 38, "x": 39, "y": 0 }, { "t": 21873, "e": 21798, "ty": 38, "x": 40, "y": 0 }, { "t": 21873, "e": 21798, "ty": 38, "x": 41, "y": 0 }, { "t": 21905, "e": 21830, "ty": 38, "x": 42, "y": 0 }, { "t": 23422, "e": 23347, "ty": 6, "x": 1245, "y": 376, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > p > a" }, { "t": 23472, "e": 23397, "ty": 7, "x": 1186, "y": 471, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > p > a" }, { "t": 23501, "e": 23426, "ty": 2, "x": 1144, "y": 556 }, { "t": 23601, "e": 23526, "ty": 2, "x": 1086, "y": 667 }, { "t": 23900, "e": 23825, "ty": 2, "x": 1094, "y": 589 }, { "t": 24001, "e": 23926, "ty": 2, "x": 1083, "y": 543 }, { "t": 24801, "e": 24726, "ty": 1, "x": 0, "y": 20 }, { "t": 24901, "e": 24826, "ty": 1, "x": 0, "y": 79 }, { "t": 25002, "e": 24927, "ty": 1, "x": 0, "y": 84 }, { "t": 27727, "e": 27652, "ty": 38, "x": 43, "y": 0 }, { "t": 28902, "e": 28827, "ty": 2, "x": 1081, "y": 633 }, { "t": 29001, "e": 28926, "ty": 2, "x": 1087, "y": 619 }, { "t": 29101, "e": 29026, "ty": 2, "x": 1088, "y": 614 }, { "t": 30001, "e": 29926, "ty": 19, "x": 0, "y": 0 }, { "t": 95302, "e": 34226, "ty": 2, "x": 329, "y": 637 }, { "t": 95403, "e": 34327, "ty": 2, "x": 0, "y": 655 }, { "t": 95503, "e": 34427, "ty": 2, "x": 0, "y": 576 }, { "t": 95591, "e": 34515, "ty": 6, "x": 116, "y": 335, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > div > div:[2] > a" }, { "t": 95602, "e": 34526, "ty": 2, "x": 116, "y": 335 }, { "t": 95702, "e": 34626, "ty": 2, "x": 130, "y": 322 }, { "t": 95803, "e": 34727, "ty": 2, "x": 138, "y": 355 }, { "t": 95808, "e": 34732, "ty": 7, "x": 140, "y": 376, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > div > div:[2] > a" }, { "t": 95858, "e": 34782, "ty": 6, "x": 142, "y": 415, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 95858, "e": 34782, "ty": 6, "x": 142, "y": 415, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 95903, "e": 34827, "ty": 2, "x": 139, "y": 428 }, { "t": 96003, "e": 34927, "ty": 2, "x": 137, "y": 430 }, { "t": 96103, "e": 35027, "ty": 2, "x": 136, "y": 430 }, { "t": 96115, "e": 35039, "ty": 3, "x": 136, "y": 430, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 96171, "e": 35095, "ty": 4, "x": 43440, "y": 29343, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 96174, "e": 35098, "ty": 5, "x": 136, "y": 430, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 96219, "e": 35143, "ty": 38, "x": 44, "y": 0 }, { "t": 96229, "e": 35153, "ty": 1, "x": 0, "y": 0 }, { "t": 96303, "e": 35227, "ty": 2, "x": 155, "y": 350 }, { "t": 96539, "e": 35463, "ty": 7, "x": 164, "y": 365, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 96539, "e": 35463, "ty": 7, "x": 164, "y": 365, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 96539, "e": 35463, "ty": 6, "x": 164, "y": 365, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2]" }, { "t": 96539, "e": 35463, "ty": 6, "x": 164, "y": 365, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2] > a" }, { "t": 96558, "e": 35482, "ty": 7, "x": 192, "y": 402, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2] > a" }, { "t": 96558, "e": 35482, "ty": 7, "x": 192, "y": 402, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[2]" }, { "t": 96559, "e": 35483, "ty": 6, "x": 192, "y": 402, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3]" }, { "t": 96559, "e": 35483, "ty": 6, "x": 192, "y": 402, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3] > a" }, { "t": 96575, "e": 35499, "ty": 7, "x": 216, "y": 415, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3] > a" }, { "t": 96575, "e": 35499, "ty": 7, "x": 216, "y": 415, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li:[3]" }, { "t": 96603, "e": 35527, "ty": 2, "x": 248, "y": 417 }, { "t": 96675, "e": 35599, "ty": 6, "x": 417, "y": 365, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 96702, "e": 35626, "ty": 2, "x": 441, "y": 338 }, { "t": 96778, "e": 35702, "ty": 38, "x": 45, "y": 0 }, { "t": 96803, "e": 35727, "ty": 2, "x": 550, "y": 306 }, { "t": 96808, "e": 35732, "ty": 7, "x": 577, "y": 301, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 96808, "e": 35732, "ty": 6, "x": 577, "y": 301, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 96903, "e": 35827, "ty": 2, "x": 590, "y": 299 }, { "t": 96925, "e": 35849, "ty": 7, "x": 561, "y": 313, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 96925, "e": 35849, "ty": 6, "x": 561, "y": 313, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 97003, "e": 35927, "ty": 2, "x": 547, "y": 322 }, { "t": 97103, "e": 36027, "ty": 2, "x": 519, "y": 328 }, { "t": 97202, "e": 36126, "ty": 2, "x": 513, "y": 327 }, { "t": 97275, "e": 36199, "ty": 3, "x": 511, "y": 327, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 97303, "e": 36227, "ty": 2, "x": 511, "y": 327 }, { "t": 97347, "e": 36271, "ty": 4, "x": 57663, "y": 29023, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 97347, "e": 36271, "ty": 5, "x": 511, "y": 327, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 97385, "e": 36309, "ty": 38, "x": 46, "y": 0 }, { "t": 97690, "e": 36614, "ty": 38, "x": 47, "y": 0 }, { "t": 97706, "e": 36630, "ty": 2, "x": 737, "y": 353 }, { "t": 97803, "e": 36727, "ty": 2, "x": 962, "y": 359 }, { "t": 97903, "e": 36827, "ty": 2, "x": 912, "y": 341 }, { "t": 97977, "e": 36901, "ty": 38, "x": 48, "y": 0 }, { "t": 98003, "e": 36927, "ty": 2, "x": 876, "y": 338 }, { "t": 98102, "e": 37026, "ty": 2, "x": 706, "y": 244 }, { "t": 98203, "e": 37127, "ty": 2, "x": 603, "y": 211 }, { "t": 98303, "e": 37227, "ty": 2, "x": 587, "y": 255 }, { "t": 98402, "e": 37326, "ty": 2, "x": 578, "y": 279 }, { "t": 98503, "e": 37427, "ty": 2, "x": 575, "y": 307 }, { "t": 98603, "e": 37527, "ty": 2, "x": 723, "y": 341 }, { "t": 98703, "e": 37627, "ty": 2, "x": 721, "y": 332 }, { "t": 98802, "e": 37726, "ty": 2, "x": 714, "y": 325 }, { "t": 98907, "e": 37831, "ty": 3, "x": 714, "y": 325, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr:[2] > td:[2]" }, { "t": 98979, "e": 37903, "ty": 4, "x": 40031, "y": 51529, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr:[2] > td:[2]" }, { "t": 98982, "e": 37906, "ty": 5, "x": 714, "y": 325, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr:[2] > td:[2]" }, { "t": 99031, "e": 37955, "ty": 38, "x": 49, "y": 0 }, { "t": 99041, "e": 37965, "ty": 38, "x": 50, "y": 0 }, { "t": 99960, "e": 38884, "ty": 38, "x": 51, "y": 0 }, { "t": 110003, "e": 42964, "ty": 19, "x": 0, "y": 0 }, { "t": 110203, "e": 42964, "ty": 2, "x": 711, "y": 325 }, { "t": 110304, "e": 43065, "ty": 2, "x": 751, "y": 275 }, { "t": 110403, "e": 43164, "ty": 2, "x": 894, "y": 47 }, { "t": 110422, "e": 43183, "ty": 40, "x": 0, "y": 0 }, { "t": 110502, "e": 43263, "ty": 2, "x": 903, "y": 5 }, { "t": 110603, "e": 43364, "ty": 2, "x": 1147, "y": 242 }, { "t": 110704, "e": 43465, "ty": 2, "x": 1124, "y": 299 }, { "t": 110722, "e": 43483, "ty": 6, "x": 1111, "y": 348, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 110773, "e": 43534, "ty": 7, "x": 1100, "y": 403, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 110804, "e": 43565, "ty": 2, "x": 1100, "y": 420 }, { "t": 110903, "e": 43664, "ty": 2, "x": 1125, "y": 435 }, { "t": 111003, "e": 43764, "ty": 2, "x": 1112, "y": 392 }, { "t": 111055, "e": 43816, "ty": 6, "x": 1106, "y": 386, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111104, "e": 43865, "ty": 2, "x": 1103, "y": 380 }, { "t": 111173, "e": 43934, "ty": 7, "x": 1091, "y": 341, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111203, "e": 43964, "ty": 2, "x": 1091, "y": 338 }, { "t": 111222, "e": 43983, "ty": 6, "x": 1091, "y": 343, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111253, "e": 44014, "ty": 3, "x": 1091, "y": 344, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111303, "e": 44064, "ty": 2, "x": 1091, "y": 344 }, { "t": 111340, "e": 44101, "ty": 4, "x": 44630, "y": 2371, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111343, "e": 44104, "ty": 5, "x": 1091, "y": 344, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 111351, "e": 44112, "ty": 38, "x": 52, "y": 0 }, { "t": 111502, "e": 44263, "ty": 2, "x": 1092, "y": 348 }, { "t": 111603, "e": 44364, "ty": 2, "x": 1095, "y": 351 }, { "t": 111633, "e": 44394, "ty": 38, "x": 53, "y": 0 }, { "t": 111633, "e": 44394, "ty": 38, "x": 54, "y": 0 }, { "t": 111726, "e": 44487, "ty": 38, "x": 55, "y": 0 }, { "t": 112004, "e": 44765, "ty": 2, "x": 1091, "y": 354 }, { "t": 112102, "e": 44863, "ty": 2, "x": 1088, "y": 361 }, { "t": 112202, "e": 44963, "ty": 2, "x": 1088, "y": 374 }, { "t": 112303, "e": 45064, "ty": 2, "x": 1111, "y": 399 }, { "t": 112404, "e": 45165, "ty": 2, "x": 1124, "y": 403 }, { "t": 112503, "e": 45264, "ty": 2, "x": 1124, "y": 404 }, { "t": 112603, "e": 45364, "ty": 2, "x": 1116, "y": 411 }, { "t": 112703, "e": 45464, "ty": 2, "x": 1091, "y": 755 }, { "t": 112803, "e": 45564, "ty": 2, "x": 1089, "y": 792 }, { "t": 112903, "e": 45664, "ty": 2, "x": 1077, "y": 776 }, { "t": 113003, "e": 45764, "ty": 2, "x": 1061, "y": 742 }, { "t": 113103, "e": 45864, "ty": 2, "x": 1061, "y": 739 }, { "t": 113189, "e": 45864, "ty": 6, "x": 1071, "y": 696, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 113204, "e": 45879, "ty": 2, "x": 1071, "y": 696 }, { "t": 113303, "e": 45978, "ty": 2, "x": 1073, "y": 690 }, { "t": 116320, "e": 48995, "ty": 3, "x": 1073, "y": 690, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 116438, "e": 49113, "ty": 4, "x": 38738, "y": 52363, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 116443, "e": 49118, "ty": 5, "x": 1073, "y": 690, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 116451, "e": 49126, "ty": 38, "x": 56, "y": 0 }, { "t": 116730, "e": 49405, "ty": 38, "x": 57, "y": 0 }, { "t": 116730, "e": 49405, "ty": 38, "x": 58, "y": 0 }, { "t": 117203, "e": 49878, "ty": 2, "x": 1073, "y": 689 }, { "t": 118660, "e": 51335, "ty": 38, "x": 59, "y": 0 }, { "t": 118802, "e": 51477, "ty": 2, "x": 1070, "y": 695 }, { "t": 118902, "e": 51577, "ty": 2, "x": 1102, "y": 689 }, { "t": 119003, "e": 51678, "ty": 2, "x": 1316, "y": 658 }, { "t": 119104, "e": 51779, "ty": 2, "x": 1325, "y": 656 }, { "t": 119204, "e": 51879, "ty": 2, "x": 1229, "y": 507 }, { "t": 119303, "e": 51978, "ty": 2, "x": 1185, "y": 455 }, { "t": 119503, "e": 52178, "ty": 2, "x": 1183, "y": 455 }, { "t": 119554, "e": 52229, "ty": 6, "x": 1170, "y": 456, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 119603, "e": 52278, "ty": 2, "x": 1163, "y": 456 }, { "t": 119654, "e": 52329, "ty": 7, "x": 1081, "y": 423, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 119688, "e": 52330, "ty": 6, "x": 1021, "y": 368, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 119703, "e": 52345, "ty": 2, "x": 1021, "y": 368 }, { "t": 119803, "e": 52445, "ty": 2, "x": 1006, "y": 340 }, { "t": 119999, "e": 52641, "ty": 3, "x": 1008, "y": 340, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 120002, "e": 52644, "ty": 2, "x": 1008, "y": 340 }, { "t": 120103, "e": 52745, "ty": 2, "x": 1009, "y": 340 }, { "t": 120109, "e": 52751, "ty": 4, "x": 28434, "y": 20336, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 120118, "e": 52760, "ty": 5, "x": 1009, "y": 340, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 120138, "e": 52780, "ty": 7, "x": 1009, "y": 340, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 120139, "e": 52781, "ty": 40, "x": 0, "y": 0 }, { "t": 130297, "e": 57946, "ty": 19, "x": 0, "y": 0 }, { "t": 183005, "e": 57946, "ty": 0, "x": 1920, "y": 888 }, { "t": 183375, "e": 58316, "ty": 6, "x": 602, "y": 31, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 183390, "e": 58331, "ty": 7, "x": 609, "y": 75, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 183403, "e": 58344, "ty": 2, "x": 609, "y": 75 }, { "t": 183504, "e": 58445, "ty": 2, "x": 962, "y": 223 }, { "t": 183604, "e": 58545, "ty": 2, "x": 972, "y": 190 }, { "t": 183703, "e": 58644, "ty": 2, "x": 974, "y": 179 }, { "t": 183805, "e": 58746, "ty": 2, "x": 970, "y": 170 }, { "t": 183903, "e": 58844, "ty": 2, "x": 970, "y": 166 }, { "t": 184004, "e": 58945, "ty": 2, "x": 1100, "y": 412 }, { "t": 184007, "e": 58948, "ty": 6, "x": 1114, "y": 441, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 184103, "e": 59044, "ty": 2, "x": 1121, "y": 452 }, { "t": 184781, "e": 59722, "ty": 3, "x": 1121, "y": 452, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button > span" }, { "t": 184860, "e": 59801, "ty": 4, "x": 54122, "y": 28206, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button > span" }, { "t": 184862, "e": 59803, "ty": 5, "x": 1121, "y": 452, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 184873, "e": 59814, "ty": 38, "x": 60, "y": 0 }, { "t": 185090, "e": 60031, "ty": 6, "x": 1327, "y": 345, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 185104, "e": 60045, "ty": 2, "x": 1327, "y": 345 }, { "t": 185152, "e": 60093, "ty": 38, "x": 61, "y": 0 }, { "t": 185152, "e": 60093, "ty": 38, "x": 62, "y": 0 }, { "t": 185204, "e": 60145, "ty": 2, "x": 1333, "y": 339 }, { "t": 185690, "e": 60631, "ty": 7, "x": 1272, "y": 319, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > a" }, { "t": 185703, "e": 60644, "ty": 2, "x": 1272, "y": 319 }, { "t": 185803, "e": 60744, "ty": 2, "x": 793, "y": 77 }, { "t": 185823, "e": 60764, "ty": 6, "x": 717, "y": 33, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 185903, "e": 60844, "ty": 2, "x": 694, "y": 20 }, { "t": 185923, "e": 60864, "ty": 7, "x": 687, "y": 14, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 186004, "e": 60945, "ty": 2, "x": 657, "y": 4 }, { "t": 186103, "e": 61044, "ty": 2, "x": 654, "y": 4 }, { "t": 186203, "e": 61144, "ty": 2, "x": 654, "y": 11 }, { "t": 186273, "e": 61214, "ty": 6, "x": 652, "y": 16, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 186304, "e": 61245, "ty": 2, "x": 651, "y": 17 }, { "t": 186403, "e": 61344, "ty": 2, "x": 651, "y": 19 }, { "t": 186504, "e": 61445, "ty": 2, "x": 651, "y": 20 }, { "t": 188951, "e": 63892, "ty": 38, "x": 63, "y": 0 }, { "t": 190004, "e": 64945, "ty": 19, "x": 0, "y": 0 }, { "t": 193565, "e": 66445, "ty": 3, "x": 651, "y": 20, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 193669, "e": 66549, "ty": 4, "x": 22034, "y": 15603, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 193672, "e": 66552, "ty": 5, "x": 651, "y": 20, "ta": "#app-container > div > div > div > div > div > div > div > a" }, { "t": 193709, "e": 66589, "ty": 38, "x": 64, "y": 0 }, { "t": 194388, "e": 67268, "ty": 38, "x": 65, "y": 0 }, { "t": 194414, "e": 67294, "ty": 2, "x": 927, "y": 141 }, { "t": 194504, "e": 67384, "ty": 2, "x": 963, "y": 144 }, { "t": 194669, "e": 67549, "ty": 38, "x": 66, "y": 0 }, { "t": 194805, "e": 67685, "ty": 2, "x": 959, "y": 163 }, { "t": 194904, "e": 67784, "ty": 2, "x": 937, "y": 268 }, { "t": 195004, "e": 67884, "ty": 2, "x": 902, "y": 290 }, { "t": 195104, "e": 67984, "ty": 2, "x": 749, "y": 339 }, { "t": 195204, "e": 68084, "ty": 2, "x": 729, "y": 368 }, { "t": 195304, "e": 68184, "ty": 2, "x": 791, "y": 379 }, { "t": 195404, "e": 68284, "ty": 2, "x": 821, "y": 364 }, { "t": 195604, "e": 68484, "ty": 2, "x": 822, "y": 361 }, { "t": 195671, "e": 68551, "ty": 6, "x": 422, "y": 255, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr:[2] > td > a" }, { "t": 195687, "e": 68567, "ty": 7, "x": 329, "y": 242, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr:[2] > td > a" }, { "t": 195704, "e": 68584, "ty": 2, "x": 329, "y": 242 }, { "t": 195803, "e": 68683, "ty": 2, "x": 0, "y": 261 }, { "t": 195904, "e": 68784, "ty": 2, "x": 15, "y": 295 }, { "t": 196004, "e": 68884, "ty": 2, "x": 73, "y": 329 }, { "t": 196087, "e": 68967, "ty": 6, "x": 76, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 196088, "e": 68968, "ty": 6, "x": 76, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 196104, "e": 68984, "ty": 2, "x": 79, "y": 343 }, { "t": 196204, "e": 69084, "ty": 2, "x": 86, "y": 362 }, { "t": 196404, "e": 69284, "ty": 2, "x": 88, "y": 353 }, { "t": 196477, "e": 69357, "ty": 3, "x": 88, "y": 353, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 196566, "e": 69446, "ty": 4, "x": 25465, "y": 43679, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 196569, "e": 69449, "ty": 5, "x": 88, "y": 353, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 196618, "e": 69498, "ty": 38, "x": 67, "y": 0 }, { "t": 196803, "e": 69683, "ty": 2, "x": 183, "y": 353 }, { "t": 196806, "e": 69686, "ty": 7, "x": 218, "y": 353, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 196806, "e": 69686, "ty": 7, "x": 218, "y": 353, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 196854, "e": 69734, "ty": 6, "x": 495, "y": 349, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 196871, "e": 69751, "ty": 7, "x": 593, "y": 349, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 196872, "e": 69752, "ty": 6, "x": 593, "y": 349, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 196904, "e": 69784, "ty": 2, "x": 719, "y": 348 }, { "t": 196920, "e": 69800, "ty": 7, "x": 739, "y": 341, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 196921, "e": 69801, "ty": 6, "x": 739, "y": 341, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 197004, "e": 69884, "ty": 2, "x": 739, "y": 341 }, { "t": 197104, "e": 69984, "ty": 2, "x": 745, "y": 336 }, { "t": 197204, "e": 70084, "ty": 2, "x": 752, "y": 336 }, { "t": 197303, "e": 70183, "ty": 2, "x": 740, "y": 342 }, { "t": 197304, "e": 70184, "ty": 7, "x": 730, "y": 344, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 197304, "e": 70184, "ty": 6, "x": 730, "y": 344, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 197404, "e": 70284, "ty": 2, "x": 638, "y": 360 }, { "t": 197504, "e": 70384, "ty": 2, "x": 596, "y": 352 }, { "t": 197570, "e": 70450, "ty": 7, "x": 564, "y": 342, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 197571, "e": 70451, "ty": 6, "x": 564, "y": 342, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 197603, "e": 70483, "ty": 2, "x": 558, "y": 341 }, { "t": 197704, "e": 70584, "ty": 2, "x": 518, "y": 335 }, { "t": 197804, "e": 70684, "ty": 2, "x": 504, "y": 338 }, { "t": 197904, "e": 70684, "ty": 2, "x": 500, "y": 340 }, { "t": 198998, "e": 71778, "ty": 3, "x": 500, "y": 340, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 199061, "e": 71841, "ty": 4, "x": 46399, "y": 42335, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a > div" }, { "t": 199061, "e": 71841, "ty": 5, "x": 500, "y": 340, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 199097, "e": 71877, "ty": 38, "x": 68, "y": 0 }, { "t": 199386, "e": 72166, "ty": 38, "x": 69, "y": 0 }, { "t": 199662, "e": 72442, "ty": 38, "x": 70, "y": 0 }, { "t": 199904, "e": 72684, "ty": 2, "x": 600, "y": 296 }, { "t": 200003, "e": 72783, "ty": 2, "x": 617, "y": 283 }, { "t": 200103, "e": 72883, "ty": 2, "x": 621, "y": 279 }, { "t": 200203, "e": 72983, "ty": 2, "x": 645, "y": 247 }, { "t": 200304, "e": 73084, "ty": 2, "x": 646, "y": 244 }, { "t": 200604, "e": 73384, "ty": 2, "x": 645, "y": 241 }, { "t": 200614, "e": 73394, "ty": 3, "x": 645, "y": 241, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[2]" }, { "t": 200678, "e": 73458, "ty": 4, "x": 12734, "y": 55898, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[2]" }, { "t": 200680, "e": 73460, "ty": 5, "x": 645, "y": 241, "ta": "#app-container > div > div > div > div > div > div > section > div:[2] > table > tr > td:[2]" }, { "t": 200722, "e": 73502, "ty": 38, "x": 71, "y": 0 }, { "t": 200731, "e": 73511, "ty": 38, "x": 72, "y": 0 }, { "t": 201004, "e": 73784, "ty": 2, "x": 677, "y": 237 }, { "t": 201185, "e": 73965, "ty": 38, "x": 73, "y": 0 }, { "t": 201204, "e": 73984, "ty": 2, "x": 678, "y": 236 }, { "t": 201304, "e": 74084, "ty": 6, "x": 981, "y": 377, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 201305, "e": 74085, "ty": 2, "x": 981, "y": 377 }, { "t": 201320, "e": 74100, "ty": 7, "x": 1066, "y": 426, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 201404, "e": 74184, "ty": 2, "x": 1153, "y": 483 }, { "t": 201503, "e": 74283, "ty": 2, "x": 1142, "y": 488 }, { "t": 201604, "e": 74384, "ty": 2, "x": 1142, "y": 489 }, { "t": 209804, "e": 79584, "ty": 2, "x": 1138, "y": 482 }, { "t": 209904, "e": 79684, "ty": 2, "x": 1175, "y": 366 }, { "t": 210003, "e": 79783, "ty": 2, "x": 1230, "y": 325 }, { "t": 210004, "e": 79784, "ty": 19, "x": 0, "y": 0 }, { "t": 210103, "e": 79882, "ty": 2, "x": 1219, "y": 331 }, { "t": 210151, "e": 79930, "ty": 6, "x": 1142, "y": 344, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 210204, "e": 79983, "ty": 2, "x": 1109, "y": 349 }, { "t": 210343, "e": 80122, "ty": 3, "x": 1109, "y": 349, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 210439, "e": 80218, "ty": 4, "x": 51301, "y": 9269, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 210442, "e": 80221, "ty": 5, "x": 1109, "y": 349, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > button" }, { "t": 210450, "e": 80229, "ty": 38, "x": 74, "y": 0 }, { "t": 210603, "e": 80382, "ty": 2, "x": 1109, "y": 351 }, { "t": 210703, "e": 80482, "ty": 2, "x": 1109, "y": 352 }, { "t": 210731, "e": 80510, "ty": 38, "x": 75, "y": 0 }, { "t": 210732, "e": 80511, "ty": 38, "x": 76, "y": 0 }, { "t": 210786, "e": 80565, "ty": 38, "x": 77, "y": 0 }, { "t": 211304, "e": 81083, "ty": 2, "x": 1108, "y": 352 }, { "t": 211503, "e": 81282, "ty": 2, "x": 1113, "y": 352 }, { "t": 211904, "e": 81683, "ty": 2, "x": 1113, "y": 370 }, { "t": 211985, "e": 81764, "ty": 6, "x": 1039, "y": 663, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 212001, "e": 81780, "ty": 7, "x": 1026, "y": 705, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 212003, "e": 81782, "ty": 2, "x": 1026, "y": 705 }, { "t": 212105, "e": 81884, "ty": 2, "x": 1013, "y": 752 }, { "t": 212204, "e": 81983, "ty": 2, "x": 1011, "y": 753 }, { "t": 212304, "e": 82083, "ty": 2, "x": 1032, "y": 728 }, { "t": 212403, "e": 82182, "ty": 2, "x": 1040, "y": 720 }, { "t": 212468, "e": 82247, "ty": 6, "x": 1046, "y": 697, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 212504, "e": 82283, "ty": 2, "x": 1046, "y": 692 }, { "t": 212603, "e": 82382, "ty": 2, "x": 1045, "y": 684 }, { "t": 212672, "e": 82451, "ty": 3, "x": 1045, "y": 684, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button > span" }, { "t": 212743, "e": 82522, "ty": 4, "x": 25672, "y": 55714, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button > span" }, { "t": 212746, "e": 82525, "ty": 5, "x": 1045, "y": 684, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div > form > div:[4] > button" }, { "t": 212761, "e": 82540, "ty": 38, "x": 78, "y": 0 }, { "t": 213037, "e": 82816, "ty": 38, "x": 79, "y": 0 }, { "t": 213037, "e": 82816, "ty": 38, "x": 80, "y": 0 }, { "t": 213804, "e": 83583, "ty": 2, "x": 1046, "y": 683 }, { "t": 214204, "e": 83983, "ty": 2, "x": 1088, "y": 671 }, { "t": 214303, "e": 84082, "ty": 2, "x": 1553, "y": 595 }, { "t": 214404, "e": 84183, "ty": 2, "x": 1575, "y": 595 }, { "t": 214504, "e": 84283, "ty": 2, "x": 1564, "y": 596 }, { "t": 214604, "e": 84383, "ty": 2, "x": 1517, "y": 612 }, { "t": 214704, "e": 84483, "ty": 2, "x": 1506, "y": 621 }, { "t": 214803, "e": 84532, "ty": 2, "x": 1442, "y": 657 }, { "t": 214904, "e": 84633, "ty": 2, "x": 1441, "y": 657 }, { "t": 215057, "e": 84786, "ty": 38, "x": 81, "y": 0 }, { "t": 216803, "e": 86532, "ty": 2, "x": 1313, "y": 618 }, { "t": 216903, "e": 86632, "ty": 2, "x": 1238, "y": 576 }, { "t": 217004, "e": 86733, "ty": 2, "x": 1117, "y": 507 }, { "t": 217103, "e": 86832, "ty": 2, "x": 1092, "y": 491 }, { "t": 217204, "e": 86933, "ty": 2, "x": 1092, "y": 490 }, { "t": 217403, "e": 87132, "ty": 2, "x": 1118, "y": 496 }, { "t": 217483, "e": 87212, "ty": 6, "x": 1133, "y": 466, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 217504, "e": 87233, "ty": 2, "x": 1133, "y": 446 }, { "t": 217534, "e": 87263, "ty": 7, "x": 1132, "y": 428, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 217603, "e": 87332, "ty": 2, "x": 1109, "y": 384 }, { "t": 217705, "e": 87434, "ty": 2, "x": 1106, "y": 379 }, { "t": 218104, "e": 87833, "ty": 2, "x": 1109, "y": 383 }, { "t": 218203, "e": 87932, "ty": 2, "x": 1109, "y": 385 }, { "t": 218303, "e": 88032, "ty": 2, "x": 1110, "y": 391 }, { "t": 218403, "e": 88132, "ty": 2, "x": 1117, "y": 397 }, { "t": 218505, "e": 88234, "ty": 2, "x": 1118, "y": 397 }, { "t": 220004, "e": 89733, "ty": 19, "x": 0, "y": 0 }, { "t": 220705, "e": 90434, "ty": 2, "x": 1121, "y": 406 }, { "t": 220733, "e": 90462, "ty": 6, "x": 1125, "y": 434, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 220805, "e": 90534, "ty": 2, "x": 1127, "y": 445 }, { "t": 222307, "e": 92036, "ty": 3, "x": 1127, "y": 445, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button > span" }, { "t": 222370, "e": 92099, "ty": 4, "x": 55973, "y": 7354, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button > span" }, { "t": 222374, "e": 92103, "ty": 5, "x": 1127, "y": 445, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > div:[2] > div:[2] > div > button" }, { "t": 222384, "e": 92113, "ty": 38, "x": 82, "y": 0 }, { "t": 222661, "e": 92390, "ty": 38, "x": 83, "y": 0 }, { "t": 222662, "e": 92391, "ty": 38, "x": 84, "y": 0 }, { "t": 224271, "e": 94000, "ty": 38, "x": 85, "y": 0 }, { "t": 226405, "e": 96134, "ty": 2, "x": 1209, "y": 431 }, { "t": 226753, "e": 96482, "ty": 6, "x": 1217, "y": 434, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > p > a" }, { "t": 226805, "e": 96534, "ty": 2, "x": 1225, "y": 440 }, { "t": 226881, "e": 96610, "ty": 7, "x": 1203, "y": 447, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[2] > div > div:[3] > div > div > p > a" }, { "t": 226904, "e": 96633, "ty": 2, "x": 1166, "y": 451 }, { "t": 227004, "e": 96733, "ty": 2, "x": 612, "y": 431 }, { "t": 227105, "e": 96834, "ty": 2, "x": 342, "y": 408 }, { "t": 227204, "e": 96933, "ty": 2, "x": 339, "y": 405 }, { "t": 227304, "e": 97033, "ty": 2, "x": 267, "y": 335 }, { "t": 227404, "e": 97133, "ty": 2, "x": 241, "y": 334 }, { "t": 227448, "e": 97177, "ty": 6, "x": 202, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 227449, "e": 97178, "ty": 6, "x": 202, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 227504, "e": 97233, "ty": 2, "x": 185, "y": 334 }, { "t": 227605, "e": 97334, "ty": 2, "x": 184, "y": 334 }, { "t": 227699, "e": 97428, "ty": 3, "x": 184, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 227778, "e": 97507, "ty": 4, "x": 61415, "y": 4767, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 227781, "e": 97510, "ty": 5, "x": 184, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 227813, "e": 97542, "ty": 38, "x": 86, "y": 0 }, { "t": 228005, "e": 97734, "ty": 2, "x": 206, "y": 334 }, { "t": 228014, "e": 97743, "ty": 7, "x": 219, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li > a" }, { "t": 228015, "e": 97744, "ty": 7, "x": 219, "y": 334, "ta": "#app-container > div > div > div > div > div > aside > div:[2] > div > nav > ul > li" }, { "t": 228081, "e": 97810, "ty": 6, "x": 468, "y": 341, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 228104, "e": 97833, "ty": 2, "x": 566, "y": 351 }, { "t": 228114, "e": 97843, "ty": 7, "x": 606, "y": 353, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div > a" }, { "t": 228115, "e": 97844, "ty": 6, "x": 606, "y": 353, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 228134, "e": 97863, "ty": 38, "x": 87, "y": 0 }, { "t": 228205, "e": 97934, "ty": 2, "x": 661, "y": 362 }, { "t": 228398, "e": 98127, "ty": 7, "x": 726, "y": 390, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[2] > a" }, { "t": 228404, "e": 98133, "ty": 2, "x": 726, "y": 390 }, { "t": 228504, "e": 98233, "ty": 2, "x": 886, "y": 465 }, { "t": 228604, "e": 98333, "ty": 2, "x": 879, "y": 466 }, { "t": 228705, "e": 98434, "ty": 2, "x": 842, "y": 460 }, { "t": 229505, "e": 99234, "ty": 2, "x": 841, "y": 459 }, { "t": 230005, "e": 99734, "ty": 19, "x": 0, "y": 0 }, { "t": 656375, "e": 104234, "ty": 6, "x": 823, "y": 508, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li" }, { "t": 656376, "e": 104235, "ty": 6, "x": 823, "y": 508, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li > a" }, { "t": 656391, "e": 104250, "ty": 7, "x": 821, "y": 541, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li > a" }, { "t": 656391, "e": 104250, "ty": 7, "x": 821, "y": 541, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li" }, { "t": 656391, "e": 104250, "ty": 6, "x": 821, "y": 541, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2]" }, { "t": 656392, "e": 104251, "ty": 6, "x": 821, "y": 541, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2] > a" }, { "t": 656407, "e": 104266, "ty": 7, "x": 864, "y": 634, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2] > a" }, { "t": 656408, "e": 104267, "ty": 7, "x": 864, "y": 634, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2]" }, { "t": 656409, "e": 104268, "ty": 2, "x": 864, "y": 634 }, { "t": 656507, "e": 104366, "ty": 2, "x": 922, "y": 735 }, { "t": 656607, "e": 104466, "ty": 2, "x": 416, "y": 775 }, { "t": 656707, "e": 104566, "ty": 2, "x": 408, "y": 781 }, { "t": 656807, "e": 104666, "ty": 2, "x": 285, "y": 789 }, { "t": 656908, "e": 104767, "ty": 2, "x": 297, "y": 850 }, { "t": 656968, "e": 104827, "ty": 40, "x": 0, "y": 0 }, { "t": 657008, "e": 104867, "ty": 2, "x": 324, "y": 884 }, { "t": 657616, "e": 105475, "ty": 40, "x": 0, "y": 0 }, { "t": 657691, "e": 105550, "ty": 6, "x": 603, "y": 544, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2]" }, { "t": 657691, "e": 105550, "ty": 6, "x": 603, "y": 544, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2] > a" }, { "t": 657707, "e": 105566, "ty": 7, "x": 664, "y": 479, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2] > a" }, { "t": 657708, "e": 105567, "ty": 7, "x": 664, "y": 479, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div:[2] > div > ul > li:[2]" }, { "t": 657708, "e": 105567, "ty": 2, "x": 664, "y": 479 }, { "t": 657757, "e": 105616, "ty": 6, "x": 792, "y": 375, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 657769, "e": 105628, "ty": 7, "x": 850, "y": 333, "ta": "#app-container > div > div > div > div > div > div > div > section > div:[3] > div > div > div > div > div:[3] > a" }, { "t": 657769, "e": 105628, "ty": 40, "x": 0, "y": 0 }, { "t": 657807, "e": 105666, "ty": 2, "x": 822, "y": 354 }, { "t": 670008, "e": 110666, "ty": 19, "x": 0, "y": 0 } ], "domMutationCount": 719, "domMutations": [ { "sequence": 1, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":118},{\"id\":119},{\"id\":120},{\"id\":121},{\"id\":122},{\"id\":123},{\"id\":124},{\"id\":125},{\"id\":126},{\"id\":127},{\"id\":128},{\"id\":129},{\"id\":130},{\"id\":131},{\"id\":132},{\"id\":133},{\"id\":134},{\"id\":135},{\"id\":136},{\"id\":137},{\"id\":138},{\"id\":139},{\"id\":140},{\"id\":141},{\"id\":142},{\"id\":143},{\"id\":144},{\"id\":145},{\"id\":146},{\"id\":147},{\"id\":148},{\"id\":149},{\"id\":150},{\"id\":151},{\"id\":152},{\"id\":153},{\"id\":154},{\"id\":155},{\"id\":156},{\"id\":157},{\"id\":158},{\"id\":159},{\"id\":160},{\"id\":161},{\"id\":162},{\"id\":163},{\"id\":164},{\"id\":165},{\"id\":166},{\"id\":167},{\"id\":168},{\"id\":169},{\"id\":170},{\"id\":171},{\"id\":172},{\"id\":173},{\"id\":174},{\"id\":175},{\"id\":176},{\"id\":177},{\"id\":178},{\"id\":179},{\"id\":180},{\"id\":181},{\"id\":182},{\"id\":183},{\"id\":184},{\"id\":185}],[{\"nodeType\":1,\"id\":229,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":44},\"parentNode\":{\"id\":4}},{\"nodeType\":1,\"id\":230,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":229},\"parentNode\":{\"id\":4}},{\"nodeType\":1,\"id\":231,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \"},\"parentNode\":{\"id\":117}}],[{\"id\":103,\"attributes\":{\"class\":\"hover-active\"}}],[]]}" }, { "sequence": 2, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":25}],[{\"nodeType\":3,\"id\":232,\"textContent\":\"Compra productos únicos elaborados artesanalmente | Canasta Rosa\",\"parentNode\":{\"id\":24}}],[{\"id\":3,\"attributes\":{\"data-react-helmet\":\"amp,lang\"}},{\"id\":24,\"attributes\":{\"data-react-helmet\":null}}],[]]}" }, { "sequence": 3, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":233,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":101},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 4, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":231}],[{\"nodeType\":1,\"id\":234,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":117}},{\"nodeType\":1,\"id\":235,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeApp\"},\"parentNode\":{\"id\":234}},{\"nodeType\":1,\"id\":236,\"tagName\":\"ASIDE\",\"attributes\":{\"class\":\"storeMenu\"},\"parentNode\":{\"id\":235}},{\"nodeType\":1,\"id\":237,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"contentWrapper\"},\"previousSibling\":{\"id\":236},\"parentNode\":{\"id\":235}},{\"nodeType\":1,\"id\":238,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_container\"},\"parentNode\":{\"id\":236}},{\"nodeType\":1,\"id\":239,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"closed\"},\"previousSibling\":{\"id\":238},\"parentNode\":{\"id\":236}},{\"nodeType\":1,\"id\":240,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"logo\"},\"parentNode\":{\"id\":238}},{\"nodeType\":1,\"id\":241,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"menu\"},\"previousSibling\":{\"id\":240},\"parentNode\":{\"id\":238}},{\"nodeType\":1,\"id\":242,\"tagName\":\"A\",\"attributes\":{\"class\":\"logo__button\",\"href\":\"/\"},\"parentNode\":{\"id\":240}},{\"nodeType\":1,\"id\":243,\"tagName\":\"PICTURE\",\"attributes\":{},\"parentNode\":{\"id\":242}},{\"nodeType\":1,\"id\":244,\"tagName\":\"SOURCE\",\"attributes\":{\"media\":\"(min-width: 45.5em)\",\"srcset\":\"/images/logo/header_logo_full.svg\"},\"parentNode\":{\"id\":243}},{\"nodeType\":1,\"id\":245,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/logo/header_logo.svg\",\"alt\":\"Home\"},\"previousSibling\":{\"id\":244},\"parentNode\":{\"id\":243}},{\"nodeType\":1,\"id\":246,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\"},\"parentNode\":{\"id\":241}},{\"nodeType\":3,\"id\":247,\"textContent\":\"Menu\",\"parentNode\":{\"id\":246}},{\"nodeType\":1,\"id\":248,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_dropdown\"},\"parentNode\":{\"id\":239}},{\"nodeType\":1,\"id\":249,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile storeMenu__module\"},\"parentNode\":{\"id\":248}},{\"nodeType\":1,\"id\":250,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"storeMenu__navigation storeMenu__module\"},\"previousSibling\":{\"id\":249},\"parentNode\":{\"id\":248}},{\"nodeType\":1,\"id\":251,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-crPro storeMenu__module\"},\"previousSibling\":{\"id\":250},\"parentNode\":{\"id\":248}},{\"nodeType\":1,\"id\":252,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__referrerCode\"},\"previousSibling\":{\"id\":251},\"parentNode\":{\"id\":248}},{\"nodeType\":1,\"id\":253,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer\"},\"parentNode\":{\"id\":249}},{\"nodeType\":1,\"id\":254,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile-info\"},\"previousSibling\":{\"id\":253},\"parentNode\":{\"id\":249}},{\"nodeType\":1,\"id\":255,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-article storeMenu__module\"},\"previousSibling\":{\"id\":254},\"parentNode\":{\"id\":249}},{\"nodeType\":1,\"id\":256,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer__wrapper\"},\"parentNode\":{\"id\":253}},{\"nodeType\":1,\"id\":257,\"tagName\":\"PICTURE\",\"attributes\":{\"class\":\"responsive-picture \"},\"parentNode\":{\"id\":256}},{\"nodeType\":1,\"id\":258,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-480x480.png\",\"class\":\"responsive-image\",\"media\":\"(max-width: 60em)\"},\"parentNode\":{\"id\":257}},{\"nodeType\":1,\"id\":259,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-680x680.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 60em)\"},\"previousSibling\":{\"id\":258},\"parentNode\":{\"id\":257}},{\"nodeType\":1,\"id\":260,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-960x960.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 80em)\"},\"previousSibling\":{\"id\":259},\"parentNode\":{\"id\":257}},{\"nodeType\":1,\"id\":261,\"tagName\":\"IMG\",\"attributes\":{\"class\":\"responsive-image\",\"src\":\"\",\"alt\":\"Xoxoctli Ecotienda\",\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s;\"},\"previousSibling\":{\"id\":260},\"parentNode\":{\"id\":257}},{\"nodeType\":1,\"id\":262,\"tagName\":\"H3\",\"attributes\":{},\"parentNode\":{\"id\":254}},{\"nodeType\":1,\"id\":263,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_border\",\"href\":\"/stores/xoxoctli-ecotienda/\"},\"previousSibling\":{\"id\":262},\"parentNode\":{\"id\":254}},{\"nodeType\":3,\"id\":264,\"textContent\":\"Xoxoctli Ecotienda\",\"parentNode\":{\"id\":262}},{\"nodeType\":3,\"id\":265,\"textContent\":\"Ver mi Tienda\",\"parentNode\":{\"id\":263}},{\"nodeType\":1,\"id\":266,\"tagName\":\"DIV\",\"attributes\":{\"to\":\"/my-store/products/add\",\"class\":\"c2a_square\"},\"parentNode\":{\"id\":255}},{\"nodeType\":3,\"id\":267,\"textContent\":\"+ Nuevo Producto\",\"parentNode\":{\"id\":266}},{\"nodeType\":1,\"id\":268,\"tagName\":\"UL\",\"attributes\":{},\"parentNode\":{\"id\":250}},{\"nodeType\":1,\"id\":269,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":270,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":269},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":271,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":270},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":272,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":271},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":273,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":272},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":274,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":273},\"parentNode\":{\"id\":268}},{\"nodeType\":1,\"id\":275,\"tagName\":\"A\",\"attributes\":{\"class\":\"active\",\"aria-current\":\"page\",\"href\":\"/my-store/dashboard\"},\"parentNode\":{\"id\":269}},{\"nodeType\":3,\"id\":276,\"textContent\":\"Mi panel\",\"parentNode\":{\"id\":275}},{\"nodeType\":1,\"id\":277,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/settings\"},\"parentNode\":{\"id\":270}},{\"nodeType\":3,\"id\":278,\"textContent\":\"Mi Tienda\",\"parentNode\":{\"id\":277}},{\"nodeType\":1,\"id\":279,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/products\"},\"parentNode\":{\"id\":271}},{\"nodeType\":3,\"id\":280,\"textContent\":\"Productos\",\"parentNode\":{\"id\":279}},{\"nodeType\":1,\"id\":281,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders\"},\"parentNode\":{\"id\":272}},{\"nodeType\":3,\"id\":282,\"textContent\":\"Órdenes\",\"parentNode\":{\"id\":281}},{\"nodeType\":1,\"id\":283,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/movements\"},\"parentNode\":{\"id\":273}},{\"nodeType\":3,\"id\":284,\"textContent\":\"Mi Saldo\",\"parentNode\":{\"id\":283}},{\"nodeType\":1,\"id\":285,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/subscription\"},\"parentNode\":{\"id\":274}},{\"nodeType\":3,\"id\":286,\"textContent\":\"Subscripción\",\"parentNode\":{\"id\":285}},{\"nodeType\":1,\"id\":287,\"tagName\":\"P\",\"attributes\":{\"class\":\"note\"},\"parentNode\":{\"id\":251}},{\"nodeType\":1,\"id\":288,\"tagName\":\"A\",\"attributes\":{\"class\":\"link\",\"target\":\"_blank\",\"href\":\"/pro\"},\"previousSibling\":{\"id\":287},\"parentNode\":{\"id\":251}},{\"nodeType\":3,\"id\":289,\"textContent\":\"¿Quieres crecer tu marca? Conoce los servicios de\",\"parentNode\":{\"id\":287}},{\"nodeType\":3,\"id\":290,\"textContent\":\"Canasta Rosa Pro\",\"parentNode\":{\"id\":288}},{\"nodeType\":1,\"id\":291,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":290},\"parentNode\":{\"id\":288}},{\"nodeType\":1,\"id\":292,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"question note\"},\"parentNode\":{\"id\":252}},{\"nodeType\":1,\"id\":293,\"tagName\":\"FORM\",\"attributes\":{\"class\":\"referrer-form\"},\"previousSibling\":{\"id\":292},\"parentNode\":{\"id\":252}},{\"nodeType\":3,\"id\":294,\"textContent\":\"¿Abriste tu tienda por recomendación de alguien?\",\"parentNode\":{\"id\":292}},{\"nodeType\":1,\"id\":295,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-referrer-input\"},\"parentNode\":{\"id\":293}},{\"nodeType\":1,\"id\":296,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"btns-container\"},\"previousSibling\":{\"id\":295},\"parentNode\":{\"id\":293}},{\"nodeType\":1,\"id\":297,\"tagName\":\"LABEL\",\"attributes\":{\"class\":\"title\",\"for\":\"referrer\"},\"parentNode\":{\"id\":295}},{\"nodeType\":1,\"id\":298,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"referrer\",\"class\":\"\",\"id\":\"referrer\",\"placeholder\":\"Ingresa su código aquí\",\"value\":\"\"},\"previousSibling\":{\"id\":297},\"parentNode\":{\"id\":295}},{\"nodeType\":1,\"id\":299,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":296}},{\"nodeType\":1,\"id\":300,\"tagName\":\"A\",\"attributes\":{\"class\":\"send\"},\"parentNode\":{\"id\":299}},{\"nodeType\":3,\"id\":301,\"textContent\":\"Enviar Código\",\"parentNode\":{\"id\":300}}],[],[]]}" }, { "sequence": 5, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":234},{\"id\":235},{\"id\":236},{\"id\":238},{\"id\":240},{\"id\":242},{\"id\":243},{\"id\":244},{\"id\":245},{\"id\":241},{\"id\":246},{\"id\":247},{\"id\":239},{\"id\":248},{\"id\":249},{\"id\":253},{\"id\":256},{\"id\":257},{\"id\":258},{\"id\":259},{\"id\":260},{\"id\":261},{\"id\":254},{\"id\":262},{\"id\":264},{\"id\":263},{\"id\":265},{\"id\":255},{\"id\":266},{\"id\":267},{\"id\":250},{\"id\":268},{\"id\":269},{\"id\":275},{\"id\":276},{\"id\":270},{\"id\":277},{\"id\":278},{\"id\":271},{\"id\":279},{\"id\":280},{\"id\":272},{\"id\":281},{\"id\":282},{\"id\":273},{\"id\":283},{\"id\":284},{\"id\":274},{\"id\":285},{\"id\":286},{\"id\":251},{\"id\":287},{\"id\":289},{\"id\":288},{\"id\":290},{\"id\":291},{\"id\":252},{\"id\":292},{\"id\":294},{\"id\":293},{\"id\":295},{\"id\":297},{\"id\":298},{\"id\":296},{\"id\":299},{\"id\":300},{\"id\":301},{\"id\":237}],[{\"nodeType\":1,\"id\":302,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \"},\"parentNode\":{\"id\":117}}],[],[]]}" }, { "sequence": 6, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":303,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":44},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 7, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":304,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":233},\"parentNode\":{\"id\":4}},{\"nodeType\":3,\"id\":305,\"textContent\":\" \\tfunction isPrivateMode(){return new Promise(function(d){function f(){var a=\\\"MozAppearance\\\"in document.documentElement.style;if(a)if(null==indexedDB)b();else{var e=indexedDB.open(\\\"inPrivate\\\");e.onsuccess=c;e.onerror=b}return a}function g(){var a=navigator.userAgent.match(/Version\\\\/([0-9\\\\._]+).*Safari/);if(a){if(11>parseInt(a[1],10)){try{localStorage.length||(localStorage.setItem(\\\"inPrivate\\\",\\\"0\\\"),localStorage.removeItem(\\\"inPrivate\\\")),c()}catch(e){navigator.cookieEnabled?b():c()}return!0}try{window.openDatabase(null, null,null,null),c()}catch(e){b()}}return!!a}function h(){var a=!window.indexedDB&&(window.PointerEvent||window.MSPointerEvent);a&&b();return!!a}var b=function(){d(!0)},c=function(){d(!1)};if(!(function(){var a=/(?=.*(opera|chrome)).*/i.test(navigator.userAgent)&&navigator.storage&&navigator.storage.estimate;a&&navigator.storage.estimate().then(function(a){return 12E7>a.quota?b():c()});return!!a}()||f()||g()||h()))return c()})} \\\"undefined\\\"!==typeof Promise&&isPrivateMode().then(function(d){window.mlbp_incognito=d});window.JSON||(window.JSON={}); (function(){function a(a){return 10>a?\\\"0\\\"+a:a}function c(a){d.lastIndex=0;return d.test(a)?'\\\"'+a.replace(d,function(a){var b=h[a];return\\\"string\\\"===typeof b?b:\\\"\\\\\\\\u\\\"+(\\\"0000\\\"+a.charCodeAt(0).toString(16)).slice(-4)})+'\\\"':'\\\"'+a+'\\\"'}function b(a,d){var e,h,p,u,v=g,r,m=d[a];m&&\\\"object\\\"===typeof m&&\\\"function\\\"===typeof m.toJSON&&(m=m.toJSON(a));\\\"function\\\"===typeof n&&(m=n.call(d,a,m));switch(typeof m){case \\\"string\\\":return c(m);case \\\"number\\\":return isFinite(m)?String(m):\\\"null\\\";case \\\"boolean\\\":case \\\"null\\\":return String(m); case \\\"object\\\":if(!m)return\\\"null\\\";g+=f;r=[];if(\\\"[object Array]\\\"===Object.prototype.toString.apply(m)){u=m.length;for(e=0;e<u;e+=1)r[e]=b(e,m)||\\\"null\\\";p=0===r.length?\\\"[]\\\":g?\\\"[\\\\n\\\"+g+r.join(\\\",\\\\n\\\"+g)+\\\"\\\\n\\\"+v+\\\"]\\\":\\\"[\\\"+r.join(\\\",\\\")+\\\"]\\\";g=v;return p}if(n&&\\\"object\\\"===typeof n)for(u=n.length,e=0;e<u;e+=1)\\\"string\\\"===typeof n[e]&&(h=n[e],(p=b(h,m))&&r.push(c(h)+(g?\\\": \\\":\\\":\\\")+p));else for(h in m)Object.prototype.hasOwnProperty.call(m,h)&&(p=b(h,m))&&r.push(c(h)+(g?\\\": \\\":\\\":\\\")+p);p=0===r.length?\\\"{}\\\":g?\\\"{\\\\n\\\"+g+r.join(\\\",\\\\n\\\"+ g)+\\\"\\\\n\\\"+v+\\\"}\\\":\\\"{\\\"+r.join(\\\",\\\")+\\\"}\\\";g=v;return p}}\\\"function\\\"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+\\\"-\\\"+a(this.getUTCMonth()+1)+\\\"-\\\"+a(this.getUTCDate())+\\\"T\\\"+a(this.getUTCHours())+\\\":\\\"+a(this.getUTCMinutes())+\\\":\\\"+a(this.getUTCSeconds())+\\\"Z\\\":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var e=/[\\\\u0000\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]/g, d=/[\\\\\\\\\\\\\\\"\\\\x00-\\\\x1f\\\\x7f-\\\\x9f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]/g,g,f,h={\\\"\\\\b\\\":\\\"\\\\\\\\b\\\",\\\"\\\\t\\\":\\\"\\\\\\\\t\\\",\\\"\\\\n\\\":\\\"\\\\\\\\n\\\",\\\"\\\\f\\\":\\\"\\\\\\\\f\\\",\\\"\\\\r\\\":\\\"\\\\\\\\r\\\",'\\\"':'\\\\\\\\\\\"',\\\"\\\\\\\\\\\":\\\"\\\\\\\\\\\\\\\\\\\"},n;\\\"function\\\"!==typeof window.JSON.stringify&&(window.JSON.stringify=function(a,c,d){var e;f=g=\\\"\\\";if(\\\"number\\\"===typeof d)for(e=0;e<d;e+=1)f+=\\\" \\\";else\\\"string\\\"===typeof d&&(f=d);if((n=c)&&\\\"function\\\"!==typeof c&&(\\\"object\\\"!==typeof c||\\\"number\\\"!==typeof c.length))throw Error(\\\"JSON.stringify\\\");return b(\\\"\\\", {\\\"\\\":a})});\\\"function\\\"!==typeof window.JSON.parse&&(window.JSON.parse=function(a,b){function c(a,d){var e,g,f=a[d];if(f&&\\\"object\\\"===typeof f)for(e in f)Object.prototype.hasOwnProperty.call(f,e)&&(g=c(f,e),void 0!==g?f[e]=g:delete f[e]);return b.call(a,d,f)}var d;a=String(a);e.lastIndex=0;e.test(a)&&(a=a.replace(e,function(a){return\\\"\\\\\\\\u\\\"+(\\\"0000\\\"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\\\\],:{}\\\\s]*$/.test(a.replace(/\\\\\\\\(?:[\\\"\\\\\\\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,\\\"@\\\").replace(/\\\"[^\\\"\\\\\\\\\\\\n\\\\r]*\\\"|true|false|null|-?\\\\d+(?:\\\\.\\\\d*)?(?:[eE][+\\\\-]?\\\\d+)?/g, \\\"]\\\").replace(/(?:^|:|,)(?:\\\\s*\\\\[)+/g,\\\"\\\")))return d=eval(\\\"(\\\"+a+\\\")\\\"),\\\"function\\\"===typeof b?c({\\\"\\\":d},\\\"\\\"):d;throw new SyntaxError(\\\"JSON.parse\\\");})})();function w(a){if(Array.prototype.reduce&&/\\\\{\\\\s*\\\\[native code\\\\]\\\\s*\\\\}/.test(\\\"\\\"+Array.prototype.reduce))return a.split(\\\"\\\").reduce(function(a,b){a=(a<<5)-a+b.charCodeAt(0);return a&a},0);var c=0;if(0===a.length)return c;for(var b=0;b<a.length;b++)c=(c<<5)-c+a.charCodeAt(b),c&=c;return c} window.x64h={f:function(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]+c[3];b[2]+=b[3]>>>16;b[3]&=65535;b[2]+=a[2]+c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]+c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]+c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]},c:function(a,c){a=[a[0]>>>16,a[0]&65535,a[1]>>>16,a[1]&65535];c=[c[0]>>>16,c[0]&65535,c[1]>>>16,c[1]&65535];var b=[0,0,0,0];b[3]+=a[3]*c[3];b[2]+=b[3]>>>16;b[3]&=65535; b[2]+=a[2]*c[3];b[1]+=b[2]>>>16;b[2]&=65535;b[2]+=a[3]*c[2];b[1]+=b[2]>>>16;b[2]&=65535;b[1]+=a[1]*c[3];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[2]*c[2];b[0]+=b[1]>>>16;b[1]&=65535;b[1]+=a[3]*c[1];b[0]+=b[1]>>>16;b[1]&=65535;b[0]+=a[0]*c[3]+a[1]*c[2]+a[2]*c[1]+a[3]*c[0];b[0]&=65535;return[b[0]<<16|b[1],b[2]<<16|b[3]]},h:function(a,c){c%=64;if(32===c)return[a[1],a[0]];if(32>c)return[a[0]<<c|a[1]>>>32-c,a[1]<<c|a[0]>>>32-c];c-=32;return[a[1]<<c|a[0]>>>32-c,a[0]<<c|a[1]>>>32-c]},b:function(a,c){c%=64;return 0=== c?a:32>c?[a[0]<<c|a[1]>>>32-c,a[1]<<c]:[a[1]<<c-32,0]},a:function(a,c){return[a[0]^c[0],a[1]^c[1]]},F:function(a){a=this.a(a,[0,a[0]>>>1]);a=this.c(a,[4283543511,3981806797]);a=this.a(a,[0,a[0]>>>1]);a=this.c(a,[3301882366,444984403]);return a=this.a(a,[0,a[0]>>>1])},va:function(a,c){a=a||\\\"\\\";c=c||0;for(var b=a.length%16,e=a.length-b,d=[0,c],g=[0,c],f=[0,0],h=[0,0],n=[2277735313,289559509],q=[1291169091,658871167],k=0;k<e;k+=16)f=[a.charCodeAt(k+4)&255|(a.charCodeAt(k+5)&255)<<8|(a.charCodeAt(k+6)& 255)<<16|(a.charCodeAt(k+7)&255)<<24,a.charCodeAt(k)&255|(a.charCodeAt(k+1)&255)<<8|(a.charCodeAt(k+2)&255)<<16|(a.charCodeAt(k+3)&255)<<24],h=[a.charCodeAt(k+12)&255|(a.charCodeAt(k+13)&255)<<8|(a.charCodeAt(k+14)&255)<<16|(a.charCodeAt(k+15)&255)<<24,a.charCodeAt(k+8)&255|(a.charCodeAt(k+9)&255)<<8|(a.charCodeAt(k+10)&255)<<16|(a.charCodeAt(k+11)&255)<<24],f=this.c(f,n),f=this.h(f,31),f=this.c(f,q),d=this.a(d,f),d=this.h(d,27),d=this.f(d,g),d=this.f(this.c(d,[0,5]),[0,1390208809]),h=this.c(h,q), h=this.h(h,33),h=this.c(h,n),g=this.a(g,h),g=this.h(g,31),g=this.f(g,d),g=this.f(this.c(g,[0,5]),[0,944331445]);f=[0,0];h=[0,0];switch(b){case 15:h=this.a(h,this.b([0,a.charCodeAt(k+14)],48));case 14:h=this.a(h,this.b([0,a.charCodeAt(k+13)],40));case 13:h=this.a(h,this.b([0,a.charCodeAt(k+12)],32));case 12:h=this.a(h,this.b([0,a.charCodeAt(k+11)],24));case 11:h=this.a(h,this.b([0,a.charCodeAt(k+10)],16));case 10:h=this.a(h,this.b([0,a.charCodeAt(k+9)],8));case 9:h=this.a(h,[0,a.charCodeAt(k+8)]), h=this.c(h,q),h=this.h(h,33),h=this.c(h,n),g=this.a(g,h);case 8:f=this.a(f,this.b([0,a.charCodeAt(k+7)],56));case 7:f=this.a(f,this.b([0,a.charCodeAt(k+6)],48));case 6:f=this.a(f,this.b([0,a.charCodeAt(k+5)],40));case 5:f=this.a(f,this.b([0,a.charCodeAt(k+4)],32));case 4:f=this.a(f,this.b([0,a.charCodeAt(k+3)],24));case 3:f=this.a(f,this.b([0,a.charCodeAt(k+2)],16));case 2:f=this.a(f,this.b([0,a.charCodeAt(k+1)],8));case 1:f=this.a(f,[0,a.charCodeAt(k)]),f=this.c(f,n),f=this.h(f,31),f=this.c(f,q), d=this.a(d,f)}d=this.a(d,[0,a.length]);g=this.a(g,[0,a.length]);d=this.f(d,g);g=this.f(g,d);d=this.F(d);g=this.F(g);d=this.f(d,g);g=this.f(g,d);return(\\\"00000000\\\"+(d[0]>>>0).toString(16)).slice(-8)+(\\\"00000000\\\"+(d[1]>>>0).toString(16)).slice(-8)+(\\\"00000000\\\"+(g[0]>>>0).toString(16)).slice(-8)+(\\\"00000000\\\"+(g[1]>>>0).toString(16)).slice(-8)}}; window.mlbp={options:{D:[/palemoon/i]},O:function(){var a={},c=Date.now(),b=window.mlbp.R();a.canvas=Date.now()-c;var c=Date.now(),e=window.mlbp.ca();a.webgl=Date.now()-c;var c=Date.now(),d=window.mlbp.ba();a.userfonts=Date.now()-c;var c=Date.now(),g=window.mlbp.M();a.browserplugins=Date.now()-c;return{ad_block:window.mlbp.K(),canvas:b,connection:window.mlbp.T(),cookie_enabled:navigator.cookieEnabled,device_memory:navigator.deviceMemory||0,do_not_track:navigator.doNotTrack,fonts:d,hardware_concurrency:navigator.hardwareConcurrency|| 0,history:window.history?window.history.length:\\\"unknown\\\",incognito:window.mlbp_incognito,indexed_db:!!window.indexedDB,js_type:\\\"js_hash\\\",lang:navigator.language||navigator.userLanguage,languages:navigator.languages,local_storage:!!window.localStorage,open_database:!!window.openDatabase,pixel_ratio:window.devicePixelRatio,platform:window.mlbp.Z(),webgl:e,plugins:g,resolution:[screen.height,screen.width,screen.colorDepth].join(\\\"x\\\"),screen:window.mlbp.$(),session_storage:!!window.sessionStorage,time:a, time_zone_name:window.Intl&&window.Intl.DateTimeFormat?(new window.Intl.DateTimeFormat).resolvedOptions().timeZone:\\\"\\\",time_zone_offset:(new Date).getTimezoneOffset(),touch_points:navigator.maxTouchPoints,user_agent:navigator.userAgent,vendor:navigator.vendor,window_size:window.mlbp.ha()}},ha:function(){return{inner:[window.innerHeight,window.innerWidth].join(\\\"x\\\"),outer:[window.outerHeight,window.outerWidth].join(\\\"x\\\")}},$:function(){return window.screen?{orientation:window.screen.orientation?window.screen.orientation.angle: \\\"not_available\\\",type:window.screen.orientation?window.screen.orientation.type:\\\"not_available\\\",avail_height:window.screen.availHeight,avail_left:window.screen.availLeft,avail_top:window.screen.availTop,avail_width:window.screen.availWidth}:\\\"not_available\\\"},T:function(){return navigator.connection?{downlink:navigator.connection.downlink?navigator.connection.downlink:\\\"unknown\\\",rtt:navigator.connection.rtt?navigator.connection.rtt:\\\"unknown\\\",type:navigator.connection.effectiveType?navigator.connection.effectiveType: \\\"unknown\\\"}:\\\"not_available\\\"},K:function(){var a=document.createElement(\\\"div\\\");a.innerHTML=\\\"\\\\x26nbsp;\\\";a.className=\\\"adsbox\\\";var c=!1;try{document.body.appendChild(a),c=0===document.getElementsByClassName(\\\"adsbox\\\")[0].offsetHeight,document.body.removeChild(a)}catch(b){c=!1}return c},ya:function(){return{js_type:\\\"js_cookie\\\",value:\\\"x\\\"}},N:function(){return{js_type:\\\"js_fonts\\\",installed_fonts:window.mlbp.W()}},P:function(){return{js_type:\\\"js_plugins\\\",installed_plugins:window.mlbp.X()}},W:function(){try{var a= window.mlbp.ra,a=a.concat(window.mlbp.H);return(new window.mlbp.o(a)).U()}catch(c){return[\\\"not available\\\"]}},Ca:function(a){var c=[],b;for(b in a)c.push(b);return c},o:function(a){function c(){var a=document.createElement(\\\"span\\\");a.style.position=\\\"absolute\\\";a.style.left=\\\"-9999px\\\";a.style.fontSize=\\\"72px\\\";a.innerHTML=\\\"mmmmmmmmmmlli\\\";return a}function b(a){for(var b=!1,c=0;c<d.length&&!(b=a[c].offsetWidth!==n[d[c]]||a[c].offsetHeight!==q[d[c]]);c++);return b}for(var e=[],d=[\\\"monospace\\\",\\\"sans-serif\\\", \\\"serif\\\"],g=document.getElementsByTagName(\\\"body\\\")[0],f=document.createElement(\\\"div\\\"),h=document.createElement(\\\"div\\\"),n={},q={},k=[],l=0,t=d.length;l<t;l++){var p=c();p.style.fontFamily=d[l];f.appendChild(p);k.push(p)}g.appendChild(f);l=0;for(t=d.length;l<t;l++)n[d[l]]=k[l].offsetWidth,q[d[l]]=k[l].offsetHeight;k=function(a){for(var b={},e=0,g=a.length;e<g;e++){for(var f=[],k=0,n=d.length;k<n;k++){var l;l=a[e];var p=d[k],q=c();q.style.fontFamily=\\\"'\\\"+l+\\\"',\\\"+p;l=q;h.appendChild(l);f.push(l)}b[a[e]]=f}return b}(a); g.appendChild(h);l=0;for(t=a.length;l<t;l++)b(k[a[l]])&&e.push(a[l]);e.sort(function(a,b){var c=a.toLowerCase(),d=b.toLowerCase();return c<d?-1:c>d?1:0});g.removeChild(h);g.removeChild(f);this.U=function(){return e};this.ia=function(a){for(var b=e.length,b=0,c=e.length;b<c;b++)if(e[b]===a)return!0;return!1}},X:function(){try{var a={};return a=window.ActiveXObject?window.mlbp.V():window.mlbp.w()}catch(c){return[\\\"not available\\\"]}},w:function(){for(var a=[],c=0,b=navigator.plugins.length;c<b;c++)a.push(navigator.plugins[c]); return 0<a.length?(this.sa()&&(a=a.sort(function(a,b){return a.name>b.name?1:a.name<b.name?-1:0})),this.map(a,function(a){var b=this.map(a,function(a){return[a.type,a.suffixes].join(\\\"~\\\")}).join(\\\",\\\");return[a.name,a.description,b].join(\\\"::\\\")},this)):[]},V:function(){var a=[];if(Object.getOwnPropertyDescriptor&&Object.getOwnPropertyDescriptor(window,\\\"ActiveXObject\\\")||\\\"ActiveXObject\\\"in window)a=this.map(\\\"AcroPDF.PDF;Adodb.Stream;AgControl.AgControl;DevalVRXCtrl.DevalVRXCtrl.1;MacromediaFlashPaper.MacromediaFlashPaper;Msxml2.DOMDocument;Msxml2.XMLHTTP;PDF.PdfCtrl;QuickTime.QuickTime;QuickTimeCheckObject.QuickTimeCheck.1;RealPlayer;RealPlayer.RealPlayer(tm) ActiveX Control (32-bit);RealVideo.RealVideo(tm) ActiveX Control (32-bit);Scripting.Dictionary;SWCtl.SWCtl;Shell.UIHelper;ShockwaveFlash.ShockwaveFlash;Skype.Detection;TDCCtl.TDCCtl;WMPlayer.OCX;rmocx.RealPlayer G2 Control;rmocx.RealPlayer G2 Control.1\\\".split(\\\";\\\"), function(a){try{return new ActiveXObject(a),a}catch(b){return null}});navigator.plugins&&(a=a.concat(this.w()));for(var c=[],b=0,e=a.length;b<e;b++)a[b]&&c.push(a[b]);return c},M:function(){var a={};return a=window.ActiveXObject?window.mlbp.I():window.mlbp.J()},I:function(){var a=/[0-9]+/,c={flash:\\\"ShockwaveFlash.ShockwaveFlash.1\\\",wmplayer:\\\"wmplayer.ocx\\\",pdf:\\\"AcroPDF.PDF.1\\\",silverlight:\\\"AgControl.AgControl\\\",quicktime:\\\"QuickTime.QuickTime\\\"},b={},e;for(e in c){var d=window.mlbp.ma(c[e]);d&&(d=a.exec(d), b[e]=d&&d[0]||\\\"\\\")}navigator.javaEnabled()&&(b.java=\\\"\\\");return b},J:function(){for(var a={},c=/\\\\d+(.\\\\d+)*/,b=navigator.plugins,e=/Flash|PDF|Java|Silverlight|QuickTime/i,d=0;d<b.length;d++){var g=e.exec(b[d].description);if(g){var g=g[0].toLowerCase(),f=c.exec(b[d].version||b[d].name+\\\" \\\"+b[d].description);a[g]||(a[g]=f&&f[0]||\\\"\\\")}}return a},ba:function(){var a=[],c=[],b=[],e=window.mlbp.Y(),d=new window.mlbp.o(window.mlbp.fonts),g={Linux:\\\"0346\\\",Mac:\\\"1356\\\",Windows:\\\"2456\\\"},f;for(f in window.mlbp.g)d.ia(f)? -1!=(new String(g[e])).indexOf(window.mlbp.g[f])?a.push('{\\\"'+f+'\\\" :'+window.mlbp.g[f]+\\\"}\\\"):c.push('{\\\"'+f+'\\\" :'+window.mlbp.g[f]+\\\"}\\\"):-1!=(new String(g[e])).indexOf(window.mlbp.g[f])&&b.push('{\\\"'+f+'\\\" :'+window.mlbp.g[f]+\\\"}\\\");return{os:w(new String(JSON.stringify(a))),other_os:JSON.stringify(c),not_os:w(new String(JSON.stringify(b)))}},Y:function(){var a=\\\"Unknown OS\\\";-1!=navigator.appVersion.indexOf(\\\"Win\\\")&&(a=\\\"Windows\\\");-1!=navigator.appVersion.indexOf(\\\"Mac\\\")&&(a=\\\"Mac\\\");-1!=navigator.appVersion.indexOf(\\\"Linux\\\")&& (a=\\\"Linux\\\");return a},map:function(a,c,b){var e=[];if(null==a)return e;if(this.oa&&a.map===this.oa)return a.map(c,b);this.G(a,function(a,g,f){e[e.length]=c.call(b,a,g,f)});return e},G:function(a,c,b){if(null!==a)if(this.na&&a.forEach===this.na)a.forEach(c,b);else if(a.length===+a.length)for(var e=0,d=a.length;e<d&&c.call(b,a[e],e,a)!=={};e++);else for(e in a)if(a.hasOwnProperty(e)&&c.call(b,a[e],e,a)==={})break},sa:function(){for(var a=!1,c=0,b=this.options.D.length;c<b;c++)if(navigator.userAgent.match(this.options.D[c])){a= !0;break}return a},fonts:\\\"Palatino Linotype;Franklin Gothic Medium;Lucida Grande;URW Gothic L;Sylfaen;URW Bookman L;Helvetica Neue;URW Palladio L;Gill Sans;Nimbus Sans L;Lucida Console;Lucida Sans Unicode;Tahoma;Arial Black;Verdana;Arial;Courier New;Comic Sans MS;Impact;Trebuchet MS;Georgia;Times New Roman;Arial Narrow;Century Gothic;Bookman Oldstyle;Book Antigua;Calibri;Cambria;Consolas;Candara;Corbel;Constantia;Geneva;Monaco;Skia;Helvetica;Courier;Bitstream Vera Sans;Bitstream Vera Sans Mono;Bitstream Vera Serif;Utopia;New Century Schoolbook;Fixed;Nimbus Mono;Century Schoolbook L;URW Chancery L;Bitstream Charter;DejaVu Sans Mono;DejaVu Sans Condensed;DejaVu Serif Condensed;DejaVu Sans;DejaVu Serif;Free Mono;Free Sans;Free Serif;Liberation Mono;Liberation Sans;Liberation Serif\\\".split(\\\";\\\"), g:{\\\"Palatino Linotype\\\":2,\\\"Franklin Gothic Medium\\\":2,\\\"Lucida Grande\\\":1,\\\"URW Gothic L\\\":0,Sylfaen:2,\\\"URW Bookman L\\\":0,\\\"Helvetica Neue\\\":1,\\\"URW Palladio L\\\":0,\\\"Gill Sans\\\":1,\\\"Nimbus Sans L\\\":0,\\\"Lucida Console\\\":2,\\\"Lucida Sans Unicode\\\":2,Tahoma:5,\\\"Arial Black\\\":6,Verdana:6,Arial:6,\\\"Courier New\\\":6,\\\"Comic Sans MS\\\":6,Impact:6,\\\"Trebuchet MS\\\":6,Georgia:6,\\\"Times New Roman\\\":6,\\\"Arial Narrow\\\":5,\\\"Century Gothic\\\":5,\\\"Bookman Oldstyle\\\":5,\\\"Book Antigua\\\":5,Calibri:5,Cambria:5,Consolas:3,Candara:5,Corbel:5,Constantia:5,Geneva:1, Monaco:1,Skia:1,Helvetica:3,Courier:3,\\\"Bitstream Vera Sans\\\":3,\\\"Bitstream Vera Sans Mono\\\":3,\\\"Bitstream Vera Serif\\\":3,Utopia:3,\\\"New Century Schoolbook\\\":3,Fixed:0,\\\"Nimbus Mono\\\":0,\\\"Century Schoolbook L\\\":0,\\\"URW Chancery L\\\":0,\\\"Bitstream Charter\\\":0,\\\"DejaVu Sans Mono\\\":0,\\\"DejaVu Sans Condensed\\\":0,\\\"DejaVu Serif Condensed\\\":0,\\\"DejaVu Sans\\\":0,\\\"DejaVu Serif\\\":0,\\\"Free Mono\\\":0,\\\"Free Sans\\\":0,\\\"Free Serif\\\":0,\\\"Liberation Mono\\\":0,\\\"Liberation Sans\\\":0,\\\"Liberation Serif\\\":0},ra:\\\"Andale Mono;Arial Hebrew;Arial MT;Arial Rounded MT Bold;Arial Unicode MS;Cambria Math;Century;Comic Sans;Garamond;Lucida Bright;Lucida Calligraphy;Lucida Fax;Lucida Handwriting;Lucida Sans;Lucida Sans Typewriter;Microsoft Sans Serif;Monotype Corsiva;MS Gothic;MS Outlook;MS PGothic;MS Reference Sans Serif;MS Sans Serif;MS Serif;MYRIAD;MYRIAD PRO;Palatino;Segoe Print;Segoe Script;Segoe UI;Segoe UI Light;Segoe UI Semibold;Segoe UI Symbol;Times;Times New Roman PS;Wingdings;Wingdings 2;Wingdings 3\\\".split(\\\";\\\"), H:\\\"AvantGarde Md BT;AVENIR;Baskerville;Big Caslon;Bodoni 72;Brush Script MT;Calisto MT;Copperplate;Didot;Futura;Goudy Stout;Hoefler Text;Old Century;Papyrus;Perpetua;Rockwell\\\".split(\\\";\\\"),wa:function(){var a=[\\\"monospace\\\",\\\"sans-serif\\\",\\\"serif\\\"],c=document.getElementsByTagName(\\\"body\\\")[0],b=document.createElement(\\\"span\\\");b.style.fontSize=\\\"72px\\\";b.innerHTML=\\\"mmmmmmmmmmlli\\\";for(var e in a)b.style.fontFamily=a[e],c.appendChild(b),c.removeChild(b)},ma:function(a){var c=!1,b=null;try{b=new ActiveXObject(a); try{c=b.GetVariable(\\\"$version\\\")}catch(d){try{c=b.xa()}catch(g){try{var e;for(a=1;9>a;a++)b.Ba(a+\\\".0\\\")&&(e=a);c=e||!0}catch(f){c=!0}}}}catch(d){c=!1}null!=b&&delete b;return c},base64_encode:function(a){var c,b,e,d,g=0,f=0,h=\\\"\\\",h=[];if(!a)return a;do c=a.charCodeAt(g++),b=a.charCodeAt(g++),e=a.charCodeAt(g++),d=c<<16|b<<8|e,c=d>>18&63,b=d>>12&63,e=d>>6&63,d&=63,h[f++]=\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\\x3d\\\".charAt(c)+\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\\x3d\\\".charAt(b)+ \\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\\x3d\\\".charAt(e)+\\\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\\\\x3d\\\".charAt(d);while(g<a.length);h=h.join(\\\"\\\");a=a.length%3;return(a?h.slice(0,a-3):h)+\\\"\\\\x3d\\\\x3d\\\\x3d\\\".slice(a||3)},JSONP:{ta:null,options:{},call:function(a,c){c||(this.options={});this.options.s=c.s||function(){};this.options.u=c.u||\\\"callback\\\";this.options.m=c.m||[];var b=-1<a.indexOf(\\\"?\\\")?\\\"\\\\x26\\\":\\\"?\\\",e=[],d;for(d in this.options.m)e.push(d+\\\"\\\\x3d\\\"+encodeURIComponent(c.m[d])); e=e.join(\\\"\\\\x26\\\");d=document.getElementsByTagName(\\\"head\\\")[0];this.ta&&d.removeChild(script);script=document.createElement(\\\"script\\\");script.type=\\\"text/javascript\\\";script.src=a+b+e+(e?\\\"\\\\x26\\\":\\\"\\\")+this.options.u+\\\"\\\\x3dmlbp.JSONP.process\\\";d.appendChild(script)},process:function(a){this.options.s(a)}},Aa:function(){return window},ka:function(){return void 0!==navigator.platform&&null!==navigator.platform?!0:!1},Z:function(){return this.ka()?navigator.platform:\\\"not available\\\"},R:function(){try{return this.ja()? this.l(this.S()):\\\"not supported\\\"}catch(a){return\\\"not available\\\"}},ja:function(){var a=document.createElement(\\\"canvas\\\");return!(!a.getContext||!a.getContext(\\\"2d\\\"))},l:function(a){return window.x64h.va(a,31)},S:function(){var a=[],c=document.createElement(\\\"canvas\\\");c.width=2E3;c.height=200;c.style.display=\\\"inline\\\";var b=c.getContext(\\\"2d\\\");b.rect(0,0,10,10);b.rect(2,2,6,6);b.textBaseline=\\\"alphabetic\\\";b.fillStyle=\\\"#f60\\\";b.fillRect(125,1,62,20);b.fillStyle=\\\"#069\\\";b.font=\\\"11pt Arial\\\";b.fillText(\\\"Cwm fjordbank glyphs vext quiz, \\\\ud83d\\\\ude03\\\", 2,15);b.fillStyle=\\\"rgba(102, 204, 0, 0.2)\\\";b.font=\\\"18pt Arial\\\";b.fillText(\\\"Cwm fjordbank glyphs vext quiz, \\\\ud83d\\\\ude03\\\",4,45);b.globalCompositeOperation=\\\"multiply\\\";b.fillStyle=\\\"rgb(255,0,255)\\\";b.beginPath();b.arc(50,50,50,0,2*Math.PI,!0);b.closePath();b.fill();b.fillStyle=\\\"rgb(0,255,255)\\\";b.beginPath();b.arc(100,50,50,0,2*Math.PI,!0);b.closePath();b.fill();b.fillStyle=\\\"rgb(255,255,0)\\\";b.beginPath();b.arc(75,100,50,0,2*Math.PI,!0);b.closePath();b.fill();b.fillStyle=\\\"rgb(255,0,255)\\\";b.arc(75,75,75, 0,2*Math.PI,!0);b.arc(75,75,25,0,2*Math.PI,!0);b.fill(\\\"evenodd\\\");c.toDataURL&&a.push(\\\"canvas fp:\\\"+c.toDataURL());return a.join(\\\"~\\\")},ca:function(){var a=window.mlbp.da();if(!window.WebGLRenderingContext||!a)return window.mlbp.A(a),\\\"not_supported\\\";var c=null;try{c=window.mlbp.ea(a),c=window.mlbp.l(c)}catch(d){c=\\\"not_available\\\"}var b=null;try{b=window.mlbp.fa(a),b=window.mlbp.l(b)}catch(d){b=\\\"not_available\\\"}var e=window.mlbp.ga(a);window.mlbp.A(a);return{image:c,report:b,vendor:e.vendor,renderer:e.B}}, da:function(){var a=document.createElement(\\\"canvas\\\"),c=null;try{c=a.getContext(\\\"webgl\\\")||a.getContext(\\\"experimental-webgl\\\")}catch(b){}c||(c=null);return c},A:function(a){try{var c=a.getExtension(\\\"WEBGL_lose_context\\\");null!=c&&c.loseContext()}catch(b){}},i:function(a,c){if(Array.prototype.forEach&&a.forEach===Array.prototype.forEach)a.forEach(c);else if(a.length===+a.length)for(var b=0,e=a.length;b<e;b++)c(a[b],b,a);else for(b in a)a.hasOwnProperty(b)&&c(a[b],b,a)},fa:function(a){function c(b){a.clearColor(0, 0,0,1);a.enable(a.DEPTH_TEST);a.depthFunc(a.LEQUAL);a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT);return\\\"[\\\"+b[0]+\\\", \\\"+b[1]+\\\"]\\\"}var b=[];b.push(\\\"extensions:\\\"+(a.getSupportedExtensions()||[]).join(\\\";\\\"));b.push(\\\"webgl aliased line width range:\\\"+c(a.getParameter(a.ALIASED_LINE_WIDTH_RANGE)));b.push(\\\"webgl aliased point size range:\\\"+c(a.getParameter(a.ALIASED_POINT_SIZE_RANGE)));b.push(\\\"webgl alpha bits:\\\"+a.getParameter(a.ALPHA_BITS));b.push(\\\"webgl antialiasing:\\\"+(a.getContextAttributes().antialias?\\\"yes\\\": \\\"no\\\"));b.push(\\\"webgl blue bits:\\\"+a.getParameter(a.BLUE_BITS));b.push(\\\"webgl depth bits:\\\"+a.getParameter(a.DEPTH_BITS));b.push(\\\"webgl green bits:\\\"+a.getParameter(a.GREEN_BITS));b.push(\\\"webgl max anisotropy:\\\"+function(a){var b=a.getExtension(\\\"EXT_texture_filter_anisotropic\\\")||a.getExtension(\\\"WEBKIT_EXT_texture_filter_anisotropic\\\")||a.getExtension(\\\"MOZ_EXT_texture_filter_anisotropic\\\");return b?(a=a.getParameter(b.MAX_TEXTURE_MAX_ANISOTROPY_EXT),0===a&&(a=2),a):null}(a));b.push(\\\"webgl max combined texture image units:\\\"+ a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS));b.push(\\\"webgl max cube map texture size:\\\"+a.getParameter(a.MAX_CUBE_MAP_TEXTURE_SIZE));b.push(\\\"webgl max fragment uniform vectors:\\\"+a.getParameter(a.MAX_FRAGMENT_UNIFORM_VECTORS));b.push(\\\"webgl max render buffer size:\\\"+a.getParameter(a.MAX_RENDERBUFFER_SIZE));b.push(\\\"webgl max texture image units:\\\"+a.getParameter(a.MAX_TEXTURE_IMAGE_UNITS));b.push(\\\"webgl max texture size:\\\"+a.getParameter(a.MAX_TEXTURE_SIZE));b.push(\\\"webgl max varying vectors:\\\"+a.getParameter(a.MAX_VARYING_VECTORS)); b.push(\\\"webgl max vertex attribs:\\\"+a.getParameter(a.MAX_VERTEX_ATTRIBS));b.push(\\\"webgl max vertex texture image units:\\\"+a.getParameter(a.MAX_VERTEX_TEXTURE_IMAGE_UNITS));b.push(\\\"webgl max vertex uniform vectors:\\\"+a.getParameter(a.MAX_VERTEX_UNIFORM_VECTORS));b.push(\\\"webgl max viewport dims:\\\"+c(a.getParameter(a.MAX_VIEWPORT_DIMS)));b.push(\\\"webgl red bits:\\\"+a.getParameter(a.RED_BITS));b.push(\\\"webgl renderer:\\\"+a.getParameter(a.RENDERER));b.push(\\\"webgl shading language version:\\\"+a.getParameter(a.SHADING_LANGUAGE_VERSION)); b.push(\\\"webgl stencil bits:\\\"+a.getParameter(a.STENCIL_BITS));b.push(\\\"webgl vendor:\\\"+a.getParameter(a.VENDOR));b.push(\\\"webgl version:\\\"+a.getParameter(a.VERSION));try{var e=a.getExtension(\\\"WEBGL_debug_renderer_info\\\");e&&(b.push(\\\"webgl unmasked vendor:\\\"+a.getParameter(e.UNMASKED_VENDOR_WEBGL)),b.push(\\\"webgl unmasked renderer:\\\"+a.getParameter(e.UNMASKED_RENDERER_WEBGL)))}catch(d){}if(!a.getShaderPrecisionFormat)return b.join(\\\"~\\\");window.mlbp.i([\\\"FLOAT\\\",\\\"INT\\\"],function(c){window.mlbp.i([\\\"VERTEX\\\",\\\"FRAGMENT\\\"], function(e){window.mlbp.i([\\\"HIGH\\\",\\\"MEDIUM\\\",\\\"LOW\\\"],function(f){window.mlbp.i([\\\"precision\\\",\\\"rangeMin\\\",\\\"rangeMax\\\"],function(h){var n=a.getShaderPrecisionFormat(a[e+\\\"_SHADER\\\"],a[f+\\\"_\\\"+c])[h];\\\"precision\\\"!==h&&(h=\\\"precision \\\"+h);b.push([\\\"webgl \\\",e.toLowerCase(),\\\" shader \\\",f.toLowerCase(),\\\" \\\",c.toLowerCase(),\\\" \\\",h,\\\":\\\",n].join(\\\"\\\"))})})})});return b.join(\\\"~\\\")},ea:function(a){var c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);var b=new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]);a.bufferData(a.ARRAY_BUFFER, b,a.STATIC_DRAW);c.la=3;c.pa=3;var b=a.createProgram(),e=a.createShader(a.VERTEX_SHADER);a.shaderSource(e,\\\"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate\\\\x3dattrVertex+uniformOffset;gl_Position\\\\x3dvec4(attrVertex,0,1);}\\\");a.compileShader(e);var d=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(d,\\\"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor\\\\x3dvec4(varyinTexCoordinate,0,1);}\\\");a.compileShader(d); a.attachShader(b,e);a.attachShader(b,d);a.linkProgram(b);a.useProgram(b);b.ua=a.getAttribLocation(b,\\\"attrVertex\\\");b.qa=a.getUniformLocation(b,\\\"uniformOffset\\\");a.enableVertexAttribArray(b.Ha);a.vertexAttribPointer(b.ua,c.la,a.FLOAT,!1,0,0);a.uniform2f(b.qa,1,1);a.drawArrays(a.TRIANGLE_STRIP,0,c.pa);return a.canvas.toDataURL()},ga:function(a){try{var c=a.getExtension(\\\"WEBGL_debug_renderer_info\\\");return{vendor:a.getParameter(c.UNMASKED_VENDOR_WEBGL),B:a.getParameter(c.UNMASKED_RENDERER_WEBGL)}}catch(b){return{vendor:\\\"not_available\\\", B:\\\"not_available\\\"}}},L:function(){return new Promise(function(a){if(navigator.userAgent.match(/OS 11.+Version\\\\/11.+Safari/))a(\\\"not_supported\\\");else{var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;if(null==c)a(\\\"not_supported\\\");else try{var b=new c(1,44100,44100),e=b.createOscillator();e.type=\\\"triangle\\\";e.frequency.setValueAtTime(1E4,b.currentTime);var d=b.createDynamicsCompressor();window.mlbp.i([[\\\"threshold\\\",-50],[\\\"knee\\\",40],[\\\"ratio\\\",12],[\\\"reduction\\\",-20],[\\\"attack\\\",0],[\\\"release\\\", .25]],function(a){void 0!==d[a[0]]&&\\\"function\\\"===typeof d[a[0]].setValueAtTime&&d[a[0]].setValueAtTime(a[1],b.currentTime)});e.connect(d);d.connect(b.destination);e.start(0);b.startRendering().then(function(b){b=b.getChannelData(0).slice(4500,5E3).reduce(function(a,b){return a+Math.abs(b)},0).toString();e.disconnect();d.disconnect();a(b)})[\\\"catch\\\"](function(){a(\\\"not_available\\\")})}catch(g){a(\\\"not_available\\\")}}})},v:function(){if(!window.dp){var a=Date.now(),c={},b=Date.now();c.hash=window.mlbp.O(); c.hash.time.hash=Date.now()-b;b=Date.now();c.fonts=window.mlbp.N();c.hash.time.installedfonts=Date.now()-b;b=Date.now();c.plugins=window.mlbp.P();c.hash.time.plugins=Date.now()-b;c.cookie={js_type:\\\"js_cookie\\\",value:\\\"x\\\"};c.hash.time.total=Date.now()-a;window.dp=c}}}; window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"]={C:function(){a=JSON.stringify(window.dp.cookie);window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].j(a,null);if(\\\"undefined\\\"!==typeof window.dp.hash.incognito){var a=JSON.stringify(window.dp.hash);window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].j(a,\\\"mlb\\\")}else setTimeout(function(){window.dp.hash.incognito=window.mlbp_incognito;var a=JSON.stringify(window.dp.hash);window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].j(a,\\\"mlb\\\")},50);a=JSON.stringify(window.dp.fonts);window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].j(a,\\\"mlm\\\");a=JSON.stringify(window.dp.plugins); window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].j(a,\\\"mla\\\")},j:function(a,c){(new Image(1,1)).src=window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].aa(a,c)},aa:function(a,c){var b=\\\"https://www.mercadolibre.com/jms/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\";\\\"mlb\\\"===c&&(b=\\\"https://www.mercadolivre.com.br/jms/mlb/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\");\\\"mla\\\"===c&&(b=\\\"https://www.mercadolibre.com.ar/jms/mla/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\");\\\"mlm\\\"===c&&(b=\\\"https://www.mercadolibre.com.mx/jms/mlm/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\");b+=\\\"?background\\\\x3darmor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"; a=window.mlbp.base64_encode(a);return b+=\\\"\\\\x26message\\\\x3d\\\"+encodeURIComponent(a)},za:function(){return{Ea:\\\"https://www.mercadolivre.com.br/jms/mlb/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\",Fa:\\\"https://www.mercadolibre.com.mx/jms/mlm/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\",Da:\\\"https://www.mercadolibre.com.ar/jms/mla/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\",url:\\\"https://www.mercadolibre.com/jms/lgz/background/session/armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\",Ga:\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"}}}; function x(){if(\\\"undefined\\\"!==typeof Promise){window.mlbp.v();var a,c=new Promise(function(b){a=setTimeout(function(){b(\\\"timeout\\\")},100)}),b=Date.now();Promise.race([c,window.mlbp.L()]).then(function(c){clearTimeout(a);window.dp.hash.audio=c;window.dp.hash.time.audio=Date.now()-b;window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].C()})}else window.mlbp.v(),window[\\\"armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\"].C()} \\\"complete\\\"===document.readyState?x():window.addEventListener?window.addEventListener(\\\"load\\\",x,!1):window.attachEvent&&window.attachEvent(\\\"onload\\\",x);function a(){var b=document.createElement(\\\"iframe\\\");b.src=\\\"https://www.mercadolibre.com/jms/lgz/background?dps=armor.a0b4c980c3659808755ef731ce99975b8b42530ae22f60776e37ce6aa502277ff82963d9bdd910fc9a66ccf375f9103983a3c14465d03c090263492d7ac6eaea9bc1e7be6573eaa30a49a4f766575d95.d082b58e1afaad8eb9b42fd6abe14709\\\";b.setAttribute(\\\"style\\\",\\\"display: none; width: 0; height: 0; border: none; margin: 0;\\\");document.body.appendChild(b)}\\\"complete\\\"===document.readyState?a():window.addEventListener?window.addEventListener(\\\"load\\\",a,!1):window.attachEvent&&window.attachEvent(\\\"onload\\\",a);\",\"parentNode\":{\"id\":304}}],[],[]]}" }, { "sequence": 8, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":306,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":304},\"parentNode\":{\"id\":4}},{\"nodeType\":1,\"id\":307,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":306},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 9, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":308,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":307},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 10, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":309,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":308},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 11, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":310,\"tagName\":\"IFRAME\",\"attributes\":{\"frameborder\":\"0\",\"allowtransparency\":\"true\",\"scrolling\":\"no\",\"name\":\"__privateStripeMetricsController0\",\"allowpaymentrequest\":\"true\",\"src\":\"https://js.stripe.com/v3/m-outer-090169779cdf49fad5ab0e59c999f664.html#url=https%3A%2F%2Fcanastarosa.com%2Fmy-store%2Fdashboard&title=Mi%20Tienda%20%7C%20Canasta%20Rosa&referrer=&muid=47285df3-1ce8-4bd7-8bd4-c1605e5f1cd9&sid=f0b737c7-c43d-4e48-8a6e-e219fe634240&preview=false\",\"aria-hidden\":\"true\",\"tabindex\":\"-1\",\"style\":\"border: none !important; margin: 0px !important; padding: 0px !important; width: 1px !important; min-width: 100% !important; overflow: hidden !important; display: block !important; visibility: hidden !important; position: fixed !important; height: 1px !important; pointer-events: none !important; user-select: none !important;\"},\"previousSibling\":{\"id\":228},\"parentNode\":{\"id\":103}}],[],[]]}" }, { "sequence": 12, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":311,\"tagName\":\"IFRAME\",\"attributes\":{\"src\":\"\",\"style\":\"display: none; width: 0; height: 0; border: none; margin: 0;\"},\"previousSibling\":{\"id\":310},\"parentNode\":{\"id\":103}}],[],[]]}" }, { "sequence": 13, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":312,\"tagName\":\"STYLE\",\"attributes\":{\"type\":\"text/css\"},\"previousSibling\":{\"id\":309},\"parentNode\":{\"id\":4}},{\"nodeType\":1,\"id\":313,\"tagName\":\"DIV\",\"attributes\":{\"id\":\"fb-root\",\"class\":\" fb_reset\"},\"previousSibling\":{\"id\":311},\"parentNode\":{\"id\":103}},{\"nodeType\":1,\"id\":314,\"tagName\":\"DIV\",\"attributes\":{\"style\":\"position: absolute; top: -10000px; width: 0px; height: 0px;\"},\"parentNode\":{\"id\":313}},{\"nodeType\":1,\"id\":315,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":314}},{\"nodeType\":3,\"id\":316,\"textContent\":\".fb_hidden{position:absolute;top:-10000px;z-index:10001}.fb_reposition{overflow:hidden;position:relative}.fb_invisible{display:none}.fb_reset{background:none;border:0;border-spacing:0;color:#000;cursor:auto;direction:ltr;font-family:\\\"lucida grande\\\", tahoma, verdana, arial, sans-serif;font-size:11px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:1;margin:0;overflow:visible;padding:0;text-align:left;text-decoration:none;text-indent:0;text-shadow:none;text-transform:none;visibility:visible;white-space:normal;word-spacing:normal}.fb_reset>div{overflow:hidden}@keyframes fb_transform{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.fb_animate{animation:fb_transform .3s forwards} .fb_dialog{background:rgba(82, 82, 82, .7);position:absolute;top:-10000px;z-index:10001}.fb_dialog_advanced{border-radius:8px;padding:10px}.fb_dialog_content{background:#fff;color:#373737}.fb_dialog_close_icon{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 0 transparent;cursor:pointer;display:block;height:15px;position:absolute;right:18px;top:17px;width:15px}.fb_dialog_mobile .fb_dialog_close_icon{left:5px;right:auto;top:5px}.fb_dialog_padding{background-color:transparent;position:absolute;width:1px;z-index:-1}.fb_dialog_close_icon:hover{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -15px transparent}.fb_dialog_close_icon:active{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yq/r/IE9JII6Z1Ys.png) no-repeat scroll 0 -30px transparent}.fb_dialog_iframe{line-height:0}.fb_dialog_content .dialog_title{background:#6d84b4;border:1px solid #365899;color:#fff;font-size:14px;font-weight:bold;margin:0}.fb_dialog_content .dialog_title>span{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/yd/r/Cou7n-nqK52.gif) no-repeat 5px 50%;float:left;padding:5px 0 7px 26px}body.fb_hidden{height:100%;left:0;margin:0;overflow:visible;position:absolute;top:-10000px;transform:none;width:100%}.fb_dialog.fb_dialog_mobile.loading{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/ya/r/3rhSv5V8j3o.gif) white no-repeat 50% 50%;min-height:100%;min-width:100%;overflow:hidden;position:absolute;top:0;z-index:10001}.fb_dialog.fb_dialog_mobile.loading.centered{background:none;height:auto;min-height:initial;min-width:initial;width:auto}.fb_dialog.fb_dialog_mobile.loading.centered #fb_dialog_loader_spinner{width:100%}.fb_dialog.fb_dialog_mobile.loading.centered .fb_dialog_content{background:none}.loading.centered #fb_dialog_loader_close{clear:both;color:#fff;display:block;font-size:18px;padding-top:20px}#fb-root #fb_dialog_ipad_overlay{background:rgba(0, 0, 0, .4);bottom:0;left:0;min-height:100%;position:absolute;right:0;top:0;width:100%;z-index:10000}#fb-root #fb_dialog_ipad_overlay.hidden{display:none}.fb_dialog.fb_dialog_mobile.loading iframe{visibility:hidden}.fb_dialog_mobile .fb_dialog_iframe{position:sticky;top:0}.fb_dialog_content .dialog_header{background:linear-gradient(from(#738aba), to(#2c4987));border-bottom:1px solid;border-color:#043b87;box-shadow:white 0 1px 1px -1px inset;color:#fff;font:bold 14px Helvetica, sans-serif;text-overflow:ellipsis;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0;vertical-align:middle;white-space:nowrap}.fb_dialog_content .dialog_header table{height:43px;width:100%}.fb_dialog_content .dialog_header td.header_left{font-size:12px;padding-left:5px;vertical-align:middle;width:60px}.fb_dialog_content .dialog_header td.header_right{font-size:12px;padding-right:5px;vertical-align:middle;width:60px}.fb_dialog_content .touchable_button{background:linear-gradient(from(#4267B2), to(#2a4887));background-clip:padding-box;border:1px solid #29487d;border-radius:3px;display:inline-block;line-height:18px;margin-top:3px;max-width:85px;padding:4px 12px;position:relative}.fb_dialog_content .dialog_header .touchable_button input{background:none;border:none;color:#fff;font:bold 12px Helvetica, sans-serif;margin:2px -12px;padding:2px 6px 3px 6px;text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog_content .dialog_header .header_center{color:#fff;font-size:16px;font-weight:bold;line-height:18px;text-align:center;vertical-align:middle}.fb_dialog_content .dialog_content{background:url(https://static.xx.fbcdn.net/rsrc.php/v3/y9/r/jKEcVPZFk-2.gif) no-repeat 50% 50%;border:1px solid #4a4a4a;border-bottom:0;border-top:0;height:150px}.fb_dialog_content .dialog_footer{background:#f5f6f7;border:1px solid #4a4a4a;border-top-color:#ccc;height:40px}#fb_dialog_loader_close{float:left}.fb_dialog.fb_dialog_mobile .fb_dialog_close_button{text-shadow:rgba(0, 30, 84, .296875) 0 -1px 0}.fb_dialog.fb_dialog_mobile .fb_dialog_close_icon{visibility:hidden}#fb_dialog_loader_spinner{animation:rotateSpinner 1.2s linear infinite;background-color:transparent;background-image:url(https://static.xx.fbcdn.net/rsrc.php/v3/yD/r/t-wz8gw1xG1.png);background-position:50% 50%;background-repeat:no-repeat;height:24px;width:24px}@keyframes rotateSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}} .fb_iframe_widget{display:inline-block;position:relative}.fb_iframe_widget span{display:inline-block;position:relative;text-align:justify}.fb_iframe_widget iframe{position:absolute}.fb_iframe_widget_fluid_desktop,.fb_iframe_widget_fluid_desktop span,.fb_iframe_widget_fluid_desktop iframe{max-width:100%}.fb_iframe_widget_fluid_desktop iframe{min-width:220px;position:relative}.fb_iframe_widget_lift{z-index:1}.fb_iframe_widget_fluid{display:inline}.fb_iframe_widget_fluid span{width:100%}\",\"parentNode\":{\"id\":312}}],[],[]]}" }, { "sequence": 14, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":302}],[{\"nodeType\":1,\"id\":317,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":117}},{\"nodeType\":1,\"id\":318,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeApp\"},\"parentNode\":{\"id\":317}},{\"nodeType\":1,\"id\":319,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__header\"},\"parentNode\":{\"nodeType\":1,\"id\":320,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module dashboard\"}}},{\"nodeType\":1,\"id\":321,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan\"},\"previousSibling\":{\"id\":319},\"parentNode\":{\"id\":320}},{\"nodeType\":1,\"id\":322,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns\"},\"previousSibling\":{\"id\":321},\"parentNode\":{\"id\":320}},{\"nodeType\":1,\"id\":323,\"tagName\":\"ASIDE\",\"attributes\":{\"class\":\"storeMenu\"},\"parentNode\":{\"id\":318}},{\"nodeType\":1,\"id\":324,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"contentWrapper\"},\"previousSibling\":{\"id\":323},\"parentNode\":{\"id\":318}},{\"nodeType\":1,\"id\":325,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_container\"},\"parentNode\":{\"id\":323}},{\"nodeType\":1,\"id\":326,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"closed\"},\"previousSibling\":{\"id\":325},\"parentNode\":{\"id\":323}},{\"nodeType\":1,\"id\":327,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"logo\"},\"parentNode\":{\"id\":325}},{\"nodeType\":1,\"id\":328,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"menu\"},\"previousSibling\":{\"id\":327},\"parentNode\":{\"id\":325}},{\"nodeType\":1,\"id\":329,\"tagName\":\"A\",\"attributes\":{\"class\":\"logo__button\",\"href\":\"/\"},\"parentNode\":{\"id\":327}},{\"nodeType\":1,\"id\":330,\"tagName\":\"PICTURE\",\"attributes\":{},\"parentNode\":{\"id\":329}},{\"nodeType\":1,\"id\":331,\"tagName\":\"SOURCE\",\"attributes\":{\"media\":\"(min-width: 45.5em)\",\"srcset\":\"/images/logo/header_logo_full.svg\"},\"parentNode\":{\"id\":330}},{\"nodeType\":1,\"id\":332,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/logo/header_logo.svg\",\"alt\":\"Home\"},\"previousSibling\":{\"id\":331},\"parentNode\":{\"id\":330}},{\"nodeType\":1,\"id\":333,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\"},\"parentNode\":{\"id\":328}},{\"nodeType\":3,\"id\":334,\"textContent\":\"Menu\",\"parentNode\":{\"id\":333}},{\"nodeType\":1,\"id\":335,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_dropdown\"},\"parentNode\":{\"id\":326}},{\"nodeType\":1,\"id\":336,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile storeMenu__module\"},\"parentNode\":{\"id\":335}},{\"nodeType\":1,\"id\":337,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"storeMenu__navigation storeMenu__module\"},\"previousSibling\":{\"id\":336},\"parentNode\":{\"id\":335}},{\"nodeType\":1,\"id\":338,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-crPro storeMenu__module\"},\"previousSibling\":{\"id\":337},\"parentNode\":{\"id\":335}},{\"nodeType\":1,\"id\":339,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__referrerCode\"},\"previousSibling\":{\"id\":338},\"parentNode\":{\"id\":335}},{\"nodeType\":1,\"id\":340,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer\"},\"parentNode\":{\"id\":336}},{\"nodeType\":1,\"id\":341,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile-info\"},\"previousSibling\":{\"id\":340},\"parentNode\":{\"id\":336}},{\"nodeType\":1,\"id\":342,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-article storeMenu__module\"},\"previousSibling\":{\"id\":341},\"parentNode\":{\"id\":336}},{\"nodeType\":1,\"id\":343,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer__wrapper\"},\"parentNode\":{\"id\":340}},{\"nodeType\":1,\"id\":344,\"tagName\":\"PICTURE\",\"attributes\":{\"class\":\"responsive-picture \"},\"parentNode\":{\"id\":343}},{\"nodeType\":1,\"id\":345,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-480x480.png\",\"class\":\"responsive-image\",\"media\":\"(max-width: 60em)\"},\"parentNode\":{\"id\":344}},{\"nodeType\":1,\"id\":346,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-680x680.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 60em)\"},\"previousSibling\":{\"id\":345},\"parentNode\":{\"id\":344}},{\"nodeType\":1,\"id\":347,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-960x960.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 80em)\"},\"previousSibling\":{\"id\":346},\"parentNode\":{\"id\":344}},{\"nodeType\":1,\"id\":348,\"tagName\":\"IMG\",\"attributes\":{\"class\":\"responsive-image\",\"src\":\"\",\"alt\":\"Xoxoctli Ecotienda\",\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s;\"},\"previousSibling\":{\"id\":347},\"parentNode\":{\"id\":344}},{\"nodeType\":1,\"id\":349,\"tagName\":\"H3\",\"attributes\":{},\"parentNode\":{\"id\":341}},{\"nodeType\":1,\"id\":350,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_border\",\"href\":\"/stores/xoxoctli-ecotienda/\"},\"previousSibling\":{\"id\":349},\"parentNode\":{\"id\":341}},{\"nodeType\":3,\"id\":351,\"textContent\":\"Xoxoctli Ecotienda\",\"parentNode\":{\"id\":349}},{\"nodeType\":3,\"id\":352,\"textContent\":\"Ver mi Tienda\",\"parentNode\":{\"id\":350}},{\"nodeType\":1,\"id\":353,\"tagName\":\"DIV\",\"attributes\":{\"to\":\"/my-store/products/add\",\"class\":\"c2a_square\"},\"parentNode\":{\"id\":342}},{\"nodeType\":3,\"id\":354,\"textContent\":\"+ Nuevo Producto\",\"parentNode\":{\"id\":353}},{\"nodeType\":1,\"id\":355,\"tagName\":\"UL\",\"attributes\":{},\"parentNode\":{\"id\":337}},{\"nodeType\":1,\"id\":356,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":357,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":356},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":358,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":357},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":359,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":358},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":360,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":359},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":361,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"previousSibling\":{\"id\":360},\"parentNode\":{\"id\":355}},{\"nodeType\":1,\"id\":362,\"tagName\":\"A\",\"attributes\":{\"class\":\"active\",\"aria-current\":\"page\",\"href\":\"/my-store/dashboard\"},\"parentNode\":{\"id\":356}},{\"nodeType\":3,\"id\":363,\"textContent\":\"Mi panel\",\"parentNode\":{\"id\":362}},{\"nodeType\":1,\"id\":364,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/settings\"},\"parentNode\":{\"id\":357}},{\"nodeType\":3,\"id\":365,\"textContent\":\"Mi Tienda\",\"parentNode\":{\"id\":364}},{\"nodeType\":1,\"id\":366,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/products\"},\"parentNode\":{\"id\":358}},{\"nodeType\":3,\"id\":367,\"textContent\":\"Productos\",\"parentNode\":{\"id\":366}},{\"nodeType\":1,\"id\":368,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders\"},\"parentNode\":{\"id\":359}},{\"nodeType\":3,\"id\":369,\"textContent\":\"Órdenes\",\"parentNode\":{\"id\":368}},{\"nodeType\":1,\"id\":370,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/movements\"},\"parentNode\":{\"id\":360}},{\"nodeType\":3,\"id\":371,\"textContent\":\"Mi Saldo\",\"parentNode\":{\"id\":370}},{\"nodeType\":1,\"id\":372,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/subscription\"},\"parentNode\":{\"id\":361}},{\"nodeType\":3,\"id\":373,\"textContent\":\"Subscripción\",\"parentNode\":{\"id\":372}},{\"nodeType\":1,\"id\":374,\"tagName\":\"P\",\"attributes\":{\"class\":\"note\"},\"parentNode\":{\"id\":338}},{\"nodeType\":1,\"id\":375,\"tagName\":\"A\",\"attributes\":{\"class\":\"link\",\"target\":\"_blank\",\"href\":\"/pro\"},\"previousSibling\":{\"id\":374},\"parentNode\":{\"id\":338}},{\"nodeType\":3,\"id\":376,\"textContent\":\"¿Quieres crecer tu marca? Conoce los servicios de\",\"parentNode\":{\"id\":374}},{\"nodeType\":3,\"id\":377,\"textContent\":\"Canasta Rosa Pro\",\"parentNode\":{\"id\":375}},{\"nodeType\":1,\"id\":378,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":377},\"parentNode\":{\"id\":375}},{\"nodeType\":1,\"id\":379,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"question note\"},\"parentNode\":{\"id\":339}},{\"nodeType\":1,\"id\":380,\"tagName\":\"FORM\",\"attributes\":{\"class\":\"referrer-form\"},\"previousSibling\":{\"id\":379},\"parentNode\":{\"id\":339}},{\"nodeType\":3,\"id\":381,\"textContent\":\"¿Abriste tu tienda por recomendación de alguien?\",\"parentNode\":{\"id\":379}},{\"nodeType\":1,\"id\":382,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-referrer-input\"},\"parentNode\":{\"id\":380}},{\"nodeType\":1,\"id\":383,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"btns-container\"},\"previousSibling\":{\"id\":382},\"parentNode\":{\"id\":380}},{\"nodeType\":1,\"id\":384,\"tagName\":\"LABEL\",\"attributes\":{\"class\":\"title\",\"for\":\"referrer\"},\"parentNode\":{\"id\":382}},{\"nodeType\":1,\"id\":385,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"referrer\",\"class\":\"\",\"id\":\"referrer\",\"placeholder\":\"Ingresa su código aquí\",\"value\":\"\"},\"previousSibling\":{\"id\":384},\"parentNode\":{\"id\":382}},{\"nodeType\":1,\"id\":386,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":383}},{\"nodeType\":1,\"id\":387,\"tagName\":\"A\",\"attributes\":{\"class\":\"send\"},\"parentNode\":{\"id\":386}},{\"nodeType\":3,\"id\":388,\"textContent\":\"Enviar Código\",\"parentNode\":{\"id\":387}},{\"nodeType\":1,\"id\":389,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":324}},{\"id\":320,\"parentNode\":{\"id\":389}},{\"nodeType\":1,\"id\":390,\"tagName\":\"H4\",\"attributes\":{\"class\":\"\"},\"parentNode\":{\"id\":319}},{\"nodeType\":1,\"id\":391,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__shareStore\"},\"previousSibling\":{\"id\":390},\"parentNode\":{\"id\":319}},{\"nodeType\":3,\"id\":392,\"textContent\":\"Mi panel\",\"parentNode\":{\"id\":390}},{\"nodeType\":1,\"id\":393,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":391}},{\"nodeType\":1,\"id\":394,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":393},\"parentNode\":{\"id\":391}},{\"nodeType\":3,\"id\":395,\"textContent\":\"Comparte tu Tienda\",\"parentNode\":{\"id\":393}},{\"nodeType\":1,\"id\":396,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":394}},{\"nodeType\":1,\"id\":397,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":396}},{\"nodeType\":1,\"id\":398,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":397},\"parentNode\":{\"id\":396}},{\"nodeType\":1,\"id\":399,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":398},\"parentNode\":{\"id\":396}},{\"nodeType\":1,\"id\":400,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":397}},{\"nodeType\":3,\"id\":401,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":400}},{\"nodeType\":1,\"id\":402,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":398}},{\"nodeType\":3,\"id\":403,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":402}},{\"nodeType\":1,\"id\":404,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":399}},{\"nodeType\":3,\"id\":405,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":404}},{\"nodeType\":1,\"id\":406,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-header\"},\"parentNode\":{\"id\":321}},{\"nodeType\":1,\"id\":407,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-details\"},\"previousSibling\":{\"id\":406},\"parentNode\":{\"id\":321}},{\"nodeType\":1,\"id\":408,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/leftup.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-lu\"},\"parentNode\":{\"id\":406}},{\"nodeType\":1,\"id\":409,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/rightdown.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-rd\"},\"previousSibling\":{\"id\":408},\"parentNode\":{\"id\":406}},{\"nodeType\":1,\"id\":410,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":409},\"parentNode\":{\"id\":406}},{\"nodeType\":1,\"id\":411,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-type\"},\"parentNode\":{\"id\":410}},{\"nodeType\":1,\"id\":412,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/proC.svg\",\"class\":\"dashboard__plan-iconStandard\",\"alt\":\"Icono plan estándar\",\"aria-label\":\"Icono plan estándar\"},\"parentNode\":{\"id\":411}},{\"nodeType\":1,\"id\":413,\"tagName\":\"H3\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2 dashboard__plan-title\"},\"previousSibling\":{\"id\":412},\"parentNode\":{\"id\":411}},{\"nodeType\":3,\"id\":414,\"textContent\":\"Plan \",\"parentNode\":{\"id\":413}},{\"nodeType\":3,\"id\":415,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":414},\"parentNode\":{\"id\":413}},{\"nodeType\":1,\"id\":416,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":407}},{\"nodeType\":1,\"id\":417,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":418,\"textContent\":\" \",\"previousSibling\":{\"id\":417},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":419,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":418},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":420,\"textContent\":\"\",\"previousSibling\":{\"id\":419},\"parentNode\":{\"id\":416}},{\"nodeType\":1,\"id\":421,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":420},\"parentNode\":{\"id\":416}},{\"nodeType\":1,\"id\":422,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"previousSibling\":{\"id\":421},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":423,\"textContent\":\" \",\"previousSibling\":{\"id\":422},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":424,\"textContent\":\"31 Julio 2020\",\"previousSibling\":{\"id\":423},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":425,\"textContent\":\" \",\"previousSibling\":{\"id\":424},\"parentNode\":{\"id\":416}},{\"nodeType\":3,\"id\":426,\"textContent\":\"Plan actual:\",\"parentNode\":{\"id\":417}},{\"nodeType\":3,\"id\":427,\"textContent\":\"Siguiente renovación: \",\"parentNode\":{\"id\":422}},{\"nodeType\":1,\"id\":428,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-left\"},\"parentNode\":{\"id\":322}},{\"nodeType\":1,\"id\":429,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-right\"},\"previousSibling\":{\"id\":428},\"parentNode\":{\"id\":322}},{\"nodeType\":1,\"id\":430,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__orders\"},\"parentNode\":{\"id\":428}},{\"nodeType\":1,\"id\":431,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__download\"},\"previousSibling\":{\"id\":430},\"parentNode\":{\"id\":428}},{\"nodeType\":1,\"id\":432,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__national\"},\"previousSibling\":{\"id\":431},\"parentNode\":{\"id\":428}},{\"nodeType\":1,\"id\":433,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":430}},{\"nodeType\":1,\"id\":434,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":433},\"parentNode\":{\"id\":430}},{\"nodeType\":3,\"id\":435,\"textContent\":\"Órdenes\",\"parentNode\":{\"id\":433}},{\"nodeType\":1,\"id\":436,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"row\"},\"parentNode\":{\"id\":434}},{\"nodeType\":1,\"id\":437,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi \"},\"parentNode\":{\"id\":436}},{\"nodeType\":1,\"id\":438,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":437},\"parentNode\":{\"id\":436}},{\"nodeType\":1,\"id\":439,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":438},\"parentNode\":{\"id\":436}},{\"nodeType\":1,\"id\":440,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":439},\"parentNode\":{\"id\":436}},{\"nodeType\":1,\"id\":441,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":440},\"parentNode\":{\"id\":436}},{\"nodeType\":1,\"id\":442,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=awaiting_vendor_response\"},\"parentNode\":{\"id\":437}},{\"nodeType\":1,\"id\":443,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_new\"},\"parentNode\":{\"id\":442}},{\"nodeType\":1,\"id\":444,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":443},\"parentNode\":{\"id\":442}},{\"nodeType\":1,\"id\":445,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":443}},{\"nodeType\":3,\"id\":446,\"textContent\":\"3\",\"parentNode\":{\"id\":445}},{\"nodeType\":1,\"id\":447,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":444}},{\"nodeType\":1,\"id\":448,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":447},\"parentNode\":{\"id\":444}},{\"nodeType\":3,\"id\":449,\"textContent\":\"Nuevas\",\"parentNode\":{\"id\":447}},{\"nodeType\":3,\"id\":450,\"textContent\":\"Este mes\",\"parentNode\":{\"id\":448}},{\"nodeType\":1,\"id\":451,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=in_process\"},\"parentNode\":{\"id\":438}},{\"nodeType\":1,\"id\":452,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_in-process\"},\"parentNode\":{\"id\":451}},{\"nodeType\":1,\"id\":453,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":452},\"parentNode\":{\"id\":451}},{\"nodeType\":1,\"id\":454,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":452}},{\"nodeType\":3,\"id\":455,\"textContent\":\"1\",\"parentNode\":{\"id\":454}},{\"nodeType\":3,\"id\":456,\"textContent\":\"En Proceso\",\"parentNode\":{\"id\":453}},{\"nodeType\":1,\"id\":457,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=delivered\"},\"parentNode\":{\"id\":439}},{\"nodeType\":1,\"id\":458,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":457}},{\"nodeType\":1,\"id\":459,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_delivered\"},\"parentNode\":{\"id\":458}},{\"nodeType\":1,\"id\":460,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":459},\"parentNode\":{\"id\":458}},{\"nodeType\":1,\"id\":461,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":459}},{\"nodeType\":3,\"id\":462,\"textContent\":\"44\",\"parentNode\":{\"id\":461}},{\"nodeType\":3,\"id\":463,\"textContent\":\"Entregadas\",\"parentNode\":{\"id\":460}},{\"nodeType\":1,\"id\":464,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=paid\"},\"parentNode\":{\"id\":440}},{\"nodeType\":1,\"id\":465,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_paid\"},\"parentNode\":{\"id\":464}},{\"nodeType\":1,\"id\":466,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":465},\"parentNode\":{\"id\":464}},{\"nodeType\":1,\"id\":467,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":465}},{\"nodeType\":3,\"id\":468,\"textContent\":\"38\",\"parentNode\":{\"id\":467}},{\"nodeType\":1,\"id\":469,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":466}},{\"nodeType\":1,\"id\":470,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":469},\"parentNode\":{\"id\":466}},{\"nodeType\":3,\"id\":471,\"textContent\":\"Pagadas\",\"parentNode\":{\"id\":469}},{\"nodeType\":3,\"id\":472,\"textContent\":\"Totales\",\"parentNode\":{\"id\":470}},{\"nodeType\":1,\"id\":473,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=cancelled\"},\"parentNode\":{\"id\":441}},{\"nodeType\":1,\"id\":474,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_cancelled\"},\"parentNode\":{\"id\":473}},{\"nodeType\":1,\"id\":475,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":474},\"parentNode\":{\"id\":473}},{\"nodeType\":1,\"id\":476,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":474}},{\"nodeType\":3,\"id\":477,\"textContent\":\"2\",\"parentNode\":{\"id\":476}},{\"nodeType\":3,\"id\":478,\"textContent\":\"Canceladas\",\"parentNode\":{\"id\":475}},{\"nodeType\":1,\"id\":479,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":431}},{\"nodeType\":1,\"id\":480,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":479},\"parentNode\":{\"id\":431}},{\"nodeType\":3,\"id\":481,\"textContent\":\"Descargas\",\"parentNode\":{\"id\":479}},{\"nodeType\":1,\"id\":482,\"tagName\":\"UL\",\"attributes\":{\"class\":\"list\"},\"parentNode\":{\"id\":480}},{\"nodeType\":1,\"id\":483,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"parentNode\":{\"id\":482}},{\"nodeType\":1,\"id\":484,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"previousSibling\":{\"id\":483},\"parentNode\":{\"id\":482}},{\"nodeType\":1,\"id\":485,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-kit/kit-bienvenida-cr.zip\",\"download\":\"\"},\"parentNode\":{\"id\":483}},{\"nodeType\":3,\"id\":486,\"textContent\":\"Kit de etiquetas de órdenes y tarjeta dedicatoria\",\"parentNode\":{\"id\":485}},{\"nodeType\":1,\"id\":487,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"download\":\"\"},\"parentNode\":{\"id\":484}},{\"nodeType\":3,\"id\":488,\"textContent\":\"Guía de empaque envíos Nacionales\",\"parentNode\":{\"id\":487}},{\"nodeType\":1,\"id\":489,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"content\"},\"parentNode\":{\"id\":432}},{\"nodeType\":1,\"id\":490,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__contact\"},\"previousSibling\":{\"id\":489},\"parentNode\":{\"id\":432}},{\"nodeType\":1,\"id\":491,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__illustration is_national\"},\"parentNode\":{\"id\":489}},{\"nodeType\":1,\"id\":492,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__note\"},\"previousSibling\":{\"id\":491},\"parentNode\":{\"id\":489}},{\"nodeType\":1,\"id\":493,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":492}},{\"nodeType\":1,\"id\":494,\"tagName\":\"P\",\"attributes\":{\"class\":\"note download\"},\"previousSibling\":{\"id\":493},\"parentNode\":{\"id\":492}},{\"nodeType\":3,\"id\":495,\"textContent\":\"¡Felicidades tu tienda ahora es\",\"parentNode\":{\"id\":493}},{\"nodeType\":3,\"id\":496,\"textContent\":\" \",\"previousSibling\":{\"id\":495},\"parentNode\":{\"id\":493}},{\"nodeType\":1,\"id\":497,\"tagName\":\"STRONG\",\"attributes\":{\"class\":\"strong\"},\"previousSibling\":{\"id\":496},\"parentNode\":{\"id\":493}},{\"nodeType\":3,\"id\":498,\"textContent\":\"!\",\"previousSibling\":{\"id\":497},\"parentNode\":{\"id\":493}},{\"nodeType\":3,\"id\":499,\"textContent\":\"NACIONAL\",\"parentNode\":{\"id\":497}},{\"nodeType\":3,\"id\":500,\"textContent\":\"Guías de empaque y recomendación de Canasta Rosa.\",\"parentNode\":{\"id\":494}},{\"nodeType\":3,\"id\":501,\"textContent\":\" \",\"previousSibling\":{\"id\":500},\"parentNode\":{\"id\":494}},{\"nodeType\":1,\"id\":502,\"tagName\":\"A\",\"attributes\":{\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"class\":\"link_download\",\"download\":\"\"},\"previousSibling\":{\"id\":501},\"parentNode\":{\"id\":494}},{\"nodeType\":3,\"id\":503,\"textContent\":\"Descargar PDF\",\"parentNode\":{\"id\":502}},{\"nodeType\":1,\"id\":504,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"parentNode\":{\"id\":490}},{\"nodeType\":1,\"id\":505,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_square\",\"href\":\"mailto:info@canastarosa.com\"},\"previousSibling\":{\"id\":504},\"parentNode\":{\"id\":490}},{\"nodeType\":3,\"id\":506,\"textContent\":\"¿Tienes alguna duda?\",\"parentNode\":{\"id\":504}},{\"nodeType\":3,\"id\":507,\"textContent\":\" \",\"parentNode\":{\"id\":505}},{\"nodeType\":3,\"id\":508,\"textContent\":\"Contáctanos\",\"previousSibling\":{\"id\":507},\"parentNode\":{\"id\":505}},{\"nodeType\":1,\"id\":509,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__crpro\"},\"parentNode\":{\"id\":429}},{\"nodeType\":1,\"id\":510,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__referrerCode\"},\"previousSibling\":{\"id\":509},\"parentNode\":{\"id\":429}},{\"nodeType\":1,\"id\":511,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dark-rectangle\"},\"parentNode\":{\"id\":509}},{\"nodeType\":1,\"id\":512,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":511}},{\"nodeType\":1,\"id\":513,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":512}},{\"nodeType\":1,\"id\":514,\"tagName\":\"A\",\"attributes\":{\"class\":\"btn\",\"href\":\"/pro/\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"},\"previousSibling\":{\"id\":513},\"parentNode\":{\"id\":512}},{\"nodeType\":3,\"id\":515,\"textContent\":\"¿Buscas crecer tu marca?, \",\"parentNode\":{\"id\":513}},{\"nodeType\":1,\"id\":516,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":515},\"parentNode\":{\"id\":513}},{\"nodeType\":3,\"id\":517,\"textContent\":\" conoce los:\",\"previousSibling\":{\"id\":516},\"parentNode\":{\"id\":513}},{\"nodeType\":3,\"id\":518,\"textContent\":\"Servicios Canasta Rosa\",\"parentNode\":{\"id\":514}},{\"nodeType\":1,\"id\":519,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":510}},{\"nodeType\":1,\"id\":520,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":519},\"parentNode\":{\"id\":510}},{\"nodeType\":1,\"id\":521,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"referrer\"},\"previousSibling\":{\"id\":520},\"parentNode\":{\"id\":510}},{\"nodeType\":1,\"id\":522,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"code_container\"},\"previousSibling\":{\"id\":521},\"parentNode\":{\"id\":510}},{\"nodeType\":1,\"id\":523,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":522},\"parentNode\":{\"id\":510}},{\"nodeType\":3,\"id\":524,\"textContent\":\"Comparte tu Código de Referido\",\"parentNode\":{\"id\":519}},{\"nodeType\":1,\"id\":525,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"parentNode\":{\"id\":520}},{\"nodeType\":3,\"id\":526,\"textContent\":\" a vender en Canasta Rosa y obtén comisiones por cada tienda activa.\",\"previousSibling\":{\"id\":525},\"parentNode\":{\"id\":520}},{\"nodeType\":3,\"id\":527,\"textContent\":\"Invita a tus amigos\",\"parentNode\":{\"id\":525}},{\"nodeType\":3,\"id\":528,\"textContent\":\"Comparte \",\"parentNode\":{\"id\":521}},{\"nodeType\":1,\"id\":529,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"previousSibling\":{\"id\":528},\"parentNode\":{\"id\":521}},{\"nodeType\":3,\"id\":530,\"textContent\":\":\",\"previousSibling\":{\"id\":529},\"parentNode\":{\"id\":521}},{\"nodeType\":3,\"id\":531,\"textContent\":\"tu código\",\"parentNode\":{\"id\":529}},{\"nodeType\":1,\"id\":532,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2\"},\"parentNode\":{\"id\":522}},{\"nodeType\":3,\"id\":533,\"textContent\":\"xoxoctliecot-pdgw\",\"parentNode\":{\"id\":532}},{\"nodeType\":1,\"id\":534,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":523}},{\"nodeType\":1,\"id\":535,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":534}},{\"nodeType\":1,\"id\":536,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":535},\"parentNode\":{\"id\":534}},{\"nodeType\":1,\"id\":537,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":536},\"parentNode\":{\"id\":534}},{\"nodeType\":1,\"id\":538,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":535}},{\"nodeType\":3,\"id\":539,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":538}},{\"nodeType\":1,\"id\":540,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":536}},{\"nodeType\":3,\"id\":541,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":540}},{\"nodeType\":1,\"id\":542,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":537}},{\"nodeType\":3,\"id\":543,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":542}}],[],[]]}" }, { "sequence": 15, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":232}],[{\"nodeType\":3,\"id\":544,\"textContent\":\"Mi Tienda | Canasta Rosa\",\"parentNode\":{\"id\":24}}],[],[]]}" }, { "sequence": 16, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":348,\"attributes\":{\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s; width: 100%; height: auto;\"}}],[]]}" }, { "sequence": 17, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":348,\"attributes\":{\"src\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-680x680.png\"}}],[]]}" }, { "sequence": 18, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":545,\"tagName\":\"LINK\",\"attributes\":{\"href\":\"https://wchat.freshchat.com/css/widget.css?t=1595876900994\",\"rel\":\"stylesheet\"},\"previousSibling\":{\"id\":312},\"parentNode\":{\"id\":4}},{\"nodeType\":1,\"id\":546,\"tagName\":\"DIV\",\"attributes\":{\"id\":\"fc_frame\",\"class\":\"custom_fc_frame\"},\"previousSibling\":{\"id\":313},\"parentNode\":{\"id\":103}},{\"nodeType\":1,\"id\":547,\"tagName\":\"IFRAME\",\"attributes\":{\"id\":\"fc_widget\",\"name\":\"fc_widget\",\"title\":\"Chat\",\"frameborder\":\"0\",\"allowfullscreen\":\"true\",\"webkitallowfullscreen\":\"true\",\"mozallowfullscreen\":\"true\"},\"parentNode\":{\"id\":546}}],[],[]]}" }, { "sequence": 19, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":546,\"attributes\":{\"class\":\"custom_fc_frame fc-widget-small\"}}],[]]}" }, { "sequence": 20, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":548,\"tagName\":\"DIV\",\"attributes\":{\"id\":\"fc_push_frame\"},\"previousSibling\":{\"id\":546},\"parentNode\":{\"id\":103}},{\"nodeType\":1,\"id\":549,\"tagName\":\"IFRAME\",\"attributes\":{\"id\":\"fc_push\",\"src\":\"\",\"frameborder\":\"0\"},\"parentNode\":{\"id\":548}}],[],[]]}" }, { "sequence": 21, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":550,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":385},\"parentNode\":{\"id\":382}}],[],[]]}" }, { "sequence": 22, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":389},{\"id\":320},{\"id\":319},{\"id\":390},{\"id\":392},{\"id\":391},{\"id\":393},{\"id\":395},{\"id\":394},{\"id\":396},{\"id\":397},{\"id\":400},{\"id\":401},{\"id\":398},{\"id\":402},{\"id\":403},{\"id\":399},{\"id\":404},{\"id\":405},{\"id\":321},{\"id\":406},{\"id\":408},{\"id\":409},{\"id\":410},{\"id\":411},{\"id\":412},{\"id\":413},{\"id\":414},{\"id\":415},{\"id\":407},{\"id\":416},{\"id\":417},{\"id\":426},{\"id\":418},{\"id\":419},{\"id\":420},{\"id\":421},{\"id\":422},{\"id\":427},{\"id\":423},{\"id\":424},{\"id\":425},{\"id\":322},{\"id\":428},{\"id\":430},{\"id\":433},{\"id\":435},{\"id\":434},{\"id\":436},{\"id\":437},{\"id\":442},{\"id\":443},{\"id\":445},{\"id\":446},{\"id\":444},{\"id\":447},{\"id\":449},{\"id\":448},{\"id\":450},{\"id\":438},{\"id\":451},{\"id\":452},{\"id\":454},{\"id\":455},{\"id\":453},{\"id\":456},{\"id\":439},{\"id\":457},{\"id\":458},{\"id\":459},{\"id\":461},{\"id\":462},{\"id\":460},{\"id\":463},{\"id\":440},{\"id\":464},{\"id\":465},{\"id\":467},{\"id\":468},{\"id\":466},{\"id\":469},{\"id\":471},{\"id\":470},{\"id\":472},{\"id\":441},{\"id\":473},{\"id\":474},{\"id\":476},{\"id\":477},{\"id\":475},{\"id\":478},{\"id\":431},{\"id\":479},{\"id\":481},{\"id\":480},{\"id\":482},{\"id\":483},{\"id\":485},{\"id\":486},{\"id\":484},{\"id\":487},{\"id\":488},{\"id\":432},{\"id\":489},{\"id\":491},{\"id\":492},{\"id\":493},{\"id\":495},{\"id\":496},{\"id\":497},{\"id\":499},{\"id\":498},{\"id\":494},{\"id\":500},{\"id\":501},{\"id\":502},{\"id\":503},{\"id\":490},{\"id\":504},{\"id\":506},{\"id\":505},{\"id\":507},{\"id\":508},{\"id\":429},{\"id\":509},{\"id\":511},{\"id\":512},{\"id\":513},{\"id\":515},{\"id\":516},{\"id\":517},{\"id\":514},{\"id\":518},{\"id\":510},{\"id\":519},{\"id\":524},{\"id\":520},{\"id\":525},{\"id\":527},{\"id\":526},{\"id\":521},{\"id\":528},{\"id\":529},{\"id\":531},{\"id\":530},{\"id\":522},{\"id\":532},{\"id\":533},{\"id\":523},{\"id\":534},{\"id\":535},{\"id\":538},{\"id\":539},{\"id\":536},{\"id\":540},{\"id\":541},{\"id\":537},{\"id\":542},{\"id\":543}],[{\"nodeType\":1,\"id\":551,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":545},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 23, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":552,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":551},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 24, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":553,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module storeApp__orders orderListUI\"},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":554,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orderListUI__header\"},\"parentNode\":{\"id\":553}},{\"nodeType\":1,\"id\":555,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \"},\"previousSibling\":{\"id\":554},\"parentNode\":{\"id\":553}},{\"nodeType\":1,\"id\":556,\"tagName\":\"H3\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":554}},{\"nodeType\":1,\"id\":557,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"nav_filters\"},\"previousSibling\":{\"id\":556},\"parentNode\":{\"id\":554}},{\"nodeType\":3,\"id\":558,\"textContent\":\"Mis Órdenes\",\"parentNode\":{\"id\":556}},{\"nodeType\":1,\"id\":559,\"tagName\":\"SELECT\",\"attributes\":{\"name\":\"filters\"},\"parentNode\":{\"id\":557}},{\"nodeType\":1,\"id\":560,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"\"},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":561,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"awaiting_vendor_response\"},\"previousSibling\":{\"id\":560},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":562,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"preparing_order\"},\"previousSibling\":{\"id\":561},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":563,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"order_ready\"},\"previousSibling\":{\"id\":562},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":564,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"vendor_awaiting_shipment\"},\"previousSibling\":{\"id\":563},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":565,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"in_transit\"},\"previousSibling\":{\"id\":564},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":566,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"delivered\"},\"previousSibling\":{\"id\":565},\"parentNode\":{\"id\":559}},{\"nodeType\":1,\"id\":567,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"cancelled\"},\"previousSibling\":{\"id\":566},\"parentNode\":{\"id\":559}},{\"nodeType\":3,\"id\":568,\"textContent\":\"Todas ()\",\"parentNode\":{\"id\":560}},{\"nodeType\":3,\"id\":569,\"textContent\":\"Nuevas ()\",\"parentNode\":{\"id\":561}},{\"nodeType\":3,\"id\":570,\"textContent\":\"En Preparación ()\",\"parentNode\":{\"id\":562}},{\"nodeType\":3,\"id\":571,\"textContent\":\"Listas ()\",\"parentNode\":{\"id\":563}},{\"nodeType\":3,\"id\":572,\"textContent\":\"Esperando Recolección ()\",\"parentNode\":{\"id\":564}},{\"nodeType\":3,\"id\":573,\"textContent\":\"En Tránsito ()\",\"parentNode\":{\"id\":565}},{\"nodeType\":3,\"id\":574,\"textContent\":\"Entregadas ()\",\"parentNode\":{\"id\":566}},{\"nodeType\":3,\"id\":575,\"textContent\":\"Canceladas ()\",\"parentNode\":{\"id\":567}}],[],[]]}" }, { "sequence": 25, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":555}],[{\"nodeType\":1,\"id\":576,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orders-list_container\"},\"previousSibling\":{\"id\":554},\"parentNode\":{\"id\":553}},{\"nodeType\":1,\"id\":577,\"tagName\":\"TABLE\",\"attributes\":{\"class\":\"orders-list\"},\"parentNode\":{\"id\":576}},{\"nodeType\":1,\"id\":578,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"pagination\"},\"previousSibling\":{\"id\":577},\"parentNode\":{\"id\":576}},{\"nodeType\":1,\"id\":579,\"tagName\":\"THEAD\",\"attributes\":{\"class\":\"orders-list__header\"},\"parentNode\":{\"id\":577}},{\"nodeType\":1,\"id\":580,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--awaiting-shipment\"},\"previousSibling\":{\"id\":579},\"parentNode\":{\"id\":577}},{\"nodeType\":1,\"id\":581,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--id\"},\"parentNode\":{\"id\":579}},{\"nodeType\":1,\"id\":582,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":581},\"parentNode\":{\"id\":579}},{\"nodeType\":1,\"id\":583,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":582},\"parentNode\":{\"id\":579}},{\"nodeType\":1,\"id\":584,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":583},\"parentNode\":{\"id\":579}},{\"nodeType\":1,\"id\":585,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":584},\"parentNode\":{\"id\":579}},{\"nodeType\":1,\"id\":586,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":585},\"parentNode\":{\"id\":579}},{\"nodeType\":3,\"id\":587,\"textContent\":\"# Orden\",\"parentNode\":{\"id\":581}},{\"nodeType\":3,\"id\":588,\"textContent\":\"Recolección\",\"parentNode\":{\"id\":582}},{\"nodeType\":3,\"id\":589,\"textContent\":\"Precio\",\"parentNode\":{\"id\":583}},{\"nodeType\":3,\"id\":590,\"textContent\":\"Productos\",\"parentNode\":{\"id\":584}},{\"nodeType\":3,\"id\":591,\"textContent\":\"Prioridad\",\"parentNode\":{\"id\":585}},{\"nodeType\":3,\"id\":592,\"textContent\":\"Status\",\"parentNode\":{\"id\":586}},{\"nodeType\":1,\"id\":593,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n standard\\n false\"},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":594,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":593},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":595,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":594},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":596,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":595},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":597,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":596},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":598,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":597},\"parentNode\":{\"id\":580}},{\"nodeType\":1,\"id\":599,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-113654-3\"},\"parentNode\":{\"id\":593}},{\"nodeType\":1,\"id\":600,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"order-standard\"},\"previousSibling\":{\"id\":599},\"parentNode\":{\"id\":593}},{\"nodeType\":3,\"id\":601,\"textContent\":\"CR-113654-3\",\"parentNode\":{\"id\":599}},{\"nodeType\":3,\"id\":602,\"textContent\":\"Nacional\",\"parentNode\":{\"id\":600}},{\"nodeType\":3,\"id\":603,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":594}},{\"nodeType\":3,\"id\":604,\"textContent\":\"$205.00\",\"parentNode\":{\"id\":595}},{\"nodeType\":1,\"id\":605,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":596}},{\"nodeType\":1,\"id\":606,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":605},\"parentNode\":{\"id\":596}},{\"nodeType\":1,\"id\":607,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":606},\"parentNode\":{\"id\":596}},{\"nodeType\":3,\"id\":608,\"textContent\":\"[\",\"parentNode\":{\"id\":605}},{\"nodeType\":3,\"id\":609,\"textContent\":\"2\",\"previousSibling\":{\"id\":608},\"parentNode\":{\"id\":605}},{\"nodeType\":3,\"id\":610,\"textContent\":\"]\",\"previousSibling\":{\"id\":609},\"parentNode\":{\"id\":605}},{\"nodeType\":3,\"id\":611,\"textContent\":\"Vaso esterilizador de copa menstrual\",\"parentNode\":{\"id\":606}},{\"nodeType\":3,\"id\":612,\"textContent\":\". \",\"previousSibling\":{\"id\":611},\"parentNode\":{\"id\":606}},{\"nodeType\":3,\"id\":613,\"textContent\":\"Gel para limpieza de copa menstrual\",\"parentNode\":{\"id\":607}},{\"nodeType\":3,\"id\":614,\"textContent\":\". \",\"previousSibling\":{\"id\":613},\"parentNode\":{\"id\":607}},{\"nodeType\":1,\"id\":615,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":597}},{\"nodeType\":3,\"id\":616,\"textContent\":\"Alta\",\"parentNode\":{\"id\":615}},{\"nodeType\":1,\"id\":617,\"tagName\":\"P\",\"attributes\":{},\"parentNode\":{\"id\":598}},{\"nodeType\":1,\"id\":618,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status-display status-display--awaiting-shipment\"},\"parentNode\":{\"id\":617}},{\"nodeType\":3,\"id\":619,\"textContent\":\"Esperando Recolección\",\"parentNode\":{\"id\":618}},{\"nodeType\":1,\"id\":620,\"tagName\":\"UL\",\"attributes\":{\"class\":\"page-numbers\"},\"parentNode\":{\"id\":578}}],[],[]]}" }, { "sequence": 26, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[],[{\"id\":568,\"textContent\":\"Todas (50)\"},{\"id\":569,\"textContent\":\"Nuevas (3)\"},{\"id\":570,\"textContent\":\"En Preparación (0)\"},{\"id\":571,\"textContent\":\"Listas (0)\"},{\"id\":572,\"textContent\":\"Esperando Recolección (1)\"},{\"id\":573,\"textContent\":\"En Tránsito (0)\"},{\"id\":574,\"textContent\":\"Entregadas (44)\"},{\"id\":575,\"textContent\":\"Canceladas (2)\"}]]}" }, { "sequence": 27, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":553},{\"id\":554},{\"id\":556},{\"id\":558},{\"id\":557},{\"id\":559},{\"id\":560},{\"id\":568},{\"id\":561},{\"id\":569},{\"id\":562},{\"id\":570},{\"id\":563},{\"id\":571},{\"id\":564},{\"id\":572},{\"id\":565},{\"id\":573},{\"id\":566},{\"id\":574},{\"id\":567},{\"id\":575},{\"id\":576},{\"id\":577},{\"id\":579},{\"id\":581},{\"id\":587},{\"id\":582},{\"id\":588},{\"id\":583},{\"id\":589},{\"id\":584},{\"id\":590},{\"id\":585},{\"id\":591},{\"id\":586},{\"id\":592},{\"id\":580},{\"id\":593},{\"id\":599},{\"id\":601},{\"id\":600},{\"id\":602},{\"id\":594},{\"id\":603},{\"id\":595},{\"id\":604},{\"id\":596},{\"id\":605},{\"id\":608},{\"id\":609},{\"id\":610},{\"id\":606},{\"id\":611},{\"id\":612},{\"id\":607},{\"id\":613},{\"id\":614},{\"id\":597},{\"id\":615},{\"id\":616},{\"id\":598},{\"id\":617},{\"id\":618},{\"id\":619},{\"id\":578},{\"id\":620}],[{\"nodeType\":1,\"id\":621,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":622,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module dashboard\"},\"parentNode\":{\"id\":621}},{\"nodeType\":1,\"id\":623,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__header\"},\"parentNode\":{\"id\":622}},{\"nodeType\":1,\"id\":624,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan\"},\"previousSibling\":{\"id\":623},\"parentNode\":{\"id\":622}},{\"nodeType\":1,\"id\":625,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns\"},\"previousSibling\":{\"id\":624},\"parentNode\":{\"id\":622}},{\"nodeType\":1,\"id\":626,\"tagName\":\"H4\",\"attributes\":{\"class\":\"\"},\"parentNode\":{\"id\":623}},{\"nodeType\":1,\"id\":627,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__shareStore\"},\"previousSibling\":{\"id\":626},\"parentNode\":{\"id\":623}},{\"nodeType\":3,\"id\":628,\"textContent\":\"Mi panel\",\"parentNode\":{\"id\":626}},{\"nodeType\":1,\"id\":629,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":627}},{\"nodeType\":1,\"id\":630,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":629},\"parentNode\":{\"id\":627}},{\"nodeType\":3,\"id\":631,\"textContent\":\"Comparte tu Tienda\",\"parentNode\":{\"id\":629}},{\"nodeType\":1,\"id\":632,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":630}},{\"nodeType\":1,\"id\":633,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":632}},{\"nodeType\":1,\"id\":634,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":633},\"parentNode\":{\"id\":632}},{\"nodeType\":1,\"id\":635,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":634},\"parentNode\":{\"id\":632}},{\"nodeType\":1,\"id\":636,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":633}},{\"nodeType\":3,\"id\":637,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":636}},{\"nodeType\":1,\"id\":638,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":634}},{\"nodeType\":3,\"id\":639,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":638}},{\"nodeType\":1,\"id\":640,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":635}},{\"nodeType\":3,\"id\":641,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":640}},{\"nodeType\":1,\"id\":642,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-header\"},\"parentNode\":{\"id\":624}},{\"nodeType\":1,\"id\":643,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-details\"},\"previousSibling\":{\"id\":642},\"parentNode\":{\"id\":624}},{\"nodeType\":1,\"id\":644,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/leftup.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-lu\"},\"parentNode\":{\"id\":642}},{\"nodeType\":1,\"id\":645,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/rightdown.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-rd\"},\"previousSibling\":{\"id\":644},\"parentNode\":{\"id\":642}},{\"nodeType\":1,\"id\":646,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":645},\"parentNode\":{\"id\":642}},{\"nodeType\":1,\"id\":647,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-type\"},\"parentNode\":{\"id\":646}},{\"nodeType\":1,\"id\":648,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/proC.svg\",\"class\":\"dashboard__plan-iconStandard\",\"alt\":\"Icono plan estándar\",\"aria-label\":\"Icono plan estándar\"},\"parentNode\":{\"id\":647}},{\"nodeType\":1,\"id\":649,\"tagName\":\"H3\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2 dashboard__plan-title\"},\"previousSibling\":{\"id\":648},\"parentNode\":{\"id\":647}},{\"nodeType\":3,\"id\":650,\"textContent\":\"Plan \",\"parentNode\":{\"id\":649}},{\"nodeType\":3,\"id\":651,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":650},\"parentNode\":{\"id\":649}},{\"nodeType\":1,\"id\":652,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":643}},{\"nodeType\":1,\"id\":653,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":654,\"textContent\":\" \",\"previousSibling\":{\"id\":653},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":655,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":654},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":656,\"textContent\":\"\",\"previousSibling\":{\"id\":655},\"parentNode\":{\"id\":652}},{\"nodeType\":1,\"id\":657,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":656},\"parentNode\":{\"id\":652}},{\"nodeType\":1,\"id\":658,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"previousSibling\":{\"id\":657},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":659,\"textContent\":\" \",\"previousSibling\":{\"id\":658},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":660,\"textContent\":\"31 Julio 2020\",\"previousSibling\":{\"id\":659},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":661,\"textContent\":\" \",\"previousSibling\":{\"id\":660},\"parentNode\":{\"id\":652}},{\"nodeType\":3,\"id\":662,\"textContent\":\"Plan actual:\",\"parentNode\":{\"id\":653}},{\"nodeType\":3,\"id\":663,\"textContent\":\"Siguiente renovación: \",\"parentNode\":{\"id\":658}},{\"nodeType\":1,\"id\":664,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-left\"},\"parentNode\":{\"id\":625}},{\"nodeType\":1,\"id\":665,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-right\"},\"previousSibling\":{\"id\":664},\"parentNode\":{\"id\":625}},{\"nodeType\":1,\"id\":666,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__orders\"},\"parentNode\":{\"id\":664}},{\"nodeType\":1,\"id\":667,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__download\"},\"previousSibling\":{\"id\":666},\"parentNode\":{\"id\":664}},{\"nodeType\":1,\"id\":668,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__national\"},\"previousSibling\":{\"id\":667},\"parentNode\":{\"id\":664}},{\"nodeType\":1,\"id\":669,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":666}},{\"nodeType\":1,\"id\":670,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":669},\"parentNode\":{\"id\":666}},{\"nodeType\":3,\"id\":671,\"textContent\":\"Órdenes\",\"parentNode\":{\"id\":669}},{\"nodeType\":1,\"id\":672,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"row\"},\"parentNode\":{\"id\":670}},{\"nodeType\":1,\"id\":673,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi \"},\"parentNode\":{\"id\":672}},{\"nodeType\":1,\"id\":674,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":673},\"parentNode\":{\"id\":672}},{\"nodeType\":1,\"id\":675,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":674},\"parentNode\":{\"id\":672}},{\"nodeType\":1,\"id\":676,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":675},\"parentNode\":{\"id\":672}},{\"nodeType\":1,\"id\":677,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":676},\"parentNode\":{\"id\":672}},{\"nodeType\":1,\"id\":678,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=awaiting_vendor_response\"},\"parentNode\":{\"id\":673}},{\"nodeType\":1,\"id\":679,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_new\"},\"parentNode\":{\"id\":678}},{\"nodeType\":1,\"id\":680,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":679},\"parentNode\":{\"id\":678}},{\"nodeType\":1,\"id\":681,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":679}},{\"nodeType\":3,\"id\":682,\"textContent\":\"3\",\"parentNode\":{\"id\":681}},{\"nodeType\":1,\"id\":683,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":680}},{\"nodeType\":1,\"id\":684,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":683},\"parentNode\":{\"id\":680}},{\"nodeType\":3,\"id\":685,\"textContent\":\"Nuevas\",\"parentNode\":{\"id\":683}},{\"nodeType\":3,\"id\":686,\"textContent\":\"Este mes\",\"parentNode\":{\"id\":684}},{\"nodeType\":1,\"id\":687,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=in_process\"},\"parentNode\":{\"id\":674}},{\"nodeType\":1,\"id\":688,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_in-process\"},\"parentNode\":{\"id\":687}},{\"nodeType\":1,\"id\":689,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":688},\"parentNode\":{\"id\":687}},{\"nodeType\":1,\"id\":690,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":688}},{\"nodeType\":3,\"id\":691,\"textContent\":\"1\",\"parentNode\":{\"id\":690}},{\"nodeType\":3,\"id\":692,\"textContent\":\"En Proceso\",\"parentNode\":{\"id\":689}},{\"nodeType\":1,\"id\":693,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=delivered\"},\"parentNode\":{\"id\":675}},{\"nodeType\":1,\"id\":694,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":693}},{\"nodeType\":1,\"id\":695,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_delivered\"},\"parentNode\":{\"id\":694}},{\"nodeType\":1,\"id\":696,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":695},\"parentNode\":{\"id\":694}},{\"nodeType\":1,\"id\":697,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":695}},{\"nodeType\":3,\"id\":698,\"textContent\":\"44\",\"parentNode\":{\"id\":697}},{\"nodeType\":3,\"id\":699,\"textContent\":\"Entregadas\",\"parentNode\":{\"id\":696}},{\"nodeType\":1,\"id\":700,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=paid\"},\"parentNode\":{\"id\":676}},{\"nodeType\":1,\"id\":701,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_paid\"},\"parentNode\":{\"id\":700}},{\"nodeType\":1,\"id\":702,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":701},\"parentNode\":{\"id\":700}},{\"nodeType\":1,\"id\":703,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":701}},{\"nodeType\":3,\"id\":704,\"textContent\":\"38\",\"parentNode\":{\"id\":703}},{\"nodeType\":1,\"id\":705,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":702}},{\"nodeType\":1,\"id\":706,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":705},\"parentNode\":{\"id\":702}},{\"nodeType\":3,\"id\":707,\"textContent\":\"Pagadas\",\"parentNode\":{\"id\":705}},{\"nodeType\":3,\"id\":708,\"textContent\":\"Totales\",\"parentNode\":{\"id\":706}},{\"nodeType\":1,\"id\":709,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=cancelled\"},\"parentNode\":{\"id\":677}},{\"nodeType\":1,\"id\":710,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_cancelled\"},\"parentNode\":{\"id\":709}},{\"nodeType\":1,\"id\":711,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":710},\"parentNode\":{\"id\":709}},{\"nodeType\":1,\"id\":712,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":710}},{\"nodeType\":3,\"id\":713,\"textContent\":\"2\",\"parentNode\":{\"id\":712}},{\"nodeType\":3,\"id\":714,\"textContent\":\"Canceladas\",\"parentNode\":{\"id\":711}},{\"nodeType\":1,\"id\":715,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":667}},{\"nodeType\":1,\"id\":716,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":715},\"parentNode\":{\"id\":667}},{\"nodeType\":3,\"id\":717,\"textContent\":\"Descargas\",\"parentNode\":{\"id\":715}},{\"nodeType\":1,\"id\":718,\"tagName\":\"UL\",\"attributes\":{\"class\":\"list\"},\"parentNode\":{\"id\":716}},{\"nodeType\":1,\"id\":719,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"parentNode\":{\"id\":718}},{\"nodeType\":1,\"id\":720,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"previousSibling\":{\"id\":719},\"parentNode\":{\"id\":718}},{\"nodeType\":1,\"id\":721,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-kit/kit-bienvenida-cr.zip\",\"download\":\"\"},\"parentNode\":{\"id\":719}},{\"nodeType\":3,\"id\":722,\"textContent\":\"Kit de etiquetas de órdenes y tarjeta dedicatoria\",\"parentNode\":{\"id\":721}},{\"nodeType\":1,\"id\":723,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"download\":\"\"},\"parentNode\":{\"id\":720}},{\"nodeType\":3,\"id\":724,\"textContent\":\"Guía de empaque envíos Nacionales\",\"parentNode\":{\"id\":723}},{\"nodeType\":1,\"id\":725,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"content\"},\"parentNode\":{\"id\":668}},{\"nodeType\":1,\"id\":726,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__contact\"},\"previousSibling\":{\"id\":725},\"parentNode\":{\"id\":668}},{\"nodeType\":1,\"id\":727,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__illustration is_national\"},\"parentNode\":{\"id\":725}},{\"nodeType\":1,\"id\":728,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__note\"},\"previousSibling\":{\"id\":727},\"parentNode\":{\"id\":725}},{\"nodeType\":1,\"id\":729,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":728}},{\"nodeType\":1,\"id\":730,\"tagName\":\"P\",\"attributes\":{\"class\":\"note download\"},\"previousSibling\":{\"id\":729},\"parentNode\":{\"id\":728}},{\"nodeType\":3,\"id\":731,\"textContent\":\"¡Felicidades tu tienda ahora es\",\"parentNode\":{\"id\":729}},{\"nodeType\":3,\"id\":732,\"textContent\":\" \",\"previousSibling\":{\"id\":731},\"parentNode\":{\"id\":729}},{\"nodeType\":1,\"id\":733,\"tagName\":\"STRONG\",\"attributes\":{\"class\":\"strong\"},\"previousSibling\":{\"id\":732},\"parentNode\":{\"id\":729}},{\"nodeType\":3,\"id\":734,\"textContent\":\"!\",\"previousSibling\":{\"id\":733},\"parentNode\":{\"id\":729}},{\"nodeType\":3,\"id\":735,\"textContent\":\"NACIONAL\",\"parentNode\":{\"id\":733}},{\"nodeType\":3,\"id\":736,\"textContent\":\"Guías de empaque y recomendación de Canasta Rosa.\",\"parentNode\":{\"id\":730}},{\"nodeType\":3,\"id\":737,\"textContent\":\" \",\"previousSibling\":{\"id\":736},\"parentNode\":{\"id\":730}},{\"nodeType\":1,\"id\":738,\"tagName\":\"A\",\"attributes\":{\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"class\":\"link_download\",\"download\":\"\"},\"previousSibling\":{\"id\":737},\"parentNode\":{\"id\":730}},{\"nodeType\":3,\"id\":739,\"textContent\":\"Descargar PDF\",\"parentNode\":{\"id\":738}},{\"nodeType\":1,\"id\":740,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"parentNode\":{\"id\":726}},{\"nodeType\":1,\"id\":741,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_square\",\"href\":\"mailto:info@canastarosa.com\"},\"previousSibling\":{\"id\":740},\"parentNode\":{\"id\":726}},{\"nodeType\":3,\"id\":742,\"textContent\":\"¿Tienes alguna duda?\",\"parentNode\":{\"id\":740}},{\"nodeType\":3,\"id\":743,\"textContent\":\" \",\"parentNode\":{\"id\":741}},{\"nodeType\":3,\"id\":744,\"textContent\":\"Contáctanos\",\"previousSibling\":{\"id\":743},\"parentNode\":{\"id\":741}},{\"nodeType\":1,\"id\":745,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__crpro\"},\"parentNode\":{\"id\":665}},{\"nodeType\":1,\"id\":746,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__referrerCode\"},\"previousSibling\":{\"id\":745},\"parentNode\":{\"id\":665}},{\"nodeType\":1,\"id\":747,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dark-rectangle\"},\"parentNode\":{\"id\":745}},{\"nodeType\":1,\"id\":748,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":747}},{\"nodeType\":1,\"id\":749,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":748}},{\"nodeType\":1,\"id\":750,\"tagName\":\"A\",\"attributes\":{\"class\":\"btn\",\"href\":\"/pro/\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"},\"previousSibling\":{\"id\":749},\"parentNode\":{\"id\":748}},{\"nodeType\":3,\"id\":751,\"textContent\":\"¿Buscas crecer tu marca?, \",\"parentNode\":{\"id\":749}},{\"nodeType\":1,\"id\":752,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":751},\"parentNode\":{\"id\":749}},{\"nodeType\":3,\"id\":753,\"textContent\":\" conoce los:\",\"previousSibling\":{\"id\":752},\"parentNode\":{\"id\":749}},{\"nodeType\":3,\"id\":754,\"textContent\":\"Servicios Canasta Rosa\",\"parentNode\":{\"id\":750}},{\"nodeType\":1,\"id\":755,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":746}},{\"nodeType\":1,\"id\":756,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":755},\"parentNode\":{\"id\":746}},{\"nodeType\":1,\"id\":757,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"referrer\"},\"previousSibling\":{\"id\":756},\"parentNode\":{\"id\":746}},{\"nodeType\":1,\"id\":758,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"code_container\"},\"previousSibling\":{\"id\":757},\"parentNode\":{\"id\":746}},{\"nodeType\":1,\"id\":759,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":758},\"parentNode\":{\"id\":746}},{\"nodeType\":3,\"id\":760,\"textContent\":\"Comparte tu Código de Referido\",\"parentNode\":{\"id\":755}},{\"nodeType\":1,\"id\":761,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"parentNode\":{\"id\":756}},{\"nodeType\":3,\"id\":762,\"textContent\":\" a vender en Canasta Rosa y obtén comisiones por cada tienda activa.\",\"previousSibling\":{\"id\":761},\"parentNode\":{\"id\":756}},{\"nodeType\":3,\"id\":763,\"textContent\":\"Invita a tus amigos\",\"parentNode\":{\"id\":761}},{\"nodeType\":3,\"id\":764,\"textContent\":\"Comparte \",\"parentNode\":{\"id\":757}},{\"nodeType\":1,\"id\":765,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"previousSibling\":{\"id\":764},\"parentNode\":{\"id\":757}},{\"nodeType\":3,\"id\":766,\"textContent\":\":\",\"previousSibling\":{\"id\":765},\"parentNode\":{\"id\":757}},{\"nodeType\":3,\"id\":767,\"textContent\":\"tu código\",\"parentNode\":{\"id\":765}},{\"nodeType\":1,\"id\":768,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2\"},\"parentNode\":{\"id\":758}},{\"nodeType\":3,\"id\":769,\"textContent\":\"xoxoctliecot-pdgw\",\"parentNode\":{\"id\":768}},{\"nodeType\":1,\"id\":770,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":759}},{\"nodeType\":1,\"id\":771,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":770}},{\"nodeType\":1,\"id\":772,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":771},\"parentNode\":{\"id\":770}},{\"nodeType\":1,\"id\":773,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":772},\"parentNode\":{\"id\":770}},{\"nodeType\":1,\"id\":774,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":771}},{\"nodeType\":3,\"id\":775,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":774}},{\"nodeType\":1,\"id\":776,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":772}},{\"nodeType\":3,\"id\":777,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":776}},{\"nodeType\":1,\"id\":778,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":773}},{\"nodeType\":3,\"id\":779,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":778}}],[{\"id\":326,\"attributes\":{\"class\":\"open\"}}],[]]}" }, { "sequence": 28, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":621},{\"id\":622},{\"id\":623},{\"id\":626},{\"id\":628},{\"id\":627},{\"id\":629},{\"id\":631},{\"id\":630},{\"id\":632},{\"id\":633},{\"id\":636},{\"id\":637},{\"id\":634},{\"id\":638},{\"id\":639},{\"id\":635},{\"id\":640},{\"id\":641},{\"id\":624},{\"id\":642},{\"id\":644},{\"id\":645},{\"id\":646},{\"id\":647},{\"id\":648},{\"id\":649},{\"id\":650},{\"id\":651},{\"id\":643},{\"id\":652},{\"id\":653},{\"id\":662},{\"id\":654},{\"id\":655},{\"id\":656},{\"id\":657},{\"id\":658},{\"id\":663},{\"id\":659},{\"id\":660},{\"id\":661},{\"id\":625},{\"id\":664},{\"id\":666},{\"id\":669},{\"id\":671},{\"id\":670},{\"id\":672},{\"id\":673},{\"id\":678},{\"id\":679},{\"id\":681},{\"id\":682},{\"id\":680},{\"id\":683},{\"id\":685},{\"id\":684},{\"id\":686},{\"id\":674},{\"id\":687},{\"id\":688},{\"id\":690},{\"id\":691},{\"id\":689},{\"id\":692},{\"id\":675},{\"id\":693},{\"id\":694},{\"id\":695},{\"id\":697},{\"id\":698},{\"id\":696},{\"id\":699},{\"id\":676},{\"id\":700},{\"id\":701},{\"id\":703},{\"id\":704},{\"id\":702},{\"id\":705},{\"id\":707},{\"id\":706},{\"id\":708},{\"id\":677},{\"id\":709},{\"id\":710},{\"id\":712},{\"id\":713},{\"id\":711},{\"id\":714},{\"id\":667},{\"id\":715},{\"id\":717},{\"id\":716},{\"id\":718},{\"id\":719},{\"id\":721},{\"id\":722},{\"id\":720},{\"id\":723},{\"id\":724},{\"id\":668},{\"id\":725},{\"id\":727},{\"id\":728},{\"id\":729},{\"id\":731},{\"id\":732},{\"id\":733},{\"id\":735},{\"id\":734},{\"id\":730},{\"id\":736},{\"id\":737},{\"id\":738},{\"id\":739},{\"id\":726},{\"id\":740},{\"id\":742},{\"id\":741},{\"id\":743},{\"id\":744},{\"id\":665},{\"id\":745},{\"id\":747},{\"id\":748},{\"id\":749},{\"id\":751},{\"id\":752},{\"id\":753},{\"id\":750},{\"id\":754},{\"id\":746},{\"id\":755},{\"id\":760},{\"id\":756},{\"id\":761},{\"id\":763},{\"id\":762},{\"id\":757},{\"id\":764},{\"id\":765},{\"id\":767},{\"id\":766},{\"id\":758},{\"id\":768},{\"id\":769},{\"id\":759},{\"id\":770},{\"id\":771},{\"id\":774},{\"id\":775},{\"id\":772},{\"id\":776},{\"id\":777},{\"id\":773},{\"id\":778},{\"id\":779}],[{\"nodeType\":1,\"id\":780,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module storeApp__orders orderListUI\"},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":781,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orderListUI__header\"},\"parentNode\":{\"id\":780}},{\"nodeType\":1,\"id\":782,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \"},\"previousSibling\":{\"id\":781},\"parentNode\":{\"id\":780}},{\"nodeType\":1,\"id\":783,\"tagName\":\"H3\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":781}},{\"nodeType\":1,\"id\":784,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"nav_filters\"},\"previousSibling\":{\"id\":783},\"parentNode\":{\"id\":781}},{\"nodeType\":3,\"id\":785,\"textContent\":\"Mis Órdenes\",\"parentNode\":{\"id\":783}},{\"nodeType\":1,\"id\":786,\"tagName\":\"SELECT\",\"attributes\":{\"name\":\"filters\"},\"parentNode\":{\"id\":784}},{\"nodeType\":1,\"id\":787,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"\"},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":788,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"awaiting_vendor_response\"},\"previousSibling\":{\"id\":787},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":789,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"preparing_order\"},\"previousSibling\":{\"id\":788},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":790,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"order_ready\"},\"previousSibling\":{\"id\":789},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":791,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"vendor_awaiting_shipment\"},\"previousSibling\":{\"id\":790},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":792,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"in_transit\"},\"previousSibling\":{\"id\":791},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":793,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"delivered\"},\"previousSibling\":{\"id\":792},\"parentNode\":{\"id\":786}},{\"nodeType\":1,\"id\":794,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"cancelled\"},\"previousSibling\":{\"id\":793},\"parentNode\":{\"id\":786}},{\"nodeType\":3,\"id\":795,\"textContent\":\"Todas ()\",\"parentNode\":{\"id\":787}},{\"nodeType\":3,\"id\":796,\"textContent\":\"Nuevas ()\",\"parentNode\":{\"id\":788}},{\"nodeType\":3,\"id\":797,\"textContent\":\"En Preparación ()\",\"parentNode\":{\"id\":789}},{\"nodeType\":3,\"id\":798,\"textContent\":\"Listas ()\",\"parentNode\":{\"id\":790}},{\"nodeType\":3,\"id\":799,\"textContent\":\"Esperando Recolección ()\",\"parentNode\":{\"id\":791}},{\"nodeType\":3,\"id\":800,\"textContent\":\"En Tránsito ()\",\"parentNode\":{\"id\":792}},{\"nodeType\":3,\"id\":801,\"textContent\":\"Entregadas ()\",\"parentNode\":{\"id\":793}},{\"nodeType\":3,\"id\":802,\"textContent\":\"Canceladas ()\",\"parentNode\":{\"id\":794}}],[],[]]}" }, { "sequence": 29, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":782}],[{\"nodeType\":1,\"id\":803,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orders-list_container\"},\"previousSibling\":{\"id\":781},\"parentNode\":{\"id\":780}},{\"nodeType\":1,\"id\":804,\"tagName\":\"TABLE\",\"attributes\":{\"class\":\"orders-list\"},\"parentNode\":{\"id\":803}},{\"nodeType\":1,\"id\":805,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"pagination\"},\"previousSibling\":{\"id\":804},\"parentNode\":{\"id\":803}},{\"nodeType\":1,\"id\":806,\"tagName\":\"THEAD\",\"attributes\":{\"class\":\"orders-list__header\"},\"parentNode\":{\"id\":804}},{\"nodeType\":1,\"id\":807,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--new\"},\"previousSibling\":{\"id\":806},\"parentNode\":{\"id\":804}},{\"nodeType\":1,\"id\":808,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--new\"},\"previousSibling\":{\"id\":807},\"parentNode\":{\"id\":804}},{\"nodeType\":1,\"id\":809,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--new\"},\"previousSibling\":{\"id\":808},\"parentNode\":{\"id\":804}},{\"nodeType\":1,\"id\":810,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--id\"},\"parentNode\":{\"id\":806}},{\"nodeType\":1,\"id\":811,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":810},\"parentNode\":{\"id\":806}},{\"nodeType\":1,\"id\":812,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":811},\"parentNode\":{\"id\":806}},{\"nodeType\":1,\"id\":813,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":812},\"parentNode\":{\"id\":806}},{\"nodeType\":1,\"id\":814,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":813},\"parentNode\":{\"id\":806}},{\"nodeType\":1,\"id\":815,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":814},\"parentNode\":{\"id\":806}},{\"nodeType\":3,\"id\":816,\"textContent\":\"# Orden\",\"parentNode\":{\"id\":810}},{\"nodeType\":3,\"id\":817,\"textContent\":\"Recolección\",\"parentNode\":{\"id\":811}},{\"nodeType\":3,\"id\":818,\"textContent\":\"Precio\",\"parentNode\":{\"id\":812}},{\"nodeType\":3,\"id\":819,\"textContent\":\"Productos\",\"parentNode\":{\"id\":813}},{\"nodeType\":3,\"id\":820,\"textContent\":\"Prioridad\",\"parentNode\":{\"id\":814}},{\"nodeType\":3,\"id\":821,\"textContent\":\"Status\",\"parentNode\":{\"id\":815}},{\"nodeType\":1,\"id\":822,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n false\\n false\"},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":823,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":822},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":824,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":823},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":825,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":824},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":826,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":825},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":827,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":826},\"parentNode\":{\"id\":807}},{\"nodeType\":1,\"id\":828,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-114623-1\"},\"parentNode\":{\"id\":822}},{\"nodeType\":3,\"id\":829,\"textContent\":\"CR-114623-1\",\"parentNode\":{\"id\":828}},{\"nodeType\":3,\"id\":830,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":823}},{\"nodeType\":3,\"id\":831,\"textContent\":\"$180.00\",\"parentNode\":{\"id\":824}},{\"nodeType\":1,\"id\":832,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":825}},{\"nodeType\":1,\"id\":833,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":832},\"parentNode\":{\"id\":825}},{\"nodeType\":3,\"id\":834,\"textContent\":\"[\",\"parentNode\":{\"id\":832}},{\"nodeType\":3,\"id\":835,\"textContent\":\"1\",\"previousSibling\":{\"id\":834},\"parentNode\":{\"id\":832}},{\"nodeType\":3,\"id\":836,\"textContent\":\"]\",\"previousSibling\":{\"id\":835},\"parentNode\":{\"id\":832}},{\"nodeType\":3,\"id\":837,\"textContent\":\"Kit de cubiertos chico\",\"parentNode\":{\"id\":833}},{\"nodeType\":3,\"id\":838,\"textContent\":\". \",\"previousSibling\":{\"id\":837},\"parentNode\":{\"id\":833}},{\"nodeType\":1,\"id\":839,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":826}},{\"nodeType\":3,\"id\":840,\"textContent\":\"Alta\",\"parentNode\":{\"id\":839}},{\"nodeType\":1,\"id\":841,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":827}},{\"nodeType\":3,\"id\":842,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":841}},{\"nodeType\":1,\"id\":843,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n standard\\n false\"},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":844,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":843},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":845,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":844},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":846,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":845},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":847,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":846},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":848,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":847},\"parentNode\":{\"id\":808}},{\"nodeType\":1,\"id\":849,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-114253-1\"},\"parentNode\":{\"id\":843}},{\"nodeType\":1,\"id\":850,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"order-standard\"},\"previousSibling\":{\"id\":849},\"parentNode\":{\"id\":843}},{\"nodeType\":3,\"id\":851,\"textContent\":\"CR-114253-1\",\"parentNode\":{\"id\":849}},{\"nodeType\":3,\"id\":852,\"textContent\":\"Nacional\",\"parentNode\":{\"id\":850}},{\"nodeType\":3,\"id\":853,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":844}},{\"nodeType\":3,\"id\":854,\"textContent\":\"$40.00\",\"parentNode\":{\"id\":845}},{\"nodeType\":1,\"id\":855,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":846}},{\"nodeType\":1,\"id\":856,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":855},\"parentNode\":{\"id\":846}},{\"nodeType\":3,\"id\":857,\"textContent\":\"[\",\"parentNode\":{\"id\":855}},{\"nodeType\":3,\"id\":858,\"textContent\":\"1\",\"previousSibling\":{\"id\":857},\"parentNode\":{\"id\":855}},{\"nodeType\":3,\"id\":859,\"textContent\":\"]\",\"previousSibling\":{\"id\":858},\"parentNode\":{\"id\":855}},{\"nodeType\":3,\"id\":860,\"textContent\":\"Infusor redondo\",\"parentNode\":{\"id\":856}},{\"nodeType\":3,\"id\":861,\"textContent\":\". \",\"previousSibling\":{\"id\":860},\"parentNode\":{\"id\":856}},{\"nodeType\":1,\"id\":862,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":847}},{\"nodeType\":3,\"id\":863,\"textContent\":\"Alta\",\"parentNode\":{\"id\":862}},{\"nodeType\":1,\"id\":864,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":848}},{\"nodeType\":3,\"id\":865,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":864}},{\"nodeType\":1,\"id\":866,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n standard\\n false\"},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":867,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":866},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":868,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":867},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":869,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":868},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":870,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":869},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":871,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":870},\"parentNode\":{\"id\":809}},{\"nodeType\":1,\"id\":872,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-114018-2\"},\"parentNode\":{\"id\":866}},{\"nodeType\":1,\"id\":873,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"order-standard\"},\"previousSibling\":{\"id\":872},\"parentNode\":{\"id\":866}},{\"nodeType\":3,\"id\":874,\"textContent\":\"CR-114018-2\",\"parentNode\":{\"id\":872}},{\"nodeType\":3,\"id\":875,\"textContent\":\"Nacional\",\"parentNode\":{\"id\":873}},{\"nodeType\":3,\"id\":876,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":867}},{\"nodeType\":3,\"id\":877,\"textContent\":\"$75.00\",\"parentNode\":{\"id\":868}},{\"nodeType\":1,\"id\":878,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":869}},{\"nodeType\":1,\"id\":879,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":878},\"parentNode\":{\"id\":869}},{\"nodeType\":3,\"id\":880,\"textContent\":\"[\",\"parentNode\":{\"id\":878}},{\"nodeType\":3,\"id\":881,\"textContent\":\"1\",\"previousSibling\":{\"id\":880},\"parentNode\":{\"id\":878}},{\"nodeType\":3,\"id\":882,\"textContent\":\"]\",\"previousSibling\":{\"id\":881},\"parentNode\":{\"id\":878}},{\"nodeType\":3,\"id\":883,\"textContent\":\"Rastrillo de acero tratado\",\"parentNode\":{\"id\":879}},{\"nodeType\":3,\"id\":884,\"textContent\":\". \",\"previousSibling\":{\"id\":883},\"parentNode\":{\"id\":879}},{\"nodeType\":1,\"id\":885,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":870}},{\"nodeType\":3,\"id\":886,\"textContent\":\"Alta\",\"parentNode\":{\"id\":885}},{\"nodeType\":1,\"id\":887,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":871}},{\"nodeType\":3,\"id\":888,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":887}},{\"nodeType\":1,\"id\":889,\"tagName\":\"UL\",\"attributes\":{\"class\":\"page-numbers\"},\"parentNode\":{\"id\":805}}],[],[]]}" }, { "sequence": 30, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[],[{\"id\":795,\"textContent\":\"Todas (50)\"},{\"id\":796,\"textContent\":\"Nuevas (3)\"},{\"id\":797,\"textContent\":\"En Preparación (0)\"},{\"id\":798,\"textContent\":\"Listas (0)\"},{\"id\":799,\"textContent\":\"Esperando Recolección (1)\"},{\"id\":800,\"textContent\":\"En Tránsito (0)\"},{\"id\":801,\"textContent\":\"Entregadas (44)\"},{\"id\":802,\"textContent\":\"Canceladas (2)\"}]]}" }, { "sequence": 31, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":780},{\"id\":781},{\"id\":783},{\"id\":785},{\"id\":784},{\"id\":786},{\"id\":787},{\"id\":795},{\"id\":788},{\"id\":796},{\"id\":789},{\"id\":797},{\"id\":790},{\"id\":798},{\"id\":791},{\"id\":799},{\"id\":792},{\"id\":800},{\"id\":793},{\"id\":801},{\"id\":794},{\"id\":802},{\"id\":803},{\"id\":804},{\"id\":806},{\"id\":810},{\"id\":816},{\"id\":811},{\"id\":817},{\"id\":812},{\"id\":818},{\"id\":813},{\"id\":819},{\"id\":814},{\"id\":820},{\"id\":815},{\"id\":821},{\"id\":807},{\"id\":822},{\"id\":828},{\"id\":829},{\"id\":823},{\"id\":830},{\"id\":824},{\"id\":831},{\"id\":825},{\"id\":832},{\"id\":834},{\"id\":835},{\"id\":836},{\"id\":833},{\"id\":837},{\"id\":838},{\"id\":826},{\"id\":839},{\"id\":840},{\"id\":827},{\"id\":841},{\"id\":842},{\"id\":808},{\"id\":843},{\"id\":849},{\"id\":851},{\"id\":850},{\"id\":852},{\"id\":844},{\"id\":853},{\"id\":845},{\"id\":854},{\"id\":846},{\"id\":855},{\"id\":857},{\"id\":858},{\"id\":859},{\"id\":856},{\"id\":860},{\"id\":861},{\"id\":847},{\"id\":862},{\"id\":863},{\"id\":848},{\"id\":864},{\"id\":865},{\"id\":809},{\"id\":866},{\"id\":872},{\"id\":874},{\"id\":873},{\"id\":875},{\"id\":867},{\"id\":876},{\"id\":868},{\"id\":877},{\"id\":869},{\"id\":878},{\"id\":880},{\"id\":881},{\"id\":882},{\"id\":879},{\"id\":883},{\"id\":884},{\"id\":870},{\"id\":885},{\"id\":886},{\"id\":871},{\"id\":887},{\"id\":888},{\"id\":805},{\"id\":889}],[{\"nodeType\":1,\"id\":890,\"tagName\":\"SCRIPT\",\"previousSibling\":{\"id\":552},\"parentNode\":{\"id\":4}}],[],[]]}" }, { "sequence": 32, "data": "{\"f\":\"applyChanged\",\"args\":[[],[{\"nodeType\":1,\"id\":891,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeApp__module storeApp__orders orderDetail\"},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":892,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view detail\",\"href\":\"/my-store/orders\"},\"parentNode\":{\"id\":891}},{\"nodeType\":1,\"id\":893,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"header\"},\"previousSibling\":{\"id\":892},\"parentNode\":{\"id\":891}},{\"nodeType\":1,\"id\":894,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"order\"},\"previousSibling\":{\"id\":893},\"parentNode\":{\"id\":891}},{\"nodeType\":3,\"id\":895,\"textContent\":\"Regresar a mis ventas\",\"parentNode\":{\"id\":892}},{\"nodeType\":1,\"id\":896,\"tagName\":\"P\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":893}},{\"nodeType\":1,\"id\":897,\"tagName\":\"P\",\"attributes\":{\"class\":\"status\"},\"previousSibling\":{\"id\":896},\"parentNode\":{\"id\":893}},{\"nodeType\":3,\"id\":898,\"textContent\":\"Orden: \",\"parentNode\":{\"id\":896}},{\"nodeType\":3,\"id\":899,\"textContent\":\"CR-114623-1\",\"previousSibling\":{\"id\":898},\"parentNode\":{\"id\":896}},{\"nodeType\":3,\"id\":900,\"textContent\":\"Status: \",\"parentNode\":{\"id\":897}},{\"nodeType\":1,\"id\":901,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":900},\"parentNode\":{\"id\":897}},{\"nodeType\":1,\"id\":902,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":901}},{\"nodeType\":3,\"id\":903,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":902}},{\"nodeType\":1,\"id\":904,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_pickup-date\"},\"parentNode\":{\"id\":894}},{\"nodeType\":1,\"id\":905,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"store-order\",\"style\":\"margin-bottom: 1.5em;\"},\"previousSibling\":{\"id\":904},\"parentNode\":{\"id\":894}},{\"nodeType\":1,\"id\":906,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_status\"},\"previousSibling\":{\"id\":905},\"parentNode\":{\"id\":894}},{\"nodeType\":1,\"id\":907,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_status\",\"style\":\"flex-flow: column nowrap; padding: 1em; background-color: rgb(250, 247, 245);\"},\"previousSibling\":{\"id\":906},\"parentNode\":{\"id\":894}},{\"nodeType\":1,\"id\":908,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_products\"},\"previousSibling\":{\"id\":907},\"parentNode\":{\"id\":894}},{\"nodeType\":1,\"id\":909,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status\"},\"parentNode\":{\"id\":904}},{\"nodeType\":3,\"id\":910,\"textContent\":\"27 Julio 2020\",\"previousSibling\":{\"id\":909},\"parentNode\":{\"id\":904}},{\"nodeType\":3,\"id\":911,\"textContent\":\" | \",\"previousSibling\":{\"id\":910},\"parentNode\":{\"id\":904}},{\"nodeType\":3,\"id\":912,\"textContent\":\"03:00pm - 07:00pm\",\"previousSibling\":{\"id\":911},\"parentNode\":{\"id\":904}},{\"nodeType\":3,\"id\":913,\"textContent\":\"Fecha de recolección: \",\"parentNode\":{\"id\":909}},{\"nodeType\":1,\"id\":914,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking\"},\"parentNode\":{\"id\":905}},{\"nodeType\":1,\"id\":915,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking\"},\"parentNode\":{\"id\":914}},{\"nodeType\":1,\"id\":916,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__status navigation\"},\"previousSibling\":{\"id\":915},\"parentNode\":{\"id\":914}},{\"nodeType\":1,\"id\":917,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":916},\"parentNode\":{\"id\":914}},{\"nodeType\":1,\"id\":918,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__header\"},\"parentNode\":{\"id\":915}},{\"nodeType\":1,\"id\":919,\"tagName\":\"P\",\"attributes\":{\"class\":\"follow-up\"},\"parentNode\":{\"id\":918}},{\"nodeType\":3,\"id\":920,\"textContent\":\"Nueva Orden\",\"parentNode\":{\"id\":919}},{\"nodeType\":1,\"id\":921,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":920},\"parentNode\":{\"id\":919}},{\"nodeType\":1,\"id\":922,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"navigation__breadcrumbs\"},\"parentNode\":{\"id\":916}},{\"nodeType\":1,\"id\":923,\"tagName\":\"UL\",\"attributes\":{\"class\":\"steps\"},\"parentNode\":{\"id\":922}},{\"nodeType\":1,\"id\":924,\"tagName\":\"LI\",\"attributes\":{\"class\":\"steps__item\"},\"parentNode\":{\"id\":923}},{\"nodeType\":1,\"id\":925,\"tagName\":\"LI\",\"attributes\":{\"class\":\"steps__item\"},\"previousSibling\":{\"id\":924},\"parentNode\":{\"id\":923}},{\"nodeType\":1,\"id\":926,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title active\"},\"parentNode\":{\"id\":924}},{\"nodeType\":3,\"id\":927,\"textContent\":\"Programar Recolección\",\"parentNode\":{\"id\":926}},{\"nodeType\":1,\"id\":928,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":925}},{\"nodeType\":1,\"id\":929,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__status-info\"},\"parentNode\":{\"id\":917}},{\"nodeType\":1,\"id\":930,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"new-order-info\"},\"parentNode\":{\"id\":929}},{\"nodeType\":1,\"id\":931,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title-step-container\"},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":932,\"tagName\":\"P\",\"attributes\":{\"class\":\"instructions\"},\"previousSibling\":{\"id\":931},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":933,\"tagName\":\"BUTTON\",\"attributes\":{\"type\":\"button\",\"class\":\"action-button action-button--button c2a_border action-button\"},\"previousSibling\":{\"id\":932},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":934,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title-step newOrder\"},\"parentNode\":{\"id\":931}},{\"nodeType\":1,\"id\":935,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"previousSibling\":{\"id\":934},\"parentNode\":{\"id\":931}},{\"nodeType\":3,\"id\":936,\"textContent\":\"Nueva orden\",\"parentNode\":{\"id\":934}},{\"nodeType\":3,\"id\":937,\"textContent\":\"¡Felicidades tienes una nueva venta!\",\"parentNode\":{\"id\":935}},{\"nodeType\":3,\"id\":938,\"textContent\":\"Manos a la obra. \",\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":939,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"},\"parentNode\":{\"id\":933}},{\"nodeType\":1,\"id\":940,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"},\"previousSibling\":{\"id\":939},\"parentNode\":{\"id\":933}},{\"nodeType\":3,\"id\":941,\"textContent\":\"Comenzar Orden\",\"parentNode\":{\"id\":939}},{\"nodeType\":1,\"id\":942,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \",\"style\":\"background: rgb(255, 255, 255); margin: 0px; top: -14px; width: 25px; height: 25px;\"},\"parentNode\":{\"id\":940}},{\"nodeType\":1,\"id\":943,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":906}},{\"nodeType\":1,\"id\":944,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status\"},\"parentNode\":{\"id\":943}},{\"nodeType\":3,\"id\":945,\"textContent\":\"27 Julio 2020\",\"previousSibling\":{\"id\":944},\"parentNode\":{\"id\":943}},{\"nodeType\":3,\"id\":946,\"textContent\":\"Realizada: \",\"parentNode\":{\"id\":944}},{\"nodeType\":1,\"id\":947,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold; margin-bottom: 0.25em;\"},\"parentNode\":{\"id\":907}},{\"nodeType\":1,\"id\":948,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"cr__text--paragraph\"},\"previousSibling\":{\"id\":947},\"parentNode\":{\"id\":907}},{\"nodeType\":1,\"id\":949,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"cr__text--paragraph\"},\"previousSibling\":{\"id\":948},\"parentNode\":{\"id\":907}},{\"nodeType\":3,\"id\":950,\"textContent\":\"Esta orden es un regalo:\",\"parentNode\":{\"id\":947}},{\"nodeType\":1,\"id\":951,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":948}},{\"nodeType\":3,\"id\":952,\"textContent\":\" \",\"previousSibling\":{\"id\":951},\"parentNode\":{\"id\":948}},{\"nodeType\":3,\"id\":953,\"textContent\":\"Para:\",\"parentNode\":{\"id\":951}},{\"nodeType\":1,\"id\":954,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":949}},{\"nodeType\":1,\"id\":955,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":954},\"parentNode\":{\"id\":949}},{\"nodeType\":3,\"id\":956,\"textContent\":\"No hay mensaje\",\"previousSibling\":{\"id\":955},\"parentNode\":{\"id\":949}},{\"nodeType\":3,\"id\":957,\"textContent\":\"Mensaje:\",\"parentNode\":{\"id\":954}},{\"nodeType\":1,\"id\":958,\"tagName\":\"ARTICLE\",\"attributes\":{\"class\":\"product_container\"},\"parentNode\":{\"id\":908}},{\"nodeType\":1,\"id\":959,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"total_container\"},\"previousSibling\":{\"id\":958},\"parentNode\":{\"id\":908}},{\"nodeType\":1,\"id\":960,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown total noInvoice\"},\"previousSibling\":{\"id\":959},\"parentNode\":{\"id\":908}},{\"nodeType\":1,\"id\":961,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product\",\"style\":\"border-bottom: 1px solid rgb(238, 238, 238); padding-bottom: 1em;\"},\"parentNode\":{\"id\":958}},{\"nodeType\":1,\"id\":962,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail\"},\"parentNode\":{\"id\":961}},{\"nodeType\":1,\"id\":963,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_price\"},\"previousSibling\":{\"id\":962},\"parentNode\":{\"id\":961}},{\"nodeType\":1,\"id\":964,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail-img\"},\"parentNode\":{\"id\":962}},{\"nodeType\":1,\"id\":965,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail-data\"},\"previousSibling\":{\"id\":964},\"parentNode\":{\"id\":962}},{\"nodeType\":1,\"id\":966,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"img_container\"},\"parentNode\":{\"id\":964}},{\"nodeType\":1,\"id\":967,\"tagName\":\"PICTURE\",\"attributes\":{\"class\":\"responsive-picture \"},\"parentNode\":{\"id\":966}},{\"nodeType\":1,\"id\":968,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/2c1f9b5b70863b2bcce28d4775e13b16-crop-c0-5__0-5-280x280.PNG\",\"class\":\"responsive-image\",\"media\":\"(max-width: 60em)\"},\"parentNode\":{\"id\":967}},{\"nodeType\":1,\"id\":969,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/2c1f9b5b70863b2bcce28d4775e13b16-thumbnail-560x560.PNG\",\"class\":\"responsive-image\",\"media\":\"(min-width: 60em)\"},\"previousSibling\":{\"id\":968},\"parentNode\":{\"id\":967}},{\"nodeType\":1,\"id\":970,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/2c1f9b5b70863b2bcce28d4775e13b16-thumbnail-1120x1120.PNG\",\"class\":\"responsive-image\",\"media\":\"(min-width: 80em)\"},\"previousSibling\":{\"id\":969},\"parentNode\":{\"id\":967}},{\"nodeType\":1,\"id\":971,\"tagName\":\"IMG\",\"attributes\":{\"class\":\"responsive-image\",\"src\":\"\",\"alt\":\"Kit de cubiertos chico\",\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s;\"},\"previousSibling\":{\"id\":970},\"parentNode\":{\"id\":967}},{\"nodeType\":1,\"id\":972,\"tagName\":\"P\",\"attributes\":{\"class\":\"name\"},\"parentNode\":{\"id\":965}},{\"nodeType\":1,\"id\":973,\"tagName\":\"P\",\"attributes\":{\"class\":\"attribute\"},\"previousSibling\":{\"id\":972},\"parentNode\":{\"id\":965}},{\"nodeType\":3,\"id\":974,\"textContent\":\"Kit de cubiertos chico\",\"parentNode\":{\"id\":972}},{\"nodeType\":1,\"id\":975,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":973}},{\"nodeType\":3,\"id\":976,\"textContent\":\"Detalle: Crudo\",\"parentNode\":{\"id\":975}},{\"nodeType\":1,\"id\":977,\"tagName\":\"P\",\"attributes\":{\"class\":\"quantity\"},\"parentNode\":{\"id\":963}},{\"nodeType\":1,\"id\":978,\"tagName\":\"P\",\"attributes\":{\"class\":\"price\"},\"previousSibling\":{\"id\":977},\"parentNode\":{\"id\":963}},{\"nodeType\":3,\"id\":979,\"textContent\":\"Cantidad \",\"parentNode\":{\"id\":977}},{\"nodeType\":1,\"id\":980,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":979},\"parentNode\":{\"id\":977}},{\"nodeType\":3,\"id\":981,\"textContent\":\"1\",\"parentNode\":{\"id\":980}},{\"nodeType\":3,\"id\":982,\"textContent\":\"$180.00\",\"parentNode\":{\"id\":978}},{\"nodeType\":3,\"id\":983,\"textContent\":\"MX\",\"previousSibling\":{\"id\":982},\"parentNode\":{\"id\":978}},{\"nodeType\":1,\"id\":984,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"total_price\"},\"parentNode\":{\"id\":959}},{\"nodeType\":1,\"id\":985,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"parentNode\":{\"id\":984}},{\"nodeType\":1,\"id\":986,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":985},\"parentNode\":{\"id\":984}},{\"nodeType\":1,\"id\":987,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":986},\"parentNode\":{\"id\":984}},{\"nodeType\":1,\"id\":988,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":987},\"parentNode\":{\"id\":984}},{\"nodeType\":1,\"id\":989,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":988},\"parentNode\":{\"id\":984}},{\"nodeType\":1,\"id\":990,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown total\"},\"previousSibling\":{\"id\":989},\"parentNode\":{\"id\":984}},{\"nodeType\":3,\"id\":991,\"textContent\":\"Precio de la orden\",\"parentNode\":{\"id\":985}},{\"nodeType\":1,\"id\":992,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":991},\"parentNode\":{\"id\":985}},{\"nodeType\":1,\"id\":993,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":992},\"parentNode\":{\"id\":985}},{\"nodeType\":1,\"id\":994,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":992}},{\"nodeType\":3,\"id\":995,\"textContent\":\"Venta del total de productos.\",\"parentNode\":{\"id\":994}},{\"nodeType\":3,\"id\":996,\"textContent\":\"180.00\",\"parentNode\":{\"id\":993}},{\"nodeType\":3,\"id\":997,\"textContent\":\" MX\",\"previousSibling\":{\"id\":996},\"parentNode\":{\"id\":993}},{\"nodeType\":3,\"id\":998,\"textContent\":\"Precio de envío\",\"parentNode\":{\"id\":986}},{\"nodeType\":1,\"id\":999,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":998},\"parentNode\":{\"id\":986}},{\"nodeType\":1,\"id\":1000,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":999},\"parentNode\":{\"id\":986}},{\"nodeType\":1,\"id\":1001,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":999}},{\"nodeType\":3,\"id\":1002,\"textContent\":\"Costo de envío.\",\"parentNode\":{\"id\":1001}},{\"nodeType\":3,\"id\":1003,\"textContent\":\"69.00\",\"parentNode\":{\"id\":1000}},{\"nodeType\":3,\"id\":1004,\"textContent\":\" \",\"previousSibling\":{\"id\":1003},\"parentNode\":{\"id\":1000}},{\"nodeType\":3,\"id\":1005,\"textContent\":\"MX\",\"previousSibling\":{\"id\":1004},\"parentNode\":{\"id\":1000}},{\"nodeType\":3,\"id\":1006,\"textContent\":\"Comisión Canasta Rosa\",\"parentNode\":{\"id\":987}},{\"nodeType\":1,\"id\":1007,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1006},\"parentNode\":{\"id\":987}},{\"nodeType\":1,\"id\":1008,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1007},\"parentNode\":{\"id\":987}},{\"nodeType\":1,\"id\":1009,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1007}},{\"nodeType\":3,\"id\":1010,\"textContent\":\"Comisión por venta y pasarela de pago.\",\"parentNode\":{\"id\":1009}},{\"nodeType\":3,\"id\":1011,\"textContent\":\"-\",\"parentNode\":{\"id\":1008}},{\"nodeType\":3,\"id\":1012,\"textContent\":\"21.16\",\"previousSibling\":{\"id\":1011},\"parentNode\":{\"id\":1008}},{\"nodeType\":3,\"id\":1013,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1012},\"parentNode\":{\"id\":1008}},{\"nodeType\":3,\"id\":1014,\"textContent\":\"Retención IVA\",\"parentNode\":{\"id\":988}},{\"nodeType\":1,\"id\":1015,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1014},\"parentNode\":{\"id\":988}},{\"nodeType\":1,\"id\":1016,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1015},\"parentNode\":{\"id\":988}},{\"nodeType\":1,\"id\":1017,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1015}},{\"nodeType\":3,\"id\":1018,\"textContent\":\"Retención de IVA correspondiente a tus producto.\",\"parentNode\":{\"id\":1017}},{\"nodeType\":3,\"id\":1019,\"textContent\":\"-\",\"parentNode\":{\"id\":1016}},{\"nodeType\":3,\"id\":1020,\"textContent\":\"14.40\",\"previousSibling\":{\"id\":1019},\"parentNode\":{\"id\":1016}},{\"nodeType\":3,\"id\":1021,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1020},\"parentNode\":{\"id\":1016}},{\"nodeType\":3,\"id\":1022,\"textContent\":\"Retención ISR\",\"parentNode\":{\"id\":989}},{\"nodeType\":1,\"id\":1023,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1022},\"parentNode\":{\"id\":989}},{\"nodeType\":1,\"id\":1024,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1023},\"parentNode\":{\"id\":989}},{\"nodeType\":1,\"id\":1025,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1023}},{\"nodeType\":3,\"id\":1026,\"textContent\":\"Retención de ISR correspondiente a tu entidad fiscal.\",\"parentNode\":{\"id\":1025}},{\"nodeType\":3,\"id\":1027,\"textContent\":\"-\",\"parentNode\":{\"id\":1024}},{\"nodeType\":3,\"id\":1028,\"textContent\":\"3.02\",\"previousSibling\":{\"id\":1027},\"parentNode\":{\"id\":1024}},{\"nodeType\":3,\"id\":1029,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1028},\"parentNode\":{\"id\":1024}},{\"nodeType\":3,\"id\":1030,\"textContent\":\"Total\",\"parentNode\":{\"id\":990}},{\"nodeType\":1,\"id\":1031,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1030},\"parentNode\":{\"id\":990}},{\"nodeType\":3,\"id\":1032,\"textContent\":\"141.42\",\"parentNode\":{\"id\":1031}},{\"nodeType\":3,\"id\":1033,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1032},\"parentNode\":{\"id\":1031}},{\"nodeType\":3,\"id\":1034,\"textContent\":\"*Esto no es una factura y su uso es meramente informativo.\",\"parentNode\":{\"id\":960}}],[],[]]}" }, { "sequence": 33, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":971,\"attributes\":{\"src\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/2c1f9b5b70863b2bcce28d4775e13b16-thumbnail-560x560.PNG\"}}],[]]}" }, { "sequence": 34, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":971,\"attributes\":{\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s; width: 100%; height: auto;\"}}],[]]}" }, { "sequence": 35, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":939,\"attributes\":{\"class\":\"action-button__label action-button__label--exiting\"}},{\"id\":940,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exiting\"}}],[]]}" }, { "sequence": 36, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":939,\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"}}],[]]}" }, { "sequence": 37, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":940,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"}}],[]]}" }, { "sequence": 38, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":902},{\"id\":903},{\"id\":938},{\"id\":933},{\"id\":939},{\"id\":941},{\"id\":940},{\"id\":942}],[{\"nodeType\":1,\"id\":1035,\"tagName\":\"P\",\"attributes\":{},\"parentNode\":{\"id\":901}},{\"nodeType\":1,\"id\":1036,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"color: rgb(230, 87, 93);\"},\"previousSibling\":{\"id\":921},\"parentNode\":{\"id\":919}},{\"nodeType\":1,\"id\":1037,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"container\"},\"previousSibling\":{\"id\":932},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":1038,\"tagName\":\"STRONG\",\"attributes\":{},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1039,\"textContent\":\" La recolección de tu venta será programada para el día \",\"previousSibling\":{\"id\":1038},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1040,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1039},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1041,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1040},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1042,\"textContent\":\".\",\"previousSibling\":{\"id\":1041},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1043,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1042},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1044,\"textContent\":\"Para evitar contratiempos, no olvides tener tu pedido listo y etiquetado con el\",\"previousSibling\":{\"id\":1043},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1045,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1044},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1046,\"textContent\":\".\",\"previousSibling\":{\"id\":1045},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1047,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1046},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1048,\"textContent\":\"Si tienes cualquier duda sobre cómo preparar tu pedido,  contáctanos\",\"previousSibling\":{\"id\":1047},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1049,\"textContent\":\" \",\"previousSibling\":{\"id\":1048},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1050,\"tagName\":\"A\",\"attributes\":{\"href\":\"mailto=\\\"pedidos@canastarosa.com\\\"\"},\"previousSibling\":{\"id\":1049},\"parentNode\":{\"id\":932}},{\"nodeType\":3,\"id\":1051,\"textContent\":\".\",\"previousSibling\":{\"id\":1050},\"parentNode\":{\"id\":932}},{\"nodeType\":1,\"id\":1052,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status-display status-display--ready\"},\"parentNode\":{\"id\":1035}},{\"nodeType\":3,\"id\":1053,\"textContent\":\"Entrega Hoy\",\"parentNode\":{\"id\":1036}},{\"nodeType\":3,\"id\":1054,\"textContent\":\"¡Todo listo!\",\"parentNode\":{\"id\":1038}},{\"nodeType\":3,\"id\":1055,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":1041}},{\"nodeType\":3,\"id\":1056,\"textContent\":\" número de orden \",\"parentNode\":{\"id\":1045}},{\"nodeType\":3,\"id\":1057,\"textContent\":\"CR-114623-1\",\"previousSibling\":{\"id\":1056},\"parentNode\":{\"id\":1045}},{\"nodeType\":3,\"id\":1058,\"textContent\":\"pedidos@canastarosa.com\",\"parentNode\":{\"id\":1050}},{\"nodeType\":1,\"id\":1059,\"tagName\":\"BUTTON\",\"attributes\":{\"type\":\"button\",\"class\":\"action-button action-button--button c2a_border action-button\"},\"parentNode\":{\"id\":1037}},{\"nodeType\":1,\"id\":1060,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1059},\"parentNode\":{\"id\":1037}},{\"nodeType\":1,\"id\":1061,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"pickup\"},\"previousSibling\":{\"id\":1060},\"parentNode\":{\"id\":1037}},{\"nodeType\":3,\"id\":1062,\"textContent\":\"Orden Lista\",\"parentNode\":{\"id\":1052}},{\"nodeType\":1,\"id\":1063,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"},\"parentNode\":{\"id\":1059}},{\"nodeType\":1,\"id\":1064,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"},\"previousSibling\":{\"id\":1063},\"parentNode\":{\"id\":1059}},{\"nodeType\":3,\"id\":1065,\"textContent\":\"Programar Recolección\",\"parentNode\":{\"id\":1063}},{\"nodeType\":1,\"id\":1066,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \",\"style\":\"background: rgb(255, 255, 255); margin: 0px; top: -14px; width: 25px; height: 25px;\"},\"parentNode\":{\"id\":1064}},{\"nodeType\":3,\"id\":1067,\"textContent\":\" \",\"parentNode\":{\"id\":1061}},{\"nodeType\":1,\"id\":1068,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1067},\"parentNode\":{\"id\":1061}},{\"nodeType\":3,\"id\":1069,\"textContent\":\" \",\"previousSibling\":{\"id\":1068},\"parentNode\":{\"id\":1061}},{\"nodeType\":3,\"id\":1070,\"textContent\":\"27 Julio 2020\",\"previousSibling\":{\"id\":1069},\"parentNode\":{\"id\":1061}},{\"nodeType\":3,\"id\":1071,\"textContent\":\"Recolección:\",\"parentNode\":{\"id\":1068}}],[{\"id\":930,\"attributes\":{\"class\":\"pickup-order-info\"}},{\"id\":934,\"attributes\":{\"class\":\"title-step pickup\"}},{\"id\":935,\"attributes\":{\"class\":\"message name\"}}],[{\"id\":920,\"textContent\":\"Seguimiento de la Orden\"},{\"id\":936,\"textContent\":\"Recolección\"},{\"id\":937,\"textContent\":\"Envío Express (CDMX)\"}]]}" }, { "sequence": 39, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1063,\"attributes\":{\"class\":\"action-button__label action-button__label--exiting\"}},{\"id\":1064,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exiting\"}}],[]]}" }, { "sequence": 40, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1063,\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"}}],[]]}" }, { "sequence": 41, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1064,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"}}],[]]}" }, { "sequence": 42, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":931},{\"id\":934},{\"id\":936},{\"id\":935},{\"id\":937},{\"id\":932},{\"id\":1038},{\"id\":1054},{\"id\":1039},{\"id\":1040},{\"id\":1041},{\"id\":1055},{\"id\":1042},{\"id\":1043},{\"id\":1044},{\"id\":1045},{\"id\":1056},{\"id\":1057},{\"id\":1046},{\"id\":1047},{\"id\":1048},{\"id\":1049},{\"id\":1050},{\"id\":1058},{\"id\":1051},{\"id\":1036},{\"id\":1053},{\"id\":1037},{\"id\":1059},{\"id\":1063},{\"id\":1065},{\"id\":1064},{\"id\":1066},{\"id\":1060},{\"id\":1061},{\"id\":1067},{\"id\":1068},{\"id\":1071},{\"id\":1069},{\"id\":1070}],[{\"nodeType\":1,\"id\":1072,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title-step pickup\"},\"parentNode\":{\"id\":930}},{\"nodeType\":3,\"id\":1073,\"textContent\":\"¡Listo!\",\"previousSibling\":{\"id\":1072},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":1074,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1073},\"parentNode\":{\"id\":930}},{\"nodeType\":3,\"id\":1075,\"textContent\":\" La recolección de tu pedido está programada para \",\"previousSibling\":{\"id\":1074},\"parentNode\":{\"id\":930}},{\"nodeType\":3,\"id\":1076,\"textContent\":\"27 Julio 2020\",\"previousSibling\":{\"id\":1075},\"parentNode\":{\"id\":930}},{\"nodeType\":3,\"id\":1077,\"textContent\":\".\",\"previousSibling\":{\"id\":1076},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":1078,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1077},\"parentNode\":{\"id\":930}},{\"nodeType\":1,\"id\":1079,\"tagName\":\"P\",\"attributes\":{\"class\":\"instructions\"},\"previousSibling\":{\"id\":1078},\"parentNode\":{\"id\":930}},{\"nodeType\":3,\"id\":1080,\"textContent\":\"Esperando Recolección\",\"parentNode\":{\"id\":1072}},{\"nodeType\":3,\"id\":1081,\"textContent\":\"Para evitar contratiempos, no olvides tener tu pedido listo y etiquetado con el\",\"parentNode\":{\"id\":1079}},{\"nodeType\":1,\"id\":1082,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1081},\"parentNode\":{\"id\":1079}},{\"nodeType\":3,\"id\":1083,\"textContent\":\".\",\"previousSibling\":{\"id\":1082},\"parentNode\":{\"id\":1079}},{\"nodeType\":1,\"id\":1084,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1083},\"parentNode\":{\"id\":1079}},{\"nodeType\":3,\"id\":1085,\"textContent\":\"Si tienes cualquier duda sobre cómo preparar tu pedido,  contáctanos\",\"previousSibling\":{\"id\":1084},\"parentNode\":{\"id\":1079}},{\"nodeType\":3,\"id\":1086,\"textContent\":\" \",\"previousSibling\":{\"id\":1085},\"parentNode\":{\"id\":1079}},{\"nodeType\":1,\"id\":1087,\"tagName\":\"A\",\"attributes\":{\"href\":\"mailto=\\\"pedidos@canastarosa.com\\\"\"},\"previousSibling\":{\"id\":1086},\"parentNode\":{\"id\":1079}},{\"nodeType\":3,\"id\":1088,\"textContent\":\".\",\"previousSibling\":{\"id\":1087},\"parentNode\":{\"id\":1079}},{\"nodeType\":3,\"id\":1089,\"textContent\":\" número de orden \",\"parentNode\":{\"id\":1082}},{\"nodeType\":3,\"id\":1090,\"textContent\":\"CR-114623-1\",\"previousSibling\":{\"id\":1089},\"parentNode\":{\"id\":1082}},{\"nodeType\":3,\"id\":1091,\"textContent\":\"pedidos@canastarosa.com\",\"parentNode\":{\"id\":1087}}],[{\"id\":930,\"attributes\":{\"class\":null,\"style\":\"width: 100%; text-align: center;\"}},{\"id\":1052,\"attributes\":{\"class\":\"status-display status-display--awaiting-shipment\"}}],[{\"id\":1062,\"textContent\":\"Esperando Recolección\"}]]}" }, { "sequence": 43, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":308}],[],[],[]]}" }, { "sequence": 44, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":891},{\"id\":892},{\"id\":895},{\"id\":893},{\"id\":896},{\"id\":898},{\"id\":899},{\"id\":897},{\"id\":900},{\"id\":901},{\"id\":1035},{\"id\":1052},{\"id\":1062},{\"id\":894},{\"id\":904},{\"id\":909},{\"id\":913},{\"id\":910},{\"id\":911},{\"id\":912},{\"id\":905},{\"id\":914},{\"id\":915},{\"id\":918},{\"id\":919},{\"id\":920},{\"id\":921},{\"id\":916},{\"id\":922},{\"id\":923},{\"id\":924},{\"id\":926},{\"id\":927},{\"id\":925},{\"id\":928},{\"id\":917},{\"id\":929},{\"id\":930},{\"id\":1072},{\"id\":1080},{\"id\":1073},{\"id\":1074},{\"id\":1075},{\"id\":1076},{\"id\":1077},{\"id\":1078},{\"id\":1079},{\"id\":1081},{\"id\":1082},{\"id\":1089},{\"id\":1090},{\"id\":1083},{\"id\":1084},{\"id\":1085},{\"id\":1086},{\"id\":1087},{\"id\":1091},{\"id\":1088},{\"id\":906},{\"id\":943},{\"id\":944},{\"id\":946},{\"id\":945},{\"id\":907},{\"id\":947},{\"id\":950},{\"id\":948},{\"id\":951},{\"id\":953},{\"id\":952},{\"id\":949},{\"id\":954},{\"id\":957},{\"id\":955},{\"id\":956},{\"id\":908},{\"id\":958},{\"id\":961},{\"id\":962},{\"id\":964},{\"id\":966},{\"id\":967},{\"id\":968},{\"id\":969},{\"id\":970},{\"id\":971},{\"id\":965},{\"id\":972},{\"id\":974},{\"id\":973},{\"id\":975},{\"id\":976},{\"id\":963},{\"id\":977},{\"id\":979},{\"id\":980},{\"id\":981},{\"id\":978},{\"id\":982},{\"id\":983},{\"id\":959},{\"id\":984},{\"id\":985},{\"id\":991},{\"id\":992},{\"id\":994},{\"id\":995},{\"id\":993},{\"id\":996},{\"id\":997},{\"id\":986},{\"id\":998},{\"id\":999},{\"id\":1001},{\"id\":1002},{\"id\":1000},{\"id\":1003},{\"id\":1004},{\"id\":1005},{\"id\":987},{\"id\":1006},{\"id\":1007},{\"id\":1009},{\"id\":1010},{\"id\":1008},{\"id\":1011},{\"id\":1012},{\"id\":1013},{\"id\":988},{\"id\":1014},{\"id\":1015},{\"id\":1017},{\"id\":1018},{\"id\":1016},{\"id\":1019},{\"id\":1020},{\"id\":1021},{\"id\":989},{\"id\":1022},{\"id\":1023},{\"id\":1025},{\"id\":1026},{\"id\":1024},{\"id\":1027},{\"id\":1028},{\"id\":1029},{\"id\":990},{\"id\":1030},{\"id\":1031},{\"id\":1032},{\"id\":1033},{\"id\":960},{\"id\":1034}],[{\"nodeType\":1,\"id\":1092,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":1093,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module dashboard\"},\"parentNode\":{\"id\":1092}},{\"nodeType\":1,\"id\":1094,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__header\"},\"parentNode\":{\"id\":1093}},{\"nodeType\":1,\"id\":1095,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan\"},\"previousSibling\":{\"id\":1094},\"parentNode\":{\"id\":1093}},{\"nodeType\":1,\"id\":1096,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns\"},\"previousSibling\":{\"id\":1095},\"parentNode\":{\"id\":1093}},{\"nodeType\":1,\"id\":1097,\"tagName\":\"H4\",\"attributes\":{\"class\":\"\"},\"parentNode\":{\"id\":1094}},{\"nodeType\":1,\"id\":1098,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__shareStore\"},\"previousSibling\":{\"id\":1097},\"parentNode\":{\"id\":1094}},{\"nodeType\":3,\"id\":1099,\"textContent\":\"Mi panel\",\"parentNode\":{\"id\":1097}},{\"nodeType\":1,\"id\":1100,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":1098}},{\"nodeType\":1,\"id\":1101,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":1100},\"parentNode\":{\"id\":1098}},{\"nodeType\":3,\"id\":1102,\"textContent\":\"Comparte tu Tienda\",\"parentNode\":{\"id\":1100}},{\"nodeType\":1,\"id\":1103,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":1101}},{\"nodeType\":1,\"id\":1104,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":1103}},{\"nodeType\":1,\"id\":1105,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":1104},\"parentNode\":{\"id\":1103}},{\"nodeType\":1,\"id\":1106,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":1105},\"parentNode\":{\"id\":1103}},{\"nodeType\":1,\"id\":1107,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1104}},{\"nodeType\":3,\"id\":1108,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":1107}},{\"nodeType\":1,\"id\":1109,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1105}},{\"nodeType\":3,\"id\":1110,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":1109}},{\"nodeType\":1,\"id\":1111,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1106}},{\"nodeType\":3,\"id\":1112,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":1111}},{\"nodeType\":1,\"id\":1113,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-header\"},\"parentNode\":{\"id\":1095}},{\"nodeType\":1,\"id\":1114,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-details\"},\"previousSibling\":{\"id\":1113},\"parentNode\":{\"id\":1095}},{\"nodeType\":1,\"id\":1115,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/leftup.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-lu\"},\"parentNode\":{\"id\":1113}},{\"nodeType\":1,\"id\":1116,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/rightdown.svg\",\"alt\":\"Figura Banner\",\"class\":\"dashboard__plan-rd\"},\"previousSibling\":{\"id\":1115},\"parentNode\":{\"id\":1113}},{\"nodeType\":1,\"id\":1117,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1116},\"parentNode\":{\"id\":1113}},{\"nodeType\":1,\"id\":1118,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__plan-type\"},\"parentNode\":{\"id\":1117}},{\"nodeType\":1,\"id\":1119,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/images/plans/proC.svg\",\"class\":\"dashboard__plan-iconStandard\",\"alt\":\"Icono plan estándar\",\"aria-label\":\"Icono plan estándar\"},\"parentNode\":{\"id\":1118}},{\"nodeType\":1,\"id\":1120,\"tagName\":\"H3\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2 dashboard__plan-title\"},\"previousSibling\":{\"id\":1119},\"parentNode\":{\"id\":1118}},{\"nodeType\":3,\"id\":1121,\"textContent\":\"Plan \",\"parentNode\":{\"id\":1120}},{\"nodeType\":3,\"id\":1122,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":1121},\"parentNode\":{\"id\":1120}},{\"nodeType\":1,\"id\":1123,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1114}},{\"nodeType\":1,\"id\":1124,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1125,\"textContent\":\" \",\"previousSibling\":{\"id\":1124},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1126,\"textContent\":\"Plus\",\"previousSibling\":{\"id\":1125},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1127,\"textContent\":\"\",\"previousSibling\":{\"id\":1126},\"parentNode\":{\"id\":1123}},{\"nodeType\":1,\"id\":1128,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1127},\"parentNode\":{\"id\":1123}},{\"nodeType\":1,\"id\":1129,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"previousSibling\":{\"id\":1128},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1130,\"textContent\":\" \",\"previousSibling\":{\"id\":1129},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1131,\"textContent\":\"31 Julio 2020\",\"previousSibling\":{\"id\":1130},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1132,\"textContent\":\" \",\"previousSibling\":{\"id\":1131},\"parentNode\":{\"id\":1123}},{\"nodeType\":3,\"id\":1133,\"textContent\":\"Plan actual:\",\"parentNode\":{\"id\":1124}},{\"nodeType\":3,\"id\":1134,\"textContent\":\"Siguiente renovación: \",\"parentNode\":{\"id\":1129}},{\"nodeType\":1,\"id\":1135,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-left\"},\"parentNode\":{\"id\":1096}},{\"nodeType\":1,\"id\":1136,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"columns-right\"},\"previousSibling\":{\"id\":1135},\"parentNode\":{\"id\":1096}},{\"nodeType\":1,\"id\":1137,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__orders\"},\"parentNode\":{\"id\":1135}},{\"nodeType\":1,\"id\":1138,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__download\"},\"previousSibling\":{\"id\":1137},\"parentNode\":{\"id\":1135}},{\"nodeType\":1,\"id\":1139,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__national\"},\"previousSibling\":{\"id\":1138},\"parentNode\":{\"id\":1135}},{\"nodeType\":1,\"id\":1140,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":1137}},{\"nodeType\":1,\"id\":1141,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":1140},\"parentNode\":{\"id\":1137}},{\"nodeType\":3,\"id\":1142,\"textContent\":\"Órdenes\",\"parentNode\":{\"id\":1140}},{\"nodeType\":1,\"id\":1143,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"row\"},\"parentNode\":{\"id\":1141}},{\"nodeType\":1,\"id\":1144,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi \"},\"parentNode\":{\"id\":1143}},{\"nodeType\":1,\"id\":1145,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":1144},\"parentNode\":{\"id\":1143}},{\"nodeType\":1,\"id\":1146,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":1145},\"parentNode\":{\"id\":1143}},{\"nodeType\":1,\"id\":1147,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":1146},\"parentNode\":{\"id\":1143}},{\"nodeType\":1,\"id\":1148,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"kpi\"},\"previousSibling\":{\"id\":1147},\"parentNode\":{\"id\":1143}},{\"nodeType\":1,\"id\":1149,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=awaiting_vendor_response\"},\"parentNode\":{\"id\":1144}},{\"nodeType\":1,\"id\":1150,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_new\"},\"parentNode\":{\"id\":1149}},{\"nodeType\":1,\"id\":1151,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1150},\"parentNode\":{\"id\":1149}},{\"nodeType\":1,\"id\":1152,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1150}},{\"nodeType\":3,\"id\":1153,\"textContent\":\"3\",\"parentNode\":{\"id\":1152}},{\"nodeType\":1,\"id\":1154,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1151}},{\"nodeType\":1,\"id\":1155,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":1154},\"parentNode\":{\"id\":1151}},{\"nodeType\":3,\"id\":1156,\"textContent\":\"Nuevas\",\"parentNode\":{\"id\":1154}},{\"nodeType\":3,\"id\":1157,\"textContent\":\"Este mes\",\"parentNode\":{\"id\":1155}},{\"nodeType\":1,\"id\":1158,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=in_process\"},\"parentNode\":{\"id\":1145}},{\"nodeType\":1,\"id\":1159,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_in-process\"},\"parentNode\":{\"id\":1158}},{\"nodeType\":1,\"id\":1160,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1159},\"parentNode\":{\"id\":1158}},{\"nodeType\":1,\"id\":1161,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1159}},{\"nodeType\":3,\"id\":1162,\"textContent\":\"1\",\"parentNode\":{\"id\":1161}},{\"nodeType\":3,\"id\":1163,\"textContent\":\"En Proceso\",\"parentNode\":{\"id\":1160}},{\"nodeType\":1,\"id\":1164,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=delivered\"},\"parentNode\":{\"id\":1146}},{\"nodeType\":1,\"id\":1165,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1164}},{\"nodeType\":1,\"id\":1166,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_delivered\"},\"parentNode\":{\"id\":1165}},{\"nodeType\":1,\"id\":1167,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1166},\"parentNode\":{\"id\":1165}},{\"nodeType\":1,\"id\":1168,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1166}},{\"nodeType\":3,\"id\":1169,\"textContent\":\"44\",\"parentNode\":{\"id\":1168}},{\"nodeType\":3,\"id\":1170,\"textContent\":\"Entregadas\",\"parentNode\":{\"id\":1167}},{\"nodeType\":1,\"id\":1171,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=paid\"},\"parentNode\":{\"id\":1147}},{\"nodeType\":1,\"id\":1172,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_paid\"},\"parentNode\":{\"id\":1171}},{\"nodeType\":1,\"id\":1173,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1172},\"parentNode\":{\"id\":1171}},{\"nodeType\":1,\"id\":1174,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1172}},{\"nodeType\":3,\"id\":1175,\"textContent\":\"38\",\"parentNode\":{\"id\":1174}},{\"nodeType\":1,\"id\":1176,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1173}},{\"nodeType\":1,\"id\":1177,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"note\"},\"previousSibling\":{\"id\":1176},\"parentNode\":{\"id\":1173}},{\"nodeType\":3,\"id\":1178,\"textContent\":\"Pagadas\",\"parentNode\":{\"id\":1176}},{\"nodeType\":3,\"id\":1179,\"textContent\":\"Totales\",\"parentNode\":{\"id\":1177}},{\"nodeType\":1,\"id\":1180,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders/?filter=cancelled\"},\"parentNode\":{\"id\":1148}},{\"nodeType\":1,\"id\":1181,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"count_cancelled\"},\"parentNode\":{\"id\":1180}},{\"nodeType\":1,\"id\":1182,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1181},\"parentNode\":{\"id\":1180}},{\"nodeType\":1,\"id\":1183,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1181}},{\"nodeType\":3,\"id\":1184,\"textContent\":\"2\",\"parentNode\":{\"id\":1183}},{\"nodeType\":3,\"id\":1185,\"textContent\":\"Canceladas\",\"parentNode\":{\"id\":1182}},{\"nodeType\":1,\"id\":1186,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":1138}},{\"nodeType\":1,\"id\":1187,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__content\"},\"previousSibling\":{\"id\":1186},\"parentNode\":{\"id\":1138}},{\"nodeType\":3,\"id\":1188,\"textContent\":\"Descargas\",\"parentNode\":{\"id\":1186}},{\"nodeType\":1,\"id\":1189,\"tagName\":\"UL\",\"attributes\":{\"class\":\"list\"},\"parentNode\":{\"id\":1187}},{\"nodeType\":1,\"id\":1190,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"parentNode\":{\"id\":1189}},{\"nodeType\":1,\"id\":1191,\"tagName\":\"LI\",\"attributes\":{\"class\":\"download\"},\"previousSibling\":{\"id\":1190},\"parentNode\":{\"id\":1189}},{\"nodeType\":1,\"id\":1192,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-kit/kit-bienvenida-cr.zip\",\"download\":\"\"},\"parentNode\":{\"id\":1190}},{\"nodeType\":3,\"id\":1193,\"textContent\":\"Kit de etiquetas de órdenes y tarjeta dedicatoria\",\"parentNode\":{\"id\":1192}},{\"nodeType\":1,\"id\":1194,\"tagName\":\"A\",\"attributes\":{\"class\":\"download__link\",\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"download\":\"\"},\"parentNode\":{\"id\":1191}},{\"nodeType\":3,\"id\":1195,\"textContent\":\"Guía de empaque envíos Nacionales\",\"parentNode\":{\"id\":1194}},{\"nodeType\":1,\"id\":1196,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"content\"},\"parentNode\":{\"id\":1139}},{\"nodeType\":1,\"id\":1197,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__contact\"},\"previousSibling\":{\"id\":1196},\"parentNode\":{\"id\":1139}},{\"nodeType\":1,\"id\":1198,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__illustration is_national\"},\"parentNode\":{\"id\":1196}},{\"nodeType\":1,\"id\":1199,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"module__note\"},\"previousSibling\":{\"id\":1198},\"parentNode\":{\"id\":1196}},{\"nodeType\":1,\"id\":1200,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":1199}},{\"nodeType\":1,\"id\":1201,\"tagName\":\"P\",\"attributes\":{\"class\":\"note download\"},\"previousSibling\":{\"id\":1200},\"parentNode\":{\"id\":1199}},{\"nodeType\":3,\"id\":1202,\"textContent\":\"¡Felicidades tu tienda ahora es\",\"parentNode\":{\"id\":1200}},{\"nodeType\":3,\"id\":1203,\"textContent\":\" \",\"previousSibling\":{\"id\":1202},\"parentNode\":{\"id\":1200}},{\"nodeType\":1,\"id\":1204,\"tagName\":\"STRONG\",\"attributes\":{\"class\":\"strong\"},\"previousSibling\":{\"id\":1203},\"parentNode\":{\"id\":1200}},{\"nodeType\":3,\"id\":1205,\"textContent\":\"!\",\"previousSibling\":{\"id\":1204},\"parentNode\":{\"id\":1200}},{\"nodeType\":3,\"id\":1206,\"textContent\":\"NACIONAL\",\"parentNode\":{\"id\":1204}},{\"nodeType\":3,\"id\":1207,\"textContent\":\"Guías de empaque y recomendación de Canasta Rosa.\",\"parentNode\":{\"id\":1201}},{\"nodeType\":3,\"id\":1208,\"textContent\":\" \",\"previousSibling\":{\"id\":1207},\"parentNode\":{\"id\":1201}},{\"nodeType\":1,\"id\":1209,\"tagName\":\"A\",\"attributes\":{\"href\":\"https://canastarosa.s3.us-east-2.amazonaws.com/download/download-guides/guia-envio-nacional.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\",\"class\":\"link_download\",\"download\":\"\"},\"previousSibling\":{\"id\":1208},\"parentNode\":{\"id\":1201}},{\"nodeType\":3,\"id\":1210,\"textContent\":\"Descargar PDF\",\"parentNode\":{\"id\":1209}},{\"nodeType\":1,\"id\":1211,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"parentNode\":{\"id\":1197}},{\"nodeType\":1,\"id\":1212,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_square\",\"href\":\"mailto:info@canastarosa.com\"},\"previousSibling\":{\"id\":1211},\"parentNode\":{\"id\":1197}},{\"nodeType\":3,\"id\":1213,\"textContent\":\"¿Tienes alguna duda?\",\"parentNode\":{\"id\":1211}},{\"nodeType\":3,\"id\":1214,\"textContent\":\" \",\"parentNode\":{\"id\":1212}},{\"nodeType\":3,\"id\":1215,\"textContent\":\"Contáctanos\",\"previousSibling\":{\"id\":1214},\"parentNode\":{\"id\":1212}},{\"nodeType\":1,\"id\":1216,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__crpro\"},\"parentNode\":{\"id\":1136}},{\"nodeType\":1,\"id\":1217,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dashboard__module dashboard__referrerCode\"},\"previousSibling\":{\"id\":1216},\"parentNode\":{\"id\":1136}},{\"nodeType\":1,\"id\":1218,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"dark-rectangle\"},\"parentNode\":{\"id\":1216}},{\"nodeType\":1,\"id\":1219,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1218}},{\"nodeType\":1,\"id\":1220,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1219}},{\"nodeType\":1,\"id\":1221,\"tagName\":\"A\",\"attributes\":{\"class\":\"btn\",\"href\":\"/pro/\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"},\"previousSibling\":{\"id\":1220},\"parentNode\":{\"id\":1219}},{\"nodeType\":3,\"id\":1222,\"textContent\":\"¿Buscas crecer tu marca?, \",\"parentNode\":{\"id\":1220}},{\"nodeType\":1,\"id\":1223,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1222},\"parentNode\":{\"id\":1220}},{\"nodeType\":3,\"id\":1224,\"textContent\":\" conoce los:\",\"previousSibling\":{\"id\":1223},\"parentNode\":{\"id\":1220}},{\"nodeType\":3,\"id\":1225,\"textContent\":\"Servicios Canasta Rosa\",\"parentNode\":{\"id\":1221}},{\"nodeType\":1,\"id\":1226,\"tagName\":\"H5\",\"attributes\":{\"class\":\"module__title\"},\"parentNode\":{\"id\":1217}},{\"nodeType\":1,\"id\":1227,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1226},\"parentNode\":{\"id\":1217}},{\"nodeType\":1,\"id\":1228,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"referrer\"},\"previousSibling\":{\"id\":1227},\"parentNode\":{\"id\":1217}},{\"nodeType\":1,\"id\":1229,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"code_container\"},\"previousSibling\":{\"id\":1228},\"parentNode\":{\"id\":1217}},{\"nodeType\":1,\"id\":1230,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share\"},\"previousSibling\":{\"id\":1229},\"parentNode\":{\"id\":1217}},{\"nodeType\":3,\"id\":1231,\"textContent\":\"Comparte tu Código de Referido\",\"parentNode\":{\"id\":1226}},{\"nodeType\":1,\"id\":1232,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"parentNode\":{\"id\":1227}},{\"nodeType\":3,\"id\":1233,\"textContent\":\" a vender en Canasta Rosa y obtén comisiones por cada tienda activa.\",\"previousSibling\":{\"id\":1232},\"parentNode\":{\"id\":1227}},{\"nodeType\":3,\"id\":1234,\"textContent\":\"Invita a tus amigos\",\"parentNode\":{\"id\":1232}},{\"nodeType\":3,\"id\":1235,\"textContent\":\"Comparte \",\"parentNode\":{\"id\":1228}},{\"nodeType\":1,\"id\":1236,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"bold\"},\"previousSibling\":{\"id\":1235},\"parentNode\":{\"id\":1228}},{\"nodeType\":3,\"id\":1237,\"textContent\":\":\",\"previousSibling\":{\"id\":1236},\"parentNode\":{\"id\":1228}},{\"nodeType\":3,\"id\":1238,\"textContent\":\"tu código\",\"parentNode\":{\"id\":1236}},{\"nodeType\":1,\"id\":1239,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"cr__plans-selection-container-title cr__text--subtitle2\"},\"parentNode\":{\"id\":1229}},{\"nodeType\":3,\"id\":1240,\"textContent\":\"xoxoctliecot-pdgw\",\"parentNode\":{\"id\":1239}},{\"nodeType\":1,\"id\":1241,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"socialMedia__share--buttons\"},\"parentNode\":{\"id\":1230}},{\"nodeType\":1,\"id\":1242,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--facebook\"},\"parentNode\":{\"id\":1241}},{\"nodeType\":1,\"id\":1243,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"class\":\"icon icon--twitter\"},\"previousSibling\":{\"id\":1242},\"parentNode\":{\"id\":1241}},{\"nodeType\":1,\"id\":1244,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\",\"data-action\":\"share/whatsapp/share\",\"class\":\"icon icon--whatsapp\"},\"previousSibling\":{\"id\":1243},\"parentNode\":{\"id\":1241}},{\"nodeType\":1,\"id\":1245,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1242}},{\"nodeType\":3,\"id\":1246,\"textContent\":\"Compartir\",\"parentNode\":{\"id\":1245}},{\"nodeType\":1,\"id\":1247,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1243}},{\"nodeType\":3,\"id\":1248,\"textContent\":\"Tweet\",\"parentNode\":{\"id\":1247}},{\"nodeType\":1,\"id\":1249,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1244}},{\"nodeType\":3,\"id\":1250,\"textContent\":\"Whatsapp\",\"parentNode\":{\"id\":1249}}],[{\"id\":326,\"attributes\":{\"class\":\"closed\"}}],[]]}" }, { "sequence": 45, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[],[{\"id\":1153,\"textContent\":\"2\"},{\"id\":1162,\"textContent\":\"2\"}]]}" }, { "sequence": 46, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":1092},{\"id\":1093},{\"id\":1094},{\"id\":1097},{\"id\":1099},{\"id\":1098},{\"id\":1100},{\"id\":1102},{\"id\":1101},{\"id\":1103},{\"id\":1104},{\"id\":1107},{\"id\":1108},{\"id\":1105},{\"id\":1109},{\"id\":1110},{\"id\":1106},{\"id\":1111},{\"id\":1112},{\"id\":1095},{\"id\":1113},{\"id\":1115},{\"id\":1116},{\"id\":1117},{\"id\":1118},{\"id\":1119},{\"id\":1120},{\"id\":1121},{\"id\":1122},{\"id\":1114},{\"id\":1123},{\"id\":1124},{\"id\":1133},{\"id\":1125},{\"id\":1126},{\"id\":1127},{\"id\":1128},{\"id\":1129},{\"id\":1134},{\"id\":1130},{\"id\":1131},{\"id\":1132},{\"id\":1096},{\"id\":1135},{\"id\":1137},{\"id\":1140},{\"id\":1142},{\"id\":1141},{\"id\":1143},{\"id\":1144},{\"id\":1149},{\"id\":1150},{\"id\":1152},{\"id\":1153},{\"id\":1151},{\"id\":1154},{\"id\":1156},{\"id\":1155},{\"id\":1157},{\"id\":1145},{\"id\":1158},{\"id\":1159},{\"id\":1161},{\"id\":1162},{\"id\":1160},{\"id\":1163},{\"id\":1146},{\"id\":1164},{\"id\":1165},{\"id\":1166},{\"id\":1168},{\"id\":1169},{\"id\":1167},{\"id\":1170},{\"id\":1147},{\"id\":1171},{\"id\":1172},{\"id\":1174},{\"id\":1175},{\"id\":1173},{\"id\":1176},{\"id\":1178},{\"id\":1177},{\"id\":1179},{\"id\":1148},{\"id\":1180},{\"id\":1181},{\"id\":1183},{\"id\":1184},{\"id\":1182},{\"id\":1185},{\"id\":1138},{\"id\":1186},{\"id\":1188},{\"id\":1187},{\"id\":1189},{\"id\":1190},{\"id\":1192},{\"id\":1193},{\"id\":1191},{\"id\":1194},{\"id\":1195},{\"id\":1139},{\"id\":1196},{\"id\":1198},{\"id\":1199},{\"id\":1200},{\"id\":1202},{\"id\":1203},{\"id\":1204},{\"id\":1206},{\"id\":1205},{\"id\":1201},{\"id\":1207},{\"id\":1208},{\"id\":1209},{\"id\":1210},{\"id\":1197},{\"id\":1211},{\"id\":1213},{\"id\":1212},{\"id\":1214},{\"id\":1215},{\"id\":1136},{\"id\":1216},{\"id\":1218},{\"id\":1219},{\"id\":1220},{\"id\":1222},{\"id\":1223},{\"id\":1224},{\"id\":1221},{\"id\":1225},{\"id\":1217},{\"id\":1226},{\"id\":1231},{\"id\":1227},{\"id\":1232},{\"id\":1234},{\"id\":1233},{\"id\":1228},{\"id\":1235},{\"id\":1236},{\"id\":1238},{\"id\":1237},{\"id\":1229},{\"id\":1239},{\"id\":1240},{\"id\":1230},{\"id\":1241},{\"id\":1242},{\"id\":1245},{\"id\":1246},{\"id\":1243},{\"id\":1247},{\"id\":1248},{\"id\":1244},{\"id\":1249},{\"id\":1250}],[{\"nodeType\":1,\"id\":1251,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"storeApp__module storeApp__orders orderListUI\"},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":1252,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orderListUI__header\"},\"parentNode\":{\"id\":1251}},{\"nodeType\":1,\"id\":1253,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \"},\"previousSibling\":{\"id\":1252},\"parentNode\":{\"id\":1251}},{\"nodeType\":1,\"id\":1254,\"tagName\":\"H3\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":1252}},{\"nodeType\":1,\"id\":1255,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"nav_filters\"},\"previousSibling\":{\"id\":1254},\"parentNode\":{\"id\":1252}},{\"nodeType\":3,\"id\":1256,\"textContent\":\"Mis Órdenes\",\"parentNode\":{\"id\":1254}},{\"nodeType\":1,\"id\":1257,\"tagName\":\"SELECT\",\"attributes\":{\"name\":\"filters\"},\"parentNode\":{\"id\":1255}},{\"nodeType\":1,\"id\":1258,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"\"},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1259,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"awaiting_vendor_response\"},\"previousSibling\":{\"id\":1258},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1260,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"preparing_order\"},\"previousSibling\":{\"id\":1259},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1261,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"order_ready\"},\"previousSibling\":{\"id\":1260},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1262,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"vendor_awaiting_shipment\"},\"previousSibling\":{\"id\":1261},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1263,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"in_transit\"},\"previousSibling\":{\"id\":1262},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1264,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"delivered\"},\"previousSibling\":{\"id\":1263},\"parentNode\":{\"id\":1257}},{\"nodeType\":1,\"id\":1265,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"cancelled\"},\"previousSibling\":{\"id\":1264},\"parentNode\":{\"id\":1257}},{\"nodeType\":3,\"id\":1266,\"textContent\":\"Todas ()\",\"parentNode\":{\"id\":1258}},{\"nodeType\":3,\"id\":1267,\"textContent\":\"Nuevas ()\",\"parentNode\":{\"id\":1259}},{\"nodeType\":3,\"id\":1268,\"textContent\":\"En Preparación ()\",\"parentNode\":{\"id\":1260}},{\"nodeType\":3,\"id\":1269,\"textContent\":\"Listas ()\",\"parentNode\":{\"id\":1261}},{\"nodeType\":3,\"id\":1270,\"textContent\":\"Esperando Recolección ()\",\"parentNode\":{\"id\":1262}},{\"nodeType\":3,\"id\":1271,\"textContent\":\"En Tránsito ()\",\"parentNode\":{\"id\":1263}},{\"nodeType\":3,\"id\":1272,\"textContent\":\"Entregadas ()\",\"parentNode\":{\"id\":1264}},{\"nodeType\":3,\"id\":1273,\"textContent\":\"Canceladas ()\",\"parentNode\":{\"id\":1265}}],[],[]]}" }, { "sequence": 47, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":1253}],[{\"nodeType\":1,\"id\":1274,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"orders-list_container\"},\"previousSibling\":{\"id\":1252},\"parentNode\":{\"id\":1251}},{\"nodeType\":1,\"id\":1275,\"tagName\":\"TABLE\",\"attributes\":{\"class\":\"orders-list\"},\"parentNode\":{\"id\":1274}},{\"nodeType\":1,\"id\":1276,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"pagination\"},\"previousSibling\":{\"id\":1275},\"parentNode\":{\"id\":1274}},{\"nodeType\":1,\"id\":1277,\"tagName\":\"THEAD\",\"attributes\":{\"class\":\"orders-list__header\"},\"parentNode\":{\"id\":1275}},{\"nodeType\":1,\"id\":1278,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--new\"},\"previousSibling\":{\"id\":1277},\"parentNode\":{\"id\":1275}},{\"nodeType\":1,\"id\":1279,\"tagName\":\"TR\",\"attributes\":{\"class\":\"order order--new\"},\"previousSibling\":{\"id\":1278},\"parentNode\":{\"id\":1275}},{\"nodeType\":1,\"id\":1280,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--id\"},\"parentNode\":{\"id\":1277}},{\"nodeType\":1,\"id\":1281,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":1280},\"parentNode\":{\"id\":1277}},{\"nodeType\":1,\"id\":1282,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":1281},\"parentNode\":{\"id\":1277}},{\"nodeType\":1,\"id\":1283,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":1282},\"parentNode\":{\"id\":1277}},{\"nodeType\":1,\"id\":1284,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":1283},\"parentNode\":{\"id\":1277}},{\"nodeType\":1,\"id\":1285,\"tagName\":\"TH\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":1284},\"parentNode\":{\"id\":1277}},{\"nodeType\":3,\"id\":1286,\"textContent\":\"# Orden\",\"parentNode\":{\"id\":1280}},{\"nodeType\":3,\"id\":1287,\"textContent\":\"Recolección\",\"parentNode\":{\"id\":1281}},{\"nodeType\":3,\"id\":1288,\"textContent\":\"Precio\",\"parentNode\":{\"id\":1282}},{\"nodeType\":3,\"id\":1289,\"textContent\":\"Productos\",\"parentNode\":{\"id\":1283}},{\"nodeType\":3,\"id\":1290,\"textContent\":\"Prioridad\",\"parentNode\":{\"id\":1284}},{\"nodeType\":3,\"id\":1291,\"textContent\":\"Status\",\"parentNode\":{\"id\":1285}},{\"nodeType\":1,\"id\":1292,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n standard\\n false\"},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1293,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":1292},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1294,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":1293},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1295,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":1294},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1296,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":1295},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1297,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":1296},\"parentNode\":{\"id\":1278}},{\"nodeType\":1,\"id\":1298,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-114253-1\"},\"parentNode\":{\"id\":1292}},{\"nodeType\":1,\"id\":1299,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"order-standard\"},\"previousSibling\":{\"id\":1298},\"parentNode\":{\"id\":1292}},{\"nodeType\":3,\"id\":1300,\"textContent\":\"CR-114253-1\",\"parentNode\":{\"id\":1298}},{\"nodeType\":3,\"id\":1301,\"textContent\":\"Nacional\",\"parentNode\":{\"id\":1299}},{\"nodeType\":3,\"id\":1302,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":1293}},{\"nodeType\":3,\"id\":1303,\"textContent\":\"$40.00\",\"parentNode\":{\"id\":1294}},{\"nodeType\":1,\"id\":1304,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1295}},{\"nodeType\":1,\"id\":1305,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":1304},\"parentNode\":{\"id\":1295}},{\"nodeType\":3,\"id\":1306,\"textContent\":\"[\",\"parentNode\":{\"id\":1304}},{\"nodeType\":3,\"id\":1307,\"textContent\":\"1\",\"previousSibling\":{\"id\":1306},\"parentNode\":{\"id\":1304}},{\"nodeType\":3,\"id\":1308,\"textContent\":\"]\",\"previousSibling\":{\"id\":1307},\"parentNode\":{\"id\":1304}},{\"nodeType\":3,\"id\":1309,\"textContent\":\"Infusor redondo\",\"parentNode\":{\"id\":1305}},{\"nodeType\":3,\"id\":1310,\"textContent\":\". \",\"previousSibling\":{\"id\":1309},\"parentNode\":{\"id\":1305}},{\"nodeType\":1,\"id\":1311,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":1296}},{\"nodeType\":3,\"id\":1312,\"textContent\":\"Alta\",\"parentNode\":{\"id\":1311}},{\"nodeType\":1,\"id\":1313,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":1297}},{\"nodeType\":3,\"id\":1314,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":1313}},{\"nodeType\":1,\"id\":1315,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--id\\n standard\\n false\"},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1316,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--date\"},\"previousSibling\":{\"id\":1315},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1317,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--price\"},\"previousSibling\":{\"id\":1316},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1318,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--products\"},\"previousSibling\":{\"id\":1317},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1319,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--priority\"},\"previousSibling\":{\"id\":1318},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1320,\"tagName\":\"TD\",\"attributes\":{\"class\":\"column column--status\"},\"previousSibling\":{\"id\":1319},\"parentNode\":{\"id\":1279}},{\"nodeType\":1,\"id\":1321,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view\",\"href\":\"/my-store/orders/CR-114018-2\"},\"parentNode\":{\"id\":1315}},{\"nodeType\":1,\"id\":1322,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"order-standard\"},\"previousSibling\":{\"id\":1321},\"parentNode\":{\"id\":1315}},{\"nodeType\":3,\"id\":1323,\"textContent\":\"CR-114018-2\",\"parentNode\":{\"id\":1321}},{\"nodeType\":3,\"id\":1324,\"textContent\":\"Nacional\",\"parentNode\":{\"id\":1322}},{\"nodeType\":3,\"id\":1325,\"textContent\":\"27 Julio 2020\",\"parentNode\":{\"id\":1316}},{\"nodeType\":3,\"id\":1326,\"textContent\":\"$75.00\",\"parentNode\":{\"id\":1317}},{\"nodeType\":1,\"id\":1327,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1318}},{\"nodeType\":1,\"id\":1328,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":1327},\"parentNode\":{\"id\":1318}},{\"nodeType\":3,\"id\":1329,\"textContent\":\"[\",\"parentNode\":{\"id\":1327}},{\"nodeType\":3,\"id\":1330,\"textContent\":\"1\",\"previousSibling\":{\"id\":1329},\"parentNode\":{\"id\":1327}},{\"nodeType\":3,\"id\":1331,\"textContent\":\"]\",\"previousSibling\":{\"id\":1330},\"parentNode\":{\"id\":1327}},{\"nodeType\":3,\"id\":1332,\"textContent\":\"Rastrillo de acero tratado\",\"parentNode\":{\"id\":1328}},{\"nodeType\":3,\"id\":1333,\"textContent\":\". \",\"previousSibling\":{\"id\":1332},\"parentNode\":{\"id\":1328}},{\"nodeType\":1,\"id\":1334,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"high\"},\"parentNode\":{\"id\":1319}},{\"nodeType\":3,\"id\":1335,\"textContent\":\"Alta\",\"parentNode\":{\"id\":1334}},{\"nodeType\":1,\"id\":1336,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":1320}},{\"nodeType\":3,\"id\":1337,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":1336}},{\"nodeType\":1,\"id\":1338,\"tagName\":\"UL\",\"attributes\":{\"class\":\"page-numbers\"},\"parentNode\":{\"id\":1276}}],[],[]]}" }, { "sequence": 48, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[],[{\"id\":1266,\"textContent\":\"Todas (50)\"},{\"id\":1267,\"textContent\":\"Nuevas (2)\"},{\"id\":1268,\"textContent\":\"En Preparación (0)\"},{\"id\":1269,\"textContent\":\"Listas (0)\"},{\"id\":1270,\"textContent\":\"Esperando Recolección (2)\"},{\"id\":1271,\"textContent\":\"En Tránsito (0)\"},{\"id\":1272,\"textContent\":\"Entregadas (44)\"},{\"id\":1273,\"textContent\":\"Canceladas (2)\"}]]}" }, { "sequence": 49, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":1251},{\"id\":1252},{\"id\":1254},{\"id\":1256},{\"id\":1255},{\"id\":1257},{\"id\":1258},{\"id\":1266},{\"id\":1259},{\"id\":1267},{\"id\":1260},{\"id\":1268},{\"id\":1261},{\"id\":1269},{\"id\":1262},{\"id\":1270},{\"id\":1263},{\"id\":1271},{\"id\":1264},{\"id\":1272},{\"id\":1265},{\"id\":1273},{\"id\":1274},{\"id\":1275},{\"id\":1277},{\"id\":1280},{\"id\":1286},{\"id\":1281},{\"id\":1287},{\"id\":1282},{\"id\":1288},{\"id\":1283},{\"id\":1289},{\"id\":1284},{\"id\":1290},{\"id\":1285},{\"id\":1291},{\"id\":1278},{\"id\":1292},{\"id\":1298},{\"id\":1300},{\"id\":1299},{\"id\":1301},{\"id\":1293},{\"id\":1302},{\"id\":1294},{\"id\":1303},{\"id\":1295},{\"id\":1304},{\"id\":1306},{\"id\":1307},{\"id\":1308},{\"id\":1305},{\"id\":1309},{\"id\":1310},{\"id\":1296},{\"id\":1311},{\"id\":1312},{\"id\":1297},{\"id\":1313},{\"id\":1314},{\"id\":1279},{\"id\":1315},{\"id\":1321},{\"id\":1323},{\"id\":1322},{\"id\":1324},{\"id\":1316},{\"id\":1325},{\"id\":1317},{\"id\":1326},{\"id\":1318},{\"id\":1327},{\"id\":1329},{\"id\":1330},{\"id\":1331},{\"id\":1328},{\"id\":1332},{\"id\":1333},{\"id\":1319},{\"id\":1334},{\"id\":1335},{\"id\":1320},{\"id\":1336},{\"id\":1337},{\"id\":1276},{\"id\":1338}],[{\"nodeType\":1,\"id\":1339,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeApp__module storeApp__orders orderDetail\"},\"parentNode\":{\"id\":324}},{\"nodeType\":1,\"id\":1340,\"tagName\":\"A\",\"attributes\":{\"class\":\"button_view detail\",\"href\":\"/my-store/orders\"},\"parentNode\":{\"id\":1339}},{\"nodeType\":1,\"id\":1341,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"header\"},\"previousSibling\":{\"id\":1340},\"parentNode\":{\"id\":1339}},{\"nodeType\":1,\"id\":1342,\"tagName\":\"SECTION\",\"attributes\":{\"class\":\"order\"},\"previousSibling\":{\"id\":1341},\"parentNode\":{\"id\":1339}},{\"nodeType\":3,\"id\":1343,\"textContent\":\"Regresar a mis ventas\",\"parentNode\":{\"id\":1340}},{\"nodeType\":1,\"id\":1344,\"tagName\":\"P\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":1341}},{\"nodeType\":1,\"id\":1345,\"tagName\":\"P\",\"attributes\":{\"class\":\"status\"},\"previousSibling\":{\"id\":1344},\"parentNode\":{\"id\":1341}},{\"nodeType\":3,\"id\":1346,\"textContent\":\"Orden: \",\"parentNode\":{\"id\":1344}},{\"nodeType\":3,\"id\":1347,\"textContent\":\"CR-114018-2\",\"previousSibling\":{\"id\":1346},\"parentNode\":{\"id\":1344}},{\"nodeType\":3,\"id\":1348,\"textContent\":\"Status: \",\"parentNode\":{\"id\":1345}},{\"nodeType\":1,\"id\":1349,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":1348},\"parentNode\":{\"id\":1345}},{\"nodeType\":1,\"id\":1350,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"status-display--new action-button\"},\"parentNode\":{\"id\":1349}},{\"nodeType\":3,\"id\":1351,\"textContent\":\"Comenzar Orden >\",\"parentNode\":{\"id\":1350}},{\"nodeType\":1,\"id\":1352,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_pickup-date\"},\"parentNode\":{\"id\":1342}},{\"nodeType\":1,\"id\":1353,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"store-order\",\"style\":\"margin-bottom: 1.5em;\"},\"previousSibling\":{\"id\":1352},\"parentNode\":{\"id\":1342}},{\"nodeType\":1,\"id\":1354,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_status\"},\"previousSibling\":{\"id\":1353},\"parentNode\":{\"id\":1342}},{\"nodeType\":1,\"id\":1355,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_status\",\"style\":\"flex-flow: column nowrap; padding: 1em; background-color: rgb(250, 247, 245);\"},\"previousSibling\":{\"id\":1354},\"parentNode\":{\"id\":1342}},{\"nodeType\":1,\"id\":1356,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"order_products\"},\"previousSibling\":{\"id\":1355},\"parentNode\":{\"id\":1342}},{\"nodeType\":1,\"id\":1357,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status\"},\"parentNode\":{\"id\":1352}},{\"nodeType\":3,\"id\":1358,\"textContent\":\"27 Julio 2020\",\"previousSibling\":{\"id\":1357},\"parentNode\":{\"id\":1352}},{\"nodeType\":3,\"id\":1359,\"textContent\":\"Fecha de recolección: \",\"parentNode\":{\"id\":1357}},{\"nodeType\":1,\"id\":1360,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking\"},\"parentNode\":{\"id\":1353}},{\"nodeType\":1,\"id\":1361,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking\"},\"parentNode\":{\"id\":1360}},{\"nodeType\":1,\"id\":1362,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__status navigation\"},\"previousSibling\":{\"id\":1361},\"parentNode\":{\"id\":1360}},{\"nodeType\":1,\"id\":1363,\"tagName\":\"DIV\",\"attributes\":{},\"previousSibling\":{\"id\":1362},\"parentNode\":{\"id\":1360}},{\"nodeType\":1,\"id\":1364,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__header\"},\"parentNode\":{\"id\":1361}},{\"nodeType\":1,\"id\":1365,\"tagName\":\"P\",\"attributes\":{\"class\":\"follow-up\"},\"parentNode\":{\"id\":1364}},{\"nodeType\":3,\"id\":1366,\"textContent\":\"Nueva Orden\",\"parentNode\":{\"id\":1365}},{\"nodeType\":1,\"id\":1367,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1366},\"parentNode\":{\"id\":1365}},{\"nodeType\":1,\"id\":1368,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"navigation__breadcrumbs\"},\"parentNode\":{\"id\":1362}},{\"nodeType\":1,\"id\":1369,\"tagName\":\"UL\",\"attributes\":{\"class\":\"steps\"},\"parentNode\":{\"id\":1368}},{\"nodeType\":1,\"id\":1370,\"tagName\":\"LI\",\"attributes\":{\"class\":\"steps__item\"},\"parentNode\":{\"id\":1369}},{\"nodeType\":1,\"id\":1371,\"tagName\":\"LI\",\"attributes\":{\"class\":\"steps__item\"},\"previousSibling\":{\"id\":1370},\"parentNode\":{\"id\":1369}},{\"nodeType\":1,\"id\":1372,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title active\"},\"parentNode\":{\"id\":1370}},{\"nodeType\":3,\"id\":1373,\"textContent\":\"Programar Recolección\",\"parentNode\":{\"id\":1372}},{\"nodeType\":1,\"id\":1374,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title\"},\"parentNode\":{\"id\":1371}},{\"nodeType\":1,\"id\":1375,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"tracking__status-info\"},\"parentNode\":{\"id\":1363}},{\"nodeType\":1,\"id\":1376,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"new-order-info\"},\"parentNode\":{\"id\":1375}},{\"nodeType\":1,\"id\":1377,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"title-step-container\"},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1378,\"tagName\":\"P\",\"attributes\":{\"class\":\"instructions\"},\"previousSibling\":{\"id\":1377},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1379,\"tagName\":\"BUTTON\",\"attributes\":{\"type\":\"button\",\"class\":\"action-button action-button--button c2a_border action-button\"},\"previousSibling\":{\"id\":1378},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1380,\"tagName\":\"H5\",\"attributes\":{\"class\":\"title-step newOrder\"},\"parentNode\":{\"id\":1377}},{\"nodeType\":1,\"id\":1381,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"previousSibling\":{\"id\":1380},\"parentNode\":{\"id\":1377}},{\"nodeType\":3,\"id\":1382,\"textContent\":\"Nueva orden\",\"parentNode\":{\"id\":1380}},{\"nodeType\":3,\"id\":1383,\"textContent\":\"¡Felicidades tienes una nueva venta!\",\"parentNode\":{\"id\":1381}},{\"nodeType\":3,\"id\":1384,\"textContent\":\"Manos a la obra. \",\"parentNode\":{\"id\":1378}},{\"nodeType\":1,\"id\":1385,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"},\"parentNode\":{\"id\":1379}},{\"nodeType\":1,\"id\":1386,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"},\"previousSibling\":{\"id\":1385},\"parentNode\":{\"id\":1379}},{\"nodeType\":3,\"id\":1387,\"textContent\":\"Comenzar Orden\",\"parentNode\":{\"id\":1385}},{\"nodeType\":1,\"id\":1388,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \",\"style\":\"background: rgb(255, 255, 255); margin: 0px; top: -14px; width: 25px; height: 25px;\"},\"parentNode\":{\"id\":1386}},{\"nodeType\":1,\"id\":1389,\"tagName\":\"DIV\",\"attributes\":{},\"parentNode\":{\"id\":1354}},{\"nodeType\":1,\"id\":1390,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status\"},\"parentNode\":{\"id\":1389}},{\"nodeType\":3,\"id\":1391,\"textContent\":\"25 Julio 2020\",\"previousSibling\":{\"id\":1390},\"parentNode\":{\"id\":1389}},{\"nodeType\":3,\"id\":1392,\"textContent\":\"Realizada: \",\"parentNode\":{\"id\":1390}},{\"nodeType\":1,\"id\":1393,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold; margin-bottom: 0.25em;\"},\"parentNode\":{\"id\":1355}},{\"nodeType\":1,\"id\":1394,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"cr__text--paragraph\"},\"previousSibling\":{\"id\":1393},\"parentNode\":{\"id\":1355}},{\"nodeType\":1,\"id\":1395,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"cr__text--paragraph\"},\"previousSibling\":{\"id\":1394},\"parentNode\":{\"id\":1355}},{\"nodeType\":3,\"id\":1396,\"textContent\":\"Esta orden es un regalo:\",\"parentNode\":{\"id\":1393}},{\"nodeType\":1,\"id\":1397,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":1394}},{\"nodeType\":3,\"id\":1398,\"textContent\":\" \",\"previousSibling\":{\"id\":1397},\"parentNode\":{\"id\":1394}},{\"nodeType\":3,\"id\":1399,\"textContent\":\"Para:\",\"parentNode\":{\"id\":1397}},{\"nodeType\":1,\"id\":1400,\"tagName\":\"BOLD\",\"attributes\":{\"style\":\"font-weight: bold;\"},\"parentNode\":{\"id\":1395}},{\"nodeType\":1,\"id\":1401,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1400},\"parentNode\":{\"id\":1395}},{\"nodeType\":3,\"id\":1402,\"textContent\":\"No hay mensaje\",\"previousSibling\":{\"id\":1401},\"parentNode\":{\"id\":1395}},{\"nodeType\":3,\"id\":1403,\"textContent\":\"Mensaje:\",\"parentNode\":{\"id\":1400}},{\"nodeType\":1,\"id\":1404,\"tagName\":\"ARTICLE\",\"attributes\":{\"class\":\"product_container\"},\"parentNode\":{\"id\":1356}},{\"nodeType\":1,\"id\":1405,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"total_container\"},\"previousSibling\":{\"id\":1404},\"parentNode\":{\"id\":1356}},{\"nodeType\":1,\"id\":1406,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown total noInvoice\"},\"previousSibling\":{\"id\":1405},\"parentNode\":{\"id\":1356}},{\"nodeType\":1,\"id\":1407,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product\",\"style\":\"border-bottom: 1px solid rgb(238, 238, 238); padding-bottom: 1em;\"},\"parentNode\":{\"id\":1404}},{\"nodeType\":1,\"id\":1408,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail\"},\"parentNode\":{\"id\":1407}},{\"nodeType\":1,\"id\":1409,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_price\"},\"previousSibling\":{\"id\":1408},\"parentNode\":{\"id\":1407}},{\"nodeType\":1,\"id\":1410,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail-img\"},\"parentNode\":{\"id\":1408}},{\"nodeType\":1,\"id\":1411,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"product_detail-data\"},\"previousSibling\":{\"id\":1410},\"parentNode\":{\"id\":1408}},{\"nodeType\":1,\"id\":1412,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"img_container\"},\"parentNode\":{\"id\":1410}},{\"nodeType\":1,\"id\":1413,\"tagName\":\"PICTURE\",\"attributes\":{\"class\":\"responsive-picture \"},\"parentNode\":{\"id\":1412}},{\"nodeType\":1,\"id\":1414,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/65de715faa23cd25e02249f9a3e3a7dc-crop-c0-5__0-5-280x280.png\",\"class\":\"responsive-image\",\"media\":\"(max-width: 60em)\"},\"parentNode\":{\"id\":1413}},{\"nodeType\":1,\"id\":1415,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/65de715faa23cd25e02249f9a3e3a7dc-thumbnail-560x560.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 60em)\"},\"previousSibling\":{\"id\":1414},\"parentNode\":{\"id\":1413}},{\"nodeType\":1,\"id\":1416,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/65de715faa23cd25e02249f9a3e3a7dc-thumbnail-1120x1120.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 80em)\"},\"previousSibling\":{\"id\":1415},\"parentNode\":{\"id\":1413}},{\"nodeType\":1,\"id\":1417,\"tagName\":\"IMG\",\"attributes\":{\"class\":\"responsive-image\",\"src\":\"\",\"alt\":\"Rastrillo de acero tratado\",\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s;\"},\"previousSibling\":{\"id\":1416},\"parentNode\":{\"id\":1413}},{\"nodeType\":1,\"id\":1418,\"tagName\":\"P\",\"attributes\":{\"class\":\"name\"},\"parentNode\":{\"id\":1411}},{\"nodeType\":1,\"id\":1419,\"tagName\":\"P\",\"attributes\":{\"class\":\"attribute\"},\"previousSibling\":{\"id\":1418},\"parentNode\":{\"id\":1411}},{\"nodeType\":3,\"id\":1420,\"textContent\":\"Rastrillo de acero tratado\",\"parentNode\":{\"id\":1418}},{\"nodeType\":1,\"id\":1421,\"tagName\":\"SPAN\",\"attributes\":{},\"parentNode\":{\"id\":1419}},{\"nodeType\":1,\"id\":1422,\"tagName\":\"P\",\"attributes\":{\"class\":\"quantity\"},\"parentNode\":{\"id\":1409}},{\"nodeType\":1,\"id\":1423,\"tagName\":\"P\",\"attributes\":{\"class\":\"price\"},\"previousSibling\":{\"id\":1422},\"parentNode\":{\"id\":1409}},{\"nodeType\":3,\"id\":1424,\"textContent\":\"Cantidad \",\"parentNode\":{\"id\":1422}},{\"nodeType\":1,\"id\":1425,\"tagName\":\"SPAN\",\"attributes\":{},\"previousSibling\":{\"id\":1424},\"parentNode\":{\"id\":1422}},{\"nodeType\":3,\"id\":1426,\"textContent\":\"1\",\"parentNode\":{\"id\":1425}},{\"nodeType\":3,\"id\":1427,\"textContent\":\"$75.00\",\"parentNode\":{\"id\":1423}},{\"nodeType\":3,\"id\":1428,\"textContent\":\"MX\",\"previousSibling\":{\"id\":1427},\"parentNode\":{\"id\":1423}},{\"nodeType\":1,\"id\":1429,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"total_price\"},\"parentNode\":{\"id\":1405}},{\"nodeType\":1,\"id\":1430,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"parentNode\":{\"id\":1429}},{\"nodeType\":1,\"id\":1431,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":1430},\"parentNode\":{\"id\":1429}},{\"nodeType\":1,\"id\":1432,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":1431},\"parentNode\":{\"id\":1429}},{\"nodeType\":1,\"id\":1433,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":1432},\"parentNode\":{\"id\":1429}},{\"nodeType\":1,\"id\":1434,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown\"},\"previousSibling\":{\"id\":1433},\"parentNode\":{\"id\":1429}},{\"nodeType\":1,\"id\":1435,\"tagName\":\"P\",\"attributes\":{\"class\":\"breakdown total\"},\"previousSibling\":{\"id\":1434},\"parentNode\":{\"id\":1429}},{\"nodeType\":3,\"id\":1436,\"textContent\":\"Precio de la orden\",\"parentNode\":{\"id\":1430}},{\"nodeType\":1,\"id\":1437,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1436},\"parentNode\":{\"id\":1430}},{\"nodeType\":1,\"id\":1438,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1437},\"parentNode\":{\"id\":1430}},{\"nodeType\":1,\"id\":1439,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1437}},{\"nodeType\":3,\"id\":1440,\"textContent\":\"Venta del total de productos.\",\"parentNode\":{\"id\":1439}},{\"nodeType\":3,\"id\":1441,\"textContent\":\"75.00\",\"parentNode\":{\"id\":1438}},{\"nodeType\":3,\"id\":1442,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1441},\"parentNode\":{\"id\":1438}},{\"nodeType\":3,\"id\":1443,\"textContent\":\"Precio de envío\",\"parentNode\":{\"id\":1431}},{\"nodeType\":1,\"id\":1444,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1443},\"parentNode\":{\"id\":1431}},{\"nodeType\":1,\"id\":1445,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1444},\"parentNode\":{\"id\":1431}},{\"nodeType\":1,\"id\":1446,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1444}},{\"nodeType\":3,\"id\":1447,\"textContent\":\"Costo de envío.\",\"parentNode\":{\"id\":1446}},{\"nodeType\":3,\"id\":1448,\"textContent\":\"132.19\",\"parentNode\":{\"id\":1445}},{\"nodeType\":3,\"id\":1449,\"textContent\":\" \",\"previousSibling\":{\"id\":1448},\"parentNode\":{\"id\":1445}},{\"nodeType\":3,\"id\":1450,\"textContent\":\"MX\",\"previousSibling\":{\"id\":1449},\"parentNode\":{\"id\":1445}},{\"nodeType\":3,\"id\":1451,\"textContent\":\"Comisión Canasta Rosa\",\"parentNode\":{\"id\":1432}},{\"nodeType\":1,\"id\":1452,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1451},\"parentNode\":{\"id\":1432}},{\"nodeType\":1,\"id\":1453,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1452},\"parentNode\":{\"id\":1432}},{\"nodeType\":1,\"id\":1454,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1452}},{\"nodeType\":3,\"id\":1455,\"textContent\":\"Comisión por venta y pasarela de pago.\",\"parentNode\":{\"id\":1454}},{\"nodeType\":3,\"id\":1456,\"textContent\":\"-\",\"parentNode\":{\"id\":1453}},{\"nodeType\":3,\"id\":1457,\"textContent\":\"17.61\",\"previousSibling\":{\"id\":1456},\"parentNode\":{\"id\":1453}},{\"nodeType\":3,\"id\":1458,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1457},\"parentNode\":{\"id\":1453}},{\"nodeType\":3,\"id\":1459,\"textContent\":\"Retención IVA\",\"parentNode\":{\"id\":1433}},{\"nodeType\":1,\"id\":1460,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1459},\"parentNode\":{\"id\":1433}},{\"nodeType\":1,\"id\":1461,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1460},\"parentNode\":{\"id\":1433}},{\"nodeType\":1,\"id\":1462,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1460}},{\"nodeType\":3,\"id\":1463,\"textContent\":\"Retención de IVA correspondiente a tus producto.\",\"parentNode\":{\"id\":1462}},{\"nodeType\":3,\"id\":1464,\"textContent\":\"-\",\"parentNode\":{\"id\":1461}},{\"nodeType\":3,\"id\":1465,\"textContent\":\"6.00\",\"previousSibling\":{\"id\":1464},\"parentNode\":{\"id\":1461}},{\"nodeType\":3,\"id\":1466,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1465},\"parentNode\":{\"id\":1461}},{\"nodeType\":3,\"id\":1467,\"textContent\":\"Retención ISR\",\"parentNode\":{\"id\":1434}},{\"nodeType\":1,\"id\":1468,\"tagName\":\"BUTTON\",\"attributes\":{\"class\":\"form__helpIcon\",\"type\":\"button\"},\"previousSibling\":{\"id\":1467},\"parentNode\":{\"id\":1434}},{\"nodeType\":1,\"id\":1469,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1468},\"parentNode\":{\"id\":1434}},{\"nodeType\":1,\"id\":1470,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"helpInfo\"},\"parentNode\":{\"id\":1468}},{\"nodeType\":3,\"id\":1471,\"textContent\":\"Retención de ISR correspondiente a tu entidad fiscal.\",\"parentNode\":{\"id\":1470}},{\"nodeType\":3,\"id\":1472,\"textContent\":\"-\",\"parentNode\":{\"id\":1469}},{\"nodeType\":3,\"id\":1473,\"textContent\":\"1.26\",\"previousSibling\":{\"id\":1472},\"parentNode\":{\"id\":1469}},{\"nodeType\":3,\"id\":1474,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1473},\"parentNode\":{\"id\":1469}},{\"nodeType\":3,\"id\":1475,\"textContent\":\"Total\",\"parentNode\":{\"id\":1435}},{\"nodeType\":1,\"id\":1476,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"quantity\"},\"previousSibling\":{\"id\":1475},\"parentNode\":{\"id\":1435}},{\"nodeType\":3,\"id\":1477,\"textContent\":\"50.13\",\"parentNode\":{\"id\":1476}},{\"nodeType\":3,\"id\":1478,\"textContent\":\" MX\",\"previousSibling\":{\"id\":1477},\"parentNode\":{\"id\":1476}},{\"nodeType\":3,\"id\":1479,\"textContent\":\"*Esto no es una factura y su uso es meramente informativo.\",\"parentNode\":{\"id\":1406}}],[],[]]}" }, { "sequence": 50, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1417,\"attributes\":{\"src\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/order/product/65de715faa23cd25e02249f9a3e3a7dc-thumbnail-560x560.png\"}}],[]]}" }, { "sequence": 51, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1417,\"attributes\":{\"style\":\"opacity: 1; position: absolute; transition: all 200ms ease-in-out 0s; width: 100%; height: auto;\"}}],[]]}" }, { "sequence": 52, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1385,\"attributes\":{\"class\":\"action-button__label action-button__label--exiting\"}},{\"id\":1386,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exiting\"}}],[]]}" }, { "sequence": 53, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1385,\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"}}],[]]}" }, { "sequence": 54, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1386,\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"}}],[]]}" }, { "sequence": 55, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":1350},{\"id\":1351},{\"id\":1378},{\"id\":1384},{\"id\":1379},{\"id\":1385},{\"id\":1387},{\"id\":1386},{\"id\":1388}],[{\"nodeType\":1,\"id\":1480,\"tagName\":\"P\",\"attributes\":{},\"parentNode\":{\"id\":1349}},{\"nodeType\":1,\"id\":1481,\"tagName\":\"STRONG\",\"attributes\":{\"style\":\"color: rgb(230, 87, 93);\"},\"previousSibling\":{\"id\":1367},\"parentNode\":{\"id\":1365}},{\"nodeType\":1,\"id\":1482,\"tagName\":\"P\",\"attributes\":{\"class\":\"instructions\"},\"previousSibling\":{\"id\":1377},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1483,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"standard-shipping\"},\"previousSibling\":{\"id\":1482},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1484,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"status-display status-display--ready\"},\"parentNode\":{\"id\":1480}},{\"nodeType\":3,\"id\":1485,\"textContent\":\"Entrega Hoy\",\"parentNode\":{\"id\":1481}},{\"nodeType\":3,\"id\":1486,\"textContent\":\"Es necesario que crees e imprimas una guía de rastreo por cada paquete que enviarás a tus clientes.\",\"parentNode\":{\"id\":1482}},{\"nodeType\":1,\"id\":1487,\"tagName\":\"BR\",\"attributes\":{},\"previousSibling\":{\"id\":1486},\"parentNode\":{\"id\":1482}},{\"nodeType\":3,\"id\":1488,\"textContent\":\"Sin ellas, el servicio de mensajería no podrá recolectar tu orden.\",\"previousSibling\":{\"id\":1487},\"parentNode\":{\"id\":1482}},{\"nodeType\":1,\"id\":1489,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"steps active\"},\"parentNode\":{\"id\":1483}},{\"nodeType\":3,\"id\":1490,\"textContent\":\"Orden Lista\",\"parentNode\":{\"id\":1484}},{\"nodeType\":1,\"id\":1491,\"tagName\":\"FORM\",\"attributes\":{\"class\":\"form\",\"style\":\"margin-top: 2em;\"},\"parentNode\":{\"id\":1489}},{\"nodeType\":1,\"id\":1492,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"packages-number form__data\",\"style\":\"justify-content: flex-start;\"},\"parentNode\":{\"id\":1491}},{\"nodeType\":1,\"id\":1493,\"tagName\":\"DIV\",\"attributes\":{\"style\":\"text-align: left;\"},\"previousSibling\":{\"id\":1492},\"parentNode\":{\"id\":1491}},{\"nodeType\":1,\"id\":1494,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"guides\"},\"previousSibling\":{\"id\":1493},\"parentNode\":{\"id\":1491}},{\"nodeType\":1,\"id\":1495,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__submit\"},\"previousSibling\":{\"id\":1494},\"parentNode\":{\"id\":1491}},{\"nodeType\":1,\"id\":1496,\"tagName\":\"LABEL\",\"attributes\":{\"for\":\"num-packages\"},\"parentNode\":{\"id\":1492}},{\"nodeType\":3,\"id\":1497,\"textContent\":\"Elige el número y características de cada paquete que enviarás:\",\"parentNode\":{\"id\":1496}},{\"nodeType\":1,\"id\":1498,\"tagName\":\"SELECT\",\"attributes\":{\"name\":\"num-packages\",\"style\":\"width: 4em; height: 2em; margin-bottom: 1em;\"},\"parentNode\":{\"id\":1493}},{\"nodeType\":1,\"id\":1499,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"1\"},\"parentNode\":{\"id\":1498}},{\"nodeType\":1,\"id\":1500,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"2\"},\"previousSibling\":{\"id\":1499},\"parentNode\":{\"id\":1498}},{\"nodeType\":1,\"id\":1501,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"3\"},\"previousSibling\":{\"id\":1500},\"parentNode\":{\"id\":1498}},{\"nodeType\":1,\"id\":1502,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"4\"},\"previousSibling\":{\"id\":1501},\"parentNode\":{\"id\":1498}},{\"nodeType\":1,\"id\":1503,\"tagName\":\"OPTION\",\"attributes\":{\"value\":\"5\"},\"previousSibling\":{\"id\":1502},\"parentNode\":{\"id\":1498}},{\"nodeType\":3,\"id\":1504,\"textContent\":\"1\",\"parentNode\":{\"id\":1499}},{\"nodeType\":3,\"id\":1505,\"textContent\":\"2\",\"parentNode\":{\"id\":1500}},{\"nodeType\":3,\"id\":1506,\"textContent\":\"3\",\"parentNode\":{\"id\":1501}},{\"nodeType\":3,\"id\":1507,\"textContent\":\"4\",\"parentNode\":{\"id\":1502}},{\"nodeType\":3,\"id\":1508,\"textContent\":\"5\",\"parentNode\":{\"id\":1503}},{\"nodeType\":1,\"id\":1509,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"guide\"},\"parentNode\":{\"id\":1494}},{\"nodeType\":1,\"id\":1510,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"guide__index\"},\"parentNode\":{\"id\":1509}},{\"nodeType\":1,\"id\":1511,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"specs\"},\"previousSibling\":{\"id\":1510},\"parentNode\":{\"id\":1509}},{\"nodeType\":3,\"id\":1512,\"textContent\":\"Caja \",\"parentNode\":{\"id\":1510}},{\"nodeType\":3,\"id\":1513,\"textContent\":\"1\",\"previousSibling\":{\"id\":1512},\"parentNode\":{\"id\":1510}},{\"nodeType\":3,\"id\":1514,\"textContent\":\":\",\"previousSibling\":{\"id\":1513},\"parentNode\":{\"id\":1510}},{\"nodeType\":1,\"id\":1515,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-undefined\"},\"parentNode\":{\"id\":1511}},{\"nodeType\":1,\"id\":1516,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-undefined\"},\"previousSibling\":{\"id\":1515},\"parentNode\":{\"id\":1511}},{\"nodeType\":1,\"id\":1517,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-undefined\"},\"previousSibling\":{\"id\":1516},\"parentNode\":{\"id\":1511}},{\"nodeType\":1,\"id\":1518,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-undefined\"},\"previousSibling\":{\"id\":1517},\"parentNode\":{\"id\":1511}},{\"nodeType\":1,\"id\":1519,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"guides[0].weight\",\"min\":\"1\",\"max\":\"10\",\"id\":\"guides[0].weight\",\"placeholder\":\"kg\",\"value\":\"1\",\"style\":\"width: 3.75em; height: 2.75em;\"},\"parentNode\":{\"id\":1515}},{\"nodeType\":1,\"id\":1520,\"tagName\":\"LABEL\",\"attributes\":{\"for\":\"guides[0].weight\",\"style\":\"font-size: 1em;\"},\"previousSibling\":{\"id\":1519},\"parentNode\":{\"id\":1515}},{\"nodeType\":3,\"id\":1521,\"textContent\":\"Peso\",\"parentNode\":{\"id\":1520}},{\"nodeType\":3,\"id\":1522,\"textContent\":\" \",\"previousSibling\":{\"id\":1521},\"parentNode\":{\"id\":1520}},{\"nodeType\":3,\"id\":1523,\"textContent\":\"kg\",\"previousSibling\":{\"id\":1522},\"parentNode\":{\"id\":1520}},{\"nodeType\":1,\"id\":1524,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"guides[0].width\",\"min\":\"1\",\"max\":\"45\",\"id\":\"guides[0].width\",\"placeholder\":\"cm\",\"value\":\"10\",\"style\":\"width: 3.75em; height: 2.75em;\"},\"parentNode\":{\"id\":1516}},{\"nodeType\":1,\"id\":1525,\"tagName\":\"LABEL\",\"attributes\":{\"for\":\"guides[0].width\",\"style\":\"font-size: 1em;\"},\"previousSibling\":{\"id\":1524},\"parentNode\":{\"id\":1516}},{\"nodeType\":3,\"id\":1526,\"textContent\":\"Ancho\",\"parentNode\":{\"id\":1525}},{\"nodeType\":3,\"id\":1527,\"textContent\":\" \",\"previousSibling\":{\"id\":1526},\"parentNode\":{\"id\":1525}},{\"nodeType\":3,\"id\":1528,\"textContent\":\"cm\",\"previousSibling\":{\"id\":1527},\"parentNode\":{\"id\":1525}},{\"nodeType\":1,\"id\":1529,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"guides[0].height\",\"min\":\"1\",\"max\":\"45\",\"id\":\"guides[0].height\",\"placeholder\":\"cm\",\"value\":\"10\",\"style\":\"width: 3.75em; height: 2.75em;\"},\"parentNode\":{\"id\":1517}},{\"nodeType\":1,\"id\":1530,\"tagName\":\"LABEL\",\"attributes\":{\"for\":\"guides[0].height\",\"style\":\"font-size: 1em;\"},\"previousSibling\":{\"id\":1529},\"parentNode\":{\"id\":1517}},{\"nodeType\":3,\"id\":1531,\"textContent\":\"Alto\",\"parentNode\":{\"id\":1530}},{\"nodeType\":3,\"id\":1532,\"textContent\":\" \",\"previousSibling\":{\"id\":1531},\"parentNode\":{\"id\":1530}},{\"nodeType\":3,\"id\":1533,\"textContent\":\"cm\",\"previousSibling\":{\"id\":1532},\"parentNode\":{\"id\":1530}},{\"nodeType\":1,\"id\":1534,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"guides[0].depth\",\"min\":\"1\",\"max\":\"45\",\"id\":\"guides[0].depth\",\"placeholder\":\"cm\",\"value\":\"10\",\"style\":\"width: 3.75em; height: 2.75em;\"},\"parentNode\":{\"id\":1518}},{\"nodeType\":1,\"id\":1535,\"tagName\":\"LABEL\",\"attributes\":{\"for\":\"guides[0].depth\",\"style\":\"font-size: 1em;\"},\"previousSibling\":{\"id\":1534},\"parentNode\":{\"id\":1518}},{\"nodeType\":3,\"id\":1536,\"textContent\":\"Profundidad\",\"parentNode\":{\"id\":1535}},{\"nodeType\":3,\"id\":1537,\"textContent\":\" \",\"previousSibling\":{\"id\":1536},\"parentNode\":{\"id\":1535}},{\"nodeType\":3,\"id\":1538,\"textContent\":\"cm\",\"previousSibling\":{\"id\":1537},\"parentNode\":{\"id\":1535}},{\"nodeType\":1,\"id\":1539,\"tagName\":\"BUTTON\",\"attributes\":{\"type\":\"button\",\"class\":\"action-button action-button--button c2a_border action-button\",\"style\":\"margin-top: 0.5em;\"},\"parentNode\":{\"id\":1495}},{\"nodeType\":1,\"id\":1540,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"},\"parentNode\":{\"id\":1539}},{\"nodeType\":1,\"id\":1541,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"},\"previousSibling\":{\"id\":1540},\"parentNode\":{\"id\":1539}},{\"nodeType\":3,\"id\":1542,\"textContent\":\"Generar guías\",\"parentNode\":{\"id\":1540}},{\"nodeType\":1,\"id\":1543,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \",\"style\":\"background: rgb(255, 255, 255); margin: 0px; top: -14px; width: 25px; height: 25px;\"},\"parentNode\":{\"id\":1541}}],[{\"id\":1376,\"attributes\":{\"class\":\"pickup-order-info packages\"}},{\"id\":1380,\"attributes\":{\"class\":\"title-step pickup\"}},{\"id\":1381,\"attributes\":{\"class\":\"message name\"}}],[{\"id\":1366,\"textContent\":\"Seguimiento de la Orden\"},{\"id\":1382,\"textContent\":\"Recolección\"},{\"id\":1383,\"textContent\":\"Envío Nacional\"}]]}" }, { "sequence": 56, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1539,\"attributes\":{\"disabled\":\"\"}},{\"id\":1540,\"attributes\":{\"class\":\"action-button__label action-button__label--entering\"}},{\"id\":1541,\"attributes\":{\"class\":\"action-button__icon action-button__icon--entering\"}}],[]]}" }, { "sequence": 57, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1540,\"attributes\":{\"class\":\"action-button__label action-button__label--entered\"}}],[]]}" }, { "sequence": 58, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1541,\"attributes\":{\"class\":\"action-button__icon action-button__icon--entered\"}}],[]]}" }, { "sequence": 59, "data": "{\"f\":\"applyChanged\",\"args\":[[{\"id\":1482},{\"id\":1486},{\"id\":1487},{\"id\":1488},{\"id\":1483},{\"id\":1489},{\"id\":1491},{\"id\":1492},{\"id\":1496},{\"id\":1497},{\"id\":1493},{\"id\":1498},{\"id\":1499},{\"id\":1504},{\"id\":1500},{\"id\":1505},{\"id\":1501},{\"id\":1506},{\"id\":1502},{\"id\":1507},{\"id\":1503},{\"id\":1508},{\"id\":1494},{\"id\":1509},{\"id\":1510},{\"id\":1512},{\"id\":1513},{\"id\":1514},{\"id\":1511},{\"id\":1515},{\"id\":1519},{\"id\":1520},{\"id\":1521},{\"id\":1522},{\"id\":1523},{\"id\":1516},{\"id\":1524},{\"id\":1525},{\"id\":1526},{\"id\":1527},{\"id\":1528},{\"id\":1517},{\"id\":1529},{\"id\":1530},{\"id\":1531},{\"id\":1532},{\"id\":1533},{\"id\":1518},{\"id\":1534},{\"id\":1535},{\"id\":1536},{\"id\":1537},{\"id\":1538},{\"id\":1495},{\"id\":1539},{\"id\":1540},{\"id\":1542},{\"id\":1541},{\"id\":1543}],[{\"nodeType\":1,\"id\":1544,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"standard-shipping\"},\"previousSibling\":{\"id\":1377},\"parentNode\":{\"id\":1376}},{\"nodeType\":1,\"id\":1545,\"tagName\":\"DIV\",\"attributes\":{\"style\":\"width: 100%; text-align: center;\"},\"parentNode\":{\"id\":1544}},{\"nodeType\":1,\"id\":1546,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"steps active\"},\"previousSibling\":{\"id\":1545},\"parentNode\":{\"id\":1544}},{\"nodeType\":1,\"id\":1547,\"tagName\":\"A\",\"attributes\":{\"class\":\"button-square--pink download-btn\",\"href\":\"https://canastarosa.s3.amazonaws.com/media/order/labels/2195435045.pdf\",\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"},\"parentNode\":{\"id\":1545}},{\"nodeType\":3,\"id\":1548,\"textContent\":\"Descargar guías\",\"parentNode\":{\"id\":1547}},{\"nodeType\":1,\"id\":1549,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"instructions\"},\"parentNode\":{\"id\":1546}},{\"nodeType\":1,\"id\":1550,\"tagName\":\"P\",\"attributes\":{\"class\":\"message\"},\"parentNode\":{\"id\":1549}},{\"nodeType\":1,\"id\":1551,\"tagName\":\"BUTTON\",\"attributes\":{\"type\":\"button\",\"class\":\"action-button action-button--button c2a_border collect-btn\"},\"previousSibling\":{\"id\":1550},\"parentNode\":{\"id\":1549}},{\"nodeType\":3,\"id\":1552,\"textContent\":\"¡Listo!, ahora que ya\",\"parentNode\":{\"id\":1550}},{\"nodeType\":3,\"id\":1553,\"textContent\":\" \",\"previousSibling\":{\"id\":1552},\"parentNode\":{\"id\":1550}},{\"nodeType\":1,\"id\":1554,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1553},\"parentNode\":{\"id\":1550}},{\"nodeType\":3,\"id\":1555,\"textContent\":\" puedes dar\",\"previousSibling\":{\"id\":1554},\"parentNode\":{\"id\":1550}},{\"nodeType\":3,\"id\":1556,\"textContent\":\" \",\"previousSibling\":{\"id\":1555},\"parentNode\":{\"id\":1550}},{\"nodeType\":1,\"id\":1557,\"tagName\":\"STRONG\",\"attributes\":{},\"previousSibling\":{\"id\":1556},\"parentNode\":{\"id\":1550}},{\"nodeType\":3,\"id\":1558,\"textContent\":\" para que programemos la recolección de tu pedido\",\"previousSibling\":{\"id\":1557},\"parentNode\":{\"id\":1550}},{\"nodeType\":3,\"id\":1559,\"textContent\":\"cuentas con tus guías\",\"parentNode\":{\"id\":1554}},{\"nodeType\":3,\"id\":1560,\"textContent\":\" click aquí\",\"parentNode\":{\"id\":1557}},{\"nodeType\":1,\"id\":1561,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__label action-button__label--exited\"},\"parentNode\":{\"id\":1551}},{\"nodeType\":1,\"id\":1562,\"tagName\":\"SPAN\",\"attributes\":{\"class\":\"action-button__icon action-button__icon--exited\"},\"previousSibling\":{\"id\":1561},\"parentNode\":{\"id\":1551}},{\"nodeType\":3,\"id\":1563,\"textContent\":\"Listo para recolección\",\"parentNode\":{\"id\":1561}},{\"nodeType\":1,\"id\":1564,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"preloader \",\"style\":\"background: rgb(255, 255, 255); margin: 0px; top: -14px; width: 25px; height: 25px;\"},\"parentNode\":{\"id\":1562}}],[],[]]}" }, { "sequence": 60, "data": "{\"f\":\"applyChanged\",\"args\":[[],[],[{\"id\":1551,\"attributes\":{\"disabled\":\"\"}},{\"id\":1561,\"attributes\":{\"class\":\"action-button__label action-button__label--entering\"}},{\"id\":1562,\"attributes\":{\"class\":\"action-button__icon action-button__icon--entering\"}}],[]]}" } ], "initialDom": "{\"f\":\"initialize\",\"args\":[1,[{\"nodeType\":10,\"id\":2,\"name\":\"html\",\"publicId\":\"\",\"systemId\":\"\"},{\"nodeType\":1,\"id\":3,\"tagName\":\"HTML\",\"attributes\":{\"amp\":\"true\",\"lang\":\"es\"},\"childNodes\":[{\"nodeType\":1,\"id\":4,\"tagName\":\"HEAD\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":5,\"textContent\":\" \\t\\t\\t\\t \\t\\t\\t\\t \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":6,\"tagName\":\"META\",\"attributes\":{\"charset\":\"utf-8\"}},{\"nodeType\":3,\"id\":7,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":8,\"tagName\":\"META\",\"attributes\":{\"http-equiv\":\"X-UA-Compatible\",\"content\":\"IE=edge\"}},{\"nodeType\":3,\"id\":9,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":10,\"tagName\":\"META\",\"attributes\":{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}},{\"nodeType\":3,\"id\":11,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":12,\"tagName\":\"META\",\"attributes\":{\"name\":\"theme-color\",\"content\":\"#E63976\"}},{\"nodeType\":3,\"id\":13,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":14,\"tagName\":\"META\",\"attributes\":{\"name\":\"google-site-verification\",\"content\":\"YSIHizBLS4LVpKHeW7oIuY_a3FzZ6HO6INal92LRJ3s\"}},{\"nodeType\":3,\"id\":15,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":16,\"tagName\":\"META\",\"attributes\":{\"name\":\"google-site-verification\",\"content\":\"1HfDaSwOErxY9TDWh3jscGK677Q1G5LY7mwcnxBE1ec\"}},{\"nodeType\":3,\"id\":17,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":18,\"tagName\":\"META\",\"attributes\":{\"http-equiv\":\"Cache-Control\",\"content\":\"no-cache, no-store, must-revalidate\"}},{\"nodeType\":3,\"id\":19,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":20,\"tagName\":\"META\",\"attributes\":{\"http-equiv\":\"Pragma\",\"content\":\"no-cache\"}},{\"nodeType\":3,\"id\":21,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":22,\"tagName\":\"META\",\"attributes\":{\"http-equiv\":\"Expires\",\"content\":\"0\"}},{\"nodeType\":3,\"id\":23,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":24,\"tagName\":\"TITLE\",\"attributes\":{\"data-react-helmet\":\"true\"},\"childNodes\":[{\"nodeType\":3,\"id\":25,\"textContent\":\"Mi Tienda | Canasta Rosa\"}]},{\"nodeType\":3,\"id\":26,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":27,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"name\":\"description\",\"content\":\"Encuentra cientos de productos únicos y originales regalos elaborados artesanalmente por gente como tú.\"}},{\"nodeType\":1,\"id\":28,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"name\":\"robots\",\"content\":\"all\"}},{\"nodeType\":1,\"id\":29,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"og:url\",\"content\":\"https://canastarosa.com/\"}},{\"nodeType\":1,\"id\":30,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"og:type\",\"content\":\"article\"}},{\"nodeType\":1,\"id\":31,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"og:title\",\"content\":\"Compra productos únicos elaborados artesanalmente | Canasta Rosa\"}},{\"nodeType\":1,\"id\":32,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"og:description\",\"content\":\"Encuentra cientos de productos únicos y originales regalos elaborados artesanalmente por gente como tú.\"}},{\"nodeType\":1,\"id\":33,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"og:image\",\"content\":\"https://canastarosa.com/fb_share2.jpg\"}},{\"nodeType\":1,\"id\":34,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"name\":\"tags\",\"content\":\"Canasta Rosa, Regalos, Emprendimiento, Startup, Artesanías, Creatividad, Ideas, Marketplace, Obsequios, Pasteles, Infantil, Accesorios, Moda, Mujer\"}},{\"nodeType\":1,\"id\":35,\"tagName\":\"META\",\"attributes\":{\"data-react-helmet\":\"true\",\"property\":\"fb:app_id\",\"content\":\"130383784310446\"}},{\"nodeType\":3,\"id\":36,\"textContent\":\" \\t\\t\\t\\t \\t\\t\\t\\t \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":37,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"shortcut icon\",\"href\":\"/favicon.ico\"}},{\"nodeType\":3,\"id\":38,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":39,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"icon\",\"type\":\"image/png\",\"href\":\"/favicon.png\"}},{\"nodeType\":3,\"id\":40,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":41,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-touch-icon.png\"}},{\"nodeType\":3,\"id\":42,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":43,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"canonical\",\"href\":\"http://canastarosa.com/my-store/dashboard\"}},{\"nodeType\":3,\"id\":44,\"textContent\":\" \\t\\t\\t\\t \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":45,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":46,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":47,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":48,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":49,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":50,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":51,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":52,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":53,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":54,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":55,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":56,\"textContent\":\" \\t\\t\\t\\t \\t\\t\"},{\"nodeType\":8,\"id\":57},{\"nodeType\":3,\"id\":58,\"textContent\":\" \\t\\t\"},{\"nodeType\":1,\"id\":59,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":60,\"textContent\":\" \\t\\t\"},{\"nodeType\":8,\"id\":61},{\"nodeType\":3,\"id\":62,\"textContent\":\" \\t \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":63},{\"nodeType\":3,\"id\":64,\"textContent\":\" \\t\\t\\t\\t \\t\\t\\t\"},{\"nodeType\":1,\"id\":65,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"stylesheet\",\"href\":\"/styles/App.4721100f8b455e1c99fd.css\"}},{\"nodeType\":3,\"id\":66,\"textContent\":\" \\t\\t\\t\"},{\"nodeType\":1,\"id\":67,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"stylesheet\",\"href\":\"/styles/StoreDashboard.4721100f8b455e1c99fd.css\"}},{\"nodeType\":3,\"id\":68,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":69,\"tagName\":\"STYLE\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":70,\"textContent\":\" \\t\\t\\t\\t\\t.pac-container{ \\t\\t\\t\\t\\t\\tz-index: 10000!important; \\t\\t\\t\\t\\t} \\t\\t\\t\\t\\t.custom_fc_frame {left: 10px !important;bottom: 10px !important;} \\t\\t\\t\\t\"}]},{\"nodeType\":3,\"id\":71,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":72,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.canastarosa.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":73,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":74,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.js.stripe.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":75,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":76,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.connect.facebook.net\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":77,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":78,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.google-analytics.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":79,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":80,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.googletagmanager.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":81,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":82,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.secure.mlstatic.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":83,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":84,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.static.criteo.net\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":85,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":86,\"tagName\":\"LINK\",\"attributes\":{\"crossorigin\":\"\",\"href\":\"https://www.maps.googleapis.com\",\"rel\":\"preconnect\"}},{\"nodeType\":3,\"id\":87,\"textContent\":\" \\t\\t\\t\"},{\"nodeType\":1,\"id\":88,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":89,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":90,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":91,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"stylesheet\",\"type\":\"text/css\",\"href\":\"/styles/cr-core.4721100f8b455e1c99fd.css\"}},{\"nodeType\":1,\"id\":92,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":93,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"stylesheet\",\"type\":\"text/css\",\"href\":\"/styles/vendor.4721100f8b455e1c99fd.css\"}},{\"nodeType\":1,\"id\":94,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":95,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":96,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":97,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":98,\"tagName\":\"LINK\",\"attributes\":{\"rel\":\"stylesheet\",\"type\":\"text/css\",\"href\":\"/styles/commons.4721100f8b455e1c99fd.css\"}},{\"nodeType\":1,\"id\":99,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":100,\"tagName\":\"SCRIPT\"},{\"nodeType\":1,\"id\":101,\"tagName\":\"SCRIPT\"}]},{\"nodeType\":3,\"id\":102,\"textContent\":\" \\t\\t\\t\"},{\"nodeType\":1,\"id\":103,\"tagName\":\"BODY\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":104,\"textContent\":\"\\t \\t\\t\\t\"},{\"nodeType\":8,\"id\":105},{\"nodeType\":3,\"id\":106,\"textContent\":\" \\t\\t\\t\\t \\t\\t\"},{\"nodeType\":8,\"id\":107},{\"nodeType\":3,\"id\":108,\"textContent\":\" \\t\\t\"},{\"nodeType\":1,\"id\":109,\"tagName\":\"NOSCRIPT\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":110,\"textContent\":\"<iframe src=\\\"https://www.googletagmanager.com/ns.html?id=GTM-K5KG45L\\\" \\t\\theight=\\\"0\\\" width=\\\"0\\\" style=\\\"display:none;visibility:hidden\\\"></iframe>\"}]},{\"nodeType\":3,\"id\":111,\"textContent\":\" \\t\\t\"},{\"nodeType\":8,\"id\":112},{\"nodeType\":3,\"id\":113,\"textContent\":\" \\t \\t\\t\\t\\t \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":114,\"tagName\":\"DIV\",\"attributes\":{\"id\":\"app-container\"},\"childNodes\":[{\"nodeType\":1,\"id\":115,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"app-layout my-store\"},\"childNodes\":[{\"nodeType\":1,\"id\":116,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"app-body-layout\"},\"childNodes\":[{\"nodeType\":1,\"id\":117,\"tagName\":\"DIV\",\"attributes\":{\"style\":\"flex:1\",\"class\":\"body-sections\"},\"childNodes\":[{\"nodeType\":1,\"id\":118,\"tagName\":\"DIV\",\"attributes\":{},\"childNodes\":[{\"nodeType\":1,\"id\":119,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeApp\"},\"childNodes\":[{\"nodeType\":1,\"id\":120,\"tagName\":\"ASIDE\",\"attributes\":{\"class\":\"storeMenu\"},\"childNodes\":[{\"nodeType\":1,\"id\":121,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_container\"},\"childNodes\":[{\"nodeType\":1,\"id\":122,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"logo\"},\"childNodes\":[{\"nodeType\":1,\"id\":123,\"tagName\":\"A\",\"attributes\":{\"class\":\"logo__button\",\"href\":\"/\"},\"childNodes\":[{\"nodeType\":1,\"id\":124,\"tagName\":\"PICTURE\",\"attributes\":{},\"childNodes\":[{\"nodeType\":1,\"id\":125,\"tagName\":\"SOURCE\",\"attributes\":{\"media\":\"(min-width: 45.5em)\",\"srcset\":\"/_/app/images/logo/header_logo_full.svg\"}},{\"nodeType\":1,\"id\":126,\"tagName\":\"IMG\",\"attributes\":{\"src\":\"/_/app/images/logo/header_logo.svg\",\"alt\":\"Home\"}}]}]}]},{\"nodeType\":1,\"id\":127,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"menu\"},\"childNodes\":[{\"nodeType\":1,\"id\":128,\"tagName\":\"A\",\"attributes\":{\"href\":\"#\"},\"childNodes\":[{\"nodeType\":3,\"id\":129,\"textContent\":\"Menu\"}]}]}]},{\"nodeType\":1,\"id\":130,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"closed\"},\"childNodes\":[{\"nodeType\":1,\"id\":131,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu_dropdown\"},\"childNodes\":[{\"nodeType\":1,\"id\":132,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile storeMenu__module\"},\"childNodes\":[{\"nodeType\":1,\"id\":133,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer\"},\"childNodes\":[{\"nodeType\":1,\"id\":134,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"imageContainer__wrapper\"},\"childNodes\":[{\"nodeType\":1,\"id\":135,\"tagName\":\"PICTURE\",\"attributes\":{\"class\":\"responsive-picture \"},\"childNodes\":[{\"nodeType\":1,\"id\":136,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-480x480.png\",\"class\":\"responsive-image\",\"media\":\"(max-width: 60em)\"}},{\"nodeType\":1,\"id\":137,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-680x680.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 60em)\"}},{\"nodeType\":1,\"id\":138,\"tagName\":\"SOURCE\",\"attributes\":{\"srcset\":\"https://canastarosa.s3.amazonaws.com/media/__sized__/market/store/photo/4d637b10b30cfd7d49c2a78e3ec1fad4-crop-c0-5__0-5-960x960.png\",\"class\":\"responsive-image\",\"media\":\"(min-width: 80em)\"}},{\"nodeType\":1,\"id\":139,\"tagName\":\"IMG\",\"attributes\":{\"style\":\"opacity:1;position:absolute;transition:all 200ms ease-in-out\",\"class\":\"responsive-image\",\"src\":\"\",\"alt\":\"Xoxoctli Ecotienda\"}}]}]}]},{\"nodeType\":1,\"id\":140,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__profile-info\"},\"childNodes\":[{\"nodeType\":1,\"id\":141,\"tagName\":\"H3\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":142,\"textContent\":\"Xoxoctli Ecotienda\"}]},{\"nodeType\":1,\"id\":143,\"tagName\":\"A\",\"attributes\":{\"class\":\"c2a_border\",\"href\":\"/stores/xoxoctli-ecotienda/\"},\"childNodes\":[{\"nodeType\":3,\"id\":144,\"textContent\":\"Ver mi Tienda\"}]}]},{\"nodeType\":1,\"id\":145,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-article storeMenu__module\"},\"childNodes\":[{\"nodeType\":1,\"id\":146,\"tagName\":\"DIV\",\"attributes\":{\"to\":\"/my-store/products/add\",\"class\":\"c2a_square\"},\"childNodes\":[{\"nodeType\":3,\"id\":147,\"textContent\":\"+ Nuevo Producto\"}]}]}]},{\"nodeType\":1,\"id\":148,\"tagName\":\"NAV\",\"attributes\":{\"class\":\"storeMenu__navigation storeMenu__module\"},\"childNodes\":[{\"nodeType\":1,\"id\":149,\"tagName\":\"UL\",\"attributes\":{},\"childNodes\":[{\"nodeType\":1,\"id\":150,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":151,\"tagName\":\"A\",\"attributes\":{\"class\":\"active\",\"aria-current\":\"page\",\"href\":\"/my-store/dashboard\"},\"childNodes\":[{\"nodeType\":3,\"id\":152,\"textContent\":\"Mi panel\"}]}]},{\"nodeType\":1,\"id\":153,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":154,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/settings\"},\"childNodes\":[{\"nodeType\":3,\"id\":155,\"textContent\":\"Mi Tienda\"}]}]},{\"nodeType\":1,\"id\":156,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":157,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/products\"},\"childNodes\":[{\"nodeType\":3,\"id\":158,\"textContent\":\"Productos\"}]}]},{\"nodeType\":1,\"id\":159,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":160,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/orders\"},\"childNodes\":[{\"nodeType\":3,\"id\":161,\"textContent\":\"Órdenes\"}]}]},{\"nodeType\":1,\"id\":162,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":163,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/movements\"},\"childNodes\":[{\"nodeType\":3,\"id\":164,\"textContent\":\"Mi Saldo\"}]}]},{\"nodeType\":1,\"id\":165,\"tagName\":\"LI\",\"attributes\":{\"class\":\"storeMenu__navigation-item\"},\"childNodes\":[{\"nodeType\":1,\"id\":166,\"tagName\":\"A\",\"attributes\":{\"href\":\"/my-store/subscription\"},\"childNodes\":[{\"nodeType\":3,\"id\":167,\"textContent\":\"Subscripción\"}]}]}]}]},{\"nodeType\":1,\"id\":168,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__new-crPro storeMenu__module\"},\"childNodes\":[{\"nodeType\":1,\"id\":169,\"tagName\":\"P\",\"attributes\":{\"class\":\"note\"},\"childNodes\":[{\"nodeType\":3,\"id\":170,\"textContent\":\"¿Quieres crecer tu marca? Conoce los servicios de\"}]},{\"nodeType\":1,\"id\":171,\"tagName\":\"A\",\"attributes\":{\"class\":\"link\",\"target\":\"_blank\",\"href\":\"/pro\"},\"childNodes\":[{\"nodeType\":3,\"id\":172,\"textContent\":\"Canasta Rosa Pro\"},{\"nodeType\":1,\"id\":173,\"tagName\":\"SPAN\",\"attributes\":{}}]}]},{\"nodeType\":1,\"id\":174,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"storeMenu__referrerCode\"},\"childNodes\":[{\"nodeType\":1,\"id\":175,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"question note\"},\"childNodes\":[{\"nodeType\":3,\"id\":176,\"textContent\":\"¿Abriste tu tienda por recomendación de alguien?\"}]},{\"nodeType\":1,\"id\":177,\"tagName\":\"FORM\",\"attributes\":{\"class\":\"referrer-form\"},\"childNodes\":[{\"nodeType\":1,\"id\":178,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"form__data form__data-referrer-input\"},\"childNodes\":[{\"nodeType\":1,\"id\":179,\"tagName\":\"LABEL\",\"attributes\":{\"class\":\"title\",\"for\":\"referrer\"}},{\"nodeType\":1,\"id\":180,\"tagName\":\"INPUT\",\"attributes\":{\"name\":\"referrer\",\"value\":\"\",\"class\":\"\",\"autofocus\":\"\",\"id\":\"referrer\",\"placeholder\":\"Ingresa su código aquí\"}}]},{\"nodeType\":1,\"id\":181,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"btns-container\"},\"childNodes\":[{\"nodeType\":1,\"id\":182,\"tagName\":\"DIV\",\"attributes\":{},\"childNodes\":[{\"nodeType\":1,\"id\":183,\"tagName\":\"A\",\"attributes\":{\"class\":\"send\"},\"childNodes\":[{\"nodeType\":3,\"id\":184,\"textContent\":\"Enviar Código\"}]}]}]}]}]}]}]}]},{\"nodeType\":1,\"id\":185,\"tagName\":\"DIV\",\"attributes\":{\"class\":\"contentWrapper\"}}]}]}]}]}]}]},{\"nodeType\":3,\"id\":186,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":187},{\"nodeType\":3,\"id\":188,\"textContent\":\" \\t\\t\\t\\t \\t\\t\"},{\"nodeType\":1,\"id\":189,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":190,\"textContent\":\" \\t \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":191},{\"nodeType\":3,\"id\":192,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":193},{\"nodeType\":3,\"id\":194,\"textContent\":\" \\t\\t\\t\\t \\t\\t\"},{\"nodeType\":1,\"id\":195,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":196,\"textContent\":\" \\t \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":197},{\"nodeType\":3,\"id\":198,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":199},{\"nodeType\":3,\"id\":200,\"textContent\":\" \\t\\t\\t\\t \\t\\t\"},{\"nodeType\":1,\"id\":201,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":202,\"textContent\":\" \\t \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":203},{\"nodeType\":3,\"id\":204,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":205},{\"nodeType\":3,\"id\":206,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":207,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":208,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":209},{\"nodeType\":3,\"id\":210,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":211},{\"nodeType\":3,\"id\":212,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":213,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":214,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":215},{\"nodeType\":3,\"id\":216,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":217},{\"nodeType\":3,\"id\":218,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":1,\"id\":219,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":220,\"textContent\":\" \"},{\"nodeType\":1,\"id\":221,\"tagName\":\"SCRIPT\"},{\"nodeType\":3,\"id\":222,\"textContent\":\" \"},{\"nodeType\":1,\"id\":223,\"tagName\":\"NOSCRIPT\",\"attributes\":{},\"childNodes\":[{\"nodeType\":3,\"id\":224,\"textContent\":\"<img height=\\\"1\\\" width=\\\"1\\\" style=\\\"display:none\\\" src=\\\"https://www.facebook.com/tr?id=266402461434957&amp;ev=PageView&amp;noscript=1\\\">\"}]},{\"nodeType\":3,\"id\":225,\"textContent\":\" \\t\\t\\t\\t\"},{\"nodeType\":8,\"id\":226},{\"nodeType\":3,\"id\":227,\"textContent\":\" \\t\\t\\t \\t\\t\\t \\t\\t \\t\"},{\"nodeType\":1,\"id\":228,\"tagName\":\"IFRAME\",\"attributes\":{\"frameborder\":\"0\",\"allowtransparency\":\"true\",\"scrolling\":\"no\",\"name\":\"__privateStripeController1\",\"allowpaymentrequest\":\"true\",\"src\":\"https://js.stripe.com/v3/controller-52375fd2df5c19565f60d66a345a1bff.html#apiKey=pk_live_LTsgV1byDI1CDEBgpnqPrh6i004gdqXB5i&stripeJsId=21410250-79ea-4881-b952-f5203150a57a&startTime=1595876897989&origin=https%3A%2F%2Fcanastarosa.com&referrer=https%3A%2F%2Fcanastarosa.com%2Fmy-store%2Fdashboard&controllerId=__privateStripeController1\",\"aria-hidden\":\"true\",\"tabindex\":\"-1\",\"style\":\"border: none !important; margin: 0px !important; padding: 0px !important; width: 1px !important; min-width: 100% !important; overflow: hidden !important; display: block !important; visibility: hidden !important; position: fixed !important; height: 1px !important; pointer-events: none !important; user-select: none !important;\"}}]}]}]]}", "useCssProxy": true, "loadTimes": "es: 68, dom: 221, initialDom: 227", "javascriptErrors": [] }
import BaseComponentObject from '../../BaseComponents/BaseStaticComponent'; import ComponentDescribe, {componentType} from '../../ComponentDescribe' import IocContainer from 'Core/IocContainer'; import IComponent from './IComponent' import IPreview from './IPreview' class ComponentObject extends BaseComponentObject{ Component=IocContainer.getService(IComponent) Preview=IocContainer.getService(IPreview) } const componentDescribeBuilder = () => new ComponentDescribe("IEPostDescribe", new ComponentObject(), componentType.text, "IE文章描述"); export default componentDescribeBuilder;
/** * Copyright 2020 The AMP HTML Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS-IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const amp = require('../src/.eleventy.js'); module.exports = function (eleventyConfig) { const opts = { dir: { output: 'dist', }, }; // Enable AMP tags in markdown let markdownIt = require('markdown-it'); let options = { html: true, breaks: true, linkify: true, }; eleventyConfig.setLibrary('md', markdownIt(options)); eleventyConfig.addPassthroughCopy('img'); // Add AMP support eleventyConfig.addPlugin(amp, { imageOptimization: { outputDir: opts.dir.output, urlPath: '/img/', }, }); return opts; };
'use strict'; var $q = require('../../services/ng-utils').$q; var dataPackageApi = require('../../services/data-package-api'); var ngModule = require('../../module'); ngModule.directive('paramControls', [ 'LoginService', 'Configuration', function(LoginService, Configuration) { return { template: require('./template.html'), replace: false, restrict: 'E', scope: { datapackage: '=', params: '=', defaultParams: '=', isOwner: '=?' }, controllerAs: 'vm', controller: function($scope) { var vm = this; var setDefaultParams = function(params) { var token = LoginService.permissionToken; $q(dataPackageApi.setDefaultParams(token, vm.datapackage.id, params)) .then(function(success) { vm.defaultParams = params; }); }; vm.setCurrentViewAsDefault = function() { setDefaultParams(vm.params); }; vm.clearParamsAndVisualisations = function() { $scope.$emit(Configuration.events.visualizations.clearAllParams); }; vm.resetToDefaults = function() { $scope.$emit(Configuration.events.visualizations.resetToDefault, _.extend({}, vm.params, vm.defaultParams)); }; }, bindToController: true }; } ]);
const _marko_template = _t(__filename); export default _marko_template; import { a as _marko_attr } from "marko/src/runtime/html/helpers"; import { r as _marko_renderer, c as _marko_defineComponent, rc as _marko_registerComponent } from "marko/src/runtime/components/helpers"; import { t as _t } from "marko/src/runtime/html"; const _marko_componentType = _marko_registerComponent("nQxCtzDQ", () => _marko_template), _marko_component = {}; _marko_template._ = _marko_renderer(function (input, out, _component, component, state) { out.w(`<div><input${_marko_attr("value", input.defaultValue)}${_marko_attr("data-marko", { noupdate: ["value"] }, false)}><input type="checkbox"${_marko_attr("value", input.defaultValue)}${_marko_attr("checked", input.checked)}${_marko_attr("data-marko", { noupdate: ["value", "checked"] }, false)}></div>`); }, { ___type: _marko_componentType, ___implicit: true }, _marko_component); _marko_template.Component = _marko_defineComponent(_marko_component, _marko_template._); _marko_template.meta = { id: _marko_componentType };
#!/usr/bin/env python3 # Copyright (c) 2013-2015 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import biplist from ds_store import DSStore from mac_alias import Alias import sys output_file = sys.argv[1] package_name_ns = sys.argv[2] ds = DSStore.open(output_file, 'w+') ds['.']['bwsp'] = { 'ShowStatusBar': False, 'WindowBounds': b'{{300, 280}, {500, 343}}', 'ContainerShowSidebar': False, 'SidebarWidth': 0, 'ShowTabView': False, 'PreviewPaneVisibility': False, 'ShowToolbar': False, 'ShowSidebar': False, 'ShowPathbar': True } icvp = { 'gridOffsetX': 0.0, 'textSize': 12.0, 'viewOptionsVersion': 1, 'backgroundImageAlias': b'\x00\x00\x00\x00\x02\x1e\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xd1\x94\\\xb0H+\x00\x05\x00\x00\x00\x98\x0fbackground.tiff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x99\xd19\xb0\xf8\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\xff\xff\x00\x00\r\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b.background\x00\x00\x10\x00\x08\x00\x00\xd1\x94\\\xb0\x00\x00\x00\x11\x00\x08\x00\x00\xd19\xb0\xf8\x00\x00\x00\x01\x00\x04\x00\x00\x00\x98\x00\x0e\x00 \x00\x0f\x00b\x00a\x00c\x00k\x00g\x00r\x00o\x00u\x00n\x00d\x00.\x00t\x00i\x00f\x00f\x00\x0f\x00\x02\x00\x00\x00\x12\x00\x1c/.background/background.tiff\x00\x14\x01\x06\x00\x00\x00\x00\x01\x06\x00\x02\x00\x00\x0cMacintosh HD\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xce\x97\xab\xc3H+\x00\x00\x01\x88[\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02u\xab\x8d\xd1\x94\\\xb0devrddsk\xff\xff\xff\xff\x00\x00\t \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x07bitcoin\x00\x00\x10\x00\x08\x00\x00\xce\x97\xab\xc3\x00\x00\x00\x11\x00\x08\x00\x00\xd1\x94\\\xb0\x00\x00\x00\x01\x00\x14\x01\x88[\x88\x00\x16\xa9\t\x00\x08\xfaR\x00\x08\xfaQ\x00\x02d\x8e\x00\x0e\x00\x02\x00\x00\x00\x0f\x00\x1a\x00\x0c\x00M\x00a\x00c\x00i\x00n\x00t\x00o\x00s\x00h\x00 \x00H\x00D\x00\x13\x00\x01/\x00\x00\x15\x00\x02\x00\x14\xff\xff\x00\x00\xff\xff\x00\x00', 'backgroundColorBlue': 1.0, 'iconSize': 96.0, 'backgroundColorGreen': 1.0, 'arrangeBy': 'none', 'showIconPreview': True, 'gridSpacing': 100.0, 'gridOffsetY': 0.0, 'showItemInfo': False, 'labelOnBottom': True, 'backgroundType': 2, 'backgroundColorRed': 1.0 } alias = Alias.from_bytes(icvp['backgroundImageAlias']) alias.volume.name = package_name_ns alias.volume.posix_path = '/Volumes/' + package_name_ns alias.volume.disk_image_alias.target.filename = package_name_ns + '.temp.dmg' alias.volume.disk_image_alias.target.carbon_path = 'Macintosh HD:Users:\x00icomtechcoreuser:\x00Documents:\x00icomtechcore:\x00icomtechcore:\x00' + package_name_ns + '.temp.dmg' alias.volume.disk_image_alias.target.posix_path = 'Users/icomtechcoreuser/Documents/icomtechcore/icomtechcore/' + package_name_ns + '.temp.dmg' alias.target.carbon_path = package_name_ns + ':.background:\x00background.tiff' icvp['backgroundImageAlias'] = biplist.Data(alias.to_bytes()) ds['.']['icvp'] = icvp ds['.']['vSrn'] = ('long', 1) ds['Applications']['Iloc'] = (370, 156) ds['IcomTech-Qt.app']['Iloc'] = (128, 156) ds.flush() ds.close()
# Licensed to my_happy_modin Development Team under one or more contributor license agreements. # See the NOTICE file distributed with this work for additional information regarding # copyright ownership. The my_happy_modin Development Team licenses this file to you under the # Apache License, Version 2.0 (the "License"); you may not use this file except in # compliance with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software distributed under # the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF # ANY KIND, either express or implied. See the License for the specific language # governing permissions and limitations under the License. """ Implement GroupBy public API as Pandas does. Almost all docstrings for public and magic methods should be inherited from Pandas for better maintability. So some codes are ignored in pydocstyle check: - D101: missing docstring in class - D102: missing docstring in public method - D105: missing docstring in magic method Manually add documentation for methods which are not presented in pandas. """ import numpy as np import my_happy_pandas import my_happy_pandas.core.groupby from my_happy_pandas.core.dtypes.common import is_list_like from my_happy_pandas.core.aggregation import reconstruct_func import my_happy_pandas.core.common as com from types import BuiltinFunctionType from collections.abc import Iterable from my_happy_modin.error_message import ErrorMessage from my_happy_modin.utils import ( _inherit_docstrings, try_cast_to_pandas, wrap_udf_function, hashable, ) from my_happy_modin.backends.base.query_compiler import BaseQueryCompiler from my_happy_modin.config import IsExperimental from .series import Series @_inherit_docstrings( my_happy_pandas.core.groupby.DataFrameGroupBy, excluded=[ my_happy_pandas.core.groupby.DataFrameGroupBy.__init__, ], ) class DataFrameGroupBy(object): def __init__( self, df, by, axis, level, as_index, sort, group_keys, squeeze, idx_name, drop, **kwargs, ): self._axis = axis self._idx_name = idx_name self._df = df self._query_compiler = self._df._query_compiler self._columns = self._query_compiler.columns self._by = by self._drop = drop if ( level is None and is_list_like(by) or isinstance(by, type(self._query_compiler)) ): # This tells us whether or not there are multiple columns/rows in the groupby self._is_multi_by = ( isinstance(by, type(self._query_compiler)) and len(by.columns) > 1 ) or ( not isinstance(by, type(self._query_compiler)) and axis == 0 and all( (hashable(obj) and obj in self._query_compiler.columns) or isinstance(obj, type(self._query_compiler)) or is_list_like(obj) for obj in self._by ) ) else: self._is_multi_by = False self._level = level self._kwargs = { "level": level, "sort": sort, "as_index": as_index, "group_keys": group_keys, } self._squeeze = squeeze self._kwargs.update(kwargs) _index_grouped_cache = None def __getattr__(self, key): """ Afer regular attribute access, looks up the name in the columns. Parameters ---------- key: str Attribute name. Returns ------- The value of the attribute. """ try: return object.__getattribute__(self, key) except AttributeError as e: if key in self._columns: return self.__getitem__(key) raise e @property def ngroups(self): return len(self) def skew(self, **kwargs): return self._apply_agg_function(lambda df: df.skew(**kwargs)) def ffill(self, limit=None): return self._default_to_pandas(lambda df: df.ffill(limit=limit)) def sem(self, ddof=1): return self._default_to_pandas(lambda df: df.sem(ddof=ddof)) def mean(self, *args, **kwargs): return self._apply_agg_function(lambda df: df.mean(*args, **kwargs)) def any(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_any, lambda df, **kwargs: df.any(**kwargs), numeric_only=False, **kwargs, ) @property def plot(self): # pragma: no cover return self._default_to_pandas(lambda df: df.plot) def ohlc(self): return self._default_to_pandas(lambda df: df.ohlc()) def __bytes__(self): return self._default_to_pandas(lambda df: df.__bytes__()) @property def tshift(self): return self._default_to_pandas(lambda df: df.tshift) @property def groups(self): return self._index_grouped def min(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_min, lambda df, **kwargs: df.min(**kwargs), numeric_only=False, **kwargs, ) def idxmax(self): return self._default_to_pandas(lambda df: df.idxmax()) @property def ndim(self): return 2 # ndim is always 2 for DataFrames def shift(self, periods=1, freq=None, axis=0, fill_value=None): def _shift(periods, freq, axis, fill_value, is_set_nan_rows=True): from .dataframe import DataFrame result = self._df.shift(periods, freq, axis, fill_value) if ( is_set_nan_rows and isinstance(self._by, BaseQueryCompiler) and ( # Check using `issubset` is effective only in case of MultiIndex set(self._by.columns).issubset(list(self._df.columns)) if isinstance(self._by.columns, my_happy_pandas.MultiIndex) else len( self._by.columns.unique() .sort_values() .difference(self._df.columns.unique().sort_values()) ) == 0 ) and DataFrame(query_compiler=self._by.isna()).any(axis=None) ): mask_nan_rows = self._df[self._by.columns].isna() if (isinstance(mask_nan_rows, DataFrame)) and len( mask_nan_rows.columns ) == 1: mask_nan_rows = mask_nan_rows.squeeze(axis=1) idx_nan_rows = mask_nan_rows[ mask_nan_rows.any(axis=1) if (isinstance(mask_nan_rows, DataFrame)) else mask_nan_rows ].index result.loc[idx_nan_rows] = np.nan return result if freq is None and axis == 1 and self._axis == 0: result = _shift(periods, freq, axis, fill_value) elif ( freq is not None and axis == 0 and self._axis == 0 and isinstance(self._by, BaseQueryCompiler) ): result = _shift(periods, freq, axis, fill_value, is_set_nan_rows=False) new_idx_lvl_arrays = np.concatenate( [self._df[self._by.columns].values.T, [list(result.index)]] ) result.index = my_happy_pandas.MultiIndex.from_arrays( new_idx_lvl_arrays, names=[col_name for col_name in self._by.columns] + [result._query_compiler.get_index_name()], ) result = result.dropna(subset=self._by.columns).sort_index() else: result = self._apply_agg_function( lambda df: df.shift(periods, freq, axis, fill_value) ) result._query_compiler.set_index_name(None) return result def nth(self, n, dropna=None): return self._default_to_pandas(lambda df: df.nth(n, dropna=dropna)) def cumsum(self, axis=0, *args, **kwargs): result = self._apply_agg_function(lambda df: df.cumsum(axis, *args, **kwargs)) # pandas does not name the index on cumsum result._query_compiler.set_index_name(None) return result @property def indices(self): return self._index_grouped def pct_change(self): return self._default_to_pandas(lambda df: df.pct_change()) def filter(self, func, dropna=True, *args, **kwargs): return self._default_to_pandas( lambda df: df.filter(func, dropna=dropna, *args, **kwargs) ) def cummax(self, axis=0, **kwargs): result = self._apply_agg_function(lambda df: df.cummax(axis, **kwargs)) # pandas does not name the index on cummax result._query_compiler.set_index_name(None) return result def apply(self, func, *args, **kwargs): if not isinstance(func, BuiltinFunctionType): func = wrap_udf_function(func) return self._apply_agg_function( # Grouping column in never dropped in groupby.apply, so drop=False lambda df: df.apply(func, *args, **kwargs), drop=False, ) @property def dtypes(self): if self._axis == 1: raise ValueError("Cannot call dtypes on groupby with axis=1") if not self._as_index: return self.apply(lambda df: df.dtypes) else: return self._apply_agg_function(lambda df: df.dtypes, drop=self._as_index) def first(self, **kwargs): return self._default_to_pandas(lambda df: df.first(**kwargs)) def backfill(self, limit=None): return self.bfill(limit) def __getitem__(self, key): kwargs = {**self._kwargs.copy(), "squeeze": self._squeeze} # Most of time indexing DataFrameGroupBy results in another DataFrameGroupBy object unless circumstances are # special in which case SeriesGroupBy has to be returned. Such circumstances are when key equals to a single # column name and is not a list of column names or list of one column name. make_dataframe = True if self._drop and self._as_index: if not isinstance(key, list): key = [key] kwargs["squeeze"] = True make_dataframe = False # When `as_index` is False, pandas will always convert to a `DataFrame`, we # convert to a list here so that the result will be a `DataFrame`. elif not self._as_index and not isinstance(key, list): # Sometimes `__getitem__` doesn't only get the item, it also gets the `by` # column. This logic is here to ensure that we also get the `by` data so # that it is there for `as_index=False`. if ( isinstance(self._by, type(self._query_compiler)) and all(c in self._columns for c in self._by.columns) and self._drop ): key = list(self._by.columns) + [key] else: key = [key] if isinstance(key, list) and (make_dataframe or not self._as_index): return DataFrameGroupBy( self._df[key], self._by, self._axis, idx_name=self._idx_name, drop=self._drop, **kwargs, ) if ( self._is_multi_by and isinstance(self._by, list) and not all(hashable(o) and o in self._df for o in self._by) ): raise NotImplementedError( "Column lookups on GroupBy with arbitrary Series in by" " is not yet supported." ) return SeriesGroupBy( self._df[key], self._by, self._axis, idx_name=self._idx_name, drop=False, **kwargs, ) def cummin(self, axis=0, **kwargs): result = self._apply_agg_function(lambda df: df.cummin(axis=axis, **kwargs)) # pandas does not name the index on cummin result._query_compiler.set_index_name(None) return result def bfill(self, limit=None): return self._default_to_pandas(lambda df: df.bfill(limit=limit)) def idxmin(self): return self._default_to_pandas(lambda df: df.idxmin()) def prod(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_prod, lambda df, **kwargs: df.prod(**kwargs), **kwargs, ) def std(self, ddof=1, *args, **kwargs): return self._apply_agg_function(lambda df: df.std(ddof, *args, **kwargs)) def aggregate(self, func=None, *args, **kwargs): if self._axis != 0: # This is not implemented in pandas, # so we throw a different message raise NotImplementedError("axis other than 0 is not supported") if ( callable(func) and isinstance(func, BuiltinFunctionType) and func.__name__ in dir(self) ): func = func.__name__ relabeling_required = False if isinstance(func, dict) or func is None: def try_get_str_func(fn): if not isinstance(fn, str) and isinstance(fn, Iterable): return [try_get_str_func(f) for f in fn] return fn.__name__ if callable(fn) and fn.__name__ in dir(self) else fn relabeling_required, func_dict, new_columns, order = reconstruct_func( func, **kwargs ) func_dict = {col: try_get_str_func(fn) for col, fn in func_dict.items()} if any(i not in self._df.columns for i in func_dict.keys()): from my_happy_pandas.core.base import SpecificationError raise SpecificationError("nested renamer is not supported") if func is None: kwargs = {} func = func_dict elif is_list_like(func): return self._default_to_pandas( lambda df, *args, **kwargs: df.aggregate(func, *args, **kwargs), *args, **kwargs, ) elif callable(func): return self._apply_agg_function( lambda grp, *args, **kwargs: grp.aggregate(func, *args, **kwargs), *args, **kwargs, ) elif isinstance(func, str): # Using "getattr" here masks possible AttributeError which we throw # in __getattr__, so we should call __getattr__ directly instead. agg_func = self.__getattr__(func) if callable(agg_func): return agg_func(*args, **kwargs) result = self._apply_agg_function( func, *args, **kwargs, ) if relabeling_required: if not self._as_index: nby_cols = len(result.columns) - len(new_columns) order = np.concatenate([np.arange(nby_cols), order + nby_cols]) by_cols = result.columns[:nby_cols] new_columns = my_happy_pandas.Index(new_columns) if by_cols.nlevels != new_columns.nlevels: by_cols = by_cols.remove_unused_levels() empty_levels = [ i for i, level in enumerate(by_cols.levels) if len(level) == 1 and level[0] == "" ] by_cols = by_cols.droplevel(empty_levels) new_columns = by_cols.append(new_columns) result = result.iloc[:, order] result.columns = new_columns return result agg = aggregate def last(self, **kwargs): return self._default_to_pandas(lambda df: df.last(**kwargs)) def mad(self, **kwargs): return self._default_to_pandas(lambda df: df.mad(**kwargs)) def rank(self, **kwargs): result = self._apply_agg_function(lambda df: df.rank(**kwargs)) # pandas does not name the index on rank result._query_compiler.set_index_name(None) return result @property def corrwith(self): return self._default_to_pandas(lambda df: df.corrwith) def pad(self, limit=None): return self._default_to_pandas(lambda df: df.pad(limit=limit)) def max(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_max, lambda df, **kwargs: df.max(**kwargs), numeric_only=False, **kwargs, ) def var(self, ddof=1, *args, **kwargs): return self._apply_agg_function(lambda df: df.var(ddof, *args, **kwargs)) def get_group(self, name, obj=None): return self._default_to_pandas(lambda df: df.get_group(name, obj=obj)) def __len__(self): return len(self._index_grouped) def all(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_all, lambda df, **kwargs: df.all(**kwargs), numeric_only=False, **kwargs, ) def size(self): if self._axis == 0: # Series objects in 'by' mean we couldn't handle the case # and transform 'by' to a query compiler. # In this case we are just defaulting to pandas. if is_list_like(self._by) and any( isinstance(o, type(self._df._query_compiler)) for o in self._by ): work_object = DataFrameGroupBy( self._df, self._by, self._axis, drop=False, idx_name=None, squeeze=self._squeeze, **self._kwargs, ) result = work_object._wrap_aggregation( type(work_object._query_compiler).groupby_size, lambda df: df.size(), numeric_only=False, ) result = result.__constructor__( query_compiler=result._query_compiler ).squeeze(axis=1) if isinstance(result, Series): # Pandas does not name size() output for Series result.name = None return result work_object = SeriesGroupBy( self._df[self._df.columns[0]] if self._kwargs.get("as_index") else self._df[self._df.columns[0]].to_frame(), self._by, self._axis, drop=False, idx_name=None, squeeze=self._squeeze, **self._kwargs, ) result = work_object._wrap_aggregation( type(work_object._query_compiler).groupby_size, lambda df: df.size(), numeric_only=False, ) result = result.__constructor__(query_compiler=result._query_compiler) if not self._kwargs.get("as_index") and not isinstance(result, Series): result = result.rename(columns={0: "size"}) result = ( result.rename(columns={"__reduced__": "index"}) if "__reduced__" in result.columns else result ) else: # Pandas does not name size() output for Series result.name = None return result.fillna(0) else: return DataFrameGroupBy( self._df.T, self._by, 0, drop=self._drop, idx_name=self._idx_name, squeeze=self._squeeze, **self._kwargs, ).size() def sum(self, **kwargs): return self._wrap_aggregation( type(self._query_compiler).groupby_sum, lambda df, **kwargs: df.sum(**kwargs), **kwargs, ) def describe(self, **kwargs): return self._default_to_pandas(lambda df: df.describe(**kwargs)) def boxplot( self, grouped, subplots=True, column=None, fontsize=None, rot=0, grid=True, ax=None, figsize=None, layout=None, **kwargs, ): return self._default_to_pandas( lambda df: df.boxplot( grouped, subplots=subplots, column=column, fontsize=fontsize, rot=rot, grid=grid, ax=ax, figsize=figsize, layout=layout, **kwargs, ) ) def ngroup(self, ascending=True): return self._default_to_pandas(lambda df: df.ngroup(ascending)) def nunique(self, dropna=True): return self._apply_agg_function(lambda df: df.nunique(dropna)) def resample(self, rule, *args, **kwargs): return self._default_to_pandas(lambda df: df.resample(rule, *args, **kwargs)) def median(self, **kwargs): return self._apply_agg_function(lambda df: df.median(**kwargs)) def head(self, n=5): return self._default_to_pandas(lambda df: df.head(n)) def cumprod(self, axis=0, *args, **kwargs): result = self._apply_agg_function(lambda df: df.cumprod(axis, *args, **kwargs)) # pandas does not name the index on cumprod result._query_compiler.set_index_name(None) return result def __iter__(self): return self._iter.__iter__() def cov(self): return self._default_to_pandas(lambda df: df.cov()) def transform(self, func, *args, **kwargs): result = self._apply_agg_function( lambda df: df.transform(func, *args, **kwargs) ) # pandas does not name the index on transform result._query_compiler.set_index_name(None) return result def corr(self, **kwargs): return self._default_to_pandas(lambda df: df.corr(**kwargs)) def fillna(self, **kwargs): result = self._apply_agg_function(lambda df: df.fillna(**kwargs)) # pandas does not name the index on fillna result._query_compiler.set_index_name(None) return result def count(self, **kwargs): result = self._wrap_aggregation( type(self._query_compiler).groupby_count, lambda df, **kwargs: df.count(**kwargs), numeric_only=False, **kwargs, ) # pandas do it in case of Series if isinstance(result, Series): result = result.fillna(0) return result def pipe(self, func, *args, **kwargs): return com.pipe(self, func, *args, **kwargs) def cumcount(self, ascending=True): result = self._default_to_pandas(lambda df: df.cumcount(ascending=ascending)) # pandas does not name the index on cumcount result._query_compiler.set_index_name(None) return result def tail(self, n=5): return self._default_to_pandas(lambda df: df.tail(n)) # expanding and rolling are unique cases and need to likely be handled # separately. They do not appear to be commonly used. def expanding(self, *args, **kwargs): return self._default_to_pandas(lambda df: df.expanding(*args, **kwargs)) def rolling(self, *args, **kwargs): return self._default_to_pandas(lambda df: df.rolling(*args, **kwargs)) def hist(self): return self._default_to_pandas(lambda df: df.hist()) def quantile(self, q=0.5, **kwargs): if is_list_like(q): return self._default_to_pandas(lambda df: df.quantile(q=q, **kwargs)) return self._apply_agg_function(lambda df: df.quantile(q, **kwargs)) def diff(self): return self._default_to_pandas(lambda df: df.diff()) def take(self, **kwargs): return self._default_to_pandas(lambda df: df.take(**kwargs)) @property def _index(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ return self._query_compiler.index @property def _sort(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ return self._kwargs.get("sort") @property def _as_index(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ return self._kwargs.get("as_index") @property def _iter(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ from .dataframe import DataFrame group_ids = self._index_grouped.keys() if self._axis == 0: return ( ( k, DataFrame( query_compiler=self._query_compiler.getitem_row_array( self._index.get_indexer_for(self._index_grouped[k].unique()) ) ), ) for k in (sorted(group_ids) if self._sort else group_ids) ) else: return ( ( k, DataFrame( query_compiler=self._query_compiler.getitem_column_array( self._index_grouped[k].unique() ) ), ) for k in (sorted(group_ids) if self._sort else group_ids) ) @property def _index_grouped(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ if self._index_grouped_cache is None: if hasattr(self._by, "columns") and len(self._by.columns) > 1: by = list(self._by.columns) is_multi_by = True else: by = self._by is_multi_by = self._is_multi_by if is_multi_by: # Because we are doing a collect (to_pandas) here and then groupby, we # end up using pandas implementation. Add the warning so the user is # aware. ErrorMessage.catch_bugs_and_request_email(self._axis == 1) ErrorMessage.default_to_pandas("Groupby with multiple columns") if isinstance(by, list) and all( hashable(o) and ( o in self._df or o in self._df._query_compiler.get_index_names(self._axis) ) for o in by ): pandas_df = self._df._query_compiler.getitem_column_array( by ).to_pandas() else: by = try_cast_to_pandas(by, squeeze=True) pandas_df = self._df._to_pandas() self._index_grouped_cache = pandas_df.groupby(by=by).groups else: if isinstance(self._by, type(self._query_compiler)): by = self._by.to_pandas().squeeze().values else: by = self._by if self._axis == 0: self._index_grouped_cache = self._index.groupby(by) else: self._index_grouped_cache = self._columns.groupby(by) return self._index_grouped_cache def _wrap_aggregation( self, qc_method, default_func, drop=True, numeric_only=True, **kwargs ): """ Perform common metadata transformations and apply groupby functions. Parameters ---------- qc_method : callable The query compiler method to call. default_func : callable The function to call if we need to default to pandas. drop : bool Whether or not to the grouping columns should be dropped on this operation. numeric_only : bool True for numeric only computations, False otherwise. kwargs The keyword arguments to be passed to the calling function. Returns ------- DataFrame or Series Returns the same type as `self._df`. """ if self._axis != 0: return self._default_to_pandas(default_func, **kwargs) # For aggregations, pandas behavior does this for the result. # For other operations it does not, so we wait until there is an aggregation to # actually perform this operation. if not self._is_multi_by and drop and self._drop and self._as_index: groupby_qc = self._query_compiler.drop(columns=self._by.columns) else: groupby_qc = self._query_compiler result = type(self._df)( query_compiler=qc_method( groupby_qc, by=self._by, axis=self._axis, groupby_args=self._kwargs, map_args=kwargs, reduce_args=kwargs, numeric_only=numeric_only, drop=self._drop, ) ) if self._squeeze: return result.squeeze() return result def _apply_agg_function(self, f, drop=True, *args, **kwargs): """ Perform aggregation and combine stages based on a given function. TODO: add types. Parameters ---------- f: The function to apply to each group. Returns ------- A new combined DataFrame with the result of all groups. """ assert callable(f) or isinstance( f, dict ), "'{0}' object is not callable and not a dict".format(type(f)) new_manager = self._query_compiler.groupby_agg( by=self._by, is_multi_by=self._is_multi_by, axis=self._axis, agg_func=f, agg_args=args, agg_kwargs=kwargs, groupby_kwargs=self._kwargs, drop=self._drop, ) if self._idx_name is not None and self._as_index: new_manager.set_index_name(self._idx_name) result = type(self._df)(query_compiler=new_manager) if result._query_compiler.get_index_name() == "__reduced__": result._query_compiler.set_index_name(None) if self._squeeze: return result.squeeze() return result def _default_to_pandas(self, f, *args, **kwargs): """ Defaults the execution of this function to pandas. TODO: add types. Parameters ---------- f: The function to apply to each group. Returns ------- A new my_happy_modin DataFrame with the result of the pandas function. """ if ( isinstance(self._by, type(self._query_compiler)) and len(self._by.columns) == 1 ): by = self._by.columns[0] if self._drop else self._by.to_pandas().squeeze() elif isinstance(self._by, type(self._query_compiler)): by = list(self._by.columns) else: by = self._by by = try_cast_to_pandas(by, squeeze=True) def groupby_on_multiple_columns(df, *args, **kwargs): return f( df.groupby( by=by, axis=self._axis, squeeze=self._squeeze, **self._kwargs ), *args, **kwargs, ) return self._df._default_to_pandas(groupby_on_multiple_columns, *args, **kwargs) @_inherit_docstrings( my_happy_pandas.core.groupby.SeriesGroupBy, excluded=[ my_happy_pandas.core.groupby.SeriesGroupBy.__init__, ], ) class SeriesGroupBy(DataFrameGroupBy): @property def ndim(self): return 1 # ndim is always 1 for Series @property def _iter(self): """ Implement [METHOD_NAME]. TODO: Add more details for this docstring template. Parameters ---------- What arguments does this function have. [ PARAMETER_NAME: PARAMETERS TYPES Description. ] Returns ------- What this returns (if anything) """ group_ids = self._index_grouped.keys() if self._axis == 0: return ( ( k, Series( query_compiler=self._query_compiler.getitem_row_array( self._index.get_indexer_for(self._index_grouped[k].unique()) ) ), ) for k in (sorted(group_ids) if self._sort else group_ids) ) else: return ( ( k, Series( query_compiler=self._query_compiler.getitem_column_array( self._index_grouped[k].unique() ) ), ) for k in (sorted(group_ids) if self._sort else group_ids) ) if IsExperimental.get(): from my_happy_modin.experimental.cloud.meta_magic import make_wrapped_class make_wrapped_class(DataFrameGroupBy, "make_dataframe_groupby_wrapper")
/** * @author Gilles Coomans <gilles.coomans@gmail.com> * * * deepjs completion : * * nodes.asyncUps = function(s, objects) { // load return proto.getAll(objects) .done(function(objects) { return nodes.ups(s, objects); }); }; nodes.asyncBottoms = function(s, objects) { return proto.getAll(objects) .done(function(objects) { return nodes.bottoms(s, objects); }); }; nodes.ups = function(s, objects) { if (s._deep_query_node_) objects.forEach(function(object) { s.set(compiler.aup(object, s.value)); }); else if (s._deep_array_) s.forEach(function(result) { objects.forEach(function(object) { result.set(compiler.aup(object, result.value)); }); }); else objects.forEach(function(object) { s = compiler.aup(object, s); }); return s; }; nodes.bottoms = function(s, objects) { if (s._deep_query_node_) objects.forEach(function(object) { s.set(compiler.abottom(object, s.value)); }); else if (s._deep_array_) s.forEach(function(result) { objects.forEach(function(object) { result.set(compiler.abottom(object, result.value)); }); }); else objects.forEach(function(object) { s = compiler.abottom(object, s); }); return s; }; nodes.map = function(node, transformer) { // transform node(s) value(s) if (!node) return transformer(node); if (node._deep_query_node_) { var r = transformer(node); if (r && r.then) return promise.when(r) .done(node.set); return node.set(r); } if (!node.forEach) return tansformer(node); return prom.all(node.map(transformer)) .done(function(res) { var count = 0; //if(node._deep_array_) node.forEach(function(n) { n.set(res[count++]); }); }); }; */ if (typeof define !== 'function') { var define = require('amdefine')(module); } define(["require", "deep-utils/index", "deep-utils/lib/schema", "deep-utils/lib/string"], function(require, utils, schemaUtils) { var nodes = {}; nodes.Node = function(key, ancestor) { var path = null; var schema = null; if (ancestor) { path = ancestor.path; if (!ancestor.key) path += key; else path += "/" + key; if (ancestor.schema) schema = schemaUtils.retrieveFullSchemaByPath(ancestor.schema, key, "/"); this.value = ancestor.value[key]; this.paths = ancestor.paths.concat(key); this.depth = ancestor.depth + 1; this.root = ancestor.root || ancestor; } //console.log("deep.utils.nodes.create : "+path+" : schema : ",schema) this._deep_query_node_ = true; this.path = path; this.key = key; this.ancestor = ancestor; this.schema = schema; }; nodes.Node.prototype = { toString: function(full) { var r = "[QueryNode : " + this.path + " : value : " + utils.stringify(this.value); if (full) { if (this.schema) r += " - schema : " + utils.stringify(this.schema); r += " - depth : " + this.depth; } r += "]"; return r; }, set: function(value) { this.value = value; if (this.ancestor) this.ancestor.value[this.key] = value; return value; }, clone: function() { if (this.ancestor) return new nodes.Node(this.key, this.ancestor); return nodes.root(this.value, this.schema); } }; nodes.val = function(s) { // return value(s) from node(s) if (s._deep_array_) return s.map(function(e) { return e.value; }); if (s._deep_query_node_) return s.value; return s; }; nodes.paths = function(nodes) { // return paths from node(s) if (node._deep_query_node_) return [node.path]; return node.map(function(e) { if (e._deep_query_node_) return e.schema; return null; }); }; nodes.schemas = function(node) { // return schemas from node(s) if (node._deep_query_node_) return [node.schema]; return node.map(function(e) { if (e._deep_query_node_) return e.schema; return null; }); }; nodes.each = function(node, callback) { if (node.forEach) node.forEach(callback); // else if (node.value && node.value.forEach) // node.value.forEach(callback); else callback(node); return node; }; nodes.map = function(node, callback) { if (node.forEach) return node.map(callback); // else if (node.value && node.value.forEach) // return node.value.map(callback); if (node._deep_query_node_) return callback(node); return callback(node); }; nodes.clone = function(node) { if (node.forEach) return node.slice(); else if (node._deep_query_node_) return node.clone(); return utils.copy(node); }; /** * create a root DeepQuery node * * @static * @method root * @param {Object} obj * @param {Object} schema * @return {Object} a DeepQuery root node */ nodes.root = function(obj, schema) { if (obj && obj._deep_undefined_) obj = undefined; var node = new nodes.Node(); node.value = obj; node.path = "/"; node.paths = []; node.key = null; node.ancestor = null; node.schema = schema; node.depth = 0; node.root = null; return node; }; /** * create a Node object that hold info(path, value, ancestor, etc) * @method create * @param {String} key * @param {Node} ancestor * @return {Node} a child node */ nodes.create = function(key, ancestor) { return new nodes.Node(key, ancestor); }; return nodes; });
const getProjectList=require('../controller/getAllProjects'); const express = require('express'); const router = express.Router(); router.get('/api/:owner/projects',getProjectList); module.exports=router;
from base64 import encode, encodebytes from flask import Blueprint import sqlalchemy import base64 import time import hashlib from flask.globals import request from werkzeug.utils import redirect router = Blueprint("router", __name__) key_url_mapping = {} # a dictionary stores data in the form of key:value # Here, the key will store the shortened URL and # the value corresponding to it will store the actual URL @router.route('/api/status') def status(): return "Up and Running ! :)" @router.route('/api/shorten/quick', methods=['POST']) def quickShorten(): global key_url_mapping try: url = request.json t = str(time.time()) encoded_url = base64.urlsafe_b64encode(url['url'].encode()) print(encoded_url) encoded_url = (encoded_url[0:3]+encoded_url[-5:-2]).decode('utf-8') if(encoded_url not in key_url_mapping): key_url_mapping[encoded_url] = url['url'] else: if(url['url'] != key_url_mapping[encoded_url]): encoded_url = base64.urlsafe_b64encode((url['url']+t).encode()) encoded_url = (encoded_url[0:3]+encoded_url[-5:-2]).decode('utf-8') key_url_mapping[encoded_url] = url['url'] return "http://127.0.0.1:5000/{}".format(encoded_url) except Exception as e: print(e) return "Error Occured. Try Later" # return 1; @router.route('/api/shorten/url', methods=['POST']) def shorten(): from models import Url Url.create_table() try: url = request.json user_url = url['url'].encode('utf-8') existing_url = Url.query.filter_by(original_url=user_url).first() if existing_url: return "http://127.0.0.1:5000/{}".format(existing_url.short_url) else: encoded_url = hashlib.sha1(user_url).hexdigest() record = Url() record.original_url = user_url record.short_url = encoded_url record.save_to_db() return "http://127.0.0.1:5000/{}".format(encoded_url) except Exception as e: raise e return "Error Occured. Try Later" @router.route('/api/register') def register(): # Register a User by taking their credentials basically # email id and password and storing them in the user database # After registration, redirect them to the /shorten/custom return 1; @router.route('/api/login') def login(): # Validate a user by taking their email id and password # Check if they match in the user database # If they match: redirect them to the /shorten/custom # Else send them appropriate message accordingly return 1; @router.route('/api/logout') def logout(): # Check if a User is logged in # If user is logged in, log them out return 1; @router.route('/api/shorten/custom') def customShorten(): # Check whether the user is logged in or not # If the user is not logged in, redirect them to the /login page # else take the input URL to be shortened & the shortened URL they want # Check if the shortened URL is already present in the database # If its not, store the user's input and return their custom URL # Else ask the user to enter any other custom URL and repeat the process return 1; @router.route('/<key>', methods=['GET']) def redirectToActualURL(key): global key_url_mapping build_url = "https://"+key_url_mapping[key] if key_url_mapping[key][:4] != "http" else key_url_mapping[key] if(key in key_url_mapping): return redirect(build_url) else: return "Not Found" # Get the entered URL as (localhost:5000/shortenedURL) # Now, this route finds the actual URL corresponding to the given one # and redirects the user to that actual URL return "1";
var fs = require("fs"); // Write a function that logs a message, then executes // a function argument. // Write a function that runs a function argument if // its other argument is truthy. // Write a function that accepts a function argument and // a value, and returns a function that returns the result // of executing the function argument with the value. // This isn't as hard as it sounds! // Use fs.writeFile to log a message to a file called // log.txt. Are yo using callbacks anywhere? Where?
import Container from '@/components/Container' import BlogPost from '@/components/BlogPost' import Pagination from '@/components/Pagination' import { getAllPosts } from '@/lib/notion' import BLOG from '@/blog.config' const Page = ({ postsToShow, page, showNext }) => { return ( <Container> {postsToShow && postsToShow.map(post => <BlogPost key={post.id} post={post} />)} <Pagination page={page} showNext={showNext} /> </Container> ) } export async function getStaticProps(context) { const { page } = context.params // Get Current Page No. let posts = await getAllPosts() posts = posts.filter( post => post.status === 'Published' && post.type === 'Post' ) const postsToShow = posts.slice( BLOG.postsPerPage * (page - 1), BLOG.postsPerPage * page ) const totalPosts = posts.length const showNext = page * BLOG.postsPerPage < totalPosts return { props: { page, // Current Page postsToShow, showNext }, revalidate: 1 } } export async function getStaticPaths() { let posts = await getAllPosts() posts = posts.filter( post => post.status === 'Published' && post.type === 'Post' ) const totalPosts = posts.length const totalPages = Math.ceil(totalPosts / BLOG.postsPerPage) return { // remove first page, we 're not gonna handle that. paths: Array.from({ length: totalPages - 1 }, (_, i) => ({ params: { page: '' + (i + 2) } })), fallback: true } } export default Page
import numpy as np import pandas as pd import xarray as xr from .accessors import register_dataset_method class _Df_Accessor: def __init__(self, xarray_obj): self._obj = xarray_obj def __call__(self, *args, **kwargs) -> xr.Dataset: raise NotImplementedError() def df(self, df, *, append=False, mapping=None): """ Extract values based on the coordinates indicated by columns of a DataFrame. Parameters ---------- df : pandas.DataFrame or Mapping[str, array-like] The columns (or keys) of `df` should match the named dimensions of this Dataset. The resulting extracted DataFrame will have one row per row of `df`, columns matching the data variables in this dataset, and each value is looked from the source Dataset. append : bool or str, default False Assign the results of this extraction to variables in a copy of the dataframe `df`. Set to a string to make that a prefix for the variable names. mapping : dict, optional Apply this rename mapping to the column names before extracting data. Returns ------- pandas.DataFrame """ if mapping is not None: df_ = df.rename(columns=mapping) else: df_ = df keys = {i: df_[i] for i in self._obj.dims} result = self(**keys).reset_coords(drop=True).to_dataframe() if isinstance(df, pd.DataFrame): result.index = df.index if append: if isinstance(append, str): result = result.add_prefix(append) result = df.assign(**result) return result def ds(self, ds, *, append=False, mapping=None, compute=False): """ Extract values based on the coordinates indicated by variables of a Dataset. Parameters ---------- ds : xr.Dataset or Mapping[str, array-like] The variables (or keys) of `ds` should match the named dimensions of this Dataset, and should all be the same shape. The resulting extracted Dataset will have that common shape, variables matching the data variables in this dataset, and each value is looked from the source Dataset. append : bool or str, default False Assign the results of this extraction to variables in a copy of the dataset `ds`. Set to a string to make that a prefix for the variable names. mapping : dict, optional Apply this rename mapping to the variable names before extracting data. compute : bool, default False Trigger a `compute` on dask arrays in the result. Returns ------- xarray.Dataset """ if mapping is not None: ds_ = ds.rename(mapping) else: ds_ = ds keys = {i: ds_[i].data for i in self._obj.dims} key_dims = None for i in self._obj.dims: if key_dims is None: key_dims = ds_[i].dims else: assert key_dims == ds_[i].dims if len(key_dims) > 1: raise NotImplementedError( "dataset with more than one dimension not implemented" ) else: result = self(**keys, _index_name=key_dims[0]).reset_coords(drop=True) if compute: result = result.compute() if append: if isinstance(append, str): renames = {k: f"{append}{k}" for k in result.variables} result = result.rename(renames) result = ds.assign(result) return result def _filter( self, *, _name=None, _names=None, _load=False, _index_name=None, _func=None, _raw_idxs=None, **idxs, ): loaders = {} if _index_name is None: _index_name = "index" for k, v in idxs.items(): loaders[k] = xr.DataArray(v, dims=[_index_name]) if _name is not None: assert isinstance(_name, str) _names = [_name] if _names: _baggage = list(self._obj.digital_encoding.baggage(_names)) _all_names = list(_names) + _baggage ds = self._obj[_all_names] else: _baggage = [] ds = self._obj if _load: ds = ds.load() if _names: result = ( getattr(ds, _func)(**loaders) .digital_encoding.strip(_names) .drop_vars(_baggage) ) for n in _names: if self._obj.redirection.is_blended(n): dims = self._obj[n].dims result[n] = xr.DataArray( self._obj.redirection.get_blended( n, result[n].to_numpy(), _raw_idxs[dims[0]], _raw_idxs[dims[1]], ), dims=result[n].dims, ) if _name is not None: result = result[_name] return result else: result = getattr(ds, _func)(**loaders) names = list(result.keys()) for n in names: if self._obj.redirection.is_blended(n): dims = self._obj[n].dims result[n] = xr.DataArray( self._obj.redirection.get_blended( n, result[n].to_numpy(), _raw_idxs[dims[0]], _raw_idxs[dims[1]], ), dims=result[n].dims, ) return result @xr.register_dataset_accessor("iat") class _Iat_Accessor(_Df_Accessor): """ Multi-dimensional fancy indexing by position. Provide the dataset dimensions to index up as keywords, each with a value giving an array (one dimensional) of positions to extract. All other arguments are keyword-only arguments beginning with an underscore. Parameters ---------- _name : str, optional Only process this variable of this Dataset, and return a DataArray. _names : Collection[str], optional Only include these variables of this Dataset. _load : bool, default False Call `load` on the result, which will trigger a compute operation if the data underlying this Dataset is in dask, otherwise this does nothing. _index_name : str, default "index" The name to use for the resulting dataset's dimension. **idxs : Mapping[str, Any] Positions to extract. Returns ------- Dataset or DataArray """ def __call__( self, *, _name=None, _names=None, _load=False, _index_name=None, **idxs ): modified_idxs = {} raw_idxs = {} for k, v in idxs.items(): target = self._obj.redirection.target(k) if target is None: raw_idxs[k] = modified_idxs[k] = v else: v_ = np.asarray(v) modified_idxs[target] = self._obj[f"_digitized_{target}_of_{k}"][ v_ ].to_numpy() raw_idxs[target] = v_ # self._obj[k][v_].to_numpy() return self._filter( _name=_name, _names=_names, _load=_load, _index_name=_index_name, _func="isel", _raw_idxs=raw_idxs, **modified_idxs, ) @xr.register_dataset_accessor("at") class _At_Accessor(_Df_Accessor): """ Multi-dimensional fancy indexing by label. Provide the dataset dimensions to index up as keywords, each with a value giving an array (one dimensional) of labels to extract. All other arguments are keyword-only arguments beginning with an underscore. Parameters ---------- _name : str, optional Only process this variable of this Dataset, and return a DataArray. _names : Collection[str], optional Only include these variables of this Dataset. _load : bool, default False Call `load` on the result, which will trigger a compute operation if the data underlying this Dataset is in dask, otherwise this does nothing. _index_name : str, default "index" The name to use for the resulting dataset's dimension. **idxs : Mapping[str, Any] Labels to extract. Returns ------- Dataset or DataArray """ def __call__( self, *, _name=None, _names=None, _load=False, _index_name=None, **idxs ): modified_idxs = {} raw_idxs = {} any_redirection = False for k, v in idxs.items(): target = self._obj.redirection.target(k) if target is None: if any_redirection: raise NotImplementedError( "redirection with `at` must be applied to all " "dimensions or none" ) raw_idxs[k] = np.asarray(v) modified_idxs[k] = v else: upstream = xr.DataArray(np.asarray(v), dims=["index"]) downstream = self._obj[k] mapper = {i: j for (j, i) in enumerate(downstream.to_numpy())} offsets = xr.apply_ufunc(np.vectorize(mapper.get), upstream) raw_idxs[target] = np.asarray(offsets) modified_idxs[target] = self._obj[f"_digitized_{target}_of_{k}"][ offsets ].to_numpy() any_redirection = True return self._filter( _name=_name, _names=_names, _load=_load, _index_name=_index_name, _func="isel" if any_redirection else "sel", _raw_idxs=raw_idxs, **modified_idxs, ) @register_dataset_method def keep_dims(self, keep_dims, *, errors="raise"): """ Keep only certain dimensions and associated variables from this dataset. Parameters ---------- keep_dims : hashable or iterable of hashable Dimension or dimensions to keep. errors : {"raise", "ignore"}, optional If 'raise' (default), raises a ValueError error if any of the dimensions passed are not in the dataset. If 'ignore', any given dimensions that are in the dataset are dropped and no error is raised. Returns ------- obj : Dataset The dataset without the given dimensions (or any variables containing those dimensions) """ if isinstance(keep_dims, str): keep_dims = {keep_dims} else: keep_dims = set(keep_dims) all_dims = set(self.dims) if errors == "raise": missing_dims = keep_dims - all_dims if missing_dims: raise ValueError( f"{self.__class__} does not contain the dimensions: {missing_dims}" ) return self.drop_dims([i for i in all_dims if i not in keep_dims])
from rest_framework import serializers from accelerator.models import Location class LocationSerializer(serializers.ModelSerializer): class Meta: model = Location fields = ['id', 'street_address', 'timezone', 'country', 'state', 'name', 'city', ]
(function () { 'use strict'; angular.module('demoCat') .service('domainsService', DomainsService); function DomainsService(MLRest) { var service = { list: listFeatures }; function listFeatures() { return MLRest.values('domains', { options: 'all', format: 'json' }).then(function(resp) { if (resp.data['values-response']['distinct-value']) { return resp.data['values-response']['distinct-value'].map(function(value) { return value._value; }); } }); } return service; } }());
#!/usr/bin/env monkeyrunner # Imports the monkeyrunner modules used by this program from com.android.monkeyrunner import MonkeyRunner, MonkeyDevice from time import sleep import os, sys # ALL VARS, PARAMS and OPTIONS INITIALIZATION IMG_PATH = None RECT = None # PARAMS AND OPTIONS PARSE # there is no argparse :( # ALL VARS, PARAMS and OPTIONS TREATMENTS if len(sys.argv) == 2: IMG_PATH = sys.argv[1] RECT = None elif len(sys.argv) == 6: IMG_PATH = sys.argv[1] RECT = tuple([ int(x) for x in sys.argv[2:] ]) else: print("usage: screenshot PATH [ X Y WIDTH HEIGHT ]\n") sys.exit(1) # SCRIPT STARTS HERE try: # Connects to the current device, returning a MonkeyDevice object device = MonkeyRunner.waitForConnection() # Takes a screenshot result = device.takeSnapshot() # getting a sub image from snapshot? if RECT: result = result.getSubImage(RECT) print(IMG_PATH) # Writes the screenshot to a file result.writeToFile(IMG_PATH,'png') except KeyboardInterrupt: # USE KEYBOARD INTERRUPT TO TREAT ^C sys.exit("{0}Interrupted by user...{1}".format(bcolors.WARNING, bcolors.ENDC)) # sets a variable with the package's internal name #package = 'com.example.testpixel' # sets a variable with the name of an Activity in the package #activity = 'com.example.testpixel.MainActivity' # sets the name of the component to start #runComponent = package + '/' + activity #device.touch(274,470,MonkeyDevice.DOWN_AND_UP) #sleep(0.05) #device.drag((100,500),(100,750),2.0,50) #sleep(2.0) # Runs the component #device.startActivity(component=runComponent) # Presses the Menu button # device.press('KEYCODE_MENU', MonkeyDevice.DOWN_AND_UP)
from setuptools import setup, find_packages import os def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() long_description = ( read('README.txt') + '\n' + read('CHANGES.txt') + '\n' + 'Download\n' '********\n' ) tests_require = [ 'grokcore.view[security_publication]', 'grokcore.view[test]', 'zope.app.appsetup', 'zope.app.wsgi[test]', 'zope.errorview', 'zope.testbrowser', 'zope.testing', ] setup( name='grokcore.xmlrpc', version='3.1.0.dev0', author='Grok Team', author_email='grok-dev@zope.org', url='http://grok.zope.org', download_url='http://cheeseshop.python.org/pypi/grokcore.json/', description='XML-RPC View Component for Grok.', long_description=long_description, license='ZPL', classifiers=[ 'Environment :: Web Environment', 'Framework :: Zope :: 3', 'Intended Audience :: Developers', 'License :: OSI Approved :: Zope Public License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: Implementation', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], packages=find_packages('src'), package_dir={'': 'src'}, namespace_packages=['grokcore'], include_package_data=True, zip_safe=False, install_requires=[ 'grokcore.component >= 2.5dev', 'grokcore.content', 'grokcore.security', 'grokcore.traverser', 'grokcore.view', 'martian', 'setuptools', 'zope.component', 'zope.interface', 'zope.publisher', ], tests_require=tests_require, extras_require={'test': tests_require}, )
webpackJsonp([12],{CBdw:function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0});var s=e("mtWM"),A=e.n(s),i=e("c2Ch"),c={data:function(){return{data:[]}},created:function(){this.getData()},methods:{getData:function(){var t=this,a=new URLSearchParams;a.append("openid",localStorage.getItem("openid")),A.a.post(i.a.share,a).then(function(a){t.data=a.data.data})}}},o={render:function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"invite"},[e("div",{staticClass:"code"},[e("h1",[t._v("我是"+t._s(t.data.nickname))]),t._v(" "),e("h1",[t._v("我为您推荐公众号")]),t._v(" "),e("img",{attrs:{src:""}}),t._v(" "),e("p",[t._v("长按识别二维码")]),t._v(" "),e("p",[t._v("关注公众号")]),t._v(" "),e("img",{staticClass:"codeImg",attrs:{src:t.data.xcx_qrcode}})]),t._v(" "),t._m(0)])},staticRenderFns:[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"bot"},[a("div",{staticClass:"left flex"},[a("img",{attrs:{src:e("LPGa")}}),this._v(" "),a("p",[this._v("保存到相册")])]),this._v(" "),a("div",{staticClass:"right flex"},[a("img",{attrs:{src:e("FcYR")}}),this._v(" "),a("p",[this._v("分享给好友")])])])}]};var v=e("VU/8")(c,o,!1,function(t){e("HLRZ")},"data-v-c0a9ade0",null);a.default=v.exports},FcYR:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAF60lEQVRoQ+2aecxdQxjGe+2xCyFi/UeCEEsqRVSKVgkJ0lZFW7HV0sYfFQ2trVJrkxKxRitCrUERLaEkTUhIhNr3kNhCkNpqKz6/58vMZ7755pw755y5597ru2/y5C5n5p3nOe+cOTPvTGPEMLPGMNM7oie4UyPe19d3BNyuBF+BOY1G48MyXLsmwgg+B4HXgq/BLAQ//b8VjNh9EbfKEdjH98mIfrio6K6IMIL3Q9hrAXEnIfqhIqIzBdPIBjjSdd3NqrYuDtZC7q+yjuAzl7pXefULR3qQYJxuicOLwFFAgv8uS9Cppza2AMsQfG4Vf/BbQP3ZAR+n4HtJjO8BwTjbgQorwB4xFUuUeRFSo0vUG1QFnteYoPiuJuH/kWb++wXj5CA+zgKnNqtQ4fpzEBpXof5AVfhezY85AV/TaOPevDasYL3fpoGdUxDK8LECMkem8p8T6RPzRm8r+FaITALbeIQW8/tRsAasX4HsxtT9DCJvVvAxpCqi1StvAPLvWmakreCbKT0RbOfUuhOCZ6YkWNUXAjfChwZAYT3wB7gNhB6VqfC/z2/TCr7JRNgKlqODqRB691XlHV0fgRI2BmjisTvYC2xuBG/Cp15zvwO9XUI2ZPTOEvwjtUci+ONodokKmlfj4bg7HhwGdqzoejL1n0XLD/KTJfgnro2i0PsVG4uujtDdKHwaOMFEM7puk4JfcP0utFzWTPCBFHovVatZfsz7fxbXTwdbRbanR05B+Q2sNXU0m9vFBtHx8w3fNR5d3FbBCNWgMwNoZrd9E6Efcf0d8BL4FHwJvgW/gl+M+Dv49AdZzRTVa1Yi+PO2CUbsSBq/HuTNvL7j+uMGL0P4+6ybgr8LuDYfaBR3bQr17nf/yHuGW9KlITcdAgvBZhkCPuD/u8ESyOr5yzX8zaPA5V4hdXON0A/6lWsTDLF1aFzvTE0WQqZueiNYZEfUCLFXUKZ/MHIsdwVVi2DEKpoPgGMyRNzD/3MRKtFRhs+QWL2XT46ZWvoTD42ASbo0xDRdfQbsH1CigWQmBJ+MUmkK4VPrYq2PXdPILbFL83y1NMIQ0xx3ORgTIPE8/82AYKFkHD41OF3i+fuH30r5RC8Pk0cYYlpsKNGmbKNvi0xk7Ts0KsD4VBLvQq+w3sWaN+dG1tZpWYQhdzuNnB1QMt/OeqJU/teNJVSCfZsQK1YVWyIYsRIqwb7Ng5wGm0KGvz2p8BbQSG9NkdV79rEizpILhtzeEHgFbOgRWQg5TRAKGz6VdtJaWrMzmUbjifh7oqizpILNc/sCJEZ5RJZCbkJRcm55fJ/Bb71zfwaz8Vc+EY+zJIMWfpRRVGbRtXf5cQAENe+tZPjfFgdr8KUMTClLFmHIaN36KhApa3/y5RAIqot3hKUUfAuKtPpx7XzEKufUMZZEMNHVOvRtsKmjTHtB6sopkvnJblgqwaEJwVjEajbVUVZZMNHdGkWvAzf3tByxx3aUUkMmhWClZ7SYt6bl2XgEa9um4yyFYK1v1aVtPkrZCW3d1GZmra0bTdMNLSQyrbJgeabBXfmYCbRds4BG3Yi3VDhta5KjDTYNjlqwKPGoEwLKVw+xJIKtVxrX3tRqGtNsqBajzeNoSLkva5/wZR84KLnXWsG1KPQaQfDR/PWU87cmP4dmzeySRrhDBGt7aHRPsIlGL8LmRiRL4rW6mwee4V6Xdm96r0sP1y7dtg3xos88z/BY6rjz9lLPsKZl2nl4oyiBussHZlpRgkOHWkpnGesUjWDtNrgJQiUelFYK5tDyji1p9XEd0IlV7dvYFGmdekJtiZfStDrcoq1XnRxwTelcHcgJJvqsYC3vpoCsAyRKertJ8HaKtodd/c1vy0mnBDSXDh5ktYJ1akbrWp146Xa7FLE6WRi0fsEyngWdg1oJ3MNp3SZeK6VxCF7dVLARvROfOu0yHugZKX2+ucY7pdM7Ov+h3UMlHzLFitNAhI1g7eeeB7TG7AbB4q+xRYI1Wi+OSvHUGI22NzUowm1nUwOBYSf4X4XSrlsqcHu4AAAAAElFTkSuQmCC"},HLRZ:function(t,a){},LPGa:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAECElEQVRoQ+2aSWsVQRCA84LoQVTivu+74oIrnvXiISfvggh6EdzRRJOXxC1qNHgyoCTBq7jF3R+ggp7UX+DJg3gRMYf4/Crpkc7YedM9mzjpgWLe0lNVX1dVd0/PlGpG2VEaZbw1HjjriFcqlWnYaEDmIT2lUulx1jZ1/blHGOANOHBZAd/m3AF0JS/oXIGBHQ/Ye2SFBlgPcF9RgZcB9hEZqwG2AtxcVOCVgL1FJmqAzQC3FhVYUlmAJ2mAZwE+54Ez6oG8By0fYQLpUzqjbB5U61M6y95l4eFr2Ndwlinmazjj3vU1PNTBfh7OMtH8PJxl7/oa9jWcZX4N6XauYdJyNtcNcNP+xdW9tFMafXX48c3FDydgDMj26iHkFyJ7UV0uxtICRs9y7MouyVbkLtKIL/02vlgDY2QnCl+FlJ7E0BUbQ9ImDWB0LEXVc2SJZtd6LncBPoCBmwa4o0Bft4FOCsz1a7AjW7qLQvb68KHexgcX4AUofI3MMig+gcGrUQaTAHOt2H+JSDqHj33Y746yL/9bA6uUXM9ZHo3MNSg/jtGOakbjAnPdWvQ+QeYb9Jex22ID6wysoLcp6KkGI8cwfm0k43GAIyLbhr0mW9hYwApaaukFMsclvV2BIyLbAmzZBTY2sBbpR3yebhtpF2Dayigso7GMyuHDObKBAqcaDltVEZBIy2IkfPxV07bAtJNHMjIam2ATPYtKBKwiLZP/Q2SmAXrYlGUDTJtV6JGBcbFBXyLYRCmtO4OTm/kuo6gpvf9Aq8i9oZ3+bKmJWmxTnbeQs2SMaeq5SDtZ6SU6Ekc4sA7MJj5LTZvS+wjOdqoR9wNtJmheDwLz32oV2fCiQpo6TT3VeiQ1YBUhmbKeIpMNRvfz2x3kcygT9vJd6lUWNfqD8kBFKpENlKUKrKDllQaJtLzDET46+WEPoi9cevguKbzD0D7W1JNbhANDpOd2Fek6g3F5n8Omoy+Q6o3VnI/zn43hOHrlzmidgjYtTqJ0xp5noxRnBqzSWyL9AJkR5Yj2f2awYiNTYK2mZaoxTVnhfrhEGp926BznppkDK2gZve8jplvLwOnUByhTb+QCrKC3cH6GTDE40k5kTzmHK8YFuQFr0FLT+uLkPLBnYvge65JcgRX0Rs7y6qEsTnqBvRHL85gX5Q4c+Mm0VQus7H7mevwz4FwpNWMeWEs5WRbmnnIpRb4WPf2UzI+wvmERpq7kPlXeeC0jcps2gOT2LnNKsKJmDPIduYfcAvxroDsMLBvqsqFt2m1I0Z9cVXUBfHAk4Hf8ITfyRTo+ASz72oNHOMKH+W03sqsgxDIGNQDcPhLwOJXOspMvm2nyRO5/rWHxvRfpBvinEbggUa2K4efhokf5N0tomEzEDyBlAAAAAElFTkSuQmCC"}}); //# sourceMappingURL=12.3756eaf299da633299d8.js.map
import numpy as np # import pylab as pl import seaborn as sns from pymoreg.core.gaussian import sample_from_gn from pymoreg.metrics.score import BGe from numpy.random import RandomState from pymoreg.structure.graph_generation import random_dag # from pymoreg.structure.graphs import plot_digraph from pymoreg.mcmc.graphs.proposal import DAGProposal, basic_move, rev_move, nbhr_move from pymoreg.mcmc.graphs.sampler import MHStructureSampler, DAGDistribution from pymoreg.mcmc.diagnostics import trace_plots, score_density_plot sns.set(color_codes=True) SAVE = False n_variables = 15 seeds = list(range(101, 200)) rng = RandomState(1802) variables = list(range(n_variables)) n_samples = 200 # Data generation parameters gen_mean = np.zeros(n_variables) gen_var = np.zeros(n_variables) + 0.2 gen_weight = 2 # Generate some data form a GN graph = random_dag(variables, rng=rng, fan_in=5) beta = graph.A.T * gen_weight sample_seed = rng.randint(0, 2 ** 32 - 1) data_gn = sample_from_gn(graph, gen_mean, gen_var, beta, n_samples, sample_seed) graph_score = BGe(data_gn)(graph) print('Graph created with {} variables. Dataset with {} samples. Graphs bge score = {:.2f}'.format( n_variables, n_samples, graph_score)) # plot_digraph(graph) # Fit the score and create the parent set distributions fan_in = 5 moves = [basic_move, rev_move, nbhr_move] sampler = MHStructureSampler( proposal=DAGProposal(moves, move_prob=[27/30, 1/15, 1/30], score=BGe, fan_in=5, random_state=rng), n_steps=1000, sample_freq=10, burn_in=500, verbose=True, rng=rng ) trace1 = sampler.generate_samples(data_gn, return_scores=True, debug=False) samples1, scores1 = trace1 g_dist1 = DAGDistribution(samples1) # trace2 = sampler.generate_samples(data, return_scores=True, debug=False) # samples2, scores2 = trace2 # g_dist2 = GraphDistribution(samples2) trace_plots(samples1, scores1 - graph_score, graph.edges()) score_density_plot(scores1) # edge_prob_scatter_plot(g_dist1, g_dist2, graph.edges()) # g_dist = GraphDistribution(samples) # # params = g_dist.get_param_values(graph.edges()) # rm = running_mean(params) # # fig, (ax1, ax2) = pl.subplots(nrows=2, sharex='col') # # sns.tsplot(rm, err_style='unit_traces', ax=ax1) # sns.tsplot(scores - graph_score, ax=ax2) # pl.show()
import RPC from '@/RPC' const request = jest.fn(() => 'returned content') describe('RPC', () => { const rpc = new RPC(request) beforeEach(() => { request.mockClear() }) it('sends a request with POST and GET', async () => { await rpc('rpc-test', { a: 1, b: 2 }, { get: false }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'POST', undefined, {}, { a: 1, b: 2 }) await rpc('rpc-test', { a: 1, b: 2 }, { get: true }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'GET', { a: 1, b: 2 }, {}) }) it('does not send arguments when not specified', async () => { await rpc('rpc-test', undefined, { get: false }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'POST', undefined, {}, undefined) await rpc('rpc-test', undefined, { get: true }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'GET', {}, {}) }) it('defaults to POST', async () => { await rpc('rpc-test') expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'POST', undefined, {}, undefined) }) it('passes options to request properly', async () => { await rpc('rpc-test', { a: 1, b: 2 }, { get: false, query: { select: 'id' }, accept: 'binary', headers: { 'x-header': 'custom-x-header' } }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'POST', { select: 'id' }, { accept: 'binary', headers: { 'x-header': 'custom-x-header' } }, { a: 1, b: 2 }) await rpc('rpc-test', { a: 1, b: 2 }, { get: true, query: { select: 'id' }, accept: 'binary', headers: { 'x-header': 'custom-x-header' } }) expect(request).toHaveBeenLastCalledWith('rpc/rpc-test', 'GET', { a: 1, b: 2, select: 'id' }, { accept: 'binary', headers: { 'x-header': 'custom-x-header' } }) }) it('returns request result', async () => { await expect(rpc('rpc-test')).resolves.toBe('returned content') await expect(rpc('rpc-test', undefined, { get: true })).resolves.toBe('returned content') }) })
/*global AppName */ if (!this.AppName || typeof this.AppName !== 'object') { this.AppName = {}; } (function () { 'use strict'; AppName.module('HomeModule.Show', function (Show, App, Backbone, Marionette, $, _) { /* * Home/Show/InfoView */ Show.InfoView = Backbone.Marionette.ItemView.extend({ //Backbone views will be wrapped in a <div> by default //specifying a className simply appends that as well className:'info-wrapper', //Instead of providing a template string, we implement the //getTemplage function. This is an easy way to switch templates //based on the state of a model. getTemplate: function(){ //in this case we just check to see if the model has //a FIRE_NAME property defined... if(this.model.get('FIRE_NAME')){ //if so, use the actual info view return 'home/show/fire_info_view.jst.html'; }else{ //otherwise, show the intro return 'home/show/fire_intro_view.jst.html'; } }, /* Initializer called when the view is created */ initialize: function(options){ var self = this; //hold a reference to the model passed in this.model = options.model; //Since we want the view to re-render when the //model changes, we setup an event handler to force that. this.model.on('change', function(){ self.render(); }); } }); }); })();
class Player { constructor() { this.directions = ['forward', 'left', 'right', 'backward'] } checkSurroundings(warrior) { const surroundingsReducer = (set, direction) => set.add(warrior.feel(direction)) const surroundings = this.directions.reduce(surroundingsReducer, new Set()) return surroundings } action(direction, space){ switch space { case space.isEmpty(): return warrior => warrior.walk(direction) case space.isEnemy(): return warrior => warrior.attack(direction) case space.isWall(): case space.isTicking(): return null } } playTurn(warrior) { const surroundings = checkSurroundings(warrior) const surroundings.prioritize() const actions = surroundings.map(space => this.action(direction, space)) actions.map(act => act(warrior)()) } }
# Interpolation = enterpolasyon, farklı bir bilgi veri noktası aralığı içinde yeni veri noktaları oluşturma yöntemidir. # cv2.INTER_AREA - küçültmek veya örneklemek için iyi # cv2.INTER_NEAREST - en hızlı # cv2.INTER_LINEAR - yakınlaştırmak veya örneklemek için iyi (default) # cv2.INTER_CUBIC - daha iyi # cv2.INTER_LANCZOS4 - en iyi # cv2.resize(image, dsize(output image size), x scale, y scale, interpolation) import cv2 import numpy as np img = cv2.imread("../images/lena.png") image_scaled = cv2.resize(img, None, fx=0.75, fy=0.75) cv2.imshow('scaling-linear interpolation', image_scaled) cv2.waitKey() image_scaled = cv2.resize(img, None, fx=2, fy=2, interpolation=cv2.INTER_CUBIC) cv2.imshow('scaling-cubic interpolation', image_scaled) cv2.waitKey() image_scaled = cv2.resize(img, (900,400), interpolation=cv2.INTER_AREA) cv2.imshow('scaling-skewed interpolation', image_scaled) cv2.waitKey() cv2.destroyAllWindows()
import tinycolor from "tinycolor2"; const primary = "#536DFE"; const secondary = "#FF5C93"; const warning = "#FFC260"; const success = "#3CD4A0"; const info = "#9013FE"; const lightenRate = 7.5; const darkenRate = 15; export default { palette: { primary: { main: primary, light: tinycolor(primary) .lighten(lightenRate) .toHexString(), dark: tinycolor(primary) .darken(darkenRate) .toHexString(), }, secondary: { main: secondary, light: tinycolor(secondary) .lighten(lightenRate) .toHexString(), dark: tinycolor(secondary) .darken(darkenRate) .toHexString(), contrastText: "#FFFFFF", }, warning: { main: warning, light: tinycolor(warning) .lighten(lightenRate) .toHexString(), dark: tinycolor(warning) .darken(darkenRate) .toHexString(), }, success: { main: success, light: tinycolor(success) .lighten(lightenRate) .toHexString(), dark: tinycolor(success) .darken(darkenRate) .toHexString(), }, info: { main: info, light: tinycolor(info) .lighten(lightenRate) .toHexString(), dark: tinycolor(info) .darken(darkenRate) .toHexString(), }, text: { primary: "#7fffd5", secondary: tinycolor("#121c36").lighten(50).toHexString(), hint: "#7fffd5", }, background: { default: "#121c36", light: "#121c36", }, }, customShadows: { widget: "0px 3px 11px 0px #121c36, 0 3px 3px -2px #121c36, 0 1px 8px 0 #9A9A9A1A", widgetDark: "0px 3px 18px 0px #4558A3B3, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A", widgetWide: "0px 12px 33px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A", }, overrides: { MuiCssBaseline: { '@global': { '@font-face': 'jura', } }, MuiBackdrop: { root: { backgroundColor: "#4A4A4A1A", }, }, MuiMenu: { paper: { boxShadow: "0px 3px 11px 0px #E8EAFC, 0 3px 3px -2px #B2B2B21A, 0 1px 8px 0 #9A9A9A1A", }, }, MuiSelect: { icon: { color: "#B9B9B9", }, }, MuiListItem: { root: { "&$selected": { backgroundColor: "#F3F5FF !important", "&:focus": { backgroundColor: "#F3F5FF", }, }, }, button: { "&:hover, &:focus": { backgroundColor: "#F3F5FF", }, }, }, MuiTouchRipple: { child: { backgroundColor: "white", }, }, MuiTableRow: { root: { height: 56, }, }, MuiTableCell: { root: { borderBottom: "1px solid rgba(224, 224, 224, .5)", }, head: { fontSize: "0.95rem", }, body: { fontSize: "0.95rem", }, }, }, };
import Ember from "ember-metal/core"; import isNone from 'ember-metal/is_none'; import Set from "ember-runtime/system/set"; import EmberObject from 'ember-runtime/system/object'; import EmberArray from "ember-runtime/mixins/array"; // NOTE: This test is adapted from the 1.x series of unit tests. The tests // are the same except for places where we intend to break the API we instead // validate that we warn the developer appropriately. // // * Changed Set.clone() call to Set.copy() // ======================================================================== // Set Tests // ======================================================================== var a, b, c ; // global variables QUnit.module("creating Set instances", { setup: function() { // create objects... a = { name: "a" }; b = { name: "b" }; c = { name: "c" }; }, teardown: function() { a = undefined; b = undefined; c = undefined; } }); QUnit.test("new Set() should create empty set", function() { ignoreDeprecation(function() { var set = new Set(); equal(set.length, 0); }); }); QUnit.test("new Set([1,2,3]) should create set with three items in them", function() { ignoreDeprecation(function() { var set = new Set(Ember.A([a,b,c])); equal(set.length, 3); equal(set.contains(a), true); equal(set.contains(b), true); equal(set.contains(c), true); }); }); QUnit.test("new Set() should accept anything that implements EmberArray", function() { var arrayLikeObject = EmberObject.createWithMixins(EmberArray, { _content: [a,b,c], length: 3, objectAt: function(idx) { return this._content[idx]; } }); ignoreDeprecation(function() { var set = new Set(arrayLikeObject); equal(set.length, 3); equal(set.contains(a), true); equal(set.contains(b), true); equal(set.contains(c), true); }); }); var set; // global variables // The tests below also end up testing the contains() method pretty // exhaustively. QUnit.module("Set.add + Set.contains", { setup: function() { ignoreDeprecation(function() { set = new Set(); }); }, teardown: function() { set = undefined; } }); QUnit.test("should add an EmberObject", function() { var obj = EmberObject.create(); var oldLength = set.length; set.add(obj); equal(set.contains(obj), true, "contains()"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should add a regular hash", function() { var obj = {}; var oldLength = set.length; set.add(obj); equal(set.contains(obj), true, "contains()"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should add a string", function() { var obj = "String!"; var oldLength = set.length; set.add(obj); equal(set.contains(obj), true, "contains()"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should add a number", function() { var obj = 23; var oldLength = set.length; set.add(obj); equal(set.contains(obj), true, "contains()"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should add bools", function() { var oldLength = set.length; set.add(true); equal(set.contains(true), true, "contains(true)"); equal(set.length, oldLength+1, "new set length"); set.add(false); equal(set.contains(false), true, "contains(false)"); equal(set.length, oldLength+2, "new set length"); }); QUnit.test("should add 0", function() { var oldLength = set.length; set.add(0); equal(set.contains(0), true, "contains(0)"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should add a function", function() { var obj = function() { return "Test function"; }; var oldLength = set.length; set.add(obj); equal(set.contains(obj), true, "contains()"); equal(set.length, oldLength+1, "new set length"); }); QUnit.test("should NOT add a null", function() { set.add(null); equal(set.length, 0); equal(set.contains(null), false); }); QUnit.test("should NOT add an undefined", function() { set.add(undefined); equal(set.length, 0); equal(set.contains(undefined), false); }); QUnit.test("adding an item, removing it, adding another item", function() { var item1 = "item1"; var item2 = "item2"; set.add(item1); // add to set set.remove(item1); //remove from set set.add(item2); equal(set.contains(item1), false, "set.contains(item1)"); set.add(item1); // re-add to set equal(set.length, 2, "set.length"); }); QUnit.module("Set.remove + Set.contains", { // generate a set with every type of object, but none of the specific // ones we add in the tests below... setup: function() { ignoreDeprecation(function() { set = new Set(Ember.A([ EmberObject.create({ dummy: true }), { isHash: true }, "Not the String", 16, true, false, 0])); }); }, teardown: function() { set = undefined; } }); QUnit.test("should remove an EmberObject and reduce length", function() { var obj = EmberObject.create(); set.add(obj); equal(set.contains(obj), true); var oldLength = set.length; set.remove(obj); equal(set.contains(obj), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should remove a regular hash and reduce length", function() { var obj = {}; set.add(obj); equal(set.contains(obj), true); var oldLength = set.length; set.remove(obj); equal(set.contains(obj), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should remove a string and reduce length", function() { var obj = "String!"; set.add(obj); equal(set.contains(obj), true); var oldLength = set.length; set.remove(obj); equal(set.contains(obj), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should remove a number and reduce length", function() { var obj = 23; set.add(obj); equal(set.contains(obj), true); var oldLength = set.length; set.remove(obj); equal(set.contains(obj), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should remove a bools and reduce length", function() { var oldLength = set.length; set.remove(true); equal(set.contains(true), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); set.remove(false); equal(set.contains(false), false, "should be removed"); equal(set.length, oldLength-2, "should be 2 shorter"); }); QUnit.test("should remove 0 and reduce length", function() { var oldLength = set.length; set.remove(0); equal(set.contains(0), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should remove a function and reduce length", function() { var obj = function() { return "Test function"; }; set.add(obj); equal(set.contains(obj), true); var oldLength = set.length; set.remove(obj); equal(set.contains(obj), false, "should be removed"); equal(set.length, oldLength-1, "should be 1 shorter"); }); QUnit.test("should NOT remove a null", function() { var oldLength = set.length; set.remove(null); equal(set.length, oldLength); }); QUnit.test("should NOT remove an undefined", function() { var oldLength = set.length; set.remove(undefined); equal(set.length, oldLength); }); QUnit.test("should ignore removing an object not in the set", function() { var obj = EmberObject.create(); var oldLength = set.length; set.remove(obj); equal(set.length, oldLength); }); QUnit.module("Set.pop + Set.copy", { // generate a set with every type of object, but none of the specific // ones we add in the tests below... setup: function() { ignoreDeprecation(function() { set = new Set(Ember.A([ EmberObject.create({ dummy: true }), { isHash: true }, "Not the String", 16, false])); }); }, teardown: function() { set = undefined; } }); QUnit.test("the pop() should remove an arbitrary object from the set", function() { var oldLength = set.length; var obj = set.pop(); ok(!isNone(obj), 'pops up an item'); equal(set.length, oldLength-1, 'length shorter by 1'); }); QUnit.test("should pop false and 0", function() { ignoreDeprecation(function() { set = new Set(Ember.A([false])); ok(set.pop() === false, "should pop false"); set = new Set(Ember.A([0])); ok(set.pop() === 0, "should pop 0"); }); }); QUnit.test("the copy() should return an identical set", function() { var oldLength = set.length; var obj; ignoreDeprecation(function() { obj = set.copy(); }); equal(oldLength, obj.length, 'length of the clone should be same'); equal(obj.contains(set[0]), true); equal(obj.contains(set[1]), true); equal(obj.contains(set[2]), true); equal(obj.contains(set[3]), true); equal(obj.contains(set[4]), true); });
from absl import flags import pylot.control.flags import pylot.debug.flags import pylot.perception.flags import pylot.planning.flags import pylot.prediction.flags import pylot.simulation.flags # noqa: F401 FLAGS = flags.FLAGS # Files where to log information. flags.DEFINE_string('log_file_name', None, 'Name of the log file') flags.DEFINE_string('csv_log_file_name', None, 'csv file into which to log runtime stats') flags.DEFINE_string( 'profile_file_name', 'pylot_profile.json', 'file into which to log runtime profile stats in Chrome trace format') flags.DEFINE_enum( 'execution_mode', 'simulation', ['simulation', 'real-world', 'challenge-map', 'challenge-sensors'], 'Sets the mode in which the pipeline executes') ###################################################################### # Perception ###################################################################### flags.DEFINE_integer('camera_image_width', 1920, 'Camera image width') flags.DEFINE_integer('camera_image_height', 1080, 'Camera image height') flags.DEFINE_float('camera_fov', 90.0, 'Camera field of view') flags.DEFINE_bool('obstacle_detection', False, 'True to enable obstacle detection operator') flags.DEFINE_bool('perfect_obstacle_detection', False, 'True to enable perfect obstacle 2D detection') flags.DEFINE_bool( 'simulator_obstacle_detection', True, 'True to enable usage of obstacles received from the simulator') flags.DEFINE_bool('obstacle_tracking', False, 'True to enable obstacle tracking operator') flags.DEFINE_bool('perfect_obstacle_tracking', False, 'True to enable perfect obstacle tracking') flags.DEFINE_enum('tracker_type', 'sort', ['da_siam_rpn', 'deep_sort', 'sort', 'center_track'], 'Sets which obstacle tracker to use') flags.DEFINE_bool('lane_detection', False, 'True to enable lane detection') flags.DEFINE_bool('perfect_lane_detection', False, 'True to enable perfect lane detection') flags.DEFINE_enum('lane_detection_type', 'lanenet', ['lanenet', 'canny'], 'Sets which lane detection operator to use') flags.DEFINE_bool('fusion', False, 'True to enable fusion operator') flags.DEFINE_bool('traffic_light_detection', False, 'True to enable traffic light detection operator') flags.DEFINE_bool('perfect_traffic_light_detection', False, 'True to enable perfect traffic light 2D detection') flags.DEFINE_bool( 'simulator_traffic_light_detection', True, 'True to enable usage of traffic lights received from the simulator') flags.DEFINE_bool('segmentation', False, 'True to enable segmentation operator') flags.DEFINE_bool('perfect_segmentation', False, 'True to enable perfect segmentation') flags.DEFINE_enum('obstacle_location_finder_sensor', 'lidar', ['lidar', 'depth_camera'], 'Sets which sensor to use to compute obstacle locations') flags.DEFINE_bool('depth_estimation', False, 'True to estimate depth using cameras') flags.DEFINE_bool('perfect_depth_estimation', False, 'True to use perfect depth') flags.DEFINE_bool( 'localization', False, 'True to run localization. False for ground truth localization') flags.DEFINE_float( 'offset_left_right_cameras', 0.4, 'How much we offset the left and right cameras from the center.') ###################################################################### # Prediction ###################################################################### flags.DEFINE_bool('prediction', False, 'True to enable prediction.') flags.DEFINE_enum('prediction_type', 'linear', ['linear', 'r2p2'], 'Type of prediction module to use') ###################################################################### # Planning ###################################################################### flags.DEFINE_enum( 'planning_type', 'waypoint', ['waypoint', 'rrt_star', 'frenet_optimal_trajectory', 'hybrid_astar'], 'Type of planning module to use') flags.DEFINE_bool('imu', False, 'True to enable the IMU sensor') ###################################################################### # Control ###################################################################### flags.DEFINE_enum('control', 'simulator_auto_pilot', ['pid', 'mpc', 'simulator_auto_pilot', 'manual'], 'Control operator to use to drive') ###################################################################### # Deadline enforcement ###################################################################### flags.DEFINE_enum( 'deadline_enforcement', 'none', ['none', 'static', 'dynamic'], 'Controls how end-to-end deadlines are enforced. None means no enforcement' ) flags.DEFINE_float( 'detection_deadline', None, 'Detection deadline (in ms) when using static deadline enforcement') flags.DEFINE_float( 'tracking_deadline', None, 'Tracking deadline (in ms) when using static deadline enforcement') flags.DEFINE_float( 'planning_deadline', None, 'Planning deadline (on ms) when using static deadline enforcement') ###################################################################### # Visualizing flags ###################################################################### flags.DEFINE_bool('visualize_rgb_camera', False, 'True to enable RGB camera sensor visualization') flags.DEFINE_bool('visualize_depth_camera', False, 'True to enable depth camera sensor visualization') flags.DEFINE_bool('visualize_lidar', False, 'True to enable Lidar visualization') flags.DEFINE_bool('visualize_imu', False, 'True to enable simulator IMU visualization') flags.DEFINE_bool('visualize_pose', False, 'True to enable simulator ego-vehicle pose visualization') flags.DEFINE_bool('visualize_detected_obstacles', False, 'True to enable visualization of detected obstacles') flags.DEFINE_bool('visualize_detected_traffic_lights', False, 'True to enable visualization of detected traffic lights') flags.DEFINE_bool('visualize_detected_lanes', False, 'True to enable visualization of detected lanes') flags.DEFINE_bool('visualize_tracked_obstacles', False, 'True to enable visualization of tracked obstacles') flags.DEFINE_bool('visualize_segmentation', False, 'True to enable visualization of segmentaation') flags.DEFINE_bool('visualize_waypoints', False, 'True to enable visualization of planning waypoints') flags.DEFINE_bool('visualize_prediction', False, 'True to enable visualization of obstacle predictions') flags.DEFINE_bool( 'visualize_world', False, 'True to enable visualization of the planning world representation') flags.DEFINE_integer('top_down_camera_altitude', 40, 'Altitude of the top-down world camera (in meters).') ######################################## # Recording operators. ######################################## flags.DEFINE_string('simulation_recording_file', None, 'Path to where the simulation is recorded') flags.DEFINE_string('data_path', 'data/', 'Path where to logged data') flags.DEFINE_bool('log_detector_output', False, 'Enable recording of bbox annotated detector images') flags.DEFINE_bool('log_traffic_light_detector_output', False, 'Enable recording of bbox annotated tl detector images') flags.DEFINE_bool('log_lane_detection_camera', False, 'True to enable lane detection camera logging') flags.DEFINE_integer('log_every_nth_message', 1, 'Control how often the script logs messages') ######################################## # Evaluation operators. ######################################## flags.DEFINE_bool('evaluation', False, 'Enable end-to-end evaluation of the pipeline.') flags.DEFINE_bool('evaluate_obstacle_detection', False, 'True to enable object detection accuracy evaluation') flags.DEFINE_bool('evaluate_obstacle_tracking', False, 'True to enable object tracking evaluation') flags.DEFINE_bool('evaluate_prediction', False, 'True to enable prediction evaluation') flags.DEFINE_bool('evaluate_control', False, 'True to enable control evaluation') flags.DEFINE_bool('evaluate_fusion', False, 'True to enable fusion evaluation') flags.DEFINE_bool('evaluate_segmentation', False, 'True to enable segmentation evaluation') def must_visualize(): """Returns True if any visualization flag is True.""" return (FLAGS.visualize_rgb_camera or FLAGS.visualize_depth_camera or FLAGS.visualize_lidar or FLAGS.visualize_imu or FLAGS.visualize_pose or FLAGS.visualize_detected_obstacles or FLAGS.visualize_detected_traffic_lights or FLAGS.visualize_detected_lanes or FLAGS.visualize_tracked_obstacles or FLAGS.visualize_segmentation or FLAGS.visualize_waypoints or FLAGS.visualize_prediction or FLAGS.visualize_world) def must_add_depth_camera_sensor(): """Returns true if the depth camera sensor must be added. We don't add all sensors by default because they slow donwn the simulation """ return (FLAGS.perfect_obstacle_detection or FLAGS.evaluate_obstacle_detection or FLAGS.perfect_depth_estimation or FLAGS.visualize_depth_camera or FLAGS.obstacle_location_finder_sensor == 'depth_camera') def must_add_segmented_camera_sensor(): """Returns true if the segmented camera sensor must be added. We don't add all sensors by default because they slow donwn the simulation """ return (FLAGS.evaluate_segmentation or FLAGS.perfect_segmentation or FLAGS.perfect_obstacle_detection or FLAGS.evaluate_obstacle_detection) def must_add_lidar_sensor(): """Returns true if the lidar sensor must be added. We don't add all sensors by default because they slow donwn the simulation """ return (FLAGS.visualize_lidar or (FLAGS.prediction and FLAGS.prediction_type == 'r2p2') or FLAGS.obstacle_location_finder_sensor == 'lidar') def must_add_imu_sensor(): """ Returns true if the IMU sensor must be added. We don't add all sensors by default because they slow down the simulation """ return (FLAGS.imu or FLAGS.evaluation or FLAGS.localization) def must_add_gnss_sensor(): """ Returns true if the GNSS sensor must be added. We don't add all sensors by default because they slow down the simulation """ return FLAGS.localization # Flag validators. flags.register_multi_flags_validator( [ 'obstacle_detection', 'obstacle_detection_model_paths', 'obstacle_detection_model_names' ], lambda flags_dict: (not flags_dict['obstacle_detection'] or (flags_dict['obstacle_detection'] and (len(flags_dict['obstacle_detection_model_paths']) == len(flags_dict['obstacle_detection_model_names'])))), message='--obstacle_detection_model_paths and ' '--obstacle_detection_model_names must have the same length') def prediction_validator(flags_dict): if flags_dict['prediction']: return (flags_dict['obstacle_tracking'] or flags_dict['perfect_obstacle_tracking']) return True flags.register_multi_flags_validator( ['prediction', 'obstacle_tracking', 'perfect_obstacle_tracking'], prediction_validator, message='prediction requires --obstacle_tracking or' ' --perfect_obstacle_tracking') def prediction_ego_agent_validator(flags_dict): if flags_dict['prediction_ego_agent']: return flags_dict['perfect_obstacle_tracking'] return True flags.register_multi_flags_validator( ['prediction_ego_agent', 'perfect_obstacle_tracking'], prediction_ego_agent_validator, message='ego-agent prediction requires --perfect_obstacle_tracking') flags.register_multi_flags_validator( [ 'evaluate_prediction', 'prediction_num_future_steps', 'tracking_num_steps' ], lambda flags_dict: (not flags_dict['evaluate_prediction'] or (flags_dict['evaluate_prediction'] and flags_dict[ 'prediction_num_future_steps'] <= flags_dict['tracking_num_steps'])), message='must track at least as many steps as we predict when' ' --evaluate_prediction is enabled') def planning_validator(flags_dict): if (flags_dict['planning_type'] == 'rrt_star' or flags_dict['planning_type'] == 'frenet_optimal_trajectory' or flags_dict['planning_type'] == 'hybrid_astar'): return flags_dict['prediction'] return True flags.register_multi_flags_validator( ['planning_type', 'prediction'], planning_validator, message='This type of planner requires --prediction') def waypoint_planning_validator(flags_dict): if flags_dict['planning_type'] == 'waypoint': has_obstacle_detector = (flags_dict['obstacle_detection'] or flags_dict['perfect_obstacle_detection'] or flags_dict['simulator_obstacle_detection']) has_traffic_light_detector = ( flags_dict['traffic_light_detection'] or flags_dict['perfect_traffic_light_detection'] or flags_dict['simulator_traffic_light_detection']) # TODO: Add lane detection, obstacle tracking and prediction once # the agent depends on these components. return (has_obstacle_detector and has_traffic_light_detector) return True flags.register_multi_flags_validator( [ 'obstacle_detection', 'perfect_obstacle_detection', 'simulator_obstacle_detection', 'traffic_light_detection', 'perfect_traffic_light_detection', 'simulator_traffic_light_detection', 'planning_type' ], waypoint_planning_validator, message='waypoint planner requires obstacle detection and ' 'traffic light detection') def obstacle_detection_validator(flags_dict): if flags_dict['obstacle_detection']: return not (flags_dict['perfect_obstacle_detection'] or flags_dict['simulator_obstacle_detection']) if flags_dict['perfect_obstacle_detection']: return not (flags_dict['obstacle_detection'] or flags_dict['simulator_obstacle_detection']) if flags_dict['simulator_obstacle_detection']: return not (flags_dict['obstacle_detection'] or flags_dict['perfect_obstacle_detection']) return False flags.register_multi_flags_validator( [ 'obstacle_detection', 'perfect_obstacle_detection', 'simulator_obstacle_detection', ], obstacle_detection_validator, message='Only one of --obstacle_detection, --perfect_obstacle_detection, ' 'or --simulator_obstacle_detection can be True') def obstacle_detection_eval_validator(flags_dict): if flags_dict['evaluate_obstacle_detection']: return flags_dict['obstacle_detection'] return True flags.register_multi_flags_validator( ['obstacle_detection', 'evaluate_obstacle_detection'], obstacle_detection_eval_validator, message='--obstacle_detection must be enabled when ' '--evaluate_obstacle_detection is enabled') def traffic_light_detection_validator(flags_dict): if flags_dict['traffic_light_detection']: return not (flags_dict['perfect_traffic_light_detection'] or flags_dict['simulator_traffic_light_detection']) if flags_dict['perfect_traffic_light_detection']: return not (flags_dict['traffic_light_detection'] or flags_dict['simulator_traffic_light_detection']) if flags_dict['simulator_traffic_light_detection']: return not (flags_dict['traffic_light_detection'] or flags_dict['perfect_traffic_light_detection']) flags.register_multi_flags_validator( [ 'traffic_light_detection', 'perfect_traffic_light_detection', 'simulator_traffic_light_detection' ], traffic_light_detection_validator, message='Only one of --traffic_light_detection, ' '--perfect_traffic_light_detection, or --simulator_traffic_light_detection' ' can be True') def obstacle_tracking_validator(flags_dict): if flags_dict['obstacle_tracking']: return (flags_dict['obstacle_detection'] or flags_dict['perfect_obstacle_detection'] or flags_dict['simulator_obstacle_detection']) return True flags.register_multi_flags_validator( [ 'obstacle_detection', 'perfect_obstacle_detection', 'simulator_obstacle_detection', 'obstacle_tracking' ], obstacle_tracking_validator, message='--obstacle_detection, --perfect_obstacle_detection, or ' '--simulator_obstacle_detection must be set when --obstacle_tracking is' ' enabled') def obstacle_tracking_evaluation_validator(flags_dict): if flags_dict['evaluate_obstacle_tracking']: return (flags_dict['obstacle_tracking'] and (flags_dict['perfect_obstacle_detection'] or flags_dict['obstacle_detection'])) return True flags.register_multi_flags_validator( [ 'obstacle_tracking', 'evaluate_obstacle_tracking', 'perfect_obstacle_detection', 'obstacle_detection' ], obstacle_tracking_evaluation_validator, message='--obstacle_tracking and either --obstacle_detection or ' '--perfect_obstacle_detection must be set when ' '--evaluate_obstacle_tracking is enabled') def fusion_evaluation_validator(flags_dict): if flags_dict['evaluate_fusion']: return flags_dict['fusion'] return True flags.register_multi_flags_validator( ['fusion', 'evaluate_fusion'], fusion_evaluation_validator, message='--fusion must be set when --evaluate_fusion is enabled')
/* =========================================================== * sw.js * =========================================================== * Copyright 2016 @huxpro * Licensed under Apache 2.0 * service worker scripting * ========================================================== */ // CACHE_NAMESPACE // CacheStorage is shared between all sites under same domain. // A namespace can prevent potential name conflicts and mis-deletion. const CACHE_NAMESPACE = 'main-' const CACHE = CACHE_NAMESPACE + 'precache-then-runtime'; const PRECACHE_LIST = [ "./", "./offline.html", "./js/jquery.min.js", "./js/bootstrap.min.js", "./js/hux-blog.min.js", "./js/snackbar.js", "./img/icon_wechat.png", "./img/avatar-hux.jpg", "./img/home-bg.jpg", "./img/404-bg.jpg", "./css/hux-blog.min.css", // "./css/syntax.css", "./css/bootstrap.min.css" // "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css", // "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/fonts/fontawesome-webfont.woff2?v=4.6.3", // "//cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js" ] const HOSTNAME_WHITELIST = [ self.location.hostname, "huangxuan.me", "yanshuo.io", "cdnjs.cloudflare.com" ] const DEPRECATED_CACHES = ['precache-v1', 'runtime', 'main-precache-v1', 'main-runtime'] // The Util Function to hack URLs of intercepted requests const getCacheBustingUrl = (req) => { var now = Date.now(); url = new URL(req.url) // 1. fixed http URL // Just keep syncing with location.protocol // fetch(httpURL) belongs to active mixed content. // And fetch(httpRequest) is not supported yet. url.protocol = self.location.protocol // 2. add query for caching-busting. // Github Pages served with Cache-Control: max-age=600 // max-age on mutable content is error-prone, with SW life of bugs can even extend. // Until cache mode of Fetch API landed, we have to workaround cache-busting with query string. // Cache-Control-Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=453190 url.search += (url.search ? '&' : '?') + 'cache-bust=' + now; return url.href } // The Util Function to detect and polyfill req.mode="navigate" // request.mode of 'navigate' is unfortunately not supported in Chrome // versions older than 49, so we need to include a less precise fallback, // which checks for a GET request with an Accept: text/html header. const isNavigationReq = (req) => (req.mode === 'navigate' || (req.method === 'GET' && req.headers.get('accept').includes('text/html'))) // The Util Function to detect if a req is end with extension // Accordin to Fetch API spec <https://fetch.spec.whatwg.org/#concept-request-destination> // Any HTML's navigation has consistently mode="navigate" type="" and destination="document" // including requesting an img (or any static resources) from URL Bar directly. // So It ends up with that regExp is still the king of URL routing ;) // P.S. An url.pathname has no '.' can not indicate it ends with extension (e.g. /api/version/1.2/) const endWithExtension = (req) => Boolean(new URL(req.url).pathname.match(/\.\w+$/)) // Redirect in SW manually fixed github pages arbitray 404s on things?blah // what we want: // repo?blah -> !(gh 404) -> sw 302 -> repo/?blah // .ext?blah -> !(sw 302 -> .ext/?blah -> gh 404) -> .ext?blah // If It's a navigation req and it's url.pathname isn't end with '/' or '.ext' // it should be a dir/repo request and need to be fixed (a.k.a be redirected) // Tracking https://twitter.com/Huxpro/status/798816417097224193 const shouldRedirect = (req) => (isNavigationReq(req) && new URL(req.url).pathname.substr(-1) !== "/" && !endWithExtension(req)) // The Util Function to get redirect URL // `${url}/` would mis-add "/" in the end of query, so we use URL object. // P.P.S. Always trust url.pathname instead of the whole url string. const getRedirectUrl = (req) => { url = new URL(req.url) url.pathname += "/" return url.href } /** * @Lifecycle Install * Precache anything static to this version of your app. * e.g. App Shell, 404, JS/CSS dependencies... * * waitUntil() : installing ====> installed * skipWaiting() : waiting(installed) ====> activating */ self.addEventListener('install', e => { e.waitUntil( caches.open(CACHE).then(cache => { return cache.addAll(PRECACHE_LIST) .then(self.skipWaiting()) .catch(err => console.log(err)) }) ) }); /** * @Lifecycle Activate * New one activated when old isnt being used. * * waitUntil(): activating ====> activated */ self.addEventListener('activate', event => { // delete old deprecated caches. caches.keys().then(cacheNames => Promise.all( cacheNames .filter(cacheName => DEPRECATED_CACHES.includes(cacheName)) .map(cacheName => caches.delete(cacheName)) )) console.log('service worker activated.') event.waitUntil(self.clients.claim()); }); var fetchHelper = { fetchThenCache: function(request){ // Requests with mode "no-cors" can result in Opaque Response, // Requests to Allow-Control-Cross-Origin: * can't include credentials. const init = { mode: "cors", credentials: "omit" } const fetched = fetch(request, init) const fetchedCopy = fetched.then(resp => resp.clone()); // NOTE: Opaque Responses have no hedaders so [[ok]] make no sense to them // so Opaque Resp will not be cached in this case. Promise.all([fetchedCopy, caches.open(CACHE)]) .then(([response, cache]) => response.ok && cache.put(request, response)) .catch(_ => {/* eat any errors */}) return fetched; }, cacheFirst: function(url){ return caches.match(url) .then(resp => resp || this.fetchThenCache(url)) .catch(_ => {/* eat any errors */}) } } /** * @Functional Fetch * All network requests are being intercepted here. * * void respondWith(Promise<Response> r); */ self.addEventListener('fetch', event => { // logs for debugging //console.log(`fetch ${event.request.url}`) //console.log(` - type: ${event.request.type}; destination: ${event.request.destination}`) //console.log(` - mode: ${event.request.mode}, accept: ${event.request.headers.get('accept')}`) // Skip some of cross-origin requests, like those for Google Analytics. if (HOSTNAME_WHITELIST.indexOf(new URL(event.request.url).hostname) > -1) { // Redirect in SW manually fixed github pages 404s on repo?blah if (shouldRedirect(event.request)) { event.respondWith(Response.redirect(getRedirectUrl(event.request))) return; } // Cache-only Startgies for ys.static resources if (event.request.url.indexOf('ys.static') > -1){ event.respondWith(fetchHelper.cacheFirst(event.request.url)) return; } // Stale-while-revalidate for possiblily dynamic content // similar to HTTP's stale-while-revalidate: https://www.mnot.net/blog/2007/12/12/stale // Upgrade from Jake's to Surma's: https://gist.github.com/surma/eb441223daaedf880801ad80006389f1 const cached = caches.match(event.request); const fetched = fetch(getCacheBustingUrl(event.request), { cache: "no-store" }); const fetchedCopy = fetched.then(resp => resp.clone()); // Call respondWith() with whatever we get first. // Promise.race() resolves with first one settled (even rejected) // If the fetch fails (e.g disconnected), wait for the cache. // If there’s nothing in cache, wait for the fetch. // If neither yields a response, return offline pages. event.respondWith( Promise.race([fetched.catch(_ => cached), cached]) .then(resp => resp || fetched) .catch(_ => caches.match('offline.html')) ); // Update the cache with the version we fetched (only for ok status) event.waitUntil( Promise.all([fetchedCopy, caches.open(CACHE)]) .then(([response, cache]) => response.ok && cache.put(event.request, response)) .catch(_ => {/* eat any errors */ }) ); // If one request is a HTML naviagtion, checking update! if (isNavigationReq(event.request)) { // you need "preserve logs" to see this log // cuz it happened before navigating console.log(`fetch ${event.request.url}`) event.waitUntil(revalidateContent(cached, fetchedCopy)) } } }); /** * Broadcasting all clients with MessageChannel API */ function sendMessageToAllClients(msg) { self.clients.matchAll().then(clients => { clients.forEach(client => { console.log(client); client.postMessage(msg) }) }) } /** * Broadcasting all clients async */ function sendMessageToClientsAsync(msg) { // waiting for new client alive with "async" setTimeout hacking // https://twitter.com/Huxpro/status/799265578443751424 // https://jakearchibald.com/2016/service-worker-meeting-notes/#fetch-event-clients setTimeout(() => { sendMessageToAllClients(msg) }, 1000) } /** * if content modified, we can notify clients to refresh * TODO: Gh-pages rebuild everything in each release. should find a workaround (e.g. ETag with cloudflare) * * @param {Promise<response>} cachedResp [description] * @param {Promise<response>} fetchedResp [description] * @return {Promise} */ function revalidateContent(cachedResp, fetchedResp) { // revalidate when both promise resolved return Promise.all([cachedResp, fetchedResp]) .then(([cached, fetched]) => { const cachedVer = cached.headers.get('last-modified') const fetchedVer = fetched.headers.get('last-modified') console.log(`"${cachedVer}" vs. "${fetchedVer}"`); if (cachedVer !== fetchedVer) { sendMessageToClientsAsync({ 'command': 'UPDATE_FOUND', 'url': fetched.url }) } }) .catch(err => console.log(err)) }
const router = require("express").Router(); const path = require('path'); router.get("/", (req, res) => { res.sendFile(path.join(__dirname, '../public/index.html')); }); router.get("/stats", (req, res) => { res.sendFile(path.join(__dirname, '../public/stats.html')); }); router.get("/exercise", (req, res) => { res.sendFile(path.join(__dirname, '../public/exercise.html')); }); router.get("*", (req, res) => { res.sendFile(path.join(__dirname, '../public/index.html')); }); module.exports = router;
#!/usr/bin/python from __future__ import with_statement, print_function from datetime import datetime, timedelta import unittest import os from trello import TrelloClient, ResourceUnavailable class TrelloCardTestCase(unittest.TestCase): """ Tests for TrelloClient API. Note these test are in order to preserve dependencies, as an API integration cannot be tested independently. """ @classmethod def setUpClass(cls): cls._trello = TrelloClient(os.environ['TRELLO_API_KEY'], token=os.environ['TRELLO_TOKEN']) for b in cls._trello.list_boards(): if b.name == os.environ['TRELLO_TEST_BOARD_NAME']: cls._board = b break if not cls._board: cls.fail("Couldn't find test board") cls._list = cls._board.add_list(str(datetime.now())) def _add_card(self, name, description=None): try: card = self._list.add_card(name, description) self.assertIsNotNone(card, msg="card is None") self.assertIsNotNone(card.id, msg="id not provided") self.assertEqual(card.name, name) return card except Exception as e: print(str(e)) self.fail("Caught Exception adding card") def test40_add_card(self): name = "Testing from Python - no desc" card = self._add_card(name) self.assertIsNotNone(card.closed, msg="closed not provided") self.assertFalse(card.closed, msg="Card should not be closed") card2 = self._trello.get_card(card.id) self.assertEqual(card.name, card2.name) def test41_add_card_desc(self): name = "Testing from Python" description = "Description goes here" card = self._add_card(name, description) card.fetch() self.assertEqual(description, card.description) self.assertIsNotNone(card.url, msg="url not provided") self.assertIsNotNone(card.member_id) self.assertIsNotNone(card.short_id) self.assertIsNotNone(card.list_id) self.assertIsNotNone(card.comments) self.assertIsNotNone(card.checklists) self.assertIsInstance(card.created_date, datetime) def test42_add_card_with_comments_fetch(self): name = "Card with comments" comment = "Hello World!" card = self._add_card(name) card.comment(comment) card.fetch(True) self.assertEqual(len(card.comments), 1) self.assertEqual(card.comments[0]['data']['text'], comment) def test43_get_comments(self): name = "Card with comments 2" comment = "Hello World!" card = self._add_card(name) card.comment(comment) card._comments = card.get_comments() self.assertEqual(len(card.comments), 1) self.assertEqual(card.comments[0]['data']['text'], comment) def test44_attach_url_to_card(self): name = "Testing from Python - url" card = self._add_card(name) card.attach(name='lwn', url='http://lwn.net/') card.fetch() self.assertEqual(card.badges['attachments'], 1) card.delete() def test52_add_card_set_due(self): name = "Testing set due" card = self._add_card(name) # Set the due date to be 3 days from now today = datetime.today() day_detla = timedelta(3) due_date = today + day_detla card.set_due(due_date) expected_due_date = card.due # Refresh the due date from cloud card.fetch() actual_due_date = card.due self.assertEqual(expected_due_date[:8], actual_due_date[:8]) def test_set_name(self): name = "Testing set card name" card = self._list.add_card('noname') card.set_name(name) self.assertEqual(card.name, name) def test_set_desc(self): card = self._list.add_card("Testing set card desc") description = "Description goes here" card.set_description(description) self.assertEqual(card.description, description) card.fetch() self.assertEqual(card.description, description) def test_set_closed(self): name = "Testing set card closed" card = self._list.add_card(name) self.assertFalse(card.closed) card.set_closed(True) self.assertTrue(card.closed) card.fetch() self.assertTrue(card.closed) def test81_resource_unavailable(self): self.assertRaises(ResourceUnavailable, self._trello.get_card, '0dsfkjhsdf87342ed') def suite(): # tests = ['test01_list_boards', 'test10_board_attrs', 'test20_add_card'] # return unittest.TestSuite(map(TrelloBoardTestCase, tests)) return unittest.TestLoader().loadTestsFromTestCase(TrelloBoardTestCase) if __name__ == "__main__": unittest.main()
import React, {useState} from 'react' import Numero from './componentes/Numero' import './App.css' export default function App(){ const[num,setNum] = useState(15) const[nome, setNome]=useState('Darcisio Almeida') /*let n1 =35//não se usa váriavel, pois não está associado ao valor do componente const n100=()=>{//não mudo o valor, pois é um estado,não esta associado a propriedade do componente,ou seja quando muda o valor o componente não muda ou não renderiza. n1=100 console.log(n1) }*/ return( <> <p>Valor do state num em App: {num}</p> <Numero num={num} setNum={setNum}/> <p>{nome} setNome{setNome}</p> </> ) }
import unittest import time from collections.abc import Iterable import numpy as np import openmdao.api as om from openmdao.utils.mpi import MPI from openmdao.utils.array_utils import evenly_distrib_idxs, take_nth from openmdao.utils.assert_utils import assert_near_equal, assert_warning try: from parameterized import parameterized except ImportError: from openmdao.utils.assert_utils import SkipParameterized as parameterized try: from openmdao.vectors.petsc_vector import PETScVector except ImportError: PETScVector = None def _test_func_name(func, num, param): args = [] for p in param.args: if isinstance(p, str): p = {p.replace('.', '_')} elif not isinstance(p, Iterable): p = {p} for item in p: try: arg = item.__name__ except: arg = str(item) args.append(arg) return func.__name__ + '_' + '_'.join(args) class PathCompEx(om.ExplicitComponent): def __init__(self, s=''): super().__init__() self.s = s def setup(self): self.add_discrete_input('x', val=self.s) self.add_discrete_output('y', val=self.s) def compute(self, inputs, outputs, discrete_inputs, discrete_outputs): discrete_outputs['y'] = discrete_inputs['x'] + self.pathname + '/' class SerialTests(unittest.TestCase): @parameterized.expand([(3, 'par.C1.x', True), (3, 'par.C2.x', True), (3, 'indeps.x', False)], name_func=_test_func_name) def test_fan_out(self, size, toset, auto): p = om.Problem() model = p.model if not auto: ivc = model.add_subsystem('indeps', om.IndepVarComp()) ivc.add_output('x', np.ones(size)) par = model.add_subsystem('par', om.ParallelGroup()) par.add_subsystem('C1', om.ExecComp('y = 3 * x', x=np.ones(size), y=np.ones(size)), promotes_inputs=['x']) par.add_subsystem('C2', om.ExecComp('y = 5 * x', x=np.ones(size), y=np.ones(size)), promotes_inputs=['x']) if not auto: model.connect('indeps.x', 'par.x') p.setup() inval = np.arange(size) + 1.0 p[toset] = inval p.run_model() np.testing.assert_allclose(p.get_val('par.C1.y', get_remote=True), inval * 3.) np.testing.assert_allclose(p.get_val('par.C2.y', get_remote=True), inval * 5.) of = ['par.C1.y', 'par.C2.y'] if auto: wrt = ['par.x'] else: wrt = ['indeps.x'] J = p.compute_totals(of=of, wrt=wrt, return_format='flat_dict') np.testing.assert_allclose(J['par.C1.y', wrt[0]], 3. * np.eye(size)) np.testing.assert_allclose(J['par.C2.y', wrt[0]], 5. * np.eye(size)) @parameterized.expand([(3, 'par.C1.x', True, True), (3, 'par.C1.x', True, False), (3, 'par.C2.x', True, True), (3, 'par.C2.x', True, False), (3, 'C3.x', True, True), (3, 'C3.x', True, False), (3, 'indeps.x', False, True), (3, 'indeps.x', False, False)], name_func=_test_func_name) def test_fan_out_with_dup(self, size, toset, auto, before): # this connects an auto_ivc to 3 variables. 2 are under a parallel group and 1 is # duplicated in all procs p = om.Problem() model = p.model if not auto: ivc = model.add_subsystem('indeps', om.IndepVarComp()) ivc.add_output('x', np.ones(size)) c3 = om.ExecComp('y = 4. * x', x=np.ones(size), y=np.ones(size)) if before: model.add_subsystem('C3', c3, promotes_inputs=['x']) par = model.add_subsystem('par', om.ParallelGroup(), promotes_inputs=['x']) par.add_subsystem('C1', om.ExecComp('y = 3 * x', x=np.ones(size), y=np.ones(size)), promotes_inputs=['x']) par.add_subsystem('C2', om.ExecComp('y = 5 * x', x=np.ones(size), y=np.ones(size)), promotes_inputs=['x']) if not before: model.add_subsystem('C3', c3, promotes_inputs=['x']) if not auto: model.connect('indeps.x', 'x') p.setup() inval = np.arange(size) + 1.0 p[toset] = inval p.run_model() np.testing.assert_allclose(p.get_val('par.C1.y', get_remote=True), inval * 3.) np.testing.assert_allclose(p.get_val('par.C2.y', get_remote=True), inval * 5.) np.testing.assert_allclose(p.get_val('C3.y', get_remote=True), inval * 4.) of = ['par.C1.y', 'par.C2.y', 'C3.y'] if auto: wrt = ['x'] else: wrt = ['indeps.x'] J = p.compute_totals(of=of, wrt=wrt, return_format='flat_dict') np.testing.assert_allclose(J['par.C1.y', wrt[0]], 3. * np.eye(size)) np.testing.assert_allclose(J['par.C2.y', wrt[0]], 5. * np.eye(size)) np.testing.assert_allclose(J['C3.y', wrt[0]], 4. * np.eye(size)) # try with absolute names if not auto: J = p.compute_totals(of=of, wrt=['indeps.x'], return_format='flat_dict') np.testing.assert_allclose(J['par.C1.y', 'indeps.x'], 3. * np.eye(size)) np.testing.assert_allclose(J['par.C2.y', 'indeps.x'], 5. * np.eye(size)) np.testing.assert_allclose(J['C3.y', 'indeps.x'], 4. * np.eye(size)) @parameterized.expand([(3, 'par.C1.x', 'par.C2.x', True), (3, 'par.C1.x', 'par.C2.x', True), (3, 'indeps1.x', 'indeps2.x', False)], name_func=_test_func_name) def test_fan_in(self, size, toset1, toset2, auto): p = om.Problem() model = p.model if not auto: ivc = model.add_subsystem('indeps1', om.IndepVarComp()) ivc.add_output('x', np.ones(size)) ivc = model.add_subsystem('indeps2', om.IndepVarComp()) ivc.add_output('x', np.ones(size)) par = model.add_subsystem('par', om.ParallelGroup()) par.add_subsystem('C1', om.ExecComp('y = 3 * x', x=np.ones(size), y=np.ones(size))) par.add_subsystem('C2', om.ExecComp('y = 5 * x', x=np.ones(size), y=np.ones(size))) model.add_subsystem('sum', om.ExecComp('z = x + y', x=np.ones(size), y=np.ones(size), z=np.ones(size))) if not auto: model.connect('indeps1.x', 'par.C1.x') model.connect('indeps2.x', 'par.C2.x') model.connect('par.C1.y', 'sum.x') model.connect('par.C2.y', 'sum.y') p.setup() inval1 = np.arange(size) + 1.0 inval2 = (np.arange(size) + 1.0)[::-1] p[toset1] = inval1 p[toset2] = inval2 p.run_model() np.testing.assert_allclose(p['sum.z'], inval1 * 3. + inval2 * 5.) def test_discrete_fan_out(self): p = om.Problem() model = p.model par = model.add_subsystem('par', om.ParallelGroup(), promotes=['x']) par.add_subsystem('C1', PathCompEx(), promotes=['x']) par.add_subsystem('C2', PathCompEx(), promotes=['x']) p.setup() p.run_model() self.assertEqual(p.get_val('par.C1.y', get_remote=True), 'par.C1/') self.assertEqual(p.get_val('par.C2.y', get_remote=True), 'par.C2/') def test_discrete_fan_out(self): p = om.Problem() model = p.model par = model.add_subsystem('par', om.ParallelGroup(), promotes=['x']) par.add_subsystem('C1', PathCompEx('foo'), promotes=['x']) par.add_subsystem('C2', PathCompEx('bar'), promotes=['x']) try: p.setup() except Exception as err: self.assertEqual(str(err), "<model> <class Group>: The following inputs, ['par.C1.x', 'par.C2.x'], promoted to 'x', are connected but their metadata entries ['val'] differ. Call <group>.set_input_defaults('x', val=?), where <group> is the Group named 'par' to remove the ambiguity.") else: self.fail("Exception expected.") def test_obj_using_input_name(self): class Phase(om.Group): def setup(self): self.add_subsystem('C1', om.ExecComp('y=.5*x')) self.add_subsystem('C2', om.ExecComp('y=g*x')) self.add_subsystem('C3', om.ExecComp('y=-x')) # this is the culprit. Bug when objective is added in group using input name self.add_objective('C2.g') self.add_design_var('C2.g') self.connect('C1.y', 'C2.x') self.connect('C2.y', 'C3.x') p = om.Problem() indep = p.model.add_subsystem('indep', om.IndepVarComp('x')) indep.add_output('g') p.model.add_subsystem('phase0', Phase()) p.model.connect('indep.x', 'phase0.C1.x') p.model.add_design_var('indep.x') p.model.add_constraint('phase0.C3.y', equals=0.0) p.setup(force_alloc_complex=True) p['indep.x'] = [9.9] p['indep.g'] = 9.80665 p.run_model() totals = p.check_totals(compact_print=True, method='cs', out_stream=None) for key, meta in totals.items(): np.testing.assert_allclose(meta['abs error'][0], 0.) def test_set_val_auto_ivc(self): p = om.Problem() p.model.add_subsystem('exec', om.ExecComp('z = a + b**2 + c**3', z={'shape': (100,)}, a={'shape': (100,)}, b={'shape': (100,)}, c={'shape': (100,)})) p.setup() p.set_val('exec.a', np.linspace(5, 10, 100)) p.set_val('exec.b', np.linspace(10, 20, 15)) p.set_val('exec.c', np.linspace(1, 3, 23)) with self.assertRaises(ValueError) as cm: p.final_setup() # can not broadcast input array from shape (15,) into shape (100,) for exec.b self.assertTrue(str(cm.exception).startswith( "<model> <class Group>: Failed to set value of 'exec.b': ")) @unittest.skipUnless(MPI and PETScVector, "MPI and PETSc are required.") class MPITests(SerialTests): N_PROCS = 2
/** * @license Copyright 2016 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ 'use strict'; const URL = require('../lib/url-shim'); const Audit = require('./audit'); class ServiceWorker extends Audit { /** * @return {!AuditMeta} */ static get meta() { return { category: 'Offline', name: 'service-worker', description: 'Registers a service worker', failureDescription: 'Does not register a service worker', helpText: 'The service worker is the technology that enables your app to use many ' + 'Progressive Web App features, such as offline, add to homescreen, and push ' + 'notifications. [Learn more](https://developers.google.com/web/tools/lighthouse/audits/registered-service-worker).', requiredArtifacts: ['URL', 'ServiceWorker'], }; } /** * @param {!Artifacts} artifacts * @return {!AuditResult} */ static audit(artifacts) { // Find active service worker for this URL. Match against // artifacts.URL.finalUrl so audit accounts for any redirects. const versions = artifacts.ServiceWorker.versions; const url = artifacts.URL.finalUrl; const origin = new URL(url).origin; const matchingSW = versions.filter(v => v.status === 'activated') .find(v => new URL(v.scriptURL).origin === origin); return { rawValue: !!matchingSW, }; } } module.exports = ServiceWorker;
import abc import logging from collections import OrderedDict from pkg_resources import iter_entry_points, load_entry_point, DistributionNotFound from six import add_metaclass LOG = logging.getLogger('alerta.plugins') @add_metaclass(abc.ABCMeta) class PluginBase(object): def __init__(self, name=None): self.name = name or self.__module__ @abc.abstractmethod def pre_receive(self, alert): """Pre-process an alert based on alert properties or reject it by raising RejectException.""" return alert @abc.abstractmethod def post_receive(self, alert): """Send an alert to another service or notify users.""" return None @abc.abstractmethod def status_change(self, alert, status, text): """Trigger integrations based on status changes.""" return None class Plugins(object): def __init__(self): self.plugins = OrderedDict() self.rules = None app.init_app() # fake app for plugin config def register(self, app): entry_points = {} for ep in iter_entry_points('alerta.plugins'): LOG.debug("Server plugin '%s' installed.", ep.name) entry_points[ep.name] = ep for name in app.config['PLUGINS']: try: plugin = entry_points[name].load() if plugin: self.plugins[name] = plugin() LOG.info("Server plugin '%s' enabled.", name) except Exception as e: LOG.error("Server plugin '%s' could not be loaded: %s", name, e) LOG.info("All server plugins enabled: %s", ', '.join(self.plugins.keys())) try: self.rules = load_entry_point('alerta-routing', 'alerta.routing', 'rules') except (DistributionNotFound, ImportError): LOG.info('No plugin routing rules found. All plugins will be evaluated.') def routing(self, alert): try: if self.plugins and self.rules: return self.rules(alert, self.plugins) except Exception as e: LOG.warning("Plugin routing rules failed: %s", str(e)) return self.plugins.values() class FakeApp(object): def init_app(self): from alerta.app import config self.config = config.get_user_config() app = FakeApp() # used for plugin config only
const siteConfig = require('./site-config'); module.exports = { siteMetadata: { ...siteConfig, }, plugins: [ `gatsby-plugin-react-helmet`, `gatsby-plugin-sitemap`, `gatsby-plugin-offline`, `gatsby-transformer-json`, `gatsby-transformer-remark`, `gatsby-plugin-eslint`, { resolve: `gatsby-source-filesystem`, options: { name: `content`, path: `${__dirname}/content`, }, }, `gatsby-plugin-sharp`, `gatsby-transformer-sharp`, `gatsby-plugin-webpack-size`, { resolve: `gatsby-plugin-react-svg`, options: { rule: { include: /images/, }, }, }, { resolve: `gatsby-plugin-google-analytics`, options: { trackingId: 'UA-120821255-1', }, }, ], };
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. 'use strict'; function main(name) { // [START aistreams_v1alpha1_generated_AIStreams_GetCluster_async] /** * TODO(developer): Uncomment these variables before running the sample. */ /** * Required. The name of the Cluster resource to get. */ // const name = 'abc123' // Imports the Aistreams library const {AIStreamsClient} = require('aistreams').v1alpha1; // Instantiates a client const aistreamsClient = new AIStreamsClient(); async function getCluster() { // Construct request const request = { name, }; // Run request const response = await aistreamsClient.getCluster(request); console.log(response); } getCluster(); // [END aistreams_v1alpha1_generated_AIStreams_GetCluster_async] } process.on('unhandledRejection', err => { console.error(err.message); process.exitCode = 1; }); main(...process.argv.slice(2));
var test = require('tap').test, fs = require('fs'), glob = require('glob'), fuzzer = require('fuzzer'), path = require('path'), tokml = require('../'); test('tokml', function(t) { function geq(t, name, options) { var expected = tokml(file(name + '.geojson'), options); if (process.env.UPDATE) { fs.writeFileSync(path.join(__dirname, '/data/', name + '.kml'), expected); } t.equal(expected, output(name + '.kml'), name); } t.test('geometry', function(tt) { geq(tt, 'polygon'); geq(tt, 'linestring'); geq(tt, 'multilinestring'); geq(tt, 'multipoint'); geq(tt, 'multipolygon'); geq(tt, 'geometrycollection'); tt.end(); }); t.test('quirks', function(tt) { geq(tt, 'cdata'); geq(tt, 'singlefeature'); geq(tt, 'singlegeometry'); geq(tt, 'unknown'); geq(tt, 'nulldata'); geq(tt, 'unknowngeom'); geq(tt, 'unknowntype'); geq(tt, 'notype'); geq(tt, 'number_property'); geq(tt, 'polygon_norings'); geq(tt, 'multipolygon_none'); geq(tt, 'multipoint_none'); geq(tt, 'multilinestring_none'); tt.end(); }); test('name & description', function(tt) { geq(tt, 'name_desc'); geq(tt, 'document_name_desc', { documentName: 'Document Title', documentDescription: 'Document Description' }); tt.end(); }); test('timestamp', function(tt) { geq(tt, 'timestamp', { name: 'name', description: 'description', timestamp: 'moment' }); tt.end(); }); test('simplestyle spec', function(tt) { geq(tt, 'simplestyle', { simplestyle: true }); tt.end(); }); test('fuzz', function(tt) { fuzzer.seed(0); glob.sync(__dirname + '/data/*.geojson').forEach(function(gj) { var generator = fuzzer.mutate.object(JSON.parse(fs.readFileSync(gj))); for (var i = 0; i < 10; i++) { var gen = generator(); try { tokml(gen); } catch(e) { tt.fail('failed ' + JSON.stringify(gen) + 'with ' + e + e.stack); } } }); tt.end(); }); }); function file(f) { return JSON.parse(fs.readFileSync(__dirname + '/data/' + f)); } function output(f) { return fs.readFileSync(__dirname + '/data/' + f, 'utf8'); }
var logger = require('../utils/winston'); var { OWNERS } = require('../config/conf'); var controller = require('./index'); const compareProducts = async function (req, res, next) { let q = req.params.q; logger.info(`***** COMPARE PRODUCT FOR ${q} *****`); logger.info(q); let ownerPromise = new Array(); for (let eachOwner of OWNERS) { // if (eachOwner != store && eachOwner != "index") { ownerPromise.push(controller[eachOwner].getProductDetails(q)); // } } let ans = await Promise.all(ownerPromise); let i = 0; for (let eachAns of ans) { if (eachAns.error == 0) { ownerPromise.splice(i, 1); } else { i++; } } let pendingAns = await Promise.all(ownerPromise); for (i = 0; i < ans.length; i++) { if (ans[i].error != 0) { ans[i] = pendingAns.shift(); } else { i++; } } res.json(ans); } exports.compareProducts = compareProducts;
// UX portfolio // link to heroku app // fireflies
# python 3 from __future__ import print_function, division, absolute_import import os import argparse import random import numpy as np import time # from numpy import linalg import os.path as osp cur_dir = osp.dirname(osp.abspath(__file__)) from sklearn.datasets import load_svmlight_file from scipy.sparse import csr_matrix # from scipy.sparse import linalg import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt import tensorflow as tf path_train = osp.join(cur_dir, "../a9a/a9a") path_test = osp.join(cur_dir, "../a9a/a9a.t") MAX_ITER = 100 np_dtype = np.float32 tf_dtype = tf.float32 # manual seed manualSeed = random.randint(1, 10000) # fix seed print("Random Seed: ", manualSeed) random.seed(manualSeed) np.random.seed(manualSeed) # load all data X_train, y_train = load_svmlight_file(path_train, n_features=123, dtype=np_dtype) X_test, y_test = load_svmlight_file(path_test, n_features=123, dtype=np_dtype) # X: scipy.sparse.csr.csr_matrix # X_train: (32561, 123), y_train: (32561,) # X_test: (16281, 123), y_test:(16281,) # stack a dimension of ones to X to simplify computation N_train = X_train.shape[0] N_test = X_test.shape[0] X_train = np.hstack((np.ones((N_train, 1)), X_train.toarray())) X_test = np.hstack((np.ones((N_test, 1)), X_test.toarray())) y_train = y_train.reshape((N_train, 1)) y_test = y_test.reshape((N_test, 1)) # label: -1, +1 ==> 0, 1 y_train = np.where(y_train == -1, 0, 1) y_test = np.where(y_test == -1, 0, 1) # NB: here X's shape is (N,d), which differs to the derivation # def sigmoid(v, a=1): # ''' # 1./(1+exp(-a*v)) # v: input, can be a ndarray, in this case, sigmoid is applied element-wise # ''' # res = np.zeros(v.shape, dtype=dtype) # res = np.where(a*v>=0, 1./(1+np.exp(-a*v)), np.exp(a*v)/(1 + np.exp(a*v))) # return res #1./(1+np.exp(-a*v)) def neg_log_likelihood(w, X, y, L2_param=None): """ w: dx1 X: Nxd y: Nx1 L2_param: \lambda>0, will introduce -\lambda/2 ||w||_2^2 """ res = tf.matmul(tf.matmul(tf.transpose(w), tf.transpose(X)), y) - tf.reduce_sum(tf.log(1 + tf.exp(tf.matmul(X, w)))) if L2_param != None and L2_param > 0: res += -0.5 * L2_param * tf.matmul(tf.transpose(w), w) return -res[0][0] def prob(X, w): """ X: Nxd w: dx1 --- prob: N x num_classes(2)""" y = tf.constant(np.array([0.0, 1.0]), dtype=tf.float32) prob = tf.exp(tf.matmul(X, w) * y) / (1 + tf.exp(tf.matmul(X, w))) return prob def compute_acc(X, y, w): p = prob(X, w) y_pred = tf.cast(tf.argmax(p, axis=1), tf.float32) y = tf.squeeze(y) acc = tf.reduce_mean(tf.cast(tf.equal(y, y_pred), tf.float32)) return acc def update(w_old, X, y, L2_param=0): """ w_new = w_old - w_update w_update = (X'RX+lambda*I)^(-1) (X'(mu-y) + lambda*w_old) lambda is L2_param w_old: dx1 X: Nxd y: Nx1 --- w_update: dx1 """ d = X.shape.as_list()[1] mu = tf.sigmoid(tf.matmul(X, w_old)) # Nx1 R_flat = mu * (1 - mu) # element-wise, Nx1 L2_reg_term = L2_param * tf.eye(d) XRX = tf.matmul(tf.transpose(X), R_flat * X) + L2_reg_term # dxd S, U, V = tf.svd(XRX, full_matrices=True, compute_uv=True) S = tf.expand_dims(S, 1) # calculate pseudo inverse via SVD S_pinv = tf.where(tf.not_equal(S, 0), 1 / S, tf.zeros_like(S)) # not good, will produce inf when divide by 0 XRX_pinv = tf.matmul(V, S_pinv * tf.transpose(U)) # w = w - (X^T R X)^(-1) X^T (mu-y) # w_new = tf.assign(w_old, w_old - tf.matmul(tf.matmul(XRX_pinv, tf.transpose(X)), mu - y)) w_update = tf.matmul(XRX_pinv, tf.matmul(tf.transpose(X), mu - y) + L2_param * w_old) return w_update def optimize(w_old, w_update): """custom update op, instead of using SGD variants""" return w_old.assign(w_old - w_update) def train_IRLS(X_train, y_train, X_test=None, y_test=None, L2_param=0, max_iter=MAX_ITER): """train Logistic Regression via IRLS algorithm X: Nxd y: Nx1 --- """ N, d = X_train.shape X = tf.placeholder(dtype=tf.float32, shape=(None, 124), name="X") y = tf.placeholder(dtype=tf.float32, shape=(None, 1), name="y") w = tf.Variable(0.01 * tf.ones((d, 1), dtype=tf.float32), name="w") w_update = update(w, X, y, L2_param) with tf.variable_scope("neg_L"): neg_L = neg_log_likelihood(w, X, y, L2_param) neg_L_summ = tf.summary.scalar("neg_L", neg_L) with tf.variable_scope("accuracy"): acc = compute_acc(X, y, w) acc_summ = tf.summary.scalar("acc", acc) optimize_op = optimize(w, w_update) merged_all = tf.summary.merge_all() config = tf.ConfigProto(allow_soft_placement=True, log_device_placement=False) config.gpu_options.allow_growth = True config.gpu_options.per_process_gpu_memory_fraction = 0.8 sess = tf.Session(config=config) sess.run(tf.global_variables_initializer()) summary_writer = tf.summary.FileWriter("./log", sess.graph) train_feed_dict = {X: X_train, y: y_train} test_feed_dict = {X: X_test, y: y_test} print("start training...") print("L2 param(lambda): {}".format(L2_param)) i = 0 # iteration w_old = w while i <= max_iter: print("iter: {}".format(i)) print("\t neg log likelihood: {}".format(sess.run(neg_L, feed_dict=train_feed_dict))) train_acc, merged = sess.run([acc, merged_all], feed_dict=train_feed_dict) summary_writer.add_summary(merged, i) test_acc = sess.run(acc, feed_dict=test_feed_dict) print("\t train acc: {}, test acc: {}".format(train_acc, test_acc)) L2_norm_w = np.linalg.norm(sess.run(w)) print("\t L2 norm of w: {}".format(L2_norm_w)) if i > 0: diff_w = np.linalg.norm(sess.run(w_update, feed_dict=train_feed_dict)) print("\t diff of w_old and w: {}".format(diff_w)) if diff_w < 1e-2: break w_new = sess.run(optimize_op, feed_dict=train_feed_dict) i += 1 print("training done.") if __name__ == "__main__": lambda_ = 20 # 0 train_IRLS(X_train, y_train, X_test, y_test, L2_param=lambda_, max_iter=100) # from sklearn.linear_model import LogisticRegression # classifier = LogisticRegression() # classifier.fit(X_train, y_train.reshape(N_train,)) # y_pred_train = classifier.predict(X_train) # train_acc = np.sum(y_train.reshape(N_train,) == y_pred_train)/N_train # print('train_acc: {}'.format(train_acc)) # y_pred_test = classifier.predict(X_test) # test_acc = np.sum(y_test.reshape(N_test,) == y_pred_test)/N_test # print('test acc: {}'.format(test_acc))
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # Tests for this file live in python/kernel_tests/array_ops_test.py """Support for manipulating tensors.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import numbers import numpy as np from tensorflow.python.eager import context from tensorflow.python.framework import common_shapes from tensorflow.python.framework import composite_tensor from tensorflow.python.framework import constant_op from tensorflow.python.framework import dtypes from tensorflow.python.framework import ops from tensorflow.python.framework import sparse_tensor from tensorflow.python.framework import tensor_shape from tensorflow.python.framework import tensor_util # 'Constant' gets imported in the module 'array_ops'. from tensorflow.python.framework.constant_op import constant from tensorflow.python.ops import gen_array_ops from tensorflow.python.ops import gen_math_ops # go/tf-wildcard-import # pylint: disable=wildcard-import from tensorflow.python.ops.gen_array_ops import * from tensorflow.python.ops.gen_array_ops import reverse_v2 as reverse # pylint: disable=unused-import from tensorflow.python.util import deprecation from tensorflow.python.util import dispatch from tensorflow.python.util import nest from tensorflow.python.util import tf_decorator from tensorflow.python.util.tf_export import tf_export # pylint: enable=wildcard-import # Used for slicing to specify a new 1 size dimension newaxis = None tf_export("newaxis").export_constant(__name__, "newaxis") # We override the 'slice' for the "slice" op, so we keep python's # existing 'slice' for later use in this module. _BaseSlice = slice @tf_export("reshape", v1=["reshape", "manip.reshape"]) def reshape(tensor, shape, name=None): # pylint: disable=redefined-outer-name r"""Reshapes a tensor. Given `tensor`, this operation returns a new `tf.Tensor` that has the same values as `tensor` in the same order, except with a new shape given by `shape`. >>> t1 = [[1, 2, 3], ... [4, 5, 6]] >>> print(tf.shape(t1).numpy()) [2 3] >>> t2 = tf.reshape(t1, [6]) >>> t2 <tf.Tensor: shape=(6,), dtype=int32, numpy=array([1, 2, 3, 4, 5, 6], dtype=int32)> >>> tf.reshape(t2, [3, 2]) <tf.Tensor: shape=(3, 2), dtype=int32, numpy= array([[1, 2], [3, 4], [5, 6]], dtype=int32)> The `tf.reshape` does not change the order of or the total number of elements in the tensor, and so it can reuse the underlying data buffer. This makes it a fast operation independent of how big of a tensor it is operating on. >>> tf.reshape([1, 2, 3], [2, 2]) Traceback (most recent call last): ... InvalidArgumentError: Input to reshape is a tensor with 3 values, but the requested shape has 4 To instead reorder the data to rearrange the dimensions of a tensor, see `tf.transpose`. >>> t = [[1, 2, 3], ... [4, 5, 6]] >>> tf.reshape(t, [3, 2]).numpy() array([[1, 2], [3, 4], [5, 6]], dtype=int32) >>> tf.transpose(t, perm=[1, 0]).numpy() array([[1, 4], [2, 5], [3, 6]], dtype=int32) If one component of `shape` is the special value -1, the size of that dimension is computed so that the total size remains constant. In particular, a `shape` of `[-1]` flattens into 1-D. At most one component of `shape` can be -1. >>> t = [[1, 2, 3], ... [4, 5, 6]] >>> tf.reshape(t, [-1]) <tf.Tensor: shape=(6,), dtype=int32, numpy=array([1, 2, 3, 4, 5, 6], dtype=int32)> >>> tf.reshape(t, [3, -1]) <tf.Tensor: shape=(3, 2), dtype=int32, numpy= array([[1, 2], [3, 4], [5, 6]], dtype=int32)> >>> tf.reshape(t, [-1, 2]) <tf.Tensor: shape=(3, 2), dtype=int32, numpy= array([[1, 2], [3, 4], [5, 6]], dtype=int32)> `tf.reshape(t, [])` reshapes a tensor `t` with one element to a scalar. >>> tf.reshape([7], []).numpy() 7 More examples: >>> t = [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> print(tf.shape(t).numpy()) [9] >>> tf.reshape(t, [3, 3]) <tf.Tensor: shape=(3, 3), dtype=int32, numpy= array([[1, 2, 3], [4, 5, 6], [7, 8, 9]], dtype=int32)> >>> t = [[[1, 1], [2, 2]], ... [[3, 3], [4, 4]]] >>> print(tf.shape(t).numpy()) [2 2 2] >>> tf.reshape(t, [2, 4]) <tf.Tensor: shape=(2, 4), dtype=int32, numpy= array([[1, 1, 2, 2], [3, 3, 4, 4]], dtype=int32)> >>> t = [[[1, 1, 1], ... [2, 2, 2]], ... [[3, 3, 3], ... [4, 4, 4]], ... [[5, 5, 5], ... [6, 6, 6]]] >>> print(tf.shape(t).numpy()) [3 2 3] >>> # Pass '[-1]' to flatten 't'. >>> tf.reshape(t, [-1]) <tf.Tensor: shape=(18,), dtype=int32, numpy=array([1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6], dtype=int32)> >>> # -- Using -1 to infer the shape -- >>> # Here -1 is inferred to be 9: >>> tf.reshape(t, [2, -1]) <tf.Tensor: shape=(2, 9), dtype=int32, numpy= array([[1, 1, 1, 2, 2, 2, 3, 3, 3], [4, 4, 4, 5, 5, 5, 6, 6, 6]], dtype=int32)> >>> # -1 is inferred to be 2: >>> tf.reshape(t, [-1, 9]) <tf.Tensor: shape=(2, 9), dtype=int32, numpy= array([[1, 1, 1, 2, 2, 2, 3, 3, 3], [4, 4, 4, 5, 5, 5, 6, 6, 6]], dtype=int32)> >>> # -1 is inferred to be 3: >>> tf.reshape(t, [ 2, -1, 3]) <tf.Tensor: shape=(2, 3, 3), dtype=int32, numpy= array([[[1, 1, 1], [2, 2, 2], [3, 3, 3]], [[4, 4, 4], [5, 5, 5], [6, 6, 6]]], dtype=int32)> Args: tensor: A `Tensor`. shape: A `Tensor`. Must be one of the following types: `int32`, `int64`. Defines the shape of the output tensor. name: Optional string. A name for the operation. Returns: A `Tensor`. Has the same type as `tensor`. """ result = gen_array_ops.reshape(tensor, shape, name) tensor_util.maybe_set_static_shape(result, shape) return result @tf_export("fill") def fill(dims, value, name=None): r"""Creates a tensor filled with a scalar value. This operation creates a tensor of shape `dims` and fills it with `value`. For example: >>> tf.fill([2, 3], 9) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[9, 9, 9], [9, 9, 9]], dtype=int32)> `tf.fill` evaluates at graph runtime and supports dynamic shapes based on other runtime `tf.Tensors`, unlike `tf.constant(value, shape=dims)`, which embeds the value as a `Const` node. Args: dims: A 1-D sequence of non-negative numbers. Represents the shape of the output `tf.Tensor`. Entries should be of type: `int32`, `int64`. value: A value to fill the returned `tf.Tensor`. name: Optional string. The name of the output `tf.Tensor`. Returns: A `tf.Tensor` with shape `dims` and the same dtype as `value`. Raises: InvalidArgumentError: `dims` contains negative entries. NotFoundError: `dims` contains non-integer entries. @compatibility(numpy) Similar to `np.full`. In `numpy`, more parameters are supported. Passing a number argument as the shape (`np.full(5, value)`) is valid in `numpy` for specifying a 1-D shaped result, while TensorFlow does not support this syntax. @end_compatibility """ result = gen_array_ops.fill(dims, value, name=name) tensor_util.maybe_set_static_shape(result, dims) return result @tf_export("identity") @dispatch.add_dispatch_support def identity(input, name=None): # pylint: disable=redefined-builtin r"""Return a Tensor with the same shape and contents as input. The return value is not the same Tensor as the original, but contains the same values. This operation is fast when used on the same device. For example: >>> a = tf.constant([0.78]) >>> a_identity = tf.identity(a) >>> a.numpy() array([0.78], dtype=float32) >>> a_identity.numpy() array([0.78], dtype=float32) Calling `tf.identity` on a variable will make a Tensor that represents the value of that variable at the time it is called. This is equivalent to calling `<variable>.read_value()`. >>> a = tf.Variable(5) >>> a_identity = tf.identity(a) >>> a.assign_add(1) <tf.Variable ... shape=() dtype=int32, numpy=6> >>> a.numpy() 6 >>> a_identity.numpy() 5 Args: input: A `Tensor`. name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `input`. """ if isinstance(input, composite_tensor.CompositeTensor): return nest.map_structure(identity, input, expand_composites=True) if context.executing_eagerly() and not hasattr(input, "graph"): # Make sure we get an input with handle data attached from resource # variables. Variables have correct handle data when graph building. input = ops.convert_to_tensor(input) ret = gen_array_ops.identity(input, name=name) # Propagate handle data for happier shape inference for resource variables. if hasattr(input, "_handle_data"): ret._handle_data = input._handle_data # pylint: disable=protected-access return ret # pylint: disable=redefined-builtin,protected-access @tf_export(v1=["expand_dims"]) @dispatch.add_dispatch_support @deprecation.deprecated_args(None, "Use the `axis` argument instead", "dim") def expand_dims(input, axis=None, name=None, dim=None): """Inserts a dimension of 1 into a tensor's shape. Given a tensor `input`, this operation inserts a dimension of 1 at the dimension index `axis` of `input`'s shape. The dimension index `axis` starts at zero; if you specify a negative number for `axis` it is counted backward from the end. This operation is useful if you want to add a batch dimension to a single element. For example, if you have a single image of shape `[height, width, channels]`, you can make it a batch of 1 image with `expand_dims(image, 0)`, which will make the shape `[1, height, width, channels]`. Other examples: ```python # 't' is a tensor of shape [2] tf.shape(tf.expand_dims(t, 0)) # [1, 2] tf.shape(tf.expand_dims(t, 1)) # [2, 1] tf.shape(tf.expand_dims(t, -1)) # [2, 1] # 't2' is a tensor of shape [2, 3, 5] tf.shape(tf.expand_dims(t2, 0)) # [1, 2, 3, 5] tf.shape(tf.expand_dims(t2, 2)) # [2, 3, 1, 5] tf.shape(tf.expand_dims(t2, 3)) # [2, 3, 5, 1] ``` This operation requires that: `-1-input.dims() <= dim <= input.dims()` This operation is related to `squeeze()`, which removes dimensions of size 1. Args: input: A `Tensor`. axis: 0-D (scalar). Specifies the dimension index at which to expand the shape of `input`. Must be in the range `[-rank(input) - 1, rank(input)]`. name: The name of the output `Tensor` (optional). dim: 0-D (scalar). Equivalent to `axis`, to be deprecated. Returns: A `Tensor` with the same data as `input`, but its shape has an additional dimension of size 1 added. Raises: ValueError: if either both or neither of `dim` and `axis` are specified. """ axis = deprecation.deprecated_argument_lookup("axis", axis, "dim", dim) if axis is None: raise ValueError("Must specify an axis argument to tf.expand_dims()") return expand_dims_v2(input, axis, name) @tf_export("expand_dims", v1=[]) @dispatch.add_dispatch_support def expand_dims_v2(input, axis, name=None): """Returns a tensor with an additional dimension inserted at index `axis`. Given a tensor `input`, this operation inserts a dimension of size 1 at the dimension index `axis` of `input`'s shape. The dimension index `axis` starts at zero; if you specify a negative number for `axis` it is counted backward from the end. This operation is useful if you want to add a batch dimension to a single element. For example, if you have a single image of shape `[height, width, channels]`, you can make it a batch of one image with `expand_dims(image, 0)`, which will make the shape `[1, height, width, channels]`. Examples: >>> t = [[1, 2, 3],[4, 5, 6]] # shape [2, 3] >>> tf.expand_dims(t, 0) <tf.Tensor: shape=(1, 2, 3), dtype=int32, numpy= array([[[1, 2, 3], [4, 5, 6]]], dtype=int32)> >>> tf.expand_dims(t, 1) <tf.Tensor: shape=(2, 1, 3), dtype=int32, numpy= array([[[1, 2, 3]], [[4, 5, 6]]], dtype=int32)> >>> tf.expand_dims(t, 2) <tf.Tensor: shape=(2, 3, 1), dtype=int32, numpy= array([[[1], [2], [3]], [[4], [5], [6]]], dtype=int32)> >>> tf.expand_dims(t, -1) # Last dimension index. In this case, same as 2. <tf.Tensor: shape=(2, 3, 1), dtype=int32, numpy= array([[[1], [2], [3]], [[4], [5], [6]]], dtype=int32)> This operation is related to: * `tf.squeeze`, which removes dimensions of size 1. * `tf.reshape`, which provides more flexible reshaping capability Args: input: A `Tensor`. axis: Integer specifying the dimension index at which to expand the shape of `input`. Given an input of D dimensions, `axis` must be in range `[-(D+1), D]` (inclusive). name: Optional string. The name of the output `Tensor`. Returns: A tensor with the same data as `input`, with an additional dimension inserted at the index specified by `axis`. Raises: ValueError: If `axis` is not specified. InvalidArgumentError: If `axis` is out of range `[-(D+1), D]`. """ return gen_array_ops.expand_dims(input, axis, name) # pylint: enable=redefined-builtin,protected-access # Aliases for some automatically-generated names. # pylint: disable=protected-access @deprecation.deprecated("2016-11-30", "This op will be removed after the deprecation date. " "Please switch to tf.setdiff1d().") def listdiff(x, y, out_idx=None, name=None): return gen_array_ops.list_diff(x, y, out_idx, name) listdiff.__doc__ = gen_array_ops.list_diff.__doc__ + "\n" + listdiff.__doc__ # pylint: enable=protected-access # pylint: disable=undefined-variable @deprecation.deprecated("2018-11-30", "This op will be removed after the deprecation date. " "Please switch to tf.sets.difference().") @tf_export(v1=["setdiff1d"]) def setdiff1d(x, y, index_dtype=dtypes.int32, name=None): """Computes the difference between two lists of numbers or strings. Given a list x and a list y, this operation returns a list out that represents all values that are in x but not in y. The returned list out is sorted in the same order that the numbers appear in x (duplicates are preserved). This operation also returns a list idx that represents the position of each out element in x. In other words: ```python out[i] = x[idx[i]] for i in [0, 1, ..., len(out) - 1] ``` Example usage: >>> x = [1, 2, 3, 4, 5, 6] >>> y = [1, 3, 5] >>> setdiff1d(x,y) ListDiff(out=<tf.Tensor: id=2, shape=(3,), dtype=int32, numpy=array([2, 4, 6], dtype=int32)>, idx=<tf.Tensor: id=3, shape=(3,), dtype=int32, numpy=array([1, 3, 5], dtype=int32)>) Args: x: A Tensor. 1-D. Values to keep. y: A Tensor. Must have the same type as x. 1-D. Values to remove. out_idx: An optional tf.DType from: tf.int32, tf.int64. Defaults to tf.int32. name: A name for the operation (optional). Returns: A tuple of Tensor objects (out, idx). out: A Tensor. Has the same type as x. idx: A Tensor of type out_idx. """ return gen_array_ops.list_diff(x, y, index_dtype, name) setdiff1d.__doc__ = gen_array_ops.list_diff.__doc__ @tf_export("broadcast_dynamic_shape") def broadcast_dynamic_shape(shape_x, shape_y): """Computes the shape of a broadcast given symbolic shapes. When shape_x and shape_y are Tensors representing shapes (i.e. the result of calling tf.shape on another Tensor) this computes a Tensor which is the shape of the result of a broadcasting op applied in tensors of shapes shape_x and shape_y. For example, if shape_x is [1, 2, 3] and shape_y is [5, 1, 3], the result is a Tensor whose value is [5, 2, 3]. This is useful when validating the result of a broadcasting operation when the tensors do not have statically known shapes. Args: shape_x: A rank 1 integer `Tensor`, representing the shape of x. shape_y: A rank 1 integer `Tensor`, representing the shape of y. Returns: A rank 1 integer `Tensor` representing the broadcasted shape. """ return gen_array_ops.broadcast_args(shape_x, shape_y) @tf_export("broadcast_static_shape") def broadcast_static_shape(shape_x, shape_y): """Computes the shape of a broadcast given known shapes. When shape_x and shape_y are fully known TensorShapes this computes a TensorShape which is the shape of the result of a broadcasting op applied in tensors of shapes shape_x and shape_y. For example, if shape_x is [1, 2, 3] and shape_y is [5, 1, 3], the result is a TensorShape whose value is [5, 2, 3]. This is useful when validating the result of a broadcasting operation when the tensors have statically known shapes. Args: shape_x: A `TensorShape` shape_y: A `TensorShape` Returns: A `TensorShape` representing the broadcasted shape. Raises: ValueError: If the two shapes can not be broadcasted. """ return common_shapes.broadcast_shape(shape_x, shape_y) @tf_export("shape", v1=[]) def shape_v2(input, out_type=dtypes.int32, name=None): # pylint: disable=redefined-builtin """Returns the shape of a tensor. See also `tf.size`. This operation returns a 1-D integer tensor representing the shape of `input`. This represents the minimal set of known information at definition time. For example: >>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) >>> tf.shape(t) <tf.Tensor: shape=(3,), dtype=int32, numpy=array([2, 2, 3], dtype=int32)> >>> tf.shape(t).numpy() array([2, 2, 3], dtype=int32) Note: When using symbolic tensors, such as when using the Keras functional API, tf.shape() will return the shape of the symbolic tensor. >>> a = tf.keras.layers.Input((None, 10)) >>> tf.shape(a) <tf.Tensor ... shape=(3,) dtype=int32> In these cases, using `tf.Tensor.shape` will return more informative results. >>> a.shape TensorShape([None, None, 10]) `tf.shape` and `Tensor.shape` should be identical in eager mode. Within `tf.function` or within a `compat.v1` context, not all dimensions may be known until execution time. Args: input: A `Tensor` or `SparseTensor`. out_type: (Optional) The specified output type of the operation (`int32` or `int64`). Defaults to `tf.int32`. name: A name for the operation (optional). Returns: A `Tensor` of type `out_type`. """ return shape(input, name, out_type) @tf_export(v1=["shape"]) def shape(input, name=None, out_type=dtypes.int32): # pylint: disable=redefined-builtin """Returns the shape of a tensor. This operation returns a 1-D integer tensor representing the shape of `input`. For example: ```python t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) tf.shape(t) # [2, 2, 3] ``` Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). out_type: (Optional) The specified output type of the operation (`int32` or `int64`). Defaults to `tf.int32`. Returns: A `Tensor` of type `out_type`. """ return shape_internal(input, name, optimize=True, out_type=out_type) def shape_internal(input, name=None, optimize=True, out_type=dtypes.int32): # pylint: disable=redefined-builtin """Returns the shape of a tensor. Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). optimize: if true, encode the shape as a constant when possible. out_type: (Optional) The specified output type of the operation (`int32` or `int64`). Defaults to tf.int32. Returns: A `Tensor` of type `out_type`. """ with ops.name_scope(name, "Shape", [input]) as name: if isinstance( input, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue)): return gen_math_ops.cast(input.dense_shape, out_type) else: if not context.executing_eagerly(): input = ops.convert_to_tensor(input) input_shape = input.get_shape() if optimize and input_shape.is_fully_defined(): return constant(input_shape.as_list(), out_type, name=name) return gen_array_ops.shape(input, name=name, out_type=out_type) @tf_export("shape_n") def shape_n(input, out_type=dtypes.int32, name=None): # pylint: disable=redefined-builtin """Returns shape of tensors. Args: input: A list of at least 1 `Tensor` object with the same type. out_type: The specified output type of the operation (`int32` or `int64`). Defaults to `tf.int32`(optional). name: A name for the operation (optional). Returns: A list with the same length as `input` of `Tensor` objects with type `out_type`. """ return gen_array_ops.shape_n(input, out_type=out_type, name=name) @tf_export("size", v1=[]) @dispatch.add_dispatch_support def size_v2(input, out_type=dtypes.int32, name=None): # pylint: disable=redefined-builtin """Returns the size of a tensor. See also `tf.shape`. Returns a 0-D `Tensor` representing the number of elements in `input` of type `out_type`. Defaults to tf.int32. For example: >>> t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) >>> tf.size(t) <tf.Tensor: shape=(), dtype=int32, numpy=12> Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). out_type: (Optional) The specified non-quantized numeric output type of the operation. Defaults to `tf.int32`. Returns: A `Tensor` of type `out_type`. Defaults to `tf.int32`. @compatibility(numpy) Equivalent to np.size() @end_compatibility """ return size(input, name, out_type) @tf_export(v1=["size"]) @dispatch.add_dispatch_support def size(input, name=None, out_type=dtypes.int32): # pylint: disable=redefined-builtin """Returns the size of a tensor. Returns a 0-D `Tensor` representing the number of elements in `input` of type `out_type`. Defaults to tf.int32. For example: ```python t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) tf.size(t) # 12 ``` Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). out_type: (Optional) The specified non-quantized numeric output type of the operation. Defaults to `tf.int32`. Returns: A `Tensor` of type `out_type`. Defaults to `tf.int32`. @compatibility(numpy) Equivalent to np.size() @end_compatibility """ return size_internal(input, name, optimize=True, out_type=out_type) def size_internal(input, name=None, optimize=True, out_type=dtypes.int32): # pylint: disable=redefined-builtin,protected-access """Returns the size of a tensor. Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). optimize: if true, encode the size as a constant when possible. out_type: (Optional) The specified non-quantized numeric output type of the operation. Defaults to `tf.int32`. Returns: A `Tensor` of type `out_type`. Defaults to `tf.int32`. """ if (context.executing_eagerly() and not hasattr(input, "graph") and not isinstance( input, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue))): input = ops.convert_to_tensor(input) np_out_type = out_type.as_numpy_dtype num_elements = np.prod(input._shape_tuple(), dtype=np_out_type) # pylint: disable=protected-access return ops.convert_to_tensor(num_elements, dtype=out_type) with ops.name_scope(name, "Size", [input]) as name: if isinstance( input, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue)): return gen_math_ops.prod( gen_math_ops.cast(input.dense_shape, out_type), 0, name=name) else: input = ops.convert_to_tensor(input) input_shape = input.get_shape() if optimize: if input_shape.is_fully_defined(): return constant(input_shape.num_elements(), out_type, name=name) if input_shape.dims and any(dim == 0 for dim in input_shape.dims): return constant(0, out_type, name=name) return gen_array_ops.size(input, name=name, out_type=out_type) @tf_export("rank") @dispatch.add_dispatch_support def rank(input, name=None): # pylint: disable=redefined-builtin """Returns the rank of a tensor. Returns a 0-D `int32` `Tensor` representing the rank of `input`. For example: ```python # shape of tensor 't' is [2, 2, 3] t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]]]) tf.rank(t) # 3 ``` **Note**: The rank of a tensor is not the same as the rank of a matrix. The rank of a tensor is the number of indices required to uniquely select each element of the tensor. Rank is also known as "order", "degree", or "ndims." Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). Returns: A `Tensor` of type `int32`. @compatibility(numpy) Equivalent to np.ndim @end_compatibility """ return rank_internal(input, name, optimize=True) def rank_internal(input, name=None, optimize=True): # pylint: disable=redefined-builtin """Returns the rank of a tensor. Args: input: A `Tensor` or `SparseTensor`. name: A name for the operation (optional). optimize: if true, encode the rank as a constant when possible. Returns: A `Tensor` of type `int32`. """ with ops.name_scope(name, "Rank", [input]) as name: if isinstance( input, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue)): return gen_array_ops.size(input.dense_shape, name=name) else: input = ops.convert_to_tensor(input) input_shape = input.get_shape() if optimize and input_shape.ndims is not None: return constant(input_shape.ndims, dtypes.int32, name=name) return gen_array_ops.rank(input, name=name) _SLICE_TYPE_ERROR = ( "Only integers, slices (`:`), ellipsis (`...`), " "tf.newaxis (`None`) and scalar tf.int32/tf.int64 tensors are valid " "indices") _SUPPORTED_SLICE_DTYPES = (dtypes.int32, dtypes.int32_ref, dtypes.int64, dtypes.int64_ref) def _check_index(idx): """Check if a given value is a valid index into a tensor.""" if isinstance(idx, (numbers.Integral, tensor_shape.Dimension)): return # Optimistic check. Assumptions: # * any object with a dtype is supported # * any object with a dtype has a sizeable shape attribute. dtype = getattr(idx, "dtype", None) if (dtype is None or dtypes.as_dtype(dtype) not in _SUPPORTED_SLICE_DTYPES or idx.shape and len(idx.shape) == 1): # TODO(slebedev): IndexError seems more appropriate here, but it # will break `_slice_helper` contract. raise TypeError(_SLICE_TYPE_ERROR + ", got {!r}".format(idx)) def _is_undefined_dimension(d): return isinstance(d, tensor_shape.Dimension) and d.value is None def _slice_helper(tensor, slice_spec, var=None): """Overload for Tensor.__getitem__. This operation extracts the specified region from the tensor. The notation is similar to NumPy with the restriction that currently only support basic indexing. That means that using a non-scalar tensor as input is not currently allowed. Some useful examples: ```python # Strip leading and trailing 2 elements foo = tf.constant([1,2,3,4,5,6]) print(foo[2:-2].eval()) # => [3,4] # Skip every other row and reverse the order of the columns foo = tf.constant([[1,2,3], [4,5,6], [7,8,9]]) print(foo[::2,::-1].eval()) # => [[3,2,1], [9,8,7]] # Use scalar tensors as indices on both dimensions print(foo[tf.constant(0), tf.constant(2)].eval()) # => 3 # Insert another dimension foo = tf.constant([[1,2,3], [4,5,6], [7,8,9]]) print(foo[tf.newaxis, :, :].eval()) # => [[[1,2,3], [4,5,6], [7,8,9]]] print(foo[:, tf.newaxis, :].eval()) # => [[[1,2,3]], [[4,5,6]], [[7,8,9]]] print(foo[:, :, tf.newaxis].eval()) # => [[[1],[2],[3]], [[4],[5],[6]], [[7],[8],[9]]] # Ellipses (3 equivalent operations) foo = tf.constant([[1,2,3], [4,5,6], [7,8,9]]) print(foo[tf.newaxis, :, :].eval()) # => [[[1,2,3], [4,5,6], [7,8,9]]] print(foo[tf.newaxis, ...].eval()) # => [[[1,2,3], [4,5,6], [7,8,9]]] print(foo[tf.newaxis].eval()) # => [[[1,2,3], [4,5,6], [7,8,9]]] # Masks foo = tf.constant([[1,2,3], [4,5,6], [7,8,9]]) print(foo[foo > 2].eval()) # => [3, 4, 5, 6, 7, 8, 9] ``` Notes: - `tf.newaxis` is `None` as in NumPy. - An implicit ellipsis is placed at the end of the `slice_spec` - NumPy advanced indexing is currently not supported. Args: tensor: An ops.Tensor object. slice_spec: The arguments to Tensor.__getitem__. var: In the case of variable slice assignment, the Variable object to slice (i.e. tensor is the read-only view of this variable). Returns: The appropriate slice of "tensor", based on "slice_spec". Raises: ValueError: If a slice range is negative size. TypeError: If the slice indices aren't int, slice, ellipsis, tf.newaxis or scalar int32/int64 tensors. """ if isinstance(slice_spec, bool) or \ (isinstance(slice_spec, ops.Tensor) and slice_spec.dtype == dtypes.bool) or \ (isinstance(slice_spec, np.ndarray) and slice_spec.dtype == bool): return boolean_mask(tensor=tensor, mask=slice_spec) if not isinstance(slice_spec, (list, tuple)): slice_spec = [slice_spec] begin, end, strides = [], [], [] index = 0 new_axis_mask, shrink_axis_mask = 0, 0 begin_mask, end_mask = 0, 0 ellipsis_mask = 0 for s in slice_spec: if isinstance(s, _BaseSlice): if s.start is not None and not _is_undefined_dimension(s.start): _check_index(s.start) begin.append(s.start) else: begin.append(0) begin_mask |= (1 << index) if s.stop is not None and not _is_undefined_dimension(s.stop): _check_index(s.stop) end.append(s.stop) else: end.append(0) end_mask |= (1 << index) if s.step is not None and not _is_undefined_dimension(s.step): _check_index(s.step) strides.append(s.step) else: strides.append(1) elif s is Ellipsis: begin.append(0) end.append(0) strides.append(1) ellipsis_mask |= (1 << index) elif s is newaxis: begin.append(0) end.append(0) strides.append(1) new_axis_mask |= (1 << index) else: _check_index(s) begin.append(s) end.append(s + 1) strides.append(1) shrink_axis_mask |= (1 << index) index += 1 # stack possibly involves no tensors, so we must use op_scope correct graph. with ops.name_scope( None, "strided_slice", [tensor] + begin + end + strides, skip_on_eager=False) as name: if begin: packed_begin, packed_end, packed_strides = (stack(begin), stack(end), stack(strides)) if (packed_begin.dtype == dtypes.int64 or packed_end.dtype == dtypes.int64 or packed_strides.dtype == dtypes.int64): if packed_begin.dtype != dtypes.int64: packed_begin = gen_math_ops.cast(packed_begin, dtypes.int64) if packed_end.dtype != dtypes.int64: packed_end = gen_math_ops.cast(packed_end, dtypes.int64) if packed_strides.dtype != dtypes.int64: packed_strides = gen_math_ops.cast(packed_strides, dtypes.int64) else: var_empty = constant([], dtype=dtypes.int32) packed_begin = packed_end = packed_strides = var_empty return strided_slice( tensor, packed_begin, packed_end, packed_strides, begin_mask=begin_mask, end_mask=end_mask, shrink_axis_mask=shrink_axis_mask, new_axis_mask=new_axis_mask, ellipsis_mask=ellipsis_mask, var=var, name=name) # pylint: disable=undefined-variable,protected-access,redefined-outer-name @tf_export("slice") def slice(input_, begin, size, name=None): # pylint: disable=redefined-builtin """Extracts a slice from a tensor. This operation extracts a slice of size `size` from a tensor `input_` starting at the location specified by `begin`. The slice `size` is represented as a tensor shape, where `size[i]` is the number of elements of the 'i'th dimension of `input_` that you want to slice. The starting location (`begin`) for the slice is represented as an offset in each dimension of `input_`. In other words, `begin[i]` is the offset into the i'th dimension of `input_` that you want to slice from. Note that `tf.Tensor.__getitem__` is typically a more pythonic way to perform slices, as it allows you to write `foo[3:7, :-2]` instead of `tf.slice(foo, [3, 0], [4, foo.get_shape()[1]-2])`. `begin` is zero-based; `size` is one-based. If `size[i]` is -1, all remaining elements in dimension i are included in the slice. In other words, this is equivalent to setting: `size[i] = input_.dim_size(i) - begin[i]` This operation requires that: `0 <= begin[i] <= begin[i] + size[i] <= Di for i in [0, n]` For example: ```python t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]], [[5, 5, 5], [6, 6, 6]]]) tf.slice(t, [1, 0, 0], [1, 1, 3]) # [[[3, 3, 3]]] tf.slice(t, [1, 0, 0], [1, 2, 3]) # [[[3, 3, 3], # [4, 4, 4]]] tf.slice(t, [1, 0, 0], [2, 1, 3]) # [[[3, 3, 3]], # [[5, 5, 5]]] ``` Args: input_: A `Tensor`. begin: An `int32` or `int64` `Tensor`. size: An `int32` or `int64` `Tensor`. name: A name for the operation (optional). Returns: A `Tensor` the same type as `input_`. """ return gen_array_ops._slice(input_, begin, size, name=name) # pylint: disable=invalid-name @tf_export("strided_slice") def strided_slice(input_, begin, end, strides=None, begin_mask=0, end_mask=0, ellipsis_mask=0, new_axis_mask=0, shrink_axis_mask=0, var=None, name=None): """Extracts a strided slice of a tensor (generalized python array indexing). **Instead of calling this op directly most users will want to use the NumPy-style slicing syntax (e.g. `tensor[..., 3:4:-1, tf.newaxis, 3]`), which is supported via `tf.Tensor.__getitem__` and `tf.Variable.__getitem__`.** The interface of this op is a low-level encoding of the slicing syntax. Roughly speaking, this op extracts a slice of size `(end-begin)/stride` from the given `input_` tensor. Starting at the location specified by `begin` the slice continues by adding `stride` to the index until all dimensions are not less than `end`. Note that a stride can be negative, which causes a reverse slice. Given a Python slice `input[spec0, spec1, ..., specn]`, this function will be called as follows. `begin`, `end`, and `strides` will be vectors of length n. n in general is not equal to the rank of the `input_` tensor. In each mask field (`begin_mask`, `end_mask`, `ellipsis_mask`, `new_axis_mask`, `shrink_axis_mask`) the ith bit will correspond to the ith spec. If the ith bit of `begin_mask` is set, `begin[i]` is ignored and the fullest possible range in that dimension is used instead. `end_mask` works analogously, except with the end range. `foo[5:,:,:3]` on a 7x8x9 tensor is equivalent to `foo[5:7,0:8,0:3]`. `foo[::-1]` reverses a tensor with shape 8. If the ith bit of `ellipsis_mask` is set, as many unspecified dimensions as needed will be inserted between other dimensions. Only one non-zero bit is allowed in `ellipsis_mask`. For example `foo[3:5,...,4:5]` on a shape 10x3x3x10 tensor is equivalent to `foo[3:5,:,:,4:5]` and `foo[3:5,...]` is equivalent to `foo[3:5,:,:,:]`. If the ith bit of `new_axis_mask` is set, then `begin`, `end`, and `stride` are ignored and a new length 1 dimension is added at this point in the output tensor. For example, `foo[:4, tf.newaxis, :2]` would produce a shape `(4, 1, 2)` tensor. If the ith bit of `shrink_axis_mask` is set, it implies that the ith specification shrinks the dimensionality by 1, taking on the value at index `begin[i]`. `end[i]` and `strides[i]` are ignored in this case. For example in Python one might do `foo[:, 3, :]` which would result in `shrink_axis_mask` equal to 2. NOTE: `begin` and `end` are zero-indexed. `strides` entries must be non-zero. ```python t = tf.constant([[[1, 1, 1], [2, 2, 2]], [[3, 3, 3], [4, 4, 4]], [[5, 5, 5], [6, 6, 6]]]) tf.strided_slice(t, [1, 0, 0], [2, 1, 3], [1, 1, 1]) # [[[3, 3, 3]]] tf.strided_slice(t, [1, 0, 0], [2, 2, 3], [1, 1, 1]) # [[[3, 3, 3], # [4, 4, 4]]] tf.strided_slice(t, [1, -1, 0], [2, -3, 3], [1, -1, 1]) # [[[4, 4, 4], # [3, 3, 3]]] ``` Args: input_: A `Tensor`. begin: An `int32` or `int64` `Tensor`. end: An `int32` or `int64` `Tensor`. strides: An `int32` or `int64` `Tensor`. begin_mask: An `int32` mask. end_mask: An `int32` mask. ellipsis_mask: An `int32` mask. new_axis_mask: An `int32` mask. shrink_axis_mask: An `int32` mask. var: The variable corresponding to `input_` or None name: A name for the operation (optional). Returns: A `Tensor` the same type as `input`. """ if strides is None: strides = ones_like(begin) op = gen_array_ops.strided_slice( input=input_, begin=begin, end=end, strides=strides, name=name, begin_mask=begin_mask, end_mask=end_mask, ellipsis_mask=ellipsis_mask, new_axis_mask=new_axis_mask, shrink_axis_mask=shrink_axis_mask) parent_name = name if not (var is None and isinstance(op, ops.EagerTensor)): def assign(val, name=None): """Closure that holds all the arguments to create an assignment.""" if var is None: raise ValueError("Sliced assignment is only supported for variables") else: if name is None: name = parent_name + "_assign" return var._strided_slice_assign( begin=begin, end=end, strides=strides, value=val, name=name, begin_mask=begin_mask, end_mask=end_mask, ellipsis_mask=ellipsis_mask, new_axis_mask=new_axis_mask, shrink_axis_mask=shrink_axis_mask) op.assign = assign return op def _SliceHelperVar(var, slice_spec): """Creates a slice helper object given a variable. This allows creating a sub-tensor from part of the current contents of a variable. See `tf.Tensor.__getitem__` for detailed examples of slicing. This function in addition also allows assignment to a sliced range. This is similar to `__setitem__` functionality in Python. However, the syntax is different so that the user can capture the assignment operation for grouping or passing to `sess.run()`. For example, ```python import tensorflow as tf A = tf.Variable([[1,2,3], [4,5,6], [7,8,9]], dtype=tf.float32) with tf.compat.v1.Session() as sess: sess.run(tf.compat.v1.global_variables_initializer()) print(sess.run(A[:2, :2])) # => [[1,2], [4,5]] op = A[:2,:2].assign(22. * tf.ones((2, 2))) print(sess.run(op)) # => [[22, 22, 3], [22, 22, 6], [7,8,9]] ``` Note that assignments currently do not support NumPy broadcasting semantics. Args: var: An `ops.Variable` object. slice_spec: The arguments to `Tensor.__getitem__`. Returns: The appropriate slice of "tensor", based on "slice_spec". As an operator. The operator also has a `assign()` method that can be used to generate an assignment operator. Raises: ValueError: If a slice range is negative size. TypeError: TypeError: If the slice indices aren't int, slice, ellipsis, tf.newaxis or int32/int64 tensors. """ return _slice_helper(var.value(), slice_spec, var) ops.Tensor._override_operator("__getitem__", _slice_helper) @tf_export("parallel_stack") def parallel_stack(values, name="parallel_stack"): """Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor in parallel. Requires that the shape of inputs be known at graph construction time. Packs the list of tensors in `values` into a tensor with rank one higher than each tensor in `values`, by packing them along the first dimension. Given a list of length `N` of tensors of shape `(A, B, C)`; the `output` tensor will have the shape `(N, A, B, C)`. For example: ```python x = tf.constant([1, 4]) y = tf.constant([2, 5]) z = tf.constant([3, 6]) tf.parallel_stack([x, y, z]) # [[1, 4], [2, 5], [3, 6]] ``` The difference between `stack` and `parallel_stack` is that `stack` requires all the inputs be computed before the operation will begin but doesn't require that the input shapes be known during graph construction. `parallel_stack` will copy pieces of the input into the output as they become available, in some situations this can provide a performance benefit. Unlike `stack`, `parallel_stack` does NOT support backpropagation. This is the opposite of unstack. The numpy equivalent is tf.parallel_stack([x, y, z]) = np.asarray([x, y, z]) Args: values: A list of `Tensor` objects with the same shape and type. name: A name for this operation (optional). Returns: output: A stacked `Tensor` with the same type as `values`. """ with ops.name_scope(name): value_t = ops.convert_to_tensor(values[0]) value_shape = ops.convert_to_tensor(value_t).get_shape() output_shape = tensor_shape.TensorShape([len(values)]) output_shape = output_shape.concatenate(value_shape) # expand_dims converts concat to stack. return gen_array_ops.parallel_concat( [expand_dims(value, 0) for value in values], shape=output_shape) @tf_export("stack") @dispatch.add_dispatch_support def stack(values, axis=0, name="stack"): """Stacks a list of rank-`R` tensors into one rank-`(R+1)` tensor. See also `tf.concat`, `tf.tile`, `tf.repeat`. Packs the list of tensors in `values` into a tensor with rank one higher than each tensor in `values`, by packing them along the `axis` dimension. Given a list of length `N` of tensors of shape `(A, B, C)`; if `axis == 0` then the `output` tensor will have the shape `(N, A, B, C)`. if `axis == 1` then the `output` tensor will have the shape `(A, N, B, C)`. Etc. For example: >>> x = tf.constant([1, 4]) >>> y = tf.constant([2, 5]) >>> z = tf.constant([3, 6]) >>> tf.stack([x, y, z]) <tf.Tensor: shape=(3, 2), dtype=int32, numpy= array([[1, 4], [2, 5], [3, 6]], dtype=int32)> >>> tf.stack([x, y, z], axis=1) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[1, 2, 3], [4, 5, 6]], dtype=int32)> This is the opposite of unstack. The numpy equivalent is `np.stack` >>> np.array_equal(np.stack([x, y, z]), tf.stack([x, y, z])) True Args: values: A list of `Tensor` objects with the same shape and type. axis: An `int`. The axis to stack along. Defaults to the first dimension. Negative values wrap around, so the valid range is `[-(R+1), R+1)`. name: A name for this operation (optional). Returns: output: A stacked `Tensor` with the same type as `values`. Raises: ValueError: If `axis` is out of the range [-(R+1), R+1). """ if axis == 0: try: # If the input is a constant list, it can be converted to a constant op return ops.convert_to_tensor(values, name=name) except (TypeError, ValueError): pass # Input list contains non-constant tensors value_shape = ops.convert_to_tensor(values[0], name=name)._shape_tuple() # pylint: disable=protected-access if value_shape is not None: expanded_num_dims = len(value_shape) + 1 if axis < -expanded_num_dims or axis >= expanded_num_dims: raise ValueError("axis = %d not in [%d, %d)" % (axis, -expanded_num_dims, expanded_num_dims)) return gen_array_ops.pack(values, axis=axis, name=name) # pylint: disable=invalid-name def _autopacking_helper(list_or_tuple, dtype, name): """Converts the given list or tuple to a tensor by packing. Args: list_or_tuple: A (possibly nested) list or tuple containing a tensor. dtype: The element type of the returned tensor. name: A name for the returned tensor. Returns: A `tf.Tensor` with value equivalent to `list_or_tuple`. """ if context.executing_eagerly(): # NOTE: Fast path when all the items are tensors, this doesn't do any type # checking. if all(ops.is_dense_tensor_like(elem) for elem in list_or_tuple): return gen_array_ops.pack(list_or_tuple, name=name) must_pack = False converted_elems = [] with ops.name_scope(name) as scope: for i, elem in enumerate(list_or_tuple): if ops.is_dense_tensor_like(elem): if dtype is not None and elem.dtype.base_dtype != dtype: raise TypeError("Cannot convert a list containing a tensor of dtype " "%s to %s (Tensor is: %r)" % (elem.dtype, dtype, elem)) converted_elems.append(elem) must_pack = True elif isinstance(elem, (list, tuple)): converted_elem = _autopacking_helper(elem, dtype, str(i)) if ops.is_dense_tensor_like(converted_elem): must_pack = True converted_elems.append(converted_elem) else: converted_elems.append(elem) if must_pack: elems_as_tensors = [] for i, elem in enumerate(converted_elems): if ops.is_dense_tensor_like(elem): elems_as_tensors.append(elem) else: # NOTE(mrry): This is inefficient, but it enables us to # handle the case where the list arguments are other # convertible-to-tensor types, such as numpy arrays. elems_as_tensors.append( constant_op.constant(elem, dtype=dtype, name=str(i))) return gen_array_ops.pack(elems_as_tensors, name=scope) else: return converted_elems def _get_dtype_from_nested_lists(list_or_tuple): """Returns the dtype of any tensor-like object in `list_or_tuple`, if found. Args: list_or_tuple: A list or tuple representing an object that can be converted to a `tf.Tensor`. Returns: The dtype of any tensor-like object in `list_or_tuple`, or `None` if no such object exists. """ for elem in list_or_tuple: if ops.is_dense_tensor_like(elem): return elem.dtype.base_dtype elif isinstance(elem, (list, tuple)): maybe_dtype = _get_dtype_from_nested_lists(elem) if maybe_dtype is not None: return maybe_dtype return None def _cast_nested_seqs_to_dtype(dtype): def _maybe_cast(elem): if ops.is_dense_tensor_like(elem): if dtype != elem.dtype.base_dtype: elem = gen_math_ops.cast(elem, dtype) return elem return _maybe_cast _NON_AUTOPACKABLE_TYPES = set(np.core.numerictypes.ScalarType) _NON_AUTOPACKABLE_TYPES.add(np.ndarray) def _should_not_autopack(v): # The condition we really want is # ops.is_dense_tensor_like(...) # but it is >5x slower due to abc.ABCMeta.__instancecheck__. # pylint: disable=unidiomatic-typecheck # TODO(slebedev): add nest.all? return all(type(elem) in _NON_AUTOPACKABLE_TYPES for elem in nest.flatten(v)) # pylint: enable=unidiomatic-typecheck def _autopacking_conversion_function(v, dtype=None, name=None, as_ref=False): """Tensor conversion function that automatically packs arguments.""" if as_ref or _should_not_autopack(v): return NotImplemented inferred_dtype = _get_dtype_from_nested_lists(v) if inferred_dtype is None: # We did not find any tensor-like objects in the nested lists, so defer to # other conversion functions. return NotImplemented if dtype is None: dtype = inferred_dtype elif dtype != inferred_dtype: v = nest.map_structure(_cast_nested_seqs_to_dtype(dtype), v) return _autopacking_helper(v, dtype, name or "packed") # pylint: enable=invalid-name # NOTE: Register this conversion function to run *before* one that # assumes every element is a value. ops.register_tensor_conversion_function((list, tuple), _autopacking_conversion_function, 99) @tf_export("unstack") def unstack(value, num=None, axis=0, name="unstack"): """Unpacks the given dimension of a rank-`R` tensor into rank-`(R-1)` tensors. Unpacks `num` tensors from `value` by chipping it along the `axis` dimension. If `num` is not specified (the default), it is inferred from `value`'s shape. If `value.shape[axis]` is not known, `ValueError` is raised. For example, given a tensor of shape `(A, B, C, D)`; If `axis == 0` then the i'th tensor in `output` is the slice `value[i, :, :, :]` and each tensor in `output` will have shape `(B, C, D)`. (Note that the dimension unpacked along is gone, unlike `split`). If `axis == 1` then the i'th tensor in `output` is the slice `value[:, i, :, :]` and each tensor in `output` will have shape `(A, C, D)`. Etc. This is the opposite of stack. Args: value: A rank `R > 0` `Tensor` to be unstacked. num: An `int`. The length of the dimension `axis`. Automatically inferred if `None` (the default). axis: An `int`. The axis to unstack along. Defaults to the first dimension. Negative values wrap around, so the valid range is `[-R, R)`. name: A name for the operation (optional). Returns: The list of `Tensor` objects unstacked from `value`. Raises: ValueError: If `num` is unspecified and cannot be inferred. ValueError: If `axis` is out of the range [-R, R). """ if num is None: value = ops.convert_to_tensor(value) value_shape = value.get_shape() if value_shape.ndims is not None: if axis < -value_shape.ndims or axis >= value_shape.ndims: raise ValueError("axis = %d not in [%d, %d)" % (axis, -value_shape.ndims, value_shape.ndims)) num = value_shape.dims[axis].value if num is None: raise ValueError("Cannot infer num from shape %s" % value_shape) return gen_array_ops.unpack(value, num=num, axis=axis, name=name) @tf_export("concat") @dispatch.add_dispatch_support def concat(values, axis, name="concat"): """Concatenates tensors along one dimension. See also `tf.tile`, `tf.stack`, `tf.repeat`. Concatenates the list of tensors `values` along dimension `axis`. If `values[i].shape = [D0, D1, ... Daxis(i), ...Dn]`, the concatenated result has shape [D0, D1, ... Raxis, ...Dn] where Raxis = sum(Daxis(i)) That is, the data from the input tensors is joined along the `axis` dimension. The number of dimensions of the input tensors must match, and all dimensions except `axis` must be equal. For example: >>> t1 = [[1, 2, 3], [4, 5, 6]] >>> t2 = [[7, 8, 9], [10, 11, 12]] >>> tf.concat([t1, t2], 0) <tf.Tensor: shape=(4, 3), dtype=int32, numpy= array([[ 1, 2, 3], [ 4, 5, 6], [ 7, 8, 9], [10, 11, 12]], dtype=int32)> >>> tf.concat([t1, t2], 1) <tf.Tensor: shape=(2, 6), dtype=int32, numpy= array([[ 1, 2, 3, 7, 8, 9], [ 4, 5, 6, 10, 11, 12]], dtype=int32)> As in Python, the `axis` could also be negative numbers. Negative `axis` are interpreted as counting from the end of the rank, i.e., `axis + rank(values)`-th dimension. For example: >>> t1 = [[[1, 2], [2, 3]], [[4, 4], [5, 3]]] >>> t2 = [[[7, 4], [8, 4]], [[2, 10], [15, 11]]] >>> tf.concat([t1, t2], -1) <tf.Tensor: shape=(2, 2, 4), dtype=int32, numpy= array([[[ 1, 2, 7, 4], [ 2, 3, 8, 4]], [[ 4, 4, 2, 10], [ 5, 3, 15, 11]]], dtype=int32)> Note: If you are concatenating along a new axis consider using stack. E.g. ```python tf.concat([tf.expand_dims(t, axis) for t in tensors], axis) ``` can be rewritten as ```python tf.stack(tensors, axis=axis) ``` Args: values: A list of `Tensor` objects or a single `Tensor`. axis: 0-D `int32` `Tensor`. Dimension along which to concatenate. Must be in the range `[-rank(values), rank(values))`. As in Python, indexing for axis is 0-based. Positive axis in the rage of `[0, rank(values))` refers to `axis`-th dimension. And negative axis refers to `axis + rank(values)`-th dimension. name: A name for the operation (optional). Returns: A `Tensor` resulting from concatenation of the input tensors. """ if not isinstance(values, (list, tuple)): values = [values] # TODO(mrry): Change to return values? if len(values) == 1: # Degenerate case of one tensor. # Make a throwaway call to convert_to_tensor to make sure # that axis is of the correct type, and make sure that # the returned tensor is a scalar. # TODO(keveman): Implement a standalone type and shape checker. with ops.name_scope(name) as scope: ops.convert_to_tensor( axis, name="concat_dim", dtype=dtypes.int32).get_shape().assert_has_rank(0) return identity(values[0], name=name) return gen_array_ops.concat_v2(values=values, axis=axis, name=name) @tf_export(v1=["boolean_mask"]) def boolean_mask(tensor, mask, name="boolean_mask", axis=None): """Apply boolean mask to tensor. Numpy equivalent is `tensor[mask]`. ```python # 1-D example tensor = [0, 1, 2, 3] mask = np.array([True, False, True, False]) boolean_mask(tensor, mask) # [0, 2] ``` In general, `0 < dim(mask) = K <= dim(tensor)`, and `mask`'s shape must match the first K dimensions of `tensor`'s shape. We then have: `boolean_mask(tensor, mask)[i, j1,...,jd] = tensor[i1,...,iK,j1,...,jd]` where `(i1,...,iK)` is the ith `True` entry of `mask` (row-major order). The `axis` could be used with `mask` to indicate the axis to mask from. In that case, `axis + dim(mask) <= dim(tensor)` and `mask`'s shape must match the first `axis + dim(mask)` dimensions of `tensor`'s shape. See also: `tf.ragged.boolean_mask`, which can be applied to both dense and ragged tensors, and can be used if you need to preserve the masked dimensions of `tensor` (rather than flattening them, as `tf.boolean_mask` does). Args: tensor: N-D tensor. mask: K-D boolean tensor, K <= N and K must be known statically. name: A name for this operation (optional). axis: A 0-D int Tensor representing the axis in `tensor` to mask from. By default, axis is 0 which will mask from the first dimension. Otherwise K + axis <= N. Returns: (N-K+1)-dimensional tensor populated by entries in `tensor` corresponding to `True` values in `mask`. Raises: ValueError: If shapes do not conform. Examples: ```python # 2-D example tensor = [[1, 2], [3, 4], [5, 6]] mask = np.array([True, False, True]) boolean_mask(tensor, mask) # [[1, 2], [5, 6]] ``` """ def _apply_mask_1d(reshaped_tensor, mask, axis=None): """Mask tensor along dimension 0 with a 1-D mask.""" indices = squeeze(where_v2(mask), axis=[1]) return gather(reshaped_tensor, indices, axis=axis) with ops.name_scope(name, values=[tensor, mask]): tensor = ops.convert_to_tensor(tensor, name="tensor") mask = ops.convert_to_tensor(mask, name="mask") shape_mask = mask.get_shape() ndims_mask = shape_mask.ndims shape_tensor = tensor.get_shape() if ndims_mask == 0: raise ValueError("mask cannot be scalar.") if ndims_mask is None: raise ValueError( "Number of mask dimensions must be specified, even if some dimensions" " are None. E.g. shape=[None] is ok, but shape=None is not.") axis = 0 if axis is None else axis shape_tensor[axis:axis + ndims_mask].assert_is_compatible_with(shape_mask) leading_size = gen_math_ops.prod(shape(tensor)[axis:axis + ndims_mask], [0]) tensor = reshape( tensor, concat([ shape(tensor)[:axis], [leading_size], shape(tensor)[axis + ndims_mask:] ], 0)) first_dim = shape_tensor[axis:axis + ndims_mask].num_elements() tensor.set_shape( tensor_shape.as_shape(shape_tensor[:axis]).concatenate( [first_dim]).concatenate(shape_tensor[axis + ndims_mask:])) mask = reshape(mask, [-1]) return _apply_mask_1d(tensor, mask, axis) @tf_export("boolean_mask", v1=[]) @dispatch.add_dispatch_support def boolean_mask_v2(tensor, mask, axis=None, name="boolean_mask"): """Apply boolean mask to tensor. Numpy equivalent is `tensor[mask]`. ```python # 1-D example tensor = [0, 1, 2, 3] mask = np.array([True, False, True, False]) boolean_mask(tensor, mask) # [0, 2] ``` In general, `0 < dim(mask) = K <= dim(tensor)`, and `mask`'s shape must match the first K dimensions of `tensor`'s shape. We then have: `boolean_mask(tensor, mask)[i, j1,...,jd] = tensor[i1,...,iK,j1,...,jd]` where `(i1,...,iK)` is the ith `True` entry of `mask` (row-major order). The `axis` could be used with `mask` to indicate the axis to mask from. In that case, `axis + dim(mask) <= dim(tensor)` and `mask`'s shape must match the first `axis + dim(mask)` dimensions of `tensor`'s shape. See also: `tf.ragged.boolean_mask`, which can be applied to both dense and ragged tensors, and can be used if you need to preserve the masked dimensions of `tensor` (rather than flattening them, as `tf.boolean_mask` does). Args: tensor: N-D tensor. mask: K-D boolean tensor, K <= N and K must be known statically. axis: A 0-D int Tensor representing the axis in `tensor` to mask from. By default, axis is 0 which will mask from the first dimension. Otherwise K + axis <= N. name: A name for this operation (optional). Returns: (N-K+1)-dimensional tensor populated by entries in `tensor` corresponding to `True` values in `mask`. Raises: ValueError: If shapes do not conform. Examples: ```python # 2-D example tensor = [[1, 2], [3, 4], [5, 6]] mask = np.array([True, False, True]) boolean_mask(tensor, mask) # [[1, 2], [5, 6]] ``` """ return boolean_mask(tensor, mask, name, axis) @tf_export("sparse.mask", v1=["sparse.mask", "sparse_mask"]) @deprecation.deprecated_endpoints("sparse_mask") def sparse_mask(a, mask_indices, name=None): """Masks elements of `IndexedSlices`. Given an `IndexedSlices` instance `a`, returns another `IndexedSlices` that contains a subset of the slices of `a`. Only the slices at indices not specified in `mask_indices` are returned. This is useful when you need to extract a subset of slices in an `IndexedSlices` object. For example: ```python # `a` contains slices at indices [12, 26, 37, 45] from a large tensor # with shape [1000, 10] a.indices # [12, 26, 37, 45] tf.shape(a.values) # [4, 10] # `b` will be the subset of `a` slices at its second and third indices, so # we want to mask its first and last indices (which are at absolute # indices 12, 45) b = tf.sparse.mask(a, [12, 45]) b.indices # [26, 37] tf.shape(b.values) # [2, 10] ``` Args: a: An `IndexedSlices` instance. mask_indices: Indices of elements to mask. name: A name for the operation (optional). Returns: The masked `IndexedSlices` instance. """ with ops.name_scope(name, "sparse_mask", [a, mask_indices]) as name: indices = a.indices out_indices, to_gather = gen_array_ops.list_diff(indices, mask_indices) out_values = gather(a.values, to_gather, name=name) return ops.IndexedSlices(out_values, out_indices, a.dense_shape) @tf_export("unique") def unique(x, out_idx=dtypes.int32, name=None): """Finds unique elements in a 1-D tensor. This operation returns a tensor `y` containing all of the unique elements of `x` sorted in the same order that they occur in `x`. This operation also returns a tensor `idx` the same size as `x` that contains the index of each value of `x` in the unique output `y`. In other words: y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1] Example usage: >>> x = tf.constant([1, 1, 2, 4, 4, 4, 7, 8, 8]) >>> y, idx = unique(x) >>> y <tf.Tensor: id=5, shape=(5,), dtype=int32, numpy=array([1, 2, 4, 7, 8], dtype=int32)> >>> idx <tf.Tensor: id=6, shape=(9,), dtype=int32, numpy=array([0, 0, 1, 2, 2, 2, 3, 4, 4], dtype=int32)> Args: x: A Tensor. 1-D. out_idx: An optional tf.DType from: tf.int32, tf.int64. Defaults to tf.int32. name: A name for the operation (optional). Returns: A tuple of Tensor objects (y, idx). y: A Tensor. Has the same type as x. idx: A Tensor of type out_idx. """ # TODO(yongtang): switch to v2 once API deprecation # period (3 weeks) pass. # TODO(yongtang): The documentation should also # be updated when switch to v2. return gen_array_ops.unique(x, out_idx, name) unique.__doc__ = gen_array_ops.unique.__doc__ @tf_export("unique_with_counts") def unique_with_counts(x, out_idx=dtypes.int32, name=None): """Finds unique elements in a 1-D tensor. This operation returns a tensor `y` containing all of the unique elements of `x` sorted in the same order that they occur in `x`. This operation also returns a tensor `idx` the same size as `x` that contains the index of each value of `x` in the unique output `y`. Finally, it returns a third tensor `count` that contains the count of each element of `y` in `x`. In other words: y[idx[i]] = x[i] for i in [0, 1,...,rank(x) - 1] Example usage: >>> x = tf.constant([1, 1, 2, 4, 4, 4, 7, 8, 8]) >>> y, idx, count = unique_with_counts(x) >>> y <tf.Tensor: id=8, shape=(5,), dtype=int32, numpy=array([1, 2, 4, 7, 8], dtype=int32)> >>> idx <tf.Tensor: id=9, shape=(9,), dtype=int32, numpy=array([0, 0, 1, 2, 2, 2, 3, 4, 4], dtype=int32)> >>> count <tf.Tensor: id=10, shape=(5,), dtype=int32, numpy=array([2, 1, 3, 1, 2], dtype=int32)> Args: x: A Tensor. 1-D. out_idx: An optional tf.DType from: tf.int32, tf.int64. Defaults to tf.int32. name: A name for the operation (optional). Returns: A tuple of Tensor objects (y, idx, count). y: A Tensor. Has the same type as x. idx: A Tensor of type out_idx. count: A Tensor of type out_idx. """ # TODO(yongtang): switch to v2 once API deprecation # period (3 weeks) pass. # TODO(yongtang): The documentation should also # be updated when switch to v2. return gen_array_ops.unique_with_counts(x, out_idx, name) unique_with_counts.__doc__ = gen_array_ops.unique_with_counts.__doc__ @tf_export("split") def split(value, num_or_size_splits, axis=0, num=None, name="split"): """Splits a tensor `value` into a list of sub tensors. See also `tf.unstack`. If `num_or_size_splits` is an integer, then `value` is split along the dimension `axis` into `num_split` smaller tensors. This requires that `value.shape[axis]` is divisible by `num_split`. If `num_or_size_splits` is a 1-D Tensor (or list), we call it `size_splits` and `value` is split into `len(size_splits)` elements. The shape of the `i`-th element has the same size as the `value` except along dimension `axis` where the size is `size_splits[i]`. For example: >>> x = tf.Variable(tf.random.uniform([5, 30], -1, 1)) Split `x` into 3 tensors along dimension 1 >>> s0, s1, s2 = tf.split(x, num_or_size_splits=3, axis=1) >>> tf.shape(s0).numpy() array([ 5, 10], dtype=int32) Split `x` into 3 tensors with sizes [4, 15, 11] along dimension 1 >>> split0, split1, split2 = tf.split(x, [4, 15, 11], 1) >>> tf.shape(split0).numpy() array([5, 4], dtype=int32) >>> tf.shape(split1).numpy() array([ 5, 15], dtype=int32) >>> tf.shape(split2).numpy() array([ 5, 11], dtype=int32) Args: value: The `Tensor` to split. num_or_size_splits: Either an integer indicating the number of splits along `axis` or a 1-D integer `Tensor` or Python list containing the sizes of each output tensor along `axis`. If a scalar, then it must evenly divide `value.shape[axis]`; otherwise the sum of sizes along the split axis must match that of the `value`. axis: An integer or scalar `int32` `Tensor`. The dimension along which to split. Must be in the range `[-rank(value), rank(value))`. Defaults to 0. num: Optional, used to specify the number of outputs when it cannot be inferred from the shape of `size_splits`. name: A name for the operation (optional). Returns: if `num_or_size_splits` is a scalar returns a list of `num_or_size_splits` `Tensor` objects; if `num_or_size_splits` is a 1-D Tensor returns `num_or_size_splits.get_shape[0]` `Tensor` objects resulting from splitting `value`. Raises: ValueError: If `num` is unspecified and cannot be inferred. """ size_splits = ops.convert_to_tensor(num_or_size_splits) if isinstance(num_or_size_splits, (numbers.Integral, tensor_shape.Dimension)): return gen_array_ops.split( axis=axis, num_split=num_or_size_splits, value=value, name=name) if size_splits._rank() == 0: raise ValueError( "Rank-0 tensors are not supported as the num_or_size_splits argument " "to split. Argument provided: %s" % (num_or_size_splits,)) if num is None: size_splits_shape = size_splits._shape_tuple() if size_splits_shape: num = size_splits_shape[0] if num is None: raise ValueError("Cannot infer num from shape %s" % num_or_size_splits) return gen_array_ops.split_v( value=value, size_splits=size_splits, axis=axis, num_split=num, name=name) @tf_export("transpose", v1=[]) def transpose_v2(a, perm=None, conjugate=False, name="transpose"): """Transposes `a`, where `a` is a Tensor. Permutes the dimensions according to the value of `perm`. The returned tensor's dimension `i` will correspond to the input dimension `perm[i]`. If `perm` is not given, it is set to (n-1...0), where n is the rank of the input tensor. Hence by default, this operation performs a regular matrix transpose on 2-D input Tensors. If conjugate is `True` and `a.dtype` is either `complex64` or `complex128` then the values of `a` are conjugated and transposed. @compatibility(numpy) In `numpy` transposes are memory-efficient constant time operations as they simply return a new view of the same data with adjusted `strides`. TensorFlow does not support strides, so `transpose` returns a new tensor with the items permuted. @end_compatibility For example: >>> x = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.transpose(x) <tf.Tensor: shape=(3, 2), dtype=int32, numpy= array([[1, 4], [2, 5], [3, 6]], dtype=int32)> Equivalently, you could call `tf.transpose(x, perm=[1, 0])`. If `x` is complex, setting conjugate=True gives the conjugate transpose: >>> x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j], ... [4 + 4j, 5 + 5j, 6 + 6j]]) >>> tf.transpose(x, conjugate=True) <tf.Tensor: shape=(3, 2), dtype=complex128, numpy= array([[1.-1.j, 4.-4.j], [2.-2.j, 5.-5.j], [3.-3.j, 6.-6.j]])> 'perm' is more useful for n-dimensional tensors where n > 2: >>> x = tf.constant([[[ 1, 2, 3], ... [ 4, 5, 6]], ... [[ 7, 8, 9], ... [10, 11, 12]]]) As above, simply calling `tf.transpose` will default to `perm=[2,1,0]`. To take the transpose of the matrices in dimension-0 (such as when you are transposing matrices where 0 is the batch dimesnion), you would set `perm=[0,2,1]`. >>> tf.transpose(x, perm=[0, 2, 1]) <tf.Tensor: shape=(2, 3, 2), dtype=int32, numpy= array([[[ 1, 4], [ 2, 5], [ 3, 6]], [[ 7, 10], [ 8, 11], [ 9, 12]]], dtype=int32)> Note: This has a shorthand `linalg.matrix_transpose`): Args: a: A `Tensor`. perm: A permutation of the dimensions of `a`. This should be a vector. conjugate: Optional bool. Setting it to `True` is mathematically equivalent to tf.math.conj(tf.transpose(input)). name: A name for the operation (optional). Returns: A transposed `Tensor`. """ return transpose(a=a, perm=perm, name=name, conjugate=conjugate) @tf_export(v1=["transpose"]) def transpose(a, perm=None, name="transpose", conjugate=False): """Transposes `a`. Permutes the dimensions according to `perm`. The returned tensor's dimension i will correspond to the input dimension `perm[i]`. If `perm` is not given, it is set to (n-1...0), where n is the rank of the input tensor. Hence by default, this operation performs a regular matrix transpose on 2-D input Tensors. If conjugate is True and `a.dtype` is either `complex64` or `complex128` then the values of `a` are conjugated and transposed. @compatibility(numpy) In `numpy` transposes are memory-efficient constant time operations as they simply return a new view of the same data with adjusted `strides`. TensorFlow does not support strides, so `transpose` returns a new tensor with the items permuted. @end_compatibility For example: ```python x = tf.constant([[1, 2, 3], [4, 5, 6]]) tf.transpose(x) # [[1, 4] # [2, 5] # [3, 6]] # Equivalently tf.transpose(x, perm=[1, 0]) # [[1, 4] # [2, 5] # [3, 6]] # If x is complex, setting conjugate=True gives the conjugate transpose x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j], [4 + 4j, 5 + 5j, 6 + 6j]]) tf.transpose(x, conjugate=True) # [[1 - 1j, 4 - 4j], # [2 - 2j, 5 - 5j], # [3 - 3j, 6 - 6j]] # 'perm' is more useful for n-dimensional tensors, for n > 2 x = tf.constant([[[ 1, 2, 3], [ 4, 5, 6]], [[ 7, 8, 9], [10, 11, 12]]]) # Take the transpose of the matrices in dimension-0 # (this common operation has a shorthand `linalg.matrix_transpose`) tf.transpose(x, perm=[0, 2, 1]) # [[[1, 4], # [2, 5], # [3, 6]], # [[7, 10], # [8, 11], # [9, 12]]] ``` Args: a: A `Tensor`. perm: A permutation of the dimensions of `a`. name: A name for the operation (optional). conjugate: Optional bool. Setting it to `True` is mathematically equivalent to tf.math.conj(tf.transpose(input)). Returns: A transposed `Tensor`. """ with ops.name_scope(name, "transpose", [a]) as name: if not tensor_util.is_tensor(a): a = ops.convert_to_tensor(a, name="a") if conjugate and a.dtype.is_complex: transpose_fn = gen_array_ops.conjugate_transpose else: transpose_fn = gen_array_ops.transpose if perm is not None: return transpose_fn(a, perm, name=name) rank = a.shape.rank if rank is None: perm = gen_math_ops._range(gen_array_ops.rank(a) - 1, -1, -1) else: perm = np.arange(rank - 1, -1, -1, dtype=np.int32) return transpose_fn(a, perm, name=name) # pylint: disable=invalid-name @tf_export( "linalg.matrix_transpose", v1=["linalg.transpose", "linalg.matrix_transpose", "matrix_transpose"]) @deprecation.deprecated_endpoints("matrix_transpose", "linalg.transpose") def matrix_transpose(a, name="matrix_transpose", conjugate=False): """Transposes last two dimensions of tensor `a`. For example: ```python x = tf.constant([[1, 2, 3], [4, 5, 6]]) tf.linalg.matrix_transpose(x) # [[1, 4], # [2, 5], # [3, 6]] x = tf.constant([[1 + 1j, 2 + 2j, 3 + 3j], [4 + 4j, 5 + 5j, 6 + 6j]]) tf.linalg.matrix_transpose(x, conjugate=True) # [[1 - 1j, 4 - 4j], # [2 - 2j, 5 - 5j], # [3 - 3j, 6 - 6j]] # Matrix with two batch dimensions. # x.shape is [1, 2, 3, 4] # tf.linalg.matrix_transpose(x) is shape [1, 2, 4, 3] ``` Note that `tf.matmul` provides kwargs allowing for transpose of arguments. This is done with minimal cost, and is preferable to using this function. E.g. ```python # Good! Transpose is taken at minimal additional cost. tf.matmul(matrix, b, transpose_b=True) # Inefficient! tf.matmul(matrix, tf.linalg.matrix_transpose(b)) ``` @compatibility(numpy) In `numpy` transposes are memory-efficient constant time operations as they simply return a new view of the same data with adjusted `strides`. TensorFlow does not support strides, `linalg.matrix_transpose` returns a new tensor with the items permuted. @end_compatibility Args: a: A `Tensor` with `rank >= 2`. name: A name for the operation (optional). conjugate: Optional bool. Setting it to `True` is mathematically equivalent to tf.math.conj(tf.linalg.matrix_transpose(input)). Returns: A transposed batch matrix `Tensor`. Raises: ValueError: If `a` is determined statically to have `rank < 2`. """ with ops.name_scope(name, values=[a]): a = ops.convert_to_tensor(a, name="a") # If we know the number of dimensions (statically), we can do two things: # 1. Check that `a` is a (batch) matrix. # 2. Use a python list for perm. This preserves static shape information # and avoids extra computations. a_shape = a.get_shape() ndims = a_shape.ndims if ndims is not None: if ndims < 2: raise ValueError( "Argument 'a' should be a (batch) matrix, with rank >= 2. Found: " "%s" % a_shape) perm = list(range(ndims - 2)) + [ndims - 1] + [ndims - 2] else: a_rank = rank(a) perm = concat( (gen_math_ops._range(0, a_rank - 2, 1), [a_rank - 1, a_rank - 2]), 0) return transpose(a, perm=perm, conjugate=conjugate) @tf_export("linalg.diag", v1=["linalg.diag", "matrix_diag"]) @deprecation.deprecated_endpoints("matrix_diag") def matrix_diag(diagonal, name="diag", k=0, num_rows=-1, num_cols=-1, padding_value=0, align="RIGHT_LEFT"): """Returns a batched diagonal tensor with given batched diagonal values. Returns a tensor with the contents in `diagonal` as `k[0]`-th to `k[1]`-th diagonals of a matrix, with everything else padded with `padding`. `num_rows` and `num_cols` specify the dimension of the innermost matrix of the output. If both are not specified, the op assumes the innermost matrix is square and infers its size from `k` and the innermost dimension of `diagonal`. If only one of them is specified, the op assumes the unspecified value is the smallest possible based on other criteria. Let `diagonal` have `r` dimensions `[I, J, ..., L, M, N]`. The output tensor has rank `r+1` with shape `[I, J, ..., L, M, num_rows, num_cols]` when only one diagonal is given (`k` is an integer or `k[0] == k[1]`). Otherwise, it has rank `r` with shape `[I, J, ..., L, num_rows, num_cols]`. The second innermost dimension of `diagonal` has double meaning. When `k` is scalar or `k[0] == k[1]`, `M` is part of the batch size [I, J, ..., M], and the output tensor is: ``` output[i, j, ..., l, m, n] = diagonal[i, j, ..., l, n-max(d_upper, 0)] ; if n - m == d_upper padding_value ; otherwise ``` Otherwise, `M` is treated as the number of diagonals for the matrix in the same batch (`M = k[1]-k[0]+1`), and the output tensor is: ``` output[i, j, ..., l, m, n] = diagonal[i, j, ..., l, diag_index, index_in_diag] ; if k[0] <= d <= k[1] padding_value ; otherwise ``` where `d = n - m`, `diag_index = k[1] - d`, and `index_in_diag = n - max(d, 0) + offset`. `offset` is zero except when the alignment of the diagonal is to the right. ``` offset = max_diag_len - diag_len(d) ; if (`align` in {RIGHT_LEFT, RIGHT_RIGHT} and `d >= 0`) or (`align` in {LEFT_RIGHT, RIGHT_RIGHT} and `d <= 0`) 0 ; otherwise ``` where `diag_len(d) = min(cols - max(d, 0), rows + min(d, 0))`. For example: ``` # The main diagonal. diagonal = np.array([[1, 2, 3, 4], # Input shape: (2, 4) [5, 6, 7, 8]]) tf.matrix_diag(diagonal) ==> [[[1, 0, 0, 0], # Output shape: (2, 4, 4) [0, 2, 0, 0], [0, 0, 3, 0], [0, 0, 0, 4]], [[5, 0, 0, 0], [0, 6, 0, 0], [0, 0, 7, 0], [0, 0, 0, 8]]] # A superdiagonal (per batch). diagonal = np.array([[1, 2, 3], # Input shape: (2, 3) [4, 5, 6]]) tf.matrix_diag(diagonal, k = 1) ==> [[[0, 1, 0, 0], # Output shape: (2, 4, 4) [0, 0, 2, 0], [0, 0, 0, 3], [0, 0, 0, 0]], [[0, 4, 0, 0], [0, 0, 5, 0], [0, 0, 0, 6], [0, 0, 0, 0]]] # A tridiagonal band (per batch). diagonals = np.array([[[8, 9, 0], # Input shape: (2, 2, 3) [1, 2, 3], [0, 4, 5]], [[2, 3, 0], [6, 7, 9], [0, 9, 1]]]) tf.matrix_diag(diagonals, k = (-1, 1)) ==> [[[1, 8, 0], # Output shape: (2, 3, 3) [4, 2, 9], [0, 5, 3]], [[6, 2, 0], [9, 7, 3], [0, 1, 9]]] # RIGHT_LEFT alignment. diagonals = np.array([[[0, 8, 9], # Input shape: (2, 2, 3) [1, 2, 3], [4, 5, 0]], [[0, 2, 3], [6, 7, 9], [9, 1, 0]]]) tf.matrix_diag(diagonals, k = (-1, 1), align="RIGHT_LEFT") ==> [[[1, 8, 0], # Output shape: (2, 3, 3) [4, 2, 9], [0, 5, 3]], [[6, 2, 0], [9, 7, 3], [0, 1, 9]]] # Rectangular matrix. diagonal = np.array([1, 2]) # Input shape: (2) tf.matrix_diag(diagonal, k = -1, num_rows = 3, num_cols = 4) ==> [[0, 0, 0, 0], # Output shape: (3, 4) [1, 0, 0, 0], [0, 2, 0, 0]] # Rectangular matrix with inferred num_cols and padding_value = 9. tf.matrix_diag(diagonal, k = -1, num_rows = 3, padding_value = 9) ==> [[9, 9], # Output shape: (3, 2) [1, 9], [9, 2]] ``` Args: diagonal: A `Tensor` with `rank k >= 1`. name: A name for the operation (optional). k: Diagonal offset(s). Positive value means superdiagonal, 0 refers to the main diagonal, and negative value means subdiagonals. `k` can be a single integer (for a single diagonal) or a pair of integers specifying the low and high ends of a matrix band. `k[0]` must not be larger than `k[1]`. num_rows: The number of rows of the output matrix. If it is not provided, the op assumes the output matrix is a square matrix and infers the matrix size from `d_lower`, `d_upper`, and the innermost dimension of `diagonal`. num_cols: The number of columns of the output matrix. If it is not provided, the op assumes the output matrix is a square matrix and infers the matrix size from `d_lower`, `d_upper`, and the innermost dimension of `diagonal`. padding_value: The value to fill the area outside the specified diagonal band with. Default is 0. align: Some diagonals are shorter than `max_diag_len` and need to be padded. `align` is a string specifying how superdiagonals and subdiagonals should be aligned, respectively. There are four possible alignments: "RIGHT_LEFT" (default), "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals to the right (left-pads the row) and subdiagonals to the left (right-pads the row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is the opposite alignment. Returns: A Tensor. Has the same type as `diagonal`. """ # Special case to sidestep the tf.constant conversion error: # TypeError: Expected bool, got 0 of type 'int' instead. if hasattr(diagonal, "dtype") and diagonal.dtype == "bool": padding_value = bool(padding_value) return gen_array_ops.matrix_diag_v3( diagonal=diagonal, k=k, num_rows=num_rows, num_cols=num_cols, padding_value=padding_value, align=align, name=name) @tf_export("linalg.diag_part", v1=["linalg.diag_part", "matrix_diag_part"]) @deprecation.deprecated_endpoints("matrix_diag_part") @dispatch.add_dispatch_support def matrix_diag_part( input, # pylint:disable=redefined-builtin name="diag_part", k=0, padding_value=0, align="RIGHT_LEFT"): """Returns the batched diagonal part of a batched tensor. Returns a tensor with the `k[0]`-th to `k[1]`-th diagonals of the batched `input`. Assume `input` has `r` dimensions `[I, J, ..., L, M, N]`. Let `max_diag_len` be the maximum length among all diagonals to be extracted, `max_diag_len = min(M + min(k[1], 0), N + min(-k[0], 0))` Let `num_diags` be the number of diagonals to extract, `num_diags = k[1] - k[0] + 1`. If `num_diags == 1`, the output tensor is of rank `r - 1` with shape `[I, J, ..., L, max_diag_len]` and values: ``` diagonal[i, j, ..., l, n] = input[i, j, ..., l, n+y, n+x] ; if 0 <= n+y < M and 0 <= n+x < N, padding_value ; otherwise. ``` where `y = max(-k[1], 0)`, `x = max(k[1], 0)`. Otherwise, the output tensor has rank `r` with dimensions `[I, J, ..., L, num_diags, max_diag_len]` with values: ``` diagonal[i, j, ..., l, m, n] = input[i, j, ..., l, n+y, n+x] ; if 0 <= n+y < M and 0 <= n+x < N, padding_value ; otherwise. ``` where `d = k[1] - m`, `y = max(-d, 0) - offset`, and `x = max(d, 0) - offset`. `offset` is zero except when the alignment of the diagonal is to the right. ``` offset = max_diag_len - diag_len(d) ; if (`align` in {RIGHT_LEFT, RIGHT_RIGHT} and `d >= 0`) or (`align` in {LEFT_RIGHT, RIGHT_RIGHT} and `d <= 0`) 0 ; otherwise ``` where `diag_len(d) = min(cols - max(d, 0), rows + min(d, 0))`. The input must be at least a matrix. For example: ``` input = np.array([[[1, 2, 3, 4], # Input shape: (2, 3, 4) [5, 6, 7, 8], [9, 8, 7, 6]], [[5, 4, 3, 2], [1, 2, 3, 4], [5, 6, 7, 8]]]) # A main diagonal from each batch. tf.linalg.diag_part(input) ==> [[1, 6, 7], # Output shape: (2, 3) [5, 2, 7]] # A superdiagonal from each batch. tf.linalg.diag_part(input, k = 1) ==> [[2, 7, 6], # Output shape: (2, 3) [4, 3, 8]] # A band from each batch. tf.linalg.diag_part(input, k = (-1, 2)) ==> [[[3, 8, 0], # Output shape: (2, 4, 3) [2, 7, 6], [1, 6, 7], [0, 5, 8]], [[3, 4, 0], [4, 3, 8], [5, 2, 7], [0, 1, 6]]] # RIGHT_LEFT alignment. tf.linalg.diag_part(input, k = (-1, 2), align="RIGHT_LEFT") ==> [[[0, 3, 8], # Output shape: (2, 4, 3) [2, 7, 6], [1, 6, 7], [5, 8, 0]], [[0, 3, 4], [4, 3, 8], [5, 2, 7], [1, 6, 0]]] # max_diag_len can be shorter than the main diagonal. tf.linalg.diag_part(input, k = (-2, -1)) ==> [[[5, 8], [0, 9]], [[1, 6], [0, 5]]] # padding_value = 9 tf.linalg.diag_part(input, k = (1, 3), padding_value = 9) ==> [[[4, 9, 9], # Output shape: (2, 3, 3) [3, 8, 9], [2, 7, 6]], [[2, 9, 9], [3, 4, 9], [4, 3, 8]]] ``` Args: input: A `Tensor` with `rank k >= 2`. name: A name for the operation (optional). k: Diagonal offset(s). Positive value means superdiagonal, 0 refers to the main diagonal, and negative value means subdiagonals. `k` can be a single integer (for a single diagonal) or a pair of integers specifying the low and high ends of a matrix band. `k[0]` must not be larger than `k[1]`. padding_value: The value to fill the area outside the specified diagonal band with. Default is 0. align: Some diagonals are shorter than `max_diag_len` and need to be padded. `align` is a string specifying how superdiagonals and subdiagonals should be aligned, respectively. There are four possible alignments: "RIGHT_LEFT" (default), "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals to the right (left-pads the row) and subdiagonals to the left (right-pads the row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is the opposite alignment. Returns: A Tensor containing diagonals of `input`. Has the same type as `input`. """ # Special case to sidestep the tf.constant conversion error: # TypeError: Expected bool, got 0 of type 'int' instead. if hasattr(input, "dtype") and input.dtype == "bool": padding_value = bool(padding_value) return gen_array_ops.matrix_diag_part_v3( input=input, k=k, padding_value=padding_value, align=align, name=name) @tf_export("linalg.set_diag", v1=["linalg.set_diag", "matrix_set_diag"]) @deprecation.deprecated_endpoints("matrix_set_diag") def matrix_set_diag( input, # pylint:disable=redefined-builtin diagonal, name="set_diag", k=0, align="RIGHT_LEFT"): """Returns a batched matrix tensor with new batched diagonal values. Given `input` and `diagonal`, this operation returns a tensor with the same shape and values as `input`, except for the specified diagonals of the innermost matrices. These will be overwritten by the values in `diagonal`. `input` has `r+1` dimensions `[I, J, ..., L, M, N]`. When `k` is scalar or `k[0] == k[1]`, `diagonal` has `r` dimensions `[I, J, ..., L, max_diag_len]`. Otherwise, it has `r+1` dimensions `[I, J, ..., L, num_diags, max_diag_len]`. `num_diags` is the number of diagonals, `num_diags = k[1] - k[0] + 1`. `max_diag_len` is the longest diagonal in the range `[k[0], k[1]]`, `max_diag_len = min(M + min(k[1], 0), N + min(-k[0], 0))` The output is a tensor of rank `k+1` with dimensions `[I, J, ..., L, M, N]`. If `k` is scalar or `k[0] == k[1]`: ``` output[i, j, ..., l, m, n] = diagonal[i, j, ..., l, n-max(k[1], 0)] ; if n - m == k[1] input[i, j, ..., l, m, n] ; otherwise ``` Otherwise, ``` output[i, j, ..., l, m, n] = diagonal[i, j, ..., l, diag_index, index_in_diag] ; if k[0] <= d <= k[1] input[i, j, ..., l, m, n] ; otherwise ``` where `d = n - m`, `diag_index = k[1] - d`, and `index_in_diag = n - max(d, 0) + offset`. `offset` is zero except when the alignment of the diagonal is to the right. ``` offset = max_diag_len - diag_len(d) ; if (`align` in {RIGHT_LEFT, RIGHT_RIGHT} and `d >= 0`) or (`align` in {LEFT_RIGHT, RIGHT_RIGHT} and `d <= 0`) 0 ; otherwise ``` where `diag_len(d) = min(cols - max(d, 0), rows + min(d, 0))`. For example: ``` # The main diagonal. input = np.array([[[7, 7, 7, 7], # Input shape: (2, 3, 4) [7, 7, 7, 7], [7, 7, 7, 7]], [[7, 7, 7, 7], [7, 7, 7, 7], [7, 7, 7, 7]]]) diagonal = np.array([[1, 2, 3], # Diagonal shape: (2, 3) [4, 5, 6]]) tf.matrix_set_diag(input, diagonal) ==> [[[1, 7, 7, 7], # Output shape: (2, 3, 4) [7, 2, 7, 7], [7, 7, 3, 7]], [[4, 7, 7, 7], [7, 5, 7, 7], [7, 7, 6, 7]]] # A superdiagonal (per batch). tf.matrix_set_diag(input, diagonal, k = 1) ==> [[[7, 1, 7, 7], # Output shape: (2, 3, 4) [7, 7, 2, 7], [7, 7, 7, 3]], [[7, 4, 7, 7], [7, 7, 5, 7], [7, 7, 7, 6]]] # A band of diagonals. diagonals = np.array([[[9, 1, 0], # Diagonal shape: (2, 4, 3) [6, 5, 8], [1, 2, 3], [0, 4, 5]], [[1, 2, 0], [5, 6, 4], [6, 1, 2], [0, 3, 4]]]) tf.matrix_set_diag(input, diagonals, k = (-1, 2)) ==> [[[1, 6, 9, 7], # Output shape: (2, 3, 4) [4, 2, 5, 1], [7, 5, 3, 8]], [[6, 5, 1, 7], [3, 1, 6, 2], [7, 4, 2, 4]]] # RIGHT_LEFT alignment. diagonals = np.array([[[0, 9, 1], # Diagonal shape: (2, 4, 3) [6, 5, 8], [1, 2, 3], [4, 5, 0]], [[0, 1, 2], [5, 6, 4], [6, 1, 2], [3, 4, 0]]]) tf.matrix_set_diag(input, diagonals, k = (-1, 2), align="RIGHT_LEFT") ==> [[[1, 6, 9, 7], # Output shape: (2, 3, 4) [4, 2, 5, 1], [7, 5, 3, 8]], [[6, 5, 1, 7], [3, 1, 6, 2], [7, 4, 2, 4]]] ``` Args: input: A `Tensor` with rank `k + 1`, where `k >= 1`. diagonal: A `Tensor` with rank `k`, when `d_lower == d_upper`, or `k + 1`, otherwise. `k >= 1`. name: A name for the operation (optional). k: Diagonal offset(s). Positive value means superdiagonal, 0 refers to the main diagonal, and negative value means subdiagonals. `k` can be a single integer (for a single diagonal) or a pair of integers specifying the low and high ends of a matrix band. `k[0]` must not be larger than `k[1]`. align: Some diagonals are shorter than `max_diag_len` and need to be padded. `align` is a string specifying how superdiagonals and subdiagonals should be aligned, respectively. There are four possible alignments: "RIGHT_LEFT" (default), "LEFT_RIGHT", "LEFT_LEFT", and "RIGHT_RIGHT". "RIGHT_LEFT" aligns superdiagonals to the right (left-pads the row) and subdiagonals to the left (right-pads the row). It is the packing format LAPACK uses. cuSPARSE uses "LEFT_RIGHT", which is the opposite alignment. """ return gen_array_ops.matrix_set_diag_v3( input=input, diagonal=diagonal, k=k, align=align, name=name) # pylint: enable=invalid-name def _constant_if_small(value, shape, dtype, name): try: if np.prod(shape) < 1000: return constant(value, shape=shape, dtype=dtype, name=name) except TypeError: # Happens when shape is a Tensor, list with Tensor elements, etc. pass return None def _tag_zeros_tensor(fun): """ Tags the result of function by setting _is_zeros_tensor attribute. This is useful to compute Hessians of fused ops such as cross_entropy. """ def wrapped(*args, **kwargs): tensor = fun(*args, **kwargs) tensor._is_zeros_tensor = True return tensor return tf_decorator.make_decorator(fun, wrapped) @tf_export("zeros") @_tag_zeros_tensor def zeros(shape, dtype=dtypes.float32, name=None): """Creates a tensor with all elements set to zero. This operation returns a tensor of type `dtype` with shape `shape` and all elements set to zero. >>> tf.zeros([3, 4], tf.int32) <tf.Tensor: shape=(3, 4), dtype=int32, numpy= array([[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]], dtype=int32)> Args: shape: A `list` of integers, a `tuple` of integers, or a 1-D `Tensor` of type `int32`. dtype: The DType of an element in the resulting `Tensor`. name: Optional string. A name for the operation. Returns: A `Tensor` with all elements set to zero. """ dtype = dtypes.as_dtype(dtype).base_dtype with ops.name_scope(name, "zeros", [shape]) as name: if dtype == dtypes.bool: zero = False elif dtype == dtypes.string: zero = "" else: zero = 0 if not isinstance(shape, ops.Tensor): try: if not context.executing_eagerly(): # Create a constant if it won't be very big. Otherwise create a fill # op to prevent serialized GraphDefs from becoming too large. output = _constant_if_small(zero, shape, dtype, name) if output is not None: return output # Go through tensor shapes to get int64-if-needed semantics shape = constant_op._tensor_shape_tensor_conversion_function( tensor_shape.TensorShape(shape)) except (TypeError, ValueError): # Happens when shape is a list with tensor elements shape = ops.convert_to_tensor(shape, dtype=dtypes.int32) if not shape._shape_tuple(): shape = reshape(shape, [-1]) # Ensure it's a vector output = fill(shape, constant(zero, dtype=dtype), name=name) assert output.dtype.base_dtype == dtype return output @tf_export(v1=["zeros_like"]) @dispatch.add_dispatch_support def zeros_like(tensor, dtype=None, name=None, optimize=True): """Creates a tensor with all elements set to zero. See also `tf.zeros`. Given a single tensor (`tensor`), this operation returns a tensor of the same type and shape as `tensor` with all elements set to zero. Optionally, you can use `dtype` to specify a new type for the returned tensor. Examples: >>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.zeros_like(tensor) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[0, 0, 0], [0, 0, 0]], dtype=int32)> >>> tf.zeros_like(tensor, dtype=tf.float32) <tf.Tensor: shape=(2, 3), dtype=float32, numpy= array([[0., 0., 0.], [0., 0., 0.]], dtype=float32)> Args: tensor: A `Tensor`. dtype: A type for the returned `Tensor`. Must be `float16`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`, `complex64`, `complex128`, `bool` or `string`. (optional) name: A name for the operation (optional). optimize: if `True`, attempt to statically determine the shape of `tensor` and encode it as a constant. (optional, defaults to `True`) Returns: A `Tensor` with all elements set to zero. """ return zeros_like_impl(tensor, dtype, name, optimize) @tf_export("zeros_like", v1=[]) @dispatch.add_dispatch_support def zeros_like_v2( input, # pylint: disable=redefined-builtin dtype=None, name=None): """Creates a tensor with all elements set to zero. See also `tf.zeros`. Given a single tensor or array-like object (`input`), this operation returns a tensor of the same type and shape as `input` with all elements set to zero. Optionally, you can use `dtype` to specify a new type for the returned tensor. Examples: >>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.zeros_like(tensor) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[0, 0, 0], [0, 0, 0]], dtype=int32)> >>> tf.zeros_like(tensor, dtype=tf.float32) <tf.Tensor: shape=(2, 3), dtype=float32, numpy= array([[0., 0., 0.], [0., 0., 0.]], dtype=float32)> >>> tf.zeros_like([[1, 2, 3], [4, 5, 6]]) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[0, 0, 0], [0, 0, 0]], dtype=int32)> Args: input: A `Tensor` or array-like object. dtype: A type for the returned `Tensor`. Must be `float16`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`, `complex64`, `complex128`, `bool` or `string` (optional). name: A name for the operation (optional). Returns: A `Tensor` with all elements set to zero. """ return zeros_like_impl(input, dtype, name, optimize=True) @_tag_zeros_tensor def zeros_like_impl(tensor, dtype, name, optimize=True): """Internal implementation for the v1/v2 zeros_like API calls.""" with ops.name_scope(name, "zeros_like", [tensor]) as name: if not tensor_util.is_tensor(tensor): tensor = ops.convert_to_tensor(tensor, name="tensor") tensor_shape = tensor.shape tensor_dtype = tensor.dtype if context.executing_eagerly(): if dtype is not None and dtype != tensor_dtype: return zeros( shape_internal(tensor, optimize=optimize), dtype=dtype, name=name) return gen_array_ops.zeros_like(tensor, name=name) # For now, variant types must be created via zeros_like; as we need to # pass the input variant object to the proper zeros callback. if (optimize and tensor_shape.is_fully_defined() and tensor_dtype != dtypes.variant): # We can produce a zeros tensor independent of the value of 'tensor', # since the shape is known statically. return zeros(tensor_shape, dtype=dtype or tensor_dtype, name=name) if dtype is not None and dtype != tensor_dtype and dtype != dtypes.variant: return zeros( shape_internal(tensor, optimize=optimize), dtype=dtype, name=name) else: return gen_array_ops.zeros_like(tensor, name=name) @tf_export(v1=["ones_like"]) @dispatch.add_dispatch_support def ones_like(tensor, dtype=None, name=None, optimize=True): """Creates a tensor with all elements set to 1. See also `tf.ones`. Given a single tensor (`tensor`), this operation returns a tensor of the same type and shape as `tensor` with all elements set to 1. Optionally, you can specify a new type (`dtype`) for the returned tensor. For example: ```python tensor = tf.constant([[1, 2, 3], [4, 5, 6]]) tf.ones_like(tensor) # [[1, 1, 1], [1, 1, 1]] ``` Args: tensor: A `Tensor`. dtype: A type for the returned `Tensor`. Must be `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`, `complex64`, `complex128` or `bool`. name: A name for the operation (optional). optimize: if true, attempt to statically determine the shape of 'tensor' and encode it as a constant. Returns: A `Tensor` with all elements set to 1. """ return ones_like_impl(tensor, dtype, name, optimize) @tf_export("ones_like", v1=[]) @dispatch.add_dispatch_support def ones_like_v2( input, # pylint: disable=redefined-builtin dtype=None, name=None): """Creates a tensor of all ones that has the same shape as the input. See also `tf.ones`. Given a single tensor (`tensor`), this operation returns a tensor of the same type and shape as `tensor` with all elements set to 1. Optionally, you can use `dtype` to specify a new type for the returned tensor. For example: >>> tensor = tf.constant([[1, 2, 3], [4, 5, 6]]) >>> tf.ones_like(tensor) <tf.Tensor: shape=(2, 3), dtype=int32, numpy= array([[1, 1, 1], [1, 1, 1]], dtype=int32)> Args: input: A `Tensor`. dtype: A type for the returned `Tensor`. Must be `float16`, `float32`, `float64`, `int8`, `uint8`, `int16`, `uint16`, `int32`, `int64`, `complex64`, `complex128`, `bool` or `string`. name: A name for the operation (optional). Returns: A `Tensor` with all elements set to one. """ return ones_like_impl(input, dtype, name, optimize=True) def ones_like_impl(tensor, dtype, name, optimize=True): """Internal implementation for the v1/v2 ones_like API calls.""" with ops.name_scope(name, "ones_like", [tensor]) as name: tensor = ops.convert_to_tensor(tensor, name="tensor") ones_shape = shape_internal(tensor, optimize=optimize) if dtype is None: dtype = tensor.dtype ret = ones(ones_shape, dtype=dtype, name=name) if not context.executing_eagerly(): ret.set_shape(tensor.get_shape()) return ret @tf_export("ones") def ones(shape, dtype=dtypes.float32, name=None): """Creates a tensor with all elements set to one (1). See also `tf.ones_like`. This operation returns a tensor of type `dtype` with shape `shape` and all elements set to one. >>> tf.ones([3, 4], tf.int32) <tf.Tensor: shape=(3, 4), dtype=int32, numpy= array([[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]], dtype=int32)> Args: shape: A `list` of integers, a `tuple` of integers, or a 1-D `Tensor` of type `int32`. dtype: Optional DType of an element in the resulting `Tensor`. Default is `tf.float32`. name: Optional string. A name for the operation. Returns: A `Tensor` with all elements set to one (1). """ dtype = dtypes.as_dtype(dtype).base_dtype with ops.name_scope(name, "ones", [shape]) as name: one = True if dtype == dtypes.bool else 1 if not isinstance(shape, ops.Tensor): try: if not context.executing_eagerly(): # Create a constant if it won't be very big. Otherwise create a fill # op to prevent serialized GraphDefs from becoming too large. output = _constant_if_small(one, shape, dtype, name) if output is not None: return output # Go through tensor shapes to get int64-if-needed semantics shape = constant_op._tensor_shape_tensor_conversion_function( tensor_shape.TensorShape(shape)) except (TypeError, ValueError): # Happens when shape is a list with tensor elements shape = ops.convert_to_tensor(shape, dtype=dtypes.int32) if not shape._shape_tuple(): shape = reshape(shape, [-1]) # Ensure it's a vector output = fill(shape, constant(one, dtype=dtype), name=name) assert output.dtype.base_dtype == dtype return output @tf_export(v1=["placeholder"]) def placeholder(dtype, shape=None, name=None): """Inserts a placeholder for a tensor that will be always fed. **Important**: This tensor will produce an error if evaluated. Its value must be fed using the `feed_dict` optional argument to `Session.run()`, `Tensor.eval()`, or `Operation.run()`. For example: ```python x = tf.compat.v1.placeholder(tf.float32, shape=(1024, 1024)) y = tf.matmul(x, x) with tf.compat.v1.Session() as sess: print(sess.run(y)) # ERROR: will fail because x was not fed. rand_array = np.random.rand(1024, 1024) print(sess.run(y, feed_dict={x: rand_array})) # Will succeed. ``` @compatibility(eager) Placeholders are not compatible with eager execution. @end_compatibility Args: dtype: The type of elements in the tensor to be fed. shape: The shape of the tensor to be fed (optional). If the shape is not specified, you can feed a tensor of any shape. name: A name for the operation (optional). Returns: A `Tensor` that may be used as a handle for feeding a value, but not evaluated directly. Raises: RuntimeError: if eager execution is enabled """ if context.executing_eagerly(): raise RuntimeError("tf.placeholder() is not compatible with " "eager execution.") return gen_array_ops.placeholder(dtype=dtype, shape=shape, name=name) @tf_export(v1=["placeholder_with_default"]) def placeholder_with_default(input, shape, name=None): # pylint: disable=redefined-builtin """A placeholder op that passes through `input` when its output is not fed. Args: input: A `Tensor`. The default value to produce when output is not fed. shape: A `tf.TensorShape` or list of `int`s. The (possibly partial) shape of the tensor. name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `input`. """ return gen_array_ops.placeholder_with_default(input, shape, name) @tf_export(v1=["sparse.placeholder", "sparse_placeholder"]) @deprecation.deprecated_endpoints("sparse_placeholder") def sparse_placeholder(dtype, shape=None, name=None): """Inserts a placeholder for a sparse tensor that will be always fed. **Important**: This sparse tensor will produce an error if evaluated. Its value must be fed using the `feed_dict` optional argument to `Session.run()`, `Tensor.eval()`, or `Operation.run()`. For example: ```python x = tf.compat.v1.sparse.placeholder(tf.float32) y = tf.sparse.reduce_sum(x) with tf.compat.v1.Session() as sess: print(sess.run(y)) # ERROR: will fail because x was not fed. indices = np.array([[3, 2, 0], [4, 5, 1]], dtype=np.int64) values = np.array([1.0, 2.0], dtype=np.float32) shape = np.array([7, 9, 2], dtype=np.int64) print(sess.run(y, feed_dict={ x: tf.compat.v1.SparseTensorValue(indices, values, shape)})) # Will succeed. print(sess.run(y, feed_dict={ x: (indices, values, shape)})) # Will succeed. sp = tf.SparseTensor(indices=indices, values=values, dense_shape=shape) sp_value = sp.eval(session=sess) print(sess.run(y, feed_dict={x: sp_value})) # Will succeed. ``` @compatibility{eager} Placeholders are not compatible with eager execution. Args: dtype: The type of `values` elements in the tensor to be fed. shape: The shape of the tensor to be fed (optional). If the shape is not specified, you can feed a sparse tensor of any shape. name: A name for prefixing the operations (optional). Returns: A `SparseTensor` that may be used as a handle for feeding a value, but not evaluated directly. Raises: RuntimeError: if eager execution is enabled """ if context.executing_eagerly(): raise RuntimeError("`sparse_placeholder` is not compatible with " "eager execution.") shape_name = (name + "/shape") if name is not None else None default_shape_name = (name + "/shape_default") if name is not None else None if shape is None: rank = None dense_shape = placeholder(dtypes.int64, shape=[rank], name=shape_name) dense_shape_default = tensor_util.constant_value_as_shape(dense_shape) else: if isinstance(shape, ops.Tensor): rank = shape.get_shape()[0] dense_shape_default = tensor_util.constant_value_as_shape(shape) else: rank = len(shape) # determine the shape, to override the `.shape` property of the # `SparseTensor` dense_shape_default = tensor_shape.TensorShape( tuple(None if dim == -1 else dim for dim in shape)) shape = tuple(-1 if dim is None else dim for dim in shape) shape = ops.convert_to_tensor( shape, dtype=dtypes.int64, name=default_shape_name) # `dense_shape` needs to be feedable (for users that treat this as an # actual placeholder). `constant_value_as_shape` sets constants to # not-feedable. placeholder_with_default works, but blocks `SparseTensor` # from reading the default value back out. dense_shape = placeholder_with_default( shape, shape=shape.shape, name=shape_name) result = sparse_tensor.SparseTensor( values=placeholder( dtype, shape=[None], name=(name + "/values") if name is not None else None), indices=placeholder( dtypes.int64, shape=[None, rank], name=(name + "/indices") if name is not None else None), dense_shape=dense_shape) # Now the SparseTensor.shape is a list of `None`s, since it couldn't read the # default shape out of the placeholder. Override that # shape to be the value determined here, so partial shapes can be # propagated. result._dense_shape_default = dense_shape_default return result # pylint: enable=redefined-outer-name @tf_export("pad", v1=[]) def pad_v2(tensor, paddings, mode="CONSTANT", constant_values=0, name=None): """Pads a tensor. This operation pads a `tensor` according to the `paddings` you specify. `paddings` is an integer tensor with shape `[n, 2]`, where n is the rank of `tensor`. For each dimension D of `input`, `paddings[D, 0]` indicates how many values to add before the contents of `tensor` in that dimension, and `paddings[D, 1]` indicates how many values to add after the contents of `tensor` in that dimension. If `mode` is "REFLECT" then both `paddings[D, 0]` and `paddings[D, 1]` must be no greater than `tensor.dim_size(D) - 1`. If `mode` is "SYMMETRIC" then both `paddings[D, 0]` and `paddings[D, 1]` must be no greater than `tensor.dim_size(D)`. The padded size of each dimension D of the output is: `paddings[D, 0] + tensor.dim_size(D) + paddings[D, 1]` For example: ```python t = tf.constant([[1, 2, 3], [4, 5, 6]]) paddings = tf.constant([[1, 1,], [2, 2]]) # 'constant_values' is 0. # rank of 't' is 2. tf.pad(t, paddings, "CONSTANT") # [[0, 0, 0, 0, 0, 0, 0], # [0, 0, 1, 2, 3, 0, 0], # [0, 0, 4, 5, 6, 0, 0], # [0, 0, 0, 0, 0, 0, 0]] tf.pad(t, paddings, "REFLECT") # [[6, 5, 4, 5, 6, 5, 4], # [3, 2, 1, 2, 3, 2, 1], # [6, 5, 4, 5, 6, 5, 4], # [3, 2, 1, 2, 3, 2, 1]] tf.pad(t, paddings, "SYMMETRIC") # [[2, 1, 1, 2, 3, 3, 2], # [2, 1, 1, 2, 3, 3, 2], # [5, 4, 4, 5, 6, 6, 5], # [5, 4, 4, 5, 6, 6, 5]] ``` Args: tensor: A `Tensor`. paddings: A `Tensor` of type `int32`. mode: One of "CONSTANT", "REFLECT", or "SYMMETRIC" (case-insensitive) constant_values: In "CONSTANT" mode, the scalar pad value to use. Must be same type as `tensor`. name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `tensor`. Raises: ValueError: When mode is not one of "CONSTANT", "REFLECT", or "SYMMETRIC". """ return pad(tensor, paddings, mode, name, constant_values) @tf_export(v1=["pad"]) def pad(tensor, paddings, mode="CONSTANT", name=None, constant_values=0): # pylint: disable=invalid-name """Pads a tensor. This operation pads a `tensor` according to the `paddings` you specify. `paddings` is an integer tensor with shape `[n, 2]`, where n is the rank of `tensor`. For each dimension D of `input`, `paddings[D, 0]` indicates how many values to add before the contents of `tensor` in that dimension, and `paddings[D, 1]` indicates how many values to add after the contents of `tensor` in that dimension. If `mode` is "REFLECT" then both `paddings[D, 0]` and `paddings[D, 1]` must be no greater than `tensor.dim_size(D) - 1`. If `mode` is "SYMMETRIC" then both `paddings[D, 0]` and `paddings[D, 1]` must be no greater than `tensor.dim_size(D)`. The padded size of each dimension D of the output is: `paddings[D, 0] + tensor.dim_size(D) + paddings[D, 1]` For example: ```python t = tf.constant([[1, 2, 3], [4, 5, 6]]) paddings = tf.constant([[1, 1,], [2, 2]]) # 'constant_values' is 0. # rank of 't' is 2. tf.pad(t, paddings, "CONSTANT") # [[0, 0, 0, 0, 0, 0, 0], # [0, 0, 1, 2, 3, 0, 0], # [0, 0, 4, 5, 6, 0, 0], # [0, 0, 0, 0, 0, 0, 0]] tf.pad(t, paddings, "REFLECT") # [[6, 5, 4, 5, 6, 5, 4], # [3, 2, 1, 2, 3, 2, 1], # [6, 5, 4, 5, 6, 5, 4], # [3, 2, 1, 2, 3, 2, 1]] tf.pad(t, paddings, "SYMMETRIC") # [[2, 1, 1, 2, 3, 3, 2], # [2, 1, 1, 2, 3, 3, 2], # [5, 4, 4, 5, 6, 6, 5], # [5, 4, 4, 5, 6, 6, 5]] ``` Args: tensor: A `Tensor`. paddings: A `Tensor` of type `int32`. mode: One of "CONSTANT", "REFLECT", or "SYMMETRIC" (case-insensitive) name: A name for the operation (optional). constant_values: In "CONSTANT" mode, the scalar pad value to use. Must be same type as `tensor`. Returns: A `Tensor`. Has the same type as `tensor`. Raises: ValueError: When mode is not one of "CONSTANT", "REFLECT", or "SYMMETRIC". """ # Convert lower/mixed case to upper for NumPy compatibility # NumPy uses all lower-case modes. mode = mode.upper() if mode == "CONSTANT": # TODO(rjryan): Once the forward compatibility period (3 weeks) have passed # remove the "Pad" fallback here. if not tensor_util.is_tensor(constant_values) and constant_values == 0: result = gen_array_ops.pad(tensor, paddings, name=name) else: result = gen_array_ops.pad_v2( tensor, paddings, constant_values, name=name) elif mode == "REFLECT": result = gen_array_ops.mirror_pad( tensor, paddings, mode="REFLECT", name=name) elif mode == "SYMMETRIC": result = gen_array_ops.mirror_pad( tensor, paddings, mode="SYMMETRIC", name=name) else: raise ValueError("Unknown padding mode: %s" % mode) # Restore shape information where possible. if not context.executing_eagerly(): paddings_constant = _get_paddings_constant(paddings) input_shape = ( tensor_shape.TensorShape(tensor.shape) if isinstance(tensor, ops.Tensor) else result.op.inputs[0].shape) if (input_shape.ndims is not None and not result.shape.is_fully_defined() and paddings_constant is not None): new_shape = [] for padding, dim in zip(paddings_constant, input_shape.as_list()): if padding is None or dim is None or any((x is None for x in padding)): new_shape.append(None) else: new_shape.append(sum(padding) + dim) result.set_shape(new_shape) return result def _get_paddings_constant(paddings): """Helper to get the constant values of the paddings arg to pad(). Used under V1 graph mode to facilitate computation of the shape of the output tensor of `pad()`. Args: paddings: The same paddings arg as passed to pad(). Can be a Tensor, or a nested list or tuple of Tensor and/or numbers. Returns: A nested list or numbers or `None`, in which `None` indicates unknown padding size. """ if isinstance(paddings, ops.Tensor): return tensor_util.constant_value(paddings, partial=True) elif isinstance(paddings, (list, tuple)): return [_get_paddings_constant(x) for x in paddings] else: return paddings @tf_export("meshgrid") def meshgrid(*args, **kwargs): """Broadcasts parameters for evaluation on an N-D grid. Given N one-dimensional coordinate arrays `*args`, returns a list `outputs` of N-D coordinate arrays for evaluating expressions on an N-D grid. Notes: `meshgrid` supports cartesian ('xy') and matrix ('ij') indexing conventions. When the `indexing` argument is set to 'xy' (the default), the broadcasting instructions for the first two dimensions are swapped. Examples: Calling `X, Y = meshgrid(x, y)` with the tensors ```python x = [1, 2, 3] y = [4, 5, 6] X, Y = tf.meshgrid(x, y) # X = [[1, 2, 3], # [1, 2, 3], # [1, 2, 3]] # Y = [[4, 4, 4], # [5, 5, 5], # [6, 6, 6]] ``` Args: *args: `Tensor`s with rank 1. **kwargs: - indexing: Either 'xy' or 'ij' (optional, default: 'xy'). - name: A name for the operation (optional). Returns: outputs: A list of N `Tensor`s with rank N. Raises: TypeError: When no keyword arguments (kwargs) are passed. ValueError: When indexing keyword argument is not one of `xy` or `ij`. """ indexing = kwargs.pop("indexing", "xy") name = kwargs.pop("name", "meshgrid") if kwargs: key = list(kwargs.keys())[0] raise TypeError("'{}' is an invalid keyword argument " "for this function".format(key)) if indexing not in ("xy", "ij"): raise ValueError("indexing parameter must be either 'xy' or 'ij'") with ops.name_scope(name, "meshgrid", args) as name: ndim = len(args) s0 = (1,) * ndim # Prepare reshape by inserting dimensions with size 1 where needed output = [] for i, x in enumerate(args): output.append(reshape(stack(x), (s0[:i] + (-1,) + s0[i + 1::]))) # Create parameters for broadcasting each tensor to the full size shapes = [size(x) for x in args] output_dtype = ops.convert_to_tensor(args[0]).dtype.base_dtype if indexing == "xy" and ndim > 1: output[0] = reshape(output[0], (1, -1) + (1,) * (ndim - 2)) output[1] = reshape(output[1], (-1, 1) + (1,) * (ndim - 2)) shapes[0], shapes[1] = shapes[1], shapes[0] # TODO(nolivia): improve performance with a broadcast mult_fact = ones(shapes, output_dtype) return [x * mult_fact for x in output] NEW_AXIS = -1 SHRINK_AXIS = -2 # PEP-8 naming # pylint: disable=invalid-name,redefined-outer-name def _compute_size_of_strided_dim(shrink, spec, size): """Computes the size of a single strided slice dimension.""" unknown = None # Document what None means here. use_full_range = None # Document other use of None. # if this is a shrink axis (i.e. a non-range index) # it either will produce an error or return 1 if shrink: return 1 if size is unknown or size.value is unknown: return unknown size = size.value stride = spec.step if stride is not unknown: if stride == 0: return unknown stride = spec.step valid_range = [0, size] if stride > 0 else [-1, size - 1] # PEP-8 naming # pylint: disable=invalid-name def canonical(x, c): if x is use_full_range: return valid_range[c] if stride > 0 else valid_range[(c + 1) & 1] else: x_fwd = size + x if x < 0 else x # make negative indices positive return max(valid_range[0], min(valid_range[1], x_fwd)) begin = canonical(spec.start, 0) end = canonical(spec.stop, 1) interval_length = end - begin if interval_length == 0 or ((interval_length < 0) != (stride < 0)): return 0 else: remainder = 1 if interval_length % stride != 0 else 0 return interval_length // stride + remainder else: return unknown # unknown because stride is unknown def _TileGradShape(op): """Shape function for the TileGrad op.""" multiples_shape = op.inputs[1].get_shape().with_rank(1) input_shape = op.inputs[0].get_shape().with_rank(multiples_shape[0]) # NOTE(mrry): Represent `multiples` as a `TensorShape` because (i) # it is a vector of non-negative integers, and (ii) doing so allows # us to handle partially-known multiples. multiples = tensor_util.constant_value_as_shape(op.inputs[1]).with_rank( input_shape.ndims) if multiples.ndims is None: return [tensor_shape.unknown_shape()] else: output_dims = [] for dim, multiple in zip(input_shape.dims, multiples.dims): output_dims.append(dim // multiple) return [tensor_shape.TensorShape(output_dims)] @tf_export("edit_distance") def edit_distance(hypothesis, truth, normalize=True, name="edit_distance"): """Computes the Levenshtein distance between sequences. This operation takes variable-length sequences (`hypothesis` and `truth`), each provided as a `SparseTensor`, and computes the Levenshtein distance. You can normalize the edit distance by length of `truth` by setting `normalize` to true. For example, given the following input: ```python # 'hypothesis' is a tensor of shape `[2, 1]` with variable-length values: # (0,0) = ["a"] # (1,0) = ["b"] hypothesis = tf.SparseTensor( [[0, 0, 0], [1, 0, 0]], ["a", "b"], (2, 1, 1)) # 'truth' is a tensor of shape `[2, 2]` with variable-length values: # (0,0) = [] # (0,1) = ["a"] # (1,0) = ["b", "c"] # (1,1) = ["a"] truth = tf.SparseTensor( [[0, 1, 0], [1, 0, 0], [1, 0, 1], [1, 1, 0]], ["a", "b", "c", "a"], (2, 2, 2)) normalize = True ``` This operation would return the following: ```python # 'output' is a tensor of shape `[2, 2]` with edit distances normalized # by 'truth' lengths. output ==> [[inf, 1.0], # (0,0): no truth, (0,1): no hypothesis [0.5, 1.0]] # (1,0): addition, (1,1): no hypothesis ``` Args: hypothesis: A `SparseTensor` containing hypothesis sequences. truth: A `SparseTensor` containing truth sequences. normalize: A `bool`. If `True`, normalizes the Levenshtein distance by length of `truth.` name: A name for the operation (optional). Returns: A dense `Tensor` with rank `R - 1`, where R is the rank of the `SparseTensor` inputs `hypothesis` and `truth`. Raises: TypeError: If either `hypothesis` or `truth` are not a `SparseTensor`. """ if not isinstance( hypothesis, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue)): raise TypeError("Hypothesis must be a SparseTensor.") if not isinstance( truth, (sparse_tensor.SparseTensor, sparse_tensor.SparseTensorValue)): raise TypeError("Truth must be a SparseTensor.") return gen_array_ops.edit_distance( hypothesis.indices, hypothesis.values, hypothesis.dense_shape, truth.indices, truth.values, truth.dense_shape, normalize=normalize, name=name) @ops.RegisterGradient("FakeQuantWithMinMaxArgs") def _FakeQuantWithMinMaxArgsGradient(op, grad): """Gradient for FakeQuantWithMinMaxArgs op.""" return fake_quant_with_min_max_args_gradient( grad, op.inputs[0], min=op.get_attr("min"), max=op.get_attr("max"), num_bits=op.get_attr("num_bits"), narrow_range=op.get_attr("narrow_range")) @ops.RegisterGradient("FakeQuantWithMinMaxVars") def _FakeQuantWithMinMaxVarsGradient(op, grad): """Gradient for FakeQuantWithMinMaxVars op.""" return fake_quant_with_min_max_vars_gradient( grad, op.inputs[0], op.inputs[1], op.inputs[2], num_bits=op.get_attr("num_bits"), narrow_range=op.get_attr("narrow_range")) @ops.RegisterGradient("FakeQuantWithMinMaxVarsPerChannel") def _FakeQuantWithMinMaxVarsPerChannelGradient(op, grad): """Gradient for FakeQuantWithMinMaxVarsPerChannel op.""" return fake_quant_with_min_max_vars_per_channel_gradient( grad, op.inputs[0], op.inputs[1], op.inputs[2], num_bits=op.get_attr("num_bits"), narrow_range=op.get_attr("narrow_range")) @tf_export("required_space_to_batch_paddings") def required_space_to_batch_paddings(input_shape, block_shape, base_paddings=None, name=None): """Calculate padding required to make block_shape divide input_shape. This function can be used to calculate a suitable paddings argument for use with space_to_batch_nd and batch_to_space_nd. Args: input_shape: int32 Tensor of shape [N]. block_shape: int32 Tensor of shape [N]. base_paddings: Optional int32 Tensor of shape [N, 2]. Specifies the minimum amount of padding to use. All elements must be >= 0. If not specified, defaults to 0. name: string. Optional name prefix. Returns: (paddings, crops), where: `paddings` and `crops` are int32 Tensors of rank 2 and shape [N, 2] satisfying: paddings[i, 0] = base_paddings[i, 0]. 0 <= paddings[i, 1] - base_paddings[i, 1] < block_shape[i] (input_shape[i] + paddings[i, 0] + paddings[i, 1]) % block_shape[i] == 0 crops[i, 0] = 0 crops[i, 1] = paddings[i, 1] - base_paddings[i, 1] Raises: ValueError if called with incompatible shapes. """ with ops.name_scope(name, "required_space_to_batch_paddings", [input_shape, block_shape]): input_shape = ops.convert_to_tensor( input_shape, dtype=dtypes.int32, name="input_shape") block_shape = ops.convert_to_tensor( block_shape, dtype=dtypes.int32, name="block_shape") block_shape.get_shape().assert_is_fully_defined() block_shape.get_shape().assert_has_rank(1) num_block_dims = block_shape.get_shape().dims[0].value if num_block_dims == 0: return zeros([0, 2], dtypes.int32), zeros([0, 2], dtypes.int32) input_shape.get_shape().assert_is_compatible_with([num_block_dims]) if base_paddings is not None: base_paddings = ops.convert_to_tensor( base_paddings, dtype=dtypes.int32, name="base_paddings") base_paddings.get_shape().assert_is_compatible_with([num_block_dims, 2]) else: base_paddings = zeros([num_block_dims, 2], dtypes.int32) const_block_shape = tensor_util.constant_value(block_shape) const_input_shape = tensor_util.constant_value(input_shape) const_base_paddings = tensor_util.constant_value(base_paddings) if (const_block_shape is not None and const_input_shape is not None and const_base_paddings is not None): block_shape = const_block_shape input_shape = const_input_shape base_paddings = const_base_paddings # Use same expression for both constant and non-constant case. pad_start = base_paddings[:, 0] orig_pad_end = base_paddings[:, 1] full_input_shape = input_shape + pad_start + orig_pad_end pad_end_extra = (block_shape - full_input_shape % block_shape) % block_shape pad_end = orig_pad_end + pad_end_extra result_paddings = stack( [[pad_start[i], pad_end[i]] for i in range(num_block_dims)], name="paddings") result_crops = stack([[0, pad_end_extra[i]] for i in range(num_block_dims)], name="crops") return result_paddings, result_crops @tf_export(v1=["nn.space_to_batch", "space_to_batch"]) @deprecation.deprecated_endpoints("space_to_batch") def space_to_batch( # pylint: disable=missing-docstring input, # pylint: disable=redefined-builtin paddings, block_size=None, name=None, block_shape=None): # pylint: disable=redefined-builtin block_size = deprecation.deprecated_argument_lookup("block_shape", block_shape, "block_size", block_size) result = space_to_batch_nd( input, paddings=paddings, block_shape=np.array([block_size, block_size], dtype=np.int64), name=name) result.set_shape(result.get_shape().with_rank(4)) return result space_to_batch.__doc__ = gen_array_ops.space_to_batch.__doc__ @tf_export("space_to_batch", "nn.space_to_batch", v1=[]) def space_to_batch_v2(input, block_shape, paddings, name=None): # pylint: disable=redefined-builtin return space_to_batch_nd(input, block_shape, paddings, name) space_to_batch_v2.__doc__ = gen_array_ops.space_to_batch_nd.__doc__ @tf_export(v1=["nn.space_to_depth", "space_to_depth"]) @deprecation.deprecated_endpoints("space_to_depth") def space_to_depth(input, block_size, name=None, data_format="NHWC"): # pylint: disable=redefined-builtin return gen_array_ops.space_to_depth(input, block_size, data_format, name=name) space_to_depth.__doc__ = gen_array_ops.space_to_depth.__doc__ @tf_export("nn.space_to_depth", v1=[]) def space_to_depth_v2(input, block_size, data_format="NHWC", name=None): # pylint: disable=redefined-builtin return gen_array_ops.space_to_depth(input, block_size, data_format, name=name) space_to_depth_v2.__doc__ = gen_array_ops.space_to_depth.__doc__ @tf_export(v1=["nn.depth_to_space", "depth_to_space"]) @deprecation.deprecated_endpoints("depth_to_space") def depth_to_space(input, block_size, name=None, data_format="NHWC"): # pylint: disable=redefined-builtin return gen_array_ops.depth_to_space(input, block_size, data_format, name=name) depth_to_space.__doc__ = gen_array_ops.depth_to_space.__doc__ @tf_export("nn.depth_to_space", v1=[]) def depth_to_space_v2(input, block_size, data_format="NHWC", name=None): # pylint: disable=redefined-builtin return gen_array_ops.depth_to_space(input, block_size, data_format, name=name) depth_to_space_v2.__doc__ = gen_array_ops.depth_to_space.__doc__ @tf_export(v1=["batch_to_space"]) def batch_to_space(input, crops, block_size, name=None, block_shape=None): # pylint: disable=redefined-builtin,missing-docstring block_size = deprecation.deprecated_argument_lookup("block_shape", block_shape, "block_size", block_size) result = batch_to_space_nd( input, crops=crops, block_shape=np.array([block_size, block_size], dtype=np.int64), name=name) result.set_shape(result.get_shape().with_rank(4)) return result batch_to_space.__doc__ = gen_array_ops.batch_to_space.__doc__ @tf_export("batch_to_space", v1=[]) def batch_to_space_v2(input, block_shape, crops, name=None): # pylint: disable=redefined-builtin """BatchToSpace for N-D tensors of type T. This operation reshapes the "batch" dimension 0 into `M + 1` dimensions of shape `block_shape + [batch]`, interleaves these blocks back into the grid defined by the spatial dimensions `[1, ..., M]`, to obtain a result with the same rank as the input. The spatial dimensions of this intermediate result are then optionally cropped according to `crops` to produce the output. This is the reverse of SpaceToBatch (see `tf.space_to_batch`). Args: input: A N-D `Tensor` with shape `input_shape = [batch] + spatial_shape + remaining_shape`, where `spatial_shape` has M dimensions. block_shape: A 1-D `Tensor` with shape [M]. Must be one of the following types: `int32`, `int64`. All values must be >= 1. For backwards compatibility with TF 1.0, this parameter may be an int, in which case it is converted to `numpy.array([block_shape, block_shape], dtype=numpy.int64)`. crops: A 2-D `Tensor` with shape `[M, 2]`. Must be one of the following types: `int32`, `int64`. All values must be >= 0. `crops[i] = [crop_start, crop_end]` specifies the amount to crop from input dimension `i + 1`, which corresponds to spatial dimension `i`. It is required that `crop_start[i] + crop_end[i] <= block_shape[i] * input_shape[i + 1]`. This operation is equivalent to the following steps: 1. Reshape `input` to `reshaped` of shape: [block_shape[0], ..., block_shape[M-1], batch / prod(block_shape), input_shape[1], ..., input_shape[N-1]] 2. Permute dimensions of `reshaped` to produce `permuted` of shape [batch / prod(block_shape), input_shape[1], block_shape[0], ..., input_shape[M], block_shape[M-1], input_shape[M+1], ..., input_shape[N-1]] 3. Reshape `permuted` to produce `reshaped_permuted` of shape [batch / prod(block_shape), input_shape[1] * block_shape[0], ..., input_shape[M] * block_shape[M-1], input_shape[M+1], ..., input_shape[N-1]] 4. Crop the start and end of dimensions `[1, ..., M]` of `reshaped_permuted` according to `crops` to produce the output of shape: [batch / prod(block_shape), input_shape[1] * block_shape[0] - crops[0,0] - crops[0,1], ..., input_shape[M] * block_shape[M-1] - crops[M-1,0] - crops[M-1,1], input_shape[M+1], ..., input_shape[N-1]] Some Examples: (1) For the following input of shape `[4, 1, 1, 1]`, `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`: ```python [[[[1]]], [[[2]]], [[[3]]], [[[4]]]] ``` The output tensor has shape `[1, 2, 2, 1]` and value: ``` x = [[[[1], [2]], [[3], [4]]]] ``` (2) For the following input of shape `[4, 1, 1, 3]`, `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`: ```python [[[1, 2, 3]], [[4, 5, 6]], [[7, 8, 9]], [[10, 11, 12]]] ``` The output tensor has shape `[1, 2, 2, 3]` and value: ```python x = [[[[1, 2, 3], [4, 5, 6 ]], [[7, 8, 9], [10, 11, 12]]]] ``` (3) For the following input of shape `[4, 2, 2, 1]`, `block_shape = [2, 2]`, and `crops = [[0, 0], [0, 0]]`: ```python x = [[[[1], [3]], [[ 9], [11]]], [[[2], [4]], [[10], [12]]], [[[5], [7]], [[13], [15]]], [[[6], [8]], [[14], [16]]]] ``` The output tensor has shape `[1, 4, 4, 1]` and value: ```python x = [[[1], [2], [ 3], [ 4]], [[5], [6], [ 7], [ 8]], [[9], [10], [11], [12]], [[13], [14], [15], [16]]] ``` (4) For the following input of shape `[8, 1, 3, 1]`, `block_shape = [2, 2]`, and `crops = [[0, 0], [2, 0]]`: ```python x = [[[[0], [ 1], [ 3]]], [[[0], [ 9], [11]]], [[[0], [ 2], [ 4]]], [[[0], [10], [12]]], [[[0], [ 5], [ 7]]], [[[0], [13], [15]]], [[[0], [ 6], [ 8]]], [[[0], [14], [16]]]] ``` The output tensor has shape `[2, 2, 4, 1]` and value: ```python x = [[[[ 1], [ 2], [ 3], [ 4]], [[ 5], [ 6], [ 7], [ 8]]], [[[ 9], [10], [11], [12]], [[13], [14], [15], [16]]]] ``` name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `input`. """ if isinstance(block_shape, int): block_shape = np.array([block_shape, block_shape], dtype=np.int64) return batch_to_space_nd( input=input, block_shape=block_shape, crops=crops, name=name) @tf_export("one_hot") @dispatch.add_dispatch_support def one_hot(indices, depth, on_value=None, off_value=None, axis=None, dtype=None, name=None): """Returns a one-hot tensor. The locations represented by indices in `indices` take value `on_value`, while all other locations take value `off_value`. `on_value` and `off_value` must have matching data types. If `dtype` is also provided, they must be the same data type as specified by `dtype`. If `on_value` is not provided, it will default to the value `1` with type `dtype` If `off_value` is not provided, it will default to the value `0` with type `dtype` If the input `indices` is rank `N`, the output will have rank `N+1`. The new axis is created at dimension `axis` (default: the new axis is appended at the end). If `indices` is a scalar the output shape will be a vector of length `depth` If `indices` is a vector of length `features`, the output shape will be: ``` features x depth if axis == -1 depth x features if axis == 0 ``` If `indices` is a matrix (batch) with shape `[batch, features]`, the output shape will be: ``` batch x features x depth if axis == -1 batch x depth x features if axis == 1 depth x batch x features if axis == 0 ``` If `indices` is a RaggedTensor, the 'axis' argument must be positive and refer to a non-ragged axis. The output will be equivalent to applying 'one_hot' on the values of the RaggedTensor, and creating a new RaggedTensor from the result. If `dtype` is not provided, it will attempt to assume the data type of `on_value` or `off_value`, if one or both are passed in. If none of `on_value`, `off_value`, or `dtype` are provided, `dtype` will default to the value `tf.float32`. Note: If a non-numeric data type output is desired (`tf.string`, `tf.bool`, etc.), both `on_value` and `off_value` _must_ be provided to `one_hot`. For example: ```python indices = [0, 1, 2] depth = 3 tf.one_hot(indices, depth) # output: [3 x 3] # [[1., 0., 0.], # [0., 1., 0.], # [0., 0., 1.]] indices = [0, 2, -1, 1] depth = 3 tf.one_hot(indices, depth, on_value=5.0, off_value=0.0, axis=-1) # output: [4 x 3] # [[5.0, 0.0, 0.0], # one_hot(0) # [0.0, 0.0, 5.0], # one_hot(2) # [0.0, 0.0, 0.0], # one_hot(-1) # [0.0, 5.0, 0.0]] # one_hot(1) indices = [[0, 2], [1, -1]] depth = 3 tf.one_hot(indices, depth, on_value=1.0, off_value=0.0, axis=-1) # output: [2 x 2 x 3] # [[[1.0, 0.0, 0.0], # one_hot(0) # [0.0, 0.0, 1.0]], # one_hot(2) # [[0.0, 1.0, 0.0], # one_hot(1) # [0.0, 0.0, 0.0]]] # one_hot(-1) indices = tf.ragged.constant([[0, 1], [2]]) depth = 3 tf.one_hot(indices, depth) # output: [2 x None x 3] # [[[1., 0., 0.], # [0., 1., 0.]], # [[0., 0., 1.]]] ``` Args: indices: A `Tensor` of indices. depth: A scalar defining the depth of the one hot dimension. on_value: A scalar defining the value to fill in output when `indices[j] = i`. (default: 1) off_value: A scalar defining the value to fill in output when `indices[j] != i`. (default: 0) axis: The axis to fill (default: -1, a new inner-most axis). dtype: The data type of the output tensor. name: A name for the operation (optional). Returns: output: The one-hot tensor. Raises: TypeError: If dtype of either `on_value` or `off_value` don't match `dtype` TypeError: If dtype of `on_value` and `off_value` don't match one another """ with ops.name_scope( name, "one_hot", [indices, depth, on_value, off_value, axis, dtype]) as name: on_exists = on_value is not None off_exists = off_value is not None if on_exists: on_value = ops.convert_to_tensor(on_value, dtype_hint=dtype) if off_exists: off_value = ops.convert_to_tensor(off_value, dtype_hint=dtype) on_dtype = on_value.dtype.base_dtype if on_exists else None off_dtype = off_value.dtype.base_dtype if off_exists else None if on_exists or off_exists: if dtype is not None: # Ensure provided on_value and/or off_value match dtype if on_exists and on_dtype != dtype: raise TypeError("dtype {0} of on_value does not match " "dtype parameter {1}".format(on_dtype, dtype)) if off_exists and off_dtype != dtype: raise TypeError("dtype {0} of off_value does not match " "dtype parameter {1}".format(off_dtype, dtype)) else: # dtype not provided: automatically assign it dtype = on_dtype if on_exists else off_dtype elif dtype is None: # None of on_value, off_value, or dtype provided. Default dtype to float32 dtype = dtypes.float32 if not on_exists: # on_value not provided: assign to value 1 of type dtype on_value = ops.convert_to_tensor(1, dtype, name="on_value") on_dtype = dtype if not off_exists: # off_value not provided: assign to value 0 of type dtype off_value = ops.convert_to_tensor(0, dtype, name="off_value") off_dtype = dtype if on_dtype != off_dtype: raise TypeError("dtype {0} of on_value does not match " "dtype {1} of off_value".format(on_dtype, off_dtype)) return gen_array_ops.one_hot(indices, depth, on_value, off_value, axis, name) def _all_dimensions(x): """Returns a 1D-tensor listing all dimensions in x.""" # Fast path: avoid creating Rank and Range ops if ndims is known. if isinstance(x, ops.Tensor) and x.get_shape().ndims is not None: return constant_op.constant( np.arange(x.get_shape().ndims), dtype=dtypes.int32) if (isinstance(x, sparse_tensor.SparseTensor) and x.dense_shape.get_shape().is_fully_defined()): r = x.dense_shape.get_shape().dims[0].value # sparse.dense_shape is 1-D. return constant_op.constant(np.arange(r), dtype=dtypes.int32) # Otherwise, we rely on `range` and `rank` to do the right thing at runtime. return gen_math_ops._range(0, rank(x), 1) @tf_export("sequence_mask") def sequence_mask(lengths, maxlen=None, dtype=dtypes.bool, name=None): """Returns a mask tensor representing the first N positions of each cell. If `lengths` has shape `[d_1, d_2, ..., d_n]` the resulting tensor `mask` has dtype `dtype` and shape `[d_1, d_2, ..., d_n, maxlen]`, with ``` mask[i_1, i_2, ..., i_n, j] = (j < lengths[i_1, i_2, ..., i_n]) ``` Examples: ```python tf.sequence_mask([1, 3, 2], 5) # [[True, False, False, False, False], # [True, True, True, False, False], # [True, True, False, False, False]] tf.sequence_mask([[1, 3],[2,0]]) # [[[True, False, False], # [True, True, True]], # [[True, True, False], # [False, False, False]]] ``` Args: lengths: integer tensor, all its values <= maxlen. maxlen: scalar integer tensor, size of last dimension of returned tensor. Default is the maximum value in `lengths`. dtype: output type of the resulting tensor. name: name of the op. Returns: A mask tensor of shape `lengths.shape + (maxlen,)`, cast to specified dtype. Raises: ValueError: if `maxlen` is not a scalar. """ with ops.name_scope(name, "SequenceMask", [lengths, maxlen]): lengths = ops.convert_to_tensor(lengths) if maxlen is None: maxlen = gen_math_ops._max(lengths, _all_dimensions(lengths)) maxlen = gen_math_ops.maximum(constant(0, maxlen.dtype), maxlen) else: maxlen = ops.convert_to_tensor(maxlen) if maxlen.get_shape().ndims is not None and maxlen.get_shape().ndims != 0: raise ValueError("maxlen must be scalar for sequence_mask") # The basic idea is to compare a range row vector of size maxlen: # [0, 1, 2, 3, 4] # to length as a matrix with 1 column: [[1], [3], [2]]. # Because of broadcasting on both arguments this comparison results # in a matrix of size (len(lengths), maxlen) row_vector = gen_math_ops._range( constant(0, maxlen.dtype), maxlen, constant(1, maxlen.dtype)) # Since maxlen >= max(lengths), it is safe to use maxlen as a cast # authoritative type. Whenever maxlen fits into tf.int32, so do the lengths. matrix = gen_math_ops.cast(expand_dims(lengths, -1), maxlen.dtype) result = row_vector < matrix if dtype is None or result.dtype.base_dtype == dtype.base_dtype: return result else: return gen_math_ops.cast(result, dtype) @tf_export(v1=["squeeze"]) @dispatch.add_dispatch_support @deprecation.deprecated_args(None, "Use the `axis` argument instead", "squeeze_dims") def squeeze(input, axis=None, name=None, squeeze_dims=None): # pylint: disable=redefined-builtin """Removes dimensions of size 1 from the shape of a tensor. Given a tensor `input`, this operation returns a tensor of the same type with all dimensions of size 1 removed. If you don't want to remove all size 1 dimensions, you can remove specific size 1 dimensions by specifying `axis`. For example: >>> # 't' is a tensor of shape [1, 2, 1, 3, 1, 1] >>> t = tf.ones([1, 2, 1, 3, 1, 1]) >>> print(tf.shape(tf.squeeze(t)).numpy()) [2 3] Or, to remove specific size 1 dimensions: >>> # 't' is a tensor of shape [1, 2, 1, 3, 1, 1] >>> t = tf.ones([1, 2, 1, 3, 1, 1]) >>> print(tf.shape(tf.squeeze(t, [2, 4])).numpy()) [1 2 3 1] Note: if `input` is a `tf.RaggedTensor`, then this operation takes `O(N)` time, where `N` is the number of elements in the squeezed dimensions. Args: input: A `Tensor`. The `input` to squeeze. axis: An optional list of `ints`. Defaults to `[]`. If specified, only squeezes the dimensions listed. The dimension index starts at 0. It is an error to squeeze a dimension that is not 1. Must be in the range `[-rank(input), rank(input))`. Must be specified if `input` is a `RaggedTensor`. name: A name for the operation (optional). squeeze_dims: Deprecated keyword argument that is now axis. Returns: A `Tensor`. Has the same type as `input`. Contains the same data as `input`, but has one or more dimensions of size 1 removed. Raises: ValueError: When both `squeeze_dims` and `axis` are specified. """ axis = deprecation.deprecated_argument_lookup("axis", axis, "squeeze_dims", squeeze_dims) if np.isscalar(axis): axis = [axis] return gen_array_ops.squeeze(input, axis, name) @tf_export("squeeze", v1=[]) @dispatch.add_dispatch_support def squeeze_v2(input, axis=None, name=None): """Removes dimensions of size 1 from the shape of a tensor. Given a tensor `input`, this operation returns a tensor of the same type with all dimensions of size 1 removed. If you don't want to remove all size 1 dimensions, you can remove specific size 1 dimensions by specifying `axis`. For example: ```python # 't' is a tensor of shape [1, 2, 1, 3, 1, 1] tf.shape(tf.squeeze(t)) # [2, 3] ``` Or, to remove specific size 1 dimensions: ```python # 't' is a tensor of shape [1, 2, 1, 3, 1, 1] tf.shape(tf.squeeze(t, [2, 4])) # [1, 2, 3, 1] ``` Unlike the older op `tf.compat.v1.squeeze`, this op does not accept a deprecated `squeeze_dims` argument. Note: if `input` is a `tf.RaggedTensor`, then this operation takes `O(N)` time, where `N` is the number of elements in the squeezed dimensions. Args: input: A `Tensor`. The `input` to squeeze. axis: An optional list of `ints`. Defaults to `[]`. If specified, only squeezes the dimensions listed. The dimension index starts at 0. It is an error to squeeze a dimension that is not 1. Must be in the range `[-rank(input), rank(input))`. Must be specified if `input` is a `RaggedTensor`. name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `input`. Contains the same data as `input`, but has one or more dimensions of size 1 removed. Raises: ValueError: The input cannot be converted to a tensor, or the specified axis cannot be squeezed. """ # pylint: disable=redefined-builtin return squeeze(input, axis, name) @tf_export(v1=["where"]) @dispatch.add_dispatch_support def where(condition, x=None, y=None, name=None): """Return the elements, either from `x` or `y`, depending on the `condition`. If both `x` and `y` are None, then this operation returns the coordinates of true elements of `condition`. The coordinates are returned in a 2-D tensor where the first dimension (rows) represents the number of true elements, and the second dimension (columns) represents the coordinates of the true elements. Keep in mind, the shape of the output tensor can vary depending on how many true values there are in input. Indices are output in row-major order. If both non-None, `x` and `y` must have the same shape. The `condition` tensor must be a scalar if `x` and `y` are scalar. If `x` and `y` are tensors of higher rank, then `condition` must be either a vector with size matching the first dimension of `x`, or must have the same shape as `x`. The `condition` tensor acts as a mask that chooses, based on the value at each element, whether the corresponding element / row in the output should be taken from `x` (if true) or `y` (if false). If `condition` is a vector and `x` and `y` are higher rank matrices, then it chooses which row (outer dimension) to copy from `x` and `y`. If `condition` has the same shape as `x` and `y`, then it chooses which element to copy from `x` and `y`. Args: condition: A `Tensor` of type `bool` x: A Tensor which may have the same shape as `condition`. If `condition` is rank 1, `x` may have higher rank, but its first dimension must match the size of `condition`. y: A `tensor` with the same shape and type as `x`. name: A name of the operation (optional) Returns: A `Tensor` with the same type and shape as `x`, `y` if they are non-None. Otherwise, a `Tensor` with shape `(num_true, rank(condition))`. Raises: ValueError: When exactly one of `x` or `y` is non-None. """ if x is None and y is None: with ops.name_scope(name, "Where", [condition]) as name: condition = ops.convert_to_tensor( condition, preferred_dtype=dtypes.bool, name="condition") return gen_array_ops.where(condition=condition, name=name) elif x is not None and y is not None: return gen_math_ops.select(condition=condition, x=x, y=y, name=name) else: raise ValueError("x and y must both be non-None or both be None.") @tf_export("where", v1=["where_v2"]) def where_v2(condition, x=None, y=None, name=None): """Return the elements where `condition` is `True` (multiplexing `x` and `y`). This operator has two modes: in one mode both `x` and `y` are provided, in another mode neither are provided. `condition` is always expected to be a `tf.Tensor` of type `bool`. #### Retrieving indices of `True` elements If `x` and `y` are not provided (both are None): `tf.where` will return the indices of `condition` that are `True`, in the form of a 2-D tensor with shape (n, d). (Where n is the number of matching indices in `condition`, and d is the number of dimensions in `condition`). Indices are output in row-major order. >>> tf.where([True, False, False, True]) <tf.Tensor: shape=(2, 1), dtype=int64, numpy= array([[0], [3]])> >>> tf.where([[True, False], [False, True]]) <tf.Tensor: shape=(2, 2), dtype=int64, numpy= array([[0, 0], [1, 1]])> >>> tf.where([[[True, False], [False, True], [True, True]]]) <tf.Tensor: shape=(4, 3), dtype=int64, numpy= array([[0, 0, 0], [0, 1, 1], [0, 2, 0], [0, 2, 1]])> #### Multiplexing between `x` and `y` If `x` and `y` are provided (both have non-None values): `tf.where` will choose an output shape from the shapes of `condition`, `x`, and `y` that all three shapes are [broadcastable](https://docs.scipy.org/doc/numpy/reference/ufuncs.html) to. The `condition` tensor acts as a mask that chooses whether the corresponding element / row in the output should be taken from `x` (if the elemment in `condition is True) or `y` (if it is false). >>> tf.where([True, False, False, True], [1,2,3,4], [100,200,300,400]) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([ 1, 200, 300, 4], dtype=int32)> >>> tf.where([True, False, False, True], [1,2,3,4], [100]) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([ 1, 100, 100, 4], dtype=int32)> >>> tf.where([True, False, False, True], [1,2,3,4], 100) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([ 1, 100, 100, 4], dtype=int32)> >>> tf.where([True, False, False, True], 1, 100) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([ 1, 100, 100, 1], dtype=int32)> >>> tf.where(True, [1,2,3,4], 100) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([1, 2, 3, 4], dtype=int32)> >>> tf.where(False, [1,2,3,4], 100) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([100, 100, 100, 100], dtype=int32)> Args: condition: A `tf.Tensor` of type `bool` x: If provided, a Tensor which is of the same type as `y`, and has a shape broadcastable with `condition` and `y`. y: If provided, a Tensor which is of the same type as `y`, and has a shape broadcastable with `condition` and `x`. name: A name of the operation (optional). Returns: If `x` and `y` are provided: A `Tensor` with the same type as `x` and `y`, and shape that is broadcast from `condition`, `x`, and `y`. Otherwise, a `Tensor` with shape `(num_true, dim_size(condition))`. Raises: ValueError: When exactly one of `x` or `y` is non-None, or the shapes are not all broadcastable. """ if x is None and y is None: with ops.name_scope(name, "Where", [condition]) as name: condition = ops.convert_to_tensor( condition, preferred_dtype=dtypes.bool, name="condition") return gen_array_ops.where(condition=condition, name=name) elif x is not None and y is not None: return gen_math_ops.select_v2(condition=condition, t=x, e=y, name=name) else: raise ValueError("x and y must both be non-None or both be None.") # pylint: disable=redefined-builtin @tf_export(v1=["reverse_sequence"]) @deprecation.deprecated_args(None, "seq_dim is deprecated, use seq_axis instead", "seq_dim") @deprecation.deprecated_args(None, "batch_dim is deprecated, use batch_axis instead", "batch_dim") def reverse_sequence(input, seq_lengths, seq_axis=None, batch_axis=None, name=None, seq_dim=None, batch_dim=None): """Reverses variable length slices. This op first slices `input` along the dimension `batch_axis`, and for each slice `i`, reverses the first `seq_lengths[i]` elements along the dimension `seq_axis`. The elements of `seq_lengths` must obey `seq_lengths[i] <= input.dims[seq_dim]`, and `seq_lengths` must be a vector of length `input.dims[batch_dim]`. The output slice `i` along dimension `batch_axis` is then given by input slice `i`, with the first `seq_lengths[i]` slices along dimension `seq_axis` reversed. Example usage: >>> seq_lengths = [7, 2, 3, 5] >>> input = [[1, 2, 3, 4, 5, 0, 0, 0], [1, 2, 0, 0, 0, 0, 0, 0], ... [1, 2, 3, 4, 0, 0, 0, 0], [1, 2, 3, 4, 5, 6, 7, 8]] >>> output = tf.reverse_sequence(input, seq_lengths, seq_axis=1, batch_axis=0) >>> output <tf.Tensor: shape=(4, 8), dtype=int32, numpy= array([[0, 0, 5, 4, 3, 2, 1, 0], [2, 1, 0, 0, 0, 0, 0, 0], [3, 2, 1, 4, 0, 0, 0, 0], [5, 4, 3, 2, 1, 6, 7, 8]], dtype=int32)> Args: `input`: A `Tensor`. The input to reverse. `seq_lengths`: A `Tensor`. Must be one of the following types: `int32`, `int64`. 1-D with length `input.dims(batch_dim)` and `max(seq_lengths) <= input.dims(seq_dim)` `seq_axis`: An `int`. The dimension which is partially reversed. `batch_axis`: An optional `int`. Defaults to `0`. The dimension along which reversal is performed. `name`: A name for the operation (optional). Returns: A Tensor. Has the same type as input. """ seq_axis = deprecation.deprecated_argument_lookup("seq_axis", seq_axis, "seq_dim", seq_dim) batch_axis = deprecation.deprecated_argument_lookup("batch_axis", batch_axis, "batch_dim", batch_dim) return gen_array_ops.reverse_sequence( input=input, seq_lengths=seq_lengths, seq_dim=seq_axis, batch_dim=batch_axis, name=name) @tf_export("reverse_sequence", v1=[]) def reverse_sequence_v2(input, seq_lengths, seq_axis=None, batch_axis=None, name=None): return gen_array_ops.reverse_sequence( input=input, seq_lengths=seq_lengths, seq_dim=seq_axis, batch_dim=batch_axis, name=name) reverse_sequence_v2.__doc__ = reverse_sequence.__doc__ # pylint: enable=redefined-builtin @tf_export(v1=["gather"]) @dispatch.add_dispatch_support def gather(params, indices, validate_indices=None, name=None, axis=None, batch_dims=0): # pylint: disable=g-doc-args r"""Gather slices from params axis `axis` according to indices. Gather slices from params axis `axis` according to `indices`. `indices` must be an integer tensor of any dimension (usually 0-D or 1-D). For 0-D (scalar) `indices`: $$\begin{align*} output[p_0, ..., p_{axis-1}, && &&& p_{axis + 1}, ..., p_{N-1}] = \\ params[p_0, ..., p_{axis-1}, && indices, &&& p_{axis + 1}, ..., p_{N-1}] \end{align*}$$ Where *N* = `ndims(params)`. For 1-D (vector) `indices` with `batch_dims=0`: $$\begin{align*} output[p_0, ..., p_{axis-1}, && &i, &&p_{axis + 1}, ..., p_{N-1}] =\\ params[p_0, ..., p_{axis-1}, && indices[&i], &&p_{axis + 1}, ..., p_{N-1}] \end{align*}$$ In the general case, produces an output tensor where: $$\begin{align*} output[p_0, &..., p_{axis-1}, & &i_{B}, ..., i_{M-1}, & p_{axis + 1}, &..., p_{N-1}] = \\ params[p_0, &..., p_{axis-1}, & indices[p_0, ..., p_{B-1}, &i_{B}, ..., i_{M-1}], & p_{axis + 1}, &..., p_{N-1}] \end{align*}$$ Where *N* = `ndims(params)`, *M* = `ndims(indices)`, and *B* = `batch_dims`. Note that `params.shape[:batch_dims]` must be identical to `indices.shape[:batch_dims]`. The shape of the output tensor is: > `output.shape = params.shape[:axis] + indices.shape[batch_dims:] + > params.shape[axis + 1:]`. Note that on CPU, if an out of bound index is found, an error is returned. On GPU, if an out of bound index is found, a 0 is stored in the corresponding output value. See also `tf.gather_nd`. <div style="width:70%; margin:auto; margin-bottom:10px; margin-top:20px;"> <img style="width:100%" src="https://www.tensorflow.org/images/Gather.png" alt> </div> Args: params: The `Tensor` from which to gather values. Must be at least rank `axis + 1`. indices: The index `Tensor`. Must be one of the following types: `int32`, `int64`. Must be in range `[0, params.shape[axis])`. validate_indices: Deprecated, does nothing. axis: A `Tensor`. Must be one of the following types: `int32`, `int64`. The `axis` in `params` to gather `indices` from. Must be greater than or equal to `batch_dims`. Defaults to the first non-batch dimension. Supports negative indexes. batch_dims: An `integer`. The number of batch dimensions. Must be less than or equal to `rank(indices)`. name: A name for the operation (optional). Returns: A `Tensor`. Has the same type as `params`. """ del validate_indices if axis is None: axis = batch_dims if tensor_util.constant_value(axis) != 0: return gen_array_ops.gather_v2( params, indices, axis, batch_dims=batch_dims, name=name) try: # TODO(apassos) find a less bad way of detecting resource variables # without introducing a circular dependency. return params.sparse_read(indices, name=name) except AttributeError: return gen_array_ops.gather_v2(params, indices, axis, name=name) @tf_export("gather", v1=[]) @dispatch.add_dispatch_support def gather_v2(params, indices, validate_indices=None, axis=None, batch_dims=0, name=None): return gather( params, indices, validate_indices=validate_indices, name=name, axis=axis, batch_dims=batch_dims) gather_v2.__doc__ = gather.__doc__ @tf_export(v1=["batch_gather"]) @dispatch.add_dispatch_support @deprecation.deprecated( "2017-10-25", "`tf.batch_gather` is deprecated, please use `tf.gather` " "with `batch_dims=-1` instead.") # pylint: disable=missing-docstring def batch_gather(params, indices, name=None): """Gather slices from params according to indices with leading batch dims.""" with ops.name_scope(name, "BatchGather", [params, indices]): indices = ops.convert_to_tensor(indices, name="indices") params = ops.convert_to_tensor(params, name="params") if indices.shape.ndims is None: raise ValueError( "batch_gather does not allow indices with unknown shape.") return _batch_gather(params, indices, batch_dims=indices.shape.ndims - 1) def _batch_gather(params, indices, batch_dims, axis=None): r"""Gather slices from params according to indices with leading batch dims. This operation assumes that the leading `batch_dims` dimensions of `indices` and `params` are batch dimensions; and performs a `tf.gather` operation within each batch. (If `batch_dims` is not specified, then it defaults to `rank(indices)-1`.) In the case in which `batch_dims==0`, this operation is equivalent to `tf.gather`. Args: params: A Tensor. The tensor from which to gather values. indices: A Tensor. Must be one of the following types: int32, int64. Index tensor. Must be in range `[0, params.shape[batch_dims]]`. batch_dims: An integer or none. The number of batch dimensions. Must be less than `rank(indices)`. Defaults to `rank(indices) - 1` if None. axis: A `Tensor`. Must be one of the following types: `int32`, `int64`. The `axis` in `params` to gather `indices` from. Must be greater than or equal to `batch_dims`. Defaults to the first non-batch dimension. Supports negative indexes. Returns: A Tensor. Has the same type as `params`. Raises: ValueError: if `indices` has an unknown shape. """ if batch_dims is not None and not isinstance(batch_dims, int): raise TypeError("batch_dims must be an int; got %r" % (batch_dims,)) indices = ops.convert_to_tensor(indices, name="indices") params = ops.convert_to_tensor(params, name="params") indices_ndims = indices.shape.ndims if indices_ndims is None: raise ValueError("tf.gather does not allow indices with unknown " "rank when batch_dims is specified.") if batch_dims is None: batch_dims = indices_ndims - 1 if batch_dims < 0: batch_dims += indices_ndims if batch_dims < 0 or batch_dims >= indices_ndims: raise ValueError("batch_dims = %d must be less than rank(indices) = %d" % (batch_dims, indices_ndims)) if params.shape.ndims is not None and batch_dims >= params.shape.ndims: raise ValueError("batch_dims = %d must be less than rank(params) = %d" % (batch_dims, params.shape.ndims)) # Handle axis by transposing the axis dimension to be the first non-batch # dimension, recursively calling batch_gather with axis=0, and then # transposing the result to put the pre-axis dimensions before the indices # dimensions. if axis is not None and axis != batch_dims: # Adjust axis to be positive. if not isinstance(axis, int): axis = tf.where(axis < 0, axis + array_ops.rank(params), axis) elif axis < 0 and params.shape.ndims is None: axis = axis + array_ops.rank(params) else: if (axis < -params.shape.ndims) or (axis >= params.shape.ndims): raise ValueError("axis (%d) out of range [%d, %d)" % (axis, -params.shape.ndims, params.shape.ndims)) if axis < 0: axis += params.shape.ndims if axis < batch_dims: raise ValueError("batch_dims = %d must be less than or equal to " "axis = %d" % (batch_dims, axis)) # Move params[axis] up to params[batch_dims]. perm = [ list(range(batch_dims)), [axis], gen_math_ops._range(batch_dims, axis, 1), gen_math_ops._range(axis + 1, rank(params), 1) ] params = transpose(params, concat(perm, axis=0)) result = _batch_gather(params, indices, batch_dims=batch_dims) # Move the result dimensions corresponding to params[batch_dims:axis] # to just before the dimensions corresponding to indices[batch_dims:]. params_start = indices_ndims + axis - batch_dims perm = [ list(range(batch_dims)), gen_math_ops._range(indices_ndims, params_start, 1), list(range(batch_dims, indices_ndims)), gen_math_ops._range(params_start, rank(result), 1) ] return transpose(result, perm=concat(perm, axis=0)) indices_shape = shape(indices) params_shape = shape(params) batch_indices = indices indices_dtype = indices.dtype.base_dtype accum_dim_value = ones((), dtype=indices_dtype) # Use correct type for offset index computation casted_params_shape = gen_math_ops.cast(params_shape, indices_dtype) for dim in range(batch_dims, 0, -1): dim_value = casted_params_shape[dim - 1] accum_dim_value *= casted_params_shape[dim] start = zeros((), dtype=indices_dtype) step = ones((), dtype=indices_dtype) dim_indices = gen_math_ops._range(start, dim_value, step) dim_indices *= accum_dim_value dim_shape = stack( [1] * (dim - 1) + [dim_value] + [1] * (indices_ndims - dim), axis=0) batch_indices += reshape(dim_indices, dim_shape) flat_indices = reshape(batch_indices, [-1]) outer_shape = params_shape[batch_dims + 1:] flat_inner_shape = gen_math_ops.prod(params_shape[:batch_dims + 1], [0], False) flat_params = reshape(params, concat([[flat_inner_shape], outer_shape], axis=0)) flat_result = gather(flat_params, flat_indices) result = reshape(flat_result, concat([indices_shape, outer_shape], axis=0)) final_shape = indices.get_shape()[:batch_dims].merge_with( params.get_shape()[:batch_dims]) final_shape = final_shape.concatenate(indices.get_shape().dims[batch_dims:]) final_shape = final_shape.concatenate(params.get_shape()[batch_dims + 1:]) result.set_shape(final_shape) return result @tf_export(v1=["gather_nd", "manip.gather_nd"]) @dispatch.add_dispatch_support @deprecated_endpoints("manip.gather_nd") def gather_nd(params, indices, name=None, batch_dims=0): r"""Gather slices from `params` into a Tensor with shape specified by `indices`. `indices` is an K-dimensional integer tensor, best thought of as a (K-1)-dimensional tensor of indices into `params`, where each element defines a slice of `params`: output[\\(i_0, ..., i_{K-2}\\)] = params[indices[\\(i_0, ..., i_{K-2}\\)]] Whereas in `tf.gather` `indices` defines slices into the first dimension of `params`, in `tf.gather_nd`, `indices` defines slices into the first `N` dimensions of `params`, where `N = indices.shape[-1]`. The last dimension of `indices` can be at most the rank of `params`: indices.shape[-1] <= params.rank The last dimension of `indices` corresponds to elements (if `indices.shape[-1] == params.rank`) or slices (if `indices.shape[-1] < params.rank`) along dimension `indices.shape[-1]` of `params`. The output tensor has shape indices.shape[:-1] + params.shape[indices.shape[-1]:] Additionally both 'params' and 'indices' can have M leading batch dimensions that exactly match. In this case 'batch_dims' must be M. Note that on CPU, if an out of bound index is found, an error is returned. On GPU, if an out of bound index is found, a 0 is stored in the corresponding output value. Some examples below. Simple indexing into a matrix: ```python indices = [[0, 0], [1, 1]] params = [['a', 'b'], ['c', 'd']] output = ['a', 'd'] ``` Slice indexing into a matrix: ```python indices = [[1], [0]] params = [['a', 'b'], ['c', 'd']] output = [['c', 'd'], ['a', 'b']] ``` Indexing into a 3-tensor: ```python indices = [[1]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [[['a1', 'b1'], ['c1', 'd1']]] indices = [[0, 1], [1, 0]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [['c0', 'd0'], ['a1', 'b1']] indices = [[0, 0, 1], [1, 0, 1]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = ['b0', 'b1'] ``` The examples below are for the case when only indices have leading extra dimensions. If both 'params' and 'indices' have leading batch dimensions, use the 'batch_dims' parameter to run gather_nd in batch mode. Batched indexing into a matrix: ```python indices = [[[0, 0]], [[0, 1]]] params = [['a', 'b'], ['c', 'd']] output = [['a'], ['b']] ``` Batched slice indexing into a matrix: ```python indices = [[[1]], [[0]]] params = [['a', 'b'], ['c', 'd']] output = [[['c', 'd']], [['a', 'b']]] ``` Batched indexing into a 3-tensor: ```python indices = [[[1]], [[0]]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [[[['a1', 'b1'], ['c1', 'd1']]], [[['a0', 'b0'], ['c0', 'd0']]]] indices = [[[0, 1], [1, 0]], [[0, 0], [1, 1]]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [[['c0', 'd0'], ['a1', 'b1']], [['a0', 'b0'], ['c1', 'd1']]] indices = [[[0, 0, 1], [1, 0, 1]], [[0, 1, 1], [1, 1, 0]]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [['b0', 'b1'], ['d0', 'c1']] ``` Examples with batched 'params' and 'indices': ```python batch_dims = 1 indices = [[1], [0]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [['c0', 'd0'], ['a1', 'b1']] batch_dims = 1 indices = [[[1]], [[0]]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [[['c0', 'd0']], [['a1', 'b1']]] batch_dims = 1 indices = [[[1, 0]], [[0, 1]]] params = [[['a0', 'b0'], ['c0', 'd0']], [['a1', 'b1'], ['c1', 'd1']]] output = [['c0'], ['b1']] ``` See also `tf.gather`. Args: params: A `Tensor`. The tensor from which to gather values. indices: A `Tensor`. Must be one of the following types: `int32`, `int64`. Index tensor. name: A name for the operation (optional). batch_dims: An integer or a scalar 'Tensor'. The number of batch dimensions. Returns: A `Tensor`. Has the same type as `params`. """ batch_dims_ = tensor_util.constant_value(batch_dims) if batch_dims_ is not None: batch_dims = int(batch_dims_) if batch_dims == 0: try: # TODO(apassos) find a less bad way of detecting resource variables # without introducing a circular dependency. return params.gather_nd(indices, name=name) except AttributeError: return gen_array_ops.gather_nd(params, indices, name=name) else: return batch_gather_nd(params, indices, batch_dims=batch_dims, name=name) @tf_export("gather_nd", v1=[]) @dispatch.add_dispatch_support def gather_nd_v2(params, indices, batch_dims=0, name=None): return gather_nd(params, indices, name=name, batch_dims=batch_dims) gather_nd_v2.__doc__ = gather_nd.__doc__ def batch_gather_nd(params, indices, batch_dims, name=None): """gather_nd implementation with batch support.""" with ops.name_scope(name, "BatchGatherND", [params, indices]): indices = ops.convert_to_tensor(indices, name="indices") params = ops.convert_to_tensor(params, name="params") if not isinstance(batch_dims, int): raise TypeError("batch_dims must be an int; got %r" % (batch_dims,)) if batch_dims < 0: raise ValueError("tf.gather_nd does not allow negative batch_dims.") params_ndims = params.shape.ndims indices_ndims = indices.shape.ndims if indices_ndims is not None and batch_dims >= indices_ndims: raise ValueError("batch_dims = %d must be less than rank(indices) = %d" % (batch_dims, indices_ndims)) if params_ndims is not None and batch_dims >= params_ndims: raise ValueError("batch_dims = %d must be less than rank(params) = %d" % (batch_dims, params_ndims)) expand = batch_dims == 0 if expand: # Normally gather_nd will be called when batch_dims == 0. # But if this function is called with batch_dims = 0, e.g. for testing # purposes, this adds a dummy batch dimension to make batch_dims = 1. params = expand_dims(params, axis=0) indices = expand_dims(indices, axis=0) batch_dims = 1 params_shape = shape(params) indices_shape = shape(indices) batch_shape = params_shape[:batch_dims] batch_size = gen_math_ops.prod(batch_shape, [0]) index_internal_ndims = rank(indices) - batch_dims - 1 indices_internal_shape = indices_shape[batch_dims:-1] # Assuming a 'params' with shape [b1, ..., bM, g1, ..., gN] and an 'indices' # with shape [b1, ..., bM, i1, ..., iK, C], where C <= N, we need to modify # 'indices' s.t. it has shape [i1, ..., iK, D], where D <= M + N and slices # to the entire 'params' tensor. # Assuming we have a batch of shape [B1, B2], we use meshgrid to create a # grid of size B1 x B2. batch_dim_list = unstack(batch_shape, axis=0) dim_ranges = [ gen_math_ops.cast(gen_math_ops._range(0, x, 1), indices.dtype) for x in batch_dim_list ] mesh_list = meshgrid(*dim_ranges, indexing="ij") if dim_ranges else [] # Then we flatten and stack the tensors to form a (B1.B2) by 2 matrix. flat_list = [reshape(x, shape=(-1,)) for x in mesh_list] index_grid = transpose(stack(flat_list, axis=0)) # We need to concatenate these batch coordinates with the internal indices. # concat -> index_grid [B1.B2, 2] with indices [i1, ..., iK, C] # So we reshape them both to [(B1.B2), i1, ..., iK, *] index_grid_shape = shape(index_grid) index_grid = reshape( index_grid, concat([ index_grid_shape[:1], ones(index_internal_ndims, dtype=dtypes.int32), index_grid_shape[1:] ], axis=0)) tile_shape = concat(((1,), indices_internal_shape, (1,)), axis=0) index_grid = tile(index_grid, multiples=tile_shape) # index_grid now has shape [(B1.B2), i1, ..., iK, 2] flat_shape = concat(([batch_size], indices_shape[batch_dims:]), axis=0) flat_indices = reshape(indices, shape=flat_shape) # flat_indices now has shape [(B1.B2), i1, ..., iK, C] indices = concat((index_grid, flat_indices), axis=-1) # indices has shape [(B1.B2), i1, ..., iK, 2+C] out = gen_array_ops.gather_nd(params, indices) # out has shape [(B1.B2), i1, ..., iK, N-C]. Now we reshape batch to # its original form. out_shape = shape(out) out = reshape(out, shape=concat((batch_shape, out_shape[1:]), axis=0)) if expand: out = squeeze(out, axis=0) return out # Define quantize_v2 here in order to make name the second-to-last attribute, # because round_mode was added later. # (And also now because of 'axis' processing). @tf_export(v1=["quantize_v2"]) @deprecation.deprecated( "2017-10-25", "`tf.quantize_v2` is deprecated, please use `tf.quantization.quantize` " "instead.") # pylint: disable=missing-docstring def quantize_v2( input, # pylint: disable=redefined-builtin min_range, max_range, T, mode="MIN_COMBINED", name=None, round_mode="HALF_AWAY_FROM_ZERO", narrow_range=False, axis=None, ensure_minimum_range=0.01): if axis is None: axis = -1 elif axis < 0: if input.shape.ndims is None: raise ValueError("input should have known rank to use negative axis.") axis %= input.shape.ndims if ensure_minimum_range != 0.01: return gen_array_ops.quantize_v2( input, min_range, max_range, T=T, mode=mode, name=name, round_mode=round_mode, narrow_range=narrow_range, axis=axis, ensure_minimum_range=ensure_minimum_range) return gen_array_ops.quantize_v2( input, min_range, max_range, T=T, mode=mode, name=name, round_mode=round_mode, narrow_range=narrow_range, axis=axis) quantize_v2.__doc__ = """Please use `tf.quantization.quantize` instead.""" # We want to expose tf.quantization.quantize instead of # tf.quantization.quantize; we can deprecate tf.quantization.quantize in next # version of TensorFlow. @tf_export("quantization.quantize", v1=["quantization.quantize", "quantize"]) @deprecation.deprecated_endpoints("quantize") def quantize( input, # pylint: disable=redefined-builtin min_range, max_range, T, mode="MIN_COMBINED", round_mode="HALF_AWAY_FROM_ZERO", name=None, narrow_range=False, axis=None, ensure_minimum_range=0.01): """Quantize the input tensor.""" if ensure_minimum_range != 0.01: return quantize_v2( input, min_range, max_range, T, mode=mode, round_mode=round_mode, name=name, narrow_range=narrow_range, axis=axis, ensure_minimum_range=ensure_minimum_range) return quantize_v2( input, min_range, max_range, T, mode=mode, round_mode=round_mode, name=name, narrow_range=narrow_range, axis=axis) @tf_export("quantization.dequantize", v1=["quantization.dequantize", "dequantize"]) @deprecation.deprecated_endpoints("dequantize") def dequantize( # pylint: disable=missing-docstring input, # pylint: disable=redefined-builtin min_range, max_range, mode="MIN_COMBINED", name=None, axis=None, narrow_range=False, dtype=dtypes.float32): if axis is None: axis = -1 elif axis < 0: if input.shape.ndims is None: raise ValueError("input should have known rank to use negative axis.") axis %= input.shape.ndims if axis >= 0 or narrow_range: return gen_array_ops.dequantize( input, min_range, max_range, mode=mode, name=name, narrow_range=narrow_range, axis=axis, dtype=dtype) return gen_array_ops.dequantize( input, min_range, max_range, mode=mode, name=name, dtype=dtype) dequantize.__doc__ = gen_array_ops.dequantize.__doc__ @tf_export("quantization.quantize_and_dequantize") def quantize_and_dequantize( input, # pylint: disable=redefined-builtin input_min, input_max, signed_input=True, num_bits=8, range_given=False, round_mode="HALF_TO_EVEN", name=None, narrow_range=False, axis=None): """Quantizes then dequantizes a tensor. Args: input: A `Tensor` to quantize and dequantize. input_min: If range_given=True, the minimum input value, that needs to be represented in the quantized representation. If axis is specified, this should be a vector of minimum values for each slice along axis. input_max: If range_given=True, the maximum input value that needs to be represented in the quantized representation. If axis is specified, this should be a vector of maximum values for each slice along axis. signed_input: True if the quantization is signed or unsigned. num_bits: The bitwidth of the quantization. range_given: If true use `input_min` and `input_max` for the range of the input, otherwise determine min and max from the input `Tensor`. round_mode: Rounding mode when rounding from float values to quantized ones. one of ['HALF_TO_EVEN', 'HALF_UP'] name: Optional name for the operation. narrow_range: If true, then the absolute value of the quantized minimum value is the same as the quantized maximum value, instead of 1 greater. i.e. for 8 bit quantization, the minimum value is -127 instead of -128. axis: Integer. If specified, refers to a dimension of the input tensor, such that quantization will be per slice along that dimension. Returns: A `Tensor`. Each element is the result of quantizing and dequantizing the corresponding element of `input`. """ if axis is None: axis = -1 elif axis < 0: if input.shape.ndims is None: raise ValueError("input should have known rank to use negative axis.") axis %= input.shape.ndims return gen_array_ops.quantize_and_dequantize_v2( input, input_min=input_min, input_max=input_max, signed_input=signed_input, num_bits=num_bits, range_given=range_given, round_mode=round_mode, narrow_range=narrow_range, axis=axis, name=name) @tf_export("searchsorted") def searchsorted(sorted_sequence, values, side="left", out_type=dtypes.int32, name=None): """Searches input tensor for values on the innermost dimension. A 2-D example: ``` sorted_sequence = [[0, 3, 9, 9, 10], [1, 2, 3, 4, 5]] values = [[2, 4, 9], [0, 2, 6]] result = searchsorted(sorted_sequence, values, side="left") result == [[1, 2, 2], [0, 1, 5]] result = searchsorted(sorted_sequence, values, side="right") result == [[1, 2, 4], [0, 2, 5]] ``` Args: sorted_sequence: N-D `Tensor` containing a sorted sequence. values: N-D `Tensor` containing the search values. side: 'left' or 'right'; 'left' corresponds to lower_bound and 'right' to upper_bound. out_type: The output type (`int32` or `int64`). Default is `tf.int32`. name: Optional name for the operation. Returns: An N-D `Tensor` the size of values containing the result of applying either lower_bound or upper_bound (depending on side) to each value. The result is not a global index to the entire `Tensor`, but the index in the last dimension. Raises: ValueError: If the last dimension of `sorted_sequence >= 2^31-1` elements. If the total size of values exceeds `2^31 - 1` elements. If the first `N-1` dimensions of the two tensors don't match. """ sequence_size = shape_internal(sorted_sequence)[-1] values_size = shape_internal(values)[-1] sorted_sequence_2d = reshape(sorted_sequence, [-1, sequence_size]) values_2d = reshape(values, [-1, values_size]) if side == "right": output = gen_array_ops.upper_bound(sorted_sequence_2d, values_2d, out_type, name) elif side == "left": output = gen_array_ops.lower_bound(sorted_sequence_2d, values_2d, out_type, name) else: raise ValueError("side must be either 'right' or 'left'. Saw: %s." % side) return reshape(output, shape_internal(values)) quantize.__doc__ = gen_array_ops.quantize_v2.__doc__ @tf_export("image.extract_patches") def extract_image_patches_v2(images, sizes, strides, rates, padding, name=None): r"""Extract `patches` from `images`. This op collects patches from the input image, as if applying a convolution. All extracted patches are stacked in the depth (last) dimension of the output. Specifically, the op extracts patches of shape `sizes` which are `strides` apart in the input image. The output is subsampled using the `rates` argument, in the same manner as "atrous" or "dilated" convolutions. The result is a 4D tensor which is indexed by batch, row, and column. `output[i, x, y]` contains a flattened patch of size `sizes[1], sizes[2]` which is taken from the input starting at `images[i, x*strides[1], y*strides[2]]`. Each output patch can be reshaped to `sizes[1], sizes[2], depth`, where `depth` is `images.shape[3]`. The output elements are taken from the input at intervals given by the `rate` argument, as in dilated convolutions. The `padding` argument has no effect on the size of each patch, it determines how many patches are extracted. If `VALID`, only patches which are fully contained in the input image are included. If `SAME`, all patches whose starting point is inside the input are included, and areas outside the input default to zero. Example: ``` n = 10 # images is a 1 x 10 x 10 x 1 array that contains the numbers 1 through 100 images = [[[[x * n + y + 1] for y in range(n)] for x in range(n)]] # We generate two outputs as follows: # 1. 3x3 patches with stride length 5 # 2. Same as above, but the rate is increased to 2 tf.extract_image_patches(images=images, ksizes=[1, 3, 3, 1], strides=[1, 5, 5, 1], rates=[1, 1, 1, 1], padding='VALID') # Yields: [[[[ 1 2 3 11 12 13 21 22 23] [ 6 7 8 16 17 18 26 27 28]] [[51 52 53 61 62 63 71 72 73] [56 57 58 66 67 68 76 77 78]]]] ``` If we mark the pixels in the input image which are taken for the output with `*`, we see the pattern: ``` * * * 4 5 * * * 9 10 * * * 14 15 * * * 19 20 * * * 24 25 * * * 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 * * * 54 55 * * * 59 60 * * * 64 65 * * * 69 70 * * * 74 75 * * * 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 ``` ``` tf.extract_image_patches(images=images, sizes=[1, 3, 3, 1], strides=[1, 5, 5, 1], rates=[1, 2, 2, 1], padding='VALID') # Yields: [[[[ 1 3 5 21 23 25 41 43 45] [ 6 8 10 26 28 30 46 48 50]] [[ 51 53 55 71 73 75 91 93 95] [ 56 58 60 76 78 80 96 98 100]]]] ``` We can again draw the effect, this time using the symbols `*`, `x`, `+` and `o` to distinguish the patches: ``` * 2 * 4 * x 7 x 9 x 11 12 13 14 15 16 17 18 19 20 * 22 * 24 * x 27 x 29 x 31 32 33 34 35 36 37 38 39 40 * 42 * 44 * x 47 x 49 x + 52 + 54 + o 57 o 59 o 61 62 63 64 65 66 67 68 69 70 + 72 + 74 + o 77 o 79 o 81 82 83 84 85 86 87 88 89 90 + 92 + 94 + o 97 o 99 o ``` Args: images: A 4-D Tensor with shape `[batch, in_rows, in_cols, depth] sizes: The size of the extracted patches. Must be [1, size_rows, size_cols, 1]. strides: A 1-D Tensor of length 4. How far the centers of two consecutive patches are in the images. Must be: `[1, stride_rows, stride_cols, 1]`. rates: A 1-D Tensor of length 4. Must be: `[1, rate_rows, rate_cols, 1]`. This is the input stride, specifying how far two consecutive patch samples are in the input. Equivalent to extracting patches with `patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1)`, followed by subsampling them spatially by a factor of `rates`. This is equivalent to `rate` in dilated (a.k.a. Atrous) convolutions. padding: The type of padding algorithm to use. name: A name for the operation (optional). Returns: A 4-D Tensor of the same type as the input. """ return gen_array_ops.extract_image_patches(images, sizes, strides, rates, padding, name) @tf_export(v1=["image.extract_image_patches", "extract_image_patches"]) @deprecation.deprecated_args(None, "ksizes is deprecated, use sizes instead", "ksizes") def extract_image_patches( # pylint: disable=missing-docstring images, ksizes=None, strides=None, rates=None, padding=None, name=None, sizes=None): """Extract patches from images and put them in the "depth" output dimension. Args: `images`: A `Tensor`. Must be one of the following types: `float32`, `float64`, `int32`, `uint8`, `int16`, `int8`, `int64`, `bfloat16`, `uint16`, `half`, `uint32`, `uint64`. 4-D Tensor with shape `[batch, in_rows, in_cols, depth]`. `ksizes`: A list of `ints` that has length `>= 4`. The size of the sliding window for each dimension of `images`. `strides`: A list of `ints` that has length `>= 4`. 1-D of length 4. How far the centers of two consecutive patches are in the images. Must be: `[1, stride_rows, stride_cols, 1]`. `rates`: A list of `ints` that has length `>= 4`. 1-D of length 4. Must be: `[1, rate_rows, rate_cols, 1]`. This is the input stride, specifying how far two consecutive patch samples are in the input. Equivalent to extracting patches with `patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1)`, followed by subsampling them spatially by a factor of `rates`. This is equivalent to `rate` in dilated (a.k.a. Atrous) convolutions. `padding`: A `string` from: "SAME", "VALID". The type of padding algorithm to use. We specify the size-related attributes as: ``` ksizes = [1, ksize_rows, ksize_cols, 1] strides = [1, strides_rows, strides_cols, 1] rates = [1, rates_rows, rates_cols, 1] name: A name for the operation (optional). ``` Returns: A Tensor. Has the same type as images. """ ksizes = deprecation.deprecated_argument_lookup("sizes", sizes, "ksizes", ksizes) return gen_array_ops.extract_image_patches(images, ksizes, strides, rates, padding, name) extract_image_patches.__doc__ = gen_array_ops.extract_image_patches.__doc__ @tf_export("fingerprint") def fingerprint(data, method="farmhash64", name=None): r"""Generates fingerprint values. Generates fingerprint values of `data`. Fingerprint op considers the first dimension of `data` as the batch dimension, and `output[i]` contains the fingerprint value generated from contents in `data[i, ...]` for all `i`. Fingerprint op writes fingerprint values as byte arrays. For example, the default method `farmhash64` generates a 64-bit fingerprint value at a time. This 8-byte value is written out as an `tf.uint8` array of size 8, in little-endian order. For example, suppose that `data` has data type `tf.int32` and shape (2, 3, 4), and that the fingerprint method is `farmhash64`. In this case, the output shape is (2, 8), where 2 is the batch dimension size of `data`, and 8 is the size of each fingerprint value in bytes. `output[0, :]` is generated from 12 integers in `data[0, :, :]` and similarly `output[1, :]` is generated from other 12 integers in `data[1, :, :]`. Note that this op fingerprints the raw underlying buffer, and it does not fingerprint Tensor's metadata such as data type and/or shape. For example, the fingerprint values are invariant under reshapes and bitcasts as long as the batch dimension remain the same: ```python tf.fingerprint(data) == tf.fingerprint(tf.reshape(data, ...)) tf.fingerprint(data) == tf.fingerprint(tf.bitcast(data, ...)) ``` For string data, one should expect `tf.fingerprint(data) != tf.fingerprint(tf.string.reduce_join(data))` in general. Args: data: A `Tensor`. Must have rank 1 or higher. method: A `Tensor` of type `tf.string`. Fingerprint method used by this op. Currently available method is `farmhash64`. name: A name for the operation (optional). Returns: A two-dimensional `Tensor` of type `tf.uint8`. The first dimension equals to `data`'s first dimension, and the second dimension size depends on the fingerprint algorithm. """ return gen_array_ops.fingerprint(data, method, name) def convert_to_int_tensor(tensor, name, dtype=dtypes.int32): """Converts the given value to an integer Tensor.""" tensor = ops.convert_to_tensor(tensor, name=name, preferred_dtype=dtype) if tensor.dtype.is_integer: tensor = gen_math_ops.cast(tensor, dtype) else: raise TypeError("%s must be an integer tensor; dtype=%s" % (name, tensor.dtype)) return tensor def get_positive_axis(axis, ndims, axis_name="axis", ndims_name="ndims"): """Validate an `axis` parameter, and normalize it to be positive. If `ndims` is known (i.e., not `None`), then check that `axis` is in the range `-ndims <= axis < ndims`, and return `axis` (if `axis >= 0`) or `axis + ndims` (otherwise). If `ndims` is not known, and `axis` is positive, then return it as-is. If `ndims` is not known, and `axis` is negative, then report an error. Args: axis: An integer constant ndims: An integer constant, or `None` axis_name: The name of `axis` (for error messages). ndims_name: The name of `ndims` (for error messages). Returns: The normalized `axis` value. Raises: ValueError: If `axis` is out-of-bounds, or if `axis` is negative and `ndims is None`. """ if not isinstance(axis, int): raise TypeError("%s must be an int; got %s" % (axis_name, type(axis).__name__)) if ndims is not None: if 0 <= axis < ndims: return axis elif -ndims <= axis < 0: return axis + ndims else: raise ValueError("%s=%s out of bounds: expected %s<=%s<%s" % (axis_name, axis, -ndims, axis_name, ndims)) elif axis < 0: raise ValueError("%s may only be negative if %s is statically known." % (axis_name, ndims_name)) return axis # This op is intended to exactly match the semantics of numpy.repeat, with # one exception: numpy.repeat has special (and somewhat non-intuitive) behavior # when axis is not specified. Rather than implement that special behavior, we # simply make `axis` be a required argument. # # External (OSS) `tf.repeat` feature request: # https://github.com/tensorflow/tensorflow/issues/8246 def repeat_with_axis(data, repeats, axis, name=None): """Repeats elements of `data`. Args: data: An `N`-dimensional tensor. repeats: A 1-D integer tensor specifying how many times each element in `axis` should be repeated. `len(repeats)` must equal `data.shape[axis]`. Supports broadcasting from a scalar value. axis: `int`. The axis along which to repeat values. Must be less than `max(N, 1)`. name: A name for the operation. Returns: A tensor with `max(N, 1)` dimensions. Has the same shape as `data`, except that dimension `axis` has size `sum(repeats)`. Example usage: >>> repeat(['a', 'b', 'c'], repeats=[3, 0, 2], axis=0) <tf.Tensor: shape=(5,), dtype=string, numpy=array([b'a', b'a', b'a', b'c', b'c'], dtype=object)> >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=0) <tf.Tensor: shape=(5, 2), dtype=int32, numpy= array([[1, 2], [1, 2], [3, 4], [3, 4], [3, 4]], dtype=int32)> >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=1) <tf.Tensor: shape=(2, 5), dtype=int32, numpy= array([[1, 1, 2, 2, 2], [3, 3, 4, 4, 4]], dtype=int32)> """ if not isinstance(axis, int): raise TypeError("axis must be an int; got %s" % type(axis).__name__) with ops.name_scope(name, "Repeat", [data, repeats]): data = ops.convert_to_tensor(data, name="data") repeats = convert_to_int_tensor(repeats, name="repeats") repeats.shape.with_rank_at_most(1) # If `data` is a scalar, then upgrade it to a vector. data = _with_nonzero_rank(data) data_shape = shape(data) # If `axis` is negative, then convert it to a positive value. axis = get_positive_axis(axis, data.shape.rank, ndims_name="rank(data)") # If we know that `repeats` is a scalar, then we can just tile & reshape. if repeats.shape.num_elements() == 1: repeats = reshape(repeats, []) expanded = expand_dims(data, axis + 1) tiled = tile_one_dimension(expanded, axis + 1, repeats) result_shape = concat([ data_shape[:axis], [repeats * data_shape[axis]], data_shape[axis + 1:] ], axis=0) return reshape(tiled, result_shape) # Check data Tensor shapes. if repeats.shape.ndims == 1: data.shape.dims[axis].assert_is_compatible_with(repeats.shape[0]) repeats = broadcast_to(repeats, [data_shape[axis]]) repeats_original = repeats # Broadcast the `repeats` tensor so rank(repeats) == axis + 1. if repeats.shape.ndims != axis + 1: repeats_shape = shape(repeats) repeats_ndims = rank(repeats) broadcast_shape = concat( [data_shape[:axis + 1 - repeats_ndims], repeats_shape], axis=0) repeats = broadcast_to(repeats, broadcast_shape) repeats.set_shape([None] * (axis + 1)) # Create a "sequence mask" based on `repeats`, where slices across `axis` # contain one `True` value for each repetition. E.g., if # `repeats = [3, 1, 2]`, then `mask = [[1, 1, 1], [1, 0, 0], [1, 1, 0]]`. max_repeat = gen_math_ops.maximum( 0, gen_math_ops._max(repeats, _all_dimensions(repeats))) mask = sequence_mask(repeats, max_repeat) # Add a new dimension around each value that needs to be repeated, and # then tile that new dimension to match the maximum number of repetitions. expanded = expand_dims(data, axis + 1) tiled = tile_one_dimension(expanded, axis + 1, max_repeat) # Use `boolean_mask` to discard the extra repeated values. This also # flattens all dimensions up through `axis`. masked = boolean_mask(tiled, mask) # Reshape the output tensor to add the outer dimensions back. if axis == 0: result = masked else: repeated_dim_size = gen_math_ops._sum( repeats_original, axis=gen_math_ops._range(0, rank(repeats_original), 1)) result_shape = concat( [data_shape[:axis], [repeated_dim_size], data_shape[axis + 1:]], axis=0) result = reshape(masked, result_shape) # Preserve shape information. if data.shape.ndims is not None: new_axis_size = 0 if repeats.shape[0] == 0 else None result.set_shape(data.shape[:axis].concatenate( [new_axis_size]).concatenate(data.shape[axis + 1:])) return result def tile_one_dimension(data, axis, multiple): """Tiles a single dimension of a tensor.""" # Assumes axis is a nonnegative int. if data.shape.ndims is not None: multiples = [1] * data.shape.ndims multiples[axis] = multiple else: ones_value = ones(rank(data), dtypes.int32) multiples = concat([ones_value[:axis], [multiple], ones_value[axis + 1:]], axis=0) return tile(data, multiples) def _with_nonzero_rank(data): """If `data` is scalar, then add a dimension; otherwise return as-is.""" if data.shape.ndims is not None: if data.shape.ndims == 0: return stack([data]) else: return data else: data_shape = shape(data) data_ndims = rank(data) return reshape(data, concat([[1], data_shape], axis=0)[-data_ndims:]) @tf_export("repeat") def repeat(input, repeats, axis=None, name=None): # pylint: disable=redefined-builtin """Repeat elements of `input`. See also `tf.concat`, `tf.stack`, `tf.tile`. Args: input: An `N`-dimensional Tensor. repeats: An 1-D `int` Tensor. The number of repetitions for each element. repeats is broadcasted to fit the shape of the given axis. `len(repeats)` must equal `input.shape[axis]` if axis is not None. axis: An int. The axis along which to repeat values. By default (axis=None), use the flattened input array, and return a flat output array. name: A name for the operation. Returns: A Tensor which has the same shape as `input`, except along the given axis. If axis is None then the output array is flattened to match the flattened input array. Example usage: >>> repeat(['a', 'b', 'c'], repeats=[3, 0, 2], axis=0) <tf.Tensor: shape=(5,), dtype=string, numpy=array([b'a', b'a', b'a', b'c', b'c'], dtype=object)> >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=0) <tf.Tensor: shape=(5, 2), dtype=int32, numpy= array([[1, 2], [1, 2], [3, 4], [3, 4], [3, 4]], dtype=int32)> >>> repeat([[1, 2], [3, 4]], repeats=[2, 3], axis=1) <tf.Tensor: shape=(2, 5), dtype=int32, numpy= array([[1, 1, 2, 2, 2], [3, 3, 4, 4, 4]], dtype=int32)> >>> repeat(3, repeats=4) <tf.Tensor: shape=(4,), dtype=int32, numpy=array([3, 3, 3, 3], dtype=int32)> >>> repeat([[1,2], [3,4]], repeats=2) <tf.Tensor: shape=(8,), dtype=int32, numpy=array([1, 1, 2, 2, 3, 3, 4, 4], dtype=int32)> """ if axis is None: input = reshape(input, [-1]) axis = 0 return repeat_with_axis(input, repeats, axis, name)
var _ = require("lodash"); var errors = require('request-promise/errors'); var Promise = require('bluebird'); var util = require('util'); var WebRequest = require('./web-request'); var Request = require('../request'); var Exceptions = require("../exceptions"); var SHARED_JSON_REGEXP = /window._sharedData = (.*);<\/script>/i var Challenge = function(session, type, error, json) { this._json = json; this._session = session; this._type = type; this._error = error; this.apiUrl = 'https://i.instagram.com/api/v1'+error.json.challenge.api_path; }; //WARNING: This is NOT backward compatible code since most methods are not needed anymore. But you are free to make it backward compatible :) //How does it works now? //Well, we have two ways of resolving challange. Native and html versions. //First of all we reset the challenge. Just to make sure we start from beginning; //After if we check if we can use native api version. If not - using html; //Selecting method and sending code is diffenent, depending on native or html style. //As soon as we got the code we can confirm it using Native version. //Oh, and code confirm is same now for email and phone checkpoints Challenge.resolve = function(checkpointError,defaultMethod,skipResetStep){ var that = this; checkpointError = checkpointError instanceof Exceptions.CheckpointError ? checkpointError : checkpointError.json; if(!this.apiUrl) this.apiUrl = 'https://i.instagram.com/api/v1'+checkpointError.json.challenge.api_path; if(typeof defaultMethod==='undefined') defaultMethod = 'email'; if(!(checkpointError instanceof Exceptions.CheckpointError)) throw new Error("`Challenge.resolve` method must get exception (type of `CheckpointError`) as a first argument"); if(['email','phone'].indexOf(defaultMethod)==-1) throw new Error('Invalid default method'); var session = checkpointError.session; return new Promise(function(res,rej){ if(skipResetStep) return res(); return res(that.reset(checkpointError)) }) .then(function() { return new WebRequest(session) .setMethod('GET') .setUrl(that.apiUrl) .send({followRedirect: true}) }) .catch(errors.StatusCodeError, function(error){ return error.response; }) .then(function(response){ try{ var json = JSON.parse(response.body); }catch(e){ if(response.body.indexOf('url=instagram://checkpoint/dismiss')!=-1) throw new Exceptions.NoChallengeRequired; throw new TypeError('Invalid response. JSON expected'); } //Using html unlock if native is not supported if(json.challenge && json.challenge.native_flow===false) return that.resolveHtml(checkpointError,defaultMethod) //Challenge is not required if(json.status==='ok' && json.action==='close') throw new Exceptions.NoChallengeRequired; //Using API-version of challenge switch(json.step_name){ case 'select_verify_method':{ return new WebRequest(session) .setMethod('POST') .setUrl(that.apiUrl) .setData({ "choice": defaultMethod==='email' ? 1 : 0 }) .send({followRedirect: true}) .then(function(){ return that.resolve(checkpointError,defaultMethod,true) }) } case 'verify_code': case 'submit_phone':{ return new PhoneVerificationChallenge(session, 'phone', checkpointError, json); } case 'verify_email':{ return new EmailVerificationChallenge(session, 'email', checkpointError, json); } default: return new NotImplementedChallenge(session, json.step_name, checkpointError, json); } }) } Challenge.resolveHtml = function(checkpointError,defaultMethod){ //Using html version var that = this; if(!(checkpointError instanceof Exceptions.CheckpointError)) throw new Error("`Challenge.resolve` method must get exception (type of `CheckpointError`) as a first argument"); if(['email','phone'].indexOf(defaultMethod)==-1) throw new Error('Invalid default method'); var session = checkpointError.session; return new WebRequest(session) .setMethod('GET') .setUrl(checkpointError.url) .setHeaders({ 'Referer': checkpointError.url, }) .send({followRedirect: true}) .catch(errors.StatusCodeError, function(error){ return error.response; }) .then(parseResponse) function parseResponse(response){ try{ var json,challenge,choice; if(response.headers['content-type'] === 'application/json'){ json = JSON.parse(response.body); challenge=json; }else{ json = JSON.parse(SHARED_JSON_REGEXP.exec(response.body)[1]); challenge = json.entry_data.Challenge[0]; } }catch(e){ throw new TypeError('Invalid response. JSON expected'); } if(defaultMethod=='email'){ choice = challenge.fields.email ? 1 : 0 }else if(defaultMethod=='phone'){ choice = challenge.fields.phone_number ? 0 : 1 } switch(challenge.challengeType){ case 'SelectVerificationMethodForm':{ return new WebRequest(session) .setMethod('POST') .setUrl(checkpointError.url) .setHeaders({ 'Referer': checkpointError.url, 'Content-Type': 'application/x-www-form-urlencoded', 'X-Instagram-AJAX': 1 }) .setData({ "choice": choice }) .send({followRedirect: true}) .then(function(){ return that.resolveHtml(checkpointError,defaultMethod) }) } case 'VerifyEmailCodeForm':{ return new EmailVerificationChallenge(session, 'email', checkpointError, json); } case 'VerifySMSCodeForm':{ return new PhoneVerificationChallenge(session, 'phone', checkpointError, json); } default: return new NotImplementedChallenge(session, challenge.challengeType, checkpointError, json); } } } Challenge.reset = function(checkpointError){ var that = this; var session = checkpointError.session; return new Request(session) .setMethod('POST') .setBodyType('form') .setUrl(that.apiUrl.replace('/challenge/','/challenge/reset/')) .signPayload() .send({followRedirect: true}) .catch(function(error){ return error.response; }) .then(function(response){ return that; }) } Challenge.prototype.code = function(code){ var that = this; if(!code||code.length!=6) throw new Error('Invalid code provided'); return new WebRequest(that.session) .setMethod('POST') .setUrl(that.apiUrl) .setBodyType('form') .setData({ "security_code":code }) .removeHeader('x-csrftoken') .send({followRedirect: false}) .then(function(response){ try{ var json = JSON.parse(response.body); }catch(e){ throw new TypeError('Invalid response. JSON expected'); } if(response.statusCode == 200 && json.status==='ok' && (json.action==='close' || json.location==='instagram://checkpoint/dismiss')) return true; throw new Exceptions.NotPossibleToResolveChallenge('Unknown error',Exceptions.NotPossibleToResolveChallenge.CODE.UNKNOWN) }) .catch(errors.StatusCodeError, function(error) { if(error.statusCode == 400)throw new Exceptions.NotPossibleToResolveChallenge("Verification has not been accepted",Exceptions.NotPossibleToResolveChallenge.CODE.NOT_ACCEPTED); throw error; }) } exports.Challenge = Challenge; Object.defineProperty(Challenge.prototype, "type", { get: function() { return this._type }, set: function(val) {} }); Object.defineProperty(Challenge.prototype, "session", { get: function() { return this._session }, set: function(val) {} }); Object.defineProperty(Challenge.prototype, "error", { get: function() { return this._error }, set: function(val) {} }); Object.defineProperty(Challenge.prototype, "json", { get: function() { return this._json }, set: function(val) {} }); var PhoneVerificationChallenge = function(session, type, checkpointError, json) { this.submitPhone = json.step_name==='submit_phone'; Challenge.apply(this, arguments); } //Confirming phone number. //We need to return PhoneVerificationChallenge that can be able to request code. //So, if we need to submit phone number first - let's do it. If not - just return current PhoneVerificationChallenge; PhoneVerificationChallenge.prototype.phone = function(phone){ var that = this; if(!this.submitPhone) return Promise.resolve(this); let instaPhone = (that.json && that.json.step_data) ? that.json.step_data.phone_number : null; let _phone = phone || instaPhone; if(!_phone) return new Error('Invalid phone number'); console.log(`Requesting phone`) return new WebRequest(that.session) .setMethod('POST') .setUrl(that.apiUrl) .setBodyType('form') .setData({ "phone_number": _phone }) .removeHeader('x-csrftoken') .send({followRedirect: false}) .then(function(response){ try{ var json = JSON.parse(response.body); }catch(e){ throw new TypeError('Invalid response. JSON expected'); } return new PhoneVerificationChallenge(that.session, 'phone', that.error, json); }) } util.inherits(PhoneVerificationChallenge, Challenge); exports.PhoneVerificationChallenge = PhoneVerificationChallenge; var EmailVerificationChallenge = function(session, type, checkpointError, json) { Challenge.apply(this, arguments); } util.inherits(EmailVerificationChallenge, Challenge); exports.EmailVerificationChallenge = EmailVerificationChallenge; var NotImplementedChallenge = function(session) { Challenge.apply(this, arguments); throw new Error("Not implemented, due to missing account for testing, please write me on email `ivan.ivan.90.90@gmail.com`") } util.inherits(NotImplementedChallenge, Challenge); exports.NotImplementedChallenge = NotImplementedChallenge;
// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details. //>>built define({"dijit/_editor/nls/commands":{bold:"Vet",copy:"Kopi\u00ebren",cut:"Knippen","delete":"Wissen",indent:"Inspringen",insertHorizontalRule:"Horizontale liniaal",insertOrderedList:"Genummerde lijst",insertUnorderedList:"Lijst met opsommingstekens",italic:"Cursief",justifyCenter:"Centreren",justifyFull:"Uitvullen",justifyLeft:"Links uitlijnen",justifyRight:"Rechts uitlijnen",outdent:"Uitspringen",paste:"Plakken",redo:"Opnieuw",removeFormat:"Opmaak verwijderen",selectAll:"Alles selecteren",strikethrough:"Doorhalen", subscript:"Subscript",superscript:"Superscript",underline:"Onderstrepen",undo:"Ongedaan maken",unlink:"Link verwijderen",createLink:"Link maken",toggleDir:"Schrijfrichting wijzigen",insertImage:"Afbeelding invoegen",insertTable:"Tabel invoegen/bewerken",toggleTableBorder:"Tabelkader wijzigen",deleteTable:"Tabel wissen",tableProp:"Tabeleigenschap",htmlToggle:"HTML-bron",foreColor:"Voorgrondkleur",hiliteColor:"Achtergrondkleur",plainFormatBlock:"Alineastijl",formatBlock:"Alineastijl",fontSize:"Lettergrootte", fontName:"Lettertype",tabIndent:"Inspringen",fullScreen:"Volledig scherm in-/uitschakelen",viewSource:"HTML-bron bekijken",print:"Afdrukken",newPage:"Nieuwe pagina",systemShortcut:'De actie "${0}" is alleen beschikbaar in uw browser via een sneltoetscombinatie. Gebruik ${1}.',ctrlKey:"ctrl+${0}",appleKey:"\u2318${0}",_localized:{}},"dojo/cldr/nls/islamic":{"dateFormatItem-Ehm":"E h:mm a","days-standAlone-short":"Zo Ma Di Wo Do Vr Za".split(" "),"months-format-narrow":"1 2 3 4 5 6 7 8 9 10 11 12".split(" "), "field-second-relative+0":"nu","quarters-standAlone-narrow":["1","2","3","4"],"field-weekday":"Dag van de week","field-wed-relative+0":"deze woensdag","field-wed-relative+1":"volgende week woensdag","dateFormatItem-GyMMMEd":"E d MMM y G","dateFormatItem-MMMEd":"E d MMM",eraNarrow:["Sa\u02bbna Hizjria"],"field-tue-relative+-1":"afgelopen dinsdag","days-format-short":"zo ma di wo do vr za".split(" "),"dateTimeFormats-appendItem-Day-Of-Week":"{0} {1}","dateFormat-long":"d MMMM y G","field-fri-relative+-1":"afgelopen vrijdag", "field-wed-relative+-1":"afgelopen woensdag","months-format-wide":"Moeharram;Safar;Rabi\u02bba al awal;Rabi\u02bba al thani;Joemad\u02bbal awal;Joemad\u02bbal thani;Rajab;Sja\u02bbaban;Ramadan;Sjawal;Doe al ka\u02bbaba;Doe al hizja".split(";"),"dateFormatItem-yyyyQQQ":"QQQ y G","dateTimeFormat-medium":"{1} {0}","dayPeriods-format-wide-pm":"PM","dateFormat-full":"EEEE d MMMM y G","dateFormatItem-yyyyMEd":"E d-M-y GGGGG","field-thu-relative+-1":"afgelopen donderdag","dateFormatItem-Md":"d-M","dayPeriods-format-abbr-am":"AM", "dateTimeFormats-appendItem-Second":"{0} ({2}: {1})","dayPeriods-format-wide-noon":"12 uur \u2018s middags","field-era":"Tijdperk","months-standAlone-wide":"Moeharram;Safar;Rabi\u02bba al awal;Rabi\u02bba al thani;Joemad\u02bbal awal;Joemad\u02bbal thani;Rajab;Sja\u02bbaban;Ramadan;Sjawal;Doe al ka\u02bbaba;Doe al hizja".split(";"),"timeFormat-short":"HH:mm","quarters-format-wide":["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"],"timeFormat-long":"HH:mm:ss z","field-year":"Jaar","dateTimeFormats-appendItem-Era":"{1} {0}", "field-hour":"Uur","months-format-abbr":"Moeh.;Saf.;Rab. I;Rab. II;Joem. I;Joem. II;Raj.;Sja.;Ram.;Sjaw.;Doe al k.;Doe al h.".split(";"),"field-sat-relative+0":"deze zaterdag","field-sat-relative+1":"volgende week zaterdag","timeFormat-full":"HH:mm:ss zzzz","dateTimeFormats-appendItem-Week":"{0} ({2}: {1})","field-day-relative+0":"vandaag","field-thu-relative+0":"deze donderdag","field-day-relative+1":"morgen","field-thu-relative+1":"volgende week donderdag","dateFormatItem-GyMMMd":"d MMM y G","dateFormatItem-H":"HH", "months-standAlone-abbr":"Moeh.;Saf.;Rab. I;Rab. II;Joem. I;Joem. II;Raj.;Sja.;Ram.;Sjaw.;Doe al k.;Doe al h.".split(";"),"quarters-format-abbr":["K1","K2","K3","K4"],"quarters-standAlone-wide":["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"],"dateFormatItem-Gy":"y G","dateFormatItem-yyyyMMMEd":"E d MMM y G","dateFormatItem-M":"L","days-standAlone-wide":"Zondag Maandag Dinsdag Woensdag Donderdag Vrijdag Zaterdag".split(" "),"dateFormatItem-yyyyMMM":"MMM y G","dateFormatItem-yyyyMMMd":"d MMM y G", "dayPeriods-format-abbr-noon":"12 uur \u2018s middags","timeFormat-medium":"HH:mm:ss","field-sun-relative+0":"deze zondag","dateFormatItem-Hm":"HH:mm","field-sun-relative+1":"volgende week zondag","quarters-standAlone-abbr":["K1","K2","K3","K4"],eraAbbr:["Sa\u02bbna Hizjria"],"field-minute":"Minuut","field-dayperiod":"a.m./p.m.","days-standAlone-abbr":"Zo Ma Di Wo Do Vr Za".split(" "),"dateFormatItem-d":"d","dateFormatItem-ms":"mm:ss","quarters-format-narrow":["1","2","3","4"],"field-day-relative+-1":"gisteren", "dateTimeFormat-long":"{1} {0}","dayPeriods-format-narrow-am":"a.m.","dateFormatItem-h":"h a","dateFormatItem-MMMd":"d MMM","dateFormatItem-MEd":"E d-M","dateTimeFormat-full":"{1} {0}","field-fri-relative+0":"deze vrijdag","field-fri-relative+1":"volgende week vrijdag","field-day":"Dag","days-format-wide":"zondag maandag dinsdag woensdag donderdag vrijdag zaterdag".split(" "),"field-zone":"Zone","months-standAlone-narrow":"1 2 3 4 5 6 7 8 9 10 11 12".split(" "),"dateFormatItem-y":"y G","dateTimeFormats-appendItem-Day":"{0} ({2}: {1})", "field-year-relative+-1":"vorig jaar","field-month-relative+-1":"vorige maand","dateTimeFormats-appendItem-Year":"{1} {0}","dateFormatItem-hm":"h:mm a","dateTimeFormats-appendItem-Hour":"{0} ({2}: {1})","dayPeriods-format-abbr-pm":"PM","days-format-abbr":"zo ma di wo do vr za".split(" "),eraNames:["Sa\u02bbna Hizjria"],"days-format-narrow":"ZMDWDVZ".split(""),"dateFormatItem-yyyyMd":"d-M-y GGGGG","field-month":"Maand","days-standAlone-narrow":"ZMDWDVZ".split(""),"dateFormatItem-MMM":"LLL","field-tue-relative+0":"deze dinsdag", "field-tue-relative+1":"volgende week dinsdag","dateTimeFormats-appendItem-Quarter":"{0} ({2}: {1})","dayPeriods-format-wide-am":"AM","dateTimeFormats-appendItem-Month":"{0} ({2}: {1})","dateTimeFormats-appendItem-Minute":"{0} ({2}: {1})","dateFormatItem-EHm":"E HH:mm","field-mon-relative+0":"deze maandag","field-mon-relative+1":"volgende week maandag","dateFormat-short":"dd-MM-yy GGGGG","dateFormatItem-EHms":"E HH:mm:ss","dateFormatItem-Ehms":"E h:mm:ss a","dayPeriods-format-narrow-noon":"n","field-second":"Seconde", "field-sat-relative+-1":"afgelopen zaterdag","field-sun-relative+-1":"afgelopen zondag","field-month-relative+0":"deze maand","field-month-relative+1":"volgende maand","dateTimeFormats-appendItem-Timezone":"{0} {1}","dateFormatItem-Ed":"E d","field-week":"Week","dateFormat-medium":"d MMM y G","field-week-relative+-1":"vorige week","field-year-relative+0":"dit jaar","dateFormatItem-yyyyM":"M-y GGGGG","field-year-relative+1":"volgend jaar","dayPeriods-format-narrow-pm":"p.m.","dateFormatItem-yyyyQQQQ":"QQQQ y G", "dateTimeFormat-short":"{1} {0}","dateFormatItem-Hms":"HH:mm:ss","dateFormatItem-hms":"h:mm:ss a","dateFormatItem-GyMMM":"MMM y G","field-mon-relative+-1":"afgelopen maandag","dateFormatItem-yyyy":"y G","field-week-relative+0":"deze week","field-week-relative+1":"volgende week","dateFormatItem-yyyyMMMM":"MMMM y G","field-day-relative+2":"overmorgen","dateFormatItem-MMMMd":"d MMMM","field-day-relative+-2":"eergisteren",_localized:{}},"widgets/CostAnalysis/nls/strings":{_widgetLabel:"Kostenanalyse", unableToFetchInfoErrMessage:"Kan geometrieservice/geconfigureerde laaggegevens niet ophalen",invalidCostingGeometryLayer:"Kan 'esriFieldTypeGlobalID' niet ophalen in kostengeometrielaag.",projectLayerNotFound:"Kan de geconfigureerde projectlaag niet op de kaart vinden.",costingGeometryLayerNotFound:"Kan de geconfigureerde kostengeometrielaag niet op de kaart vinden.",projectMultiplierTableNotFound:"Kon de geconfigureerde project multiplicator bijkomende kosttabel niet op de kaart vinden.",projectAssetTableNotFound:"Kan de geconfigureerde projectassettabel niet op de kaart vinden.", createLoadProject:{createProjectPaneTitle:"Project maken",loadProjectPaneTitle:"Project laden",projectNamePlaceHolder:"Projectnaam",projectDescPlaceHolder:"Projectbeschrijving",selectProject:"Project selecteren",viewInMapLabel:"Bekijk in kaart",loadLabel:"Laden",createLabel:"Maken",deleteProjectConfirmationMsg:"Weet u zeker dat u het project wilt verwijderen?",noAssetsToViewOnMap:"Geselecteerd project heeft geen assets om op de kaart te bekijken.",projectDeletedMsg:"Project succesvol verwijderd.", errorInCreatingProject:"Fout bij het maken van een project.",errorProjectNotFound:"Project niet gevonden.",errorInLoadingProject:"Controleer of een geldig project is geselecteerd.",errorProjectNotSelected:"Selecteer een project in de keuzelijst",errorDuplicateProjectName:"Projectnaam bestaat al."},statisticsSettings:{tabTitle:"Statistiekinstellingen",addStatisticsLabel:"Voeg statistieken toe",addNewStatisticsText:"Voeg nieuwe statistieken toe",deleteStatisticsText:"Verwijder statistieken",moveStatisticsUpText:"Verplaats statistieken omhoog", moveStatisticsDownText:"Verplaats statistieken naar beneden",layerNameTitle:"Kaartlaag",statisticsTypeTitle:"Type",fieldNameTitle:"Veld",statisticsTitle:"Label",actionLabelTitle:"Acties",selectDeselectAllTitle:"Alles selecteren"},statisticsType:{countLabel:"Aantal",averageLabel:"Gemiddelde",maxLabel:"Maximum",minLabel:"Minimum",summationLabel:"Sommering",areaLabel:"Gebied",lengthLabel:"Lengte"},costingInfo:{noEditableLayersAvailable:"Laag (lagen) moeten worden gecontroleerd als bewerkbaar op het tabblad Laaginstellingen"}, workBench:{refresh:"Vernieuwen",noAssetAddedMsg:"Geen assets toegevoegd",units:"Eenheid (eenheden)",assetDetailsTitle:"Assetitemgegevens",costEquationTitle:"Kostenvergelijking",newCostEquationTitle:"Nieuwe vergelijking",defaultCostEquationTitle:"Standaard vergelijking",geographyTitle:"Geografie",scenarioTitle:"Scenario",costingInfoHintText:"\x3cdiv\x3eTip: Gebruik de volgende trefwoorden\x3c/div\x3e\x3cul\x3e\x3cli\x3e\x3cb\x3e{TOTALCOUNT}\x3c/b\x3e: gebruikt het totale aantal van hetzelfde type asset in een geografie\x3c/li\x3e \x3cli\x3e\x3cb\x3e{MEASURE}\x3c/b\x3e: gebruikt de lengte voor het regelasset en het gebied voor het vlakasset\x3c/li\x3e\x3cli\x3e\x3cb\x3e{TOTALMEASURE}\x3c/b\x3e: gebruikt de totale lengte voor het regelasset en het totale gebied voor vlakasset van hetzelfde type in een geografie\x3c/li\x3e\x3c/ul\x3e U kunt functies gebruiken als:\x3cul\x3e\x3cli\x3eMath.abs(-100)\x3c/li\x3e\x3cli\x3eMath.floor({TOTALMEASURE})\x3c/li\x3e\x3c/ul\x3eBewerk de kostenvergelijking volgens uw projectbehoefte.", zoomToAsset:"Zoom in op asset",deleteAsset:"Verwijder asset",closeDialog:"Dialoogvenster sluiten",objectIdColTitle:"Object-Id",costColTitle:"Kosten",errorInvalidCostEquation:"Ongeldige kostenvergelijking",errorInSavingAssetDetails:"Kan assetdetails niet opslaan."},assetDetails:{inGeography:" in ${geography} ",withScenario:" met ${scenario}",totalCostTitle:"Totale kosten",additionalCostLabel:"Beschrijving",additionalCostValue:"Waarde",additionalCostNetValue:"Net waarde"},projectOverview:{assetItemsTitle:"Assetelementen", assetStatisticsTitle:"Assetstatistieken",projectSummaryTitle:"Projectsamenvatting",projectName:"Projectnaam: ${name}",totalCostLabel:"Totale projectkosten (*):",grossCostLabel:"Bruto projectkosten (*):",roundingLabel:"* Wordt afgerond naar '${selectedRoundingOption}'",unableToSaveProjectBoundary:"Kan projectgrens niet opslaan in projectlaag.",unableToSaveProjectCost:"Kan kosten niet opslaan in projectlaag.",roundCostValues:{twoDecimalPoint:"Twee decimale punten",nearestWholeNumber:"Dichtstbijzijnde hele nummer", nearestTen:"Dichtstbijzijnde tien",nearestHundred:"Dichtstbijzijnde honderd",nearestThousand:"Dichtstbijzijnde duizenden",nearestTenThousands:"Dichtstbijzijnde tien duizenden"}},projectAttribute:{projectAttributeText:"Projectattribuut",projectAttributeTitle:"Projectattribuut bewerken"},costEscalation:{costEscalationLabel:"Bijkomende kosten toevoegen",valueHeader:"Waarde",addCostEscalationText:"Bijkomende kosten toevoegen",deleteCostEscalationText:"Geselecteerde bijkomende kosten verwijderen",moveCostEscalationUpText:"Verplaats geselecteerde bijkomende kosten naar boven", moveCostEscalationDownText:"Verplaats geselecteerde bijkomende kosten naar onderen",invalidEntry:"Een of meer ingaves zijn ongeldig.",errorInSavingCostEscalation:"Kan geen extra kostengegevens opslaan."},scenarioSelection:{popupTitle:"Selecteer scenario voor de asset",regionLabel:"Geografie",scenarioLabel:"Scenario",noneText:"Geen",copyFeatureMsg:"Wilt u geselecteerde objecten kopi\u00ebren?"},detailStatistics:{detailStatisticsLabel:"Detail statistieken",noDetailStatisticAvailable:"Geen assetstatistieken toegevoegd"}, _localized:{}}});
'use strict'; /*! * V4Fire Client Core * https://github.com/V4Fire/Client * * Released under the MIT license * https://github.com/V4Fire/Client/blob/master/LICENSE */ import Store from 'core/store'; import bInputHidden from 'form/b-input-hidden/b-input-hidden'; import iInput from 'super/i-input/i-input'; import iData from 'super/i-data/i-data'; import { params, wait } from 'super/i-block/i-block'; import { component } from 'core/component'; const $C = require('collection.js'); export const $$ = new Store(); @component() export default class bForm extends iData { /** @override */ dataProvider: string = 'Provider'; /** @override */ requestFilter: Function | boolean = false; /** * Form id */ id: ?string; /** * Form name */ name: ?string; /** * Form action */ action: ?string; /** * Data provider method */ method: ?string = 'add'; /** * Form delegate function */ delegate: ?Function; /** * Form request parameters */ params: Object = {}; /** * If true, then form elements will be cached */ cache: boolean = false; /** * If false, then default error handler won't be used */ errorHandler: boolean = true; /** @override */ get $refs(): {form: HTMLFormElement} {} /** @inheritDoc */ static mods = { valid: [ 'true', 'false' ] }; /** * Array of form Vue elements */ @params({cache: false}) get elements(): Array<iInput> { const cache = {}; return this.waitState('ready', () => $C(this.$refs.form.elements).reduce((arr, el) => { const component = this.$(el, '[class*="_form_true"]'); if (component && component.instance instanceof iInput && !cache[component.blockId]) { cache[component.blockId] = true; arr.push(component); } return arr; }, [])); } /** * Array of form submit Vue elements */ @params({cache: false}) get submits(): Array<bButton> { return this.waitState('ready', () => $C( [].concat.apply( [], this.$el.querySelectorAll('button[type="submit"]'), this.id ? document.querySelectorAll(`button[type="submit"][form="${this.id}"]`) : [] ) ).map((el) => this.$(el))); } /** * Clears child form blocks * @emits clear() */ async clear(): boolean { const res = []; for (const el of await this.elements) { try { res.push(await el.clear()); } catch (_) {} } if ($C(res).some((el) => el)) { this.emit('clear'); return true; } return false; } /** * Resets child form blocks to default * @emits reset() */ async reset(): boolean { const res = []; for (const el of await this.elements) { try { res.push(await el.reset()); } catch (_) {} } if ($C(res).some((el) => el)) { this.emit('reset'); return true; } return false; } /** * Validates child form blocks and returns an array of valid elements or false * * @emits validationStart() * @emits validationSuccess() * @emits validationFail() * @emits validationEnd(result: boolean) */ @wait('ready', {label: $$.validate, defer: true}) async validate(): Array | boolean { this.emit('validationStart'); const els = [], map = {}; let valid = true; for (const el of await this.elements) { if ( el.name && ( !this.cache || !el.cache || !Object.fastCompare(this.getField(`tmp.${el.name}`), await el.groupFormValue) ) ) { if (el.mods.valid !== 'true' && await el.validate() === false) { el.focus(); valid = false; break; } if (el.name !== '_') { map[el.name] = true; els.push(el); } } } if (valid) { this.emit('validationSuccess'); } else { this.emit('validationFail'); } this.emit('validationEnd', valid); return valid && els; } /** * Submits the form * * @emits submitStart(body: Object, params: Object, method: string) * @emits submitSuccess(result: XMLHttpRequest) * @emits submitFail(err: error, els: Array<iInput>) */ @wait('ready', {label: $$.submit, defer: true}) async submit() { const start = Date.now(), [submits, elements] = await Promise.all([this.submits, this.elements]); await Promise.all([].concat( $C(elements).map((el) => el.setMod('disabled', true)), $C(submits).map((el) => el.setMod('progress', true)) )); const els = await this.validate(); let throws, res; if (els && els.length) { let body = {}, isMultipart = false; await Promise.all($C(els).map((el) => (async () => { let val = await el.groupFormValue; val = el.formConverter ? await el.formConverter(val) : val; if (val instanceof Blob || val instanceof File || val instanceof FileList) { isMultipart = true; } body[el.name] = el.utc ? this.h.setJSONToUTC(val) : val; })())); if (isMultipart) { body = $C(body).reduce((res, el, key) => { if (el instanceof Blob) { res.append(key, el, `blob.${el.type.split('/')[1]}`); } else { res.append(key, el); } return res; }, new FormData()); this.params.responseType = 'text'; } this.emit('submitStart', body, this.params, this.method); try { if (this.delegate) { res = await this.delegate(this, body, this.params, els); } else { res = await this.base(this.action)[this.method](body, this.params); } this.tmp = Object.assign(this.tmp, body); } catch (err) { throws = err; } } const delay = 0.2.second(); if (els && Date.now() - start < delay) { await this.async.sleep(delay); } await Promise.all([].concat( $C(elements).map((el) => el.setMod('disabled', false)), $C(submits).map((el) => el.setMod('progress', false)) )); if (!els) { return; } if (throws) { this.errorHandler && this.onError(throws, els); this.emit('submitFail', throws, els); throw throws; } this.emit('submitSuccess', res, els); } /** * Default fail handler * * @param err * @param els */ onError(err: Error, els: Array<Object>) { $C(els).forEach((el) => el.setMod('valid', false)); const el = $C(els).one.get((el) => el.instance instanceof bInputHidden === false); if (el) { el.error = this.getDefaultErrorText(err); el.focus(); } } }
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); var _CoreStore2 = require('../CoreStore'); var _CoreStore3 = _interopRequireDefault(_CoreStore2); var _definition = require('./definition'); var _definition2 = _interopRequireDefault(_definition); var _uuid = require('uuid'); var _dispatcher = require('../../dispatcher'); var _dispatcher2 = _interopRequireDefault(_dispatcher); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } //Dependencies. var PUSH = 'push'; var CLEAR = 'clear'; /** * Class standing for the cartridge store. */ var MessageStore = function (_CoreStore) { _inherits(MessageStore, _CoreStore); /** * Add a listener on the global change on the search store. * @param {object} conf - The configuration of the message store. */ function MessageStore(conf) { _classCallCheck(this, MessageStore); conf = conf || {}; conf.definition = conf.definition || (0, _definition2.default)(); return _possibleConstructorReturn(this, (MessageStore.__proto__ || Object.getPrototypeOf(MessageStore)).call(this, conf)); } /** * Get a message from its identifier. * @param {string} messageId - The message identifier. * @returns {object} - The requested message. */ _createClass(MessageStore, [{ key: 'getMessage', value: function getMessage(messageId) { if (!this.data.has(messageId)) { return undefined; } var message = this.data.get(messageId); if (!message.isAck) { this.deleteMessage(messageId); } return message; } /** * Delete a message given its id. * @param {string} messageId - The message identifier. */ }, { key: 'deleteMessage', value: function deleteMessage(messageId) { if (this.data.has(messageId)) { this.data = this.data.delete(messageId); } } /** * Add a listener on the global change on the search store. * @param {object} message - The message to add. */ }, { key: 'pushMessage', value: function pushMessage(message) { message.id = '' + (0, _uuid.v4)(); this.data = this.data.set(message.id, message); this.emit(PUSH, message.id); } /** * Clear all messages in the stack. */ }, { key: 'clearMessages', value: function clearMessages() { this.data = this.data.clear(); this.emit(CLEAR); } /** * Add a listener on the global change on the search store. * @param {function} cb - The callback to call when a message is pushed. */ }, { key: 'addPushedMessageListener', value: function addPushedMessageListener(cb) { this.addListener(PUSH, cb); } /** * Remove a listener on the global change on the search store. * @param {function} cb - The callback to called when a message is pushed. */ }, { key: 'removePushedMessageListener', value: function removePushedMessageListener(cb) { this.removeListener(PUSH, cb); } /** * Add a listener on the global change on the search store. * @param {function} cb - The callback to call when a message is pushed. */ }, { key: 'addClearMessagesListener', value: function addClearMessagesListener(cb) { this.addListener(CLEAR, cb); } /** * Remove a listener on the global change on the search store. * @param {function} cb - The callback to called when a message is pushed. */ }, { key: 'removeClearMessagesListener', value: function removeClearMessagesListener(cb) { this.removeListener(CLEAR, cb); } }, { key: 'registerDispatcher', value: function registerDispatcher() { var currentStore = this; this.dispatch = _dispatcher2.default.register(function (transferInfo) { var rawData = transferInfo.action.data; var type = transferInfo.action.type; switch (type) { case 'push': if (rawData.message) { currentStore.pushMessage(rawData.message); } break; case 'clear': if (rawData.messages) { currentStore.clearMessages(); } break; } }); } }]); return MessageStore; }(_CoreStore3.default); exports.default = MessageStore; module.exports = exports['default']; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInByb2Nlc3Nvci5qcyJdLCJuYW1lcyI6WyJQVVNIIiwiQ0xFQVIiLCJNZXNzYWdlU3RvcmUiLCJjb25mIiwiZGVmaW5pdGlvbiIsIm1lc3NhZ2VJZCIsImRhdGEiLCJoYXMiLCJ1bmRlZmluZWQiLCJtZXNzYWdlIiwiZ2V0IiwiaXNBY2siLCJkZWxldGVNZXNzYWdlIiwiZGVsZXRlIiwiaWQiLCJzZXQiLCJlbWl0IiwiY2xlYXIiLCJjYiIsImFkZExpc3RlbmVyIiwicmVtb3ZlTGlzdGVuZXIiLCJjdXJyZW50U3RvcmUiLCJkaXNwYXRjaCIsIkFwcERpc3BhdGNoZXIiLCJyZWdpc3RlciIsInRyYW5zZmVySW5mbyIsInJhd0RhdGEiLCJhY3Rpb24iLCJ0eXBlIiwicHVzaE1lc3NhZ2UiLCJtZXNzYWdlcyIsImNsZWFyTWVzc2FnZXMiLCJDb3JlU3RvcmUiXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O0FBQ0E7Ozs7QUFDQTs7OztBQUNBOztBQUdBOzs7Ozs7Ozs7OytlQU5BOzs7QUFJQSxJQUFNQSxPQUFPLE1BQWI7QUFDQSxJQUFNQyxRQUFRLE9BQWQ7O0FBR0E7OztJQUdNQyxZOzs7QUFDRjs7OztBQUlBLDBCQUFZQyxJQUFaLEVBQWtCO0FBQUE7O0FBQ2RBLGVBQU9BLFFBQVEsRUFBZjtBQUNBQSxhQUFLQyxVQUFMLEdBQWtCRCxLQUFLQyxVQUFMLElBQW1CLDJCQUFyQztBQUZjLDJIQUdSRCxJQUhRO0FBSWpCO0FBQ0Q7Ozs7Ozs7OzttQ0FLV0UsUyxFQUFXO0FBQ2xCLGdCQUFJLENBQUMsS0FBS0MsSUFBTCxDQUFVQyxHQUFWLENBQWNGLFNBQWQsQ0FBTCxFQUErQjtBQUMzQix1QkFBT0csU0FBUDtBQUNIO0FBQ0QsZ0JBQUlDLFVBQVUsS0FBS0gsSUFBTCxDQUFVSSxHQUFWLENBQWNMLFNBQWQsQ0FBZDtBQUNBLGdCQUFJLENBQUNJLFFBQVFFLEtBQWIsRUFBb0I7QUFDaEIscUJBQUtDLGFBQUwsQ0FBbUJQLFNBQW5CO0FBQ0g7QUFDRCxtQkFBT0ksT0FBUDtBQUNIO0FBQ0Q7Ozs7Ozs7c0NBSWNKLFMsRUFBVztBQUNyQixnQkFBSSxLQUFLQyxJQUFMLENBQVVDLEdBQVYsQ0FBY0YsU0FBZCxDQUFKLEVBQThCO0FBQzFCLHFCQUFLQyxJQUFMLEdBQVksS0FBS0EsSUFBTCxDQUFVTyxNQUFWLENBQWlCUixTQUFqQixDQUFaO0FBQ0g7QUFDSjtBQUNEOzs7Ozs7O29DQUlZSSxPLEVBQVM7QUFDakJBLG9CQUFRSyxFQUFSLFFBQWdCLGVBQWhCO0FBQ0EsaUJBQUtSLElBQUwsR0FBWSxLQUFLQSxJQUFMLENBQVVTLEdBQVYsQ0FBY04sUUFBUUssRUFBdEIsRUFBMEJMLE9BQTFCLENBQVo7QUFDQSxpQkFBS08sSUFBTCxDQUFVaEIsSUFBVixFQUFnQlMsUUFBUUssRUFBeEI7QUFDSDtBQUNEOzs7Ozs7d0NBR2dCO0FBQ1osaUJBQUtSLElBQUwsR0FBWSxLQUFLQSxJQUFMLENBQVVXLEtBQVYsRUFBWjtBQUNBLGlCQUFLRCxJQUFMLENBQVVmLEtBQVY7QUFDSDtBQUNEOzs7Ozs7O2lEQUl5QmlCLEUsRUFBSTtBQUN6QixpQkFBS0MsV0FBTCxDQUFpQm5CLElBQWpCLEVBQXVCa0IsRUFBdkI7QUFDSDtBQUNEOzs7Ozs7O29EQUk0QkEsRSxFQUFJO0FBQzVCLGlCQUFLRSxjQUFMLENBQW9CcEIsSUFBcEIsRUFBMEJrQixFQUExQjtBQUNIOztBQUVEOzs7Ozs7O2lEQUl5QkEsRSxFQUFJO0FBQ3pCLGlCQUFLQyxXQUFMLENBQWlCbEIsS0FBakIsRUFBd0JpQixFQUF4QjtBQUNIO0FBQ0Q7Ozs7Ozs7b0RBSTRCQSxFLEVBQUk7QUFDNUIsaUJBQUtFLGNBQUwsQ0FBb0JuQixLQUFwQixFQUEyQmlCLEVBQTNCO0FBQ0g7Ozs2Q0FDb0I7QUFDakIsZ0JBQUlHLGVBQWUsSUFBbkI7QUFDQSxpQkFBS0MsUUFBTCxHQUFnQkMscUJBQWNDLFFBQWQsQ0FBdUIsVUFBVUMsWUFBVixFQUF3QjtBQUMzRCxvQkFBSUMsVUFBVUQsYUFBYUUsTUFBYixDQUFvQnJCLElBQWxDO0FBQ0Esb0JBQUlzQixPQUFPSCxhQUFhRSxNQUFiLENBQW9CQyxJQUEvQjs7QUFFQSx3QkFBUUEsSUFBUjtBQUNJLHlCQUFLLE1BQUw7QUFDSSw0QkFBSUYsUUFBUWpCLE9BQVosRUFBcUI7QUFDakJZLHlDQUFhUSxXQUFiLENBQXlCSCxRQUFRakIsT0FBakM7QUFDSDtBQUNEO0FBQ0oseUJBQUssT0FBTDtBQUNJLDRCQUFJaUIsUUFBUUksUUFBWixFQUFzQjtBQUNsQlQseUNBQWFVLGFBQWI7QUFDSDtBQUNEO0FBVlI7QUFZSCxhQWhCZSxDQUFoQjtBQWlCSDs7OztFQWxHc0JDLG1COztrQkFxR1o5QixZIiwiZmlsZSI6InByb2Nlc3Nvci5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vRGVwZW5kZW5jaWVzLlxyXG5pbXBvcnQgQ29yZVN0b3JlIGZyb20gJy4uL0NvcmVTdG9yZSc7XHJcbmltcG9ydCBnZXREZWZpbml0aW9uIGZyb20gJy4vZGVmaW5pdGlvbic7XHJcbmltcG9ydCB7IHY0IGFzIHV1aWQgfSBmcm9tICd1dWlkJztcclxuY29uc3QgUFVTSCA9ICdwdXNoJztcclxuY29uc3QgQ0xFQVIgPSAnY2xlYXInO1xyXG5pbXBvcnQgQXBwRGlzcGF0Y2hlciBmcm9tICcuLi8uLi9kaXNwYXRjaGVyJztcclxuXHJcbi8qKlxyXG4gKiBDbGFzcyBzdGFuZGluZyBmb3IgdGhlIGNhcnRyaWRnZSBzdG9yZS5cclxuICovXHJcbmNsYXNzIE1lc3NhZ2VTdG9yZSBleHRlbmRzIENvcmVTdG9yZSB7XHJcbiAgICAvKipcclxuICAgKiBBZGQgYSBsaXN0ZW5lciBvbiB0aGUgZ2xvYmFsIGNoYW5nZSBvbiB0aGUgc2VhcmNoIHN0b3JlLlxyXG4gICAqIEBwYXJhbSB7b2JqZWN0fSBjb25mIC0gVGhlIGNvbmZpZ3VyYXRpb24gb2YgdGhlIG1lc3NhZ2Ugc3RvcmUuXHJcbiAgICovXHJcbiAgICBjb25zdHJ1Y3Rvcihjb25mKSB7XHJcbiAgICAgICAgY29uZiA9IGNvbmYgfHwge307XHJcbiAgICAgICAgY29uZi5kZWZpbml0aW9uID0gY29uZi5kZWZpbml0aW9uIHx8IGdldERlZmluaXRpb24oKTtcclxuICAgICAgICBzdXBlcihjb25mKTtcclxuICAgIH1cclxuICAgIC8qKlxyXG4gICAqIEdldCBhIG1lc3NhZ2UgZnJvbSBpdHMgaWRlbnRpZmllci5cclxuICAgKiBAcGFyYW0ge3N0cmluZ30gbWVzc2FnZUlkIC0gVGhlIG1lc3NhZ2UgaWRlbnRpZmllci5cclxuICAgKiBAcmV0dXJucyB7b2JqZWN0fSAtIFRoZSByZXF1ZXN0ZWQgbWVzc2FnZS5cclxuICAgKi9cclxuICAgIGdldE1lc3NhZ2UobWVzc2FnZUlkKSB7XHJcbiAgICAgICAgaWYgKCF0aGlzLmRhdGEuaGFzKG1lc3NhZ2VJZCkpIHtcclxuICAgICAgICAgICAgcmV0dXJuIHVuZGVmaW5lZDtcclxuICAgICAgICB9XHJcbiAgICAgICAgbGV0IG1lc3NhZ2UgPSB0aGlzLmRhdGEuZ2V0KG1lc3NhZ2VJZCk7XHJcbiAgICAgICAgaWYgKCFtZXNzYWdlLmlzQWNrKSB7XHJcbiAgICAgICAgICAgIHRoaXMuZGVsZXRlTWVzc2FnZShtZXNzYWdlSWQpO1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gbWVzc2FnZTtcclxuICAgIH1cclxuICAgIC8qKlxyXG4gICAqIERlbGV0ZSBhIG1lc3NhZ2UgZ2l2ZW4gaXRzIGlkLlxyXG4gICAqIEBwYXJhbSB7c3RyaW5nfSBtZXNzYWdlSWQgLSBUaGUgbWVzc2FnZSBpZGVudGlmaWVyLlxyXG4gICAqL1xyXG4gICAgZGVsZXRlTWVzc2FnZShtZXNzYWdlSWQpIHtcclxuICAgICAgICBpZiAodGhpcy5kYXRhLmhhcyhtZXNzYWdlSWQpKSB7XHJcbiAgICAgICAgICAgIHRoaXMuZGF0YSA9IHRoaXMuZGF0YS5kZWxldGUobWVzc2FnZUlkKTtcclxuICAgICAgICB9XHJcbiAgICB9XHJcbiAgICAvKipcclxuICAgKiBBZGQgYSBsaXN0ZW5lciBvbiB0aGUgZ2xvYmFsIGNoYW5nZSBvbiB0aGUgc2VhcmNoIHN0b3JlLlxyXG4gICAqIEBwYXJhbSB7b2JqZWN0fSBtZXNzYWdlIC0gVGhlIG1lc3NhZ2UgdG8gYWRkLlxyXG4gICAqL1xyXG4gICAgcHVzaE1lc3NhZ2UobWVzc2FnZSkge1xyXG4gICAgICAgIG1lc3NhZ2UuaWQgPSBgJHt1dWlkKCl9YDtcclxuICAgICAgICB0aGlzLmRhdGEgPSB0aGlzLmRhdGEuc2V0KG1lc3NhZ2UuaWQsIG1lc3NhZ2UpO1xyXG4gICAgICAgIHRoaXMuZW1pdChQVVNILCBtZXNzYWdlLmlkKTtcclxuICAgIH1cclxuICAgIC8qKlxyXG4gICAqIENsZWFyIGFsbCBtZXNzYWdlcyBpbiB0aGUgc3RhY2suXHJcbiAgICovXHJcbiAgICBjbGVhck1lc3NhZ2VzKCkge1xyXG4gICAgICAgIHRoaXMuZGF0YSA9IHRoaXMuZGF0YS5jbGVhcigpO1xyXG4gICAgICAgIHRoaXMuZW1pdChDTEVBUik7XHJcbiAgICB9XHJcbiAgICAvKipcclxuICAgKiBBZGQgYSBsaXN0ZW5lciBvbiB0aGUgZ2xvYmFsIGNoYW5nZSBvbiB0aGUgc2VhcmNoIHN0b3JlLlxyXG4gICAqIEBwYXJhbSB7ZnVuY3Rpb259IGNiIC0gVGhlIGNhbGxiYWNrIHRvIGNhbGwgd2hlbiBhIG1lc3NhZ2UgaXMgcHVzaGVkLlxyXG4gICAqL1xyXG4gICAgYWRkUHVzaGVkTWVzc2FnZUxpc3RlbmVyKGNiKSB7XHJcbiAgICAgICAgdGhpcy5hZGRMaXN0ZW5lcihQVVNILCBjYik7XHJcbiAgICB9XHJcbiAgICAvKipcclxuICAgKiBSZW1vdmUgYSBsaXN0ZW5lciBvbiB0aGUgZ2xvYmFsIGNoYW5nZSBvbiB0aGUgc2VhcmNoIHN0b3JlLlxyXG4gICAqIEBwYXJhbSB7ZnVuY3Rpb259IGNiIC0gVGhlIGNhbGxiYWNrIHRvIGNhbGxlZCB3aGVuIGEgbWVzc2FnZSBpcyBwdXNoZWQuXHJcbiAgICovXHJcbiAgICByZW1vdmVQdXNoZWRNZXNzYWdlTGlzdGVuZXIoY2IpIHtcclxuICAgICAgICB0aGlzLnJlbW92ZUxpc3RlbmVyKFBVU0gsIGNiKTtcclxuICAgIH1cclxuXHJcbiAgICAvKipcclxuICAgKiBBZGQgYSBsaXN0ZW5lciBvbiB0aGUgZ2xvYmFsIGNoYW5nZSBvbiB0aGUgc2VhcmNoIHN0b3JlLlxyXG4gICAqIEBwYXJhbSB7ZnVuY3Rpb259IGNiIC0gVGhlIGNhbGxiYWNrIHRvIGNhbGwgd2hlbiBhIG1lc3NhZ2UgaXMgcHVzaGVkLlxyXG4gICAqL1xyXG4gICAgYWRkQ2xlYXJNZXNzYWdlc0xpc3RlbmVyKGNiKSB7XHJcbiAgICAgICAgdGhpcy5hZGRMaXN0ZW5lcihDTEVBUiwgY2IpO1xyXG4gICAgfVxyXG4gICAgLyoqXHJcbiAgICogUmVtb3ZlIGEgbGlzdGVuZXIgb24gdGhlIGdsb2JhbCBjaGFuZ2Ugb24gdGhlIHNlYXJjaCBzdG9yZS5cclxuICAgKiBAcGFyYW0ge2Z1bmN0aW9ufSBjYiAtIFRoZSBjYWxsYmFjayB0byBjYWxsZWQgd2hlbiBhIG1lc3NhZ2UgaXMgcHVzaGVkLlxyXG4gICAqL1xyXG4gICAgcmVtb3ZlQ2xlYXJNZXNzYWdlc0xpc3RlbmVyKGNiKSB7XHJcbiAgICAgICAgdGhpcy5yZW1vdmVMaXN0ZW5lcihDTEVBUiwgY2IpO1xyXG4gICAgfVxyXG4gICAgcmVnaXN0ZXJEaXNwYXRjaGVyKCkge1xyXG4gICAgICAgIGxldCBjdXJyZW50U3RvcmUgPSB0aGlzO1xyXG4gICAgICAgIHRoaXMuZGlzcGF0Y2ggPSBBcHBEaXNwYXRjaGVyLnJlZ2lzdGVyKGZ1bmN0aW9uICh0cmFuc2ZlckluZm8pIHtcclxuICAgICAgICAgICAgbGV0IHJhd0RhdGEgPSB0cmFuc2ZlckluZm8uYWN0aW9uLmRhdGE7XHJcbiAgICAgICAgICAgIGxldCB0eXBlID0gdHJhbnNmZXJJbmZvLmFjdGlvbi50eXBlO1xyXG5cclxuICAgICAgICAgICAgc3dpdGNoICh0eXBlKSB7XHJcbiAgICAgICAgICAgICAgICBjYXNlICdwdXNoJzpcclxuICAgICAgICAgICAgICAgICAgICBpZiAocmF3RGF0YS5tZXNzYWdlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIGN1cnJlbnRTdG9yZS5wdXNoTWVzc2FnZShyYXdEYXRhLm1lc3NhZ2UpO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgICAgIGNhc2UgJ2NsZWFyJzpcclxuICAgICAgICAgICAgICAgICAgICBpZiAocmF3RGF0YS5tZXNzYWdlcykge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICBjdXJyZW50U3RvcmUuY2xlYXJNZXNzYWdlcygpO1xyXG4gICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG59XHJcblxyXG5leHBvcnQgZGVmYXVsdCBNZXNzYWdlU3RvcmU7XHJcbiJdfQ==
# Copyright 2016 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== """Tests for Student t distribution.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import math import numpy as np from scipy import stats from tensorflow.contrib import distributions from tensorflow.contrib.distributions.python.ops import student_t from tensorflow.python.framework import constant_op from tensorflow.python.framework import random_seed from tensorflow.python.ops import math_ops from tensorflow.python.ops import nn_ops from tensorflow.python.platform import test ds = distributions class StudentTTest(test.TestCase): def testStudentPDFAndLogPDF(self): with self.test_session(): batch_size = 6 df = constant_op.constant([3.] * batch_size) mu = constant_op.constant([7.] * batch_size) sigma = constant_op.constant([8.] * batch_size) df_v = 3. mu_v = 7. sigma_v = 8. t = np.array([-2.5, 2.5, 8., 0., -1., 2.], dtype=np.float32) student = ds.StudentT(df, mu=mu, sigma=-sigma) log_pdf = student.log_pdf(t) self.assertEquals(log_pdf.get_shape(), (6,)) log_pdf_values = log_pdf.eval() pdf = student.pdf(t) self.assertEquals(pdf.get_shape(), (6,)) pdf_values = pdf.eval() expected_log_pdf = stats.t.logpdf(t, df_v, loc=mu_v, scale=sigma_v) expected_pdf = stats.t.pdf(t, df_v, loc=mu_v, scale=sigma_v) self.assertAllClose(expected_log_pdf, log_pdf_values) self.assertAllClose(np.log(expected_pdf), log_pdf_values) self.assertAllClose(expected_pdf, pdf_values) self.assertAllClose(np.exp(expected_log_pdf), pdf_values) def testStudentLogPDFMultidimensional(self): with self.test_session(): batch_size = 6 df = constant_op.constant([[1.5, 7.2]] * batch_size) mu = constant_op.constant([[3., -3.]] * batch_size) sigma = constant_op.constant([[-math.sqrt(10.), math.sqrt(15.)]] * batch_size) df_v = np.array([1.5, 7.2]) mu_v = np.array([3., -3.]) sigma_v = np.array([np.sqrt(10.), np.sqrt(15.)]) t = np.array([[-2.5, 2.5, 4., 0., -1., 2.]], dtype=np.float32).T student = ds.StudentT(df, mu=mu, sigma=sigma) log_pdf = student.log_pdf(t) log_pdf_values = log_pdf.eval() self.assertEqual(log_pdf.get_shape(), (6, 2)) pdf = student.pdf(t) pdf_values = pdf.eval() self.assertEqual(pdf.get_shape(), (6, 2)) expected_log_pdf = stats.t.logpdf(t, df_v, loc=mu_v, scale=sigma_v) expected_pdf = stats.t.pdf(t, df_v, loc=mu_v, scale=sigma_v) self.assertAllClose(expected_log_pdf, log_pdf_values) self.assertAllClose(np.log(expected_pdf), log_pdf_values) self.assertAllClose(expected_pdf, pdf_values) self.assertAllClose(np.exp(expected_log_pdf), pdf_values) def testStudentCDFAndLogCDF(self): with self.test_session(): batch_size = 6 df = constant_op.constant([3.] * batch_size) mu = constant_op.constant([7.] * batch_size) sigma = constant_op.constant([-8.] * batch_size) df_v = 3. mu_v = 7. sigma_v = 8. t = np.array([-2.5, 2.5, 8., 0., -1., 2.], dtype=np.float32) student = student_t.StudentT(df, mu=mu, sigma=sigma) log_cdf = student.log_cdf(t) self.assertEquals(log_cdf.get_shape(), (6,)) log_cdf_values = log_cdf.eval() cdf = student.cdf(t) self.assertEquals(cdf.get_shape(), (6,)) cdf_values = cdf.eval() expected_log_cdf = stats.t.logcdf(t, df_v, loc=mu_v, scale=sigma_v) expected_cdf = stats.t.cdf(t, df_v, loc=mu_v, scale=sigma_v) self.assertAllClose(expected_log_cdf, log_cdf_values, atol=0., rtol=1e-5) self.assertAllClose( np.log(expected_cdf), log_cdf_values, atol=0., rtol=1e-5) self.assertAllClose(expected_cdf, cdf_values, atol=0., rtol=1e-5) self.assertAllClose( np.exp(expected_log_cdf), cdf_values, atol=0., rtol=1e-5) def testStudentEntropy(self): df_v = np.array([[2., 3., 7.]]) # 1x3 mu_v = np.array([[1., -1, 0]]) # 1x3 sigma_v = np.array([[1., -2., 3.]]).T # transposed => 3x1 with self.test_session(): student = ds.StudentT(df=df_v, mu=mu_v, sigma=sigma_v) ent = student.entropy() ent_values = ent.eval() # Help scipy broadcast to 3x3 ones = np.array([[1, 1, 1]]) sigma_bc = np.abs(sigma_v) * ones mu_bc = ones.T * mu_v df_bc = ones.T * df_v expected_entropy = stats.t.entropy( np.reshape(df_bc, [-1]), loc=np.reshape(mu_bc, [-1]), scale=np.reshape(sigma_bc, [-1])) expected_entropy = np.reshape(expected_entropy, df_bc.shape) self.assertAllClose(expected_entropy, ent_values) def testStudentSample(self): with self.test_session(): df = constant_op.constant(4.) mu = constant_op.constant(3.) sigma = constant_op.constant(-math.sqrt(10.)) df_v = 4. mu_v = 3. sigma_v = np.sqrt(10.) n = constant_op.constant(200000) student = ds.StudentT(df=df, mu=mu, sigma=sigma) samples = student.sample(n, seed=123456) sample_values = samples.eval() n_val = 200000 self.assertEqual(sample_values.shape, (n_val,)) self.assertAllClose(sample_values.mean(), mu_v, rtol=1e-2, atol=0) self.assertAllClose( sample_values.var(), sigma_v**2 * df_v / (df_v - 2), rtol=1e-2, atol=0) self._checkKLApprox(df_v, mu_v, sigma_v, sample_values) # Test that sampling with the same seed twice gives the same results. def testStudentSampleMultipleTimes(self): with self.test_session(): df = constant_op.constant(4.) mu = constant_op.constant(3.) sigma = constant_op.constant(math.sqrt(10.)) n = constant_op.constant(100) random_seed.set_random_seed(654321) student = ds.StudentT(df=df, mu=mu, sigma=sigma, name="student_t1") samples1 = student.sample(n, seed=123456).eval() random_seed.set_random_seed(654321) student2 = ds.StudentT(df=df, mu=mu, sigma=sigma, name="student_t2") samples2 = student2.sample(n, seed=123456).eval() self.assertAllClose(samples1, samples2) def testStudentSampleSmallDfNoNan(self): with self.test_session(): df_v = [1e-1, 1e-5, 1e-10, 1e-20] df = constant_op.constant(df_v) n = constant_op.constant(200000) student = ds.StudentT(df=df, mu=1., sigma=1.) samples = student.sample(n, seed=123456) sample_values = samples.eval() n_val = 200000 self.assertEqual(sample_values.shape, (n_val, 4)) self.assertTrue(np.all(np.logical_not(np.isnan(sample_values)))) def testStudentSampleMultiDimensional(self): with self.test_session(): batch_size = 7 df = constant_op.constant([[3., 7.]] * batch_size) mu = constant_op.constant([[3., -3.]] * batch_size) sigma = constant_op.constant([[math.sqrt(10.), math.sqrt(15.)]] * batch_size) df_v = [3., 7.] mu_v = [3., -3.] sigma_v = [np.sqrt(10.), np.sqrt(15.)] n = constant_op.constant(200000) student = ds.StudentT(df=df, mu=mu, sigma=sigma) samples = student.sample(n, seed=123456) sample_values = samples.eval() self.assertEqual(samples.get_shape(), (200000, batch_size, 2)) self.assertAllClose( sample_values[:, 0, 0].mean(), mu_v[0], rtol=1e-2, atol=0) self.assertAllClose( sample_values[:, 0, 0].var(), sigma_v[0]**2 * df_v[0] / (df_v[0] - 2), rtol=1e-1, atol=0) self._checkKLApprox(df_v[0], mu_v[0], sigma_v[0], sample_values[:, 0, 0]) self.assertAllClose( sample_values[:, 0, 1].mean(), mu_v[1], rtol=1e-2, atol=0) self.assertAllClose( sample_values[:, 0, 1].var(), sigma_v[1]**2 * df_v[1] / (df_v[1] - 2), rtol=1e-1, atol=0) self._checkKLApprox(df_v[0], mu_v[0], sigma_v[0], sample_values[:, 0, 1]) def _checkKLApprox(self, df, mu, sigma, samples): n = samples.size np.random.seed(137) sample_scipy = stats.t.rvs(df, loc=mu, scale=sigma, size=n) covg = 0.99 r = stats.t.interval(covg, df, loc=mu, scale=sigma) bins = 100 hist, _ = np.histogram(samples, bins=bins, range=r) hist_scipy, _ = np.histogram(sample_scipy, bins=bins, range=r) self.assertGreater(hist.sum(), n * (covg - .01)) self.assertGreater(hist_scipy.sum(), n * (covg - .01)) hist_min1 = hist + 1. # put at least one item in each bucket hist_norm = hist_min1 / hist_min1.sum() hist_scipy_min1 = hist_scipy + 1. # put at least one item in each bucket hist_scipy_norm = hist_scipy_min1 / hist_scipy_min1.sum() kl_appx = np.sum(np.log(hist_scipy_norm / hist_norm) * hist_scipy_norm) self.assertLess(kl_appx, 1) def testBroadcastingParams(self): def _check(student): self.assertEqual(student.mean().get_shape(), (3,)) self.assertEqual(student.variance().get_shape(), (3,)) self.assertEqual(student.entropy().get_shape(), (3,)) self.assertEqual(student.log_pdf(2.).get_shape(), (3,)) self.assertEqual(student.pdf(2.).get_shape(), (3,)) self.assertEqual(student.sample(37, seed=123456).get_shape(), (37, 3,)) _check(ds.StudentT(df=[2., 3., 4.,], mu=2., sigma=1.)) _check(ds.StudentT(df=7., mu=[2., 3., 4.,], sigma=1.)) _check(ds.StudentT(df=7., mu=3., sigma=[2., 3., 4.,])) def testBroadcastingPdfArgs(self): def _assert_shape(student, arg, shape): self.assertEqual(student.log_pdf(arg).get_shape(), shape) self.assertEqual(student.pdf(arg).get_shape(), shape) def _check(student): _assert_shape(student, 2., (3,)) xs = np.array([2., 3., 4.], dtype=np.float32) _assert_shape(student, xs, (3,)) xs = np.array([xs]) _assert_shape(student, xs, (1, 3)) xs = xs.T _assert_shape(student, xs, (3, 3)) _check(ds.StudentT(df=[2., 3., 4.,], mu=2., sigma=1.)) _check(ds.StudentT(df=7., mu=[2., 3., 4.,], sigma=1.)) _check(ds.StudentT(df=7., mu=3., sigma=[2., 3., 4.,])) def _check2d(student): _assert_shape(student, 2., (1, 3)) xs = np.array([2., 3., 4.], dtype=np.float32) _assert_shape(student, xs, (1, 3)) xs = np.array([xs]) _assert_shape(student, xs, (1, 3)) xs = xs.T _assert_shape(student, xs, (3, 3)) _check2d(ds.StudentT(df=[[2., 3., 4.,]], mu=2., sigma=1.)) _check2d(ds.StudentT(df=7., mu=[[2., 3., 4.,]], sigma=1.)) _check2d(ds.StudentT(df=7., mu=3., sigma=[[2., 3., 4.,]])) def _check2d_rows(student): _assert_shape(student, 2., (3, 1)) xs = np.array([2., 3., 4.], dtype=np.float32) # (3,) _assert_shape(student, xs, (3, 3)) xs = np.array([xs]) # (1,3) _assert_shape(student, xs, (3, 3)) xs = xs.T # (3,1) _assert_shape(student, xs, (3, 1)) _check2d_rows(ds.StudentT(df=[[2.], [3.], [4.]], mu=2., sigma=1.)) _check2d_rows(ds.StudentT(df=7., mu=[[2.], [3.], [4.]], sigma=1.)) _check2d_rows(ds.StudentT(df=7., mu=3., sigma=[[2.], [3.], [4.]])) def testMeanAllowNanStatsIsFalseWorksWhenAllBatchMembersAreDefined(self): with self.test_session(): mu = [1., 3.3, 4.4] student = ds.StudentT(df=[3., 5., 7.], mu=mu, sigma=[3., 2., 1.]) mean = student.mean().eval() self.assertAllClose([1., 3.3, 4.4], mean) def testMeanAllowNanStatsIsFalseRaisesWhenBatchMemberIsUndefined(self): with self.test_session(): mu = [1., 3.3, 4.4] student = ds.StudentT(df=[0.5, 5., 7.], mu=mu, sigma=[3., 2., 1.], allow_nan_stats=False) with self.assertRaisesOpError("x < y"): student.mean().eval() def testMeanAllowNanStatsIsTrueReturnsNaNForUndefinedBatchMembers(self): with self.test_session(): mu = [-2, 0., 1., 3.3, 4.4] sigma = [5., 4., 3., 2., 1.] student = ds.StudentT(df=[0.5, 1., 3., 5., 7.], mu=mu, sigma=sigma, allow_nan_stats=True) mean = student.mean().eval() self.assertAllClose([np.nan, np.nan, 1., 3.3, 4.4], mean) def testVarianceAllowNanStatsTrueReturnsNaNforUndefinedBatchMembers(self): with self.test_session(): # df = 0.5 ==> undefined mean ==> undefined variance. # df = 1.5 ==> infinite variance. df = [0.5, 1.5, 3., 5., 7.] mu = [-2, 0., 1., 3.3, 4.4] sigma = [5., 4., 3., 2., 1.] student = ds.StudentT(df=df, mu=mu, sigma=sigma, allow_nan_stats=True) var = student.variance().eval() ## scipy uses inf for variance when the mean is undefined. When mean is # undefined we say variance is undefined as well. So test the first # member of var, making sure it is NaN, then replace with inf and compare # to scipy. self.assertTrue(np.isnan(var[0])) var[0] = np.inf expected_var = [ stats.t.var(d, loc=m, scale=s) for (d, m, s) in zip(df, mu, sigma) ] self.assertAllClose(expected_var, var) def testVarianceAllowNanStatsFalseGivesCorrectValueForDefinedBatchMembers( self): with self.test_session(): # df = 1.5 ==> infinite variance. df = [1.5, 3., 5., 7.] mu = [0., 1., 3.3, 4.4] sigma = [4., 3., 2., 1.] student = ds.StudentT(df=df, mu=mu, sigma=sigma) var = student.variance().eval() expected_var = [ stats.t.var(d, loc=m, scale=s) for (d, m, s) in zip(df, mu, sigma) ] self.assertAllClose(expected_var, var) def testVarianceAllowNanStatsFalseRaisesForUndefinedBatchMembers(self): with self.test_session(): # df <= 1 ==> variance not defined student = ds.StudentT(df=1., mu=0., sigma=1., allow_nan_stats=False) with self.assertRaisesOpError("x < y"): student.variance().eval() with self.test_session(): # df <= 1 ==> variance not defined student = ds.StudentT(df=0.5, mu=0., sigma=1., allow_nan_stats=False) with self.assertRaisesOpError("x < y"): student.variance().eval() def testStd(self): with self.test_session(): # Defined for all batch members. df = [3.5, 5., 3., 5., 7.] mu = [-2.2] sigma = [5., 4., 3., 2., 1.] student = ds.StudentT(df=df, mu=mu, sigma=sigma) # Test broadcast of mu across shape of df/sigma std = student.std().eval() mu *= len(df) expected_std = [ stats.t.std(d, loc=m, scale=s) for (d, m, s) in zip(df, mu, sigma) ] self.assertAllClose(expected_std, std) def testMode(self): with self.test_session(): df = [0.5, 1., 3] mu = [-1, 0., 1] sigma = [5., 4., 3.] student = ds.StudentT(df=df, mu=mu, sigma=sigma) # Test broadcast of mu across shape of df/sigma mode = student.mode().eval() self.assertAllClose([-1., 0, 1], mode) def testPdfOfSample(self): with self.test_session() as sess: student = ds.StudentT(df=3., mu=np.pi, sigma=1.) num = 20000 samples = student.sample(num, seed=123456) pdfs = student.pdf(samples) mean = student.mean() mean_pdf = student.pdf(student.mean()) sample_vals, pdf_vals, mean_val, mean_pdf_val = sess.run( [samples, pdfs, student.mean(), mean_pdf]) self.assertEqual(samples.get_shape(), (num,)) self.assertEqual(pdfs.get_shape(), (num,)) self.assertEqual(mean.get_shape(), ()) self.assertNear(np.pi, np.mean(sample_vals), err=0.02) self.assertNear(np.pi, mean_val, err=1e-6) self.assertNear(stats.t.pdf(np.pi, 3., loc=np.pi), mean_pdf_val, err=1e-6) # Verify integral over sample*pdf ~= 1. self._assertIntegral(sample_vals, pdf_vals, err=2e-3) def testPdfOfSampleMultiDims(self): with self.test_session() as sess: student = ds.StudentT(df=[7., 11.], mu=[[5.], [6.]], sigma=3.) self.assertAllEqual([], student.get_event_shape()) self.assertAllEqual([], student.event_shape().eval()) self.assertAllEqual([2, 2], student.get_batch_shape()) self.assertAllEqual([2, 2], student.batch_shape().eval()) num = 50000 samples = student.sample(num, seed=123456) pdfs = student.pdf(samples) sample_vals, pdf_vals = sess.run([samples, pdfs]) self.assertEqual(samples.get_shape(), (num, 2, 2)) self.assertEqual(pdfs.get_shape(), (num, 2, 2)) self.assertNear(5., np.mean(sample_vals[:, 0, :]), err=.03) self.assertNear(6., np.mean(sample_vals[:, 1, :]), err=.03) self.assertNear( stats.t.var(7., loc=0., scale=3.), # loc d.n. effect var np.var(sample_vals[:, :, 0]), err=.4) self.assertNear( stats.t.var(11., loc=0., scale=3.), # loc d.n. effect var np.var(sample_vals[:, :, 1]), err=.4) self._assertIntegral(sample_vals[:, 0, 0], pdf_vals[:, 0, 0], err=0.02) self._assertIntegral(sample_vals[:, 0, 1], pdf_vals[:, 0, 1], err=0.02) self._assertIntegral(sample_vals[:, 1, 0], pdf_vals[:, 1, 0], err=0.02) self._assertIntegral(sample_vals[:, 1, 1], pdf_vals[:, 1, 1], err=0.02) def _assertIntegral(self, sample_vals, pdf_vals, err=1.5e-3): s_p = zip(sample_vals, pdf_vals) prev = (sample_vals.min() - 1000, 0) total = 0 for k in sorted(s_p, key=lambda x: x[0]): pair_pdf = (k[1] + prev[1]) / 2 total += (k[0] - prev[0]) * pair_pdf prev = k self.assertNear(1., total, err=err) def testNegativeDofFails(self): with self.test_session(): student = ds.StudentT(df=[2, -5.], mu=0., sigma=1., validate_args=True, name="S") with self.assertRaisesOpError(r"Condition x > 0 did not hold"): student.mean().eval() def testStudentTWithAbsDfSoftplusSigma(self): with self.test_session(): df = constant_op.constant([-3.2, -4.6]) mu = constant_op.constant([-4.2, 3.4]) sigma = constant_op.constant([-6.4, -8.8]) student = ds.StudentTWithAbsDfSoftplusSigma(df=df, mu=mu, sigma=sigma) self.assertAllClose( math_ops.floor(math_ops.abs(df)).eval(), student.df.eval()) self.assertAllClose(mu.eval(), student.mu.eval()) self.assertAllClose(nn_ops.softplus(sigma).eval(), student.sigma.eval()) if __name__ == "__main__": test.main()
""" WSGI config for sims_django project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os from django.core.wsgi import get_wsgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sims_django.settings') application = get_wsgi_application()
/*! * Bootstrap Confirmation (v4.1.0) * @copyright 2013 Nimit Suwannagate <ethaizone@hotmail.com> * @copyright 2014-2018 Damien "Mistic" Sorel <contact@git.strangeplanet.fr> * @licence Apache License, Version 2.0 */ (function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('bootstrap')) : typeof define === 'function' && define.amd ? define(['jquery', 'bootstrap'], factory) : (global = global || self, factory(global.jQuery)); }(this, function ($) { 'use strict'; $ = $ && $.hasOwnProperty('default') ? $['default'] : $; function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; } function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } if (typeof $.fn.popover === 'undefined' || $.fn.popover.Constructor.VERSION.split('.').shift() !== '4') { throw new Error('Bootstrap Confirmation 4 requires Bootstrap Popover 4'); } var Popover = $.fn.popover.Constructor; /** * ------------------------------------------------------------------------ * Constants * ------------------------------------------------------------------------ */ var NAME = 'confirmation'; var VERSION = '4.1.0'; var DATA_KEY = "bs." + NAME; var EVENT_KEY = "." + DATA_KEY; var JQUERY_NO_CONFLICT = $.fn[NAME]; var BTN_CLASS_BASE = 'h-100 d-flex align-items-center'; var BTN_CLASS_DEFAULT = 'btn btn-sm'; var DefaultType = _objectSpread({}, Popover.DefaultType, { singleton: 'boolean', popout: 'boolean', copyAttributes: '(string|array)', onConfirm: 'function', onCancel: 'function', btnOkClass: 'string', btnOkLabel: 'string', btnOkIconClass: 'string', btnOkIconContent: 'string', btnCancelClass: 'string', btnCancelLabel: 'string', btnCancelIconClass: 'string', btnCancelIconContent: 'string', buttons: 'array' }); var Default = _objectSpread({}, Popover.Default, { _attributes: {}, _selector: null, placement: 'top', title: 'Are you sure?', trigger: 'click', confirmationEvent: undefined, content: '', singleton: false, popout: false, copyAttributes: 'href target', onConfirm: $.noop, onCancel: $.noop, btnOkClass: BTN_CLASS_DEFAULT + " btn-primary", btnOkLabel: 'Yes', btnOkIconClass: '', btnOkIconContent: '', btnCancelClass: BTN_CLASS_DEFAULT + " btn-secondary", btnCancelLabel: 'No', btnCancelIconClass: '', btnCancelIconContent: '', buttons: [], // @formatter:off template: "\n<div class=\"popover confirmation\">\n <div class=\"arrow\"></div>\n <h3 class=\"popover-header\"></h3>\n <div class=\"popover-body\">\n <p class=\"confirmation-content\"></p>\n <div class=\"confirmation-buttons text-center\">\n <div class=\"btn-group\"></div>\n </div>\n </div>\n</div>" // @formatter:on }); if (Default.whiteList) { Default.whiteList['*'].push('data-apply', 'data-dismiss'); } var ClassName = { FADE: 'fade', SHOW: 'show' }; var Selector = { TITLE: '.popover-header', CONTENT: '.confirmation-content', BUTTONS: '.confirmation-buttons .btn-group' }; var Keymap = { 13: 'Enter', 27: 'Escape', 39: 'ArrowRight', 40: 'ArrowDown' }; var Event = { HIDE: "hide" + EVENT_KEY, HIDDEN: "hidden" + EVENT_KEY, SHOW: "show" + EVENT_KEY, SHOWN: "shown" + EVENT_KEY, INSERTED: "inserted" + EVENT_KEY, CLICK: "click" + EVENT_KEY, FOCUSIN: "focusin" + EVENT_KEY, FOCUSOUT: "focusout" + EVENT_KEY, MOUSEENTER: "mouseenter" + EVENT_KEY, MOUSELEAVE: "mouseleave" + EVENT_KEY, CONFIRMED: "confirmed" + EVENT_KEY, CANCELED: "canceled" + EVENT_KEY, KEYUP: "keyup" + EVENT_KEY }; /** * ------------------------------------------------------------------------ * Class Definition * ------------------------------------------------------------------------ */ // keep track of the last openned confirmation for keyboard navigation var activeConfirmation; var Confirmation = /*#__PURE__*/ function (_Popover) { _inheritsLoose(Confirmation, _Popover); _createClass(Confirmation, null, [{ key: "VERSION", // Getters get: function get() { return VERSION; } }, { key: "Default", get: function get() { return Default; } }, { key: "NAME", get: function get() { return NAME; } }, { key: "DATA_KEY", get: function get() { return DATA_KEY; } }, { key: "Event", get: function get() { return Event; } }, { key: "EVENT_KEY", get: function get() { return EVENT_KEY; } }, { key: "DefaultType", get: function get() { return DefaultType; } // Constructor }]); function Confirmation(element, config) { var _this; _this = _Popover.call(this, element, config) || this; if ((_this.config.popout || _this.config.singleton) && !_this.config.rootSelector) { throw new Error('The rootSelector option is required to use popout and singleton features since jQuery 3.'); } // keep trace of selectors _this._isDelegate = false; if (config.selector) { // container of buttons config._selector = config.rootSelector + " " + config.selector; _this.config._selector = config._selector; } else if (config._selector) { // children of container _this.config._selector = config._selector; _this._isDelegate = true; } else { // standalone _this.config._selector = config.rootSelector; } if (_this.config.confirmationEvent === undefined) { _this.config.confirmationEvent = _this.config.trigger; } if (!_this.config.selector) { _this._copyAttributes(); } _this._setConfirmationListeners(); return _this; } // Overrides var _proto = Confirmation.prototype; _proto.isWithContent = function isWithContent() { return true; }; _proto.setContent = function setContent() { var $tip = $(this.getTipElement()); var content = this._getContent(); if (typeof content === 'function') { content = content.call(this.element); } this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); $tip.find(Selector.CONTENT).toggle(!!content); if (content) { this.setElementContent($tip.find(Selector.CONTENT), content); } if (this.config.buttons.length > 0) { this._setButtons($tip, this.config.buttons); } else { this._setStandardButtons($tip); } $tip.removeClass(ClassName.FADE + " " + ClassName.SHOW); this._setupKeyupEvent(); }; _proto.dispose = function dispose() { $('body').off(Event.CLICK + "." + this.uid); this.eventBody = false; this._cleanKeyupEvent(); _Popover.prototype.dispose.call(this); }; _proto.hide = function hide(callback) { this._cleanKeyupEvent(); _Popover.prototype.hide.call(this, callback); } // Private /** * Copy the value of `copyAttributes` on the config object * @private */ ; _proto._copyAttributes = function _copyAttributes() { var _this2 = this; this.config._attributes = {}; if (this.config.copyAttributes) { if (typeof this.config.copyAttributes === 'string') { this.config.copyAttributes = this.config.copyAttributes.split(' '); } } else { this.config.copyAttributes = []; } this.config.copyAttributes.forEach(function (attr) { _this2.config._attributes[attr] = $(_this2.element).attr(attr); }); } /** * Custom event listeners for popouts and singletons * @private */ ; _proto._setConfirmationListeners = function _setConfirmationListeners() { var self = this; if (!this.config.selector) { // cancel original event $(this.element).on(this.config.trigger, function (e, ack) { if (!ack) { e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); } }); // manage singleton $(this.element).on(Event.SHOWN, function () { if (self.config.singleton) { // close all other popover already initialized $(self.config._selector).not($(this)).filter(function () { return $(this).data(DATA_KEY) !== undefined; }).confirmation('hide'); } }); } else { // cancel original event $(this.element).on(this.config.trigger, this.config.selector, function (e, ack) { if (!ack) { e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); } }); } if (!this._isDelegate) { // manage popout this.eventBody = false; this.uid = this.element.id || Confirmation.getUID(NAME + "_group"); $(this.element).on(Event.SHOWN, function () { if (self.config.popout && !self.eventBody) { self.eventBody = $('body').on(Event.CLICK + "." + self.uid, function (e) { if ($(self.config._selector).is(e.target) || $(self.config._selector).has(e.target).length > 0) { return; } // close all popover already initialized $(self.config._selector).filter(function () { return $(this).data(DATA_KEY) !== undefined; }).confirmation('hide'); $('body').off(Event.CLICK + "." + self.uid); self.eventBody = false; }); } }); } } /** * Init the standard ok/cancel buttons * @param $tip * @private */ ; _proto._setStandardButtons = function _setStandardButtons($tip) { var buttons = [{ class: this.config.btnOkClass, label: this.config.btnOkLabel, iconClass: this.config.btnOkIconClass, iconContent: this.config.btnOkIconContent, attr: this.config._attributes }, { class: this.config.btnCancelClass, label: this.config.btnCancelLabel, iconClass: this.config.btnCancelIconClass, iconContent: this.config.btnCancelIconContent, cancel: true }]; this._setButtons($tip, buttons); } /** * Init the buttons * @param $tip * @param buttons * @private */ ; _proto._setButtons = function _setButtons($tip, buttons) { var self = this; var $group = $tip.find(Selector.BUTTONS).empty(); buttons.forEach(function (button) { var btn = $('<a href="#"></a>').addClass(BTN_CLASS_BASE).addClass(button.class || BTN_CLASS_DEFAULT + " btn-secondary").html(button.label || '').attr(button.attr || {}); if (button.iconClass || button.iconContent) { btn.prepend($('<i></i>').addClass(button.iconClass || '').text(button.iconContent || '')); } btn.one('click', function (e) { if ($(this).attr('href') === '#') { e.preventDefault(); } if (button.onClick) { button.onClick.call($(self.element)); } if (button.cancel) { self.config.onCancel.call(self.element, button.value); $(self.element).trigger(Event.CANCELED, [button.value]); } else { self.config.onConfirm.call(self.element, button.value); $(self.element).trigger(Event.CONFIRMED, [button.value]); $(self.element).trigger(self.config.confirmationEvent, [true]); } self.hide(); }); $group.append(btn); }); } /** * Install the keyboatd event handler * @private */ ; _proto._setupKeyupEvent = function _setupKeyupEvent() { activeConfirmation = this; $(window).off(Event.KEYUP).on(Event.KEYUP, this._onKeyup.bind(this)); } /** * Remove the keyboard event handler * @private */ ; _proto._cleanKeyupEvent = function _cleanKeyupEvent() { if (activeConfirmation === this) { activeConfirmation = undefined; $(window).off(Event.KEYUP); } } /** * Event handler for keyboard navigation * @param event * @private */ ; _proto._onKeyup = function _onKeyup(event) { if (!this.tip) { this._cleanKeyupEvent(); return; } var $tip = $(this.getTipElement()); var key = event.key || Keymap[event.keyCode || event.which]; var $group = $tip.find(Selector.BUTTONS); var $active = $group.find('.active'); var $next; switch (key) { case 'Escape': this.hide(); break; case 'ArrowRight': if ($active.length && $active.next().length) { $next = $active.next(); } else { $next = $group.children().first(); } $active.removeClass('active'); $next.addClass('active').focus(); break; case 'ArrowLeft': if ($active.length && $active.prev().length) { $next = $active.prev(); } else { $next = $group.children().last(); } $active.removeClass('active'); $next.addClass('active').focus(); break; default: break; } } // Static /** * Generates an uui, copied from Bootrap's utils * @param {string} prefix * @returns {string} */ ; Confirmation.getUID = function getUID(prefix) { var uid = prefix; do { // eslint-disable-next-line no-bitwise uid += ~~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here } while (document.getElementById(uid)); return uid; }; Confirmation._jQueryInterface = function _jQueryInterface(config) { return this.each(function () { var data = $(this).data(DATA_KEY); var _config = typeof config === 'object' ? config : {}; _config.rootSelector = $(this).selector || _config.rootSelector; // this.selector removed in jQuery > 3 if (!data && /destroy|hide/.test(config)) { return; } if (!data) { data = new Confirmation(this, _config); $(this).data(DATA_KEY, data); } if (typeof config === 'string') { if (typeof data[config] === 'undefined') { throw new TypeError("No method named \"" + config + "\""); } data[config](); } }); }; return Confirmation; }(Popover); /** * ------------------------------------------------------------------------ * jQuery * ------------------------------------------------------------------------ */ $.fn[NAME] = Confirmation._jQueryInterface; $.fn[NAME].Constructor = Confirmation; $.fn[NAME].noConflict = function () { $.fn[NAME] = JQUERY_NO_CONFLICT; return Confirmation._jQueryInterface; }; })); //# sourceMappingURL=bootstrap-confirmation.js.map
const env = process.env.NODE_ENV || 'local' const pkg = require('./package') const fs = require('fs') if (env === 'local') { require('dotenv').config() } const config = { env, appName: 'kiwicomsummercamp-api', version: pkg.version, server: { port: process.env.PORT || 3000, maxMemory: 512, killTimeout: 3000, bodyParser: { multipart: true, }, cors: { origin: '*', exposeHeaders: [ 'Authorization', 'Content-Language', 'Content-Length', 'Content-Type', 'Date', 'ETag', ], maxAge: 3600, }, }, } module.exports = config
from pytorch_metric_learning import miners from allennlp.common import Registrable class PyTorchMetricLearningMiner(Registrable): """This class just allows us to implement `Registrable` for PyTorch Metric Learning miner functions. Subclasses of this class should also subclass a miner function from PyTorch Metric Learning (see: https://kevinmusgrave.github.io/pytorch-metric-learning/miners/), and accept as arguments to the constructor the same arguments that the miner function does. See `MaximumLossMiner` below for an example. """ default_implementation = "pair_margin" @PyTorchMetricLearningMiner.register("pair_margin") class PairMarginMiner(PyTorchMetricLearningMiner, miners.PairMarginMiner): """Wraps the `PairMarginMiner` implementation from Pytorch Metric Learning: (https://kevinmusgrave.github.io/pytorch-metric-learning/miners/#pairmarginminer). Registered as a `PyTorchMetricLearningMiner` with name "pair_margin". """ def __init__( self, pos_margin: float, neg_margin: float, use_similarity: bool = True, squared_distances: bool = False, ) -> None: super().__init__( pos_margin=pos_margin, neg_margin=neg_margin, use_similarity=use_similarity, squared_distances=squared_distances, )
const { StatusCodes } = require('http-status-codes'); class ResetController { constructor(sampleDataService) { this.sampleDataService = sampleDataService; } async invoke(req, res) { await this.sampleDataService.generate(); return res.sendStatus(StatusCodes.NO_CONTENT); } } module.exports = ResetController;
export function __cargo_web_snippet_1392c8a2ab532b5064b3d45160a9b94ddd8524a2(Module, $0, $1, $2, $3, $4, $5) { $1 = Module.STDWEB_PRIVATE.to_js($1);$2 = Module.STDWEB_PRIVATE.to_js($2);$3 = Module.STDWEB_PRIVATE.to_js($3);$4 = Module.STDWEB_PRIVATE.to_js($4);$5 = Module.STDWEB_PRIVATE.to_js($5);Module.STDWEB_PRIVATE.from_js($0, (function(){return($1).createLinearGradient(($2),($3),($4),($5));})()); }
#coding:utf-8 # # id: bugs.core_1945 # title: Custom attribute for collation to sort numbers in numeric order # decription: # tracker_id: CORE-1945 # min_versions: ['3.0'] # versions: 3.0 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Action # version: 3.0 # resources: None substitutions_1 = [] init_script_1 = """""" db_1 = db_factory(page_size=4096, charset='UTF8', sql_dialect=3, init=init_script_1) test_script_1 = """ -- Result were checked on LI-T3.0.0.31827 (64x) and WI-T3.0.0.31836 (32x). -- ::: NOTE ::: FB 2.5 (at least build 2.5.5.26870 what has been checked) -- produces WRONG output for such rows when using collation CI_AI: -- d111 -- ð1 -- Ð11 -- Ð1111 -- o7 -- Õ7777 -- Ø77 -- ø777 -- (it seems that trouble somehow related to letters with diagonal strokes as diacritical addition: Ð and Ø) -- Proper order: -- ð1 -- Ð11 -- d111 -- Ð1111 -- o7 -- Ø77 -- ø777 -- Õ7777 recreate table test(s varchar(50)); commit; set term ^; execute block as begin begin execute statement 'drop collation ns_coll'; when any do begin end end begin execute statement 'drop collation ns_coll_ci'; when any do begin end end begin execute statement 'drop collation ns_coll_ci_ai'; when any do begin end end end ^ set term ;^ commit; create collation ns_coll for utf8 from unicode 'NUMERIC-SORT=1'; create collation ns_coll_ci for utf8 from unicode case insensitive 'NUMERIC-SORT=1'; create collation ns_coll_ci_ai for utf8 from unicode case insensitive accent insensitive 'NUMERIC-SORT=1'; commit; recreate table test( s_norm varchar(50) character set utf8 collate ns_coll ,s_ci varchar(50) character set utf8 collate ns_coll_ci ,s_ciai varchar(50) character set utf8 collate ns_coll_ci_ai ); commit; insert into test(s_norm, s_ci, s_ciai) values('n8888', 'ñ8888', 'Ñ8888'); insert into test(s_norm, s_ci, s_ciai) values('n8', 'ñ8', 'ñ8'); insert into test(s_norm, s_ci, s_ciai) values('N88', 'Ñ88', 'Ň88'); insert into test(s_norm, s_ci, s_ciai) values( 'O77', 'õ77', 'Ø77'); insert into test(s_norm, s_ci, s_ciai) values( 'o7777', 'Õ7777', 'Õ7777'); insert into test(s_norm, s_ci, s_ciai) values( 'O7', 'Õ7', 'o7'); insert into test(s_norm, s_ci, s_ciai) values( 'o777', 'õ777', 'ø777'); insert into test(s_norm, s_ci, s_ciai) values('d1', 'd1', 'ð1'); insert into test(s_norm, s_ci, s_ciai) values('D11', 'd11', 'Ð11'); insert into test(s_norm, s_ci, s_ciai) values('D1111', 'D1111', 'Ð1111'); insert into test(s_norm, s_ci, s_ciai) values('d111', 'd111', 'd111'); insert into test(s_norm, s_ci, s_ciai ) values('a9999', 'ä9999', 'Ą9999' ); insert into test(s_norm, s_ci, s_ciai ) values('a9', 'Ä9', 'Á9' ); insert into test(s_norm, s_ci, s_ciai ) values('A99', 'ä99', 'à99' ); insert into test(s_norm, s_ci, s_ciai ) values('a999', 'ä999', 'â999' ); insert into test(s_norm, s_ci, s_ciai ) values('L444', 'Ł444', 'L444'); insert into test(s_norm, s_ci, s_ciai ) values('l44444', 'ł44444', 'ł44444'); insert into test(s_norm, s_ci, s_ciai ) values('c2', 'Ç2', 'ç2'); insert into test(s_norm, s_ci, s_ciai ) values('C222', 'ç222', 'Ç222'); insert into test(s_norm, s_ci, s_ciai ) values('c22', 'Ç22', 'C22'); insert into test(s_norm, s_ci, s_ciai ) values('S55', 'Š55', 'Š55' ); insert into test(s_norm, s_ci, s_ciai ) values('s555', 'š555', 'ş555'); insert into test(s_norm, s_ci, s_ciai ) values('s5', 'Š5', 'š5'); set list on; select s_norm from test order by s_norm; select s_ci from test order by s_ci; select s_ciai from test order by s_ciai; """ act_1 = isql_act('db_1', test_script_1, substitutions=substitutions_1) expected_stdout_1 = """ S_NORM a9 S_NORM A99 S_NORM a999 S_NORM a9999 S_NORM c2 S_NORM c22 S_NORM C222 S_NORM d1 S_NORM D11 S_NORM d111 S_NORM D1111 S_NORM L444 S_NORM l44444 S_NORM n8 S_NORM N88 S_NORM n8888 S_NORM O7 S_NORM O77 S_NORM o777 S_NORM o7777 S_NORM s5 S_NORM S55 S_NORM s555 S_CI Ä9 S_CI ä99 S_CI ä999 S_CI ä9999 S_CI Ç2 S_CI Ç22 S_CI ç222 S_CI d1 S_CI d11 S_CI d111 S_CI D1111 S_CI Ł444 S_CI ł44444 S_CI ñ8 S_CI Ñ88 S_CI ñ8888 S_CI Õ7 S_CI õ77 S_CI õ777 S_CI Õ7777 S_CI Š5 S_CI Š55 S_CI š555 S_CIAI Á9 S_CIAI à99 S_CIAI â999 S_CIAI Ą9999 S_CIAI ç2 S_CIAI C22 S_CIAI Ç222 S_CIAI ð1 S_CIAI Ð11 S_CIAI d111 S_CIAI Ð1111 S_CIAI L444 S_CIAI ł44444 S_CIAI ñ8 S_CIAI Ň88 S_CIAI Ñ8888 S_CIAI o7 S_CIAI Ø77 S_CIAI ø777 S_CIAI Õ7777 S_CIAI š5 S_CIAI Š55 S_CIAI ş555 """ @pytest.mark.version('>=3.0') def test_1(act_1: Action): act_1.expected_stdout = expected_stdout_1 act_1.execute() assert act_1.clean_expected_stdout == act_1.clean_stdout
/** * * @title 附加操作 * @description `extraContent`参数可以在页签右边自定义附加操作。 * */ import React, { Component } from 'react'; import Button from 'bee-button'; import Tabs from '../../src'; const {TabPane} = Tabs; class Demo6 extends Component { add = () => { alert("在这里添加操作 ^_^") } render() { return ( <div className="Demo6"> <Tabs className="Demo6-tabs" defaultActiveKey="1" tabBarStyle="upborder" extraContent={ <Button className="add-button" size="sm" colors="primary" onClick={this.add}>一些操作</Button> } > <TabPane tab='Tab 1' key="1">Content of Tab Pane 1</TabPane> <TabPane tab='Tab 2' key="2">Content of Tab Pane 2</TabPane> <TabPane tab='Tab 3' key="3">Content of Tab Pane 3</TabPane> </Tabs> </div> ) } } export default Demo6;
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import {getReport, getSegmentNameById, PAGE_SIZE} from './api.js'; import {WebVitalsError} from './WebVitalsError.js'; export async function getWebVitalsData(state, opts) { const reportRequest = buildReportRequest(state, opts); const {rows, meta} = await getReport(reportRequest); const metricNameMap = { [opts.lcpName]: 'LCP', [opts.fidName]: 'FID', [opts.clsName]: 'CLS', }; if (rows.length === 0) { throw new WebVitalsError('no_web_vitals_events'); } const getSegmentsObj = (getDefaultValue = () => []) => { const segmentIdA = reportRequest.segments[0].segmentId.slice(6); const segmentIdB = reportRequest.segments[1].segmentId.slice(6); return { [getSegmentNameById(segmentIdA)]: getDefaultValue(), [getSegmentNameById(segmentIdB)]: getDefaultValue(), }; }; const getMetricsObj = (getDefaultValue = getSegmentsObj) => { return { LCP: getDefaultValue(), FID: getDefaultValue(), CLS: getDefaultValue(), }; }; const incrementCount = (obj) => { if (!Object.prototype.hasOwnProperty.call(obj, 'count')) { Object.defineProperty(obj, 'count', {writable: true, value: 0}); } obj.count++; }; const data = { metrics: getMetricsObj(() => { return {values: [], segments: getSegmentsObj(), dates: {}}; }), countries: {}, pages: {}, }; for (const row of rows) { let value = Number(row.metrics[0].values[0]); let [segmentId, date, metric, country, page] = row.dimensions; const debugId = opts.active && opts.debugDim ? row.dimensions[row.dimensions.length - 1] : null; const segment = getSegmentNameById(segmentId); // Convert the metric from any custom name to the standard name. metric = metricNameMap[metric]; // CLS is sent to Google Analytics at 1000x for greater precision. if (metric === 'CLS') { value = value / 1000; } // Even though the report limits `metric` values to LCP, FID, and CLS, // for reports with more than a million rows of data, Google Analytics // will aggregate everything after the first million rows into and "(other)" // bucket, which skews the data and makes the report useless. // The only solution to this is to make more granular requests (e.g. // reduce the date range or add filters) and manually combine the data // yourself. if (metric !== 'LCP' && metric !== 'FID' && metric !== 'CLS') { throw new WebVitalsError('unexpected_metric', metric); } const metricData = data.metrics[metric]; metricData.values.push(value); // Breakdown by segment. metricData.segments[segment] = metricData.segments[segment] || []; metricData.segments[segment].push(value); // Breakdown by date. metricData.dates[date] = metricData.dates[date] || getSegmentsObj(); metricData.dates[date][segment].push(value); // Breakdown by country. data.countries[country] = data.countries[country] || getMetricsObj(); data.countries[country][metric][segment].push(value); incrementCount(data.countries[country]); // Breakdown by page. data.pages[page] = data.pages[page] || getMetricsObj(); const pageSeg = data.pages[page][metric][segment]; pageSeg.push(value); incrementCount(data.pages[page]); // Debug info by page. if (debugId) { pageSeg.debug = pageSeg.debug || {}; pageSeg.debug[debugId] = pageSeg.debug[debugId] || []; pageSeg.debug[debugId].push(value); incrementCount(pageSeg.debug[debugId]); } } // Sort data function sortObjByCount(obj) { const newObj = {}; const sortedKeys = Object.keys(obj).sort((a, b) => obj[b].count - obj[a].count); for (const key of sortedKeys) { newObj[key] = obj[key]; } return newObj; } // Sort data by count. data.countries = sortObjByCount(data.countries); data.pages = sortObjByCount(data.pages); return {data, rows, meta}; } function parseFilters(filtersExpression) { if (filtersExpression.match(/[^\\],/)) { throw new WebVitalsError('unsupported_filter_expression'); } // TODO: add support for escaping semicolons. return filtersExpression.split(';').map((expression) => { const match = /(ga:\w+)([!=][=@~])(.+)$/.exec(expression); if (!match) { throw new WebVitalsError('invalid_filter_expression', expression); } const filter = { dimensionName: match[1], expressions: [match[3]], }; if (match[2].startsWith('!')) { filter.not = true; } if (match[2].endsWith('=')) { filter.operator = 'EXACT'; } else if (match[2].endsWith('@')) { filter.operator = 'PARTIAL'; } else if (match[3].endsWith('~')) { filter.operator = 'REGEXP'; } return filter; }); } function buildReportRequest(state, opts) { const {viewId, startDate, endDate, segmentA, segmentB} = state; const dimensions = [ {name: 'ga:segment'}, {name: 'ga:date'}, {name: opts.metricNameDim}, // Metric name (ga:eventAction) {name: 'ga:country'}, {name: 'ga:pagePath'}, {name: opts.metricIdDim}, // Unique metric ID (ga:eventLabel) ]; if (opts.active && opts.debugDim) { dimensions.push({name: opts.debugDim}); } let filters = [ { dimensionName: opts.metricNameDim, operator: 'IN_LIST', expressions: [opts.lcpName, opts.fidName, opts.clsName], }, ]; if (opts.active && opts.filters) { filters = filters.concat(parseFilters(opts.filters)); } return { viewId, pageSize: PAGE_SIZE, // samplingLevel: 'SMALL', includeEmptyRows: true, dateRanges: [{startDate, endDate}], segments: [ {segmentId: `gaid::${segmentA}`}, {segmentId: `gaid::${segmentB}`}, ], metrics: [{expression: 'ga:eventValue'}], dimensions, dimensionFilterClauses: { operator: 'AND', filters, }, orderBys: [ { fieldName: 'ga:eventValue', sortOrder: 'ASCENDING', }, { fieldName: 'ga:date', sortOrder: 'ASCENDING', }, ], }; }
Ext.define("MyApp.view.Gantt", { extend : 'Gnt.panel.Gantt', alias : 'widget.gantt', zoomLevels: [ {width: 40, increment: 1, resolution: 1, preset: "manyYears", resolutionUnit: "YEAR"}, {width: 80, increment: 1, resolution: 1, preset: "manyYears", resolutionUnit: "YEAR"}, {width: 30, increment: 1, resolution: 1, preset: "year", resolutionUnit: "MONTH"}, {width: 50, increment: 1, resolution: 1, preset: "year", resolutionUnit: "MONTH"}, {width: 100, increment: 1, resolution: 1, preset: "year", resolutionUnit: "MONTH"}, {width: 200, increment: 1, resolution: 1, preset: "year", resolutionUnit: "MONTH"}, {width: 100, increment: 1, resolution: 7, preset: "monthAndYear", resolutionUnit: "DAY"}, {width: 30, increment: 1, resolution: 1, preset: "weekDateAndMonth", resolutionUnit: "DAY"}, {width: 35, increment: 1, resolution: 1, preset: "weekAndMonth", resolutionUnit: "DAY"}, {width: 50, increment: 1, resolution: 1, preset: "weekAndMonth", resolutionUnit: "DAY"}, {width: 20, increment: 1, resolution: 1, preset: "weekAndDayLetter"}, {width: 50, increment: 1, resolution: 1, preset: "weekAndDay", resolutionUnit: "HOUR"}, {width: 100, increment: 1, resolution: 1, preset: "weekAndDay", resolutionUnit: "HOUR"}, {width: 50, increment: 6, resolution: 30, preset: "hourAndDay", resolutionUnit: "MINUTE"}, {width: 100, increment: 6, resolution: 30, preset: "hourAndDay", resolutionUnit: "MINUTE"}, {width: 60, increment: 2, resolution: 30, preset: "hourAndDay", resolutionUnit: "MINUTE"}, {width: 60, increment: 1, resolution: 30, preset: "hourAndDay", resolutionUnit: "MINUTE"}, {width: 30, increment: 15, resolution: 5, preset: "minuteAndHour"}, {width: 60, increment: 15, resolution: 5, preset: "minuteAndHour"}, {width: 130, increment: 15, resolution: 5, preset: "minuteAndHour"}, {width: 60, increment: 5, resolution: 5, preset: "minuteAndHour"}, {width: 100, increment: 5, resolution: 5, preset: "minuteAndHour"}, {width: 50, increment: 2, resolution: 1, preset: "minuteAndHour"}, {width: 30, increment: 10, resolution: 5, preset: "secondAndMinute"}, {width: 60, increment: 10, resolution: 5, preset: "secondAndMinute"}, {width: 130, increment: 5, resolution: 5, preset: "secondAndMinute"}, {width: 50, increment: 1, resolution: 1, preset: "secondAndMinute"}, {width: 100, increment: 100,resolution: 1, preset: "msAndsecond"} ], // Ext JS configs requires : [ 'MyApp.store.TaskStore', 'MyApp.view.GanttToolbar', 'MyApp.plugin.TaskContextMenu', 'MyApp.widget.DependencyGrid', 'MyApp.field.Dependency', 'MyApp.field.Assignment', 'MyApp.column.ResourceAssignment', 'MyApp.widget.DependencyGrid', 'MyApp.widget.taskeditor.TaskForm', 'MyApp.plugin.TaskEditor', 'Major.column.Assigned' ], flex : 1, //title : '甘特图', lockedGridConfig : { width : 300,title:"任务列表1" }, schedulerConfig:{title: '甘特图'}, loadMask : true, //dragDropConfig:{useTooltip:false}, // Gantt configs leftLabelField : 'Name', highlightWeekends : true, viewPreset : 'weekAndDay', columnLines : true, cascadeChanges : true, //自定义样式展示 eventRenderer: function (taskRecord) { return { ctcls : "",//整行上添加class cls:"",//在task bar 添加样式 progressBarStyle:""//在progress bar 上添加style }; }, initComponent : function() { var me = this; Ext.apply(this, { tipCfg : { cls : 'tasktip' }, // Define an HTML template for the tooltip /*tooltipTpl : new Ext.XTemplate( '<table>', '<tr><th class="caption" colspan="2">#{Id} {Name}</th></tr>', '<tr>', '<th>Start:</th><td>{[values._record.getDisplayStartDate("y-m-d")]}</td>', '</tr>', '<tr>', '<th>End:</th><td>{[values._record.getDisplayEndDate("y-m-d")]}</td>', '</tr>', '<tr>', '<th>Progress:</th><td>{[Math.round(values.PercentDone)]}%</td>', '</tr>', '</table>' ),*/ // tooltipTpl: new Ext.XTemplate( // '<h4 class="tipHeader">{Name}</h4>', // '<table class="taskTip">', // '<tr><td>开始:</td> <td align="right">{[Ext.Date.format(values.StartDate, "y-m-d g:i:s")]}</td></tr>', // '<tr><td>结束:</td> <td align="right">{[Ext.Date.format(Ext.Date.add(values.EndDate, Ext.Date.MILLI, -1), "y-m-d g:i:s")]}</td></tr>', // '<tr><td>进度:</td><td align="right">{PercentDone}%</td></tr>', // '</table>' // ).compile(), // tbar : { // xtype : 'gantttoolbar', // gantt : this // }, viewConfig : { getRowClass : function(record) { // Output a custom CSS class with some task property that we can use for styling return 'TASKID_' + record.data.Id; } }, // Setup your static columns columns : [ // new Gnt.column.WBS(), /*{ header:"ID", dataIndex:"Id", width:50 },*/ { xtype:"assignedcolumn", width:50 }, { header : '任务名称', xtype : 'namecolumn', tdCls : 'namecell', width : 230 } // , // { // width : 150, // tdCls : 'resourcecell', // xtype : 'myappresourceassignmentcolumn' // }, // { // xtype : 'startdatecolumn' // }, // { // xtype : 'durationcolumn' // }, // { // xtype: 'percentdonecolumn' // }, // { // xtype : 'predecessorcolumn', // editor : new MyApp.field.Dependency({}) // }, // { // width: 80, // dataIndex:"Person", // header: '负责人', // renderer:function(value,metaData,record ){ // var user = me.userStore.getById(value); // if(user){ // return user.get("Name"); // } // } // // }, // { // hearder:"颜色", // dataIndex: 'color' // }, // { // xtype : 'addnewcolumn' // } ], plugins : [ new MyApp.plugin.TaskEditor({userStore:this.userStore}), new Sch.plugin.TreeCellEditing({}), new MyApp.plugin.TaskContextMenu({ }) ], eventRenderer : function (task) { if (task.get('Color')) { var style = Ext.String.format('background-color: #{0};border-color:#{0}', task.get('Color')); return { style : style }; } } }); this.callParent(arguments); } });
import { Component, h, Prop } from '@stencil/core'; import { format } from '../../utils/utils'; export class MyComponent { getText() { return format(this.first, this.middle, this.last); } render() { return h("div", null, "Hello, World! I'm ", this.getText()); } static get is() { return "my-component"; } static get encapsulation() { return "shadow"; } static get originalStyleUrls() { return { "$": ["my-component.css"] }; } static get styleUrls() { return { "$": ["my-component.css"] }; } static get properties() { return { "first": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "first", "reflect": false }, "middle": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "middle", "reflect": false }, "last": { "type": "string", "mutable": false, "complexType": { "original": "string", "resolved": "string", "references": {} }, "required": false, "optional": false, "docs": { "tags": [], "text": "" }, "attribute": "last", "reflect": false } }; } }
#!/usr/bin/env python # -- coding: utf-8 -- """ Copyright (c) 2021. All rights reserved. Created by C. L. Wang on 15.9.21 """ from multiprocessing.pool import Pool import torch from PIL import Image import timm from myutils.cv_utils import * from myutils.project_utils import * from root_dir import DATA_DIR from timm.data import resolve_data_config from timm.data.transforms_factory import create_transform class ModelEvaluator(object): def __init__(self): # 文本行分类 # self.model_path = os.path.join(DATA_DIR, "models", "model_best_tlc_c5_20210920.pth.tar") # self.label_str_list = ["其他", "印刷公式", "印刷文本", "手写公式", "手写文本"] # self.file_path = os.path.join(DATA_DIR, "files", "common_full_out_v1_200w.txt") # self.out_file_path = os.path.join(DATA_DIR, "files", "out_predict.{}.txt".format(get_current_time_str())) # 文本行分类 self.model_path = os.path.join(DATA_DIR, "models", "model_best_c2_20210922.pth.tar") self.label_str_list = ["文档", "非文档"] self.file_path = os.path.join(DATA_DIR, "files", "out_labeled_urls.txt") self.out_file_path = os.path.join(DATA_DIR, "files", "out_predict.{}.txt".format(get_current_time_str())) self.num_clz = 2 self.model, self.transform = self.load_model(self.model_path, self.num_clz) @staticmethod def load_model(model_path, num_clz): model = timm.create_model('resnet50', pretrained=True, checkpoint_path=model_path, num_classes=num_clz) if torch.cuda.is_available(): print('[Info] cuda on!!!') model = model.cuda() model.eval() config = resolve_data_config({}, model=model) transform = create_transform(**config) return model, transform @staticmethod def preprocess_img(img_rgb, transform): img_pil = Image.fromarray(img_rgb.astype('uint8')).convert('RGB') img_tensor = transform(img_pil).unsqueeze(0) # transform and add batch dimension if torch.cuda.is_available(): img_tensor = img_tensor.cuda() return img_tensor def predict_img(self, img_rgb): img_tensor = self.preprocess_img(img_rgb, self.transform) with torch.no_grad(): out = self.model(img_tensor) probabilities = torch.nn.functional.softmax(out[0], dim=0) # print("[Info] 输出尺寸: {}".format(probabilities.shape)) top5_prob, top5_catid = torch.topk(probabilities, 2) label_list = list(top5_catid.cpu().numpy()) # print(label_list) # for i in range(top5_prob.size(0)): # print("[Info] 类别: {}, 概率: {}".format(self.label_str_list[top5_catid[i]], top5_prob[i].item())) return label_list @staticmethod def process_line(img_idx, img_url, label, out_file_path, me): print('[Info] 处理开始: {}'.format(img_url)) if label == 0: label = 0 else: label = 1 _, img_bgr = download_url_img(img_url) img_rgb = cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB) label_list = me.predict_img(img_rgb) label_list = [str(i) for i in label_list] out_line = "{}\t{}".format(label, ",".join(label_list)) write_line(out_file_path, out_line) print('[Info] 处理完成: {}'.format(img_idx)) def evaluate_dataset(self): data_lines = read_file(self.file_path) print('[Info] 处理文件: {}'.format(self.file_path)) random.seed(47) random.shuffle(data_lines) data_lines = data_lines[:1000] print('[Info] 样本数: {}'.format(len(data_lines))) pool = Pool(processes=1) me = ModelEvaluator() for img_idx, data_line in enumerate(data_lines): img_url, label = data_line.split("\t") ModelEvaluator.process_line(img_idx, img_url, label, self.out_file_path, me) # pool.apply_async(ModelEvaluator.process_line, (img_idx, img_url, label, self.out_file_path, me)) pool.close() pool.join() print('[Info] 写入完成: {}'.format(self.out_file_path)) data_lines = read_file(self.out_file_path) l_dict = collections.defaultdict(int) top1, top2, top3 = collections.defaultdict(int), collections.defaultdict(int), collections.defaultdict(int) for data_line in data_lines: l, l_list = data_line.split("\t") l_list = l_list.split(",") l_dict[l] += 1 if l == l_list[0]: top1[l] += 1 if l in l_list[:2]: top2[l] += 1 if l in l_list[:3]: top3[l] += 1 print("[Info] l_dict: {}".format(l_dict)) for l in l_dict.keys(): print("[Info]" + "-" * 100) print("[Info]\t {}".format(self.label_str_list[int(l)])) total_n = l_dict[l] top1_n = top1[l] top2_n = top2[l] top3_n = top3[l] acc_top1 = round(safe_div(top1_n, total_n) * 100, 4) acc_top2 = round(safe_div(top2_n, total_n) * 100, 4) acc_top3 = round(safe_div(top3_n, total_n) * 100, 4) print("[Info]\t top1: {}%, {}/{}".format(acc_top1, top1_n, total_n)) print("[Info]\t top2: {}%, {}/{}".format(acc_top2, top2_n, total_n)) print("[Info]\t top3: {}%, {}/{}".format(acc_top3, top3_n, total_n)) def main(): # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "000", "train_040000_000.jpg") # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "001", "train_060000_001.jpg") # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "002", "train_020000_002.jpg") # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "003", "train_100000_003.jpg") # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "004", "train_000000_004.jpg") # img_path = os.path.join(DATA_DIR, "document_dataset_mini", "train", "005", "train_080000_005.jpg") # img_bgr = cv2.imread(img_path) # img_rgb = cv2.cvtColor(img_bgr, cv2.COLOR_BGR2RGB) me = ModelEvaluator() # me.predict_img(img_rgb) me.evaluate_dataset() if __name__ == '__main__': main()
const _ = require('lodash') // const blockTracker = require('../blockTracker') class TransactionTracker { constructor() { this.trackedTransactions = [] } async trackTransaction({ transaction }) { if (!_.find(this.trackedTransactions, { transactionHash: transaction.hash })) { this.trackedTransactions.push({ transactionHash: transaction.hash, transaction, mining: true, mined: false, }) } } } module.exports = new TransactionTracker()
function spelling(str) { const arr = []; for (let i = 0; i < str.length; i++) { arr.push(str.substr(0, i)) } return arr; } module.exports = spelling;
/* @flow */ import React, { useState, useEffect } from "react"; import { StyleSheet, View } from "react-native"; import { useNavigation } from "@react-navigation/native"; import { Camera } from "expo-camera"; import { BarCodeScanner } from "expo-barcode-scanner"; import StyledStatusBar from "./StyledStatusBar"; import CameraScreen from "./CameraScreen"; import FallBackCamera from "../screens/ImportAccounts/FallBackCamera"; import getWindowDimensions from "../logic/getWindowDimensions"; type Props = { onResult: Function, liveQrCode?: boolean, progress?: number, }; const Scanner = ({ onResult, liveQrCode, progress }: Props) => { const [hasPermission, setHasPermission] = useState(null); const { width, height } = getWindowDimensions(); const navigation = useNavigation(); useEffect(() => { (async () => { const { status } = await Camera.requestPermissionsAsync(); setHasPermission(status === "granted"); })(); }, []); if (hasPermission === null) { return <View />; } if (hasPermission === false) { return <FallBackCamera navigation={navigation} />; } return ( <View style={styles.container}> <StyledStatusBar barStyle="light-content" /> <Camera style={styles.camera} type={Camera.Constants.Type.back} ratio="16:9" onBarCodeScanned={({ data }) => onResult(data)} barCodeScannerSettings={{ barCodeTypes: [BarCodeScanner.Constants.BarCodeType.qr], }} > <CameraScreen liveQrCode={liveQrCode} progress={progress} width={width} height={height} /> </Camera> </View> ); }; export default Scanner; const styles = StyleSheet.create({ container: { flex: 1, }, camera: { flex: 1, }, });
# MIT License # # Copyright (c) 2017- Delve Labs Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. from datetime import datetime from marshmallow import Schema as BaseSchema from marshmallow import post_dump, post_load from marshmallow_autoschema import schema_metafactory, sc_to_cc, One, Many, Raw class Schema(BaseSchema): @post_load(pass_original=True, pass_many=True) def load_extended(self, data, original_data, many, partial): if many: return [self.load_extended(single, original, False, partial) for single, original in zip(data, original_data)] else: if isinstance(original_data, dict): extended_arguments = {k: v for k, v in original_data.items() if k.startswith('_')} if isinstance(data, dict): data["extended_arguments"] = extended_arguments return self.__model__(**data) return self.__model__(**data) @post_dump def dump_extended(self, data, many): extended = data.pop("extendedArguments", {}) data.update(extended) return data HAR_SCHEMA_FACTORY = schema_metafactory( field_namer=sc_to_cc, schema_base_class=Schema, ) @HAR_SCHEMA_FACTORY class Model(): def __init__( self, *, extended_arguments: Raw=None, comment: str="") -> None: pass def __getattr__(self, name): if name.startswith('__'): raise AttributeError() return getattr(self.log, name) def __eq__(self, other): return (self.__class__ == other.__class__ and self.__dict__ == other.__dict__) def __repr__(self): return "%s(%s)" % (self.__class__.__name__, repr(self.__dict__)) @HAR_SCHEMA_FACTORY class Cookie(Model): def __init__( self, *, name: str, value: str, path: str=None, domain: str=None, expires: datetime=None, http_only: bool=False, secure: bool=False) -> None: pass @HAR_SCHEMA_FACTORY class CacheState(Model): def __init__( self, *, expires: datetime=None, last_access: datetime=None, e_tag: str=None, hit_count: int=0, **kwargs) -> None: pass @HAR_SCHEMA_FACTORY class Cache(Model): def __init__( self, *, before_request: One[CacheState]=None, after_request: One[CacheState]=None) -> None: pass @HAR_SCHEMA_FACTORY class Content(Model): def __init__( self, *, size: int=-1, mime_type: str=None, text: str="", encoding: str=None) -> None: pass @HAR_SCHEMA_FACTORY class Timings(Model): def __init__( self, *, blocked: int=-1, dns: int=-1, connect: int=-1, send: int=-1, wait: int=-1, receive: int=-1, ssl: int=-1) -> None: pass @HAR_SCHEMA_FACTORY class Header(Model): def __init__(self, *, name: str, value: str) -> None: pass @HAR_SCHEMA_FACTORY class PostParam(Model): def __init__( self, *, name: str, value: str, file_name: str=None, content_type: str=None) -> None: pass @HAR_SCHEMA_FACTORY class PostData(Model): def __init__( self, *, mime_type: str=None, params: Many[PostParam]=None, text: str="") -> None: pass @HAR_SCHEMA_FACTORY class Param(Model): def __init__(self, *, name: str, value: str) -> None: pass @HAR_SCHEMA_FACTORY class Request(Model): def __init__( # type: ignore self, *, method: str, url: str, http_version: str="HTTP/1.0", cookies: Many[Cookie]=None, headers: Many[Header]=None, query_string: Many[Param]=None, post_data: One[PostData]=None, header_size: int=-1, body_size: int=-1, **kwargs) -> None: self.post_data = post_data or PostData() @HAR_SCHEMA_FACTORY class Response(Model): irregular_names = {'redirect_url': 'redirectURL'} def __init__( self, *, status: int, status_text: str, http_version: str="HTTP/1.0", cookies: Many[Cookie]=None, headers: Many[Header]=None, content: One[Content]=None, redirect_url: str="", header_size: int=-1, body_size: int=-1) -> None: pass @HAR_SCHEMA_FACTORY class Creator(Model): def __init__(self, *, name: str, version: str) -> None: pass @HAR_SCHEMA_FACTORY class PageTimings(Model): def __init__( self, *, on_content_load: int=-1, on_load: int=-1) -> None: pass @HAR_SCHEMA_FACTORY class Page(Model): def __init__( self, *, id: str, title: str, started_date_time: datetime=None, page_timings: One[PageTimings]=None) -> None: pass @HAR_SCHEMA_FACTORY class Browser(Model): def __init__(self, *, name: str, version: str) -> None: pass @HAR_SCHEMA_FACTORY class Entry(Model): irregular_names = { 'server_ip_address': 'serverIPAddress', } def __init__( self, *, pageref: str=None, started_date_time: datetime=None, time: int=-1, request: One[Request]=None, response: One[Response]=None, cache: One[Cache]=None, timings: One[Timings]=None, server_ip_address: str=None, connection: str=None) -> None: pass @HAR_SCHEMA_FACTORY class Log(Model): def __init__( self, *, version: str="1.1", creator: One[Creator]=None, browser: One[Browser]=None, pages: Many[Page]=None, entries: Many[Entry]=None) -> None: pass @HAR_SCHEMA_FACTORY class HAR(Model): def __init__(self, *, log: One[Log]=None, **kwargs) -> None: self.log = log or Log(**kwargs)
/*! For license information please see 8065.js.LICENSE.txt */ (self.webpackChunk=self.webpackChunk||[]).push([[8065,2767,6716],{4405:(e,t,a)=>{"use strict";function n(e,t){var a=t.emit;return{updateValue:function(t){var n=t.target.value;"checkbox"===t.target.type&&(n=t.target.checked),"radio"===t.target.type&&(n=e.value),a("update:modelValue",n)}}}a.d(t,{Z:()=>n})},9300:(e,t,a)=>{"use strict";a.d(t,{Z:()=>s});var n=1;function s(){return{getID:function(){return++n}}}},2786:function(e,t,a){!function(e){"use strict";e.defineLocale("af",{months:"Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des".split("_"),weekdays:"Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag".split("_"),weekdaysShort:"Son_Maa_Din_Woe_Don_Vry_Sat".split("_"),weekdaysMin:"So_Ma_Di_Wo_Do_Vr_Sa".split("_"),meridiemParse:/vm|nm/i,isPM:function(e){return/^nm$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"vm":"VM":a?"nm":"NM"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Vandag om] LT",nextDay:"[Môre om] LT",nextWeek:"dddd [om] LT",lastDay:"[Gister om] LT",lastWeek:"[Laas] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oor %s",past:"%s gelede",s:"'n paar sekondes",ss:"%d sekondes",m:"'n minuut",mm:"%d minute",h:"'n uur",hh:"%d ure",d:"'n dag",dd:"%d dae",M:"'n maand",MM:"%d maande",y:"'n jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(381))},4130:function(e,t,a){!function(e){"use strict";var t=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},a={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},n=function(e){return function(n,s,r,i){var o=t(n),d=a[e][t(n)];return 2===o&&(d=d[s?0:1]),d.replace(/%d/i,n)}},s=["جانفي","فيفري","مارس","أفريل","ماي","جوان","جويلية","أوت","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-dz",{months:s,monthsShort:s,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:n("s"),ss:n("s"),m:n("m"),mm:n("m"),h:n("h"),hh:n("h"),d:n("d"),dd:n("d"),M:n("M"),MM:n("M"),y:n("y"),yy:n("y")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:0,doy:4}})}(a(381))},6135:function(e,t,a){!function(e){"use strict";e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}})}(a(381))},6440:function(e,t,a){!function(e){"use strict";var t={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},a=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},n={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},s=function(e){return function(t,s,r,i){var o=a(t),d=n[e][a(t)];return 2===o&&(d=d[s?0:1]),d.replace(/%d/i,t)}},r=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar-ly",{months:r,monthsShort:r,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:s("s"),ss:s("s"),m:s("m"),mm:s("m"),h:s("h"),hh:s("h"),d:s("d"),dd:s("d"),M:s("M"),MM:s("M"),y:s("y"),yy:s("y")},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(381))},7702:function(e,t,a){!function(e){"use strict";e.defineLocale("ar-ma",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(381))},6040:function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"};e.defineLocale("ar-sa",{months:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:0,doy:6}})}(a(381))},7100:function(e,t,a){!function(e){"use strict";e.defineLocale("ar-tn",{months:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),monthsShort:"جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر".split("_"),weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:1,doy:4}})}(a(381))},867:function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=function(e){return 0===e?0:1===e?1:2===e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},s={s:["أقل من ثانية","ثانية واحدة",["ثانيتان","ثانيتين"],"%d ثوان","%d ثانية","%d ثانية"],m:["أقل من دقيقة","دقيقة واحدة",["دقيقتان","دقيقتين"],"%d دقائق","%d دقيقة","%d دقيقة"],h:["أقل من ساعة","ساعة واحدة",["ساعتان","ساعتين"],"%d ساعات","%d ساعة","%d ساعة"],d:["أقل من يوم","يوم واحد",["يومان","يومين"],"%d أيام","%d يومًا","%d يوم"],M:["أقل من شهر","شهر واحد",["شهران","شهرين"],"%d أشهر","%d شهرا","%d شهر"],y:["أقل من عام","عام واحد",["عامان","عامين"],"%d أعوام","%d عامًا","%d عام"]},r=function(e){return function(t,a,r,i){var o=n(t),d=s[e][n(t)];return 2===o&&(d=d[a?0:1]),d.replace(/%d/i,t)}},i=["يناير","فبراير","مارس","أبريل","مايو","يونيو","يوليو","أغسطس","سبتمبر","أكتوبر","نوفمبر","ديسمبر"];e.defineLocale("ar",{months:i,monthsShort:i,weekdays:"الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/‏M/‏YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/ص|م/,isPM:function(e){return"م"===e},meridiem:function(e,t,a){return e<12?"ص":"م"},calendar:{sameDay:"[اليوم عند الساعة] LT",nextDay:"[غدًا عند الساعة] LT",nextWeek:"dddd [عند الساعة] LT",lastDay:"[أمس عند الساعة] LT",lastWeek:"dddd [عند الساعة] LT",sameElse:"L"},relativeTime:{future:"بعد %s",past:"منذ %s",s:r("s"),ss:r("s"),m:r("m"),mm:r("m"),h:r("h"),hh:r("h"),d:r("d"),dd:r("d"),M:r("M"),MM:r("M"),y:r("y"),yy:r("y")},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(381))},1083:function(e,t,a){!function(e){"use strict";var t={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"};e.defineLocale("az",{months:"yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr".split("_"),monthsShort:"yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek".split("_"),weekdays:"Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə".split("_"),weekdaysShort:"Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən".split("_"),weekdaysMin:"Bz_BE_ÇA_Çə_CA_Cü_Şə".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[sabah saat] LT",nextWeek:"[gələn həftə] dddd [saat] LT",lastDay:"[dünən] LT",lastWeek:"[keçən həftə] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s əvvəl",s:"bir neçə saniyə",ss:"%d saniyə",m:"bir dəqiqə",mm:"%d dəqiqə",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",M:"bir ay",MM:"%d ay",y:"bir il",yy:"%d il"},meridiemParse:/gecə|səhər|gündüz|axşam/,isPM:function(e){return/^(gündüz|axşam)$/.test(e)},meridiem:function(e,t,a){return e<4?"gecə":e<12?"səhər":e<17?"gündüz":"axşam"},dayOfMonthOrdinalParse:/\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,ordinal:function(e){if(0===e)return e+"-ıncı";var a=e%10,n=e%100-a,s=e>=100?100:null;return e+(t[a]||t[n]||t[s])},week:{dow:1,doy:7}})}(a(381))},9808:function(e,t,a){!function(e){"use strict";function t(e,t){var a=e.split("_");return t%10==1&&t%100!=11?a[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?a[1]:a[2]}function a(e,a,n){return"m"===n?a?"хвіліна":"хвіліну":"h"===n?a?"гадзіна":"гадзіну":e+" "+t({ss:a?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:a?"хвіліна_хвіліны_хвілін":"хвіліну_хвіліны_хвілін",hh:a?"гадзіна_гадзіны_гадзін":"гадзіну_гадзіны_гадзін",dd:"дзень_дні_дзён",MM:"месяц_месяцы_месяцаў",yy:"год_гады_гадоў"}[n],+e)}e.defineLocale("be",{months:{format:"студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня".split("_"),standalone:"студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань".split("_")},monthsShort:"студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж".split("_"),weekdays:{format:"нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу".split("_"),standalone:"нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота".split("_"),isFormat:/\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/},weekdaysShort:"нд_пн_ат_ср_чц_пт_сб".split("_"),weekdaysMin:"нд_пн_ат_ср_чц_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., HH:mm",LLLL:"dddd, D MMMM YYYY г., HH:mm"},calendar:{sameDay:"[Сёння ў] LT",nextDay:"[Заўтра ў] LT",lastDay:"[Учора ў] LT",nextWeek:function(){return"[У] dddd [ў] LT"},lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return"[У мінулую] dddd [ў] LT";case 1:case 2:case 4:return"[У мінулы] dddd [ў] LT"}},sameElse:"L"},relativeTime:{future:"праз %s",past:"%s таму",s:"некалькі секунд",m:a,mm:a,h:a,hh:a,d:"дзень",dd:a,M:"месяц",MM:a,y:"год",yy:a},meridiemParse:/ночы|раніцы|дня|вечара/,isPM:function(e){return/^(дня|вечара)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночы":e<12?"раніцы":e<17?"дня":"вечара"},dayOfMonthOrdinalParse:/\d{1,2}-(і|ы|га)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e%10!=2&&e%10!=3||e%100==12||e%100==13?e+"-ы":e+"-і";case"D":return e+"-га";default:return e}},week:{dow:1,doy:7}})}(a(381))},8338:function(e,t,a){!function(e){"use strict";e.defineLocale("bg",{months:"януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември".split("_"),monthsShort:"яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек".split("_"),weekdays:"неделя_понеделник_вторник_сряда_четвъртък_петък_събота".split("_"),weekdaysShort:"нед_пон_вто_сря_чет_пет_съб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Днес в] LT",nextDay:"[Утре в] LT",nextWeek:"dddd [в] LT",lastDay:"[Вчера в] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Миналата] dddd [в] LT";case 1:case 2:case 4:case 5:return"[Миналия] dddd [в] LT"}},sameElse:"L"},relativeTime:{future:"след %s",past:"преди %s",s:"няколко секунди",ss:"%d секунди",m:"минута",mm:"%d минути",h:"час",hh:"%d часа",d:"ден",dd:"%d дена",w:"седмица",ww:"%d седмици",M:"месец",MM:"%d месеца",y:"година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(381))},7438:function(e,t,a){!function(e){"use strict";e.defineLocale("bm",{months:"Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo".split("_"),monthsShort:"Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des".split("_"),weekdays:"Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri".split("_"),weekdaysShort:"Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib".split("_"),weekdaysMin:"Ka_Nt_Ta_Ar_Al_Ju_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"MMMM [tile] D [san] YYYY",LLL:"MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm",LLLL:"dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm"},calendar:{sameDay:"[Bi lɛrɛ] LT",nextDay:"[Sini lɛrɛ] LT",nextWeek:"dddd [don lɛrɛ] LT",lastDay:"[Kunu lɛrɛ] LT",lastWeek:"dddd [tɛmɛnen lɛrɛ] LT",sameElse:"L"},relativeTime:{future:"%s kɔnɔ",past:"a bɛ %s bɔ",s:"sanga dama dama",ss:"sekondi %d",m:"miniti kelen",mm:"miniti %d",h:"lɛrɛ kelen",hh:"lɛrɛ %d",d:"tile kelen",dd:"tile %d",M:"kalo kelen",MM:"kalo %d",y:"san kelen",yy:"san %d"},week:{dow:1,doy:4}})}(a(381))},6225:function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn-bd",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t?e<4?e:e+12:"ভোর"===t||"সকাল"===t?e:"দুপুর"===t?e>=3?e:e+12:"বিকাল"===t||"সন্ধ্যা"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"রাত":e<6?"ভোর":e<12?"সকাল":e<15?"দুপুর":e<18?"বিকাল":e<20?"সন্ধ্যা":"রাত"},week:{dow:0,doy:6}})}(a(381))},8905:function(e,t,a){!function(e){"use strict";var t={1:"১",2:"২",3:"৩",4:"৪",5:"৫",6:"৬",7:"৭",8:"৮",9:"৯",0:"০"},a={"১":"1","২":"2","৩":"3","৪":"4","৫":"5","৬":"6","৭":"7","৮":"8","৯":"9","০":"0"};e.defineLocale("bn",{months:"জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর".split("_"),monthsShort:"জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে".split("_"),weekdays:"রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার".split("_"),weekdaysShort:"রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি".split("_"),weekdaysMin:"রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি".split("_"),longDateFormat:{LT:"A h:mm সময়",LTS:"A h:mm:ss সময়",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm সময়",LLLL:"dddd, D MMMM YYYY, A h:mm সময়"},calendar:{sameDay:"[আজ] LT",nextDay:"[আগামীকাল] LT",nextWeek:"dddd, LT",lastDay:"[গতকাল] LT",lastWeek:"[গত] dddd, LT",sameElse:"L"},relativeTime:{future:"%s পরে",past:"%s আগে",s:"কয়েক সেকেন্ড",ss:"%d সেকেন্ড",m:"এক মিনিট",mm:"%d মিনিট",h:"এক ঘন্টা",hh:"%d ঘন্টা",d:"এক দিন",dd:"%d দিন",M:"এক মাস",MM:"%d মাস",y:"এক বছর",yy:"%d বছর"},preparse:function(e){return e.replace(/[১২৩৪৫৬৭৮৯০]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/রাত|সকাল|দুপুর|বিকাল|রাত/,meridiemHour:function(e,t){return 12===e&&(e=0),"রাত"===t&&e>=4||"দুপুর"===t&&e<5||"বিকাল"===t?e+12:e},meridiem:function(e,t,a){return e<4?"রাত":e<10?"সকাল":e<17?"দুপুর":e<20?"বিকাল":"রাত"},week:{dow:0,doy:6}})}(a(381))},1560:function(e,t,a){!function(e){"use strict";var t={1:"༡",2:"༢",3:"༣",4:"༤",5:"༥",6:"༦",7:"༧",8:"༨",9:"༩",0:"༠"},a={"༡":"1","༢":"2","༣":"3","༤":"4","༥":"5","༦":"6","༧":"7","༨":"8","༩":"9","༠":"0"};e.defineLocale("bo",{months:"ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ".split("_"),monthsShort:"ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12".split("_"),monthsShortRegex:/^(ཟླ་\d{1,2})/,monthsParseExact:!0,weekdays:"གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་".split("_"),weekdaysShort:"ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་".split("_"),weekdaysMin:"ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[དི་རིང] LT",nextDay:"[སང་ཉིན] LT",nextWeek:"[བདུན་ཕྲག་རྗེས་མ], LT",lastDay:"[ཁ་སང] LT",lastWeek:"[བདུན་ཕྲག་མཐའ་མ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ལ་",past:"%s སྔན་ལ",s:"ལམ་སང",ss:"%d སྐར་ཆ།",m:"སྐར་མ་གཅིག",mm:"%d སྐར་མ",h:"ཆུ་ཚོད་གཅིག",hh:"%d ཆུ་ཚོད",d:"ཉིན་གཅིག",dd:"%d ཉིན་",M:"ཟླ་བ་གཅིག",MM:"%d ཟླ་བ",y:"ལོ་གཅིག",yy:"%d ལོ"},preparse:function(e){return e.replace(/[༡༢༣༤༥༦༧༨༩༠]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,meridiemHour:function(e,t){return 12===e&&(e=0),"མཚན་མོ"===t&&e>=4||"ཉིན་གུང"===t&&e<5||"དགོང་དག"===t?e+12:e},meridiem:function(e,t,a){return e<4?"མཚན་མོ":e<10?"ཞོགས་ཀས":e<17?"ཉིན་གུང":e<20?"དགོང་དག":"མཚན་མོ"},week:{dow:0,doy:6}})}(a(381))},1278:function(e,t,a){!function(e){"use strict";function t(e,t,a){return e+" "+s({mm:"munutenn",MM:"miz",dd:"devezh"}[a],e)}function a(e){switch(n(e)){case 1:case 3:case 4:case 5:case 9:return e+" bloaz";default:return e+" vloaz"}}function n(e){return e>9?n(e%10):e}function s(e,t){return 2===t?r(e):e}function r(e){var t={m:"v",b:"v",d:"z"};return void 0===t[e.charAt(0)]?e:t[e.charAt(0)]+e.substring(1)}var i=[/^gen/i,/^c[ʼ\']hwe/i,/^meu/i,/^ebr/i,/^mae/i,/^(mez|eve)/i,/^gou/i,/^eos/i,/^gwe/i,/^her/i,/^du/i,/^ker/i],o=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,d=/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,_=/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,u=[/^sul/i,/^lun/i,/^meurzh/i,/^merc[ʼ\']her/i,/^yaou/i,/^gwener/i,/^sadorn/i],l=[/^Sul/i,/^Lun/i,/^Meu/i,/^Mer/i,/^Yao/i,/^Gwe/i,/^Sad/i],m=[/^Su/i,/^Lu/i,/^Me([^r]|$)/i,/^Mer/i,/^Ya/i,/^Gw/i,/^Sa/i];e.defineLocale("br",{months:"Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu".split("_"),monthsShort:"Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker".split("_"),weekdays:"Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn".split("_"),weekdaysShort:"Sul_Lun_Meu_Mer_Yao_Gwe_Sad".split("_"),weekdaysMin:"Su_Lu_Me_Mer_Ya_Gw_Sa".split("_"),weekdaysParse:m,fullWeekdaysParse:u,shortWeekdaysParse:l,minWeekdaysParse:m,monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:d,monthsShortStrictRegex:_,monthsParse:i,longMonthsParse:i,shortMonthsParse:i,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [a viz] MMMM YYYY",LLL:"D [a viz] MMMM YYYY HH:mm",LLLL:"dddd, D [a viz] MMMM YYYY HH:mm"},calendar:{sameDay:"[Hiziv da] LT",nextDay:"[Warcʼhoazh da] LT",nextWeek:"dddd [da] LT",lastDay:"[Decʼh da] LT",lastWeek:"dddd [paset da] LT",sameElse:"L"},relativeTime:{future:"a-benn %s",past:"%s ʼzo",s:"un nebeud segondennoù",ss:"%d eilenn",m:"ur vunutenn",mm:t,h:"un eur",hh:"%d eur",d:"un devezh",dd:t,M:"ur miz",MM:t,y:"ur bloaz",yy:a},dayOfMonthOrdinalParse:/\d{1,2}(añ|vet)/,ordinal:function(e){return e+(1===e?"añ":"vet")},week:{dow:1,doy:4},meridiemParse:/a.m.|g.m./,isPM:function(e){return"g.m."===e},meridiem:function(e,t,a){return e<12?"a.m.":"g.m."}})}(a(381))},622:function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("bs",{months:"januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:case 3:return"[prošlu] dddd [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},2468:function(e,t,a){!function(e){"use strict";e.defineLocale("ca",{months:{standalone:"gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre".split("_"),format:"de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.".split("_"),monthsParseExact:!0,weekdays:"diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dt._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dt_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a les] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a les] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:function(){return"[avui a "+(1!==this.hours()?"les":"la")+"] LT"},nextDay:function(){return"[demà a "+(1!==this.hours()?"les":"la")+"] LT"},nextWeek:function(){return"dddd [a "+(1!==this.hours()?"les":"la")+"] LT"},lastDay:function(){return"[ahir a "+(1!==this.hours()?"les":"la")+"] LT"},lastWeek:function(){return"[el] dddd [passat a "+(1!==this.hours()?"les":"la")+"] LT"},sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"uns segons",ss:"%d segons",m:"un minut",mm:"%d minuts",h:"una hora",hh:"%d hores",d:"un dia",dd:"%d dies",M:"un mes",MM:"%d mesos",y:"un any",yy:"%d anys"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(381))},5822:function(e,t,a){!function(e){"use strict";var t="leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),a="led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_"),n=[/^led/i,/^úno/i,/^bře/i,/^dub/i,/^kvě/i,/^(čvn|červen$|června)/i,/^(čvc|červenec|července)/i,/^srp/i,/^zář/i,/^říj/i,/^lis/i,/^pro/i],s=/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;function r(e){return e>1&&e<5&&1!=~~(e/10)}function i(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"pár sekund":"pár sekundami";case"ss":return t||n?s+(r(e)?"sekundy":"sekund"):s+"sekundami";case"m":return t?"minuta":n?"minutu":"minutou";case"mm":return t||n?s+(r(e)?"minuty":"minut"):s+"minutami";case"h":return t?"hodina":n?"hodinu":"hodinou";case"hh":return t||n?s+(r(e)?"hodiny":"hodin"):s+"hodinami";case"d":return t||n?"den":"dnem";case"dd":return t||n?s+(r(e)?"dny":"dní"):s+"dny";case"M":return t||n?"měsíc":"měsícem";case"MM":return t||n?s+(r(e)?"měsíce":"měsíců"):s+"měsíci";case"y":return t||n?"rok":"rokem";case"yy":return t||n?s+(r(e)?"roky":"let"):s+"lety"}}e.defineLocale("cs",{months:t,monthsShort:a,monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,monthsShortStrictRegex:/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),weekdaysShort:"ne_po_út_st_čt_pá_so".split("_"),weekdaysMin:"ne_po_út_st_čt_pá_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm",l:"D. M. YYYY"},calendar:{sameDay:"[dnes v] LT",nextDay:"[zítra v] LT",nextWeek:function(){switch(this.day()){case 0:return"[v neděli v] LT";case 1:case 2:return"[v] dddd [v] LT";case 3:return"[ve středu v] LT";case 4:return"[ve čtvrtek v] LT";case 5:return"[v pátek v] LT";case 6:return"[v sobotu v] LT"}},lastDay:"[včera v] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulou neděli v] LT";case 1:case 2:return"[minulé] dddd [v] LT";case 3:return"[minulou středu v] LT";case 4:case 5:return"[minulý] dddd [v] LT";case 6:return"[minulou sobotu v] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"před %s",s:i,ss:i,m:i,mm:i,h:i,hh:i,d:i,dd:i,M:i,MM:i,y:i,yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},877:function(e,t,a){!function(e){"use strict";e.defineLocale("cv",{months:"кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав".split("_"),monthsShort:"кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш".split("_"),weekdays:"вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун".split("_"),weekdaysShort:"выр_тун_ытл_юн_кӗҫ_эрн_шӑм".split("_"),weekdaysMin:"вр_тн_ыт_юн_кҫ_эр_шм".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]",LLL:"YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm",LLLL:"dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm"},calendar:{sameDay:"[Паян] LT [сехетре]",nextDay:"[Ыран] LT [сехетре]",lastDay:"[Ӗнер] LT [сехетре]",nextWeek:"[Ҫитес] dddd LT [сехетре]",lastWeek:"[Иртнӗ] dddd LT [сехетре]",sameElse:"L"},relativeTime:{future:function(e){return e+(/сехет$/i.exec(e)?"рен":/ҫул$/i.exec(e)?"тан":"ран")},past:"%s каялла",s:"пӗр-ик ҫеккунт",ss:"%d ҫеккунт",m:"пӗр минут",mm:"%d минут",h:"пӗр сехет",hh:"%d сехет",d:"пӗр кун",dd:"%d кун",M:"пӗр уйӑх",MM:"%d уйӑх",y:"пӗр ҫул",yy:"%d ҫул"},dayOfMonthOrdinalParse:/\d{1,2}-мӗш/,ordinal:"%d-мӗш",week:{dow:1,doy:7}})}(a(381))},7373:function(e,t,a){!function(e){"use strict";e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t="";return e>20?t=40===e||50===e||60===e||80===e||100===e?"fed":"ain":e>0&&(t=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][e]),e+t},week:{dow:1,doy:4}})}(a(381))},4780:function(e,t,a){!function(e){"use strict";e.defineLocale("da",{months:"januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"søn_man_tir_ons_tor_fre_lør".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd [d.] D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"på dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[i] dddd[s kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"få sekunder",ss:"%d sekunder",m:"et minut",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dage",M:"en måned",MM:"%d måneder",y:"et år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},217:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},894:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},9740:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?s[a][0]:s[a][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},5300:function(e,t,a){!function(e){"use strict";var t=["ޖެނުއަރީ","ފެބްރުއަރީ","މާރިޗު","އޭޕްރީލު","މޭ","ޖޫން","ޖުލައި","އޯގަސްޓު","ސެޕްޓެމްބަރު","އޮކްޓޯބަރު","ނޮވެމްބަރު","ޑިސެމްބަރު"],a=["އާދިއްތަ","ހޯމަ","އަންގާރަ","ބުދަ","ބުރާސްފަތި","ހުކުރު","ހޮނިހިރު"];e.defineLocale("dv",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:"އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"D/M/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},meridiemParse:/މކ|މފ/,isPM:function(e){return"މފ"===e},meridiem:function(e,t,a){return e<12?"މކ":"މފ"},calendar:{sameDay:"[މިއަދު] LT",nextDay:"[މާދަމާ] LT",nextWeek:"dddd LT",lastDay:"[އިއްޔެ] LT",lastWeek:"[ފާއިތުވި] dddd LT",sameElse:"L"},relativeTime:{future:"ތެރޭގައި %s",past:"ކުރިން %s",s:"ސިކުންތުކޮޅެއް",ss:"d% ސިކުންތު",m:"މިނިޓެއް",mm:"މިނިޓު %d",h:"ގަޑިއިރެއް",hh:"ގަޑިއިރު %d",d:"ދުވަހެއް",dd:"ދުވަސް %d",M:"މަހެއް",MM:"މަސް %d",y:"އަހަރެއް",yy:"އަހަރު %d"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:7,doy:12}})}(a(381))},837:function(e,t,a){!function(e){"use strict";function t(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}e.defineLocale("el",{monthsNominativeEl:"Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),monthsGenitiveEl:"Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),months:function(e,t){return e?"string"==typeof t&&/D/.test(t.substring(0,t.indexOf("MMMM")))?this._monthsGenitiveEl[e.month()]:this._monthsNominativeEl[e.month()]:this._monthsNominativeEl},monthsShort:"Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),weekdays:"Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),weekdaysShort:"Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),weekdaysMin:"Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),meridiem:function(e,t,a){return e>11?a?"μμ":"ΜΜ":a?"πμ":"ΠΜ"},isPM:function(e){return"μ"===(e+"").toLowerCase()[0]},meridiemParse:/[ΠΜ]\.?Μ?\.?/i,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendarEl:{sameDay:"[Σήμερα {}] LT",nextDay:"[Αύριο {}] LT",nextWeek:"dddd [{}] LT",lastDay:"[Χθες {}] LT",lastWeek:function(){switch(this.day()){case 6:return"[το προηγούμενο] dddd [{}] LT";default:return"[την προηγούμενη] dddd [{}] LT"}},sameElse:"L"},calendar:function(e,a){var n=this._calendarEl[e],s=a&&a.hours();return t(n)&&(n=n.apply(a)),n.replace("{}",s%12==1?"στη":"στις")},relativeTime:{future:"σε %s",past:"%s πριν",s:"λίγα δευτερόλεπτα",ss:"%d δευτερόλεπτα",m:"ένα λεπτό",mm:"%d λεπτά",h:"μία ώρα",hh:"%d ώρες",d:"μία μέρα",dd:"%d μέρες",M:"ένας μήνας",MM:"%d μήνες",y:"ένας χρόνος",yy:"%d χρόνια"},dayOfMonthOrdinalParse:/\d{1,2}η/,ordinal:"%dη",week:{dow:1,doy:4}})}(a(381))},8348:function(e,t,a){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(a(381))},7925:function(e,t,a){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(381))},2243:function(e,t,a){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},6436:function(e,t,a){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},7207:function(e,t,a){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(a(381))},4175:function(e,t,a){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(a(381))},6319:function(e,t,a){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},1662:function(e,t,a){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d 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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},2915:function(e,t,a){!function(e){"use strict";e.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),monthsShort:"jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec".split("_"),weekdays:"dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato".split("_"),weekdaysShort:"dim_lun_mard_merk_ĵaŭ_ven_sab".split("_"),weekdaysMin:"di_lu_ma_me_ĵa_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"[la] D[-an de] MMMM, YYYY",LLL:"[la] D[-an de] MMMM, YYYY HH:mm",LLLL:"dddd[n], [la] D[-an de] MMMM, YYYY HH:mm",llll:"ddd, [la] D[-an de] MMM, YYYY HH:mm"},meridiemParse:/[ap]\.t\.m/i,isPM:function(e){return"p"===e.charAt(0).toLowerCase()},meridiem:function(e,t,a){return e>11?a?"p.t.m.":"P.T.M.":a?"a.t.m.":"A.T.M."},calendar:{sameDay:"[Hodiaŭ je] LT",nextDay:"[Morgaŭ je] LT",nextWeek:"dddd[n je] LT",lastDay:"[Hieraŭ je] LT",lastWeek:"[pasintan] dddd[n je] LT",sameElse:"L"},relativeTime:{future:"post %s",past:"antaŭ %s",s:"kelkaj sekundoj",ss:"%d sekundoj",m:"unu minuto",mm:"%d minutoj",h:"unu horo",hh:"%d horoj",d:"unu tago",dd:"%d tagoj",M:"unu monato",MM:"%d monatoj",y:"unu jaro",yy:"%d jaroj"},dayOfMonthOrdinalParse:/\d{1,2}a/,ordinal:"%da",week:{dow:1,doy:7}})}(a(381))},5251:function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},6112:function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(a(381))},1146:function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(a(381))},7093:function(e,t,a){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),a="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),n=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],s=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(a(381))},5603:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["mõne sekundi","mõni sekund","paar sekundit"],ss:[e+"sekundi",e+"sekundit"],m:["ühe minuti","üks minut"],mm:[e+" minuti",e+" minutit"],h:["ühe tunni","tund aega","üks tund"],hh:[e+" tunni",e+" tundi"],d:["ühe päeva","üks päev"],M:["kuu aja","kuu aega","üks kuu"],MM:[e+" kuu",e+" kuud"],y:["ühe aasta","aasta","üks aasta"],yy:[e+" aasta",e+" aastat"]};return t?s[a][2]?s[a][2]:s[a][1]:n?s[a][0]:s[a][1]}e.defineLocale("et",{months:"jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),monthsShort:"jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),weekdays:"pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),weekdaysShort:"P_E_T_K_N_R_L".split("_"),weekdaysMin:"P_E_T_K_N_R_L".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[Täna,] LT",nextDay:"[Homme,] LT",nextWeek:"[Järgmine] dddd LT",lastDay:"[Eile,] LT",lastWeek:"[Eelmine] dddd LT",sameElse:"L"},relativeTime:{future:"%s pärast",past:"%s tagasi",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:"%d päeva",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},7763:function(e,t,a){!function(e){"use strict";e.defineLocale("eu",{months:"urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),monthsShort:"urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),monthsParseExact:!0,weekdays:"igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),weekdaysShort:"ig._al._ar._az._og._ol._lr.".split("_"),weekdaysMin:"ig_al_ar_az_og_ol_lr".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY[ko] MMMM[ren] D[a]",LLL:"YYYY[ko] MMMM[ren] D[a] HH:mm",LLLL:"dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",l:"YYYY-M-D",ll:"YYYY[ko] MMM D[a]",lll:"YYYY[ko] MMM D[a] HH:mm",llll:"ddd, YYYY[ko] MMM D[a] HH:mm"},calendar:{sameDay:"[gaur] LT[etan]",nextDay:"[bihar] LT[etan]",nextWeek:"dddd LT[etan]",lastDay:"[atzo] LT[etan]",lastWeek:"[aurreko] dddd LT[etan]",sameElse:"L"},relativeTime:{future:"%s barru",past:"duela %s",s:"segundo batzuk",ss:"%d segundo",m:"minutu bat",mm:"%d minutu",h:"ordu bat",hh:"%d ordu",d:"egun bat",dd:"%d egun",M:"hilabete bat",MM:"%d hilabete",y:"urte bat",yy:"%d urte"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},6959:function(e,t,a){!function(e){"use strict";var t={1:"۱",2:"۲",3:"۳",4:"۴",5:"۵",6:"۶",7:"۷",8:"۸",9:"۹",0:"۰"},a={"۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9","۰":"0"};e.defineLocale("fa",{months:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),monthsShort:"ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر".split("_"),weekdays:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysShort:"یک‌شنبه_دوشنبه_سه‌شنبه_چهارشنبه_پنج‌شنبه_جمعه_شنبه".split("_"),weekdaysMin:"ی_د_س_چ_پ_ج_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/قبل از ظهر|بعد از ظهر/,isPM:function(e){return/بعد از ظهر/.test(e)},meridiem:function(e,t,a){return e<12?"قبل از ظهر":"بعد از ظهر"},calendar:{sameDay:"[امروز ساعت] LT",nextDay:"[فردا ساعت] LT",nextWeek:"dddd [ساعت] LT",lastDay:"[دیروز ساعت] LT",lastWeek:"dddd [پیش] [ساعت] LT",sameElse:"L"},relativeTime:{future:"در %s",past:"%s پیش",s:"چند ثانیه",ss:"%d ثانیه",m:"یک دقیقه",mm:"%d دقیقه",h:"یک ساعت",hh:"%d ساعت",d:"یک روز",dd:"%d روز",M:"یک ماه",MM:"%d ماه",y:"یک سال",yy:"%d سال"},preparse:function(e){return e.replace(/[۰-۹]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},dayOfMonthOrdinalParse:/\d{1,2}م/,ordinal:"%dم",week:{dow:6,doy:12}})}(a(381))},1897:function(e,t,a){!function(e){"use strict";var t="nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän".split(" "),a=["nolla","yhden","kahden","kolmen","neljän","viiden","kuuden",t[7],t[8],t[9]];function n(e,t,a,n){var r="";switch(a){case"s":return n?"muutaman sekunnin":"muutama sekunti";case"ss":r=n?"sekunnin":"sekuntia";break;case"m":return n?"minuutin":"minuutti";case"mm":r=n?"minuutin":"minuuttia";break;case"h":return n?"tunnin":"tunti";case"hh":r=n?"tunnin":"tuntia";break;case"d":return n?"päivän":"päivä";case"dd":r=n?"päivän":"päivää";break;case"M":return n?"kuukauden":"kuukausi";case"MM":r=n?"kuukauden":"kuukautta";break;case"y":return n?"vuoden":"vuosi";case"yy":r=n?"vuoden":"vuotta"}return r=s(e,n)+" "+r}function s(e,n){return e<10?n?a[e]:t[e]:e}e.defineLocale("fi",{months:"tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu".split("_"),monthsShort:"tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu".split("_"),weekdays:"sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai".split("_"),weekdaysShort:"su_ma_ti_ke_to_pe_la".split("_"),weekdaysMin:"su_ma_ti_ke_to_pe_la".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"Do MMMM[ta] YYYY",LLL:"Do MMMM[ta] YYYY, [klo] HH.mm",LLLL:"dddd, Do MMMM[ta] YYYY, [klo] HH.mm",l:"D.M.YYYY",ll:"Do MMM YYYY",lll:"Do MMM YYYY, [klo] HH.mm",llll:"ddd, Do MMM YYYY, [klo] HH.mm"},calendar:{sameDay:"[tänään] [klo] LT",nextDay:"[huomenna] [klo] LT",nextWeek:"dddd [klo] LT",lastDay:"[eilen] [klo] LT",lastWeek:"[viime] dddd[na] [klo] LT",sameElse:"L"},relativeTime:{future:"%s päästä",past:"%s sitten",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},2549:function(e,t,a){!function(e){"use strict";e.defineLocale("fil",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(381))},4694:function(e,t,a){!function(e){"use strict";e.defineLocale("fo",{months:"januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_"),weekdays:"sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur".split("_"),weekdaysShort:"sun_mán_týs_mik_hós_frí_ley".split("_"),weekdaysMin:"su_má_tý_mi_hó_fr_le".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D. MMMM, YYYY HH:mm"},calendar:{sameDay:"[Í dag kl.] LT",nextDay:"[Í morgin kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[Í gjár kl.] LT",lastWeek:"[síðstu] dddd [kl] LT",sameElse:"L"},relativeTime:{future:"um %s",past:"%s síðani",s:"fá sekund",ss:"%d sekundir",m:"ein minuttur",mm:"%d minuttir",h:"ein tími",hh:"%d tímar",d:"ein dagur",dd:"%d dagar",M:"ein mánaður",MM:"%d mánaðir",y:"eitt ár",yy:"%d ár"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},3049:function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(a(381))},2330:function(e,t,a){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(381))},4470:function(e,t,a){!function(e){"use strict";var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,a=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,s=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:n,monthsShortRegex:n,monthsStrictRegex:t,monthsShortStrictRegex:a,monthsParse:s,longMonthsParse:s,shortMonthsParse:s,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(a(381))},5044:function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),a="jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des".split("_");e.defineLocale("fy",{months:"jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsParseExact:!0,weekdays:"snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon".split("_"),weekdaysShort:"si._mo._ti._wo._to._fr._so.".split("_"),weekdaysMin:"Si_Mo_Ti_Wo_To_Fr_So".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[hjoed om] LT",nextDay:"[moarn om] LT",nextWeek:"dddd [om] LT",lastDay:"[juster om] LT",lastWeek:"[ôfrûne] dddd [om] LT",sameElse:"L"},relativeTime:{future:"oer %s",past:"%s lyn",s:"in pear sekonden",ss:"%d sekonden",m:"ien minút",mm:"%d minuten",h:"ien oere",hh:"%d oeren",d:"ien dei",dd:"%d dagen",M:"ien moanne",MM:"%d moannen",y:"ien jier",yy:"%d jierren"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(381))},9295:function(e,t,a){!function(e){"use strict";var t=["Eanáir","Feabhra","Márta","Aibreán","Bealtaine","Meitheamh","Iúil","Lúnasa","Meán Fómhair","Deireadh Fómhair","Samhain","Nollaig"],a=["Ean","Feabh","Márt","Aib","Beal","Meith","Iúil","Lún","M.F.","D.F.","Samh","Noll"],n=["Dé Domhnaigh","Dé Luain","Dé Máirt","Dé Céadaoin","Déardaoin","Dé hAoine","Dé Sathairn"],s=["Domh","Luan","Máirt","Céad","Déar","Aoine","Sath"],r=["Do","Lu","Má","Cé","Dé","A","Sa"];e.defineLocale("ga",{months:t,monthsShort:a,monthsParseExact:!0,weekdays:n,weekdaysShort:s,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Inniu ag] LT",nextDay:"[Amárach ag] LT",nextWeek:"dddd [ag] LT",lastDay:"[Inné ag] LT",lastWeek:"dddd [seo caite] [ag] LT",sameElse:"L"},relativeTime:{future:"i %s",past:"%s ó shin",s:"cúpla soicind",ss:"%d soicind",m:"nóiméad",mm:"%d nóiméad",h:"uair an chloig",hh:"%d uair an chloig",d:"lá",dd:"%d lá",M:"mí",MM:"%d míonna",y:"bliain",yy:"%d bliain"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(381))},2101:function(e,t,a){!function(e){"use strict";var t=["Am Faoilleach","An Gearran","Am Màrt","An Giblean","An Cèitean","An t-Ògmhios","An t-Iuchar","An Lùnastal","An t-Sultain","An Dàmhair","An t-Samhain","An Dùbhlachd"],a=["Faoi","Gear","Màrt","Gibl","Cèit","Ògmh","Iuch","Lùn","Sult","Dàmh","Samh","Dùbh"],n=["Didòmhnaich","Diluain","Dimàirt","Diciadain","Diardaoin","Dihaoine","Disathairne"],s=["Did","Dil","Dim","Dic","Dia","Dih","Dis"],r=["Dò","Lu","Mà","Ci","Ar","Ha","Sa"];e.defineLocale("gd",{months:t,monthsShort:a,monthsParseExact:!0,weekdays:n,weekdaysShort:s,weekdaysMin:r,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[An-diugh aig] LT",nextDay:"[A-màireach aig] LT",nextWeek:"dddd [aig] LT",lastDay:"[An-dè aig] LT",lastWeek:"dddd [seo chaidh] [aig] LT",sameElse:"L"},relativeTime:{future:"ann an %s",past:"bho chionn %s",s:"beagan diogan",ss:"%d diogan",m:"mionaid",mm:"%d mionaidean",h:"uair",hh:"%d uairean",d:"latha",dd:"%d latha",M:"mìos",MM:"%d mìosan",y:"bliadhna",yy:"%d bliadhna"},dayOfMonthOrdinalParse:/\d{1,2}(d|na|mh)/,ordinal:function(e){return e+(1===e?"d":e%10==2?"na":"mh")},week:{dow:1,doy:4}})}(a(381))},8794:function(e,t,a){!function(e){"use strict";e.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(e){return 0===e.indexOf("un")?"n"+e:"en "+e},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},7884:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){switch(t){case"D":return e+"वेर";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(a(381))},3168:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["thoddea sekondamni","thodde sekond"],ss:[e+" sekondamni",e+" sekond"],m:["eka mintan","ek minut"],mm:[e+" mintamni",e+" mintam"],h:["eka voran","ek vor"],hh:[e+" voramni",e+" voram"],d:["eka disan","ek dis"],dd:[e+" disamni",e+" dis"],M:["eka mhoinean","ek mhoino"],MM:[e+" mhoineamni",e+" mhoine"],y:["eka vorsan","ek voros"],yy:[e+" vorsamni",e+" vorsam"]};return n?s[a][0]:s[a][1]}e.defineLocale("gom-latn",{months:{standalone:"Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr".split("_"),format:"Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split("_"),weekdaysShort:"Ait._Som._Mon._Bud._Bre._Suk._Son.".split("_"),weekdaysMin:"Ai_Sm_Mo_Bu_Br_Su_Sn".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [vazta]",LTS:"A h:mm:ss [vazta]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [vazta]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [vazta]",llll:"ddd, D MMM YYYY, A h:mm [vazta]"},calendar:{sameDay:"[Aiz] LT",nextDay:"[Faleam] LT",nextWeek:"[Fuddlo] dddd[,] LT",lastDay:"[Kal] LT",lastWeek:"[Fattlo] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s adim",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(er)/,ordinal:function(e,t){switch(t){case"D":return e+"er";default:case"M":case"Q":case"DDD":case"d":case"w":case"W":return e}},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(e,t){return 12===e&&(e=0),"rati"===t?e<4?e:e+12:"sokallim"===t?e:"donparam"===t?e>12?e:e+12:"sanje"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"rati":e<12?"sokallim":e<16?"donparam":e<20?"sanje":"rati"}})}(a(381))},5349:function(e,t,a){!function(e){"use strict";var t={1:"૧",2:"૨",3:"૩",4:"૪",5:"૫",6:"૬",7:"૭",8:"૮",9:"૯",0:"૦"},a={"૧":"1","૨":"2","૩":"3","૪":"4","૫":"5","૬":"6","૭":"7","૮":"8","૯":"9","૦":"0"};e.defineLocale("gu",{months:"જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર".split("_"),monthsShort:"જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.".split("_"),monthsParseExact:!0,weekdays:"રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર".split("_"),weekdaysShort:"રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ".split("_"),weekdaysMin:"ર_સો_મં_બુ_ગુ_શુ_શ".split("_"),longDateFormat:{LT:"A h:mm વાગ્યે",LTS:"A h:mm:ss વાગ્યે",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm વાગ્યે",LLLL:"dddd, D MMMM YYYY, A h:mm વાગ્યે"},calendar:{sameDay:"[આજ] LT",nextDay:"[કાલે] LT",nextWeek:"dddd, LT",lastDay:"[ગઇકાલે] LT",lastWeek:"[પાછલા] dddd, LT",sameElse:"L"},relativeTime:{future:"%s મા",past:"%s પહેલા",s:"અમુક પળો",ss:"%d સેકંડ",m:"એક મિનિટ",mm:"%d મિનિટ",h:"એક કલાક",hh:"%d કલાક",d:"એક દિવસ",dd:"%d દિવસ",M:"એક મહિનો",MM:"%d મહિનો",y:"એક વર્ષ",yy:"%d વર્ષ"},preparse:function(e){return e.replace(/[૧૨૩૪૫૬૭૮૯૦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/રાત|બપોર|સવાર|સાંજ/,meridiemHour:function(e,t){return 12===e&&(e=0),"રાત"===t?e<4?e:e+12:"સવાર"===t?e:"બપોર"===t?e>=10?e:e+12:"સાંજ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"રાત":e<10?"સવાર":e<17?"બપોર":e<20?"સાંજ":"રાત"},week:{dow:0,doy:6}})}(a(381))},4206:function(e,t,a){!function(e){"use strict";e.defineLocale("he",{months:"ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר".split("_"),monthsShort:"ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳".split("_"),weekdays:"ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת".split("_"),weekdaysShort:"א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳".split("_"),weekdaysMin:"א_ב_ג_ד_ה_ו_ש".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [ב]MMMM YYYY",LLL:"D [ב]MMMM YYYY HH:mm",LLLL:"dddd, D [ב]MMMM YYYY HH:mm",l:"D/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[היום ב־]LT",nextDay:"[מחר ב־]LT",nextWeek:"dddd [בשעה] LT",lastDay:"[אתמול ב־]LT",lastWeek:"[ביום] dddd [האחרון בשעה] LT",sameElse:"L"},relativeTime:{future:"בעוד %s",past:"לפני %s",s:"מספר שניות",ss:"%d שניות",m:"דקה",mm:"%d דקות",h:"שעה",hh:function(e){return 2===e?"שעתיים":e+" שעות"},d:"יום",dd:function(e){return 2===e?"יומיים":e+" ימים"},M:"חודש",MM:function(e){return 2===e?"חודשיים":e+" חודשים"},y:"שנה",yy:function(e){return 2===e?"שנתיים":e%10==0&&10!==e?e+" שנה":e+" שנים"}},meridiemParse:/אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,isPM:function(e){return/^(אחה"צ|אחרי הצהריים|בערב)$/.test(e)},meridiem:function(e,t,a){return e<5?"לפנות בוקר":e<10?"בבוקר":e<12?a?'לפנה"צ':"לפני הצהריים":e<18?a?'אחה"צ':"אחרי הצהריים":"בערב"}})}(a(381))},94:function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"},n=[/^जन/i,/^फ़र|फर/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सितं|सित/i,/^अक्टू/i,/^नव|नवं/i,/^दिसं|दिस/i],s=[/^जन/i,/^फ़र/i,/^मार्च/i,/^अप्रै/i,/^मई/i,/^जून/i,/^जुल/i,/^अग/i,/^सित/i,/^अक्टू/i,/^नव/i,/^दिस/i];e.defineLocale("hi",{months:{format:"जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर".split("_"),standalone:"जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर".split("_")},monthsShort:"जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.".split("_"),weekdays:"रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm बजे",LTS:"A h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm बजे",LLLL:"dddd, D MMMM YYYY, A h:mm बजे"},monthsParse:n,longMonthsParse:n,shortMonthsParse:s,monthsRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsShortRegex:/^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,monthsStrictRegex:/^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,monthsShortStrictRegex:/^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,calendar:{sameDay:"[आज] LT",nextDay:"[कल] LT",nextWeek:"dddd, LT",lastDay:"[कल] LT",lastWeek:"[पिछले] dddd, LT",sameElse:"L"},relativeTime:{future:"%s में",past:"%s पहले",s:"कुछ ही क्षण",ss:"%d सेकंड",m:"एक मिनट",mm:"%d मिनट",h:"एक घंटा",hh:"%d घंटे",d:"एक दिन",dd:"%d दिन",M:"एक महीने",MM:"%d महीने",y:"एक वर्ष",yy:"%d वर्ष"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/रात|सुबह|दोपहर|शाम/,meridiemHour:function(e,t){return 12===e&&(e=0),"रात"===t?e<4?e:e+12:"सुबह"===t?e:"दोपहर"===t?e>=10?e:e+12:"शाम"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"रात":e<10?"सुबह":e<17?"दोपहर":e<20?"शाम":"रात"},week:{dow:0,doy:6}})}(a(381))},316:function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=e+" ";switch(a){case"ss":return n+=1===e?"sekunda":2===e||3===e||4===e?"sekunde":"sekundi";case"m":return t?"jedna minuta":"jedne minute";case"mm":return n+=1===e?"minuta":2===e||3===e||4===e?"minute":"minuta";case"h":return t?"jedan sat":"jednog sata";case"hh":return n+=1===e?"sat":2===e||3===e||4===e?"sata":"sati";case"dd":return n+=1===e?"dan":"dana";case"MM":return n+=1===e?"mjesec":2===e||3===e||4===e?"mjeseca":"mjeseci";case"yy":return n+=1===e?"godina":2===e||3===e||4===e?"godine":"godina"}}e.defineLocale("hr",{months:{format:"siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca".split("_"),standalone:"siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_")},monthsShort:"sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"Do MMMM YYYY",LLL:"Do MMMM YYYY H:mm",LLLL:"dddd, Do MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[jučer u] LT",lastWeek:function(){switch(this.day()){case 0:return"[prošlu] [nedjelju] [u] LT";case 3:return"[prošlu] [srijedu] [u] LT";case 6:return"[prošle] [subote] [u] LT";case 1:case 2:case 4:case 5:return"[prošli] dddd [u] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"par sekundi",ss:t,m:t,mm:t,h:t,hh:t,d:"dan",dd:t,M:"mjesec",MM:t,y:"godinu",yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},2138:function(e,t,a){!function(e){"use strict";var t="vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton".split(" ");function a(e,t,a,n){var s=e;switch(a){case"s":return n||t?"néhány másodperc":"néhány másodperce";case"ss":return s+(n||t)?" másodperc":" másodperce";case"m":return"egy"+(n||t?" perc":" perce");case"mm":return s+(n||t?" perc":" perce");case"h":return"egy"+(n||t?" óra":" órája");case"hh":return s+(n||t?" óra":" órája");case"d":return"egy"+(n||t?" nap":" napja");case"dd":return s+(n||t?" nap":" napja");case"M":return"egy"+(n||t?" hónap":" hónapja");case"MM":return s+(n||t?" hónap":" hónapja");case"y":return"egy"+(n||t?" év":" éve");case"yy":return s+(n||t?" év":" éve")}return""}function n(e){return(e?"":"[múlt] ")+"["+t[this.day()]+"] LT[-kor]"}e.defineLocale("hu",{months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"},meridiemParse:/de|du/i,isPM:function(e){return"u"===e.charAt(1).toLowerCase()},meridiem:function(e,t,a){return e<12?!0===a?"de":"DE":!0===a?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return n.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return n.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s múlva",past:"%s",s:a,ss:a,m:a,mm:a,h:a,hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},1423:function(e,t,a){!function(e){"use strict";e.defineLocale("hy-am",{months:{format:"հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի".split("_"),standalone:"հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր".split("_")},monthsShort:"հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ".split("_"),weekdays:"կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ".split("_"),weekdaysShort:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),weekdaysMin:"կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY թ.",LLL:"D MMMM YYYY թ., HH:mm",LLLL:"dddd, D MMMM YYYY թ., HH:mm"},calendar:{sameDay:"[այսօր] LT",nextDay:"[վաղը] LT",lastDay:"[երեկ] LT",nextWeek:function(){return"dddd [օրը ժամը] LT"},lastWeek:function(){return"[անցած] dddd [օրը ժամը] LT"},sameElse:"L"},relativeTime:{future:"%s հետո",past:"%s առաջ",s:"մի քանի վայրկյան",ss:"%d վայրկյան",m:"րոպե",mm:"%d րոպե",h:"ժամ",hh:"%d ժամ",d:"օր",dd:"%d օր",M:"ամիս",MM:"%d ամիս",y:"տարի",yy:"%d տարի"},meridiemParse:/գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,isPM:function(e){return/^(ցերեկվա|երեկոյան)$/.test(e)},meridiem:function(e){return e<4?"գիշերվա":e<12?"առավոտվա":e<17?"ցերեկվա":"երեկոյան"},dayOfMonthOrdinalParse:/\d{1,2}|\d{1,2}-(ին|րդ)/,ordinal:function(e,t){switch(t){case"DDD":case"w":case"W":case"DDDo":return 1===e?e+"-ին":e+"-րդ";default:return e}},week:{dow:1,doy:7}})}(a(381))},9218:function(e,t,a){!function(e){"use strict";e.defineLocale("id",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des".split("_"),weekdays:"Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),weekdaysShort:"Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|siang|sore|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"siang"===t?e>=11?e:e+12:"sore"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"siang":e<19?"sore":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Besok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kemarin pukul] LT",lastWeek:"dddd [lalu pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lalu",s:"beberapa detik",ss:"%d detik",m:"semenit",mm:"%d menit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:0,doy:6}})}(a(381))},135:function(e,t,a){!function(e){"use strict";function t(e){return e%100==11||e%10!=1}function a(e,a,n,s){var r=e+" ";switch(n){case"s":return a||s?"nokkrar sekúndur":"nokkrum sekúndum";case"ss":return t(e)?r+(a||s?"sekúndur":"sekúndum"):r+"sekúnda";case"m":return a?"mínúta":"mínútu";case"mm":return t(e)?r+(a||s?"mínútur":"mínútum"):a?r+"mínúta":r+"mínútu";case"hh":return t(e)?r+(a||s?"klukkustundir":"klukkustundum"):r+"klukkustund";case"d":return a?"dagur":s?"dag":"degi";case"dd":return t(e)?a?r+"dagar":r+(s?"daga":"dögum"):a?r+"dagur":r+(s?"dag":"degi");case"M":return a?"mánuður":s?"mánuð":"mánuði";case"MM":return t(e)?a?r+"mánuðir":r+(s?"mánuði":"mánuðum"):a?r+"mánuður":r+(s?"mánuð":"mánuði");case"y":return a||s?"ár":"ári";case"yy":return t(e)?r+(a||s?"ár":"árum"):r+(a||s?"ár":"ári")}}e.defineLocale("is",{months:"janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),monthsShort:"jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),weekdays:"sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),weekdaysShort:"sun_mán_þri_mið_fim_fös_lau".split("_"),weekdaysMin:"Su_Má_Þr_Mi_Fi_Fö_La".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd, D. MMMM YYYY [kl.] H:mm"},calendar:{sameDay:"[í dag kl.] LT",nextDay:"[á morgun kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[í gær kl.] LT",lastWeek:"[síðasta] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"eftir %s",past:"fyrir %s síðan",s:a,ss:a,m:a,mm:a,h:"klukkustund",hh:a,d:a,dd:a,M:a,MM:a,y:a,yy:a},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},150:function(e,t,a){!function(e){"use strict";e.defineLocale("it-ch",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Oggi alle] LT",nextDay:"[Domani alle] LT",nextWeek:"dddd [alle] LT",lastDay:"[Ieri alle] LT",lastWeek:function(){switch(this.day()){case 0:return"[la scorsa] dddd [alle] LT";default:return"[lo scorso] dddd [alle] LT"}},sameElse:"L"},relativeTime:{future:function(e){return(/^[0-9].+$/.test(e)?"tra":"in")+" "+e},past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},626:function(e,t,a){!function(e){"use strict";e.defineLocale("it",{months:"gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre".split("_"),monthsShort:"gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic".split("_"),weekdays:"domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato".split("_"),weekdaysShort:"dom_lun_mar_mer_gio_ven_sab".split("_"),weekdaysMin:"do_lu_ma_me_gi_ve_sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:function(){return"[Oggi a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextDay:function(){return"[Domani a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},nextWeek:function(){return"dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastDay:function(){return"[Ieri a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"},lastWeek:function(){switch(this.day()){case 0:return"[La scorsa] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT";default:return"[Lo scorso] dddd [a"+(this.hours()>1?"lle ":0===this.hours()?" ":"ll'")+"]LT"}},sameElse:"L"},relativeTime:{future:"tra %s",past:"%s fa",s:"alcuni secondi",ss:"%d secondi",m:"un minuto",mm:"%d minuti",h:"un'ora",hh:"%d ore",d:"un giorno",dd:"%d giorni",w:"una settimana",ww:"%d settimane",M:"un mese",MM:"%d mesi",y:"un anno",yy:"%d anni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},9183:function(e,t,a){!function(e){"use strict";e.defineLocale("ja",{eras:[{since:"2019-05-01",offset:1,name:"令和",narrow:"㋿",abbr:"R"},{since:"1989-01-08",until:"2019-04-30",offset:1,name:"平成",narrow:"㍻",abbr:"H"},{since:"1926-12-25",until:"1989-01-07",offset:1,name:"昭和",narrow:"㍼",abbr:"S"},{since:"1912-07-30",until:"1926-12-24",offset:1,name:"大正",narrow:"㍽",abbr:"T"},{since:"1873-01-01",until:"1912-07-29",offset:6,name:"明治",narrow:"㍾",abbr:"M"},{since:"0001-01-01",until:"1873-12-31",offset:1,name:"西暦",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"紀元前",narrow:"BC",abbr:"BC"}],eraYearOrdinalRegex:/(元|\d+)年/,eraYearOrdinalParse:function(e,t){return"元"===t[1]?1:parseInt(t[1]||e,10)},months:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日".split("_"),weekdaysShort:"日_月_火_水_木_金_土".split("_"),weekdaysMin:"日_月_火_水_木_金_土".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日 dddd HH:mm",l:"YYYY/MM/DD",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日(ddd) HH:mm"},meridiemParse:/午前|午後/i,isPM:function(e){return"午後"===e},meridiem:function(e,t,a){return e<12?"午前":"午後"},calendar:{sameDay:"[今日] LT",nextDay:"[明日] LT",nextWeek:function(e){return e.week()!==this.week()?"[来週]dddd LT":"dddd LT"},lastDay:"[昨日] LT",lastWeek:function(e){return this.week()!==e.week()?"[先週]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}日/,ordinal:function(e,t){switch(t){case"y":return 1===e?"元年":e+"年";case"d":case"D":case"DDD":return e+"日";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"数秒",ss:"%d秒",m:"1分",mm:"%d分",h:"1時間",hh:"%d時間",d:"1日",dd:"%d日",M:"1ヶ月",MM:"%dヶ月",y:"1年",yy:"%d年"}})}(a(381))},4286:function(e,t,a){!function(e){"use strict";e.defineLocale("jv",{months:"Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember".split("_"),monthsShort:"Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des".split("_"),weekdays:"Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu".split("_"),weekdaysShort:"Min_Sen_Sel_Reb_Kem_Jem_Sep".split("_"),weekdaysMin:"Mg_Sn_Sl_Rb_Km_Jm_Sp".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/enjing|siyang|sonten|ndalu/,meridiemHour:function(e,t){return 12===e&&(e=0),"enjing"===t?e:"siyang"===t?e>=11?e:e+12:"sonten"===t||"ndalu"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"enjing":e<15?"siyang":e<19?"sonten":"ndalu"},calendar:{sameDay:"[Dinten puniko pukul] LT",nextDay:"[Mbenjang pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kala wingi pukul] LT",lastWeek:"dddd [kepengker pukul] LT",sameElse:"L"},relativeTime:{future:"wonten ing %s",past:"%s ingkang kepengker",s:"sawetawis detik",ss:"%d detik",m:"setunggal menit",mm:"%d menit",h:"setunggal jam",hh:"%d jam",d:"sedinten",dd:"%d dinten",M:"sewulan",MM:"%d wulan",y:"setaun",yy:"%d taun"},week:{dow:1,doy:7}})}(a(381))},2105:function(e,t,a){!function(e){"use strict";e.defineLocale("ka",{months:"იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი".split("_"),monthsShort:"იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ".split("_"),weekdays:{standalone:"კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი".split("_"),format:"კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს".split("_"),isFormat:/(წინა|შემდეგ)/},weekdaysShort:"კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ".split("_"),weekdaysMin:"კვ_ორ_სა_ოთ_ხუ_პა_შა".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[დღეს] LT[-ზე]",nextDay:"[ხვალ] LT[-ზე]",lastDay:"[გუშინ] LT[-ზე]",nextWeek:"[შემდეგ] dddd LT[-ზე]",lastWeek:"[წინა] dddd LT-ზე",sameElse:"L"},relativeTime:{future:function(e){return e.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,(function(e,t,a){return"ი"===a?t+"ში":t+a+"ში"}))},past:function(e){return/(წამი|წუთი|საათი|დღე|თვე)/.test(e)?e.replace(/(ი|ე)$/,"ის წინ"):/წელი/.test(e)?e.replace(/წელი$/,"წლის წინ"):e},s:"რამდენიმე წამი",ss:"%d წამი",m:"წუთი",mm:"%d წუთი",h:"საათი",hh:"%d საათი",d:"დღე",dd:"%d დღე",M:"თვე",MM:"%d თვე",y:"წელი",yy:"%d წელი"},dayOfMonthOrdinalParse:/0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,ordinal:function(e){return 0===e?e:1===e?e+"-ლი":e<20||e<=100&&e%20==0||e%100==0?"მე-"+e:e+"-ე"},week:{dow:1,doy:7}})}(a(381))},7772:function(e,t,a){!function(e){"use strict";var t={0:"-ші",1:"-ші",2:"-ші",3:"-ші",4:"-ші",5:"-ші",6:"-шы",7:"-ші",8:"-ші",9:"-шы",10:"-шы",20:"-шы",30:"-шы",40:"-шы",50:"-ші",60:"-шы",70:"-ші",80:"-ші",90:"-шы",100:"-ші"};e.defineLocale("kk",{months:"қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан".split("_"),monthsShort:"қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел".split("_"),weekdays:"жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі".split("_"),weekdaysShort:"жек_дүй_сей_сәр_бей_жұм_сен".split("_"),weekdaysMin:"жк_дй_сй_ср_бй_жм_сн".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгін сағат] LT",nextDay:"[Ертең сағат] LT",nextWeek:"dddd [сағат] LT",lastDay:"[Кеше сағат] LT",lastWeek:"[Өткен аптаның] dddd [сағат] LT",sameElse:"L"},relativeTime:{future:"%s ішінде",past:"%s бұрын",s:"бірнеше секунд",ss:"%d секунд",m:"бір минут",mm:"%d минут",h:"бір сағат",hh:"%d сағат",d:"бір күн",dd:"%d күн",M:"бір ай",MM:"%d ай",y:"бір жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(ші|шы)/,ordinal:function(e){var a=e%10,n=e>=100?100:null;return e+(t[e]||t[a]||t[n])},week:{dow:1,doy:7}})}(a(381))},8758:function(e,t,a){!function(e){"use strict";var t={1:"១",2:"២",3:"៣",4:"៤",5:"៥",6:"៦",7:"៧",8:"៨",9:"៩",0:"០"},a={"១":"1","២":"2","៣":"3","៤":"4","៥":"5","៦":"6","៧":"7","៨":"8","៩":"9","០":"0"};e.defineLocale("km",{months:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),monthsShort:"មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ".split("_"),weekdays:"អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍".split("_"),weekdaysShort:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysMin:"អា_ច_អ_ព_ព្រ_សុ_ស".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ព្រឹក|ល្ងាច/,isPM:function(e){return"ល្ងាច"===e},meridiem:function(e,t,a){return e<12?"ព្រឹក":"ល្ងាច"},calendar:{sameDay:"[ថ្ងៃនេះ ម៉ោង] LT",nextDay:"[ស្អែក ម៉ោង] LT",nextWeek:"dddd [ម៉ោង] LT",lastDay:"[ម្សិលមិញ ម៉ោង] LT",lastWeek:"dddd [សប្តាហ៍មុន] [ម៉ោង] LT",sameElse:"L"},relativeTime:{future:"%sទៀត",past:"%sមុន",s:"ប៉ុន្មានវិនាទី",ss:"%d វិនាទី",m:"មួយនាទី",mm:"%d នាទី",h:"មួយម៉ោង",hh:"%d ម៉ោង",d:"មួយថ្ងៃ",dd:"%d ថ្ងៃ",M:"មួយខែ",MM:"%d ខែ",y:"មួយឆ្នាំ",yy:"%d ឆ្នាំ"},dayOfMonthOrdinalParse:/ទី\d{1,2}/,ordinal:"ទី%d",preparse:function(e){return e.replace(/[១២៣៤៥៦៧៨៩០]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(381))},9282:function(e,t,a){!function(e){"use strict";var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},a={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"};e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}})}(a(381))},3730:function(e,t,a){!function(e){"use strict";e.defineLocale("ko",{months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},calendar:{sameDay:"오늘 LT",nextDay:"내일 LT",nextWeek:"dddd LT",lastDay:"어제 LT",lastWeek:"지난주 dddd LT",sameElse:"L"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",ss:"%d초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"},dayOfMonthOrdinalParse:/\d{1,2}(일|월|주)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"일";case"M":return e+"월";case"w":case"W":return e+"주";default:return e}},meridiemParse:/오전|오후/,isPM:function(e){return"오후"===e},meridiem:function(e,t,a){return e<12?"오전":"오후"}})}(a(381))},1408:function(e,t,a){!function(e){"use strict";var t={1:"١",2:"٢",3:"٣",4:"٤",5:"٥",6:"٦",7:"٧",8:"٨",9:"٩",0:"٠"},a={"١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","٠":"0"},n=["کانونی دووەم","شوبات","ئازار","نیسان","ئایار","حوزەیران","تەمموز","ئاب","ئەیلوول","تشرینی یەكەم","تشرینی دووەم","كانونی یەکەم"];e.defineLocale("ku",{months:n,monthsShort:n,weekdays:"یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌".split("_"),weekdaysShort:"یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌".split("_"),weekdaysMin:"ی_د_س_چ_پ_ه_ش".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},meridiemParse:/ئێواره‌|به‌یانی/,isPM:function(e){return/ئێواره‌/.test(e)},meridiem:function(e,t,a){return e<12?"به‌یانی":"ئێواره‌"},calendar:{sameDay:"[ئه‌مرۆ كاتژمێر] LT",nextDay:"[به‌یانی كاتژمێر] LT",nextWeek:"dddd [كاتژمێر] LT",lastDay:"[دوێنێ كاتژمێر] LT",lastWeek:"dddd [كاتژمێر] LT",sameElse:"L"},relativeTime:{future:"له‌ %s",past:"%s",s:"چه‌ند چركه‌یه‌ك",ss:"چركه‌ %d",m:"یه‌ك خوله‌ك",mm:"%d خوله‌ك",h:"یه‌ك كاتژمێر",hh:"%d كاتژمێر",d:"یه‌ك ڕۆژ",dd:"%d ڕۆژ",M:"یه‌ك مانگ",MM:"%d مانگ",y:"یه‌ك ساڵ",yy:"%d ساڵ"},preparse:function(e){return e.replace(/[١٢٣٤٥٦٧٨٩٠]/g,(function(e){return a[e]})).replace(/،/g,",")},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]})).replace(/,/g,"،")},week:{dow:6,doy:12}})}(a(381))},3291:function(e,t,a){!function(e){"use strict";var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"-чи",8:"-чи",9:"-чу",10:"-чу",20:"-чы",30:"-чу",40:"-чы",50:"-чү",60:"-чы",70:"-чи",80:"-чи",90:"-чу",100:"-чү"};e.defineLocale("ky",{months:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"),monthsShort:"янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек".split("_"),weekdays:"Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби".split("_"),weekdaysShort:"Жек_Дүй_Шей_Шар_Бей_Жум_Ише".split("_"),weekdaysMin:"Жк_Дй_Шй_Шр_Бй_Жм_Иш".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Бүгүн саат] LT",nextDay:"[Эртең саат] LT",nextWeek:"dddd [саат] LT",lastDay:"[Кечээ саат] LT",lastWeek:"[Өткөн аптанын] dddd [күнү] [саат] LT",sameElse:"L"},relativeTime:{future:"%s ичинде",past:"%s мурун",s:"бирнече секунд",ss:"%d секунд",m:"бир мүнөт",mm:"%d мүнөт",h:"бир саат",hh:"%d саат",d:"бир күн",dd:"%d күн",M:"бир ай",MM:"%d ай",y:"бир жыл",yy:"%d жыл"},dayOfMonthOrdinalParse:/\d{1,2}-(чи|чы|чү|чу)/,ordinal:function(e){var a=e%10,n=e>=100?100:null;return e+(t[e]||t[a]||t[n])},week:{dow:1,doy:7}})}(a(381))},6841:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?s[a][0]:s[a][1]}function a(e){return s(e.substr(0,e.indexOf(" ")))?"a "+e:"an "+e}function n(e){return s(e.substr(0,e.indexOf(" ")))?"viru "+e:"virun "+e}function s(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10;return s(0===t?e/10:t)}if(e<1e4){for(;e>=10;)e/=10;return s(e)}return s(e/=1e3)}e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:a,past:n,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},5466:function(e,t,a){!function(e){"use strict";e.defineLocale("lo",{months:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),monthsShort:"ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ".split("_"),weekdays:"ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysShort:"ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ".split("_"),weekdaysMin:"ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"ວັນdddd D MMMM YYYY HH:mm"},meridiemParse:/ຕອນເຊົ້າ|ຕອນແລງ/,isPM:function(e){return"ຕອນແລງ"===e},meridiem:function(e,t,a){return e<12?"ຕອນເຊົ້າ":"ຕອນແລງ"},calendar:{sameDay:"[ມື້ນີ້ເວລາ] LT",nextDay:"[ມື້ອື່ນເວລາ] LT",nextWeek:"[ວັນ]dddd[ໜ້າເວລາ] LT",lastDay:"[ມື້ວານນີ້ເວລາ] LT",lastWeek:"[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT",sameElse:"L"},relativeTime:{future:"ອີກ %s",past:"%sຜ່ານມາ",s:"ບໍ່ເທົ່າໃດວິນາທີ",ss:"%d ວິນາທີ",m:"1 ນາທີ",mm:"%d ນາທີ",h:"1 ຊົ່ວໂມງ",hh:"%d ຊົ່ວໂມງ",d:"1 ມື້",dd:"%d ມື້",M:"1 ເດືອນ",MM:"%d ເດືອນ",y:"1 ປີ",yy:"%d ປີ"},dayOfMonthOrdinalParse:/(ທີ່)\d{1,2}/,ordinal:function(e){return"ທີ່"+e}})}(a(381))},7010:function(e,t,a){!function(e){"use strict";var t={ss:"sekundė_sekundžių_sekundes",m:"minutė_minutės_minutę",mm:"minutės_minučių_minutes",h:"valanda_valandos_valandą",hh:"valandos_valandų_valandas",d:"diena_dienos_dieną",dd:"dienos_dienų_dienas",M:"mėnuo_mėnesio_mėnesį",MM:"mėnesiai_mėnesių_mėnesius",y:"metai_metų_metus",yy:"metai_metų_metus"};function a(e,t,a,n){return t?"kelios sekundės":n?"kelių sekundžių":"kelias sekundes"}function n(e,t,a,n){return t?r(a)[0]:n?r(a)[1]:r(a)[2]}function s(e){return e%10==0||e>10&&e<20}function r(e){return t[e].split("_")}function i(e,t,a,i){var o=e+" ";return 1===e?o+n(e,t,a[0],i):t?o+(s(e)?r(a)[1]:r(a)[0]):i?o+r(a)[1]:o+(s(e)?r(a)[1]:r(a)[2])}e.defineLocale("lt",{months:{format:"sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio".split("_"),standalone:"sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis".split("_"),isFormat:/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/},monthsShort:"sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd".split("_"),weekdays:{format:"sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį".split("_"),standalone:"sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis".split("_"),isFormat:/dddd HH:mm/},weekdaysShort:"Sek_Pir_Ant_Tre_Ket_Pen_Šeš".split("_"),weekdaysMin:"S_P_A_T_K_Pn_Š".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY [m.] MMMM D [d.]",LLL:"YYYY [m.] MMMM D [d.], HH:mm [val.]",LLLL:"YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]",l:"YYYY-MM-DD",ll:"YYYY [m.] MMMM D [d.]",lll:"YYYY [m.] MMMM D [d.], HH:mm [val.]",llll:"YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]"},calendar:{sameDay:"[Šiandien] LT",nextDay:"[Rytoj] LT",nextWeek:"dddd LT",lastDay:"[Vakar] LT",lastWeek:"[Praėjusį] dddd LT",sameElse:"L"},relativeTime:{future:"po %s",past:"prieš %s",s:a,ss:i,m:n,mm:i,h:n,hh:i,d:n,dd:i,M:n,MM:i,y:n,yy:i},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(e){return e+"-oji"},week:{dow:1,doy:4}})}(a(381))},7595:function(e,t,a){!function(e){"use strict";var t={ss:"sekundes_sekundēm_sekunde_sekundes".split("_"),m:"minūtes_minūtēm_minūte_minūtes".split("_"),mm:"minūtes_minūtēm_minūte_minūtes".split("_"),h:"stundas_stundām_stunda_stundas".split("_"),hh:"stundas_stundām_stunda_stundas".split("_"),d:"dienas_dienām_diena_dienas".split("_"),dd:"dienas_dienām_diena_dienas".split("_"),M:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),MM:"mēneša_mēnešiem_mēnesis_mēneši".split("_"),y:"gada_gadiem_gads_gadi".split("_"),yy:"gada_gadiem_gads_gadi".split("_")};function a(e,t,a){return a?t%10==1&&t%100!=11?e[2]:e[3]:t%10==1&&t%100!=11?e[0]:e[1]}function n(e,n,s){return e+" "+a(t[s],e,n)}function s(e,n,s){return a(t[s],e,n)}function r(e,t){return t?"dažas sekundes":"dažām sekundēm"}e.defineLocale("lv",{months:"janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris".split("_"),monthsShort:"jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec".split("_"),weekdays:"svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena".split("_"),weekdaysShort:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysMin:"Sv_P_O_T_C_Pk_S".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY.",LL:"YYYY. [gada] D. MMMM",LLL:"YYYY. [gada] D. MMMM, HH:mm",LLLL:"YYYY. [gada] D. MMMM, dddd, HH:mm"},calendar:{sameDay:"[Šodien pulksten] LT",nextDay:"[Rīt pulksten] LT",nextWeek:"dddd [pulksten] LT",lastDay:"[Vakar pulksten] LT",lastWeek:"[Pagājušā] dddd [pulksten] LT",sameElse:"L"},relativeTime:{future:"pēc %s",past:"pirms %s",s:r,ss:n,m:s,mm:n,h:s,hh:n,d:s,dd:n,M:s,MM:n,y:s,yy:n},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},9861:function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekund","sekunda","sekundi"],m:["jedan minut","jednog minuta"],mm:["minut","minuta","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mjesec","mjeseca","mjeseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,n){var s=t.words[n];return 1===n.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("me",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sri._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sjutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedjelju] [u] LT";case 3:return"[u] [srijedu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedjelje] [u] LT","[prošlog] [ponedjeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srijede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"prije %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mjesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},5493:function(e,t,a){!function(e){"use strict";e.defineLocale("mi",{months:"Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea".split("_"),monthsShort:"Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki".split("_"),monthsRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,monthsShortStrictRegex:/(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,weekdays:"Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei".split("_"),weekdaysShort:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),weekdaysMin:"Ta_Ma_Tū_We_Tāi_Pa_Hā".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [i] HH:mm",LLLL:"dddd, D MMMM YYYY [i] HH:mm"},calendar:{sameDay:"[i teie mahana, i] LT",nextDay:"[apopo i] LT",nextWeek:"dddd [i] LT",lastDay:"[inanahi i] LT",lastWeek:"dddd [whakamutunga i] LT",sameElse:"L"},relativeTime:{future:"i roto i %s",past:"%s i mua",s:"te hēkona ruarua",ss:"%d hēkona",m:"he meneti",mm:"%d meneti",h:"te haora",hh:"%d haora",d:"he ra",dd:"%d ra",M:"he marama",MM:"%d marama",y:"he tau",yy:"%d tau"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},5966:function(e,t,a){!function(e){"use strict";e.defineLocale("mk",{months:"јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември".split("_"),monthsShort:"јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек".split("_"),weekdays:"недела_понеделник_вторник_среда_четврток_петок_сабота".split("_"),weekdaysShort:"нед_пон_вто_сре_чет_пет_саб".split("_"),weekdaysMin:"нe_пo_вт_ср_че_пе_сa".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[Денес во] LT",nextDay:"[Утре во] LT",nextWeek:"[Во] dddd [во] LT",lastDay:"[Вчера во] LT",lastWeek:function(){switch(this.day()){case 0:case 3:case 6:return"[Изминатата] dddd [во] LT";case 1:case 2:case 4:case 5:return"[Изминатиот] dddd [во] LT"}},sameElse:"L"},relativeTime:{future:"за %s",past:"пред %s",s:"неколку секунди",ss:"%d секунди",m:"една минута",mm:"%d минути",h:"еден час",hh:"%d часа",d:"еден ден",dd:"%d дена",M:"еден месец",MM:"%d месеци",y:"една година",yy:"%d години"},dayOfMonthOrdinalParse:/\d{1,2}-(ев|ен|ти|ви|ри|ми)/,ordinal:function(e){var t=e%10,a=e%100;return 0===e?e+"-ев":0===a?e+"-ен":a>10&&a<20?e+"-ти":1===t?e+"-ви":2===t?e+"-ри":7===t||8===t?e+"-ми":e+"-ти"},week:{dow:1,doy:7}})}(a(381))},7341:function(e,t,a){!function(e){"use strict";e.defineLocale("ml",{months:"ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ".split("_"),monthsShort:"ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.".split("_"),monthsParseExact:!0,weekdays:"ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച".split("_"),weekdaysShort:"ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി".split("_"),weekdaysMin:"ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ".split("_"),longDateFormat:{LT:"A h:mm -നു",LTS:"A h:mm:ss -നു",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm -നു",LLLL:"dddd, D MMMM YYYY, A h:mm -നു"},calendar:{sameDay:"[ഇന്ന്] LT",nextDay:"[നാളെ] LT",nextWeek:"dddd, LT",lastDay:"[ഇന്നലെ] LT",lastWeek:"[കഴിഞ്ഞ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s കഴിഞ്ഞ്",past:"%s മുൻപ്",s:"അൽപ നിമിഷങ്ങൾ",ss:"%d സെക്കൻഡ്",m:"ഒരു മിനിറ്റ്",mm:"%d മിനിറ്റ്",h:"ഒരു മണിക്കൂർ",hh:"%d മണിക്കൂർ",d:"ഒരു ദിവസം",dd:"%d ദിവസം",M:"ഒരു മാസം",MM:"%d മാസം",y:"ഒരു വർഷം",yy:"%d വർഷം"},meridiemParse:/രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,meridiemHour:function(e,t){return 12===e&&(e=0),"രാത്രി"===t&&e>=4||"ഉച്ച കഴിഞ്ഞ്"===t||"വൈകുന്നേരം"===t?e+12:e},meridiem:function(e,t,a){return e<4?"രാത്രി":e<12?"രാവിലെ":e<17?"ഉച്ച കഴിഞ്ഞ്":e<20?"വൈകുന്നേരം":"രാത്രി"}})}(a(381))},5115:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){switch(a){case"s":return t?"хэдхэн секунд":"хэдхэн секундын";case"ss":return e+(t?" секунд":" секундын");case"m":case"mm":return e+(t?" минут":" минутын");case"h":case"hh":return e+(t?" цаг":" цагийн");case"d":case"dd":return e+(t?" өдөр":" өдрийн");case"M":case"MM":return e+(t?" сар":" сарын");case"y":case"yy":return e+(t?" жил":" жилийн");default:return e}}e.defineLocale("mn",{months:"Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар".split("_"),monthsShort:"1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар".split("_"),monthsParseExact:!0,weekdays:"Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба".split("_"),weekdaysShort:"Ням_Дав_Мяг_Лха_Пүр_Баа_Бям".split("_"),weekdaysMin:"Ня_Да_Мя_Лх_Пү_Ба_Бя".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY оны MMMMын D",LLL:"YYYY оны MMMMын D HH:mm",LLLL:"dddd, YYYY оны MMMMын D HH:mm"},meridiemParse:/ҮӨ|ҮХ/i,isPM:function(e){return"ҮХ"===e},meridiem:function(e,t,a){return e<12?"ҮӨ":"ҮХ"},calendar:{sameDay:"[Өнөөдөр] LT",nextDay:"[Маргааш] LT",nextWeek:"[Ирэх] dddd LT",lastDay:"[Өчигдөр] LT",lastWeek:"[Өнгөрсөн] dddd LT",sameElse:"L"},relativeTime:{future:"%s дараа",past:"%s өмнө",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2} өдөр/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+" өдөр";default:return e}}})}(a(381))},370:function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};function n(e,t,a,n){var s="";if(t)switch(a){case"s":s="काही सेकंद";break;case"ss":s="%d सेकंद";break;case"m":s="एक मिनिट";break;case"mm":s="%d मिनिटे";break;case"h":s="एक तास";break;case"hh":s="%d तास";break;case"d":s="एक दिवस";break;case"dd":s="%d दिवस";break;case"M":s="एक महिना";break;case"MM":s="%d महिने";break;case"y":s="एक वर्ष";break;case"yy":s="%d वर्षे"}else switch(a){case"s":s="काही सेकंदां";break;case"ss":s="%d सेकंदां";break;case"m":s="एका मिनिटा";break;case"mm":s="%d मिनिटां";break;case"h":s="एका तासा";break;case"hh":s="%d तासां";break;case"d":s="एका दिवसा";break;case"dd":s="%d दिवसां";break;case"M":s="एका महिन्या";break;case"MM":s="%d महिन्यां";break;case"y":s="एका वर्षा";break;case"yy":s="%d वर्षां"}return s.replace(/%d/i,e)}e.defineLocale("mr",{months:"जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),monthsShort:"जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार".split("_"),weekdaysShort:"रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि".split("_"),weekdaysMin:"र_सो_मं_बु_गु_शु_श".split("_"),longDateFormat:{LT:"A h:mm वाजता",LTS:"A h:mm:ss वाजता",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm वाजता",LLLL:"dddd, D MMMM YYYY, A h:mm वाजता"},calendar:{sameDay:"[आज] LT",nextDay:"[उद्या] LT",nextWeek:"dddd, LT",lastDay:"[काल] LT",lastWeek:"[मागील] dddd, LT",sameElse:"L"},relativeTime:{future:"%sमध्ये",past:"%sपूर्वी",s:n,ss:n,m:n,mm:n,h:n,hh:n,d:n,dd:n,M:n,MM:n,y:n,yy:n},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,meridiemHour:function(e,t){return 12===e&&(e=0),"पहाटे"===t||"सकाळी"===t?e:"दुपारी"===t||"सायंकाळी"===t||"रात्री"===t?e>=12?e:e+12:void 0},meridiem:function(e,t,a){return e>=0&&e<6?"पहाटे":e<12?"सकाळी":e<17?"दुपारी":e<20?"सायंकाळी":"रात्री"},week:{dow:0,doy:6}})}(a(381))},1237:function(e,t,a){!function(e){"use strict";e.defineLocale("ms-my",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(381))},9847:function(e,t,a){!function(e){"use strict";e.defineLocale("ms",{months:"Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis".split("_"),weekdays:"Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu".split("_"),weekdaysShort:"Ahd_Isn_Sel_Rab_Kha_Jum_Sab".split("_"),weekdaysMin:"Ah_Is_Sl_Rb_Km_Jm_Sb".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [pukul] HH.mm",LLLL:"dddd, D MMMM YYYY [pukul] HH.mm"},meridiemParse:/pagi|tengahari|petang|malam/,meridiemHour:function(e,t){return 12===e&&(e=0),"pagi"===t?e:"tengahari"===t?e>=11?e:e+12:"petang"===t||"malam"===t?e+12:void 0},meridiem:function(e,t,a){return e<11?"pagi":e<15?"tengahari":e<19?"petang":"malam"},calendar:{sameDay:"[Hari ini pukul] LT",nextDay:"[Esok pukul] LT",nextWeek:"dddd [pukul] LT",lastDay:"[Kelmarin pukul] LT",lastWeek:"dddd [lepas pukul] LT",sameElse:"L"},relativeTime:{future:"dalam %s",past:"%s yang lepas",s:"beberapa saat",ss:"%d saat",m:"seminit",mm:"%d minit",h:"sejam",hh:"%d jam",d:"sehari",dd:"%d hari",M:"sebulan",MM:"%d bulan",y:"setahun",yy:"%d tahun"},week:{dow:1,doy:7}})}(a(381))},2126:function(e,t,a){!function(e){"use strict";e.defineLocale("mt",{months:"Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru".split("_"),monthsShort:"Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ".split("_"),weekdays:"Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt".split("_"),weekdaysShort:"Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib".split("_"),weekdaysMin:"Ħa_Tn_Tl_Er_Ħa_Ġi_Si".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Illum fil-]LT",nextDay:"[Għada fil-]LT",nextWeek:"dddd [fil-]LT",lastDay:"[Il-bieraħ fil-]LT",lastWeek:"dddd [li għadda] [fil-]LT",sameElse:"L"},relativeTime:{future:"f’ %s",past:"%s ilu",s:"ftit sekondi",ss:"%d sekondi",m:"minuta",mm:"%d minuti",h:"siegħa",hh:"%d siegħat",d:"ġurnata",dd:"%d ġranet",M:"xahar",MM:"%d xhur",y:"sena",yy:"%d sni"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},6165:function(e,t,a){!function(e){"use strict";var t={1:"၁",2:"၂",3:"၃",4:"၄",5:"၅",6:"၆",7:"၇",8:"၈",9:"၉",0:"၀"},a={"၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","၀":"0"};e.defineLocale("my",{months:"ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ".split("_"),monthsShort:"ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ".split("_"),weekdays:"တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ".split("_"),weekdaysShort:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),weekdaysMin:"နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ယနေ.] LT [မှာ]",nextDay:"[မနက်ဖြန်] LT [မှာ]",nextWeek:"dddd LT [မှာ]",lastDay:"[မနေ.က] LT [မှာ]",lastWeek:"[ပြီးခဲ့သော] dddd LT [မှာ]",sameElse:"L"},relativeTime:{future:"လာမည့် %s မှာ",past:"လွန်ခဲ့သော %s က",s:"စက္ကန်.အနည်းငယ်",ss:"%d စက္ကန့်",m:"တစ်မိနစ်",mm:"%d မိနစ်",h:"တစ်နာရီ",hh:"%d နာရီ",d:"တစ်ရက်",dd:"%d ရက်",M:"တစ်လ",MM:"%d လ",y:"တစ်နှစ်",yy:"%d နှစ်"},preparse:function(e){return e.replace(/[၁၂၃၄၅၆၇၈၉၀]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},week:{dow:1,doy:4}})}(a(381))},4924:function(e,t,a){!function(e){"use strict";e.defineLocale("nb",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),weekdaysShort:"sø._ma._ti._on._to._fr._lø.".split("_"),weekdaysMin:"sø_ma_ti_on_to_fr_lø".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] HH:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[i dag kl.] LT",nextDay:"[i morgen kl.] LT",nextWeek:"dddd [kl.] LT",lastDay:"[i går kl.] LT",lastWeek:"[forrige] dddd [kl.] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s siden",s:"noen sekunder",ss:"%d sekunder",m:"ett minutt",mm:"%d minutter",h:"en time",hh:"%d timer",d:"en dag",dd:"%d dager",w:"en uke",ww:"%d uker",M:"en måned",MM:"%d måneder",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},6744:function(e,t,a){!function(e){"use strict";var t={1:"१",2:"२",3:"३",4:"४",5:"५",6:"६",7:"७",8:"८",9:"९",0:"०"},a={"१":"1","२":"2","३":"3","४":"4","५":"5","६":"6","७":"7","८":"8","९":"9","०":"0"};e.defineLocale("ne",{months:"जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर".split("_"),monthsShort:"जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.".split("_"),monthsParseExact:!0,weekdays:"आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार".split("_"),weekdaysShort:"आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.".split("_"),weekdaysMin:"आ._सो._मं._बु._बि._शु._श.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"Aको h:mm बजे",LTS:"Aको h:mm:ss बजे",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, Aको h:mm बजे",LLLL:"dddd, D MMMM YYYY, Aको h:mm बजे"},preparse:function(e){return e.replace(/[१२३४५६७८९०]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/राति|बिहान|दिउँसो|साँझ/,meridiemHour:function(e,t){return 12===e&&(e=0),"राति"===t?e<4?e:e+12:"बिहान"===t?e:"दिउँसो"===t?e>=10?e:e+12:"साँझ"===t?e+12:void 0},meridiem:function(e,t,a){return e<3?"राति":e<12?"बिहान":e<16?"दिउँसो":e<20?"साँझ":"राति"},calendar:{sameDay:"[आज] LT",nextDay:"[भोलि] LT",nextWeek:"[आउँदो] dddd[,] LT",lastDay:"[हिजो] LT",lastWeek:"[गएको] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%sमा",past:"%s अगाडि",s:"केही क्षण",ss:"%d सेकेण्ड",m:"एक मिनेट",mm:"%d मिनेट",h:"एक घण्टा",hh:"%d घण्टा",d:"एक दिन",dd:"%d दिन",M:"एक महिना",MM:"%d महिना",y:"एक बर्ष",yy:"%d बर्ष"},week:{dow:0,doy:6}})}(a(381))},9814:function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(381))},3901:function(e,t,a){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),a="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),n=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],s=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,n){return e?/-MMM-/.test(n)?a[e.month()]:t[e.month()]:t},monthsRegex:s,monthsShortRegex:s,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(a(381))},3877:function(e,t,a){!function(e){"use strict";e.defineLocale("nn",{months:"januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember".split("_"),monthsShort:"jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.".split("_"),monthsParseExact:!0,weekdays:"sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag".split("_"),weekdaysShort:"su._må._ty._on._to._fr._lau.".split("_"),weekdaysMin:"su_må_ty_on_to_fr_la".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY [kl.] H:mm",LLLL:"dddd D. MMMM YYYY [kl.] HH:mm"},calendar:{sameDay:"[I dag klokka] LT",nextDay:"[I morgon klokka] LT",nextWeek:"dddd [klokka] LT",lastDay:"[I går klokka] LT",lastWeek:"[Føregåande] dddd [klokka] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"%s sidan",s:"nokre sekund",ss:"%d sekund",m:"eit minutt",mm:"%d minutt",h:"ein time",hh:"%d timar",d:"ein dag",dd:"%d dagar",w:"ei veke",ww:"%d veker",M:"ein månad",MM:"%d månader",y:"eit år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},2135:function(e,t,a){!function(e){"use strict";e.defineLocale("oc-lnc",{months:{standalone:"genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre".split("_"),format:"de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split("_"),isFormat:/D[oD]?(\s)+MMMM/},monthsShort:"gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte".split("_"),weekdaysShort:"dg._dl._dm._dc._dj._dv._ds.".split("_"),weekdaysMin:"dg_dl_dm_dc_dj_dv_ds".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [de] YYYY",ll:"D MMM YYYY",LLL:"D MMMM [de] YYYY [a] H:mm",lll:"D MMM YYYY, H:mm",LLLL:"dddd D MMMM [de] YYYY [a] H:mm",llll:"ddd D MMM YYYY, H:mm"},calendar:{sameDay:"[uèi a] LT",nextDay:"[deman a] LT",nextWeek:"dddd [a] LT",lastDay:"[ièr a] LT",lastWeek:"dddd [passat a] LT",sameElse:"L"},relativeTime:{future:"d'aquí %s",past:"fa %s",s:"unas segondas",ss:"%d segondas",m:"una minuta",mm:"%d minutas",h:"una ora",hh:"%d oras",d:"un jorn",dd:"%d jorns",M:"un mes",MM:"%d meses",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(r|n|t|è|a)/,ordinal:function(e,t){var a=1===e?"r":2===e?"n":3===e?"r":4===e?"t":"è";return"w"!==t&&"W"!==t||(a="a"),e+a},week:{dow:1,doy:4}})}(a(381))},5858:function(e,t,a){!function(e){"use strict";var t={1:"੧",2:"੨",3:"੩",4:"੪",5:"੫",6:"੬",7:"੭",8:"੮",9:"੯",0:"੦"},a={"੧":"1","੨":"2","੩":"3","੪":"4","੫":"5","੬":"6","੭":"7","੮":"8","੯":"9","੦":"0"};e.defineLocale("pa-in",{months:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),monthsShort:"ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ".split("_"),weekdays:"ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ".split("_"),weekdaysShort:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),weekdaysMin:"ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ".split("_"),longDateFormat:{LT:"A h:mm ਵਜੇ",LTS:"A h:mm:ss ਵਜੇ",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm ਵਜੇ",LLLL:"dddd, D MMMM YYYY, A h:mm ਵਜੇ"},calendar:{sameDay:"[ਅਜ] LT",nextDay:"[ਕਲ] LT",nextWeek:"[ਅਗਲਾ] dddd, LT",lastDay:"[ਕਲ] LT",lastWeek:"[ਪਿਛਲੇ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ਵਿੱਚ",past:"%s ਪਿਛਲੇ",s:"ਕੁਝ ਸਕਿੰਟ",ss:"%d ਸਕਿੰਟ",m:"ਇਕ ਮਿੰਟ",mm:"%d ਮਿੰਟ",h:"ਇੱਕ ਘੰਟਾ",hh:"%d ਘੰਟੇ",d:"ਇੱਕ ਦਿਨ",dd:"%d ਦਿਨ",M:"ਇੱਕ ਮਹੀਨਾ",MM:"%d ਮਹੀਨੇ",y:"ਇੱਕ ਸਾਲ",yy:"%d ਸਾਲ"},preparse:function(e){return e.replace(/[੧੨੩੪੫੬੭੮੯੦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ਰਾਤ"===t?e<4?e:e+12:"ਸਵੇਰ"===t?e:"ਦੁਪਹਿਰ"===t?e>=10?e:e+12:"ਸ਼ਾਮ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"ਰਾਤ":e<10?"ਸਵੇਰ":e<17?"ਦੁਪਹਿਰ":e<20?"ਸ਼ਾਮ":"ਰਾਤ"},week:{dow:0,doy:6}})}(a(381))},4495:function(e,t,a){!function(e){"use strict";var t="styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"),a="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"),n=[/^sty/i,/^lut/i,/^mar/i,/^kwi/i,/^maj/i,/^cze/i,/^lip/i,/^sie/i,/^wrz/i,/^paź/i,/^lis/i,/^gru/i];function s(e){return e%10<5&&e%10>1&&~~(e/10)%10!=1}function r(e,t,a){var n=e+" ";switch(a){case"ss":return n+(s(e)?"sekundy":"sekund");case"m":return t?"minuta":"minutę";case"mm":return n+(s(e)?"minuty":"minut");case"h":return t?"godzina":"godzinę";case"hh":return n+(s(e)?"godziny":"godzin");case"ww":return n+(s(e)?"tygodnie":"tygodni");case"MM":return n+(s(e)?"miesiące":"miesięcy");case"yy":return n+(s(e)?"lata":"lat")}}e.defineLocale("pl",{months:function(e,n){return e?/D MMMM/.test(n)?a[e.month()]:t[e.month()]:t},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,weekdays:"niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"),weekdaysShort:"ndz_pon_wt_śr_czw_pt_sob".split("_"),weekdaysMin:"Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Dziś o] LT",nextDay:"[Jutro o] LT",nextWeek:function(){switch(this.day()){case 0:return"[W niedzielę o] LT";case 2:return"[We wtorek o] LT";case 3:return"[W środę o] LT";case 6:return"[W sobotę o] LT";default:return"[W] dddd [o] LT"}},lastDay:"[Wczoraj o] LT",lastWeek:function(){switch(this.day()){case 0:return"[W zeszłą niedzielę o] LT";case 3:return"[W zeszłą środę o] LT";case 6:return"[W zeszłą sobotę o] LT";default:return"[W zeszły] dddd [o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"%s temu",s:"kilka sekund",ss:r,m:r,mm:r,h:r,hh:r,d:"1 dzień",dd:"%d dni",w:"tydzień",ww:r,M:"miesiąc",MM:r,y:"rok",yy:r},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},7971:function(e,t,a){!function(e){"use strict";e.defineLocale("pt-br",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sáb".split("_"),weekdaysMin:"do_2ª_3ª_4ª_5ª_6ª_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"poucos segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",invalidDate:"Data inválida"})}(a(381))},9520:function(e,t,a){!function(e){"use strict";e.defineLocale("pt",{months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),weekdays:"Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado".split("_"),weekdaysShort:"Dom_Seg_Ter_Qua_Qui_Sex_Sáb".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY HH:mm"},calendar:{sameDay:"[Hoje às] LT",nextDay:"[Amanhã às] LT",nextWeek:"dddd [às] LT",lastDay:"[Ontem às] LT",lastWeek:function(){return 0===this.day()||6===this.day()?"[Último] dddd [às] LT":"[Última] dddd [às] LT"},sameElse:"L"},relativeTime:{future:"em %s",past:"há %s",s:"segundos",ss:"%d segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(a(381))},6459:function(e,t,a){!function(e){"use strict";function t(e,t,a){var n=" ";return(e%100>=20||e>=100&&e%100==0)&&(n=" de "),e+n+{ss:"secunde",mm:"minute",hh:"ore",dd:"zile",ww:"săptămâni",MM:"luni",yy:"ani"}[a]}e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,w:"o săptămână",ww:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}})}(a(381))},238:function(e,t,a){!function(e){"use strict";function t(e,t){var a=e.split("_");return t%10==1&&t%100!=11?a[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?a[1]:a[2]}function a(e,a,n){return"m"===n?a?"минута":"минуту":e+" "+t({ss:a?"секунда_секунды_секунд":"секунду_секунды_секунд",mm:a?"минута_минуты_минут":"минуту_минуты_минут",hh:"час_часа_часов",dd:"день_дня_дней",ww:"неделя_недели_недель",MM:"месяц_месяца_месяцев",yy:"год_года_лет"}[n],+e)}var n=[/^янв/i,/^фев/i,/^мар/i,/^апр/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^авг/i,/^сен/i,/^окт/i,/^ноя/i,/^дек/i];e.defineLocale("ru",{months:{format:"января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"),standalone:"январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_")},monthsShort:{format:"янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"),standalone:"янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_")},weekdays:{standalone:"воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"),format:"воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу".split("_"),isFormat:/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/},weekdaysShort:"вс_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"вс_пн_вт_ср_чт_пт_сб".split("_"),monthsParse:n,longMonthsParse:n,shortMonthsParse:n,monthsRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsShortRegex:/^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,monthsStrictRegex:/^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,monthsShortStrictRegex:/^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY г.",LLL:"D MMMM YYYY г., H:mm",LLLL:"dddd, D MMMM YYYY г., H:mm"},calendar:{sameDay:"[Сегодня, в] LT",nextDay:"[Завтра, в] LT",lastDay:"[Вчера, в] LT",nextWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В следующее] dddd, [в] LT";case 1:case 2:case 4:return"[В следующий] dddd, [в] LT";case 3:case 5:case 6:return"[В следующую] dddd, [в] LT"}},lastWeek:function(e){if(e.week()===this.week())return 2===this.day()?"[Во] dddd, [в] LT":"[В] dddd, [в] LT";switch(this.day()){case 0:return"[В прошлое] dddd, [в] LT";case 1:case 2:case 4:return"[В прошлый] dddd, [в] LT";case 3:case 5:case 6:return"[В прошлую] dddd, [в] LT"}},sameElse:"L"},relativeTime:{future:"через %s",past:"%s назад",s:"несколько секунд",ss:a,m:a,mm:a,h:"час",hh:a,d:"день",dd:a,w:"неделя",ww:a,M:"месяц",MM:a,y:"год",yy:a},meridiemParse:/ночи|утра|дня|вечера/i,isPM:function(e){return/^(дня|вечера)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночи":e<12?"утра":e<17?"дня":"вечера"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го|я)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":return e+"-й";case"D":return e+"-го";case"w":case"W":return e+"-я";default:return e}},week:{dow:1,doy:4}})}(a(381))},950:function(e,t,a){!function(e){"use strict";var t=["جنوري","فيبروري","مارچ","اپريل","مئي","جون","جولاءِ","آگسٽ","سيپٽمبر","آڪٽوبر","نومبر","ڊسمبر"],a=["آچر","سومر","اڱارو","اربع","خميس","جمع","ڇنڇر"];e.defineLocale("sd",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[اڄ] LT",nextDay:"[سڀاڻي] LT",nextWeek:"dddd [اڳين هفتي تي] LT",lastDay:"[ڪالهه] LT",lastWeek:"[گزريل هفتي] dddd [تي] LT",sameElse:"L"},relativeTime:{future:"%s پوء",past:"%s اڳ",s:"چند سيڪنڊ",ss:"%d سيڪنڊ",m:"هڪ منٽ",mm:"%d منٽ",h:"هڪ ڪلاڪ",hh:"%d ڪلاڪ",d:"هڪ ڏينهن",dd:"%d ڏينهن",M:"هڪ مهينو",MM:"%d مهينا",y:"هڪ سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(381))},490:function(e,t,a){!function(e){"use strict";e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},124:function(e,t,a){!function(e){"use strict";e.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(e){return e+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(e){return"ප.ව."===e||"පස් වරු"===e},meridiem:function(e,t,a){return e>11?a?"ප.ව.":"පස් වරු":a?"පෙ.ව.":"පෙර වරු"}})}(a(381))},4249:function(e,t,a){!function(e){"use strict";var t="január_február_marec_apríl_máj_jún_júl_august_september_október_november_december".split("_"),a="jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec".split("_");function n(e){return e>1&&e<5}function s(e,t,a,s){var r=e+" ";switch(a){case"s":return t||s?"pár sekúnd":"pár sekundami";case"ss":return t||s?r+(n(e)?"sekundy":"sekúnd"):r+"sekundami";case"m":return t?"minúta":s?"minútu":"minútou";case"mm":return t||s?r+(n(e)?"minúty":"minút"):r+"minútami";case"h":return t?"hodina":s?"hodinu":"hodinou";case"hh":return t||s?r+(n(e)?"hodiny":"hodín"):r+"hodinami";case"d":return t||s?"deň":"dňom";case"dd":return t||s?r+(n(e)?"dni":"dní"):r+"dňami";case"M":return t||s?"mesiac":"mesiacom";case"MM":return t||s?r+(n(e)?"mesiace":"mesiacov"):r+"mesiacmi";case"y":return t||s?"rok":"rokom";case"yy":return t||s?r+(n(e)?"roky":"rokov"):r+"rokmi"}}e.defineLocale("sk",{months:t,monthsShort:a,weekdays:"nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota".split("_"),weekdaysShort:"ne_po_ut_st_št_pi_so".split("_"),weekdaysMin:"ne_po_ut_st_št_pi_so".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd D. MMMM YYYY H:mm"},calendar:{sameDay:"[dnes o] LT",nextDay:"[zajtra o] LT",nextWeek:function(){switch(this.day()){case 0:return"[v nedeľu o] LT";case 1:case 2:return"[v] dddd [o] LT";case 3:return"[v stredu o] LT";case 4:return"[vo štvrtok o] LT";case 5:return"[v piatok o] LT";case 6:return"[v sobotu o] LT"}},lastDay:"[včera o] LT",lastWeek:function(){switch(this.day()){case 0:return"[minulú nedeľu o] LT";case 1:case 2:return"[minulý] dddd [o] LT";case 3:return"[minulú stredu o] LT";case 4:case 5:return"[minulý] dddd [o] LT";case 6:return"[minulú sobotu o] LT"}},sameElse:"L"},relativeTime:{future:"za %s",past:"pred %s",s,ss:s,m:s,mm:s,h:s,hh:s,d:s,dd:s,M:s,MM:s,y:s,yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},4082:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s=e+" ";switch(a){case"s":return t||n?"nekaj sekund":"nekaj sekundami";case"ss":return s+=1===e?t?"sekundo":"sekundi":2===e?t||n?"sekundi":"sekundah":e<5?t||n?"sekunde":"sekundah":"sekund";case"m":return t?"ena minuta":"eno minuto";case"mm":return s+=1===e?t?"minuta":"minuto":2===e?t||n?"minuti":"minutama":e<5?t||n?"minute":"minutami":t||n?"minut":"minutami";case"h":return t?"ena ura":"eno uro";case"hh":return s+=1===e?t?"ura":"uro":2===e?t||n?"uri":"urama":e<5?t||n?"ure":"urami":t||n?"ur":"urami";case"d":return t||n?"en dan":"enim dnem";case"dd":return s+=1===e?t||n?"dan":"dnem":2===e?t||n?"dni":"dnevoma":t||n?"dni":"dnevi";case"M":return t||n?"en mesec":"enim mesecem";case"MM":return s+=1===e?t||n?"mesec":"mesecem":2===e?t||n?"meseca":"mesecema":e<5?t||n?"mesece":"meseci":t||n?"mesecev":"meseci";case"y":return t||n?"eno leto":"enim letom";case"yy":return s+=1===e?t||n?"leto":"letom":2===e?t||n?"leti":"letoma":e<5?t||n?"leta":"leti":t||n?"let":"leti"}}e.defineLocale("sl",{months:"januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december".split("_"),monthsShort:"jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota".split("_"),weekdaysShort:"ned._pon._tor._sre._čet._pet._sob.".split("_"),weekdaysMin:"ne_po_to_sr_če_pe_so".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD. MM. YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm",LLLL:"dddd, D. MMMM YYYY H:mm"},calendar:{sameDay:"[danes ob] LT",nextDay:"[jutri ob] LT",nextWeek:function(){switch(this.day()){case 0:return"[v] [nedeljo] [ob] LT";case 3:return"[v] [sredo] [ob] LT";case 6:return"[v] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[v] dddd [ob] LT"}},lastDay:"[včeraj ob] LT",lastWeek:function(){switch(this.day()){case 0:return"[prejšnjo] [nedeljo] [ob] LT";case 3:return"[prejšnjo] [sredo] [ob] LT";case 6:return"[prejšnjo] [soboto] [ob] LT";case 1:case 2:case 4:case 5:return"[prejšnji] dddd [ob] LT"}},sameElse:"L"},relativeTime:{future:"čez %s",past:"pred %s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},1104:function(e,t,a){!function(e){"use strict";e.defineLocale("sq",{months:"Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor".split("_"),monthsShort:"Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj".split("_"),weekdays:"E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë".split("_"),weekdaysShort:"Die_Hën_Mar_Mër_Enj_Pre_Sht".split("_"),weekdaysMin:"D_H_Ma_Më_E_P_Sh".split("_"),weekdaysParseExact:!0,meridiemParse:/PD|MD/,isPM:function(e){return"M"===e.charAt(0)},meridiem:function(e,t,a){return e<12?"PD":"MD"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Sot në] LT",nextDay:"[Nesër në] LT",nextWeek:"dddd [në] LT",lastDay:"[Dje në] LT",lastWeek:"dddd [e kaluar në] LT",sameElse:"L"},relativeTime:{future:"në %s",past:"%s më parë",s:"disa sekonda",ss:"%d sekonda",m:"një minutë",mm:"%d minuta",h:"një orë",hh:"%d orë",d:"një ditë",dd:"%d ditë",M:"një muaj",MM:"%d muaj",y:"një vit",yy:"%d vite"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},9915:function(e,t,a){!function(e){"use strict";var t={words:{ss:["секунда","секунде","секунди"],m:["један минут","једне минуте"],mm:["минут","минуте","минута"],h:["један сат","једног сата"],hh:["сат","сата","сати"],dd:["дан","дана","дана"],MM:["месец","месеца","месеци"],yy:["година","године","година"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,n){var s=t.words[n];return 1===n.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr-cyrl",{months:"јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар".split("_"),monthsShort:"јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.".split("_"),monthsParseExact:!0,weekdays:"недеља_понедељак_уторак_среда_четвртак_петак_субота".split("_"),weekdaysShort:"нед._пон._уто._сре._чет._пет._суб.".split("_"),weekdaysMin:"не_по_ут_ср_че_пе_су".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[данас у] LT",nextDay:"[сутра у] LT",nextWeek:function(){switch(this.day()){case 0:return"[у] [недељу] [у] LT";case 3:return"[у] [среду] [у] LT";case 6:return"[у] [суботу] [у] LT";case 1:case 2:case 4:case 5:return"[у] dddd [у] LT"}},lastDay:"[јуче у] LT",lastWeek:function(){return["[прошле] [недеље] [у] LT","[прошлог] [понедељка] [у] LT","[прошлог] [уторка] [у] LT","[прошле] [среде] [у] LT","[прошлог] [четвртка] [у] LT","[прошлог] [петка] [у] LT","[прошле] [суботе] [у] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"за %s",past:"пре %s",s:"неколико секунди",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"дан",dd:t.translate,M:"месец",MM:t.translate,y:"годину",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},9131:function(e,t,a){!function(e){"use strict";var t={words:{ss:["sekunda","sekunde","sekundi"],m:["jedan minut","jedne minute"],mm:["minut","minute","minuta"],h:["jedan sat","jednog sata"],hh:["sat","sata","sati"],dd:["dan","dana","dana"],MM:["mesec","meseca","meseci"],yy:["godina","godine","godina"]},correctGrammaticalCase:function(e,t){return 1===e?t[0]:e>=2&&e<=4?t[1]:t[2]},translate:function(e,a,n){var s=t.words[n];return 1===n.length?a?s[0]:s[1]:e+" "+t.correctGrammaticalCase(e,s)}};e.defineLocale("sr",{months:"januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar".split("_"),monthsShort:"jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota".split("_"),weekdaysShort:"ned._pon._uto._sre._čet._pet._sub.".split("_"),weekdaysMin:"ne_po_ut_sr_če_pe_su".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"D. M. YYYY.",LL:"D. MMMM YYYY.",LLL:"D. MMMM YYYY. H:mm",LLLL:"dddd, D. MMMM YYYY. H:mm"},calendar:{sameDay:"[danas u] LT",nextDay:"[sutra u] LT",nextWeek:function(){switch(this.day()){case 0:return"[u] [nedelju] [u] LT";case 3:return"[u] [sredu] [u] LT";case 6:return"[u] [subotu] [u] LT";case 1:case 2:case 4:case 5:return"[u] dddd [u] LT"}},lastDay:"[juče u] LT",lastWeek:function(){return["[prošle] [nedelje] [u] LT","[prošlog] [ponedeljka] [u] LT","[prošlog] [utorka] [u] LT","[prošle] [srede] [u] LT","[prošlog] [četvrtka] [u] LT","[prošlog] [petka] [u] LT","[prošle] [subote] [u] LT"][this.day()]},sameElse:"L"},relativeTime:{future:"za %s",past:"pre %s",s:"nekoliko sekundi",ss:t.translate,m:t.translate,mm:t.translate,h:t.translate,hh:t.translate,d:"dan",dd:t.translate,M:"mesec",MM:t.translate,y:"godinu",yy:t.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(a(381))},5893:function(e,t,a){!function(e){"use strict";e.defineLocale("ss",{months:"Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split("_"),monthsShort:"Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo".split("_"),weekdays:"Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo".split("_"),weekdaysShort:"Lis_Umb_Lsb_Les_Lsi_Lsh_Umg".split("_"),weekdaysMin:"Li_Us_Lb_Lt_Ls_Lh_Ug".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Namuhla nga] LT",nextDay:"[Kusasa nga] LT",nextWeek:"dddd [nga] LT",lastDay:"[Itolo nga] LT",lastWeek:"dddd [leliphelile] [nga] LT",sameElse:"L"},relativeTime:{future:"nga %s",past:"wenteka nga %s",s:"emizuzwana lomcane",ss:"%d mzuzwana",m:"umzuzu",mm:"%d emizuzu",h:"lihora",hh:"%d emahora",d:"lilanga",dd:"%d emalanga",M:"inyanga",MM:"%d tinyanga",y:"umnyaka",yy:"%d iminyaka"},meridiemParse:/ekuseni|emini|entsambama|ebusuku/,meridiem:function(e,t,a){return e<11?"ekuseni":e<15?"emini":e<19?"entsambama":"ebusuku"},meridiemHour:function(e,t){return 12===e&&(e=0),"ekuseni"===t?e:"emini"===t?e>=11?e:e+12:"entsambama"===t||"ebusuku"===t?0===e?0:e+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(a(381))},8760:function(e,t,a){!function(e){"use strict";e.defineLocale("sv",{months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},calendar:{sameDay:"[Idag] LT",nextDay:"[Imorgon] LT",lastDay:"[Igår] LT",nextWeek:"[På] dddd LT",lastWeek:"[I] dddd[s] LT",sameElse:"L"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",ss:"%d sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"},dayOfMonthOrdinalParse:/\d{1,2}(\:e|\:a)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?":e":1===t||2===t?":a":":e")},week:{dow:1,doy:4}})}(a(381))},1172:function(e,t,a){!function(e){"use strict";e.defineLocale("sw",{months:"Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba".split("_"),monthsShort:"Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des".split("_"),weekdays:"Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi".split("_"),weekdaysShort:"Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos".split("_"),weekdaysMin:"J2_J3_J4_J5_Al_Ij_J1".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"hh:mm A",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[leo saa] LT",nextDay:"[kesho saa] LT",nextWeek:"[wiki ijayo] dddd [saat] LT",lastDay:"[jana] LT",lastWeek:"[wiki iliyopita] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s baadaye",past:"tokea %s",s:"hivi punde",ss:"sekunde %d",m:"dakika moja",mm:"dakika %d",h:"saa limoja",hh:"masaa %d",d:"siku moja",dd:"siku %d",M:"mwezi mmoja",MM:"miezi %d",y:"mwaka mmoja",yy:"miaka %d"},week:{dow:1,doy:7}})}(a(381))},1044:function(e,t,a){!function(e){"use strict";var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0:"௦"},a={"௧":"1","௨":"2","௩":"3","௪":"4","௫":"5","௬":"6","௭":"7","௮":"8","௯":"9","௦":"0"};e.defineLocale("ta",{months:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),monthsShort:"ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்".split("_"),weekdays:"ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை".split("_"),weekdaysShort:"ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி".split("_"),weekdaysMin:"ஞா_தி_செ_பு_வி_வெ_ச".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, HH:mm",LLLL:"dddd, D MMMM YYYY, HH:mm"},calendar:{sameDay:"[இன்று] LT",nextDay:"[நாளை] LT",nextWeek:"dddd, LT",lastDay:"[நேற்று] LT",lastWeek:"[கடந்த வாரம்] dddd, LT",sameElse:"L"},relativeTime:{future:"%s இல்",past:"%s முன்",s:"ஒரு சில விநாடிகள்",ss:"%d விநாடிகள்",m:"ஒரு நிமிடம்",mm:"%d நிமிடங்கள்",h:"ஒரு மணி நேரம்",hh:"%d மணி நேரம்",d:"ஒரு நாள்",dd:"%d நாட்கள்",M:"ஒரு மாதம்",MM:"%d மாதங்கள்",y:"ஒரு வருடம்",yy:"%d ஆண்டுகள்"},dayOfMonthOrdinalParse:/\d{1,2}வது/,ordinal:function(e){return e+"வது"},preparse:function(e){return e.replace(/[௧௨௩௪௫௬௭௮௯௦]/g,(function(e){return a[e]}))},postformat:function(e){return e.replace(/\d/g,(function(e){return t[e]}))},meridiemParse:/யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,meridiem:function(e,t,a){return e<2?" யாமம்":e<6?" வைகறை":e<10?" காலை":e<14?" நண்பகல்":e<18?" எற்பாடு":e<22?" மாலை":" யாமம்"},meridiemHour:function(e,t){return 12===e&&(e=0),"யாமம்"===t?e<2?e:e+12:"வைகறை"===t||"காலை"===t||"நண்பகல்"===t&&e>=10?e:e+12},week:{dow:0,doy:6}})}(a(381))},3110:function(e,t,a){!function(e){"use strict";e.defineLocale("te",{months:"జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్".split("_"),monthsShort:"జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.".split("_"),monthsParseExact:!0,weekdays:"ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం".split("_"),weekdaysShort:"ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని".split("_"),weekdaysMin:"ఆ_సో_మం_బు_గు_శు_శ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[నేడు] LT",nextDay:"[రేపు] LT",nextWeek:"dddd, LT",lastDay:"[నిన్న] LT",lastWeek:"[గత] dddd, LT",sameElse:"L"},relativeTime:{future:"%s లో",past:"%s క్రితం",s:"కొన్ని క్షణాలు",ss:"%d సెకన్లు",m:"ఒక నిమిషం",mm:"%d నిమిషాలు",h:"ఒక గంట",hh:"%d గంటలు",d:"ఒక రోజు",dd:"%d రోజులు",M:"ఒక నెల",MM:"%d నెలలు",y:"ఒక సంవత్సరం",yy:"%d సంవత్సరాలు"},dayOfMonthOrdinalParse:/\d{1,2}వ/,ordinal:"%dవ",meridiemParse:/రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,meridiemHour:function(e,t){return 12===e&&(e=0),"రాత్రి"===t?e<4?e:e+12:"ఉదయం"===t?e:"మధ్యాహ్నం"===t?e>=10?e:e+12:"సాయంత్రం"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"రాత్రి":e<10?"ఉదయం":e<17?"మధ్యాహ్నం":e<20?"సాయంత్రం":"రాత్రి"},week:{dow:0,doy:6}})}(a(381))},2095:function(e,t,a){!function(e){"use strict";e.defineLocale("tet",{months:"Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru".split("_"),monthsShort:"Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez".split("_"),weekdays:"Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu".split("_"),weekdaysShort:"Dom_Seg_Ters_Kua_Kint_Sest_Sab".split("_"),weekdaysMin:"Do_Seg_Te_Ku_Ki_Ses_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Ohin iha] LT",nextDay:"[Aban iha] LT",nextWeek:"dddd [iha] LT",lastDay:"[Horiseik iha] LT",lastWeek:"dddd [semana kotuk] [iha] LT",sameElse:"L"},relativeTime:{future:"iha %s",past:"%s liuba",s:"segundu balun",ss:"segundu %d",m:"minutu ida",mm:"minutu %d",h:"oras ida",hh:"oras %d",d:"loron ida",dd:"loron %d",M:"fulan ida",MM:"fulan %d",y:"tinan ida",yy:"tinan %d"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},7321:function(e,t,a){!function(e){"use strict";var t={0:"-ум",1:"-ум",2:"-юм",3:"-юм",4:"-ум",5:"-ум",6:"-ум",7:"-ум",8:"-ум",9:"-ум",10:"-ум",12:"-ум",13:"-ум",20:"-ум",30:"-юм",40:"-ум",50:"-ум",60:"-ум",70:"-ум",80:"-ум",90:"-ум",100:"-ум"};e.defineLocale("tg",{months:{format:"январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри".split("_"),standalone:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_")},monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе".split("_"),weekdaysShort:"яшб_дшб_сшб_чшб_пшб_ҷум_шнб".split("_"),weekdaysMin:"яш_дш_сш_чш_пш_ҷм_шб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Имрӯз соати] LT",nextDay:"[Фардо соати] LT",lastDay:"[Дирӯз соати] LT",nextWeek:"dddd[и] [ҳафтаи оянда соати] LT",lastWeek:"dddd[и] [ҳафтаи гузашта соати] LT",sameElse:"L"},relativeTime:{future:"баъди %s",past:"%s пеш",s:"якчанд сония",m:"як дақиқа",mm:"%d дақиқа",h:"як соат",hh:"%d соат",d:"як рӯз",dd:"%d рӯз",M:"як моҳ",MM:"%d моҳ",y:"як сол",yy:"%d сол"},meridiemParse:/шаб|субҳ|рӯз|бегоҳ/,meridiemHour:function(e,t){return 12===e&&(e=0),"шаб"===t?e<4?e:e+12:"субҳ"===t?e:"рӯз"===t?e>=11?e:e+12:"бегоҳ"===t?e+12:void 0},meridiem:function(e,t,a){return e<4?"шаб":e<11?"субҳ":e<16?"рӯз":e<19?"бегоҳ":"шаб"},dayOfMonthOrdinalParse:/\d{1,2}-(ум|юм)/,ordinal:function(e){var a=e%10,n=e>=100?100:null;return e+(t[e]||t[a]||t[n])},week:{dow:1,doy:7}})}(a(381))},9041:function(e,t,a){!function(e){"use strict";e.defineLocale("th",{months:"มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม".split("_"),monthsShort:"ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.".split("_"),monthsParseExact:!0,weekdays:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์".split("_"),weekdaysShort:"อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์".split("_"),weekdaysMin:"อา._จ._อ._พ._พฤ._ศ._ส.".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY เวลา H:mm",LLLL:"วันddddที่ D MMMM YYYY เวลา H:mm"},meridiemParse:/ก่อนเที่ยง|หลังเที่ยง/,isPM:function(e){return"หลังเที่ยง"===e},meridiem:function(e,t,a){return e<12?"ก่อนเที่ยง":"หลังเที่ยง"},calendar:{sameDay:"[วันนี้ เวลา] LT",nextDay:"[พรุ่งนี้ เวลา] LT",nextWeek:"dddd[หน้า เวลา] LT",lastDay:"[เมื่อวานนี้ เวลา] LT",lastWeek:"[วัน]dddd[ที่แล้ว เวลา] LT",sameElse:"L"},relativeTime:{future:"อีก %s",past:"%sที่แล้ว",s:"ไม่กี่วินาที",ss:"%d วินาที",m:"1 นาที",mm:"%d นาที",h:"1 ชั่วโมง",hh:"%d ชั่วโมง",d:"1 วัน",dd:"%d วัน",w:"1 สัปดาห์",ww:"%d สัปดาห์",M:"1 เดือน",MM:"%d เดือน",y:"1 ปี",yy:"%d ปี"}})}(a(381))},9005:function(e,t,a){!function(e){"use strict";var t={1:"'inji",5:"'inji",8:"'inji",70:"'inji",80:"'inji",2:"'nji",7:"'nji",20:"'nji",50:"'nji",3:"'ünji",4:"'ünji",100:"'ünji",6:"'njy",9:"'unjy",10:"'unjy",30:"'unjy",60:"'ynjy",90:"'ynjy"};e.defineLocale("tk",{months:"Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr".split("_"),monthsShort:"Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek".split("_"),weekdays:"Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe".split("_"),weekdaysShort:"Ýek_Duş_Siş_Çar_Pen_Ann_Şen".split("_"),weekdaysMin:"Ýk_Dş_Sş_Çr_Pn_An_Şn".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün sagat] LT",nextDay:"[ertir sagat] LT",nextWeek:"[indiki] dddd [sagat] LT",lastDay:"[düýn] LT",lastWeek:"[geçen] dddd [sagat] LT",sameElse:"L"},relativeTime:{future:"%s soň",past:"%s öň",s:"birnäçe sekunt",m:"bir minut",mm:"%d minut",h:"bir sagat",hh:"%d sagat",d:"bir gün",dd:"%d gün",M:"bir aý",MM:"%d aý",y:"bir ýyl",yy:"%d ýyl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'unjy";var n=e%10,s=e%100-n,r=e>=100?100:null;return e+(t[n]||t[s]||t[r])}},week:{dow:1,doy:7}})}(a(381))},5768:function(e,t,a){!function(e){"use strict";e.defineLocale("tl-ph",{months:"Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre".split("_"),monthsShort:"Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis".split("_"),weekdays:"Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado".split("_"),weekdaysShort:"Lin_Lun_Mar_Miy_Huw_Biy_Sab".split("_"),weekdaysMin:"Li_Lu_Ma_Mi_Hu_Bi_Sab".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"MM/D/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY HH:mm",LLLL:"dddd, MMMM DD, YYYY HH:mm"},calendar:{sameDay:"LT [ngayong araw]",nextDay:"[Bukas ng] LT",nextWeek:"LT [sa susunod na] dddd",lastDay:"LT [kahapon]",lastWeek:"LT [noong nakaraang] dddd",sameElse:"L"},relativeTime:{future:"sa loob ng %s",past:"%s ang nakalipas",s:"ilang segundo",ss:"%d segundo",m:"isang minuto",mm:"%d minuto",h:"isang oras",hh:"%d oras",d:"isang araw",dd:"%d araw",M:"isang buwan",MM:"%d buwan",y:"isang taon",yy:"%d taon"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(381))},9444:function(e,t,a){!function(e){"use strict";var t="pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function a(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"leS":-1!==e.indexOf("jar")?t.slice(0,-3)+"waQ":-1!==e.indexOf("DIS")?t.slice(0,-3)+"nem":t+" pIq"}function n(e){var t=e;return t=-1!==e.indexOf("jaj")?t.slice(0,-3)+"Hu’":-1!==e.indexOf("jar")?t.slice(0,-3)+"wen":-1!==e.indexOf("DIS")?t.slice(0,-3)+"ben":t+" ret"}function s(e,t,a,n){var s=r(e);switch(a){case"ss":return s+" lup";case"mm":return s+" tup";case"hh":return s+" rep";case"dd":return s+" jaj";case"MM":return s+" jar";case"yy":return s+" DIS"}}function r(e){var a=Math.floor(e%1e3/100),n=Math.floor(e%100/10),s=e%10,r="";return a>0&&(r+=t[a]+"vatlh"),n>0&&(r+=(""!==r?" ":"")+t[n]+"maH"),s>0&&(r+=(""!==r?" ":"")+t[s]),""===r?"pagh":r}e.defineLocale("tlh",{months:"tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’".split("_"),monthsShort:"jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’".split("_"),monthsParseExact:!0,weekdays:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysShort:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),weekdaysMin:"lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[DaHjaj] LT",nextDay:"[wa’leS] LT",nextWeek:"LLL",lastDay:"[wa’Hu’] LT",lastWeek:"LLL",sameElse:"L"},relativeTime:{future:a,past:n,s:"puS lup",ss:s,m:"wa’ tup",mm:s,h:"wa’ rep",hh:s,d:"wa’ jaj",dd:s,M:"wa’ jar",MM:s,y:"wa’ DIS",yy:s},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},2397:function(e,t,a){!function(e){"use strict";var t={1:"'inci",5:"'inci",8:"'inci",70:"'inci",80:"'inci",2:"'nci",7:"'nci",20:"'nci",50:"'nci",3:"'üncü",4:"'üncü",100:"'üncü",6:"'ncı",9:"'uncu",10:"'uncu",30:"'uncu",60:"'ıncı",90:"'ıncı"};e.defineLocale("tr",{months:"Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık".split("_"),monthsShort:"Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara".split("_"),weekdays:"Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_Çar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_Ça_Pe_Cu_Ct".split("_"),meridiem:function(e,t,a){return e<12?a?"öö":"ÖÖ":a?"ös":"ÖS"},meridiemParse:/öö|ÖÖ|ös|ÖS/,isPM:function(e){return"ös"===e||"ÖS"===e},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[bugün saat] LT",nextDay:"[yarın saat] LT",nextWeek:"[gelecek] dddd [saat] LT",lastDay:"[dün] LT",lastWeek:"[geçen] dddd [saat] LT",sameElse:"L"},relativeTime:{future:"%s sonra",past:"%s önce",s:"birkaç saniye",ss:"%d saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir gün",dd:"%d gün",w:"bir hafta",ww:"%d hafta",M:"bir ay",MM:"%d ay",y:"bir yıl",yy:"%d yıl"},ordinal:function(e,a){switch(a){case"d":case"D":case"Do":case"DD":return e;default:if(0===e)return e+"'ıncı";var n=e%10,s=e%100-n,r=e>=100?100:null;return e+(t[n]||t[s]||t[r])}},week:{dow:1,doy:7}})}(a(381))},8254:function(e,t,a){!function(e){"use strict";function t(e,t,a,n){var s={s:["viensas secunds","'iensas secunds"],ss:[e+" secunds",e+" secunds"],m:["'n míut","'iens míut"],mm:[e+" míuts",e+" míuts"],h:["'n þora","'iensa þora"],hh:[e+" þoras",e+" þoras"],d:["'n ziua","'iensa ziua"],dd:[e+" ziuas",e+" ziuas"],M:["'n mes","'iens mes"],MM:[e+" mesen",e+" mesen"],y:["'n ar","'iens ar"],yy:[e+" ars",e+" ars"]};return n||t?s[a][0]:s[a][1]}e.defineLocale("tzl",{months:"Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar".split("_"),monthsShort:"Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec".split("_"),weekdays:"Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi".split("_"),weekdaysShort:"Súl_Lún_Mai_Már_Xhú_Vié_Sát".split("_"),weekdaysMin:"Sú_Lú_Ma_Má_Xh_Vi_Sá".split("_"),longDateFormat:{LT:"HH.mm",LTS:"HH.mm.ss",L:"DD.MM.YYYY",LL:"D. MMMM [dallas] YYYY",LLL:"D. MMMM [dallas] YYYY HH.mm",LLLL:"dddd, [li] D. MMMM [dallas] YYYY HH.mm"},meridiemParse:/d\'o|d\'a/i,isPM:function(e){return"d'o"===e.toLowerCase()},meridiem:function(e,t,a){return e>11?a?"d'o":"D'O":a?"d'a":"D'A"},calendar:{sameDay:"[oxhi à] LT",nextDay:"[demà à] LT",nextWeek:"dddd [à] LT",lastDay:"[ieiri à] LT",lastWeek:"[sür el] dddd [lasteu à] LT",sameElse:"L"},relativeTime:{future:"osprei %s",past:"ja%s",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(a(381))},699:function(e,t,a){!function(e){"use strict";e.defineLocale("tzm-latn",{months:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),monthsShort:"innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir".split("_"),weekdays:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysShort:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),weekdaysMin:"asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[asdkh g] LT",nextDay:"[aska g] LT",nextWeek:"dddd [g] LT",lastDay:"[assant g] LT",lastWeek:"dddd [g] LT",sameElse:"L"},relativeTime:{future:"dadkh s yan %s",past:"yan %s",s:"imik",ss:"%d imik",m:"minuḍ",mm:"%d minuḍ",h:"saɛa",hh:"%d tassaɛin",d:"ass",dd:"%d ossan",M:"ayowr",MM:"%d iyyirn",y:"asgas",yy:"%d isgasn"},week:{dow:6,doy:12}})}(a(381))},1106:function(e,t,a){!function(e){"use strict";e.defineLocale("tzm",{months:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),monthsShort:"ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ".split("_"),weekdays:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysShort:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),weekdaysMin:"ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[ⴰⵙⴷⵅ ⴴ] LT",nextDay:"[ⴰⵙⴽⴰ ⴴ] LT",nextWeek:"dddd [ⴴ] LT",lastDay:"[ⴰⵚⴰⵏⵜ ⴴ] LT",lastWeek:"dddd [ⴴ] LT",sameElse:"L"},relativeTime:{future:"ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s",past:"ⵢⴰⵏ %s",s:"ⵉⵎⵉⴽ",ss:"%d ⵉⵎⵉⴽ",m:"ⵎⵉⵏⵓⴺ",mm:"%d ⵎⵉⵏⵓⴺ",h:"ⵙⴰⵄⴰ",hh:"%d ⵜⴰⵙⵙⴰⵄⵉⵏ",d:"ⴰⵙⵙ",dd:"%d oⵙⵙⴰⵏ",M:"ⴰⵢoⵓⵔ",MM:"%d ⵉⵢⵢⵉⵔⵏ",y:"ⴰⵙⴳⴰⵙ",yy:"%d ⵉⵙⴳⴰⵙⵏ"},week:{dow:6,doy:12}})}(a(381))},9288:function(e,t,a){!function(e){"use strict";e.defineLocale("ug-cn",{months:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),monthsShort:"يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر".split("_"),weekdays:"يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە".split("_"),weekdaysShort:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),weekdaysMin:"يە_دۈ_سە_چا_پە_جۈ_شە".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY-يىلىM-ئاينىڭD-كۈنى",LLL:"YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm",LLLL:"dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm"},meridiemParse:/يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,meridiemHour:function(e,t){return 12===e&&(e=0),"يېرىم كېچە"===t||"سەھەر"===t||"چۈشتىن بۇرۇن"===t?e:"چۈشتىن كېيىن"===t||"كەچ"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"يېرىم كېچە":n<900?"سەھەر":n<1130?"چۈشتىن بۇرۇن":n<1230?"چۈش":n<1800?"چۈشتىن كېيىن":"كەچ"},calendar:{sameDay:"[بۈگۈن سائەت] LT",nextDay:"[ئەتە سائەت] LT",nextWeek:"[كېلەركى] dddd [سائەت] LT",lastDay:"[تۆنۈگۈن] LT",lastWeek:"[ئالدىنقى] dddd [سائەت] LT",sameElse:"L"},relativeTime:{future:"%s كېيىن",past:"%s بۇرۇن",s:"نەچچە سېكونت",ss:"%d سېكونت",m:"بىر مىنۇت",mm:"%d مىنۇت",h:"بىر سائەت",hh:"%d سائەت",d:"بىر كۈن",dd:"%d كۈن",M:"بىر ئاي",MM:"%d ئاي",y:"بىر يىل",yy:"%d يىل"},dayOfMonthOrdinalParse:/\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"-كۈنى";case"w":case"W":return e+"-ھەپتە";default:return e}},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:7}})}(a(381))},7691:function(e,t,a){!function(e){"use strict";function t(e,t){var a=e.split("_");return t%10==1&&t%100!=11?a[0]:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?a[1]:a[2]}function a(e,a,n){return"m"===n?a?"хвилина":"хвилину":"h"===n?a?"година":"годину":e+" "+t({ss:a?"секунда_секунди_секунд":"секунду_секунди_секунд",mm:a?"хвилина_хвилини_хвилин":"хвилину_хвилини_хвилин",hh:a?"година_години_годин":"годину_години_годин",dd:"день_дні_днів",MM:"місяць_місяці_місяців",yy:"рік_роки_років"}[n],+e)}function n(e,t){var a={nominative:"неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота".split("_"),accusative:"неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу".split("_"),genitive:"неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи".split("_")};return!0===e?a.nominative.slice(1,7).concat(a.nominative.slice(0,1)):e?a[/(\[[ВвУу]\]) ?dddd/.test(t)?"accusative":/\[?(?:минулої|наступної)? ?\] ?dddd/.test(t)?"genitive":"nominative"][e.day()]:a.nominative}function s(e){return function(){return e+"о"+(11===this.hours()?"б":"")+"] LT"}}e.defineLocale("uk",{months:{format:"січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня".split("_"),standalone:"січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень".split("_")},monthsShort:"січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд".split("_"),weekdays:n,weekdaysShort:"нд_пн_вт_ср_чт_пт_сб".split("_"),weekdaysMin:"нд_пн_вт_ср_чт_пт_сб".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY р.",LLL:"D MMMM YYYY р., HH:mm",LLLL:"dddd, D MMMM YYYY р., HH:mm"},calendar:{sameDay:s("[Сьогодні "),nextDay:s("[Завтра "),lastDay:s("[Вчора "),nextWeek:s("[У] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return s("[Минулої] dddd [").call(this);case 1:case 2:case 4:return s("[Минулого] dddd [").call(this)}},sameElse:"L"},relativeTime:{future:"за %s",past:"%s тому",s:"декілька секунд",ss:a,m:a,mm:a,h:"годину",hh:a,d:"день",dd:a,M:"місяць",MM:a,y:"рік",yy:a},meridiemParse:/ночі|ранку|дня|вечора/,isPM:function(e){return/^(дня|вечора)$/.test(e)},meridiem:function(e,t,a){return e<4?"ночі":e<12?"ранку":e<17?"дня":"вечора"},dayOfMonthOrdinalParse:/\d{1,2}-(й|го)/,ordinal:function(e,t){switch(t){case"M":case"d":case"DDD":case"w":case"W":return e+"-й";case"D":return e+"-го";default:return e}},week:{dow:1,doy:7}})}(a(381))},3795:function(e,t,a){!function(e){"use strict";var t=["جنوری","فروری","مارچ","اپریل","مئی","جون","جولائی","اگست","ستمبر","اکتوبر","نومبر","دسمبر"],a=["اتوار","پیر","منگل","بدھ","جمعرات","جمعہ","ہفتہ"];e.defineLocale("ur",{months:t,monthsShort:t,weekdays:a,weekdaysShort:a,weekdaysMin:a,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd، D MMMM YYYY HH:mm"},meridiemParse:/صبح|شام/,isPM:function(e){return"شام"===e},meridiem:function(e,t,a){return e<12?"صبح":"شام"},calendar:{sameDay:"[آج بوقت] LT",nextDay:"[کل بوقت] LT",nextWeek:"dddd [بوقت] LT",lastDay:"[گذشتہ روز بوقت] LT",lastWeek:"[گذشتہ] dddd [بوقت] LT",sameElse:"L"},relativeTime:{future:"%s بعد",past:"%s قبل",s:"چند سیکنڈ",ss:"%d سیکنڈ",m:"ایک منٹ",mm:"%d منٹ",h:"ایک گھنٹہ",hh:"%d گھنٹے",d:"ایک دن",dd:"%d دن",M:"ایک ماہ",MM:"%d ماہ",y:"ایک سال",yy:"%d سال"},preparse:function(e){return e.replace(/،/g,",")},postformat:function(e){return e.replace(/,/g,"،")},week:{dow:1,doy:4}})}(a(381))},588:function(e,t,a){!function(e){"use strict";e.defineLocale("uz-latn",{months:"Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr".split("_"),monthsShort:"Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek".split("_"),weekdays:"Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba".split("_"),weekdaysShort:"Yak_Dush_Sesh_Chor_Pay_Jum_Shan".split("_"),weekdaysMin:"Ya_Du_Se_Cho_Pa_Ju_Sha".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Bugun soat] LT [da]",nextDay:"[Ertaga] LT [da]",nextWeek:"dddd [kuni soat] LT [da]",lastDay:"[Kecha soat] LT [da]",lastWeek:"[O'tgan] dddd [kuni soat] LT [da]",sameElse:"L"},relativeTime:{future:"Yaqin %s ichida",past:"Bir necha %s oldin",s:"soniya",ss:"%d soniya",m:"bir daqiqa",mm:"%d daqiqa",h:"bir soat",hh:"%d soat",d:"bir kun",dd:"%d kun",M:"bir oy",MM:"%d oy",y:"bir yil",yy:"%d yil"},week:{dow:1,doy:7}})}(a(381))},6791:function(e,t,a){!function(e){"use strict";e.defineLocale("uz",{months:"январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр".split("_"),monthsShort:"янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек".split("_"),weekdays:"Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба".split("_"),weekdaysShort:"Якш_Душ_Сеш_Чор_Пай_Жум_Шан".split("_"),weekdaysMin:"Як_Ду_Се_Чо_Па_Жу_Ша".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"D MMMM YYYY, dddd HH:mm"},calendar:{sameDay:"[Бугун соат] LT [да]",nextDay:"[Эртага] LT [да]",nextWeek:"dddd [куни соат] LT [да]",lastDay:"[Кеча соат] LT [да]",lastWeek:"[Утган] dddd [куни соат] LT [да]",sameElse:"L"},relativeTime:{future:"Якин %s ичида",past:"Бир неча %s олдин",s:"фурсат",ss:"%d фурсат",m:"бир дакика",mm:"%d дакика",h:"бир соат",hh:"%d соат",d:"бир кун",dd:"%d кун",M:"бир ой",MM:"%d ой",y:"бир йил",yy:"%d йил"},week:{dow:1,doy:7}})}(a(381))},5666:function(e,t,a){!function(e){"use strict";e.defineLocale("vi",{months:"tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12".split("_"),monthsShort:"Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12".split("_"),monthsParseExact:!0,weekdays:"chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy".split("_"),weekdaysShort:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysMin:"CN_T2_T3_T4_T5_T6_T7".split("_"),weekdaysParseExact:!0,meridiemParse:/sa|ch/i,isPM:function(e){return/^ch$/i.test(e)},meridiem:function(e,t,a){return e<12?a?"sa":"SA":a?"ch":"CH"},longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM [năm] YYYY",LLL:"D MMMM [năm] YYYY HH:mm",LLLL:"dddd, D MMMM [năm] YYYY HH:mm",l:"DD/M/YYYY",ll:"D MMM YYYY",lll:"D MMM YYYY HH:mm",llll:"ddd, D MMM YYYY HH:mm"},calendar:{sameDay:"[Hôm nay lúc] LT",nextDay:"[Ngày mai lúc] LT",nextWeek:"dddd [tuần tới lúc] LT",lastDay:"[Hôm qua lúc] LT",lastWeek:"dddd [tuần trước lúc] LT",sameElse:"L"},relativeTime:{future:"%s tới",past:"%s trước",s:"vài giây",ss:"%d giây",m:"một phút",mm:"%d phút",h:"một giờ",hh:"%d giờ",d:"một ngày",dd:"%d ngày",w:"một tuần",ww:"%d tuần",M:"một tháng",MM:"%d tháng",y:"một năm",yy:"%d năm"},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:function(e){return e},week:{dow:1,doy:4}})}(a(381))},4378:function(e,t,a){!function(e){"use strict";e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(a(381))},5805:function(e,t,a){!function(e){"use strict";e.defineLocale("yo",{months:"Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀".split("_"),monthsShort:"Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀".split("_"),weekdays:"Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta".split("_"),weekdaysShort:"Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá".split("_"),weekdaysMin:"Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Ònì ni] LT",nextDay:"[Ọ̀la ni] LT",nextWeek:"dddd [Ọsẹ̀ tón'bọ] [ni] LT",lastDay:"[Àna ni] LT",lastWeek:"dddd [Ọsẹ̀ tólọ́] [ni] LT",sameElse:"L"},relativeTime:{future:"ní %s",past:"%s kọjá",s:"ìsẹjú aayá die",ss:"aayá %d",m:"ìsẹjú kan",mm:"ìsẹjú %d",h:"wákati kan",hh:"wákati %d",d:"ọjọ́ kan",dd:"ọjọ́ %d",M:"osù kan",MM:"osù %d",y:"ọdún kan",yy:"ọdún %d"},dayOfMonthOrdinalParse:/ọjọ́\s\d{1,2}/,ordinal:"ọjọ́ %d",week:{dow:1,doy:4}})}(a(381))},3839:function(e,t,a){!function(e){"use strict";e.defineLocale("zh-cn",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:function(e){return e.week()!==this.week()?"[下]dddLT":"[本]dddLT"},lastDay:"[昨天]LT",lastWeek:function(e){return this.week()!==e.week()?"[上]dddLT":"[本]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s后",past:"%s前",s:"几秒",ss:"%d 秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",w:"1 周",ww:"%d 周",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},week:{dow:1,doy:4}})}(a(381))},5726:function(e,t,a){!function(e){"use strict";e.defineLocale("zh-hk",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1200?"上午":1200===n?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(381))},9807:function(e,t,a){!function(e){"use strict";e.defineLocale("zh-mo",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"D/M/YYYY",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(381))},4152:function(e,t,a){!function(e){"use strict";e.defineLocale("zh-tw",{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"中午"===t?e>=11?e:e+12:"下午"===t||"晚上"===t?e+12:void 0},meridiem:function(e,t,a){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天] LT",nextDay:"[明天] LT",nextWeek:"[下]dddd LT",lastDay:"[昨天] LT",lastWeek:"[上]dddd LT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|週)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"週";default:return e}},relativeTime:{future:"%s後",past:"%s前",s:"幾秒",ss:"%d 秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"}})}(a(381))},6700:(e,t,a)=>{var n={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":7093,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":7093,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":238,"./ru.js":238,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4082,"./sl.js":4082,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":1044,"./ta.js":1044,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function s(e){var t=r(e);return a(t)}function r(e){if(!a.o(n,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return n[e]}s.keys=function(){return Object.keys(n)},s.resolve=r,e.exports=s,s.id=6700},381:function(e,t,a){(e=a.nmd(e)).exports=function(){"use strict";var t,n;function s(){return t.apply(null,arguments)}function r(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(d(e,t))return!1;return!0}function u(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function m(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var a,n=[];for(a=0;a<e.length;++a)n.push(t(e[a],a));return n}function h(e,t){for(var a in t)d(t,a)&&(e[a]=t[a]);return d(t,"toString")&&(e.toString=t.toString),d(t,"valueOf")&&(e.valueOf=t.valueOf),e}function M(e,t,a,n){return Ga(e,t,a,n,!0).utc()}function y(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function f(e){return null==e._pf&&(e._pf=y()),e._pf}function L(e){if(null==e._isValid){var t=f(e),a=n.call(t.parsedDateParts,(function(e){return null!=e})),s=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&a);if(e._strict&&(s=s&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return s;e._isValid=s}return e._isValid}function p(e){var t=M(NaN);return null!=e?h(f(t),e):f(t).userInvalidated=!0,t}n=Array.prototype.some?Array.prototype.some:function(e){var t,a=Object(this),n=a.length>>>0;for(t=0;t<n;t++)if(t in a&&e.call(this,a[t],t,a))return!0;return!1};var Y=s.momentProperties=[],k=!1;function g(e,t){var a,n,s;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=f(t)),u(t._locale)||(e._locale=t._locale),Y.length>0)for(a=0;a<Y.length;a++)u(s=t[n=Y[a]])||(e[n]=s);return e}function w(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===k&&(k=!0,s.updateOffset(this),k=!1)}function D(e){return e instanceof w||null!=e&&null!=e._isAMomentObject}function v(e){!1===s.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var a=!0;return h((function(){if(null!=s.deprecationHandler&&s.deprecationHandler(null,e),a){var n,r,i,o=[];for(r=0;r<arguments.length;r++){if(n="","object"==typeof arguments[r]){for(i in n+="\n["+r+"] ",arguments[0])d(arguments[0],i)&&(n+=i+": "+arguments[0][i]+", ");n=n.slice(0,-2)}else n=arguments[r];o.push(n)}v(e+"\nArguments: "+Array.prototype.slice.call(o).join("")+"\n"+(new Error).stack),a=!1}return t.apply(this,arguments)}),t)}var b,S={};function x(e,t){null!=s.deprecationHandler&&s.deprecationHandler(e,t),S[e]||(v(t),S[e]=!0)}function H(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function j(e){var t,a;for(a in e)d(e,a)&&(H(t=e[a])?this[a]=t:this["_"+a]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var a,n=h({},e);for(a in t)d(t,a)&&(o(e[a])&&o(t[a])?(n[a]={},h(n[a],e[a]),h(n[a],t[a])):null!=t[a]?n[a]=t[a]:delete n[a]);for(a in e)d(e,a)&&!d(t,a)&&o(e[a])&&(n[a]=h({},n[a]));return n}function O(e){null!=e&&this.set(e)}s.suppressDeprecationWarnings=!1,s.deprecationHandler=null,b=Object.keys?Object.keys:function(e){var t,a=[];for(t in e)d(e,t)&&a.push(t);return a};var N={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function W(e,t,a){var n=this._calendar[e]||this._calendar.sameElse;return H(n)?n.call(t,a):n}function A(e,t,a){var n=""+Math.abs(e),s=t-n.length;return(e>=0?a?"+":"":"-")+Math.pow(10,Math.max(0,s)).toString().substr(1)+n}var E=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,F=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,V={},z={};function C(e,t,a,n){var s=n;"string"==typeof n&&(s=function(){return this[n]()}),e&&(z[e]=s),t&&(z[t[0]]=function(){return A(s.apply(this,arguments),t[1],t[2])}),a&&(z[a]=function(){return this.localeData().ordinal(s.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function J(e){var t,a,n=e.match(E);for(t=0,a=n.length;t<a;t++)z[n[t]]?n[t]=z[n[t]]:n[t]=B(n[t]);return function(t){var s,r="";for(s=0;s<a;s++)r+=H(n[s])?n[s].call(t,e):n[s];return r}}function R(e,t){return e.isValid()?(t=I(t,e.localeData()),V[t]=V[t]||J(t),V[t](e)):e.localeData().invalidDate()}function I(e,t){var a=5;function n(e){return t.longDateFormat(e)||e}for(F.lastIndex=0;a>=0&&F.test(e);)e=e.replace(F,n),F.lastIndex=0,a-=1;return e}var U={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 G(e){var t=this._longDateFormat[e],a=this._longDateFormat[e.toUpperCase()];return t||!a?t:(this._longDateFormat[e]=a.match(E).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var $="Invalid date";function Z(){return this._invalidDate}var q="%d",K=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var X={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,a,n){var s=this._relativeTime[a];return H(s)?s(e,t,a,n):s.replace(/%d/i,e)}function te(e,t){var a=this._relativeTime[e>0?"future":"past"];return H(a)?a(t):a.replace(/%s/i,t)}var ae={};function ne(e,t){var a=e.toLowerCase();ae[a]=ae[a+"s"]=ae[t]=e}function se(e){return"string"==typeof e?ae[e]||ae[e.toLowerCase()]:void 0}function re(e){var t,a,n={};for(a in e)d(e,a)&&(t=se(a))&&(n[t]=e[a]);return n}var ie={};function oe(e,t){ie[e]=t}function de(e){var t,a=[];for(t in e)d(e,t)&&a.push({unit:t,priority:ie[t]});return a.sort((function(e,t){return e.priority-t.priority})),a}function _e(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function le(e){var t=+e,a=0;return 0!==t&&isFinite(t)&&(a=ue(t)),a}function me(e,t){return function(a){return null!=a?(he(this,e,a),s.updateOffset(this,t),this):ce(this,e)}}function ce(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,a){e.isValid()&&!isNaN(a)&&("FullYear"===t&&_e(e.year())&&1===e.month()&&29===e.date()?(a=le(a),e._d["set"+(e._isUTC?"UTC":"")+t](a,e.month(),et(a,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](a))}function Me(e){return H(this[e=se(e)])?this[e]():this}function ye(e,t){if("object"==typeof e){var a,n=de(e=re(e));for(a=0;a<n.length;a++)this[n[a].unit](e[n[a].unit])}else if(H(this[e=se(e)]))return this[e](t);return this}var fe,Le=/\d/,pe=/\d\d/,Ye=/\d{3}/,ke=/\d{4}/,ge=/[+-]?\d{6}/,we=/\d\d?/,De=/\d\d\d\d?/,ve=/\d\d\d\d\d\d?/,Te=/\d{1,3}/,be=/\d{1,4}/,Se=/[+-]?\d{1,6}/,xe=/\d+/,He=/[+-]?\d+/,je=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,Oe=/[+-]?\d+(\.\d{1,3})?/,Ne=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function We(e,t,a){fe[e]=H(t)?t:function(e,n){return e&&a?a:t}}function Ae(e,t){return d(fe,e)?fe[e](t._strict,t._locale):new RegExp(Ee(e))}function Ee(e){return Fe(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,a,n,s){return t||a||n||s})))}function Fe(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}fe={};var Ve={};function ze(e,t){var a,n=t;for("string"==typeof e&&(e=[e]),l(t)&&(n=function(e,a){a[t]=le(e)}),a=0;a<e.length;a++)Ve[e[a]]=n}function Ce(e,t){ze(e,(function(e,a,n,s){n._w=n._w||{},t(e,n._w,n,s)}))}function Be(e,t,a){null!=t&&d(Ve,e)&&Ve[e](t,a._a,a,e)}var Je,Re=0,Ie=1,Ue=2,Ge=3,$e=4,Ze=5,qe=6,Ke=7,Qe=8;function Xe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var a=Xe(t,12);return e+=(t-a)/12,1===a?_e(e)?29:28:31-a%7%2}Je=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},C("M",["MM",2],"Mo",(function(){return this.month()+1})),C("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),C("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),ne("month","M"),oe("month",8),We("M",we),We("MM",we,pe),We("MMM",(function(e,t){return t.monthsShortRegex(e)})),We("MMMM",(function(e,t){return t.monthsRegex(e)})),ze(["M","MM"],(function(e,t){t[Ie]=le(e)-1})),ze(["MMM","MMMM"],(function(e,t,a,n){var s=a._locale.monthsParse(e,n,a._strict);null!=s?t[Ie]=s:f(a).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=Ne,rt=Ne;function it(e,t){return e?i(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:i(this._months)?this._months:this._months.standalone}function ot(e,t){return e?i(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:i(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,a){var n,s,r,i=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)r=M([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(r,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(r,"").toLocaleLowerCase();return a?"MMM"===t?-1!==(s=Je.call(this._shortMonthsParse,i))?s:null:-1!==(s=Je.call(this._longMonthsParse,i))?s:null:"MMM"===t?-1!==(s=Je.call(this._shortMonthsParse,i))||-1!==(s=Je.call(this._longMonthsParse,i))?s:null:-1!==(s=Je.call(this._longMonthsParse,i))||-1!==(s=Je.call(this._shortMonthsParse,i))?s:null}function _t(e,t,a){var n,s,r;if(this._monthsParseExact)return dt.call(this,e,t,a);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(s=M([2e3,n]),a&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(s,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(s,"").replace(".","")+"$","i")),a||this._monthsParse[n]||(r="^"+this.months(s,"")+"|^"+this.monthsShort(s,""),this._monthsParse[n]=new RegExp(r.replace(".",""),"i")),a&&"MMMM"===t&&this._longMonthsParse[n].test(e))return n;if(a&&"MMM"===t&&this._shortMonthsParse[n].test(e))return n;if(!a&&this._monthsParse[n].test(e))return n}}function ut(e,t){var a;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=le(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return a=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,a),e}function lt(e){return null!=e?(ut(this,e),s.updateOffset(this,!0),this):ce(this,"Month")}function mt(){return et(this.year(),this.month())}function ct(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(d(this,"_monthsShortRegex")||(this._monthsShortRegex=st),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ht(e){return this._monthsParseExact?(d(this,"_monthsRegex")||Mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(d(this,"_monthsRegex")||(this._monthsRegex=rt),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function Mt(){function e(e,t){return t.length-e.length}var t,a,n=[],s=[],r=[];for(t=0;t<12;t++)a=M([2e3,t]),n.push(this.monthsShort(a,"")),s.push(this.months(a,"")),r.push(this.months(a,"")),r.push(this.monthsShort(a,""));for(n.sort(e),s.sort(e),r.sort(e),t=0;t<12;t++)n[t]=Fe(n[t]),s[t]=Fe(s[t]);for(t=0;t<24;t++)r[t]=Fe(r[t]);this._monthsRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+n.join("|")+")","i")}function yt(e){return _e(e)?366:365}C("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),C(0,["YY",2],0,(function(){return this.year()%100})),C(0,["YYYY",4],0,"year"),C(0,["YYYYY",5],0,"year"),C(0,["YYYYYY",6,!0],0,"year"),ne("year","y"),oe("year",1),We("Y",He),We("YY",we,pe),We("YYYY",be,ke),We("YYYYY",Se,ge),We("YYYYYY",Se,ge),ze(["YYYYY","YYYYYY"],Re),ze("YYYY",(function(e,t){t[Re]=2===e.length?s.parseTwoDigitYear(e):le(e)})),ze("YY",(function(e,t){t[Re]=s.parseTwoDigitYear(e)})),ze("Y",(function(e,t){t[Re]=parseInt(e,10)})),s.parseTwoDigitYear=function(e){return le(e)+(le(e)>68?1900:2e3)};var ft=me("FullYear",!0);function Lt(){return _e(this.year())}function pt(e,t,a,n,s,r,i){var o;return e<100&&e>=0?(o=new Date(e+400,t,a,n,s,r,i),isFinite(o.getFullYear())&&o.setFullYear(e)):o=new Date(e,t,a,n,s,r,i),o}function Yt(e){var t,a;return e<100&&e>=0?((a=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,a)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function kt(e,t,a){var n=7+t-a;return-(7+Yt(e,0,n).getUTCDay()-t)%7+n-1}function gt(e,t,a,n,s){var r,i,o=1+7*(t-1)+(7+a-n)%7+kt(e,n,s);return o<=0?i=yt(r=e-1)+o:o>yt(e)?(r=e+1,i=o-yt(e)):(r=e,i=o),{year:r,dayOfYear:i}}function wt(e,t,a){var n,s,r=kt(e.year(),t,a),i=Math.floor((e.dayOfYear()-r-1)/7)+1;return i<1?n=i+Dt(s=e.year()-1,t,a):i>Dt(e.year(),t,a)?(n=i-Dt(e.year(),t,a),s=e.year()+1):(s=e.year(),n=i),{week:n,year:s}}function Dt(e,t,a){var n=kt(e,t,a),s=kt(e+1,t,a);return(yt(e)-n+s)/7}function vt(e){return wt(e,this._week.dow,this._week.doy).week}C("w",["ww",2],"wo","week"),C("W",["WW",2],"Wo","isoWeek"),ne("week","w"),ne("isoWeek","W"),oe("week",5),oe("isoWeek",5),We("w",we),We("ww",we,pe),We("W",we),We("WW",we,pe),Ce(["w","ww","W","WW"],(function(e,t,a,n){t[n.substr(0,1)]=le(e)}));var Tt={dow:0,doy:6};function bt(){return this._week.dow}function St(){return this._week.doy}function xt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ht(e){var t=wt(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function jt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}C("d",0,"do","day"),C("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),C("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),C("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),C("e",0,0,"weekday"),C("E",0,0,"isoWeekday"),ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),oe("day",11),oe("weekday",11),oe("isoWeekday",11),We("d",we),We("e",we),We("E",we),We("dd",(function(e,t){return t.weekdaysMinRegex(e)})),We("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),We("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ce(["dd","ddd","dddd"],(function(e,t,a,n){var s=a._locale.weekdaysParse(e,n,a._strict);null!=s?t.d=s:f(a).invalidWeekday=e})),Ce(["d","e","E"],(function(e,t,a,n){t[n]=le(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Wt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),At="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Et=Ne,Ft=Ne,Vt=Ne;function zt(e,t){var a=i(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(a,this._week.dow):e?a[e.day()]:a}function Ct(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Bt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Jt(e,t,a){var n,s,r,i=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)r=M([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(r,"").toLocaleLowerCase();return a?"dddd"===t?-1!==(s=Je.call(this._weekdaysParse,i))?s:null:"ddd"===t?-1!==(s=Je.call(this._shortWeekdaysParse,i))?s:null:-1!==(s=Je.call(this._minWeekdaysParse,i))?s:null:"dddd"===t?-1!==(s=Je.call(this._weekdaysParse,i))||-1!==(s=Je.call(this._shortWeekdaysParse,i))||-1!==(s=Je.call(this._minWeekdaysParse,i))?s:null:"ddd"===t?-1!==(s=Je.call(this._shortWeekdaysParse,i))||-1!==(s=Je.call(this._weekdaysParse,i))||-1!==(s=Je.call(this._minWeekdaysParse,i))?s:null:-1!==(s=Je.call(this._minWeekdaysParse,i))||-1!==(s=Je.call(this._weekdaysParse,i))||-1!==(s=Je.call(this._shortWeekdaysParse,i))?s:null}function Rt(e,t,a){var n,s,r;if(this._weekdaysParseExact)return Jt.call(this,e,t,a);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(s=M([2e3,1]).day(n),a&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(s,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(s,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(s,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(r="^"+this.weekdays(s,"")+"|^"+this.weekdaysShort(s,"")+"|^"+this.weekdaysMin(s,""),this._weekdaysParse[n]=new RegExp(r.replace(".",""),"i")),a&&"dddd"===t&&this._fullWeekdaysParse[n].test(e))return n;if(a&&"ddd"===t&&this._shortWeekdaysParse[n].test(e))return n;if(a&&"dd"===t&&this._minWeekdaysParse[n].test(e))return n;if(!a&&this._weekdaysParse[n].test(e))return n}}function It(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=jt(e,this.localeData()),this.add(e-t,"d")):t}function Ut(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 Gt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $t(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(d(this,"_weekdaysRegex")||(this._weekdaysRegex=Et),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Zt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(d(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ft),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(d(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(d(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Vt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,a,n,s,r,i=[],o=[],d=[],_=[];for(t=0;t<7;t++)a=M([2e3,1]).day(t),n=Fe(this.weekdaysMin(a,"")),s=Fe(this.weekdaysShort(a,"")),r=Fe(this.weekdays(a,"")),i.push(n),o.push(s),d.push(r),_.push(n),_.push(s),_.push(r);i.sort(e),o.sort(e),d.sort(e),_.sort(e),this._weekdaysRegex=new RegExp("^("+_.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+d.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Xt(){return this.hours()||24}function ea(e,t){C(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function ta(e,t){return t._meridiemParse}function aa(e){return"p"===(e+"").toLowerCase().charAt(0)}C("H",["HH",2],0,"hour"),C("h",["hh",2],0,Qt),C("k",["kk",2],0,Xt),C("hmm",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)})),C("hmmss",0,0,(function(){return""+Qt.apply(this)+A(this.minutes(),2)+A(this.seconds(),2)})),C("Hmm",0,0,(function(){return""+this.hours()+A(this.minutes(),2)})),C("Hmmss",0,0,(function(){return""+this.hours()+A(this.minutes(),2)+A(this.seconds(),2)})),ea("a",!0),ea("A",!1),ne("hour","h"),oe("hour",13),We("a",ta),We("A",ta),We("H",we),We("h",we),We("k",we),We("HH",we,pe),We("hh",we,pe),We("kk",we,pe),We("hmm",De),We("hmmss",ve),We("Hmm",De),We("Hmmss",ve),ze(["H","HH"],Ge),ze(["k","kk"],(function(e,t,a){var n=le(e);t[Ge]=24===n?0:n})),ze(["a","A"],(function(e,t,a){a._isPm=a._locale.isPM(e),a._meridiem=e})),ze(["h","hh"],(function(e,t,a){t[Ge]=le(e),f(a).bigHour=!0})),ze("hmm",(function(e,t,a){var n=e.length-2;t[Ge]=le(e.substr(0,n)),t[$e]=le(e.substr(n)),f(a).bigHour=!0})),ze("hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[Ge]=le(e.substr(0,n)),t[$e]=le(e.substr(n,2)),t[Ze]=le(e.substr(s)),f(a).bigHour=!0})),ze("Hmm",(function(e,t,a){var n=e.length-2;t[Ge]=le(e.substr(0,n)),t[$e]=le(e.substr(n))})),ze("Hmmss",(function(e,t,a){var n=e.length-4,s=e.length-2;t[Ge]=le(e.substr(0,n)),t[$e]=le(e.substr(n,2)),t[Ze]=le(e.substr(s))}));var na=/[ap]\.?m?\.?/i,sa=me("Hours",!0);function ra(e,t,a){return e>11?a?"pm":"PM":a?"am":"AM"}var ia,oa={calendar:N,longDateFormat:U,invalidDate:$,ordinal:q,dayOfMonthOrdinalParse:K,relativeTime:X,months:tt,monthsShort:at,week:Tt,weekdays:Nt,weekdaysMin:At,weekdaysShort:Wt,meridiemParse:na},da={},_a={};function ua(e,t){var a,n=Math.min(e.length,t.length);for(a=0;a<n;a+=1)if(e[a]!==t[a])return a;return n}function la(e){return e?e.toLowerCase().replace("_","-"):e}function ma(e){for(var t,a,n,s,r=0;r<e.length;){for(t=(s=la(e[r]).split("-")).length,a=(a=la(e[r+1]))?a.split("-"):null;t>0;){if(n=ca(s.slice(0,t).join("-")))return n;if(a&&a.length>=t&&ua(s,a)>=t-1)break;t--}r++}return ia}function ca(t){var n=null;if(void 0===da[t]&&e&&e.exports)try{n=ia._abbr,a(6700)("./"+t),ha(n)}catch(e){da[t]=null}return da[t]}function ha(e,t){var a;return e&&((a=u(t)?fa(e):Ma(e,t))?ia=a:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ia._abbr}function Ma(e,t){if(null!==t){var a,n=oa;if(t.abbr=e,null!=da[e])x("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=da[e]._config;else if(null!=t.parentLocale)if(null!=da[t.parentLocale])n=da[t.parentLocale]._config;else{if(null==(a=ca(t.parentLocale)))return _a[t.parentLocale]||(_a[t.parentLocale]=[]),_a[t.parentLocale].push({name:e,config:t}),null;n=a._config}return da[e]=new O(P(n,t)),_a[e]&&_a[e].forEach((function(e){Ma(e.name,e.config)})),ha(e),da[e]}return delete da[e],null}function ya(e,t){if(null!=t){var a,n,s=oa;null!=da[e]&&null!=da[e].parentLocale?da[e].set(P(da[e]._config,t)):(null!=(n=ca(e))&&(s=n._config),t=P(s,t),null==n&&(t.abbr=e),(a=new O(t)).parentLocale=da[e],da[e]=a),ha(e)}else null!=da[e]&&(null!=da[e].parentLocale?(da[e]=da[e].parentLocale,e===ha()&&ha(e)):null!=da[e]&&delete da[e]);return da[e]}function fa(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ia;if(!i(e)){if(t=ca(e))return t;e=[e]}return ma(e)}function La(){return b(da)}function pa(e){var t,a=e._a;return a&&-2===f(e).overflow&&(t=a[Ie]<0||a[Ie]>11?Ie:a[Ue]<1||a[Ue]>et(a[Re],a[Ie])?Ue:a[Ge]<0||a[Ge]>24||24===a[Ge]&&(0!==a[$e]||0!==a[Ze]||0!==a[qe])?Ge:a[$e]<0||a[$e]>59?$e:a[Ze]<0||a[Ze]>59?Ze:a[qe]<0||a[qe]>999?qe:-1,f(e)._overflowDayOfYear&&(t<Re||t>Ue)&&(t=Ue),f(e)._overflowWeeks&&-1===t&&(t=Ke),f(e)._overflowWeekday&&-1===t&&(t=Qe),f(e).overflow=t),e}var Ya=/^\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)?)?$/,ka=/^\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)?)?$/,ga=/Z|[+-]\d\d(?::?\d\d)?/,wa=[["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}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Da=[["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/]],va=/^\/?Date\((-?\d+)/i,Ta=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,ba={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Sa(e){var t,a,n,s,r,i,o=e._i,d=Ya.exec(o)||ka.exec(o);if(d){for(f(e).iso=!0,t=0,a=wa.length;t<a;t++)if(wa[t][1].exec(d[1])){s=wa[t][0],n=!1!==wa[t][2];break}if(null==s)return void(e._isValid=!1);if(d[3]){for(t=0,a=Da.length;t<a;t++)if(Da[t][1].exec(d[3])){r=(d[2]||" ")+Da[t][0];break}if(null==r)return void(e._isValid=!1)}if(!n&&null!=r)return void(e._isValid=!1);if(d[4]){if(!ga.exec(d[4]))return void(e._isValid=!1);i="Z"}e._f=s+(r||"")+(i||""),za(e)}else e._isValid=!1}function xa(e,t,a,n,s,r){var i=[Ha(e),at.indexOf(t),parseInt(a,10),parseInt(n,10),parseInt(s,10)];return r&&i.push(parseInt(r,10)),i}function Ha(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function ja(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Pa(e,t,a){return!e||Wt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(f(a).weekdayMismatch=!0,a._isValid=!1,!1)}function Oa(e,t,a){if(e)return ba[e];if(t)return 0;var n=parseInt(a,10),s=n%100;return(n-s)/100*60+s}function Na(e){var t,a=Ta.exec(ja(e._i));if(a){if(t=xa(a[4],a[3],a[2],a[5],a[6],a[7]),!Pa(a[1],t,e))return;e._a=t,e._tzm=Oa(a[8],a[9],a[10]),e._d=Yt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),f(e).rfc2822=!0}else e._isValid=!1}function Wa(e){var t=va.exec(e._i);null===t?(Sa(e),!1===e._isValid&&(delete e._isValid,Na(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:s.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Aa(e,t,a){return null!=e?e:null!=t?t:a}function Ea(e){var t=new Date(s.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function Fa(e){var t,a,n,s,r,i=[];if(!e._d){for(n=Ea(e),e._w&&null==e._a[Ue]&&null==e._a[Ie]&&Va(e),null!=e._dayOfYear&&(r=Aa(e._a[Re],n[Re]),(e._dayOfYear>yt(r)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),a=Yt(r,0,e._dayOfYear),e._a[Ie]=a.getUTCMonth(),e._a[Ue]=a.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=i[t]=n[t];for(;t<7;t++)e._a[t]=i[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ge]&&0===e._a[$e]&&0===e._a[Ze]&&0===e._a[qe]&&(e._nextDay=!0,e._a[Ge]=0),e._d=(e._useUTC?Yt:pt).apply(null,i),s=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ge]=24),e._w&&void 0!==e._w.d&&e._w.d!==s&&(f(e).weekdayMismatch=!0)}}function Va(e){var t,a,n,s,r,i,o,d,_;null!=(t=e._w).GG||null!=t.W||null!=t.E?(r=1,i=4,a=Aa(t.GG,e._a[Re],wt($a(),1,4).year),n=Aa(t.W,1),((s=Aa(t.E,1))<1||s>7)&&(d=!0)):(r=e._locale._week.dow,i=e._locale._week.doy,_=wt($a(),r,i),a=Aa(t.gg,e._a[Re],_.year),n=Aa(t.w,_.week),null!=t.d?((s=t.d)<0||s>6)&&(d=!0):null!=t.e?(s=t.e+r,(t.e<0||t.e>6)&&(d=!0)):s=r),n<1||n>Dt(a,r,i)?f(e)._overflowWeeks=!0:null!=d?f(e)._overflowWeekday=!0:(o=gt(a,n,s,r,i),e._a[Re]=o.year,e._dayOfYear=o.dayOfYear)}function za(e){if(e._f!==s.ISO_8601)if(e._f!==s.RFC_2822){e._a=[],f(e).empty=!0;var t,a,n,r,i,o,d=""+e._i,_=d.length,u=0;for(n=I(e._f,e._locale).match(E)||[],t=0;t<n.length;t++)r=n[t],(a=(d.match(Ae(r,e))||[])[0])&&((i=d.substr(0,d.indexOf(a))).length>0&&f(e).unusedInput.push(i),d=d.slice(d.indexOf(a)+a.length),u+=a.length),z[r]?(a?f(e).empty=!1:f(e).unusedTokens.push(r),Be(r,a,e)):e._strict&&!a&&f(e).unusedTokens.push(r);f(e).charsLeftOver=_-u,d.length>0&&f(e).unusedInput.push(d),e._a[Ge]<=12&&!0===f(e).bigHour&&e._a[Ge]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[Ge]=Ca(e._locale,e._a[Ge],e._meridiem),null!==(o=f(e).era)&&(e._a[Re]=e._locale.erasConvertYear(o,e._a[Re])),Fa(e),pa(e)}else Na(e);else Sa(e)}function Ca(e,t,a){var n;return null==a?t:null!=e.meridiemHour?e.meridiemHour(t,a):null!=e.isPM?((n=e.isPM(a))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}function Ba(e){var t,a,n,s,r,i,o=!1;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(s=0;s<e._f.length;s++)r=0,i=!1,t=g({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[s],za(t),L(t)&&(i=!0),r+=f(t).charsLeftOver,r+=10*f(t).unusedTokens.length,f(t).score=r,o?r<n&&(n=r,a=t):(null==n||r<n||i)&&(n=r,a=t,i&&(o=!0));h(e,a||t)}function Ja(e){if(!e._d){var t=re(e._i),a=void 0===t.day?t.date:t.day;e._a=c([t.year,t.month,a,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Fa(e)}}function Ra(e){var t=new w(pa(Ia(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ia(e){var t=e._i,a=e._f;return e._locale=e._locale||fa(e._l),null===t||void 0===a&&""===t?p({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),D(t)?new w(pa(t)):(m(t)?e._d=t:i(a)?Ba(e):a?za(e):Ua(e),L(e)||(e._d=null),e))}function Ua(e){var t=e._i;u(t)?e._d=new Date(s.now()):m(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Wa(e):i(t)?(e._a=c(t.slice(0),(function(e){return parseInt(e,10)})),Fa(e)):o(t)?Ja(e):l(t)?e._d=new Date(t):s.createFromInputFallback(e)}function Ga(e,t,a,n,s){var r={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==a&&!1!==a||(n=a,a=void 0),(o(e)&&_(e)||i(e)&&0===e.length)&&(e=void 0),r._isAMomentObject=!0,r._useUTC=r._isUTC=s,r._l=a,r._i=e,r._f=t,r._strict=n,Ra(r)}function $a(e,t,a,n){return Ga(e,t,a,n,!1)}s.createFromInputFallback=T("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),s.ISO_8601=function(){},s.RFC_2822=function(){};var Za=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$a.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:p()})),qa=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$a.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:p()}));function Ka(e,t){var a,n;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return $a();for(a=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](a)||(a=t[n]);return a}function Qa(){return Ka("isBefore",[].slice.call(arguments,0))}function Xa(){return Ka("isAfter",[].slice.call(arguments,0))}var en=function(){return Date.now?Date.now():+new Date},tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function an(e){var t,a,n=!1;for(t in e)if(d(e,t)&&(-1===Je.call(tn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(a=0;a<tn.length;++a)if(e[tn[a]]){if(n)return!1;parseFloat(e[tn[a]])!==le(e[tn[a]])&&(n=!0)}return!0}function nn(){return this._isValid}function sn(){return Sn(NaN)}function rn(e){var t=re(e),a=t.year||0,n=t.quarter||0,s=t.month||0,r=t.week||t.isoWeek||0,i=t.day||0,o=t.hour||0,d=t.minute||0,_=t.second||0,u=t.millisecond||0;this._isValid=an(t),this._milliseconds=+u+1e3*_+6e4*d+1e3*o*60*60,this._days=+i+7*r,this._months=+s+3*n+12*a,this._data={},this._locale=fa(),this._bubble()}function on(e){return e instanceof rn}function dn(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function _n(e,t,a){var n,s=Math.min(e.length,t.length),r=Math.abs(e.length-t.length),i=0;for(n=0;n<s;n++)(a&&e[n]!==t[n]||!a&&le(e[n])!==le(t[n]))&&i++;return i+r}function un(e,t){C(e,0,0,(function(){var e=this.utcOffset(),a="+";return e<0&&(e=-e,a="-"),a+A(~~(e/60),2)+t+A(~~e%60,2)}))}un("Z",":"),un("ZZ",""),We("Z",Pe),We("ZZ",Pe),ze(["Z","ZZ"],(function(e,t,a){a._useUTC=!0,a._tzm=mn(Pe,e)}));var ln=/([\+\-]|\d\d)/gi;function mn(e,t){var a,n,s=(t||"").match(e);return null===s?null:0===(n=60*(a=((s[s.length-1]||[])+"").match(ln)||["-",0,0])[1]+le(a[2]))?0:"+"===a[0]?n:-n}function cn(e,t){var a,n;return t._isUTC?(a=t.clone(),n=(D(e)||m(e)?e.valueOf():$a(e).valueOf())-a.valueOf(),a._d.setTime(a._d.valueOf()+n),s.updateOffset(a,!1),a):$a(e).local()}function hn(e){return-Math.round(e._d.getTimezoneOffset())}function Mn(e,t,a){var n,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(Pe,e)))return this}else Math.abs(e)<16&&!a&&(e*=60);return!this._isUTC&&t&&(n=hn(this)),this._offset=e,this._isUTC=!0,null!=n&&this.add(n,"m"),r!==e&&(!t||this._changeInProgress?On(this,Sn(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,s.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?r:hn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function fn(e){return this.utcOffset(0,e)}function Ln(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(hn(this),"m")),this}function pn(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(je,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Yn(e){return!!this.isValid()&&(e=e?$a(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function gn(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return g(t,this),(t=Ia(t))._a?(e=t._isUTC?M(t._a):$a(t._a),this._isDSTShifted=this.isValid()&&_n(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wn(){return!!this.isValid()&&!this._isUTC}function Dn(){return!!this.isValid()&&this._isUTC}function vn(){return!!this.isValid()&&this._isUTC&&0===this._offset}s.updateOffset=function(){};var Tn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,bn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Sn(e,t){var a,n,s,r=e,i=null;return on(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:l(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(i=Tn.exec(e))?(a="-"===i[1]?-1:1,r={y:0,d:le(i[Ue])*a,h:le(i[Ge])*a,m:le(i[$e])*a,s:le(i[Ze])*a,ms:le(dn(1e3*i[qe]))*a}):(i=bn.exec(e))?(a="-"===i[1]?-1:1,r={y:xn(i[2],a),M:xn(i[3],a),w:xn(i[4],a),d:xn(i[5],a),h:xn(i[6],a),m:xn(i[7],a),s:xn(i[8],a)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(s=jn($a(r.from),$a(r.to)),(r={}).ms=s.milliseconds,r.M=s.months),n=new rn(r),on(e)&&d(e,"_locale")&&(n._locale=e._locale),on(e)&&d(e,"_isValid")&&(n._isValid=e._isValid),n}function xn(e,t){var a=e&&parseFloat(e.replace(",","."));return(isNaN(a)?0:a)*t}function Hn(e,t){var a={};return a.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(a.months,"M").isAfter(t)&&--a.months,a.milliseconds=+t-+e.clone().add(a.months,"M"),a}function jn(e,t){var a;return e.isValid()&&t.isValid()?(t=cn(t,e),e.isBefore(t)?a=Hn(e,t):((a=Hn(t,e)).milliseconds=-a.milliseconds,a.months=-a.months),a):{milliseconds:0,months:0}}function Pn(e,t){return function(a,n){var s;return null===n||isNaN(+n)||(x(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."),s=a,a=n,n=s),On(this,Sn(a,n),e),this}}function On(e,t,a,n){var r=t._milliseconds,i=dn(t._days),o=dn(t._months);e.isValid()&&(n=null==n||n,o&&ut(e,ce(e,"Month")+o*a),i&&he(e,"Date",ce(e,"Date")+i*a),r&&e._d.setTime(e._d.valueOf()+r*a),n&&s.updateOffset(e,i||o))}Sn.fn=rn.prototype,Sn.invalid=sn;var Nn=Pn(1,"add"),Wn=Pn(-1,"subtract");function An(e){return"string"==typeof e||e instanceof String}function En(e){return D(e)||m(e)||An(e)||l(e)||Vn(e)||Fn(e)||null==e}function Fn(e){var t,a,n=o(e)&&!_(e),s=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"];for(t=0;t<r.length;t+=1)a=r[t],s=s||d(e,a);return n&&s}function Vn(e){var t=i(e),a=!1;return t&&(a=0===e.filter((function(t){return!l(t)&&An(e)})).length),t&&a}function zn(e){var t,a,n=o(e)&&!_(e),s=!1,r=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<r.length;t+=1)a=r[t],s=s||d(e,a);return n&&s}function Cn(e,t){var a=e.diff(t,"days",!0);return a<-6?"sameElse":a<-1?"lastWeek":a<0?"lastDay":a<1?"sameDay":a<2?"nextDay":a<7?"nextWeek":"sameElse"}function Bn(e,t){1===arguments.length&&(arguments[0]?En(arguments[0])?(e=arguments[0],t=void 0):zn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var a=e||$a(),n=cn(a,this).startOf("day"),r=s.calendarFormat(this,n)||"sameElse",i=t&&(H(t[r])?t[r].call(this,a):t[r]);return this.format(i||this.localeData().calendar(r,this,$a(a)))}function Jn(){return new w(this)}function Rn(e,t){var a=D(e)?e:$a(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=se(t)||"millisecond")?this.valueOf()>a.valueOf():a.valueOf()<this.clone().startOf(t).valueOf())}function In(e,t){var a=D(e)?e:$a(e);return!(!this.isValid()||!a.isValid())&&("millisecond"===(t=se(t)||"millisecond")?this.valueOf()<a.valueOf():this.clone().endOf(t).valueOf()<a.valueOf())}function Un(e,t,a,n){var s=D(e)?e:$a(e),r=D(t)?t:$a(t);return!!(this.isValid()&&s.isValid()&&r.isValid())&&("("===(n=n||"()")[0]?this.isAfter(s,a):!this.isBefore(s,a))&&(")"===n[1]?this.isBefore(r,a):!this.isAfter(r,a))}function Gn(e,t){var a,n=D(e)?e:$a(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=se(t)||"millisecond")?this.valueOf()===n.valueOf():(a=n.valueOf(),this.clone().startOf(t).valueOf()<=a&&a<=this.clone().endOf(t).valueOf()))}function $n(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Zn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qn(e,t,a){var n,s,r;if(!this.isValid())return NaN;if(!(n=cn(e,this)).isValid())return NaN;switch(s=6e4*(n.utcOffset()-this.utcOffset()),t=se(t)){case"year":r=Kn(this,n)/12;break;case"month":r=Kn(this,n);break;case"quarter":r=Kn(this,n)/3;break;case"second":r=(this-n)/1e3;break;case"minute":r=(this-n)/6e4;break;case"hour":r=(this-n)/36e5;break;case"day":r=(this-n-s)/864e5;break;case"week":r=(this-n-s)/6048e5;break;default:r=this-n}return a?r:ue(r)}function Kn(e,t){if(e.date()<t.date())return-Kn(t,e);var a=12*(t.year()-e.year())+(t.month()-e.month()),n=e.clone().add(a,"months");return-(a+(t-n<0?(t-n)/(n-e.clone().add(a-1,"months")):(t-n)/(e.clone().add(a+1,"months")-n)))||0}function Qn(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Xn(e){if(!this.isValid())return null;var t=!0!==e,a=t?this.clone().utc():this;return a.year()<0||a.year()>9999?R(a,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):H(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",R(a,"Z")):R(a,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function es(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,a,n,s="moment",r="";return this.isLocal()||(s=0===this.utcOffset()?"moment.utc":"moment.parseZone",r="Z"),e="["+s+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",n=r+'[")]',this.format(e+t+a+n)}function ts(e){e||(e=this.isUtc()?s.defaultFormatUtc:s.defaultFormat);var t=R(this,e);return this.localeData().postformat(t)}function as(e,t){return this.isValid()&&(D(e)&&e.isValid()||$a(e).isValid())?Sn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ns(e){return this.from($a(),e)}function ss(e,t){return this.isValid()&&(D(e)&&e.isValid()||$a(e).isValid())?Sn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rs(e){return this.to($a(),e)}function is(e){var t;return void 0===e?this._locale._abbr:(null!=(t=fa(e))&&(this._locale=t),this)}s.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",s.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var os=T("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 ds(){return this._locale}var _s=1e3,us=60*_s,ls=60*us,ms=3506328*ls;function cs(e,t){return(e%t+t)%t}function hs(e,t,a){return e<100&&e>=0?new Date(e+400,t,a)-ms:new Date(e,t,a).valueOf()}function Ms(e,t,a){return e<100&&e>=0?Date.UTC(e+400,t,a)-ms:Date.UTC(e,t,a)}function ys(e){var t,a;if(void 0===(e=se(e))||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?Ms:hs,e){case"year":t=a(this.year(),0,1);break;case"quarter":t=a(this.year(),this.month()-this.month()%3,1);break;case"month":t=a(this.year(),this.month(),1);break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=a(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=cs(t+(this._isUTC?0:this.utcOffset()*us),ls);break;case"minute":t=this._d.valueOf(),t-=cs(t,us);break;case"second":t=this._d.valueOf(),t-=cs(t,_s)}return this._d.setTime(t),s.updateOffset(this,!0),this}function fs(e){var t,a;if(void 0===(e=se(e))||"millisecond"===e||!this.isValid())return this;switch(a=this._isUTC?Ms:hs,e){case"year":t=a(this.year()+1,0,1)-1;break;case"quarter":t=a(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=a(this.year(),this.month()+1,1)-1;break;case"week":t=a(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=a(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=a(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ls-cs(t+(this._isUTC?0:this.utcOffset()*us),ls)-1;break;case"minute":t=this._d.valueOf(),t+=us-cs(t,us)-1;break;case"second":t=this._d.valueOf(),t+=_s-cs(t,_s)-1}return this._d.setTime(t),s.updateOffset(this,!0),this}function Ls(){return this._d.valueOf()-6e4*(this._offset||0)}function ps(){return Math.floor(this.valueOf()/1e3)}function Ys(){return new Date(this.valueOf())}function ks(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function gs(){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 ws(){return this.isValid()?this.toISOString():null}function Ds(){return L(this)}function vs(){return h({},f(this))}function Ts(){return f(this).overflow}function bs(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ss(e,t){var a,n,r,i=this._eras||fa("en")._eras;for(a=0,n=i.length;a<n;++a){switch(typeof i[a].since){case"string":r=s(i[a].since).startOf("day"),i[a].since=r.valueOf()}switch(typeof i[a].until){case"undefined":i[a].until=1/0;break;case"string":r=s(i[a].until).startOf("day").valueOf(),i[a].until=r.valueOf()}}return i}function xs(e,t,a){var n,s,r,i,o,d=this.eras();for(e=e.toUpperCase(),n=0,s=d.length;n<s;++n)if(r=d[n].name.toUpperCase(),i=d[n].abbr.toUpperCase(),o=d[n].narrow.toUpperCase(),a)switch(t){case"N":case"NN":case"NNN":if(i===e)return d[n];break;case"NNNN":if(r===e)return d[n];break;case"NNNNN":if(o===e)return d[n]}else if([r,i,o].indexOf(e)>=0)return d[n]}function Hs(e,t){var a=e.since<=e.until?1:-1;return void 0===t?s(e.since).year():s(e.since).year()+(t-e.offset)*a}function js(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].name;if(n[e].until<=a&&a<=n[e].since)return n[e].name}return""}function Ps(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].narrow;if(n[e].until<=a&&a<=n[e].since)return n[e].narrow}return""}function Os(){var e,t,a,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(a=this.clone().startOf("day").valueOf(),n[e].since<=a&&a<=n[e].until)return n[e].abbr;if(n[e].until<=a&&a<=n[e].since)return n[e].abbr}return""}function Ns(){var e,t,a,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e)if(a=r[e].since<=r[e].until?1:-1,n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until||r[e].until<=n&&n<=r[e].since)return(this.year()-s(r[e].since).year())*a+r[e].offset;return this.year()}function Ws(e){return d(this,"_erasNameRegex")||Bs.call(this),e?this._erasNameRegex:this._erasRegex}function As(e){return d(this,"_erasAbbrRegex")||Bs.call(this),e?this._erasAbbrRegex:this._erasRegex}function Es(e){return d(this,"_erasNarrowRegex")||Bs.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fs(e,t){return t.erasAbbrRegex(e)}function Vs(e,t){return t.erasNameRegex(e)}function zs(e,t){return t.erasNarrowRegex(e)}function Cs(e,t){return t._eraYearOrdinalRegex||xe}function Bs(){var e,t,a=[],n=[],s=[],r=[],i=this.eras();for(e=0,t=i.length;e<t;++e)n.push(Fe(i[e].name)),a.push(Fe(i[e].abbr)),s.push(Fe(i[e].narrow)),r.push(Fe(i[e].name)),r.push(Fe(i[e].abbr)),r.push(Fe(i[e].narrow));this._erasRegex=new RegExp("^("+r.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+s.join("|")+")","i")}function Js(e,t){C(0,[e,e.length],0,t)}function Rs(e){return qs.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Is(e){return qs.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Us(){return Dt(this.year(),1,4)}function Gs(){return Dt(this.isoWeekYear(),1,4)}function $s(){var e=this.localeData()._week;return Dt(this.year(),e.dow,e.doy)}function Zs(){var e=this.localeData()._week;return Dt(this.weekYear(),e.dow,e.doy)}function qs(e,t,a,n,s){var r;return null==e?wt(this,n,s).year:(t>(r=Dt(e,n,s))&&(t=r),Ks.call(this,e,t,a,n,s))}function Ks(e,t,a,n,s){var r=gt(e,t,a,n,s),i=Yt(r.year,0,r.dayOfYear);return this.year(i.getUTCFullYear()),this.month(i.getUTCMonth()),this.date(i.getUTCDate()),this}function Qs(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}C("N",0,0,"eraAbbr"),C("NN",0,0,"eraAbbr"),C("NNN",0,0,"eraAbbr"),C("NNNN",0,0,"eraName"),C("NNNNN",0,0,"eraNarrow"),C("y",["y",1],"yo","eraYear"),C("y",["yy",2],0,"eraYear"),C("y",["yyy",3],0,"eraYear"),C("y",["yyyy",4],0,"eraYear"),We("N",Fs),We("NN",Fs),We("NNN",Fs),We("NNNN",Vs),We("NNNNN",zs),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,a,n){var s=a._locale.erasParse(e,n,a._strict);s?f(a).era=s:f(a).invalidEra=e})),We("y",xe),We("yy",xe),We("yyy",xe),We("yyyy",xe),We("yo",Cs),ze(["y","yy","yyy","yyyy"],Re),ze(["yo"],(function(e,t,a,n){var s;a._locale._eraYearOrdinalRegex&&(s=e.match(a._locale._eraYearOrdinalRegex)),a._locale.eraYearOrdinalParse?t[Re]=a._locale.eraYearOrdinalParse(e,s):t[Re]=parseInt(e,10)})),C(0,["gg",2],0,(function(){return this.weekYear()%100})),C(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Js("gggg","weekYear"),Js("ggggg","weekYear"),Js("GGGG","isoWeekYear"),Js("GGGGG","isoWeekYear"),ne("weekYear","gg"),ne("isoWeekYear","GG"),oe("weekYear",1),oe("isoWeekYear",1),We("G",He),We("g",He),We("GG",we,pe),We("gg",we,pe),We("GGGG",be,ke),We("gggg",be,ke),We("GGGGG",Se,ge),We("ggggg",Se,ge),Ce(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,a,n){t[n.substr(0,2)]=le(e)})),Ce(["gg","GG"],(function(e,t,a,n){t[n]=s.parseTwoDigitYear(e)})),C("Q",0,"Qo","quarter"),ne("quarter","Q"),oe("quarter",7),We("Q",Le),ze("Q",(function(e,t){t[Ie]=3*(le(e)-1)})),C("D",["DD",2],"Do","date"),ne("date","D"),oe("date",9),We("D",we),We("DD",we,pe),We("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],Ue),ze("Do",(function(e,t){t[Ue]=le(e.match(we)[0])}));var Xs=me("Date",!0);function er(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}C("DDD",["DDDD",3],"DDDo","dayOfYear"),ne("dayOfYear","DDD"),oe("dayOfYear",4),We("DDD",Te),We("DDDD",Ye),ze(["DDD","DDDD"],(function(e,t,a){a._dayOfYear=le(e)})),C("m",["mm",2],0,"minute"),ne("minute","m"),oe("minute",14),We("m",we),We("mm",we,pe),ze(["m","mm"],$e);var tr=me("Minutes",!1);C("s",["ss",2],0,"second"),ne("second","s"),oe("second",15),We("s",we),We("ss",we,pe),ze(["s","ss"],Ze);var ar,nr,sr=me("Seconds",!1);for(C("S",0,0,(function(){return~~(this.millisecond()/100)})),C(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),C(0,["SSS",3],0,"millisecond"),C(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),C(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),C(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),C(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),C(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),C(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),ne("millisecond","ms"),oe("millisecond",16),We("S",Te,Le),We("SS",Te,pe),We("SSS",Te,Ye),ar="SSSS";ar.length<=9;ar+="S")We(ar,xe);function rr(e,t){t[qe]=le(1e3*("0."+e))}for(ar="S";ar.length<=9;ar+="S")ze(ar,rr);function ir(){return this._isUTC?"UTC":""}function or(){return this._isUTC?"Coordinated Universal Time":""}nr=me("Milliseconds",!1),C("z",0,0,"zoneAbbr"),C("zz",0,0,"zoneName");var dr=w.prototype;function _r(e){return $a(1e3*e)}function ur(){return $a.apply(null,arguments).parseZone()}function lr(e){return e}dr.add=Nn,dr.calendar=Bn,dr.clone=Jn,dr.diff=qn,dr.endOf=fs,dr.format=ts,dr.from=as,dr.fromNow=ns,dr.to=ss,dr.toNow=rs,dr.get=Me,dr.invalidAt=Ts,dr.isAfter=Rn,dr.isBefore=In,dr.isBetween=Un,dr.isSame=Gn,dr.isSameOrAfter=$n,dr.isSameOrBefore=Zn,dr.isValid=Ds,dr.lang=os,dr.locale=is,dr.localeData=ds,dr.max=qa,dr.min=Za,dr.parsingFlags=vs,dr.set=ye,dr.startOf=ys,dr.subtract=Wn,dr.toArray=ks,dr.toObject=gs,dr.toDate=Ys,dr.toISOString=Xn,dr.inspect=es,"undefined"!=typeof Symbol&&null!=Symbol.for&&(dr[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),dr.toJSON=ws,dr.toString=Qn,dr.unix=ps,dr.valueOf=Ls,dr.creationData=bs,dr.eraName=js,dr.eraNarrow=Ps,dr.eraAbbr=Os,dr.eraYear=Ns,dr.year=ft,dr.isLeapYear=Lt,dr.weekYear=Rs,dr.isoWeekYear=Is,dr.quarter=dr.quarters=Qs,dr.month=lt,dr.daysInMonth=mt,dr.week=dr.weeks=xt,dr.isoWeek=dr.isoWeeks=Ht,dr.weeksInYear=$s,dr.weeksInWeekYear=Zs,dr.isoWeeksInYear=Us,dr.isoWeeksInISOWeekYear=Gs,dr.date=Xs,dr.day=dr.days=It,dr.weekday=Ut,dr.isoWeekday=Gt,dr.dayOfYear=er,dr.hour=dr.hours=sa,dr.minute=dr.minutes=tr,dr.second=dr.seconds=sr,dr.millisecond=dr.milliseconds=nr,dr.utcOffset=Mn,dr.utc=fn,dr.local=Ln,dr.parseZone=pn,dr.hasAlignedHourOffset=Yn,dr.isDST=kn,dr.isLocal=wn,dr.isUtcOffset=Dn,dr.isUtc=vn,dr.isUTC=vn,dr.zoneAbbr=ir,dr.zoneName=or,dr.dates=T("dates accessor is deprecated. Use date instead.",Xs),dr.months=T("months accessor is deprecated. Use month instead",lt),dr.years=T("years accessor is deprecated. Use year instead",ft),dr.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),dr.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",gn);var mr=O.prototype;function cr(e,t,a,n){var s=fa(),r=M().set(n,t);return s[a](r,e)}function hr(e,t,a){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return cr(e,t,a,"month");var n,s=[];for(n=0;n<12;n++)s[n]=cr(e,n,a,"month");return s}function Mr(e,t,a,n){"boolean"==typeof e?(l(t)&&(a=t,t=void 0),t=t||""):(a=t=e,e=!1,l(t)&&(a=t,t=void 0),t=t||"");var s,r=fa(),i=e?r._week.dow:0,o=[];if(null!=a)return cr(t,(a+i)%7,n,"day");for(s=0;s<7;s++)o[s]=cr(t,(s+i)%7,n,"day");return o}function yr(e,t){return hr(e,t,"months")}function fr(e,t){return hr(e,t,"monthsShort")}function Lr(e,t,a){return Mr(e,t,a,"weekdays")}function pr(e,t,a){return Mr(e,t,a,"weekdaysShort")}function Yr(e,t,a){return Mr(e,t,a,"weekdaysMin")}mr.calendar=W,mr.longDateFormat=G,mr.invalidDate=Z,mr.ordinal=Q,mr.preparse=lr,mr.postformat=lr,mr.relativeTime=ee,mr.pastFuture=te,mr.set=j,mr.eras=Ss,mr.erasParse=xs,mr.erasConvertYear=Hs,mr.erasAbbrRegex=As,mr.erasNameRegex=Ws,mr.erasNarrowRegex=Es,mr.months=it,mr.monthsShort=ot,mr.monthsParse=_t,mr.monthsRegex=ht,mr.monthsShortRegex=ct,mr.week=vt,mr.firstDayOfYear=St,mr.firstDayOfWeek=bt,mr.weekdays=zt,mr.weekdaysMin=Bt,mr.weekdaysShort=Ct,mr.weekdaysParse=Rt,mr.weekdaysRegex=$t,mr.weekdaysShortRegex=Zt,mr.weekdaysMinRegex=qt,mr.isPM=aa,mr.meridiem=ra,ha("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),s.lang=T("moment.lang is deprecated. Use moment.locale instead.",ha),s.langData=T("moment.langData is deprecated. Use moment.localeData instead.",fa);var kr=Math.abs;function gr(){var e=this._data;return this._milliseconds=kr(this._milliseconds),this._days=kr(this._days),this._months=kr(this._months),e.milliseconds=kr(e.milliseconds),e.seconds=kr(e.seconds),e.minutes=kr(e.minutes),e.hours=kr(e.hours),e.months=kr(e.months),e.years=kr(e.years),this}function wr(e,t,a,n){var s=Sn(t,a);return e._milliseconds+=n*s._milliseconds,e._days+=n*s._days,e._months+=n*s._months,e._bubble()}function Dr(e,t){return wr(this,e,t,1)}function vr(e,t){return wr(this,e,t,-1)}function Tr(e){return e<0?Math.floor(e):Math.ceil(e)}function br(){var e,t,a,n,s,r=this._milliseconds,i=this._days,o=this._months,d=this._data;return r>=0&&i>=0&&o>=0||r<=0&&i<=0&&o<=0||(r+=864e5*Tr(xr(o)+i),i=0,o=0),d.milliseconds=r%1e3,e=ue(r/1e3),d.seconds=e%60,t=ue(e/60),d.minutes=t%60,a=ue(t/60),d.hours=a%24,i+=ue(a/24),o+=s=ue(Sr(i)),i-=Tr(xr(s)),n=ue(o/12),o%=12,d.days=i,d.months=o,d.years=n,this}function Sr(e){return 4800*e/146097}function xr(e){return 146097*e/4800}function Hr(e){if(!this.isValid())return NaN;var t,a,n=this._milliseconds;if("month"===(e=se(e))||"quarter"===e||"year"===e)switch(t=this._days+n/864e5,a=this._months+Sr(t),e){case"month":return a;case"quarter":return a/3;case"year":return a/12}else switch(t=this._days+Math.round(xr(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return 24*t+n/36e5;case"minute":return 1440*t+n/6e4;case"second":return 86400*t+n/1e3;case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}function jr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*le(this._months/12):NaN}function Pr(e){return function(){return this.as(e)}}var Or=Pr("ms"),Nr=Pr("s"),Wr=Pr("m"),Ar=Pr("h"),Er=Pr("d"),Fr=Pr("w"),Vr=Pr("M"),zr=Pr("Q"),Cr=Pr("y");function Br(){return Sn(this)}function Jr(e){return e=se(e),this.isValid()?this[e+"s"]():NaN}function Rr(e){return function(){return this.isValid()?this._data[e]:NaN}}var Ir=Rr("milliseconds"),Ur=Rr("seconds"),Gr=Rr("minutes"),$r=Rr("hours"),Zr=Rr("days"),qr=Rr("months"),Kr=Rr("years");function Qr(){return ue(this.days()/7)}var Xr=Math.round,ei={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ti(e,t,a,n,s){return s.relativeTime(t||1,!!a,e,n)}function ai(e,t,a,n){var s=Sn(e).abs(),r=Xr(s.as("s")),i=Xr(s.as("m")),o=Xr(s.as("h")),d=Xr(s.as("d")),_=Xr(s.as("M")),u=Xr(s.as("w")),l=Xr(s.as("y")),m=r<=a.ss&&["s",r]||r<a.s&&["ss",r]||i<=1&&["m"]||i<a.m&&["mm",i]||o<=1&&["h"]||o<a.h&&["hh",o]||d<=1&&["d"]||d<a.d&&["dd",d];return null!=a.w&&(m=m||u<=1&&["w"]||u<a.w&&["ww",u]),(m=m||_<=1&&["M"]||_<a.M&&["MM",_]||l<=1&&["y"]||["yy",l])[2]=t,m[3]=+e>0,m[4]=n,ti.apply(null,m)}function ni(e){return void 0===e?Xr:"function"==typeof e&&(Xr=e,!0)}function si(e,t){return void 0!==ei[e]&&(void 0===t?ei[e]:(ei[e]=t,"s"===e&&(ei.ss=t-1),!0))}function ri(e,t){if(!this.isValid())return this.localeData().invalidDate();var a,n,s=!1,r=ei;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(s=e),"object"==typeof t&&(r=Object.assign({},ei,t),null!=t.s&&null==t.ss&&(r.ss=t.s-1)),n=ai(this,!s,r,a=this.localeData()),s&&(n=a.pastFuture(+this,n)),a.postformat(n)}var ii=Math.abs;function oi(e){return(e>0)-(e<0)||+e}function di(){if(!this.isValid())return this.localeData().invalidDate();var e,t,a,n,s,r,i,o,d=ii(this._milliseconds)/1e3,_=ii(this._days),u=ii(this._months),l=this.asSeconds();return l?(e=ue(d/60),t=ue(e/60),d%=60,e%=60,a=ue(u/12),u%=12,n=d?d.toFixed(3).replace(/\.?0+$/,""):"",s=l<0?"-":"",r=oi(this._months)!==oi(l)?"-":"",i=oi(this._days)!==oi(l)?"-":"",o=oi(this._milliseconds)!==oi(l)?"-":"",s+"P"+(a?r+a+"Y":"")+(u?r+u+"M":"")+(_?i+_+"D":"")+(t||e||d?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(d?o+n+"S":"")):"P0D"}var _i=rn.prototype;return _i.isValid=nn,_i.abs=gr,_i.add=Dr,_i.subtract=vr,_i.as=Hr,_i.asMilliseconds=Or,_i.asSeconds=Nr,_i.asMinutes=Wr,_i.asHours=Ar,_i.asDays=Er,_i.asWeeks=Fr,_i.asMonths=Vr,_i.asQuarters=zr,_i.asYears=Cr,_i.valueOf=jr,_i._bubble=br,_i.clone=Br,_i.get=Jr,_i.milliseconds=Ir,_i.seconds=Ur,_i.minutes=Gr,_i.hours=$r,_i.days=Zr,_i.weeks=Qr,_i.months=qr,_i.years=Kr,_i.humanize=ri,_i.toISOString=di,_i.toString=di,_i.toJSON=di,_i.locale=is,_i.localeData=ds,_i.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",di),_i.lang=os,C("X",0,0,"unix"),C("x",0,0,"valueOf"),We("x",He),We("X",Oe),ze("X",(function(e,t,a){a._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,a){a._d=new Date(le(e))})),s.version="2.29.1",r($a),s.fn=dr,s.min=Qa,s.max=Xa,s.now=en,s.utc=M,s.unix=_r,s.months=yr,s.isDate=m,s.locale=ha,s.invalid=p,s.duration=Sn,s.isMoment=D,s.weekdays=Lr,s.parseZone=ur,s.localeData=fa,s.isDuration=on,s.monthsShort=fr,s.weekdaysMin=Yr,s.defineLocale=Ma,s.updateLocale=ya,s.locales=La,s.weekdaysShort=pr,s.normalizeUnits=se,s.relativeTimeRounding=ni,s.relativeTimeThreshold=si,s.calendarFormat=Cn,s.prototype=dr,s.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},s}()},9126:(e,t,a)=>{"use strict";a.d(t,{Z:()=>i});var n=a(5166),s={class:"inline-flex justify-center py-2 px-4 border border-transparent shadow-sm text-sm\n font-medium rounded-md text-white bg-rose-600 hover:bg-rose-700 focus:outline-none\n focus:ring-2 focus:ring-offset-2 focus:ring-rose-500"};const r={render:function(e,t){return(0,n.openBlock)(),(0,n.createBlock)("button",s,[(0,n.renderSlot)(e.$slots,"default")])}},i=r},6389:(e,t,a)=>{"use strict";a.d(t,{Z:()=>r});var n=a(5166);const s={props:{id:{type:[String,Number],required:!0}},render:function(e,t,a,s,r,i){return(0,n.openBlock)(),(0,n.createBlock)("p",{"aria-live":"assertive",class:"mt-2 text-sm text-red-600",id:a.id},[(0,n.renderSlot)(e.$slots,"default")],8,["id"])}},r=s},1223:(e,t,a)=>{"use strict";a.d(t,{Z:()=>c});var n=a(5166);function s(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?s(Object(a),!0).forEach((function(t){i(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):s(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function i(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var o={class:"mt-1 relative rounded-md shadow-sm"},d={key:0,class:"absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none"},_=(0,n.createVNode)("svg",{class:"h-5 w-5 text-red-500",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z","clip-rule":"evenodd"})],-1);var u=a(4405),l=a(9300);const m={emits:["update:modelValue"],components:{BaseErrorMessage:a(6389).Z},props:{label:{type:String,default:""},mask:{type:[String,Object],required:!0},placeholder:{type:String,default:""},error:{type:String,default:""},modelValue:{type:[String,Number],default:""}},setup:function(e,t){return{updateValue:(0,u.Z)(e,t).updateValue,uuid:(0,l.Z)().getID()}},render:function(e,t,a,s,i,u){var l=(0,n.resolveComponent)("BaseErrorMessage"),m=(0,n.resolveDirective)("maska");return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,null,[a.label?((0,n.openBlock)(),(0,n.createBlock)("label",{key:0,for:s.uuid,class:"block text-sm font-medium text-gray-700"},(0,n.toDisplayString)(a.label),9,["for"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)("div",o,[(0,n.withDirectives)((0,n.createVNode)("input",(0,n.mergeProps)({class:"block w-full pr-10 shadow-sm focus:ring-indigo-400 focus:border-indigo-500 sm:text-sm border-gray-300 rounded-md placeholder-gray-400"},r(r({},e.$attrs),{},{onInput:s.updateValue}),{id:s.uuid,value:a.modelValue,placeholder:a.placeholder,"aria-describedby":a.error?"".concat(s.uuid,"-error"):null,"aria-invalid":!!a.error,class:a.error?"border-red-300 text-red-900 placeholder-red-300":""}),null,16,["id","value","placeholder","aria-describedby","aria-invalid"]),[[m,a.mask]]),a.error?((0,n.openBlock)(),(0,n.createBlock)("div",d,[_])):(0,n.createCommentVNode)("",!0)]),a.error?((0,n.openBlock)(),(0,n.createBlock)(l,{key:1,id:"".concat(s.uuid,"-error")},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.error),1)]})),_:1},8,["id"])):(0,n.createCommentVNode)("",!0)],64)}},c=m},9551:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(5166),s={class:"mt-6 sm:mt-2 2xl:mt-5"},r={class:"px-4 sm:px-6 lg:max-w-7xl lg:mx-auto lg:px-8 xl:max-w-screen-2xl border-b"},i={class:"-mb-px flex space-x-8","aria-label":"Tabs"},o=(0,n.createTextVNode)(" Formular "),d=(0,n.createTextVNode)(" Podaci o prijavi "),_=(0,n.createTextVNode)(" Dokumenti "),u=(0,n.createTextVNode)(" Plaćanje ");const l={props:{title:String,url:String,uuid:String,type:String},render:function(e,t,a,l,m,c){var h=(0,n.resolveComponent)("inertia-link");return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,null,[(0,n.createVNode)("div",s,[(0,n.createVNode)("div",r,[(0,n.createVNode)("nav",i,[a.uuid?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(h,{key:0,href:e.route("user."+a.type+".form"),class:["whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm","application/form"==a.url?"border-pink-500 text-gray-900 ":"border-transparent hover:border-gray-300 text-gray-500 hover:text-gray-700"],"aria-current":"page"},{default:(0,n.withCtx)((function(){return[o]})),_:1},8,["href","class"])),a.uuid?((0,n.openBlock)(),(0,n.createBlock)(h,{key:1,href:e.route("user."+a.type+".application"),class:["whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm","application/form"==a.url?"border-pink-500 text-gray-900 ":"border-transparent hover:border-gray-300 text-gray-500 hover:text-gray-700"],"aria-current":"page"},{default:(0,n.withCtx)((function(){return[d]})),_:1},8,["href","class"])):(0,n.createCommentVNode)("",!0),a.uuid?((0,n.openBlock)(),(0,n.createBlock)(h,{key:2,href:e.route("user."+a.type+".application.documents",a.uuid),class:["whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm","application/documents"==a.url?"border-pink-500 text-gray-900 ":"border-transparent hover:border-gray-300 text-gray-500 hover:text-gray-700"],"aria-current":"page"},{default:(0,n.withCtx)((function(){return[_]})),_:1},8,["href","class"])):(0,n.createCommentVNode)("",!0),a.uuid?((0,n.openBlock)(),(0,n.createBlock)(h,{key:3,href:e.route("user."+a.type+".application.pay",a.uuid),class:["whitespace-nowrap py-4 px-1 border-b-2 font-medium text-sm","application/pay"==a.url?"border-pink-500 text-gray-900 ":"border-transparent hover:border-gray-300 text-gray-500 hover:text-gray-700"],"aria-current":"page"},{default:(0,n.withCtx)((function(){return[u]})),_:1},8,["href","class"])):(0,n.createCommentVNode)("",!0)])])]),(0,n.renderSlot)(e.$slots,"default")],64)}},m=l},9222:(e,t,a)=>{"use strict";a.d(t,{Z:()=>Pe});var n=a(5166),s={class:"h-screen flex overflow-hidden"},r={class:"hidden xl:flex xl:flex-shrink-0"},i={class:"flex flex-col w-64"},o={id:"main-modal",class:"flex-1 overflow-auto focus:outline-none"},d={class:"relative z-10 flex-shrink-0 flex h-16 bg-white border-b border-gray-200 lg:border-none"},_=(0,n.createVNode)("svg",{class:"h-6 w-6 transition ease-in-out duration-150",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h8m-8 6h16"})],-1),u={class:"flex-1 flex justify-between px-4 sm:px-6 lg:max-w-7xl lg:mx-auto lg:px-8 xl:max-w-screen-2xl border-b"},l={class:"flex-1 flex"},m={class:"my-auto font-bold text-2xl"},c={key:0},h={key:2,class:"text-gray-900 font-medium"},M={key:3},y={class:"ml-4 flex items-center md:ml-6"},f={class:"ml-3 relative",ref:"dropdown"},L={class:"hidden ml-3 text-gray-700 text-sm leading-5 font-medium xl:block"},p=(0,n.createVNode)("svg",{class:"hidden flex-shrink-0 ml-1 h-5 w-5 text-gray-400 xl:block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[(0,n.createVNode)("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Y={class:"origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5"},k={class:"py-1 rounded-md bg-white shadow-xs",role:"menu","aria-orientation":"vertical","aria-labelledby":"user-menu"},g=(0,n.createTextVNode)("Profile"),w=(0,n.createTextVNode)("Dashboard"),D={class:"flex-1 relative pb-8 z-0 overflow-y-auto min-h-screen"};var v=a(9680),T=a(9669),b=a.n(T),S={class:"z-50 fixed inset-0 flex items-end justify-center px-4 py-6 pointer-events-none sm:p-6 sm:items-start sm:justify-end"},x={class:"max-w-sm w-full"},H={key:0,class:"p-4"},j={class:"flex items-start"},P=(0,n.createVNode)("div",{class:"flex-shrink-0"},[(0,n.createVNode)("svg",{class:"h-6 w-6 text-red-500",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),O={class:"ml-3 w-0 flex-1 pt-0.5"},N={class:"text-sm font-semibold text-red-500"},W={class:"mt-1 text-sm text-gray-500"},A={class:"ml-4 flex-shrink-0 flex"},E=(0,n.createVNode)("span",{class:"sr-only"},"Close",-1),F=(0,n.createVNode)("svg",{class:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),V={key:1,class:"p-4"},z={class:"flex items-start"},C=(0,n.createVNode)("div",{class:"flex-shrink-0"},[(0,n.createVNode)("svg",{class:"h-6 w-6 text-green-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),B={class:"ml-3 w-0 flex-1 pt-0.5"},J={class:"text-sm font-medium text-gray-900"},R={class:"mt-1 text-sm text-gray-500"},I={class:"ml-4 flex-shrink-0 flex"},U=(0,n.createVNode)("span",{class:"sr-only"},"Close",-1),G=(0,n.createVNode)("svg",{class:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),$={key:2,class:"p-4"},Z={class:"flex items-start"},q=(0,n.createVNode)("div",{class:"flex-shrink-0"},[(0,n.createVNode)("svg",{class:"h-6 w-6 text-yellow-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})])],-1),K={class:"ml-3 w-0 flex-1 pt-0.5"},Q={class:"text-sm font-medium text-gray-900"},X={class:"mt-1 text-sm text-gray-500"},ee={class:"ml-4 flex-shrink-0 flex"},te=(0,n.createVNode)("span",{class:"sr-only"},"Close",-1),ae=(0,n.createVNode)("svg",{class:"h-5 w-5",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1);const ne={props:{type:String},methods:{borderClass:function(e){switch(e){case"error":return"border-red-300";case"success":return"border-green-200 ";case"info":return"border-yellow-200 "}}},render:function(e,t,a,s,r,i){var o=(0,n.resolveComponent)("notification"),d=(0,n.resolveComponent)("notificationGroup");return(0,n.openBlock)(),(0,n.createBlock)(d,{group:"common",position:"bottom"},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)("div",S,[(0,n.createVNode)("div",x,[e.$page.props.popstate?(0,n.createCommentVNode)("",!0):((0,n.openBlock)(),(0,n.createBlock)(o,{key:0},{default:(0,n.withCtx)((function(e){var t=e.notifications,a=e.close;return[((0,n.openBlock)(!0),(0,n.createBlock)(n.Fragment,null,(0,n.renderList)(t,(function(e){return(0,n.openBlock)(),(0,n.createBlock)("div",{key:e.id,class:[i.borderClass(e.type),"max-w-sm w-full bg-white border shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"]},["error"===e.type?((0,n.openBlock)(),(0,n.createBlock)("div",H,[(0,n.createVNode)("div",j,[P,(0,n.createVNode)("div",O,[(0,n.createVNode)("p",N,(0,n.toDisplayString)(e.title),1),(0,n.createVNode)("p",W,(0,n.toDisplayString)(e.text),1)]),(0,n.createVNode)("div",A,[(0,n.createVNode)("button",{onClick:function(t){return a(e.id)},class:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[E,F],8,["onClick"])])])])):(0,n.createCommentVNode)("",!0),"success"===e.type?((0,n.openBlock)(),(0,n.createBlock)("div",V,[(0,n.createVNode)("div",z,[C,(0,n.createVNode)("div",B,[(0,n.createVNode)("p",J,(0,n.toDisplayString)(e.title),1),(0,n.createVNode)("p",R,(0,n.toDisplayString)(e.text),1)]),(0,n.createVNode)("div",I,[(0,n.createVNode)("button",{onClick:function(t){return a(e.id)},class:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[U,G],8,["onClick"])])])])):(0,n.createCommentVNode)("",!0),"info"===e.type?((0,n.openBlock)(),(0,n.createBlock)("div",$,[(0,n.createVNode)("div",Z,[q,(0,n.createVNode)("div",K,[(0,n.createVNode)("p",Q,(0,n.toDisplayString)(e.title),1),(0,n.createVNode)("p",X,(0,n.toDisplayString)(e.text),1)]),(0,n.createVNode)("div",ee,[(0,n.createVNode)("button",{onClick:function(t){return a(e.id)},class:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[te,ae],8,["onClick"])])])])):(0,n.createCommentVNode)("",!0)],2)})),128))]})),_:1}))])])]})),_:1})}},se=ne;var re={key:0,class:"flex ml-2 rounded-full bg-gray-300 text-gray-800 w-6 h-6"},ie={key:0,class:"m-auto font-semibold font-mono"},oe={key:1,class:"flex ml-2 rounded-full bg-gray-300 text-gray-800 w-6 h-6"},de={key:0,class:"m-auto font-semibold font-mono"};const _e={components:{NewIcon:a(3930).Z},emits:["linkclicked"],props:{active:Boolean,label:String,iconName:String,routeName:String,unreadMessages:Boolean,unreadNotices:Boolean},render:function(e,t,a,s,r,i){var o=(0,n.resolveComponent)("new-icon");return(0,n.openBlock)(),(0,n.createBlock)("a",{onClick:t[1]||(t[1]=(0,n.withModifiers)((function(t){return e.$emit("linkclicked",a.routeName)}),["prevent"])),href:"#",class:["hover:bg-gray-700 hover:text-white group flex items-center px-2 py-2 text-base font-medium rounded-md",[a.active?"bg-gray-900 text-white":"text-gray-300"]]},[(0,n.createVNode)(o,{name:a.iconName,active:a.active},null,8,["name","active"]),(0,n.createTextVNode)(" "+(0,n.toDisplayString)(a.label)+" ",1),a.unreadMessages&&e.$page.props.authuser.unread_messages>0?((0,n.openBlock)(),(0,n.createBlock)("div",re,[a.unreadMessages?((0,n.openBlock)(),(0,n.createBlock)("span",ie,(0,n.toDisplayString)(e.$page.props.authuser.unread_messages),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0),a.unreadNotices&&e.$page.props.authuser.unread_notices>0?((0,n.openBlock)(),(0,n.createBlock)("div",oe,[a.unreadNotices?((0,n.openBlock)(),(0,n.createBlock)("span",de,(0,n.toDisplayString)(e.$page.props.authuser.unread_notices),1)):(0,n.createCommentVNode)("",!0)])):(0,n.createCommentVNode)("",!0)],2)}},ue=_e;var le={class:"flex flex-col h-0 flex-1"},me=(0,n.createVNode)("div",{class:"flex items-center h-16 flex-shrink-0 px-4 bg-gray-900 border-b border-gray-700"},[(0,n.createVNode)("a",{href:"/"},[(0,n.createVNode)("img",{class:"h-11",src:"/img/logo_2.jpg",alt:"Sunčana vura"})])],-1),ce={class:"flex-1 flex flex-col overflow-y-auto"},he={class:"flex-1 px-2 py-4 bg-gray-800 space-y-1"};const Me={components:{NewMenuItem:ue},props:{url:String,items:Array},methods:{isActive:function(e,t){return e.split("/")[0]===t.split("/")[0]&&e.split("/")[1]===t.split("/")[1]},isUrl:function(){for(var e=this,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return""===a[0]?""===this.url:a.filter((function(t){return e.url.startsWith(t)})).length},linkClicked:function(e){v.Inertia.visit(e,{onSuccess:function(e){}})},goToLandingPage:function(){window.location.href=this.route("naslovna")}},computed:{filteredItems:function(){return this.items.filter((function(e){return!0===e.showItem}))}},render:function(e,t,a,s,r,i){var o=(0,n.resolveComponent)("NewMenuItem");return(0,n.openBlock)(),(0,n.createBlock)("div",le,[me,(0,n.createVNode)("div",ce,[(0,n.createVNode)("nav",he,[((0,n.openBlock)(!0),(0,n.createBlock)(n.Fragment,null,(0,n.renderList)(a.items,(function(t){return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,{key:t.label},[!t.superAdmin||t.superAdmin&&e.$page.props.authuser.superadmin?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,label:t.label,iconName:t.iconName,routeName:t.routeName,active:i.isActive(a.url,t.url),unreadMessages:t.unreadMessages,unreadNotices:t.unreadNotices,onLinkclicked:i.linkClicked},null,8,["label","iconName","routeName","active","unreadMessages","unreadNotices","onLinkclicked"])):(0,n.createCommentVNode)("",!0)],64)})),128))])])])}},ye=Me;var fe={class:"xl:hidden"},Le={class:"fixed inset-0 flex z-40"},pe=(0,n.createVNode)("div",{class:"absolute inset-0 bg-gray-600 opacity-75"},null,-1),Ye={class:"relative flex-1 flex flex-col max-w-xs w-full pb-4 bg-gray-900"},ke={class:"absolute top-0 right-0 -mr-12 pt-2"},ge=(0,n.createVNode)("svg",{class:"h-6 w-6 text-white",stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1),we=(0,n.createVNode)("div",{class:"flex-shrink-0 flex items-center px-4 h-16 border-b border-gray-500"},[(0,n.createVNode)("a",{href:"/"},[(0,n.createVNode)("img",{class:"h-11",src:"/img/logo_2.jpg",alt:"Sunčana vura"})])],-1),De={class:"mt-5 flex-1 h-0 overflow-y-auto"},ve={class:"px-2 space-y-1"},Te=(0,n.createVNode)("div",{class:"flex-shrink-0 w-14"},null,-1);const be={emits:["menuclosed"],components:{NewMenuItem:ue},props:{url:String,isMenuOpen:Boolean,items:Array},methods:{closeMenu:function(){this.$emit("menuclosed")},linkClicked:function(e){var t=this;v.Inertia.visit(e,{onSuccess:function(e){return t.$emit("menuclosed")}})},goToLandingPage:function(){window.location.href=this.route("naslovna")}},render:function(e,t,a,s,r,i){var o=(0,n.resolveComponent)("NewMenuItem");return(0,n.openBlock)(),(0,n.createBlock)(n.Transition,{"leave-active-class":"transition-opacity ease-linear duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-100"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",fe,[(0,n.createVNode)("div",Le,[(0,n.createVNode)(n.Transition,{"enter-active-class":"transition-opacity ease-linear duration-300","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity ease-linear duration-300","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",{class:"fixed inset-0",onClick:t[1]||(t[1]=function(){return i.closeMenu&&i.closeMenu.apply(i,arguments)})},[pe],512),[[n.vShow,a.isMenuOpen]])]})),_:1}),(0,n.createVNode)(n.Transition,{"enter-active-class":"transition ease-in-out duration-300 transform","enter-from-class":"-translate-x-full","enter-to-class":"translate-x-0","leave-active-class":"transition ease-in-out duration-300 transform","leave-from-class":"translate-x-0","leave-to-class":"-translate-x-full"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",Ye,[(0,n.createVNode)("div",ke,[(0,n.withDirectives)((0,n.createVNode)("button",{onClick:t[2]||(t[2]=function(){return i.closeMenu&&i.closeMenu.apply(i,arguments)}),class:"flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white","aria-label":"Close sidebar"},[ge],512),[[n.vShow,a.isMenuOpen]])]),we,(0,n.createVNode)("div",De,[(0,n.createVNode)("nav",ve,[((0,n.openBlock)(!0),(0,n.createBlock)(n.Fragment,null,(0,n.renderList)(a.items,(function(t){return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,{key:t.label},[!t.superAdmin||t.superAdmin&&e.$page.props.authuser.superadmin?((0,n.openBlock)(),(0,n.createBlock)(o,{key:0,label:t.label,iconName:t.iconName,routeName:t.routeName,active:a.url===t.url,unreadMessages:t.unreadMessages,onLinkclicked:i.linkClicked},null,8,["label","iconName","routeName","active","unreadMessages","onLinkclicked"])):(0,n.createCommentVNode)("",!0)],64)})),128))])])],512),[[n.vShow,a.isMenuOpen]])]})),_:1}),Te])],512),[[n.vShow,a.isMenuOpen]])]})),_:1})}},Se=be,xe=[{url:"admin/dashboard",label:"Početna",iconName:"home",routeName:route("admin.dashboard")},{url:"admin/users",label:"Korisnici",iconName:"users",routeName:route("admin.users.index",{remember:"forget"})},{url:"admin/worktravel",label:"Work & travel",iconName:"briefcase",routeName:route("admin.worktravel.applications",{remember:"forget"})},{url:"admin/aupair",label:"Au pair",iconName:"table",routeName:route("admin.aupair.applications",{remember:"forget"})},{url:"admin/payments",label:"Uplate",iconName:"currency-euro",routeName:route("admin.payments.index",{remember:"forget"})},{url:"messages/received_messages",label:"Poruke",iconName:"inbox",routeName:route("messages.received_messages.index",{remember:"forget"}),unreadMessages:!0},{url:"admin/notices",label:"Obavijesti",iconName:"bell",routeName:route("admin.notices.index",{remember:"forget"}),unreadNotices:!0},{url:"admin/sponsors",label:"Sponzori",iconName:"sparkles",routeName:route("admin.sponsors.index",{remember:"forget"})},{url:"admin/destinations",label:"Destinacije",iconName:"location-marker",routeName:route("admin.destinations.index",{remember:"forget"})},{url:"admin/languages",label:"Strani jezici",iconName:"globe",routeName:route("admin.languages.index",{remember:"forget"})},{url:"admin/worktravels",label:"W&T poslovi",iconName:"briefcase",routeName:route("admin.worktravels.index",{remember:"forget"})},{url:"user/profile/data",label:"Profil",iconName:"user-circle",routeName:route("user.profile.data")},{url:"admin/administrators",label:"Administratori",iconName:"user-add",routeName:route("admin.administrators",{remember:"forget"}),superAdmin:!0}],He=[{url:"user/dashboard",label:"Početna",iconName:"home",routeName:route("user.dashboard")},{url:"user/profile/form",label:"Profil",iconName:"user-circle",routeName:route("user.profile.data")},{url:"user/worktravel/form",label:"Work & travel",hasApplication:0,iconName:"cash",routeName:route("user.worktravel.form")},{url:"user/worktravel/application",label:"Work & travel",hasApplication:1,iconName:"cash",routeName:route("user.worktravel.application")},{url:"user/aupair/form",label:"Au pair",hasAupair:0,iconName:"globe-alt",routeName:route("user.aupair.form")},{url:"user/aupair/application",label:"Au pair",hasAupair:1,iconName:"globe-alt",routeName:route("user.aupair.application")},{url:"user/pay",label:"Plaćanje",iconName:"credit-card",routeName:route("user.pay")},{url:"user/worktravels",label:"W&T poslovi",iconName:"briefcase",routeName:route("user.worktravels")},{url:"user/conversation",label:"Poruke",iconName:"inbox",routeName:route("user.conversation"),unreadMessages:!0}],je={components:{Notifications:se,NewMenuItem:ue,DesktopMenu:ye,MobileMenu:Se},props:{title:String,resource:String,indexRoute:String,action:String,type:String},setup:function(){var e=(0,n.ref)(!1),t=(0,n.ref)(!1);return{isMenuOpen:e,isDropdownOpen:t,menuClosed:function(){e.value=!1}}},mounted:function(){var e=this;document.addEventListener("click",(function(t){e.$refs.dropdown&&!e.$refs.dropdown.contains(t.target)&&(e.isDropdownOpen=!1)}));var t=this.$page.props.authuser.id;window.Echo.private("App.Models.User."+t).notification((function(t){e.$inertia.reload(),e.$notify({group:"common",title:"Nova informacija!",type:"info",text:t.notice},2e3)}));var a=this.$page.props.flash;a.success||a.status},methods:{url:function(){return location.pathname.substr(1)},logout:function(){var e=this;b().post(route("logout"),null,{headers:{"X-CSRF-TOKEN":this.$page.props.csrf.token}}).then((function(){return window.location.href=e.route("login")}))}},computed:{menuItems:function(){var e=this.$page.props.authuser.has_application,t=this.$page.props.authuser.has_aupair,a=He.filter((function(a){return a.hasApplication===e||a.hasAupair===t?a:!a.hasOwnProperty("hasApplication")&&!a.hasOwnProperty("hasAupair")}));return this.type&&"user"===this.type?a:xe},userName:function(){return this.$page.props.authuser.name},isAdmin:function(){return"admin"===this.$page.props.authuser.role},userAvatar:function(){return this.$page.props.authuser.profile_photo_url}},watch:{"$page.props":{handler:function(){this.show=!0;var e=this.$page.props.flash;null!=e&&e.success||null!=e&&e.status?this.$notify({group:"common",title:"Uspjeh!",type:"success",text:e.success?e.success:e.status},2e3):Object.keys(this.$page.props.errors).length>0&&this.$notify({group:"common",title:"Upsss!",type:"error",text:"Pogreška u ispunjavanju polja!"},2e3)},deep:!0}},render:function(e,t,a,v,T,b){var S=(0,n.resolveComponent)("notifications"),x=(0,n.resolveComponent)("MobileMenu"),H=(0,n.resolveComponent)("DesktopMenu"),j=(0,n.resolveComponent)("inertia-link");return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,null,[(0,n.createVNode)(S),(0,n.createVNode)("div",s,[(0,n.createVNode)(x,{isMenuOpen:v.isMenuOpen,url:b.url(),onMenuclosed:v.menuClosed,items:b.menuItems},null,8,["isMenuOpen","url","onMenuclosed","items"]),(0,n.createVNode)("div",r,[(0,n.createVNode)("div",i,[(0,n.createVNode)(H,{url:b.url(),items:b.menuItems},null,8,["url","items"])])]),(0,n.createVNode)("div",o,[(0,n.createVNode)("div",d,[(0,n.createVNode)("button",{onClick:t[1]||(t[1]=function(e){return v.isMenuOpen=!0}),class:"px-4 border-r border-gray-200 text-gray-400 focus:outline-none focus:bg-gray-100 focus:text-gray-600 xl:hidden","aria-label":"Open sidebar"},[_]),(0,n.createVNode)("div",u,[(0,n.createVNode)("div",l,[(0,n.createVNode)("h1",m,[a.title?((0,n.openBlock)(),(0,n.createBlock)("span",c,(0,n.toDisplayString)(a.title),1)):(0,n.createCommentVNode)("",!0),a.resource?((0,n.openBlock)(),(0,n.createBlock)(j,{key:1,class:"text-gray-600 hover:text-gray-700",href:e.route(a.indexRoute)},{default:(0,n.withCtx)((function(){return[(0,n.createTextVNode)((0,n.toDisplayString)(a.resource),1)]})),_:1},8,["href"])):(0,n.createCommentVNode)("",!0),a.action?((0,n.openBlock)(),(0,n.createBlock)("span",h," / ")):(0,n.createCommentVNode)("",!0),a.action?((0,n.openBlock)(),(0,n.createBlock)("span",M,(0,n.toDisplayString)(a.action),1)):(0,n.createCommentVNode)("",!0)])]),(0,n.createVNode)("div",y,[(0,n.createVNode)("div",f,[(0,n.createVNode)("div",null,[(0,n.createVNode)("button",{onClick:t[2]||(t[2]=function(e){return v.isDropdownOpen=!v.isDropdownOpen}),class:"flex items-center w-full rounded-md shadow-sm px-2 py-1 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-1 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-rose-400",id:"user-menu","aria-label":"User menu","aria-haspopup":"true"},[(0,n.createVNode)("img",{class:"h-8 w-8 rounded-full",src:b.userAvatar,alt:""},null,8,["src"]),(0,n.createVNode)("p",L,(0,n.toDisplayString)(b.userName),1),p])]),(0,n.createVNode)(n.Transition,{"enter-active-class":"transition ease-out duration-100 transform","enter-from-class":"opacity-0 scale-95","enter-to-class":"opacity-100 scale-100","leave-active-class":"transition ease-in duration-75 transform","leave-from-class":"opacity-100 scale-100","leave-to-class":"opacity-0 scale-95"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",Y,[(0,n.createVNode)("div",k,[b.isAdmin&&"profile"!==a.type?((0,n.openBlock)(),(0,n.createBlock)(j,{key:0,href:e.route("user.profile.data"),onClick:t[3]||(t[3]=function(e){return v.isDropdownOpen=!1}),class:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150",role:"menuitem"},{default:(0,n.withCtx)((function(){return[g]})),_:1},8,["href"])):(0,n.createCommentVNode)("",!0),b.isAdmin&&"profile"===a.type?((0,n.openBlock)(),(0,n.createBlock)(j,{key:1,href:e.route("admin.dashboard"),onClick:t[4]||(t[4]=function(e){return v.isDropdownOpen=!1}),class:"block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150",role:"menuitem"},{default:(0,n.withCtx)((function(){return[w]})),_:1},8,["href"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)("a",{onClick:t[5]||(t[5]=function(){return b.logout&&b.logout.apply(b,arguments)}),class:"cursor-pointer block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100 transition ease-in-out duration-150",role:"menuitem"},"Logout")])],512),[[n.vShow,v.isDropdownOpen]])]})),_:1})],512)])])]),(0,n.createVNode)("main",D,[(0,n.renderSlot)(e.$slots,"default")])])])],64)}},Pe=je},2767:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>_});var n=a(5166),s=(0,n.createVNode)("p",null,"Imate mobilno bankarstvo?",-1),r=(0,n.createVNode)("p",null,"Jednostavno skenirajte barkod i platite",-1),i={class:"text-lg leading-6 font-medium text-gray-900",id:"modal-headline"},o={class:"sm:-ml-8"};const d={emits:["close"],components:{DialogModal:a(8509).Z},props:{showModal:Boolean,barcode:String},computed:{barcodeSrc:function(){return"data:image/png;base64,"+this.barcode}},methods:{closeModal:function(){this.$emit("close")}},render:function(e,t,a,d,_,u){var l=(0,n.resolveComponent)("dialog-modal");return(0,n.openBlock)(),(0,n.createBlock)(l,{show:a.showModal,onClose:t[3]||(t[3]=function(t){return e.$emit("close")})},{content:(0,n.withCtx)((function(){return[s,r,(0,n.createVNode)("h3",i,[(0,n.createVNode)("img",{src:u.barcodeSrc,alt:"barcode"},null,8,["src"])])]})),footer:(0,n.withCtx)((function(){return[(0,n.createVNode)("div",o,[(0,n.createVNode)("button",{type:"button",onClick:t[1]||(t[1]=function(){return e.submitPrice&&e.submitPrice.apply(e,arguments)}),class:"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:w-auto sm:text-sm"}," Uplata je izvršena "),(0,n.createVNode)("button",{onClick:t[2]||(t[2]=function(t){return e.$emit("close")}),type:"button",class:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 px-4 py-2 bg-white text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"}," Uplata je otkazana ")])]})),_:1},8,["show"])}},_=d},6716:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>l});var n=a(5166),s=(0,n.createVNode)("div",{class:"mx-auto flex-shrink-0 flex items-center justify-center h-12 w-12 rounded-full bg-rose-100 sm:mx-0 sm:h-10 sm:w-10"},[(0,n.createVNode)("svg",{class:"h-6 w-6 text-rose-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z"})])],-1),r=(0,n.createVNode)("h3",{class:"text-lg leading-6 font-medium text-gray-900",id:"modal-headline"}," Unesite iznos ",-1),i={class:"mt-4"};var o=a(8509),d=a(1223),_=a(9126);const u={emits:["close","barcode","virman"],components:{DialogModal:o.Z,MaskInput:d.Z,BaseButton:_.Z},props:{showModal:Boolean,errors:Object,uuid:String,type:String,applicationType:String},data:function(){return{amount:"",error:this.errors?this.errors.amount:"",openModal:!1,localPaymentType:null}},computed:{showLocalModal:function(){return this.showModal||this.openModal},paymentType:function(){return this.localPaymentType?this.localPaymentType:this.type}},mounted:function(){var e,t;null!==(e=this.$page.props.errors.virman)&&void 0!==e&&e.amount&&(this.openModal=!0,this.localPaymentType="virman",this.error=this.$page.props.errors.virman.amount,this.$notify({group:"common",title:"Upsss!",type:"error",text:"Pogreška u ispunjavanju polja!"},2e3)),null!==(t=this.$page.props.errors.card)&&void 0!==t&&t.amount&&(this.openModal=!0,this.localPaymentType="card",this.error=this.$page.props.errors.card.amount,this.$notify({group:"common",title:"Upsss!",type:"error",text:"Pogreška u ispunjavanju polja!"},2e3))},watch:{errors:function(e){e.amount&&(this.error=e.amount)}},methods:{showBarcode:function(){this.$emit("barcode",this.formatAmount(this.amount)),this.amount=""},showVirman:function(){this.$emit("virman",this.formatAmount(this.amount)),this.amount=""},closeModal:function(){this.$emit("close"),this.openModal=!1,this.localPaymentType=null,this.error="",this.amount=""},closeVirmanModal:function(){var e=this;this.amount&&setTimeout((function(){return e.closeModal()}),100)},formatAmount:function(e){return e=(e=e.replace(/\./g,"")).replace(/\,/g,"")}},render:function(e,t,a,o,d,_){var u=(0,n.resolveComponent)("mask-input"),l=(0,n.resolveComponent)("dialog-modal");return(0,n.openBlock)(),(0,n.createBlock)(l,{show:_.showLocalModal,onClose:_.closeModal},{icon:(0,n.withCtx)((function(){return[s]})),content:(0,n.withCtx)((function(){return[(0,n.createVNode)("div",null,[r,(0,n.createVNode)("div",i,[(0,n.createVNode)(u,{modelValue:d.amount,"onUpdate:modelValue":t[1]||(t[1]=function(e){return d.amount=e}),error:d.error,mask:{mask:["#,##","##,##","###,##","#.###,##","####,##","##.###,##","###.###,##"]},placeholder:"0,00",type:"text",autocomplete:"off"},null,8,["modelValue","error","mask"])])])]})),footer:(0,n.withCtx)((function(){return["card"==_.paymentType?((0,n.openBlock)(),(0,n.createBlock)("a",{key:0,href:e.route("user.pay.payment",{amount:_.formatAmount(d.amount)}),class:"inline-flex justify-center w-full rounded-md border border-transparent shadow-sm px-4 py-2 bg-red-600 text-base font-medium text-white hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 sm:w-auto sm:text-sm"}," Plati ",8,["href"])):(0,n.createCommentVNode)("",!0),"barcode"==_.paymentType?((0,n.openBlock)(),(0,n.createBlock)("button",{key:1,onClick:t[2]||(t[2]=function(){return _.showBarcode&&_.showBarcode.apply(_,arguments)}),type:"button",class:"mt-3 w-full inline-flex justify-center rounded-md border border-transparent px-4 py-2 bg-blue-600\n text-base font-medium text-white shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2\n focus:ring-blue-500 sm:mt-0 sm:w-auto sm:text-sm"}," Generiraj barkod ")):(0,n.createCommentVNode)("",!0),"virman"==_.paymentType?((0,n.openBlock)(),(0,n.createBlock)("a",{key:2,href:e.route("user.pay.virman",{amount:_.formatAmount(d.amount),type:a.applicationType}),target:d.amount?"_blank":"_self",onClick:t[3]||(t[3]=function(){return _.closeVirmanModal&&_.closeVirmanModal.apply(_,arguments)}),class:"mt-3 w-full inline-flex justify-center rounded-md border border-transparent px-4 py-2 bg-blue-600\n text-base font-medium text-white shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2\n focus:ring-offset-2 focus:ring-blue-500 sm:mt-0 sm:w-auto sm:text-sm"}," Generiraj virman ",8,["href","target"])):(0,n.createCommentVNode)("",!0),(0,n.createVNode)("button",{onClick:t[4]||(t[4]=function(){return _.closeModal&&_.closeModal.apply(_,arguments)}),type:"button",class:"mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 px-4 py-2 bg-white text-base font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-gray-500 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm"}," Odustani ")]})),_:1},8,["show","onClose"])}},l=u},8065:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>b});var n=a(5166),s={class:"sm:col-span-4 max-w-7xl px-8 mx-auto mt-10"},r={class:"bg-white shadow sm:rounded-lg"},i={class:"bg-gray-50 px-4 py-5"},o=(0,n.createVNode)("div",{class:"font-semibold text-lg text-rose-800 mb-3"}," Izvrši novu uplatu ",-1),d={class:"space-y-3 md:space-y-0 md:flex md:space-x-4"},_={key:0,class:"bg-white shadow sm:rounded-lg mt-8"},u={class:"border-t border-gray-200 px-4 py-5"},l=(0,n.createVNode)("h3",{id:"applicant-information-title",class:"pb-5 font-medium text-gray-900"}," Pregled uplata ",-1),m={class:"divide-y divide-gray-200 border-t border-gray-200"},c={class:"col-span-1"},h=(0,n.createTextVNode)(" Datum: "),M={class:"font-semibold text-gray-900"},y={class:"col-span-3"},f=(0,n.createTextVNode)(" Opis plaćanja: "),L={class:"font-semibold text-gray-900"},p={class:"col-span-1"},Y=(0,n.createTextVNode)(" Iznos: ");var k=a(381),g=a.n(k),w=a(9222),D=(a(9551),a(6716)),v=a(2767);const T={inheritAttrs:!1,layout:function(e,t){return e(w.Z,{resource:"Plaćanje",indexRoute:"user.dashboard",type:t.props.authuser.role},(function(){return[t]}))},components:{CreateFreePayment:D.default,CreateBarcode:v.default},props:{payments:Array,application:Object,errors:Object,barcode:String,virman:String,showBarcode:Boolean,showVirman:Boolean,type:String},mounted:function(){var e;null!==(e=this.$page.props.flash)&&void 0!==e&&e.status&&this.$notify({group:"common",title:"Plaćanje karticom",type:"success",text:this.$page.props.flash.status},2e3)},data:function(){return{showModal:!!this.errors.amount,showBarcodeModal:this.showBarcode,showCashModal:!1,paymentType:"card"}},methods:{createdAt:function(e){return g()(e).format("DD. MM. YYYY.")},modalClose:function(){this.showModal=!1},barcodeClose:function(){this.showBarcodeModal=!1},cashClose:function(){this.showCashModal=!1},enterBarcode:function(e){var t=this;e&&(this.showModal=!1),this.$inertia.post(route("user.pay.barcode"),{amount:e},{onSuccess:function(e){t.showModal=!1,t.showBarcodeModal=!0},onError:function(e){}})},enterVirman:function(e){console.log("VIRMAN")}},render:function(e,t,a,k,g,w){var D=(0,n.resolveComponent)("create-free-payment"),v=(0,n.resolveComponent)("create-barcode");return(0,n.openBlock)(),(0,n.createBlock)(n.Fragment,null,[(0,n.createVNode)("div",s,[(0,n.createVNode)("div",r,[(0,n.createVNode)("div",i,[o,(0,n.createVNode)("div",d,[(0,n.createVNode)("button",{onClick:t[1]||(t[1]=function(e){g.showModal=!0,g.paymentType="card"}),type:"button",class:"inline-flex justify-center w-full rounded-md border-2 border-rose-600 shadow-sm px-4 py-2 bg-white text-base font-semibold text-rose-600 hover:bg-rose-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-rose-500 sm:w-auto sm:text-sm"}," Plati karticom "),(0,n.createVNode)("button",{onClick:t[2]||(t[2]=function(e){g.showModal=!0,g.paymentType="barcode"}),type:"button",class:"inline-flex justify-center w-full rounded-md border-2 border-rose-600 shadow-sm px-4 py-2 bg-white text-base font-semibold text-rose-600 hover:bg-rose-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-rose-500 sm:w-auto sm:text-sm"}," M-foto plati "),(0,n.createVNode)("button",{onClick:t[3]||(t[3]=function(e){g.showModal=!0,g.paymentType="virman"}),type:"button",class:"inline-flex justify-center w-full rounded-md border-2 border-rose-600 shadow-sm px-4 py-2 bg-white text-base font-semibold text-rose-600 hover:bg-rose-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-rose-500 sm:w-auto sm:text-sm"}," Plati virmanom ")])]),a.payments.length>0?((0,n.openBlock)(),(0,n.createBlock)("div",_,[(0,n.createVNode)("div",u,[l,(0,n.createVNode)("ul",m,[((0,n.openBlock)(!0),(0,n.createBlock)(n.Fragment,null,(0,n.renderList)(a.payments,(function(e){return(0,n.openBlock)(),(0,n.createBlock)("li",{class:"grid grid-cols-5 gap-3 py-4",key:e.key},[(0,n.createVNode)("p",c,[h,(0,n.createVNode)("span",M,(0,n.toDisplayString)(w.createdAt(e.payment_date)),1)]),(0,n.createVNode)("p",y,[f,(0,n.createVNode)("span",L,(0,n.toDisplayString)(e.type),1)]),(0,n.createVNode)("p",p,[Y,(0,n.createVNode)("span",{class:["Povrat"===e.type?"text-red-500":"text-gray-900","font-semibold"]},(0,n.toDisplayString)("Povrat"===e.type?"-":"")+" "+(0,n.toDisplayString)(e.amount)+" kn",3)])])})),128))])])])):(0,n.createCommentVNode)("",!0)])]),(0,n.createVNode)(D,{showModal:g.showModal,errors:a.errors,type:g.paymentType,onClose:w.modalClose,onBarcode:w.enterBarcode,onVirman:w.enterVirman},null,8,["showModal","errors","type","onClose","onBarcode","onVirman"]),(0,n.createVNode)(v,{showModal:g.showBarcodeModal,barcode:a.barcode,onClose:w.barcodeClose},null,8,["showModal","barcode","onClose"])],64)}},b=T},8509:(e,t,a)=>{"use strict";a.d(t,{Z:()=>d});var n=a(5166),s={class:"sm:flex sm:items-start"},r={class:"w-full mt-3 text-center sm:mt-0 sm:ml-6 sm:mr-8 sm:text-left"},i={class:"mt-5 sm:ml-12 sm:pl-4 sm:flex"};const o={emits:["close"],components:{ModalNew:a(2535).Z},props:{show:{default:!1},closeable:{default:!0},big:{default:!1}},methods:{close:function(){this.$emit("close")}},render:function(e,t,a,o,d,_){var u=(0,n.resolveComponent)("modal-new");return(0,n.openBlock)(),(0,n.createBlock)(u,{show:a.show,big:a.big,closeable:a.closeable,onClose:_.close},{default:(0,n.withCtx)((function(){return[(0,n.createVNode)("div",s,[(0,n.renderSlot)(e.$slots,"icon"),(0,n.createVNode)("div",r,[(0,n.renderSlot)(e.$slots,"content")])]),(0,n.createVNode)("div",i,[(0,n.renderSlot)(e.$slots,"footer")])]})),_:3},8,["show","big","closeable","onClose"])}},d=o},2535:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(5166),s={class:"fixed z-10 inset-0 overflow-y-auto"},r={class:"flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"},i=(0,n.createVNode)("div",{class:"absolute inset-0 bg-gray-500 opacity-75"},null,-1),o=(0,n.createVNode)("span",{class:"hidden sm:inline-block sm:align-middle sm:h-screen","aria-hidden":"true"},"​",-1),d={key:0,class:"hidden sm:block absolute top-0 right-0 pt-4 pr-4"},_=(0,n.createVNode)("span",{class:"sr-only"},"Close",-1),u=(0,n.createVNode)("svg",{class:"h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"})],-1);const l={emits:["close"],props:{show:{default:!1},closeable:{default:!0},closeIcon:{default:!0},big:{default:!1}},methods:{close:function(){this.closeable&&this.$emit("close")},closeOnEscape:function(e){"Escape"===e.key&&this.show&&this.close()}},watch:{show:function(e){e?(this.$nextTick((function(){var e,t;return(null===(e=document.querySelector("input"))||void 0===e?void 0:e.focus())||(null===(t=document.querySelector("textarea"))||void 0===t?void 0:t.focus())})),document.body.style.overflow="hidden"):document.body.style.overflow=null}},created:function(){document.addEventListener("keydown",this.closeOnEscape)},unmounted:function(){document.removeEventListener("keydown",this.closeOnEscape)},render:function(e,t,a,l,m,c){return(0,n.openBlock)(),(0,n.createBlock)(n.Teleport,{to:"body"},[(0,n.createVNode)(n.Transition,{"leave-active-class":"duration-200"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",s,[(0,n.createVNode)("div",r,[(0,n.createVNode)(n.Transition,{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100","leave-to-class":"opacity-0"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",{class:"fixed inset-0 transition-opacity",onClick:t[1]||(t[1]=function(){return c.close&&c.close.apply(c,arguments)}),"aria-hidden":"true"},[i],512),[[n.vShow,a.show]])]})),_:1}),o,(0,n.createVNode)(n.Transition,{"enter-active-class":"ease-out duration-300","enter-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95","enter-to-class":"opacity-100 translate-y-0 sm:scale-100","leave-active-class":"ease-in duration-200","leave-class":"opacity-100 translate-y-0 sm:scale-100","leave-to-class":"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"},{default:(0,n.withCtx)((function(){return[(0,n.withDirectives)((0,n.createVNode)("div",{class:[[a.big?"sm:max-w-4xl":"sm:max-w-lg"],"inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:w-full sm:p-6"],role:"dialog","aria-modal":"true","aria-labelledby":"modal-headline"},[a.closeIcon?((0,n.openBlock)(),(0,n.createBlock)("div",d,[(0,n.createVNode)("button",{type:"button",onClick:t[2]||(t[2]=function(){return c.close&&c.close.apply(c,arguments)}),class:"bg-white rounded-md text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[_,u])])):(0,n.createCommentVNode)("",!0),(0,n.renderSlot)(e.$slots,"default")],2),[[n.vShow,a.show]])]})),_:3})])],512),[[n.vShow,a.show]])]})),_:1})])}},m=l},3930:(e,t,a)=>{"use strict";a.d(t,{Z:()=>w});var n=a(5166),s=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"},null,-1),r=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"},null,-1),i=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14.121 15.536c-1.171 1.952-3.07 1.952-4.242 0-1.172-1.953-1.172-5.119 0-7.072 1.171-1.952 3.07-1.952 4.242 0M8 10.5h4m-4 3h4m9-1.5a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),o=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 0 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),d=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5.121 17.804A13.937 13.937 0 0112 16c2.5 0 4.847.655 6.879 1.804M15 10a3 3 0 11-6 0 3 3 0 016 0zm6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),_=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"},null,-1),u=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 15.546c-.523 0-1.046.151-1.5.454a2.704 2.704 0 01-3 0 2.704 2.704 0 00-3 0 2.704 2.704 0 01-3 0 2.704 2.704 0 00-3 0 2.704 2.704 0 01-3 0 2.701 2.701 0 00-1.5-.454M9 6v2m3-2v2m3-2v2M9 3h.01M12 3h.01M15 3h.01M21 21v-7a2 2 0 00-2-2H5a2 2 0 00-2 2v7h18zm-3-9v-2a2 2 0 00-2-2H8a2 2 0 00-2 2v2h12z"},null,-1),l=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17 9V7a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2m2 4h10a2 2 0 002-2v-6a2 2 0 00-2-2H9a2 2 0 00-2 2v6a2 2 0 002 2zm7-5a2 2 0 11-4 0 2 2 0 014 0z"},null,-1),m=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M7 21a4 4 0 01-4-4V5a2 2 0 012-2h4a2 2 0 012 2v12a4 4 0 01-4 4zm0 0h12a2 2 0 002-2v-4a2 2 0 00-2-2h-2.343M11 7.343l1.657-1.657a2 2 0 012.828 0l2.829 2.829a2 2 0 010 2.828l-8.486 8.485M7 17h.01"},null,-1),c=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M14.828 14.828a4 4 0 01-5.656 0M9 10h.01M15 10h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),h=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"},null,-1),M=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9"},null,-1),y=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),f=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 10h18M3 14h18m-9-4v8m-7 0h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z"},null,-1),L=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z"},null,-1),p=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18 9v3m0 0v3m0-3h3m-3 0h-3m-2-5a4 4 0 11-8 0 4 4 0 018 0zM3 20a6 6 0 0112 0v1H3v-1z"},null,-1),Y=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 3v4M3 5h4M6 17v4m-2-2h4m5-16l2.286 6.857L21 12l-5.714 2.143L13 21l-2.286-6.857L5 12l5.714-2.143L13 3z"},null,-1),k=(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"},null,-1);const g={props:{name:String,active:Boolean},components:{GlobeAltIcon:function(e,t){return(0,n.openBlock)(),(0,n.createBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})])},LocationMarkerIcon:function(e,t){return(0,n.openBlock)(),(0,n.createBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})])},BriefcaseIcon:function(e,t){return(0,n.openBlock)(),(0,n.createBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"})])},CreditCardIcon:function(e,t){return(0,n.openBlock)(),(0,n.createBlock)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[(0,n.createVNode)("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 10h18M7 15h1m4 0h1m-7 4h12a3 3 0 003-3V8a3 3 0 00-3-3H6a3 3 0 00-3 3v8a3 3 0 003 3z"})])}},render:function(e,t,a,g,w,D){var v=(0,n.resolveComponent)("GlobeAltIcon"),T=(0,n.resolveComponent)("LocationMarkerIcon"),b=(0,n.resolveComponent)("BriefcaseIcon"),S=(0,n.resolveComponent)("CreditCardIcon");return"home"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:0,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[s],2)):"shopping-bag"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:1,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[r],2)):"currency-euro"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:2,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[i],2)):"globe"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:3,class:[[a.active?"text-gray-300":"text-gray-400"],"group-hover:text-gray-300 mr-4 h-6 w-6"],xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[o],2)):"user-circle"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:4,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[d],2)):"key"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:5,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[_],2)):"cake"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:6,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[u],2)):"cash"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:7,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[l],2)):"color-swatch"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:8,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[m],2)):"emoji-happy"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:9,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[c],2)):"inbox"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:10,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[h],2)):"bell"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:11,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[M],2)):"information-circle"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:12,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[y],2)):"table"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:13,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[f],2)):"users"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",(0,n.mergeProps)({key:14,class:"group-hover:text-gray-300 mr-4 h-6 w-6"},e.$attrs,{class:[a.active?"text-gray-300":"text-gray-400"],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}),[L],16)):"user-add"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",(0,n.mergeProps)({key:15,class:"group-hover:text-gray-300 mr-4 h-6 w-6"},e.$attrs,{class:[a.active?"text-gray-300":"text-gray-400"],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}),[p],16)):"sparkles"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",(0,n.mergeProps)({key:16,class:"group-hover:text-gray-300 mr-4 h-6 w-6"},e.$attrs,{class:[a.active?"text-gray-300":"text-gray-400"],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}),[Y],16)):"photograph"===a.name?((0,n.openBlock)(),(0,n.createBlock)("svg",{key:17,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]],"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[k],2)):"globe-alt"===a.name?((0,n.openBlock)(),(0,n.createBlock)(v,{key:18,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]]},null,8,["class"])):"location-marker"===a.name?((0,n.openBlock)(),(0,n.createBlock)(T,{key:19,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]]},null,8,["class"])):"briefcase"===a.name?((0,n.openBlock)(),(0,n.createBlock)(b,{key:20,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]]},null,8,["class"])):"credit-card"===a.name?((0,n.openBlock)(),(0,n.createBlock)(S,{key:21,class:["group-hover:text-gray-300 mr-4 h-6 w-6",[a.active?"text-gray-300":"text-gray-400"]]},null,8,["class"])):(0,n.createCommentVNode)("",!0)}},w=g}}]);
/* Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license */ CKEDITOR.plugins.setLang( 'colordialog', 'pt', { clear: 'Limpar', highlight: 'Realçar', options: 'Opções de cor', selected: 'Cor selecionada', title: 'Selecionar cor' } );
#!/usr/bin/env python """ Use the ciscoconfparse library to find the crypto maps that are using pfs group2 """ from __future__ import unicode_literals, print_function from ciscoconfparse import CiscoConfParse def main(): """ Use the ciscoconfparse library to find the crypto maps that are using pfs group2 """ cisco_file = 'cisco_ipsec.txt' cisco_cfg = CiscoConfParse(cisco_file) crypto_maps = cisco_cfg.find_objects_w_child(parentspec=r'crypto map CRYPTO', childspec=r'pfs group2') print("\nCrypto Maps using PFS group2:") for entry in crypto_maps: print(" {}".format(entry.text)) print() if __name__ == "__main__": main()
// Se carga la configuración de la base de datos. const sequelize = require('../config/database'); // Se cargan los modelos. const dia = require('../models/DatosDelDia'); const lamina = require('../models/Lamina'); const lineaProduccion = require('../models/linea_produccion'); // Se cargan las utilidades. const funciones = require('./funciones'); const routes = require('../routes/index'); const { Op } = Sequelize = require('sequelize'); // Muestra la vista del 'Registro Histórico' exports.registroHistoricoGet = async (req, res) => { if (routes.sesion.email == null) { res.redirect('/login'); } else { const lineas_produccion = await lineaProduccion.findAll(); res.render('registroHistorico', { nombrePagina: 'Registro Histórico', lineas_produccion }); } } // Consulta los datos de los meses y linea de producción seleccionados // y retorna los datos de la laminas e indices en el response. exports.consultarDatos = async (req, res) => { const añoMes1 = funciones.añoMesSinGuion(req.params.mes1); var query = obtenerQuery(añoMes1, req.params.lp); const laminas1 = await lamina.findAll(query); const indices1 = await dia.findAll(query); const resultados = { laminas1: laminas1, indices1: indices1 } res.send(resultados); } // Se le pasa el añoMes del que se quiere traer todo los registros function obtenerQuery(añoMes, lineaProduccion) { // Query para obtener los registros del mes actual let query = { where: { [Op.and]: sequelize.literal("EXTRACT(YEAR_MONTH from fecha) = '" + añoMes + "'"), linea_id: lineaProduccion }, order: [['fecha', 'ASC']] }; return query; }
""" ASGI config for LoanApp project. It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.0/howto/deployment/asgi/ """ import os from django.core.asgi import get_asgi_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'LoanApp.settings') application = get_asgi_application()
import { addClassAndTriggerReflow, removeClass } from '.'; class FakeNode { constructor() { this.scrollTopAccessorMock = jest.fn(); this.classList = { add: jest.fn(), remove: jest.fn(), }; } get scrollTop() { this.scrollTopAccessorMock(); return 0; } } describe('Select dom helpers', () => { it('can add classes and trigger a reflow', () => { const node = new FakeNode(); expect(node.scrollTopAccessorMock).not.toHaveBeenCalled(); expect(node.classList.add).not.toHaveBeenCalled(); addClassAndTriggerReflow(node, 'some-class'); expect(node.scrollTopAccessorMock).toHaveBeenCalled(); expect(node.classList.add).toHaveBeenCalledWith('some-class'); }); it('can remove classes', () => { const node = new FakeNode(); expect(node.classList.remove).not.toHaveBeenCalled(); removeClass(node, 'some-kinda-class'); expect(node.classList.remove).toHaveBeenCalledWith('some-kinda-class'); }); });
define([ "skylark-domx-query", "../../addons", "../../action", "../../i18n", "./link-popover" ],function($,addons,Action,i18n,LinkPopover){ var LinkAction = Action.inherit({ name : 'link', icon : 'link', htmlTag : 'a', disableTag : 'pre', _status : function() { Action.prototype._status.call(this); if (this.active && !this.editor.editable.selection.rangeAtEndOf(this.node)) { if (!this.popover) { this.popover = new LinkPopover({ action: this }); } return this.popover.show(this.node); } else { if (this.popover) { return this.popover.hide(); } } }, _execute : function() { if (this.active) { this.popover.one('popovershow', (function(_this) { return function() { if (linkText) { _this.popover.urlEl.focus(); return _this.popover.urlEl[0].select(); } else { _this.popover.textEl.focus(); return _this.popover.textEl[0].select(); } }; })(this)); } return this.editor.editable.link(this.active,i18n.translate('linkText')); } }); addons.actions.link = LinkAction; return LinkAction; });
import toHash from 'tohash' export const FONTS = [ { id: 'Anonymous Pro', name: 'Anonymous Pro' }, { id: 'Droid Sans Mono', name: 'Droid Sans Mono' }, { id: 'Fantasque Sans Mono', name: 'Fantasque Sans Mono' }, { id: 'Fira Code', name: 'Fira Code' }, { id: 'Hack', name: 'Hack' }, { id: 'IBM Plex Mono', name: 'IBM Plex Mono' }, { id: 'Inconsolata', name: 'Inconsolata' }, { id: 'Iosevka', name: 'Iosevka' }, { id: 'Monoid', name: 'Monoid' }, { id: 'Source Code Pro', name: 'Source Code Pro' }, { id: 'Space Mono', name: 'Space Mono' }, { id: 'Ubuntu Mono', name: 'Ubuntu Mono' } ] export const HIGHLIGHT_KEYS = [ 'background', 'text', 'variable', 'attribute', 'definition', 'keyword', 'operator', 'property', 'number', 'string', 'comment', 'meta' ] export const THEMES = [ { id: '3024-night', name: '3024 Night', highlights: { background: '#090300', text: '#d6d5d4', variable: '#01a0e4', attribute: '#00c', definition: '#e8bbd0', keyword: '#db2d20', operator: '#fff', property: '#01a252', number: '#a16a94', string: '#fded02', comment: '#cdab53', meta: '#555' } }, { id: 'blackboard', name: 'Blackboard', highlights: { background: '#0C1021', text: '#F8F8F8', variable: '#FF6400', attribute: '#8DA6CE', definition: '#8DA6CE', keyword: '#FBDE2D', operator: '#fff', property: '#fff', number: '#D8FA3C', string: '#61CE3C', comment: '#AEAEAE', meta: '#D8FA3C', tag: '#8DA6CE' } }, { id: 'base16-dark', name: 'Base 16 (Dark)', highlights: { background: '#151515', text: '#e0e0e0', variable: '#6a9fb5', attribute: '#00c', definition: '#d28445', keyword: '#ac4142', operator: '#fff', property: '#90a959', number: '#aa759f', string: '#f4bf75', comment: '#8f5536', meta: '#555', tag: '#ac4142' } }, { id: 'base16-light', name: 'Base 16 (Light)', light: true, highlights: { background: '#f5f5f5', text: '#202020', variable: '#90a959', attribute: '#90a959', definition: '#d28445', keyword: '#ac4142', operator: '#fff', property: '#90a959', number: '#aa759f', string: '#f4bf75', comment: '#8f5536', meta: '#555', tag: '#ac4142' } }, { id: 'cobalt', name: 'Cobalt', highlights: { background: '#002240', text: '#fff', variable: '#9effff', attribute: '#ff80e1', definition: '#fff', keyword: '#ffee80', operator: '#fff', property: '#fff', number: '#ff80e1', string: '#3ad900', comment: '#08f', meta: '#ff9d00', tag: '#9effff' } }, { id: 'dracula', name: 'Dracula', highlights: { background: '#282a36', text: '#f8f8f2', variable: '#fff', attribute: '#50fa7b', definition: '#50fa7b', keyword: '#ff79c6', operator: '#ff79c6', property: '#66d9ef', number: '#bd93f9', string: '#f1fa8c', comment: '#6272a4', meta: '#f8f8f2', tag: '#ff79c6' } }, { id: 'duotone-dark', name: 'Duotone', highlights: { background: '#2a2734', text: '#6c6783', variable: '#ffcc99', attribute: '#ffcc99', definition: '#eeebff', keyword: '#ffcc99', operator: '#ffad5c', property: '#9a86fd', number: '#ffcc99', string: '#ffb870', comment: '#6c6783', meta: '#555', tag: '#eeebff' } }, { id: 'hopscotch', name: 'Hopscotch', highlights: { background: '#322931', text: '#d5d3d5', variable: '#0066ff', attribute: '#8fc13e', definition: '#fd8b19', keyword: '#dd464c', operator: '#fff', property: '#8fc13e', number: '#c85e7c', string: '#fdcc59', comment: '#b33508', meta: '#555', tag: '#dd464c' } }, { id: 'lucario', name: 'Lucario', highlights: { background: '#2b3e50', text: '#f8f8f2', variable: '#f8f8f2', attribute: '#66D9EF', definition: '#72C05D', keyword: '#ff6541', operator: '#66D9EF', property: '#f8f8f2', number: '#ca94ff', string: '#E6DB74', comment: '#5c98cd', meta: '#f8f8f2', tag: '#ff6541' } }, { id: 'material', name: 'Material', highlights: { background: '#263238', text: 'rgba(233, 237, 237, 1)', variable: '#80CBC4', attribute: '#FFCB6B', definition: 'rgba(233, 237, 237, 1)', keyword: 'rgba(199, 146, 234, 1)', operator: 'rgba(233, 237, 237, 1)', property: '#80CBAE', number: '#F77669', string: '#C3E88D', comment: '#546E7A', meta: '#80CBC4', tag: 'rgba(255, 83, 112, 1)' } }, { id: 'monokai', name: 'Monokai', highlights: { background: '#272822', text: '#f8f8f2', variable: '#9effff', attribute: '#a6e22e', definition: '#fd971f', keyword: '#f92672', operator: '#fff', property: '#a6e22e', number: '#ae81ff', string: '#e6db74', comment: '#75715e', meta: '#555', tag: '#bc6283' } }, { id: 'night-owl', name: 'Night Owl', highlights: { background: '#011627', text: '#abb2bf', variable: '#82AAFF', attribute: '#F78C6C', definition: '#82AAFF', keyword: '#c792ea', operator: '#c792ea', property: '#fff', number: '#F78C6C', string: '#ecc48d', comment: '#5c6370', meta: '#7fdbca' } }, { id: 'nord', name: 'Nord', highlights: { background: '#2e3440', text: '#d8dee9', variable: '#88C0D0', attribute: '#8FBCBB', definition: '#D8DEE9', keyword: '#81A1C1', operator: '#81A1C1', property: '#D8DEE9', number: '#B48EAD', string: '#A3BE8C', comment: '#4C566A', meta: '#81A1C1', tag: '#81A1C1' } }, { id: 'oceanic-next', name: 'Oceanic Next', highlights: { background: '#304148', text: '#f8f8f2', variable: '#f8f8f2', attribute: '#C594C5', definition: '#6699CC', keyword: '#C594C5', operator: '#fff', property: '#99C794', number: '#F99157', string: '#99C794', comment: '#65737E', meta: '#555', tag: '#C594C5' } }, { id: 'one-light', name: 'One Light', light: true, highlights: { background: '#fafafa', text: '#383a42', variable: '#e06c75', attribute: '#d19a66', definition: '#4078f2', keyword: '#a626a4', operator: '#0184bc', property: '#4078f2', number: '#986801', string: '#50a14f', comment: '#a0a1a7', meta: '#383a42', tag: '#e45649' } }, { id: 'one-dark', name: 'One Dark', highlights: { background: '#282c34', text: '#abb2bf', variable: '#e06c75', attribute: '#d19a66', definition: '#e5c07b', keyword: '#c678dd', operator: '#56b6c2', property: '#56b6c2', number: '#d19a66', string: '#98c379', comment: '#5c6370', meta: '#abb2bf', tag: '#e06c75' } }, { id: 'panda-syntax', name: 'Panda', highlights: { background: '#292A2B', text: '#E6E6E6', variable: '#ff9ac1', attribute: '#ffb86c', definition: '#e6e6e6', keyword: '#FF75B5', operator: '#f3f3f3', property: '#f3f3f3', number: '#FFB86C', string: '#19F9D8', comment: '#676B79', meta: '#b084eb', tag: '#ff2c6d' } }, { id: 'paraiso-dark', name: 'Paraiso', highlights: { background: '#2f1e2e', text: '#b9b6b0', variable: '#06b6ef', attribute: '#48b685', definition: '#f99b15', keyword: '#ef6155;', operator: '#fff', property: '#48b685', number: '#815ba4', string: '#fec418', comment: '#e96ba8', meta: '#555', tag: '#ef6155' } }, { id: 'seti', name: 'Seti', highlights: { background: '#151718', text: '#CFD2D1', variable: '#a074c4', attribute: '#9fca56', definition: '#55b5db', keyword: '#e6cd69', operator: '#9fca56', property: '#a074c4', number: '#cd3f45', string: '#55b5db', comment: '#41535b', meta: '#55b5db', tag: '#55b5db' } }, { id: 'shades-of-purple', name: 'Shades of Purple ', highlights: { background: '#2D2B55', text: '#FFFFFF', variable: '#9EFFFF', attribute: '#9EFFFF', definition: '#9EFFFF', keyword: '#FF9D00', operator: '#FF9D00', property: '#FAD000', number: '#FF628C', string: '#A5FF90', comment: '#B362FF', meta: '#FF9D00', tag: '#9EFFFF' } }, { id: 'solarized dark', name: 'Solarized (Dark)', link: 'solarized', highlights: { background: '#002b36', text: '#839496', variable: '#b58900', attribute: '#2aa198', definition: '#2aa198', keyword: '#cb4b16', operator: '#6c71c4', property: '#2aa198', number: '#d33682', string: '#859900', comment: '#586e75', meta: '#859900', tag: '#93a1a1' } }, { id: 'solarized light', name: 'Solarized (Light)', link: 'solarized', light: true, highlights: { background: '#fdf6e3', text: '#657b83', variable: '#839496', attribute: '#2aa198', definition: '#2aa198', keyword: '#cb4b16', operator: '#6c71c4', property: '#2aa198', number: '#d33682', string: '#859900', comment: '#586e75', meta: '#859900', tag: '#93a1a1' } }, { id: 'tomorrow-night-bright', name: 'Tomorrow Night', highlights: { background: '#000000', text: '#eaeaea', variable: '#7aa6da', attribute: '#99cc99', definition: '#e78c45', keyword: '#d54e53', operator: '#fff', property: '#99cc99', number: '#a16a94', string: '#e7c547', comment: '#d27b53', meta: '#555', tag: '#d54e53' } }, { id: 'twilight', name: 'Twilight', highlights: { background: '#141414', text: '#f7f7f7', variable: '#607392', attribute: '#d6bb6d', definition: '#607392', keyword: '#f9ee98', operator: '#cda869', property: '#fff', number: '#ca7841', string: '#8f9d6a', comment: '#777', meta: '#f7f7f7', tag: '#997643' } }, { id: 'verminal', name: 'Verminal', highlights: { background: 'rgba(0, 0, 0, 0.85)', text: '#fff', variable: '#ff9ba3', attribute: '#d19a66', definition: '#34B7FF', keyword: '#9AE1FF', operator: '#FA78C3', property: '#0af', number: '#d19a66', string: '#98c379', comment: '#5c6370', meta: '#abb2bf', tag: '#e06c75' } }, { id: 'yeti', name: 'Yeti', light: true, highlights: { background: '#ECEAE8', text: '#d1c9c0', variable: '#a074c4', attribute: '#9fb96e', definition: '#55b5db', keyword: '#9fb96e', operator: '#9fb96e', property: '#a074c4', number: '#a074c4', string: '#96c0d8', comment: '#d4c8be', meta: '#96c0d8', tag: '#96c0d8' } }, { id: 'zenburn', name: 'Zenburn', highlights: { background: '#3f3f3f', text: '#dcdccc', variable: '#dcdccc', attribute: '#dfaf8f', definition: '#dcdccc', keyword: '#f0dfaf', operator: '#f0efd0', property: '#dfaf8f', number: '#dcdccc', string: '#cc9393', comment: '#7f9f7f', meta: '#f0dfaf', tag: '#93e0e3' } } ] export const THEMES_HASH = toHash(THEMES) export const LANGUAGES = [ { name: 'Auto', mode: 'auto' }, { name: 'Apache', mode: 'apache', mime: 'text/apache', custom: true }, { name: 'Bash', mode: 'shell', mime: 'application/x-sh' }, { name: 'Plain Text', mode: 'text' }, { name: 'C', mode: 'clike', mime: 'text/x-csrc', short: 'c' }, { name: 'C++', mode: 'clike', mime: 'text/x-c++src', short: 'cpp' }, { name: 'C#', mode: 'clike', mime: 'text/x-csharp', short: 'cs' }, { name: 'Clojure', mode: 'clojure' }, { name: 'Cobol', mode: 'cobol' }, { name: 'CoffeeScript', mode: 'coffeescript' }, { name: 'Crystal', mode: 'crystal' }, { name: 'CSS', mode: 'css' }, { name: 'D', mode: 'd' }, { name: 'Dart', mode: 'dart' }, { name: 'Diff', mode: 'diff', mime: 'text/x-diff' }, { name: 'Django', mode: 'django' }, { name: 'Docker', mode: 'dockerfile' }, { name: 'Elixir', mode: 'elixir', custom: true }, { name: 'Elm', mode: 'elm' }, { name: 'Erlang', mode: 'erlang' }, { name: 'Fortran', mode: 'fortran' }, { name: 'F#', mode: 'mllike' }, { name: 'Gherkin', mode: 'gherkin' }, { name: 'GraphQL', mode: 'graphql', custom: true }, { name: 'Go', mode: 'go', mime: 'text/x-go' }, { name: 'Groovy', mode: 'groovy' }, { name: 'Handlebars', mode: 'handlebars' }, { name: 'Haskell', mode: 'haskell' }, { name: 'Haxe', mode: 'haxe' }, { name: 'HTML', mode: 'htmlmixed' }, { name: 'Java', mode: 'clike', mime: 'text/x-java', short: 'java' }, { name: 'JavaScript', mode: 'javascript', short: 'javascript' }, { name: 'JSON', mode: 'javascript', mime: 'application/json', short: 'json' }, { name: 'JSX', mode: 'jsx', short: 'jsx' }, { name: 'Julia', mode: 'julia' }, { name: 'Kotlin', mode: 'clike', mime: 'text/x-kotlin', short: 'kotlin' }, { name: 'LaTeX', mode: 'stex' }, { name: 'Lisp', mode: 'commonlisp' }, { name: 'Lua', mode: 'lua' }, { name: 'Markdown', mode: 'markdown' }, { name: 'Mathematica', mode: 'mathematica' }, { name: 'MATLAB/Octave', mode: 'octave', mime: 'text/x-octave' }, { name: 'MySQL', mode: 'sql', mime: 'text/x-mysql', short: 'mysql' }, { name: 'N-Triples', mode: 'ntriples', mime: 'application/n-triples' }, { name: 'NGINX', mode: 'nginx' }, { name: 'Nim', mode: 'nimrod', custom: true }, { name: 'Objective C', mode: 'clike', mime: 'text/x-objectivec', short: 'objectivec' }, { name: 'OCaml', mode: 'mllike' }, { name: 'Pascal', mode: 'pascal' }, { name: 'Perl', mode: 'perl' }, { name: 'PHP', mode: 'php', mime: 'text/x-php', short: 'php' }, { name: 'PowerShell', mode: 'powershell' }, { name: 'Python', mode: 'python' }, { name: 'R', mode: 'r' }, { name: 'RISC-V', mode: 'riscv', custom: true }, { name: 'Ruby', mode: 'ruby' }, { name: 'Rust', mode: 'rust' }, { name: 'Sass', mode: 'sass' }, { name: 'Scala', mode: 'clike', mime: 'text/x-scala', short: 'scala' }, { name: 'Smalltalk', mode: 'smalltalk' }, { name: 'SPARQL', mode: 'sparql', mime: 'application/sparql-query' }, { name: 'SQL', mode: 'sql' }, { name: 'Stylus', mode: 'stylus', mime: 'stylus' }, { name: 'Swift', mode: 'swift' }, { name: 'TCL', mode: 'tcl' }, { name: 'TOML', mode: 'toml' }, { name: 'Turtle', mode: 'turtle', mime: 'text/turtle' }, { name: 'TypeScript', mode: 'javascript', mime: 'application/typescript', short: 'typescript' }, { name: 'TSX', mode: 'jsx', mime: 'text/typescript-jsx', short: 'tsx' }, { name: 'Twig', mode: 'twig', mime: 'text/x-twig' }, { name: 'VB.NET', mode: 'vb' }, { name: 'Verilog', mode: 'verilog' }, { name: 'VHDL', mode: 'vhdl' }, { name: 'Vue', mode: 'vue' }, { name: 'XML', mode: 'xml' }, { name: 'YAML', mode: 'yaml' } ] export const EXPORT_SIZES = [ { id: '1x', name: '1x', value: 1 }, { id: '2x', name: '2x', value: 2 }, { id: '4x', name: '4x', value: 4 } ] export const EXPORT_SIZES_HASH = toHash(EXPORT_SIZES) export const LANGUAGE_MIME_HASH = toHash(LANGUAGES, 'mime') export const LANGUAGE_MODE_HASH = toHash(LANGUAGES, 'mode') export const LANGUAGE_NAME_HASH = toHash(LANGUAGES, 'short') export const DEFAULT_LANGUAGE = 'auto' export const DEFAULT_THEME = THEMES_HASH.seti export const DEFAULT_BG_COLOR = 'rgba(171, 184, 195, 1)' export const DEFAULT_EXPORT_SIZE = EXPORT_SIZES_HASH['2x'] export const COLORS = { BLACK: '#121212', PRIMARY: '#F8E81C', SECONDARY: '#fff', GRAY: '#858585', DARK_GRAY: '#393939', HOVER: '#1F1F1F', PURPLE: '#C198FB', DARK_PURPLE: '#55436F', RED: 'red' } export const DEFAULT_CODE = `const pluckDeep = key => obj => key.split('.').reduce((accum, key) => accum[key], obj) const compose = (...fns) => res => fns.reduce((accum, next) => next(accum), res) const unfold = (f, seed) => { const go = (f, seed, acc) => { const res = f(seed) return res ? go(f, res[1], acc.concat([res[0]])) : acc } return go(f, seed, []) }` if (typeof window !== 'undefined' && typeof window.navigator !== 'undefined') { const alreadyLoaded = new Set() LANGUAGES.filter(language => language.mode !== 'auto' && language.mode !== 'text').forEach( language => { if (language.mode && !alreadyLoaded.has(language.mode)) { alreadyLoaded.add(language.mode) language.custom ? require(`./custom/modes/${language.mode}`) : require(`codemirror/mode/${language.mode}/${language.mode}`) } } ) } export const DEFAULT_SETTINGS = { paddingVertical: '56px', paddingHorizontal: '56px', marginVertical: '45px', marginHorizontal: '45px', backgroundImage: null, backgroundImageSelection: null, backgroundMode: 'color', backgroundColor: DEFAULT_BG_COLOR, dropShadow: true, dropShadowOffsetY: '20px', dropShadowBlurRadius: '68px', theme: DEFAULT_THEME.id, windowTheme: 'none', language: DEFAULT_LANGUAGE, fontFamily: 'Hack', fontSize: '14px', lineHeight: '133%', windowControls: true, widthAdjustment: true, lineNumbers: false, exportSize: '2x', watermark: false, squaredImage: false } export const DEFAULT_PRESET_ID = 'preset:4' export const DEFAULT_PRESETS = [ { ...DEFAULT_SETTINGS, icon: '/static/presets/4.png', id: DEFAULT_PRESET_ID }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(74,144,226,1)', dropShadow: false, theme: 'material', fontFamily: 'Fira Code', lineHeight: '152%', icon: '/static/presets/7.png', id: 'preset:7' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(248,231,28,1)', dropShadow: false, theme: 'blackboard', fontFamily: 'Fira Code', lineHeight: '152%', icon: '/static/presets/8.png', id: 'preset:8' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(182,162,145,1)', dropShadow: false, theme: 'zenburn', windowTheme: 'bw', lineHeight: '152%', icon: '/static/presets/9.png', id: 'preset:9' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(121,72,185,1)', dropShadow: false, theme: 'verminal', windowTheme: 'bw', fontFamily: 'Fira Code', fontSize: '14px', lineHeight: '143%', icon: '/static/presets/0.png', id: 'preset:0' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(239,40,44,1)', theme: 'one-light', lineHeight: '143%', icon: '/static/presets/1.png', id: 'preset:1' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(31,129,109,1)', dropShadow: false, theme: 'night-owl', lineHeight: '143%', windowControls: false, icon: '/static/presets/2.png', id: 'preset:2' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(249,237,212,1)', theme: 'twilight', fontFamily: 'IBM Plex Mono', lineHeight: '143%', icon: '/static/presets/3.png', id: 'preset:3' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(222,171,99,1)', theme: 'duotone-dark', icon: '/static/presets/5.png', id: 'preset:5' }, { ...DEFAULT_SETTINGS, backgroundColor: 'rgba(187,187,187,1)', dropShadowOffsetY: '3px', dropShadowBlurRadius: '13px', theme: 'solarized light', windowTheme: 'sharp', icon: '/static/presets/6.png', id: 'preset:6' } ]
// Based on https://github.com/shramov/leaflet-plugins // GridLayer like https://avinmathew.com/leaflet-and-google-maps/ , but using MutationObserver instead of jQuery import GoogleMapsLoader from "google-maps"; import * as L from "leaflet"; GoogleMapsLoader.VERSION = "weekly"; let google; // class GridLayer.GoogleMutant // extends GridLayer L.GridLayer.GoogleMutant = L.GridLayer.extend({ includes: L.Evented, options: { minZoom: 0, maxZoom: 18, tileSize: 256, subdomains: "abc", errorTileUrl: "", attribution: "", // The mutant container will add its own attribution anyways. opacity: 1, continuousWorld: false, noWrap: false, // 🍂option type: String = 'roadmap' // Google's map type. Valid values are 'roadmap', 'satellite' or 'terrain'. 'hybrid' is not really supported. type: "HYBRID", maxNativeZoom: 18, }, initialize(options) { L.GridLayer.prototype.initialize.call(this, options); let self = this; if ( options.asclientid ) { GoogleMapsLoader.CLIENT = options.googlekey; } else { GoogleMapsLoader.KEY = options.googlekey; } GoogleMapsLoader.LIBRARIES = options.libraries || []; if ( options.channel ) { GoogleMapsLoader.CHANNEL = options.channel; } self._type = options.maptype || "SATELLITE"; GoogleMapsLoader.load(function(_google) { google = _google; self._ready = true; // self._initMapObject(); // self. self._initMutant(); self._update(); if ( options.onAfterLoad ) { options.onAfterLoad(google); } // this._ready = google.maps.Map !== undefined; // if (!this._ready) L.Google.asyncWait.push(this); }); // Couple data structures indexed by tile key this._tileCallbacks = {}; // Callbacks for promises for tiles that are expected this._freshTiles = {}; // Tiles from the mutant which haven't been requested yet this._imagesPerTile = self._type === "HYBRID" ? 2 : 1; this.createTile = self._type === "HYBRID" ? this._createMultiTile : this._createSingleTile; }, onAdd(map) { L.GridLayer.prototype.onAdd.call(this, map); this._initMutantContainer(); // Will be called after callback passed in initialize function GoogleMapsLoader.load( function(google) { this._map = map; this._initMutant(); map.on("viewreset", this._reset, this); map.on("move", this._update, this); map.on("zoomend", this._handleZoomAnim, this); map.on("resize", this._resize, this); // 20px instead of 1em to avoid a slight overlap with google's attribution map._controlCorners.bottomright.style.marginBottom = "20px"; this._reset(); this._update(); }.bind(this) ); }, onRemove(map) { L.GridLayer.prototype.onRemove.call(this, map); map._container.removeChild(this._mutantContainer); this._mutantContainer = undefined; map.off("viewreset", this._reset, this); map.off("move", this._update, this); map.off("zoomend", this._handleZoomAnim, this); map.off("resize", this._resize, this); if ( map._controlCorners ) map._controlCorners.bottomright.style.marginBottom = "0em"; }, getAttribution() { return this.options.attribution; }, setOpacity(opacity) { this.options.opacity = opacity; if ( opacity < 1 ) { L.DomUtil.setOpacity(this._mutantContainer, opacity); } }, setElementSize(e, size) { e.style.width = size.x + "px"; e.style.height = size.y + "px"; }, _initMutantContainer() { if ( !this._mutantContainer ) { this._mutantContainer = L.DomUtil.create( "div", "leaflet-google-mutant leaflet-top leaflet-left" ); this._mutantContainer.id = "_MutantContainer_" + L.Util.stamp(this._mutantContainer); // this._mutantContainer.style.zIndex = 'auto'; this._mutantContainer.style.pointerEvents = "none"; this._map.getContainer().appendChild(this._mutantContainer); } this.setOpacity(this.options.opacity); this.setElementSize(this._mutantContainer, this._map.getSize()); this._attachObserver(this._mutantContainer); }, _initMutant() { if ( !this._ready || !this._mutantContainer ) return; this._mutantCenter = new google.maps.LatLng(0, 0); let map = new google.maps.Map(this._mutantContainer, { center: this._mutantCenter, zoom: 0, tilt: 0, mapTypeId: google.maps.MapTypeId[ this._type ], disableDefaultUI: true, keyboardShortcuts: false, draggable: false, disableDoubleClickZoom: true, scrollwheel: false, streetViewControl: false, styles: this.options.styles || {}, backgroundColor: "transparent", }); this._mutant = map; // 🍂event spawned // Fired when the mutant has been created. this.fire("spawned", { mapObject: map, }); }, _attachObserver: function _attachObserver(node) { // console.log('Gonna observe', node); let observer = new MutationObserver(this._onMutations.bind(this)); // pass in the target node, as well as the observer options observer.observe(node, { childList: true, subtree: true, }); }, _onMutations: function _onMutations(mutations) { for ( let i = 0; i < mutations.length; ++i ) { let mutation = mutations[ i ]; for ( let j = 0; j < mutation.addedNodes.length; ++j ) { let node = mutation.addedNodes[ j ]; if ( node instanceof HTMLImageElement ) { this._onMutatedImage(node); } else if ( node instanceof HTMLElement ) { Array.prototype.forEach.call( node.querySelectorAll("img"), this._onMutatedImage.bind(this) ); } } } }, // Only images which 'src' attrib match this will be considered for moving around. // Looks like some kind of string-based protobuf, maybe?? // Only the roads (and terrain, and vector-based stuff) match this pattern _roadRegexp: /!1i(\d+)!2i(\d+)!3i(\d+)!/, // On the other hand, raster imagery matches this other pattern _satRegexp: /x=(\d+)&y=(\d+)&z=(\d+)/, // On small viewports, when zooming in/out, a static image is requested // This will not be moved around, just removed from the DOM. _staticRegExp: /StaticMapService\.GetMapImage/, _onMutatedImage: function _onMutatedImage(imgNode) { // if (imgNode.src) { // console.log('caught mutated image: ', imgNode.src); // } let coords; let match = imgNode.src.match(this._roadRegexp); let sublayer; let parent; if ( match ) { coords = { z: match[ 1 ], x: match[ 2 ], y: match[ 3 ], }; if ( this._imagesPerTile > 1 ) { imgNode.style.zIndex = 1; } sublayer = 1; } else { match = imgNode.src.match(this._satRegexp); if ( match ) { coords = { x: match[ 1 ], y: match[ 2 ], z: match[ 3 ], }; } // imgNode.style.zIndex = 0; sublayer = 0; } if ( coords ) { let key = this._tileCoordsToKey(coords); imgNode.style.position = "absolute"; if ( this._imagesPerTile > 1 ) { key += "/" + sublayer; } if ( key in this._tileCallbacks && this._tileCallbacks[ key ] ) { // console.log('Fullfilling callback ', key); this._tileCallbacks[ key ].pop()(imgNode); if ( !this._tileCallbacks[ key ].length ) { delete this._tileCallbacks[ key ]; } } else { // console.log('Caching for later', key); parent = imgNode.parentNode; if ( parent ) { parent.removeChild(imgNode); parent.removeChild = L.Util.falseFn; // imgNode.parentNode.replaceChild(L.DomUtil.create('img'), imgNode); } if ( key in this._freshTiles ) { this._freshTiles[ key ].push(imgNode); } else { this._freshTiles[ key ] = [ imgNode ]; } } } else if ( imgNode.src.match(this._staticRegExp) ) { parent = imgNode.parentNode; if ( parent ) { // Remove the image, but don't store it anywhere. // Image needs to be replaced instead of removed, as the container // seems to be reused. imgNode.parentNode.replaceChild(L.DomUtil.create("img"), imgNode); } } }, // This will be used as this.createTile for 'roadmap', 'sat', 'terrain' _createSingleTile: function createTile(coords, done) { let key = this._tileCoordsToKey(coords); // console.log('Need:', key); if ( key in this._freshTiles ) { let tile = this._freshTiles[ key ].pop(); if ( !this._freshTiles[ key ].length ) { delete this._freshTiles[ key ]; } L.Util.requestAnimFrame(done); // console.log('Got ', key, ' from _freshTiles'); return tile; } let tileContainer = L.DomUtil.create("div"); this._tileCallbacks[ key ] = this._tileCallbacks[ key ] || []; this._tileCallbacks[ key ].push( (function(c /* , k*/) { return function(imgNode) { let parent = imgNode.parentNode; if ( parent ) { parent.removeChild(imgNode); parent.removeChild = L.Util.falseFn; // imgNode.parentNode.replaceChild(L.DomUtil.create('img'), imgNode); } c.appendChild(imgNode); done(); // console.log('Sent ', k, ' to _tileCallbacks'); }; })(tileContainer /* , key*/) ); return tileContainer; }, // This will be used as this.createTile for 'hybrid' _createMultiTile: function createTile(coords, done) { let key = this._tileCoordsToKey(coords); let tileContainer = L.DomUtil.create("div"); tileContainer.dataset.pending = this._imagesPerTile; for ( let i = 0; i < this._imagesPerTile; i++ ) { let key2 = key + "/" + i; if ( key2 in this._freshTiles ) { tileContainer.appendChild(this._freshTiles[ key2 ].pop()); if ( !this._freshTiles[ key2 ].length ) { delete this._freshTiles[ key2 ]; } tileContainer.dataset.pending--; // console.log('Got ', key2, ' from _freshTiles'); } else { this._tileCallbacks[ key2 ] = this._tileCallbacks[ key2 ] || []; this._tileCallbacks[ key2 ].push( (function(c /* , k2*/) { return function(imgNode) { let parent = imgNode.parentNode; if ( parent ) { parent.removeChild(imgNode); parent.removeChild = L.Util.falseFn; // imgNode.parentNode.replaceChild(L.DomUtil.create('img'), imgNode); } c.appendChild(imgNode); c.dataset.pending--; if ( !parseInt(c.dataset.pending) ) { done(); } // console.log('Sent ', k2, ' to _tileCallbacks, still ', c.dataset.pending, ' images to go'); }; })(tileContainer /* , key2*/) ); } } if ( !parseInt(tileContainer.dataset.pending) ) { L.Util.requestAnimFrame(done); } return tileContainer; }, _checkZoomLevels() { // setting the zoom level on the Google map may result in a different zoom level than the one requested // (it won't go beyond the level for which they have data). // verify and make sure the zoom levels on both Leaflet and Google maps are consistent if ( this._map.getZoom() !== undefined && this._mutant.getZoom() !== this._map.getZoom() ) { // zoom levels are out of sync. Set the leaflet zoom level to match the google one this._map.setZoom(this._mutant.getZoom()); } }, _reset() { this._initContainer(); }, _update() { L.GridLayer.prototype._update.call(this); if ( !this._mutant ) return; let center = this._map.getCenter(); let _center = new google.maps.LatLng(center.lat, center.lng); this._mutant.setCenter(_center); let zoom = this._map.getZoom(); if ( zoom !== undefined ) { this._mutant.setZoom(Math.round(this._map.getZoom())); } }, _resize() { let size = this._map.getSize(); if ( this._mutantContainer.style.width === size.x && this._mutantContainer.style.height === size.y ) return; this.setElementSize(this._mutantContainer, size); if ( !this._mutant ) return; google.maps.event.trigger(this._mutant, "resize"); }, _handleZoomAnim() { let center = this._map.getCenter(); let _center = new google.maps.LatLng(center.lat, center.lng); this._mutant.setCenter(_center); this._mutant.setZoom(Math.round(this._map.getZoom())); }, // Agressively prune _freshtiles when a tile with the same key is removed, // this prevents a problem where Leaflet keeps a loaded tile longer than // GMaps, so that GMaps makes two requests but Leaflet only consumes one, // polluting _freshTiles with stale data. _removeTile(key) { if ( this._imagesPerTile > 1 ) { for ( let i = 0; i < this._imagesPerTile; i++ ) { let key2 = key + "/" + i; if ( key2 in this._freshTiles ) { delete this._freshTiles[ key2 ]; } // console.log('Pruned spurious hybrid _freshTiles'); } } else if ( key in this._freshTiles ) { delete this._freshTiles[ key ]; // console.log('Pruned spurious _freshTiles', key); } return L.GridLayer.prototype._removeTile.call(this, key); }, }); // 🍂factory gridLayer.googleMutant(options) // Returns a new `GridLayer.GoogleMutant` given its options L.gridLayer.googleMutant = function(options) { return new L.GridLayer.GoogleMutant(options); };
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var _classCallCheck2 = require("babel-runtime/helpers/classCallCheck"); var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); var _createClass2 = require("babel-runtime/helpers/createClass"); var _createClass3 = _interopRequireDefault(_createClass2); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } //////////////////////////////////////////////////////////////////// // Archontis Politis // archontis.politis@aalto.fi // David Poirier-Quinot // davipoir@ircam.fr //////////////////////////////////////////////////////////////////// // // JSAmbisonics a JavaScript library for higher-order Ambisonics // The library implements Web Audio blocks that perform // typical ambisonic processing operations on audio signals. // //////////////////////////////////////////////////////////////////// ///////////////// /* HOA MIRROR */ ///////////////// var sceneMirror = function () { function sceneMirror(audioCtx, order) { (0, _classCallCheck3.default)(this, sceneMirror); this.ctx = audioCtx; this.order = order; this.nCh = (order + 1) * (order + 1); this.mirrorPlane = 0; // Input and output nodes this.in = this.ctx.createChannelSplitter(this.nCh); this.out = this.ctx.createChannelMerger(this.nCh); // Initialize mirroring gains to unity (no reflection) and connect this.gains = new Array(this.nCh); for (var q = 0; q < this.nCh; q++) { this.gains[q] = this.ctx.createGain(); this.gains[q].gain.value = 1; // Create connections this.in.connect(this.gains[q], q, 0); this.gains[q].connect(this.out, 0, q); } } (0, _createClass3.default)(sceneMirror, [{ key: "reset", value: function reset() { for (var q = 0; q < this.nCh; q++) { this.gains[q].gain.value = 1; } } }, { key: "mirror", value: function mirror(planeNo) { switch (planeNo) { case 0: this.mirrorPlane = 0; this.reset(); break; case 1: // mirroring on yz-plane (front-back) this.reset(); this.mirrorPlane = 1; var q; for (var n = 0; n <= this.order; n++) { for (var m = -n; m <= n; m++) { q = n * n + n + m; if (m < 0 && m % 2 == 0 || m > 0 && m % 2 == 1) this.gains[q].gain.value = -1; } } break; case 2: // mirroring on xz-plane (left-right) this.reset(); this.mirrorPlane = 2; var q; for (var n = 0; n <= this.order; n++) { for (var m = -n; m <= n; m++) { q = n * n + n + m; if (m < 0) this.gains[q].gain.value = -1; } } break; case 3: // mirroring on xy-plane (up-down) this.reset(); this.mirrorPlane = 3; var q; for (var n = 0; n <= this.order; n++) { for (var m = -n; m <= n; m++) { q = n * n + n + m; if ((m + n) % 2 == 1) this.gains[q].gain.value = -1; } } break; default: console.log("The mirroring planes can be either 1 (yz), 2 (xz), 3 (xy), or 0 (no mirroring). Value set to 0."); this.mirrorPlane = 0; this.reset(); } } }]); return sceneMirror; }(); exports.default = sceneMirror; //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFtYmktc2NlbmVNaXJyb3IuanMiXSwibmFtZXMiOlsic2NlbmVNaXJyb3IiLCJhdWRpb0N0eCIsIm9yZGVyIiwiY3R4IiwibkNoIiwibWlycm9yUGxhbmUiLCJpbiIsImNyZWF0ZUNoYW5uZWxTcGxpdHRlciIsIm91dCIsImNyZWF0ZUNoYW5uZWxNZXJnZXIiLCJnYWlucyIsIkFycmF5IiwicSIsImNyZWF0ZUdhaW4iLCJnYWluIiwidmFsdWUiLCJjb25uZWN0IiwicGxhbmVObyIsInJlc2V0IiwibiIsIm0iLCJjb25zb2xlIiwibG9nIl0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBOztBQUVBO0FBQ0E7QUFDQTs7SUFFcUJBLFc7QUFFakIseUJBQVlDLFFBQVosRUFBc0JDLEtBQXRCLEVBQTZCO0FBQUE7OztBQUV6QixhQUFLQyxHQUFMLEdBQVdGLFFBQVg7QUFDQSxhQUFLQyxLQUFMLEdBQWFBLEtBQWI7QUFDQSxhQUFLRSxHQUFMLEdBQVcsQ0FBQ0YsUUFBUSxDQUFULEtBQWVBLFFBQVEsQ0FBdkIsQ0FBWDtBQUNBLGFBQUtHLFdBQUwsR0FBbUIsQ0FBbkI7QUFDQTtBQUNBLGFBQUtDLEVBQUwsR0FBVSxLQUFLSCxHQUFMLENBQVNJLHFCQUFULENBQStCLEtBQUtILEdBQXBDLENBQVY7QUFDQSxhQUFLSSxHQUFMLEdBQVcsS0FBS0wsR0FBTCxDQUFTTSxtQkFBVCxDQUE2QixLQUFLTCxHQUFsQyxDQUFYO0FBQ0E7QUFDQSxhQUFLTSxLQUFMLEdBQWEsSUFBSUMsS0FBSixDQUFVLEtBQUtQLEdBQWYsQ0FBYjtBQUNBLGFBQUssSUFBSVEsSUFBSSxDQUFiLEVBQWdCQSxJQUFJLEtBQUtSLEdBQXpCLEVBQThCUSxHQUE5QixFQUFtQztBQUMvQixpQkFBS0YsS0FBTCxDQUFXRSxDQUFYLElBQWdCLEtBQUtULEdBQUwsQ0FBU1UsVUFBVCxFQUFoQjtBQUNBLGlCQUFLSCxLQUFMLENBQVdFLENBQVgsRUFBY0UsSUFBZCxDQUFtQkMsS0FBbkIsR0FBMkIsQ0FBM0I7QUFDQTtBQUNBLGlCQUFLVCxFQUFMLENBQVFVLE9BQVIsQ0FBZ0IsS0FBS04sS0FBTCxDQUFXRSxDQUFYLENBQWhCLEVBQStCQSxDQUEvQixFQUFrQyxDQUFsQztBQUNBLGlCQUFLRixLQUFMLENBQVdFLENBQVgsRUFBY0ksT0FBZCxDQUFzQixLQUFLUixHQUEzQixFQUFnQyxDQUFoQyxFQUFtQ0ksQ0FBbkM7QUFDSDtBQUVKOzs7O2dDQUVPOztBQUVKLGlCQUFLLElBQUlBLElBQUksQ0FBYixFQUFnQkEsSUFBSSxLQUFLUixHQUF6QixFQUE4QlEsR0FBOUIsRUFBbUM7QUFDL0IscUJBQUtGLEtBQUwsQ0FBV0UsQ0FBWCxFQUFjRSxJQUFkLENBQW1CQyxLQUFuQixHQUEyQixDQUEzQjtBQUNIO0FBQ0o7OzsrQkFFTUUsTyxFQUFTOztBQUVaLG9CQUFPQSxPQUFQO0FBQ0kscUJBQUssQ0FBTDtBQUNJLHlCQUFLWixXQUFMLEdBQW1CLENBQW5CO0FBQ0EseUJBQUthLEtBQUw7QUFDQTtBQUNKLHFCQUFLLENBQUw7QUFDSTtBQUNBLHlCQUFLQSxLQUFMO0FBQ0EseUJBQUtiLFdBQUwsR0FBbUIsQ0FBbkI7QUFDQSx3QkFBSU8sQ0FBSjtBQUNBLHlCQUFLLElBQUlPLElBQUksQ0FBYixFQUFnQkEsS0FBSyxLQUFLakIsS0FBMUIsRUFBaUNpQixHQUFqQyxFQUFzQztBQUNsQyw2QkFBSyxJQUFJQyxJQUFJLENBQUNELENBQWQsRUFBaUJDLEtBQUtELENBQXRCLEVBQXlCQyxHQUF6QixFQUE4QjtBQUMxQlIsZ0NBQUlPLElBQUVBLENBQUYsR0FBSUEsQ0FBSixHQUFNQyxDQUFWO0FBQ0EsZ0NBQUtBLElBQUUsQ0FBRixJQUFPQSxJQUFFLENBQUYsSUFBSyxDQUFiLElBQWtCQSxJQUFFLENBQUYsSUFBT0EsSUFBRSxDQUFGLElBQUssQ0FBbEMsRUFBc0MsS0FBS1YsS0FBTCxDQUFXRSxDQUFYLEVBQWNFLElBQWQsQ0FBbUJDLEtBQW5CLEdBQTJCLENBQUMsQ0FBNUI7QUFDekM7QUFDSjtBQUNEO0FBQ0oscUJBQUssQ0FBTDtBQUNJO0FBQ0EseUJBQUtHLEtBQUw7QUFDQSx5QkFBS2IsV0FBTCxHQUFtQixDQUFuQjtBQUNBLHdCQUFJTyxDQUFKO0FBQ0EseUJBQUssSUFBSU8sSUFBSSxDQUFiLEVBQWdCQSxLQUFLLEtBQUtqQixLQUExQixFQUFpQ2lCLEdBQWpDLEVBQXNDO0FBQ2xDLDZCQUFLLElBQUlDLElBQUksQ0FBQ0QsQ0FBZCxFQUFpQkMsS0FBS0QsQ0FBdEIsRUFBeUJDLEdBQXpCLEVBQThCO0FBQzFCUixnQ0FBSU8sSUFBRUEsQ0FBRixHQUFJQSxDQUFKLEdBQU1DLENBQVY7QUFDQSxnQ0FBSUEsSUFBRSxDQUFOLEVBQVMsS0FBS1YsS0FBTCxDQUFXRSxDQUFYLEVBQWNFLElBQWQsQ0FBbUJDLEtBQW5CLEdBQTJCLENBQUMsQ0FBNUI7QUFDWjtBQUNKO0FBQ0Q7QUFDSixxQkFBSyxDQUFMO0FBQ0k7QUFDQSx5QkFBS0csS0FBTDtBQUNBLHlCQUFLYixXQUFMLEdBQW1CLENBQW5CO0FBQ0Esd0JBQUlPLENBQUo7QUFDQSx5QkFBSyxJQUFJTyxJQUFJLENBQWIsRUFBZ0JBLEtBQUssS0FBS2pCLEtBQTFCLEVBQWlDaUIsR0FBakMsRUFBc0M7QUFDbEMsNkJBQUssSUFBSUMsSUFBSSxDQUFDRCxDQUFkLEVBQWlCQyxLQUFLRCxDQUF0QixFQUF5QkMsR0FBekIsRUFBOEI7QUFDMUJSLGdDQUFJTyxJQUFFQSxDQUFGLEdBQUlBLENBQUosR0FBTUMsQ0FBVjtBQUNBLGdDQUFJLENBQUNBLElBQUVELENBQUgsSUFBTSxDQUFOLElBQVMsQ0FBYixFQUFnQixLQUFLVCxLQUFMLENBQVdFLENBQVgsRUFBY0UsSUFBZCxDQUFtQkMsS0FBbkIsR0FBMkIsQ0FBQyxDQUE1QjtBQUNuQjtBQUNKO0FBQ0Q7QUFDSjtBQUNJTSw0QkFBUUMsR0FBUixDQUFZLGlHQUFaO0FBQ0EseUJBQUtqQixXQUFMLEdBQW1CLENBQW5CO0FBQ0EseUJBQUthLEtBQUw7QUE1Q1I7QUFnREg7Ozs7O2tCQWhGZ0JsQixXIiwiZmlsZSI6ImFtYmktc2NlbmVNaXJyb3IuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xuLy8gIEFyY2hvbnRpcyBQb2xpdGlzXG4vLyAgYXJjaG9udGlzLnBvbGl0aXNAYWFsdG8uZmlcbi8vICBEYXZpZCBQb2lyaWVyLVF1aW5vdFxuLy8gIGRhdmlwb2lyQGlyY2FtLmZyXG4vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vL1xuLy9cbi8vICBKU0FtYmlzb25pY3MgYSBKYXZhU2NyaXB0IGxpYnJhcnkgZm9yIGhpZ2hlci1vcmRlciBBbWJpc29uaWNzXG4vLyAgVGhlIGxpYnJhcnkgaW1wbGVtZW50cyBXZWIgQXVkaW8gYmxvY2tzIHRoYXQgcGVyZm9ybVxuLy8gIHR5cGljYWwgYW1iaXNvbmljIHByb2Nlc3Npbmcgb3BlcmF0aW9ucyBvbiBhdWRpbyBzaWduYWxzLlxuLy9cbi8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vLy8vXG5cbi8vLy8vLy8vLy8vLy8vLy8vXG4vKiBIT0EgTUlSUk9SICovXG4vLy8vLy8vLy8vLy8vLy8vL1xuXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBzY2VuZU1pcnJvciB7XG5cbiAgICBjb25zdHJ1Y3RvcihhdWRpb0N0eCwgb3JkZXIpIHtcblxuICAgICAgICB0aGlzLmN0eCA9IGF1ZGlvQ3R4O1xuICAgICAgICB0aGlzLm9yZGVyID0gb3JkZXI7XG4gICAgICAgIHRoaXMubkNoID0gKG9yZGVyICsgMSkgKiAob3JkZXIgKyAxKTtcbiAgICAgICAgdGhpcy5taXJyb3JQbGFuZSA9IDA7XG4gICAgICAgIC8vIElucHV0IGFuZCBvdXRwdXQgbm9kZXNcbiAgICAgICAgdGhpcy5pbiA9IHRoaXMuY3R4LmNyZWF0ZUNoYW5uZWxTcGxpdHRlcih0aGlzLm5DaCk7XG4gICAgICAgIHRoaXMub3V0ID0gdGhpcy5jdHguY3JlYXRlQ2hhbm5lbE1lcmdlcih0aGlzLm5DaCk7XG4gICAgICAgIC8vIEluaXRpYWxpemUgbWlycm9yaW5nIGdhaW5zIHRvIHVuaXR5IChubyByZWZsZWN0aW9uKSBhbmQgY29ubmVjdFxuICAgICAgICB0aGlzLmdhaW5zID0gbmV3IEFycmF5KHRoaXMubkNoKTtcbiAgICAgICAgZm9yICh2YXIgcSA9IDA7IHEgPCB0aGlzLm5DaDsgcSsrKSB7XG4gICAgICAgICAgICB0aGlzLmdhaW5zW3FdID0gdGhpcy5jdHguY3JlYXRlR2FpbigpO1xuICAgICAgICAgICAgdGhpcy5nYWluc1txXS5nYWluLnZhbHVlID0gMTtcbiAgICAgICAgICAgIC8vIENyZWF0ZSBjb25uZWN0aW9uc1xuICAgICAgICAgICAgdGhpcy5pbi5jb25uZWN0KHRoaXMuZ2FpbnNbcV0sIHEsIDApO1xuICAgICAgICAgICAgdGhpcy5nYWluc1txXS5jb25uZWN0KHRoaXMub3V0LCAwLCBxKTtcbiAgICAgICAgfVxuXG4gICAgfVxuICAgIFxuICAgIHJlc2V0KCkge1xuICAgICAgICBcbiAgICAgICAgZm9yICh2YXIgcSA9IDA7IHEgPCB0aGlzLm5DaDsgcSsrKSB7XG4gICAgICAgICAgICB0aGlzLmdhaW5zW3FdLmdhaW4udmFsdWUgPSAxO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgbWlycm9yKHBsYW5lTm8pIHtcbiAgICAgICAgXG4gICAgICAgIHN3aXRjaChwbGFuZU5vKSB7XG4gICAgICAgICAgICBjYXNlIDA6XG4gICAgICAgICAgICAgICAgdGhpcy5taXJyb3JQbGFuZSA9IDA7XG4gICAgICAgICAgICAgICAgdGhpcy5yZXNldCgpO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAxOlxuICAgICAgICAgICAgICAgIC8vIG1pcnJvcmluZyBvbiB5ei1wbGFuZSAoZnJvbnQtYmFjaylcbiAgICAgICAgICAgICAgICB0aGlzLnJlc2V0KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5taXJyb3JQbGFuZSA9IDE7XG4gICAgICAgICAgICAgICAgdmFyIHE7XG4gICAgICAgICAgICAgICAgZm9yICh2YXIgbiA9IDA7IG4gPD0gdGhpcy5vcmRlcjsgbisrKSB7XG4gICAgICAgICAgICAgICAgICAgIGZvciAodmFyIG0gPSAtbjsgbSA8PSBuOyBtKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHEgPSBuKm4rbittO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKChtPDAgJiYgbSUyPT0wKXx8KG0+MCAmJiBtJTI9PTEpKSB0aGlzLmdhaW5zW3FdLmdhaW4udmFsdWUgPSAtMTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgMjpcbiAgICAgICAgICAgICAgICAvLyBtaXJyb3Jpbmcgb24geHotcGxhbmUgKGxlZnQtcmlnaHQpXG4gICAgICAgICAgICAgICAgdGhpcy5yZXNldCgpO1xuICAgICAgICAgICAgICAgIHRoaXMubWlycm9yUGxhbmUgPSAyO1xuICAgICAgICAgICAgICAgIHZhciBxO1xuICAgICAgICAgICAgICAgIGZvciAodmFyIG4gPSAwOyBuIDw9IHRoaXMub3JkZXI7IG4rKykge1xuICAgICAgICAgICAgICAgICAgICBmb3IgKHZhciBtID0gLW47IG0gPD0gbjsgbSsrKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICBxID0gbipuK24rbTtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlmIChtPDApIHRoaXMuZ2FpbnNbcV0uZ2Fpbi52YWx1ZSA9IC0xO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSAzOlxuICAgICAgICAgICAgICAgIC8vIG1pcnJvcmluZyBvbiB4eS1wbGFuZSAodXAtZG93bilcbiAgICAgICAgICAgICAgICB0aGlzLnJlc2V0KCk7XG4gICAgICAgICAgICAgICAgdGhpcy5taXJyb3JQbGFuZSA9IDM7XG4gICAgICAgICAgICAgICAgdmFyIHE7XG4gICAgICAgICAgICAgICAgZm9yICh2YXIgbiA9IDA7IG4gPD0gdGhpcy5vcmRlcjsgbisrKSB7XG4gICAgICAgICAgICAgICAgICAgIGZvciAodmFyIG0gPSAtbjsgbSA8PSBuOyBtKyspIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIHEgPSBuKm4rbittO1xuICAgICAgICAgICAgICAgICAgICAgICAgaWYgKChtK24pJTI9PTEpIHRoaXMuZ2FpbnNbcV0uZ2Fpbi52YWx1ZSA9IC0xO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgZGVmYXVsdDpcbiAgICAgICAgICAgICAgICBjb25zb2xlLmxvZyhcIlRoZSBtaXJyb3JpbmcgcGxhbmVzIGNhbiBiZSBlaXRoZXIgMSAoeXopLCAyICh4eiksIDMgKHh5KSwgb3IgMCAobm8gbWlycm9yaW5nKS4gVmFsdWUgc2V0IHRvIDAuXCIpXG4gICAgICAgICAgICAgICAgdGhpcy5taXJyb3JQbGFuZSA9IDA7XG4gICAgICAgICAgICAgICAgdGhpcy5yZXNldCgpO1xuICAgICAgICB9XG4gICAgICAgIFxuXG4gICAgfVxuXG59XG4iXX0=
$(function() { $('div.alert').delay(3000).slideUp(300); var sttu, stclai, stclaitemp; var $table = $('#tung').DataTable({ "processing": true, "responsive": false , "select": { style: 'os', selector: 'td:first-child' }, "responsive": { details: { type: 'column', target: 1 } }, "columnDefs": [{ orderable: false, className: 'select-checkbox', targets:0 },{ className: 'control', orderable: false, targets:1 }], "serverSide": true, "ajax": { url:'/proponent/tucqtoan/data', error: function(error){ console.log(error); } }, "dom": 'Bfrtip', "buttons": [ { text: 'In mẫu đề nghị tạm ứng', className: 'btn', action: function(e, dt, node, config){ var selectedRows = dt.rows( {selected: true}).toArray(); var ids=[]; selectedRows[0].forEach(function(item){ ids.push(dt.rows(item).data().toArray()[0].id); }); window.location.href = '/bieumau/denghitamung?arr=' + JSON.stringify(ids); } }, { text: 'Select none', action: function(e, dt, node, config) { dt.rows().deselect(); } } ], "columns": [ {data: 'resp', name: 'resp', searchable: false, orderable: false}, {data: 'check', name: 'check'}, {data: 'created_at', name: 'created_at'}, {data: 'bill', name: 'bill', className: 'desktop'}, {data: 'reason', name: 'reason', className: 'none'}, {data: 'filebooking', name: 'filebooking', className: 'none', searchable: false, orderable: false}, {data: 'khachhang', name: 'khachhang', className: 'none'}, {data: 'loaihang', name: 'loaihang', className: 'none'}, {data: 'tuyenduong', name: 'tuyenduong', className: 'none'}, {data: 'ndonghang', name: 'ndonghang'}, {data: 'ttien', name: 'ttien', render: $.fn.dataTable.render.number(',','.',0,'', ' đ') }, {data: 'ttien_ltron', name: 'ttien_ltron', render: $.fn.dataTable.render.number(',','.',0,'', ' đ') }, {data: 'khang', name: 'khang', className: 'none' }, {data: 'slc20', name: 'slc20', className: 'none'}, {data: 'slc40', name: 'slc40', className: 'none'}, {data: 'lcont', name: 'lcont', className: 'none'}, {data: 'tghung', name: 'tghung'}, {data: 'nyeucau', name: 'nyeucau', className: 'none'}, {data: 'ngiaohang', name: 'ngiaohang', className: 'none'}, {data: 'nnhanhang', name: 'nnhanhang', className: 'none'}, {data: 'status', name: 'status',searchable: false, orderable: false}, {data: 'cuoc', name: 'cuoc', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'playlenh', name: 'playlenh', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'nang', name: 'nang', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'ha', name: 'ha', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'pbtokhai', name: 'pbtokhai', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'phqtiepnhan', name: 'phqtiepnhan', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none" }, {data: 'hquan', name: 'hquan', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none"}, {data: 'pitokhai', name: 'pitokhai', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none"}, {data: 'pkddongvat', name: 'pkddongvat', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none"}, {data: 'pkdthucvat', name: 'pkdthucvat', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none"}, {data: 'psinh', name: 'psinh', render: $.fn.dataTable.render.number(',','.',0,'', ' đ'), className: "none"}, ], "order": [[2, 'desc'], [7, 'asc']] }); });
// Handle Gulp args const arg = require('./gulp-args'); // Development File Structure var MAIN_DIR = ""; var AST_DIR = "public/static"; var NEXT_DEV_SASS = "assets/scss/"; var NEXT_DEV_IMG = "assets/img/"; var NEXT_SCSS = NEXT_DEV_SASS + '**/*.scss' var NEXT_IMG = NEXT_DEV_IMG + '**/*.*' var PROD_CSS = MAIN_DIR + AST_DIR + "/css"; var PROD_IMG = MAIN_DIR + AST_DIR + "/img"; // Include gulp/gulp plugins var gulp = require('gulp'); var gulpif = require('gulp-if'); var notify = require('gulp-notify'); var browserSync = require('browser-sync').create(); var historyApiFallback = require('connect-history-api-fallback'); // The value does't matter, if it exist set as true if (arg.prod != undefined) { arg.prod = true; } // Set environment var process.env.NODE_ENV = (arg.prod ? 'production' : 'development'); // Process sass files gulp.task('build-sass', function() { var sass = require('gulp-sass'); var concat = require('gulp-concat'); var cssmin = require('gulp-cssmin'); var sassOptions = (arg.prod ? { errLogToConsole: true, outputStyle: 'compressed', sourceComments: false } : { errLogToConsole: true, linefeed: 'lf', // 'lf'/'crlf'/'cr'/'lfcr' outputStyle: 'expanded', // 'nested','expanded','compact','compressed' sourceComments: false }) return gulp.src(NEXT_SCSS) .pipe(sass(sassOptions)) .pipe(concat((arg.prod ? 'admin-min.css' : 'admin.css'))) .pipe(gulpif(arg.prod, cssmin())) .on("error", notify.onError({ message: 'Error: <%= error.message %>' })) .pipe(gulp.dest(PROD_CSS)); }); // Process react files gulp.task('build-react', function() { var browserify = require('browserify'); var source = require('vinyl-source-stream'); var gConcat = require('gulp-concat'); var minifyJS = require('gulp-minify'); var buffer = require('vinyl-buffer'); var bundle_name = 'admin.js'; return browserify({ entries: ADM_DEV_JSX + 'admin.jsx', extensions: ['.jsx'], debug: false }) .transform('babelify', { presets: ["@babel/preset-env", "@babel/preset-react"] }) .bundle() .pipe(source(bundle_name)) .pipe(buffer()) .pipe(gulpif(arg.prod, gConcat(bundle_name))) .pipe(gulpif(arg.prod, minifyJS())) .pipe(browserSync.stream()) .pipe(gulp.dest(PROD_ADM)); }); // Minify Images gulp.task('build-images', function() { var imagemin = require('gulp-imagemin'); return gulp.src(NEXT_IMG) .pipe(imagemin({ progressive: true, svgoPlugins: [{removeViewBox: false}] })) .pipe(gulp.dest(PROD_IMG)); }); // Watch files gulp.task('watch', function() { gulp.watch(NEXT_SCSS, gulp.series('build-sass')); }); // Tasks gulp.task('dev', gulp.series('build-sass', 'build-images', 'watch')); gulp.task('default', gulp.series('build-sass', 'build-images'));
import React, {Component} from "react"; import Form from "react-jsonschema-form"; const log = (type) => console.log.bind(console, type); const schema = { title: "Todo", type: "object", required: ["title"], properties: { title: { type: "string", title: "Title", default: "A new task" }, done: { type: "boolean", title: "Done?", default: false } } } const formData = { title: "First task by hari", done: true }; const onError = (errors) => console.log("I have", errors.length, "errors to fix"); const GenericForm = () => { return ( <Form schema={schema} formData={formData} onChange={log("changed")} onSubmit={log("submitted")} onError={log("errors")} onError={onError}/> ); } export default GenericForm;
import Link from 'next/link'; import useTranslation from 'next-translate/useTranslation'; import IconPDF from '../icon-pdf'; const ButtonCv = ({ lang }) => { const { t } = useTranslation(); return ( <Link href={`/cv/[${lang}] CV Manea Lucian George.pdf`}> <a aria-label={t('common:cvButtonLabel')} title={t('common:cvButtonLabel')} target='_blank' rel='noreferrer noopener'> <IconPDF /> </a> </Link> ); }; export default ButtonCv;