hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
b41e373e2b977d7883ba9559fc129d48b8b7c124
1,655
js
JavaScript
app/containers/MainPage/tests/actions.test.js
kittipaul/react-boilerplate
7e512a8090099f33bf593aa75ade9c16feeec3b6
[ "MIT" ]
null
null
null
app/containers/MainPage/tests/actions.test.js
kittipaul/react-boilerplate
7e512a8090099f33bf593aa75ade9c16feeec3b6
[ "MIT" ]
null
null
null
app/containers/MainPage/tests/actions.test.js
kittipaul/react-boilerplate
7e512a8090099f33bf593aa75ade9c16feeec3b6
[ "MIT" ]
null
null
null
import { typingGoal, saveGoal, fetchGoals, loadGoals, clearInputBox, } from '../actions'; import { TYPE_GOAL, SAVE_GOAL, FETCH_GOALS, LOADED_GOALS, CLEAR_INPUT, } from '../constants'; describe('MainPage actions', () => { describe('typingGoal', () => { it('has a type of TYPE_GOAL and pass typing goal to payload', () => { const typed = 'typing'; const expected = { type: TYPE_GOAL, goal: typed, }; expect(typingGoal(typed)).toEqual(expected); }); }); describe('saveGoal', () => { it('has a type of SAVE_GOAL and pass the goal to save in database', () => { const goalToSave = 'saved'; const expected = { type: SAVE_GOAL, goal: goalToSave, }; expect(saveGoal(goalToSave)).toEqual(expected); }); }); describe('fetchGoals', () => { it('has a type of SAVE_GOAL and fetch goals from database', () => { const expected = { type: FETCH_GOALS, }; expect(fetchGoals()).toEqual(expected); }); }); describe('loadGoals', () => { it('has a type of SAVE_GOAL and set the goals state to the data we fetch from database', () => { const goalList = ['one', 'two']; const expected = { type: LOADED_GOALS, list: goalList, }; expect(loadGoals(goalList)).toEqual(expected); }); }); describe('clearInputBox', () => { it('has a type of CLEAR_INPUT and reset the goal state to empty string to clear the input box', () => { const expected = { type: CLEAR_INPUT, }; expect(clearInputBox()).toEqual(expected); }); }); });
22.364865
107
0.569184
b41e777cf845f732c044b679ce7ba0ad92437902
1,043
js
JavaScript
src/renderers/shaders/ShaderLib/linedashed_frag.js
3dseals/Bonnie3D
d9bfb0baa8fe9797ec1b70e8e313b3c72617b97a
[ "MIT" ]
null
null
null
src/renderers/shaders/ShaderLib/linedashed_frag.js
3dseals/Bonnie3D
d9bfb0baa8fe9797ec1b70e8e313b3c72617b97a
[ "MIT" ]
null
null
null
src/renderers/shaders/ShaderLib/linedashed_frag.js
3dseals/Bonnie3D
d9bfb0baa8fe9797ec1b70e8e313b3c72617b97a
[ "MIT" ]
null
null
null
export default String('\n\ uniform vec3 diffuse;\n\ uniform float opacity;\n\ \n\ uniform float dashSize;\n\ uniform float totalSize;\n\ \n\ varying float vLineDistance;\n\ \n\ #include <common>\n\ #include <color_pars_fragment>\n\ #include <fog_pars_fragment>\n\ #include <logdepthbuf_pars_fragment>\n\ #include <clipping_planes_pars_fragment>\n\ \n\ void main() {\n\ \n\ #include <clipping_planes_fragment>\n\ \n\ if ( mod( vLineDistance, totalSize ) > dashSize ) {\n\ \n\ discard;\n\ \n\ }\n\ \n\ vec3 outgoingLight = vec3( 0.0 );\n\ vec4 diffuseColor = vec4( diffuse, opacity );\n\ \n\ #include <logdepthbuf_fragment>\n\ #include <color_fragment>\n\ \n\ outgoingLight = diffuseColor.rgb; // simple shader\n\ \n\ gl_FragColor = vec4( outgoingLight, diffuseColor.a );\n\ \n\ #include <premultiplied_alpha_fragment>\n\ #include <tonemapping_fragment>\n\ #include <encodings_fragment>\n\ #include <fog_fragment>\n\ \n\ }\n\ ').replace( /[ \t]*\/\/.*\n/g, '' ).replace( /[ \t]*\/\*[\s\S]*?\*\//g, '' ).replace( /\n{2,}/g, '\n' );
24.833333
104
0.671141
b41f3e757c49d0bef357d575bb7668d2bd63a327
1,799
js
JavaScript
src/components/layout.js
bbruns97/PayPal-Static-Site-Generator
7329338148fd61e140ac965c51ee5a74643858b2
[ "MIT" ]
6
2020-03-01T01:06:24.000Z
2020-04-03T22:48:33.000Z
src/components/layout.js
bbruns97/PayPal-Static-Site-Generator
7329338148fd61e140ac965c51ee5a74643858b2
[ "MIT" ]
null
null
null
src/components/layout.js
bbruns97/PayPal-Static-Site-Generator
7329338148fd61e140ac965c51ee5a74643858b2
[ "MIT" ]
2
2020-03-03T21:19:47.000Z
2020-04-07T05:25:23.000Z
import React from "react" import { css } from "@emotion/core" import { useStaticQuery, Link, graphql } from "gatsby" import Img from 'gatsby-image'; import styled from "styled-components" import Footer from "./footer" import Header from "./header" import 'semantic-ui-css/semantic.min.css' var config = require('./headerFooterInformation.json'); const LogoStyled = styled(Img)` width: 50px; height: 50px; @media (max-width: 30px) { height: 30px; } ` const NavWrapper = styled.div` height: auto; width: 1917px; background: inherit; bottom: 0; overflow: hidden; position: relative; display: table; ` export default ({ children }) => { const data = useStaticQuery( graphql` query { site { siteMetadata { title } } allMarkdownRemark(filter: { frontmatter: { enabled: { eq: true } } }) { totalCount edges { node { id frontmatter { keyword } } } } file(relativePath: {eq: "logo.jpg"}) { childImageSharp { fluid(maxWidth: 100, maxHeight: 100){ ...GatsbyImageSharpFluid } } } } ` ) const keywordsFound = [] data.allMarkdownRemark.edges.forEach(({ node }) => { if (keywordsFound.indexOf("/" + node.frontmatter.keyword) === -1) { keywordsFound.push("/" + node.frontmatter.keyword) } }) return ( <div css={css`margin: 0 auto`}> <Header keywords={keywordsFound} siteTitle={config.title} siteLogo={data.file.childImageSharp.fluid} cartCount="0"/> {children} <Footer /> </div > ) }
24.643836
122
0.538633
b41f4a0fb91d59531cfe741c40e6dfd206a90f6f
10,972
js
JavaScript
node_modules/live2d-widget/src/cLive2DApp.js
CaiRugou/next_config
c00e758fe8e1ff481baa71e3989326ade44dae8b
[ "Apache-2.0" ]
null
null
null
node_modules/live2d-widget/src/cLive2DApp.js
CaiRugou/next_config
c00e758fe8e1ff481baa71e3989326ade44dae8b
[ "Apache-2.0" ]
null
null
null
node_modules/live2d-widget/src/cLive2DApp.js
CaiRugou/next_config
c00e758fe8e1ff481baa71e3989326ade44dae8b
[ "Apache-2.0" ]
null
null
null
/** * @description The main part of live2d-widget */ import { config } from './config/configMgr'; import { createElement, currWebGL, currCanvas } from './elementMgr'; import { UtSystem, UtDebug, LDTransform, LDGL, Live2D, Live2DModelWebGL, Live2DModelJS, Live2DMotion, MotionQueueManager, PhysicsHair, AMotion, PartsDataID, DrawDataID, BaseDataID, ParamID } from './lib/live2d.core'; import { L2DTargetPoint, L2DViewMatrix, L2DMatrix44 } from "./lib/Live2DFramework"; import { cManager } from "./cManager"; import { MatrixStack } from "./utils/MatrixStack"; import { cDefine } from "./cDefine"; let live2DMgr = new cManager(); let captureFrameCB = undefined; let isDrawStart = false; let dragMgr = null; let viewMatrix = null; let projMatrix = null; let deviceToScreen = null; let drag = false; let lastMouseX = 0; let lastMouseY = 0; let headPos = 0.5; let opacityDefault = 0.7; let opacityHover = 1; /** * Main function of live2d-widget * @return {null} */ function theRealInit (){ createElement(); initEvent(); dragMgr = new L2DTargetPoint(); let ratio = currCanvas.height / currCanvas.width; let left = cDefine.VIEW_LOGICAL_LEFT; let right = cDefine.VIEW_LOGICAL_RIGHT; let bottom = -ratio; let top = ratio; viewMatrix = new L2DViewMatrix(); viewMatrix.setScreenRect(left, right, bottom, top); viewMatrix.setMaxScreenRect(cDefine.VIEW_LOGICAL_MAX_LEFT, cDefine.VIEW_LOGICAL_MAX_RIGHT, cDefine.VIEW_LOGICAL_MAX_BOTTOM, cDefine.VIEW_LOGICAL_MAX_TOP); projMatrix = new L2DMatrix44(); projMatrix.multScale(1, (currCanvas.width / currCanvas.height)); deviceToScreen = new L2DMatrix44(); deviceToScreen.multTranslate(-currCanvas.width / 2.0, -currCanvas.height / 2.0); // #32 deviceToScreen.multScale(2 / currCanvas.width, -2 / currCanvas.height); // #32 Live2D.setGL(currWebGL); currWebGL.clearColor(0.0, 0.0, 0.0, 0.0); changeModel(config.model.jsonPath); startDraw(); } /** * Capture current frame to png file * @param {Function} callback The callback function which will receive the current frame * @return {null} * @example * You can use codes below to let the user download the current frame * * L2Dwidget.captureFrame( * function(e){ * let link = document.createElement('a'); * document.body.appendChild(link); * link.setAttribute('type', 'hidden'); * link.href = e; * link.download = 'live2d.png'; * link.click(); * } * ); * * @description Thanks to @journey-ad https://github.com/journey-ad/live2d_src/commit/97356a19f93d2abd83966f032a53b5ca1109fbc3 */ function captureFrame(callback){ captureFrameCB = callback; } function initEvent(){ if (currCanvas.addEventListener) { window.addEventListener("click", mouseEvent); window.addEventListener("mousedown", mouseEvent); window.addEventListener("mousemove", mouseEvent); window.addEventListener("mouseup", mouseEvent); document.addEventListener("mouseleave", mouseEvent); window.addEventListener("touchstart", touchEvent); window.addEventListener("touchend", touchEvent); window.addEventListener("touchmove", touchEvent); } } function startDraw() { if (!isDrawStart) { isDrawStart = true; (function tick() { draw(); let requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; requestAnimationFrame(tick, currCanvas); if(captureFrameCB !== undefined){ captureFrameCB(currCanvas.toDataURL()); captureFrameCB = undefined; } })(); } } function draw() { MatrixStack.reset(); MatrixStack.loadIdentity(); dragMgr.update(); live2DMgr.setDrag(dragMgr.getX(), dragMgr.getY()); currWebGL.clear(currWebGL.COLOR_BUFFER_BIT); MatrixStack.multMatrix(projMatrix.getArray()); MatrixStack.multMatrix(viewMatrix.getArray()); MatrixStack.push(); for (let i = 0; i < live2DMgr.numModels(); i++) { let model = live2DMgr.getModel(i); if(model == null) return; if (model.initialized && !model.updating) { model.update(); model.draw(currWebGL); } } MatrixStack.pop(); } function changeModel(modelurl) // 更换模型 { live2DMgr.reloadFlg = true; live2DMgr.count++; // 现在仍有多模型支持,稍后可以精简 live2DMgr.changeModel(currWebGL, modelurl); } function modelScaling(scale) { viewMatrix.adjustScale(0, 0, scale); } /* function transformRange(center, transform, range) { let a = { x: transform.x - center.x, y: transform.y - center.y } let r = Math.sqrt(Math.pow(a.x,2) + Math.pow(a.y,2)); if (r > range) { a = { x: a.x / r * range + center.x, y: a.y / r * range + center.y }; return a; } else { return transform; } } */ function dot(A,B) { return A.x * B.x + A.y * B.y; } function normalize(x,y) { let length = Math.sqrt(x * x + y * y) return { x: x / length, y: y / length } } function transformRect(center, transform, rect) { if (transform.x < rect.left + rect.width && transform.y < rect.top + rect.height && transform.x > rect.left && transform.y > rect.top) return transform; let Len_X = center.x - transform.x; let Len_Y = center.y - transform.y; function angle(Len_X, Len_Y) { return Math.acos(dot({ x: 0, y: 1 }, normalize(Len_X, Len_Y))) * 180 / Math.PI } let angleTarget = angle(Len_X, Len_Y); if (transform.x < center.x) angleTarget = 360 - angleTarget; let angleLeftTop = 360 - angle(rect.left - center.x, (rect.top - center.y) * -1); let angleLeftBottom = 360 - angle(rect.left - center.x, (rect.top + rect.height - center.y) * -1); let angleRightTop = angle(rect.left + rect.width - center.x, (rect.top - center.y) * -1); let angleRightBottom = angle(rect.left + rect.width - center.x, (rect.top + rect.height - center.y) * -1); let scale = Len_Y / Len_X; let res = {}; if (angleTarget < angleRightTop) { let y3 = rect.top - center.y; let x3 = y3 / scale; res = { y: center.y + y3, x: center.x + x3 } } else if(angleTarget < angleRightBottom) { let x3 = rect.left + rect.width - center.x; let y3 = x3 * scale; res = { y: center.y + y3, x: center.x + x3 } } else if (angleTarget < angleLeftBottom) { let y3 = rect.top + rect.height - center.y; let x3 = y3 / scale; res = { y: center.y + y3, x: center.x + x3 } } else if (angleTarget < angleLeftTop) { let x3 = center.x - rect.left; let y3 = x3 * scale; res = { y: center.y - y3, x: center.x - x3 } } else { let y3 = rect.top - center.y; let x3 = y3 / scale; res = { y: center.y + y3, x: center.x + x3 } } return res; } function modelTurnHead(event) { drag = true; let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); let target = transformRect({ x: rect.left + rect.width / 2, y: rect.top + rect.height * headPos }, { x: event.clientX, y: event.clientY }, rect) let vx = transformViewX(target.x - rect.left); let vy = transformViewY(target.y - rect.top); if (cDefine.DEBUG_MOUSE_LOG) console.log("modelTurnHead onMouseMove device( x:" + event.clientX + " y:" + event.clientY + " ) view( x:" + vx + " y:" + vy + ")"); lastMouseX = sx; lastMouseY = sy; dragMgr.setPoint(vx, vy); } function modelTapEvent(event) { drag = true; let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); let target = transformRect({ x: rect.left + rect.width / 2, y: rect.top + rect.height * headPos }, { x: event.clientX, y: event.clientY }, rect) let vx = transformViewX(target.x - rect.left); let vy = transformViewY(target.y - rect.top); if (cDefine.DEBUG_MOUSE_LOG) console.log("modelTapEvent onMouseDown device( x:" + event.clientX + " y:" + event.clientY + " ) view( x:" + vx + " y:" + vy + ")"); lastMouseX = sx; lastMouseY = sy; live2DMgr.tapEvent(vx, vy); } function followPointer(event) { let rect = currCanvas.getBoundingClientRect(); let sx = transformScreenX(event.clientX - rect.left); let sy = transformScreenY(event.clientY - rect.top); // log but seems ok // console.log("ecx=" + event.clientX + " ecy=" + event.clientY + " sx=" + sx + " sy=" + sy); let target = transformRect({// seems ok here x: rect.left + rect.width / 2, y: rect.top + rect.height * headPos }, { x: event.clientX, y: event.clientY }, rect) let vx = transformViewX(target.x - rect.left); let vy = transformViewY(target.y - rect.top); if (cDefine.DEBUG_MOUSE_LOG) console.log("followPointer onMouseMove device( x:" + event.clientX + " y:" + event.clientY + " ) view( x:" + vx + " y:" + vy + ")"); if (drag) { lastMouseX = sx; lastMouseY = sy; dragMgr.setPoint(vx, vy); } } function lookFront() { if (drag) { drag = false; } dragMgr.setPoint(0, 0); } function mouseEvent(e) { //e.preventDefault(); if (e.type == "mousedown") { modelTapEvent(e); } else if (e.type == "mousemove") { modelTurnHead(e); } else if (e.type == "mouseup") { if("button" in e && e.button != 0) return; // lookFront(); } else if (e.type == "mouseleave") { lookFront(); } } function touchEvent(e) { var touch = e.touches[0]; if (e.type == "touchstart") { if (e.touches.length == 1) modelTapEvent(touch); // onClick(touch); } else if (e.type == "touchmove") { followPointer(touch); } else if (e.type == "touchend") { lookFront(); } } function transformViewX(deviceX) { var screenX = deviceToScreen.transformX(deviceX); return viewMatrix.invertTransformX(screenX); } function transformViewY(deviceY) { var screenY = deviceToScreen.transformY(deviceY); return viewMatrix.invertTransformY(screenY); } function transformScreenX(deviceX) { return deviceToScreen.transformX(deviceX); } function transformScreenY(deviceY) { return deviceToScreen.transformY(deviceY); } export{ theRealInit, captureFrame, }
25.575758
140
0.608276
b4200dcacd201d5c5d22573f679d2ab50aeb9c82
6,943
js
JavaScript
src/__tests__/parseFormulaStrict.js
nikolakulikova/js-fol-parser
f64f490e117b4b52a105656c55def00ee4a3e20e
[ "MIT" ]
null
null
null
src/__tests__/parseFormulaStrict.js
nikolakulikova/js-fol-parser
f64f490e117b4b52a105656c55def00ee4a3e20e
[ "MIT" ]
6
2020-07-06T19:01:50.000Z
2022-03-03T15:13:32.000Z
src/__tests__/parseFormulaStrict.js
nikolakulikova/js-fol-parser
f64f490e117b4b52a105656c55def00ee4a3e20e
[ "MIT" ]
2
2021-03-27T19:00:05.000Z
2021-12-22T13:10:04.000Z
import {chance} from 'jest-chance' import {parseFormulaStrict} from '../index' import language from './helpers/language' import factories from './helpers/factories' const parse = (str, fs = factories) => parseFormulaStrict(str, language, fs) describe('atoms', () => { test('predicate atoms', () => { expect(parse('p(1)')).toBe('p(c:1)'); expect(parse('Q(x,1)')).toBe('Q(v:x,c:1)'); expect(parse('p ( 1 ) ')).toBe('p(c:1)'); expect(parse('p(f(1))')).toBe('p(f(c:1))'); expect(parse('Q(G(x,1),c)')).toBe('Q(G(v:x,c:1),c:c)'); expect(parse(' p ( f ( 1 ) ) ')).toBe('p(f(c:1))'); expect(parse(` p(aFunction(\r \tG(\r \t f(x) ,\r \t G(1,aConstant)\r ),\r \t$v ,\r \t1 ,\r \tf(c) )) `)) .toBe('p(aFunction(G(f(v:x),G(c:1,c:aConstant)),v:$v,c:1,f(c:c)))'); }) test('equality atoms', () => { expect(parse('1=c')).toBe('c:1=c:c'); expect(parse('1≐c')).toBe('c:1=c:c'); expect(parse('G(x,1)=f(c)')).toBe('G(v:x,c:1)=f(c:c)'); expect(parse(` aFunction( G( f(aConstant), G(1,c) )\t, 1, $$123\t, f(f(f(t14)))\r\n\t) = aFunction( f(f(f(t14))), _x_\t, c, G( f(aConstant), G(1,c) ) ) `)).toBe('aFunction(G(f(c:aConstant),G(c:1,c:c)),' + 'c:1,v:$$123,f(f(f(v:t14))))='+ 'aFunction(f(f(f(v:t14))),v:_x_,c:c,'+ 'G(f(c:aConstant),G(c:1,c:c)))'); }); test('non-atoms', () => { expect(() => parse('asdf')).toThrow(/formula but "a"/); expect(() => parse('x(x)')).toThrow(/formula but "x"/); expect(() => parse('c(x)')).toThrow(/formula but "c"/); expect(() => parse('f(x)')).toThrow(/formula but "f"/); expect(() => parse('f(x,)')).toThrow(/formula but "f"/); expect(() => parse('f(,x)')).toThrow(/formula but "f"/); expect(() => parse('G(x,)')).toThrow(/formula but "G"/); expect(() => parse('G(,x)')).toThrow(/formula but "G"/); expect(() => parse('f(x,y)')).toThrow(/1 argument to f but "f\(x,y\)"/); expect(() => parse('G(x)')).toThrow(/2 arguments to G/); expect(() => parse('aFunction(1,c)')).toThrow(/4 arguments/); expect(() => parse('p(p)')).toThrow(/1 argument to p but "p"/); expect(() => parse('p()')).toThrow(/1 argument to p but "p"/); expect(() => parse('p')).toThrow(/1 argument to p but "p"/); expect(() => parse('Q(x,)')).toThrow(/2 arguments to Q but "Q"/); expect(() => parse('Q(,x)')).toThrow(/2 arguments to Q but "Q"/); expect(() => parse('p(x,y)')).toThrow(/1 argument to p but "p\(x,y\)"/); expect(() => parse('Q(x)')).toThrow(/2 arguments to Q but "Q\(x\)"/); expect(() => parse('aPredicate(aFunction(1,c,x,y),c,x,y)')) .toThrow(/5 arguments/); expect(() => parse('p(x) = f(y)')).toThrow(/end of input but "="/); expect(() => parse('f(x) = p(y)')).toThrow(/formula but "f"/); }) }); describe('shallow strict formulas', () => { test.each(['¬', '-', '~', '\\lnot ','\\neg '])('negation as %s', sym => { expect(parse(`${sym}p(x)`)).toBe('¬p(v:x)'); expect(parse(` ${sym}\t \n\rp(x) `)).toBe('¬p(v:x)'); } ); [ { con: '∧', symbols: ['∧', '&', '&&', '/\\', '\\land ', '\\wedge '] }, { con: '∨', symbols: ['∨', '|', '||', '\\/', '\\lor ', '\\vee '] }, { con: '→', symbols: [ '→', '⟶', '⇒', '⟹', '⊃', '->', '-->', '=>', '==>', '\\limpl ', '\\implies ', '\\rightarrow ', '\\to ' ] }, { con: '↔︎', symbols: [ '↔︎', '⟷', '⇔', '⟺', '≡', '<->', '<-->', '<=>', '<==>', '===', '\\lequiv ', '\\leftrightarrow ', '\\equivalent ', '\\equiv ' ] }, ].forEach(({con, symbols}) => test.each(symbols)(`${con} as %s`, sym => { expect(parse(`(p(x)${sym}Q(c,1))`)).toBe(`(p(v:x)${con}Q(c:c,c:1))`); expect(parse(` (\tp(x)\n${sym}\r\nQ(c,1) )\t`)) .toBe(`(p(v:x)${con}Q(c:c,c:1))`); } ) ); [ { con: '∧', symbols: ['\\land', '\\wedge'] }, { con: '∨', symbols: ['\\lor', '\\vee'] }, { con: '→', symbols: [ '\\limpl', '\\implies', '\\rightarrow', '\\to' ] }, { con: '↔︎', symbols: [ '\\lequiv', '\\leftrightarrow', '\\equivalent', '\\equiv' ] }, ].forEach(({con, symbols}) => test.each(symbols)(`${con} as %s`, sym => { expect(parse(`(p(x)${sym}(u=1))`)).toBe(`(p(v:x)${con}v:u=c:1)`); } ) ); [ { quant: '∃', symbols: ['∃', '\\e ', '\\ex ', '\\exists ', '\\E '] }, { quant: '∀', symbols: ['∀', '\\a ', '\\all ', '\\forall ', '\\A '] }, ].forEach(({quant, symbols}) => test.each(symbols)(`${quant} as %s`, sym => { expect(parse(`${sym}x Q(c,x)`)).toBe(`${quant}x Q(c:c,v:x)`); expect(parse(` ${sym}\tx\r\np(x)\n\t`)) .toBe(`${quant}x p(v:x)`); } ) ); }) const idemFactories = { ...factories, variable: (v, _) => `${v}`, constant: (c, _) => `${c}` } const atoms = [ 'Q(1,x)', 'f(1)=G(c,y)' ] const unary = [ f => factories.negation(f), f => factories.existentialQuant('x', f), f => factories.universalQuant('y', f), ] const binary = [ (f1, f2) => factories.conjunction(f1, f2), (f1, f2) => factories.disjunction(f1, f2), (f1, f2) => factories.implication(f1, f2), (f1, f2) => factories.equivalence(f1, f2), ] const chanceLowerDeg = (deg) => Math.max(0, deg - chance.integer({min: 1, max: 2})) const chanceFormulaString = (deg) => { if (deg <= 0) return chance.pickone(atoms); const i = chance.integer({ min: -binary.length, max: unary.length - 1}); if (i >= 0) { return unary[i](chanceFormulaString(chanceLowerDeg(deg))); } return binary[-i - 1]( chanceFormulaString(chanceLowerDeg(deg)), chanceFormulaString(chanceLowerDeg(deg)) ); } describe('nested strict formula parsing (256 randomly generated formulas)', () => { for (let _i = 0; _i < 256; ++_i) { const f = chanceFormulaString(chance.integer({min: 1, max: 4})); test(`nested formula "${f}"`, () => { expect(parse(f, idemFactories)).toBe(f); }); } }) describe('very deep, right-parenthesized clause', () => { test('...', () => { let deepIn = 'p(c)'; let deepOut = 'p(c:c)'; for (let i = 0; i < 12; i++) { deepIn = `(p(c)∨${deepIn})`; deepOut = `(p(c:c)∨${deepOut})`; } expect(parse(deepIn)).toBe(deepOut); }); }) describe('very deep, left-parenthesized clause', () => { test('...', () => { let deepIn = 'p(c)'; let deepOut = 'p(c:c)'; for (let i = 0; i < 12; i++) { deepIn = `(${deepIn}∨p(c))`; deepOut = `(${deepOut}∨p(c:c))`; } expect(parse(deepIn)).toBe(deepOut); }); })
27.995968
77
0.452542
b420828a0f60a8a5912c6a27518d1ce0a352b039
3,197
js
JavaScript
src/commands/addons/delete.js
aisflat439/cli
5422736f3e47675619568036f1bc09a81f3c92cc
[ "MIT" ]
null
null
null
src/commands/addons/delete.js
aisflat439/cli
5422736f3e47675619568036f1bc09a81f3c92cc
[ "MIT" ]
5
2019-04-10T16:03:12.000Z
2019-10-07T13:00:29.000Z
src/commands/addons/delete.js
Berkmann18/cli
1216049604fbc615bfd4ba604be85f27bfad00a4
[ "MIT" ]
null
null
null
const Command = require('@netlify/cli-utils') const inquirer = require('inquirer') const { getAddons, deleteAddon } = require('netlify/src/addons') const { parseRawFlags } = require('../../utils/parse-raw-flags') const { flags } = require('@oclif/command') class AddonsDeleteCommand extends Command { async run() { const accessToken = await this.authenticate() const { args, raw } = this.parse(AddonsDeleteCommand) const { site } = this.netlify const addonName = args.name const siteId = site.id if (!siteId) { this.log('No site id found, please run inside a site folder or `netlify link`') return false } const addons = await getAddons(siteId, accessToken) if (typeof addons === 'object' && addons.error) { this.log('API Error', addons) return false } // Filter down addons to current args.name const currentAddon = addons.find( current => current.service_path && current.service_path.replace('/.netlify/', '') === addonName ) || {} const { force, f } = parseRawFlags(raw) if (!force && !f) { const { wantsToDelete } = await inquirer.prompt({ type: 'confirm', name: 'wantsToDelete', message: `Are you sure you want to delete the ${addonName} add-on? (to skip this prompt, pass a --force flag)`, default: false }) if (!wantsToDelete) { this.exit() } } if (!currentAddon.id) { this.log(`No add-on "${addonName}" found for site. Add-on already deleted or never existed!`) this.log(`> Run \`netlify addons:create ${addonName}\` to create an instance for this site`) return false } const settings = { siteId: siteId, addon: addonName, instanceId: currentAddon.id } let addonResponse try { // TODO update deleteAddon to https://open-api.netlify.com/#/default/deleteServiceInstance addonResponse = await deleteAddon(settings, accessToken) } catch (e) { this.error(e.message) } if (addonResponse.status === 404) { this.log(`No addon "${addonName}" found. Please double check your add-on name and try again`) return false } /* Deleting addons must return with 204 status */ if (addonResponse.status === 204) { this.log(`Addon "${addonName}" deleted`) } else { this.log( `Addon "${addonName}" was not deleted "${addonName}". Returned status: ${ addonResponse.status }. Addon deletion must return status 204 from "${addonName}" provider.` ) } } } AddonsDeleteCommand.description = `Remove an add-on extension to your site ... Add-ons are a way to extend the functionality of your Netlify site ` // allow for any flags. Handy for variadic configuration options AddonsDeleteCommand.strict = false AddonsDeleteCommand.hidden = true AddonsDeleteCommand.aliases = ['addon:delete'] AddonsDeleteCommand.flags = { force: flags.boolean({ char: 'f', description: 'delete without prompting (useful for CI)' }) } AddonsDeleteCommand.args = [ { name: 'name', required: true, description: 'Add-on namespace' } ] module.exports = AddonsDeleteCommand
29.330275
119
0.643416
b4223edf89f8a94e30b6aaa2050641253abbd1c4
1,187
js
JavaScript
remix-solidity/src/compiler/compiler-worker.js
rocky/remix
57ebf16ec5a4aa4a733560d3abd3facebbed7439
[ "MIT" ]
4
2019-04-22T07:43:16.000Z
2020-11-01T14:36:06.000Z
remix-solidity/src/compiler/compiler-worker.js
rocky/remix
57ebf16ec5a4aa4a733560d3abd3facebbed7439
[ "MIT" ]
1
2019-05-28T16:29:26.000Z
2019-05-28T16:29:26.000Z
remix-solidity/src/compiler/compiler-worker.js
rocky/remix
57ebf16ec5a4aa4a733560d3abd3facebbed7439
[ "MIT" ]
4
2019-04-17T03:44:58.000Z
2019-08-14T17:09:43.000Z
'use strict' var solc = require('solc/wrapper') var compileJSON = function () { return '' } var missingInputs = [] module.exports = function (self) { self.addEventListener('message', function (e) { var data = e.data switch (data.cmd) { case 'loadVersion': delete self.Module // NOTE: workaround some browsers? self.Module = undefined compileJSON = null self.importScripts(data.data) var compiler = solc(self.Module) compileJSON = function (input) { try { return compiler.compile(input, function (path) { missingInputs.push(path) return { 'error': 'Deferred import' } }) } catch (exception) { return JSON.stringify({ error: 'Uncaught JavaScript exception:\n' + exception }) } } self.postMessage({ cmd: 'versionLoaded', data: compiler.version() }) break case 'compile': missingInputs.length = 0 self.postMessage({cmd: 'compiled', job: data.job, data: compileJSON(data.input), missingInputs: missingInputs}) break } }, false) }
25.804348
119
0.566976
b4224b57bb2bb595cb55425fcd863cda2c224e51
3,875
js
JavaScript
archive/pages/advent/2020/14.js
ZachThomasAU/site
2395ade7e51605a2ba1d37dd8a4d170785a38132
[ "MIT" ]
null
null
null
archive/pages/advent/2020/14.js
ZachThomasAU/site
2395ade7e51605a2ba1d37dd8a4d170785a38132
[ "MIT" ]
null
null
null
archive/pages/advent/2020/14.js
ZachThomasAU/site
2395ade7e51605a2ba1d37dd8a4d170785a38132
[ "MIT" ]
null
null
null
import React, { useState } from "react" import { graphql } from "gatsby" import { Helmet } from "react-helmet" import Layout from "../../../components/layout" import Header from "../../../components/header" import SEO from "../../../components/seo" /** * --- * title: "Advent of Code 2020, Day Fourteen" * date: "2020-12-14" * --- */ export default function DayOne(data) { const [part1, setPart1] = useState(0) const [part2, setPart2] = useState(0) const solvePartOne = () => { const text = data.data.file.childPlainText.content.split("\n") /*const text = [ "mask = XXXXXXXXXXXXXXXXXXXXXXXXXXXXX1XXXX0X", "mem[8] = 11", "mem[7] = 101", "mem[8] = 0", "", ]*/ let program = [] text.forEach(e => { program.push(e.split(" ")) }) let memory = {} let mask = {} for (let i = 0; i < program.length; i++) { const e = program[i] let bin = new Array(36).fill(0) if (e[0] === "mask") { mask = {} for (let j = 0; j < e[2].length; j++) { if (e[2][j] !== "X") { mask[j] = +e[2][j] } } } else if (e[0].substr(0,3) === "mem") { const mem = +e[0].replace(/\D/g, "") const val = reverseString(parseInt(e[2]).toString(2)) for (let j = 0; j < val.length; j++) { bin[35 - j] = +val[j] } for (const e in mask) { bin[e] = mask[e] } let num = parseInt(bin.join(""), 2) memory[mem] = num } } let ans = 0 for (const e in memory) { ans += memory[e] } setPart1(ans) } function reverseString(str) { if (str === "") { return "" } else { return reverseString(str.substr(1)) + str.charAt(0) } } const solvePartTwo = () => { const text = data.data.file.childPlainText.content.split("\n") let program = [] text.forEach(e => { program.push(e.split(" ")) }) let memory = {} let mask = {} for (let i = 0; i < program.length; i++) { const e = program[i] let bin = new Array(36).fill(0) if (e[0] === "mask") { mask = {} for (let j = 0; j < e[2].length; j++) { if (e[2][j] !== "X") { mask[j] = +e[2][j] } else { mask[j] = e[2][j] } } } else if (e[0].substr(0,3) === "mem") { const mem = reverseString(parseInt(e[0].replace(/\D/g, "")).toString(2)) const val = parseInt(e[2]) for (let j = 0; j < mem.length; j++) { bin[35 - j] = +mem[j] } for (const e in mask) { if (mask[e] !== 0) { bin[e] = mask[e] } } recursiveFunction(bin, val, memory) } } let ans = 0 for (const key in memory) { ans += memory[key] } setPart2(ans) } function recursiveFunction(bin, val, memory) { let newBin = bin.slice(0) for (let i=0; i<newBin.length; i++) { if (newBin[i] === "X") { newBin[i] = 0 recursiveFunction(newBin, val, memory) newBin[i] = 1 } } let mem = parseInt(newBin.join(""), 2) memory[mem] = val return } return ( <Layout> <Helmet> <body class="advent2020" /> </Helmet> <SEO title="Advent of Code 2020, Day Fourteen" /> <Header headerText="Advent of Code 2020, Day Fourteen" /> <p>Lets Go</p> <button type="button" onClick={solvePartOne}> Do Part One </button> <p>Answer is: {part1}</p> <button type="button" onClick={solvePartTwo}> Do Part Two </button> <p>Answer is: {part2}</p> </Layout> ) } export const query = graphql` query { file(relativePath: { eq: "pages/advent/2020/inputs/14.txt" }) { id childPlainText { content } } } `
24.21875
80
0.482839
b42301c833c54071bf115f3cbad1bfc0e053eba7
1,213
js
JavaScript
backend/mongo-db/checkpoint-dao.js
pedroshaina/theta-infrastructure-ledger-explorer
b4e74b0e4e774c7bb038eda3537753539861ba86
[ "MIT" ]
53
2018-06-27T18:28:56.000Z
2022-02-11T04:59:44.000Z
backend/mongo-db/checkpoint-dao.js
pedroshaina/theta-infrastructure-ledger-explorer
b4e74b0e4e774c7bb038eda3537753539861ba86
[ "MIT" ]
26
2018-06-30T02:06:01.000Z
2022-03-24T23:50:33.000Z
backend/mongo-db/checkpoint-dao.js
pedroshaina/theta-infrastructure-ledger-explorer
b4e74b0e4e774c7bb038eda3537753539861ba86
[ "MIT" ]
22
2018-07-01T00:57:27.000Z
2022-03-23T11:16:10.000Z
//------------------------------------------------------------------------------ // DAO for check point // Require index: `db.checkpoint.createIndex({hash:-1})` //------------------------------------------------------------------------------ module.exports = class checkpointDAO { constructor(execDir, client) { this.client = client; this.checkpointInfoCollection = 'checkpoint'; } insert(checkpointInfo, callback) { this.client.insert(this.checkpointInfoCollection, checkpointInfo, callback); } getCheckpointByHash(hash, callback) { const queryObject = { 'hash': hash }; this.client.findOne(this.checkpointInfoCollection, queryObject, function (error, record) { if (error) { console.log('Checkpoint dao getCheckpointByHash ERR - ', error, hash); callback(error); } else if (!record) { callback(Error('NOT_FOUND - ' + hash)); } else { // console.log('check point info in record: ', record) var checkpointInfo = {}; checkpointInfo.height = record.height; checkpointInfo.hash = record.hash; checkpointInfo.guardians = record.guardians; callback(error, checkpointInfo); } }) } }
34.657143
94
0.564716
b42321152b647f1fdc2cc943c02ba65f75836f17
3,435
js
JavaScript
rre-server/src/main/resources/static/code_templates.js
irwinmx-lng-con/rated-ranking-evaluator
16a8719bf4d57b7665097382d6a083ba7e2c4684
[ "Apache-2.0" ]
148
2018-05-20T19:19:01.000Z
2022-02-24T07:37:13.000Z
rre-server/src/main/resources/static/code_templates.js
irwinmx-lng-con/rated-ranking-evaluator
16a8719bf4d57b7665097382d6a083ba7e2c4684
[ "Apache-2.0" ]
94
2018-05-25T17:49:50.000Z
2021-11-02T17:52:59.000Z
rre-server/src/main/resources/static/code_templates.js
irwinmx-lng-con/rated-ranking-evaluator
16a8719bf4d57b7665097382d6a083ba7e2c4684
[ "Apache-2.0" ]
33
2018-11-07T10:57:14.000Z
2022-01-24T17:52:45.000Z
/** * This is a controller * */ (function () { angular.module('App').controller('FeatureController', FeatureController); FeatureController.$inject = ['$scope', 'logger', 'resolvedValue']; function FeatureController($scope, logger, resolvedValue) { var vm = this; // Scope vars vm.variable = 'value'; // Methods vm.aMethod = aMethod; activate(); //////////// /** * controller activation */ function activate() { logger.log('FeatureController', 'starting'); vm.variable = resolvedValue.data; } /** * This is a method * @param param */ function aMethod(param) { vm.variable = param; } /** * Watch a variable with $watch */ $scope.$watch('vm.variable', watchVariable); function watchVariable(newValue) { logger.log('FeatureController', 'variable=' + newValue); } } })(); /** * This is a service, preferably it should be stateless but it's not mandatory * */ (function () { angular.module('App').factory('SimpleService', SimpleService); SimpleService.$inject = ['logger']; function SimpleService(logger) { var aVar; // A variable internal to the service init(); return { aMethod: aMethod, anotherMethod: anotherMethod }; //////////// /** * Init */ function init() { } /** * A simple method */ function aMethod(v) { aVar = v; } /** * Another simple method */ function anotherMethod() { return aVar; } } })(); /** * * This shared model is used among various collaborating controllers to share data * It's a lightweight object useful to hold shareable data * */ (function () { angular.module('App').service('sharedModel', sharedModel); sharedModel.$inject = []; function sharedModel() { var _this = this; // Properties _this.aVar = null; _this.anotherVar = ''; } })(); /** * This is a router config * */ (function () { angular.module('App').config(config); config.$inject = ['$routeProvider']; function config($routeProvider) { $routeProvider.when('/path/:id', { controller: 'FeatureController', controllerAs: 'vm', templateUrl: 'views/theview.html', resolve: { resolvedValue: ['$route', 'AService', function ($route, AService) { return AService.get($route.current.params.id); }] } }); } })(); /** * This is a typical server-side API HTTP invocation. * Please notice the function returns the promise object coming from $http service invocation. * We prefer letting callers decide what to do with the promise. * * Ideally, this should be better placed in a service, as controllers and directives should not perform API calls directly. * @param params A JSON object representing the parameters to send * @returns {HttpPromise} */ function apiCallExample(params) { return $http({ method: 'GET', // Or POST, PUT, DELETE, etc. url: theUrl, data: params }); }
19.97093
123
0.5377
b423900dece180e65b6f02533be414766a467b76
4,305
js
JavaScript
constants/file-configs.js
theconnectiv/now-sync
db7849daf3722edfb231be07354bdb906525859f
[ "MIT" ]
4
2017-08-15T05:09:09.000Z
2020-03-19T00:01:46.000Z
constants/file-configs.js
theconnectiv/now-sync
db7849daf3722edfb231be07354bdb906525859f
[ "MIT" ]
4
2018-06-12T15:15:04.000Z
2020-04-28T16:24:39.000Z
constants/file-configs.js
theconnectiv/now-sync
db7849daf3722edfb231be07354bdb906525859f
[ "MIT" ]
3
2018-08-02T09:33:13.000Z
2019-04-09T20:47:23.000Z
// Catalog Client Scripts exports.catalog_script_client = { nameField: ['sys_scope', 'name'], formats: [ { fileName: ':sys_scope-:name-script-:sys_id.js', contentField: 'script' } ] }; // CMS CSS exports.content_css = { nameField: ['sys_scope', 'name'], formats: [ { fileName: ':sys_scope-:name-style-:sys_id.css', contentField: 'style' } ] }; // Service Portal CSS exports.sp_css = { nameField: ['sys_scope', 'name'], formats: [ { fileName: ':sys_scope-:name-css-:sys_id.css', contentField: 'css' } ] }; // Service Portal Header/Footer exports.sp_header_footer = { nameField: ['sys_scope', 'id'], formats: [ { fileName: ':sys_scope-:id-template-:sys_id.html', contentField: 'template' }, { fileName: ':sys_scope-:id-css-:sys_id.scss', contentField: 'css' }, { fileName: ':sys_scope-:id-script-:sys_id.js', contentField: 'script' }, { fileName: ':sys_scope-:id-client_script-:sys_id.js', contentField: 'client_script' }, { fileName: ':sys_scope-:id-link-:sys_id.js', contentField: 'link' } ] }; // Service Portal Page exports.sp_page = { nameField: ['id'], formats: [ { fileName: ':id-css-:sys_id.css', contentField: 'css' } ] }; // Service Portal exports.sp_portal = { nameField: 'url_suffix', formats: [ { fileName: ':url_suffix-quick_start_config-:sys_id.json', contentField: 'quick_start_config' }, { fileName: ':url_suffix-css_variables-:sys_id.scss', contentField: 'css_variables' } ] }; // Service Portal Theme CSS exports.sp_theme = { nameField: 'name', formats: [ { fileName: ':name-css_variables-:sys_id.scss', contentField: 'css_variables' } ] }; // Service Portal Widgets exports.sp_widget = { nameField: 'name', formats: [ { fileName: ':name-client_script-:sys_id.js', contentField: 'client_script' }, { fileName: ':name-css-:sys_id.css', contentField: 'css' }, { fileName: ':name-demo_data-:sys_id.json', contentField: 'demo_data' }, { fileName: ':name-link-:sys_id.js', contentField: 'link' }, { fileName: ':name-option_schema-:sys_id.json', contentField: 'option_schema' }, { fileName: ':name-script-:sys_id.js', contentField: 'script' }, { fileName: ':name-template-:sys_id.html', contentField: 'template' } ] }; // Business Rules exports.sys_script = { nameField: ['collection', 'name'], formats: [ { fileName: ':collection-:name-script-:sys_id.js', contentField: 'script' } ] }; // Client Scripts exports.sys_script_client = { nameField: ['table', 'sys_scope', 'name'], formats: [ { fileName: ':table-:sys_scope-:name-script-:sys_id.js', contentField: 'script' } ] }; // Script Includes exports.sys_script_include = { nameField: 'api_name', formats: [ { fileName: ':api_name-script-:sys_id.js', contentField: 'script' } ] }; // UI Scripts exports.sys_ui_action = { nameField: 'action_name', formats: [ { fileName: ':sys_scope-:table-:action_name-script-:sys_id.js', contentField: 'script' } ] }; // UI Pages exports.sys_ui_page = { nameField: ['sys_scope', 'name'], formats: [ { fileName: ':sys_scope-:name-html-:sys_id.html', contentField: 'html' }, { fileName: ':sys_scope-:name-client_script-:sys_id.js', contentField: 'client_script' } ] }; // UI Scripts exports.sys_ui_script = { nameField: 'name', formats: [ { fileName: ':name-script-:sys_id.js', contentField: 'script' } ] }; // Script REST Resources exports.sys_ws_operation = { nameField: ['web_service_definition', 'name', 'http_method'], formats: [ { fileName: ':web_service_definition-:name-:http_method-operation_script-:sys_id.js', contentField: 'operation_script' } ] }; // Scheduled Jobs exports.sysauto_script = { nameField: ['sys_scope', 'name'], formats: [ { fileName: ':sys_scope-:name-script-:sys_id.js', contentField: 'script' } ] };
19.133333
81
0.587456
b423bef9fd097460772722c534fb12bbb1238dbf
890
js
JavaScript
Dist/src/frontend/SecondaryPanel/ButtonReload.js
phiresky/mobx-devtools-advanced
780cbd225f30cbf5d9fe97b3d501bde5de86875b
[ "MIT" ]
19
2019-11-12T02:09:37.000Z
2022-01-18T02:41:57.000Z
Dist/src/frontend/SecondaryPanel/ButtonReload.js
phiresky/mobx-devtools-advanced
780cbd225f30cbf5d9fe97b3d501bde5de86875b
[ "MIT" ]
16
2019-11-13T11:02:05.000Z
2022-03-25T18:56:26.000Z
Dist/src/frontend/SecondaryPanel/ButtonReload.js
phiresky/mobx-devtools-advanced
780cbd225f30cbf5d9fe97b3d501bde5de86875b
[ "MIT" ]
3
2019-11-26T04:44:09.000Z
2020-06-30T19:49:20.000Z
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const react_1 = __importDefault(require("react")); const aphrodite_1 = require("aphrodite"); const icons_1 = require("./icons"); class ButtonReload extends react_1.default.PureComponent { render() { return (react_1.default.createElement("div", Object.assign({ className: aphrodite_1.css(styles.button) }, this.props), react_1.default.createElement(icons_1.ReloadIcon, null))); } } exports.default = ButtonReload; const styles = aphrodite_1.StyleSheet.create({ button: { flex: "0 0 auto", display: "inline-flex", width: 33, height: 33, alignItems: "center", justifyContent: "center", }, });
34.230769
126
0.653933
b4241a621340fb513e077ccc8efe06c5ef4325e0
388
js
JavaScript
packages/material-ui-icons/src/CheckCircleRounded.js
breitembach/material-ui
955d9f052c429196e25a020353ef58850ad3b053
[ "MIT" ]
1
2021-04-19T00:38:07.000Z
2021-04-19T00:38:07.000Z
packages/material-ui-icons/src/CheckCircleRounded.js
breitembach/material-ui
955d9f052c429196e25a020353ef58850ad3b053
[ "MIT" ]
null
null
null
packages/material-ui-icons/src/CheckCircleRounded.js
breitembach/material-ui
955d9f052c429196e25a020353ef58850ad3b053
[ "MIT" ]
1
2019-03-12T08:40:51.000Z
2019-03-12T08:40:51.000Z
import * as React from 'react'; import createSvgIcon from './utils/createSvgIcon'; export default createSvgIcon( <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.95 8.23l-5.66 5.66c-.39.39-1.02.39-1.41 0l-2.83-2.83a.9959.9959 0 010-1.41c.39-.39 1.02-.39 1.41 0l2.12 2.12 4.95-4.95c.39-.39 1.02-.39 1.41 0 .4.39.4 1.02.01 1.41z" /> , 'CheckCircleRounded');
55.428571
248
0.675258
b42521ffdd33386dbab1f165197ff30bd6978545
228,716
js
JavaScript
public/commons-24384febad01443f13fb.js
nim-f/nim-f.github.io
e84ca6706bf1acc6e42cd943e20a59bd49c7a044
[ "MIT" ]
1
2020-10-30T10:24:44.000Z
2020-10-30T10:24:44.000Z
public/commons-24384febad01443f13fb.js
nim-f/nim-f.github.io
e84ca6706bf1acc6e42cd943e20a59bd49c7a044
[ "MIT" ]
null
null
null
public/commons-24384febad01443f13fb.js
nim-f/nim-f.github.io
e84ca6706bf1acc6e42cd943e20a59bd49c7a044
[ "MIT" ]
1
2020-10-30T10:24:46.000Z
2020-10-30T10:24:46.000Z
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(i,a){for(var u,l,c=0,s=[];c<i.length;c++)l=i[c],o[l]&&s.push.apply(s,o[l]),o[l]=0;for(u in a)Object.prototype.hasOwnProperty.call(a,u)&&(e[u]=a[u]);for(n&&n(i,a);s.length;)s.shift().call(null,t);if(a[0])return r[0]=0,t(0)};var r={},o={0x99703cc56f65:0};t.e=function(e,n){if(0===o[e])return n.call(null,t);if(void 0!==o[e])o[e].push(n);else{o[e]=[n];var r=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.charset="utf-8",i.async=!0,i.src=t.p+window.webpackManifest[e],r.appendChild(i)}},t.m=e,t.c=r,t.p="/",t.s=o}([,function(e,t,n){"use strict";e.exports=n(930)},,function(e,t,n){e.exports=n(969)()},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(797),i=r(o);t.default=i.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},,,function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(760)("wks"),o=n(96),i=n(10).Symbol,a="function"==typeof i,u=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};u.store=r},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],s=0;l=new Error(t.replace(/%s/g,function(){return c[s++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};e.exports=r},,function(e,t){"use strict";e.exports={pathPrefix:"/",siteTitle:"Ann Sh - Front end dev",siteTitleAlt:"Ann Sh - front-end developer, portfolio",siteUrl:"https://nim-f.github.io",siteLanguage:"en",siteLogo:"/logos/logo-1024.png",siteDescription:"Ann Sh - front-end developer, portfolio",siteFBAppID:"123456789",userTwitter:"@nim_ff",ogSiteName:"nim_ff",ogLanguage:"en_EN",googleAnalyticsID:"UA-124914098-1",copyright:"Copyright © 2017. All rights reserved.",client:"Client",date:"Date",service:"Service",url:"URL",dateFormat:"DD.MM.YYYY",themeColor:"#3498DB",backgroundColor:"#2b2e3c",headerFontFamily:"Merriweather",bodyFontFamily:"Roboto",baseFontSize:"16px"}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(801),i=r(o),a=n(798),u=r(a),l=n(739),c=r(l);t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"==typeof t?"undefined":(0,c.default)(t)));e.prototype=(0,u.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(i.default?(0,i.default)(e,t):e.__proto__=t)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(739),i=r(o);t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"==typeof t?"undefined":(0,i.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(799),i=r(o);t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.createPath=t.parsePath=t.locationsAreEqual=t.createLocation=t.createMemoryHistory=t.createHashHistory=t.createBrowserHistory=void 0;var o=n(70);Object.defineProperty(t,"createLocation",{enumerable:!0,get:function(){return o.createLocation}}),Object.defineProperty(t,"locationsAreEqual",{enumerable:!0,get:function(){return o.locationsAreEqual}});var i=n(52);Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return i.parsePath}}),Object.defineProperty(t,"createPath",{enumerable:!0,get:function(){return i.createPath}});var a=n(769),u=r(a),l=n(937),c=r(l),s=n(938),f=r(s);t.createBrowserHistory=u.default,t.createHashHistory=c.default,t.createMemoryHistory=f.default},function(e,t,n){e.exports=!n(35)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(19),o=n(12),i=n(741),a=n(36),u=n(23),l="prototype",c=function(e,t,n){var s,f,d,p=e&c.F,h=e&c.G,v=e&c.S,y=e&c.P,m=e&c.B,g=e&c.W,b=h?o:o[t]||(o[t]={}),w=b[l],_=h?r:v?r[t]:(r[t]||{})[l];h&&(n=t);for(s in n)f=!p&&_&&void 0!==_[s],f&&u(b,s)||(d=f?_[s]:n[s],b[s]=h&&"function"!=typeof _[s]?n[s]:m&&f?i(d,r):g&&_[s]==d?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t[l]=e[l],t}(d):y&&"function"==typeof d?i(Function.call,d):d,y&&((b.virtual||(b.virtual={}))[s]=d,e&c.R&&w&&!w[s]&&a(w,s,d)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(45),o=n(743),i=n(84),a=Object.defineProperty;t.f=n(21)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(48);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.Helmet=void 0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),f=r(s),d=n(3),p=r(d),h=n(1006),v=r(h),y=n(875),m=r(y),g=n(988),b=n(772),w=function(e){var t,n;return n=t=function(t){function n(){return i(this,n),a(this,t.apply(this,arguments))}return u(n,t),n.prototype.shouldComponentUpdate=function(e){return!(0,m.default)(this.props,e)},n.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case b.TAG_NAMES.SCRIPT:case b.TAG_NAMES.NOSCRIPT:return{innerHTML:t};case b.TAG_NAMES.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},n.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return l({},r,(t={},t[n.type]=[].concat(r[n.type]||[],[l({},o,this.mapNestedChildrenToProps(n,i))]),t))},n.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case b.TAG_NAMES.TITLE:return l({},o,(t={},t[r.type]=a,t.titleAttributes=l({},i),t));case b.TAG_NAMES.BODY:return l({},o,{bodyAttributes:l({},i)});case b.TAG_NAMES.HTML:return l({},o,{htmlAttributes:l({},i)})}return l({},o,(n={},n[r.type]=l({},i),n))},n.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=l({},t);return Object.keys(e).forEach(function(t){var r;n=l({},n,(r={},r[t]=e[t],r))}),n},n.prototype.warnOnInvalidChildren=function(e,t){return!0},n.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return f.default.Children.forEach(e,function(e){if(e&&e.props){var i=e.props,a=i.children,u=o(i,["children"]),l=(0,g.convertReactPropstoHtmlAttributes)(u);switch(n.warnOnInvalidChildren(e,a),e.type){case b.TAG_NAMES.LINK:case b.TAG_NAMES.META:case b.TAG_NAMES.NOSCRIPT:case b.TAG_NAMES.SCRIPT:case b.TAG_NAMES.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}}),t=this.mapArrayTypeChildrenToProps(r,t)},n.prototype.render=function(){var t=this.props,n=t.children,r=o(t,["children"]),i=l({},r);return n&&(i=this.mapChildrenToProps(n,i)),f.default.createElement(e,i)},c(n,null,[{key:"canUseDOM",set:function(t){e.canUseDOM=t}}]),n}(f.default.Component),t.propTypes={base:p.default.object,bodyAttributes:p.default.object,children:p.default.oneOfType([p.default.arrayOf(p.default.node),p.default.node]),defaultTitle:p.default.string,defer:p.default.bool,encodeSpecialCharacters:p.default.bool,htmlAttributes:p.default.object,link:p.default.arrayOf(p.default.object),meta:p.default.arrayOf(p.default.object),noscript:p.default.arrayOf(p.default.object),onChangeClientState:p.default.func,script:p.default.arrayOf(p.default.object),style:p.default.arrayOf(p.default.object),title:p.default.string,titleAttributes:p.default.object,titleTemplate:p.default.string},t.defaultProps={defer:!0,encodeSpecialCharacters:!0},t.peek=e.peek,t.rewind=function(){var t=e.rewind();return t||(t=(0,g.mapStateOnServer)({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),t},n},_=function(){return null},T=(0,v.default)(g.reducePropsToState,g.handleClientStateChange,g.mapStateOnServer)(_),E=w(T);E.renderStatic=E.rewind,t.Helmet=E,t.default=E},,,,,,,,function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(24),o=n(60);e.exports=n(21)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(744),o=n(75);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(82)("wks"),o=n(62),i=n(19).Symbol,a="function"==typeof i,u=e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))};u.store=r},function(e,t,n){var r=n(68),o=n(759);e.exports=n(47)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},,function(e,t,n){"use strict";var r=!1,o=function(){};if(r){var i=function(e,t){var n=arguments.length;t=new Array(n>2?n-2:0);for(var r=2;r<n;r++)t[r-2]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||i.apply(null,[t].concat(n))}}e.exports=o},,,function(e,t,n){var r=n(37);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){var r=n(749),o=n(76);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){e.exports=!n(753)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,n){var r=n(10),o=n(40),i=n(67),a=n(96)("src"),u="toString",l=Function[u],c=(""+l).split(u);n(26).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,u){var l="function"==typeof n;l&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(l&&(i(n,a)||o(n,a,e[t]?""+e[t]:c.join(String(t)))),e===r?e[t]=n:u?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,u,function(){return"function"==typeof this&&this[a]||l.call(this)})},,function(e,t){"use strict";t.__esModule=!0;var n=(t.addLeadingSlash=function(e){return"/"===e.charAt(0)?e:"/"+e},t.stripLeadingSlash=function(e){return"/"===e.charAt(0)?e.substr(1):e},t.hasBasename=function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)});t.stripBasename=function(e,t){return n(e,t)?e.substr(t.length):e},t.stripTrailingSlash=function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e},t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");o!==-1&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return i!==-1&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}},t.createPath=function(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}},,function(e,t,n){"use strict";var r=function(){};e.exports=r},,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1),i=r(o),a=n(886),u=r(a),l=n(15),c=r(l),s=function(){return i.default.createElement("footer",{className:u.default.footer},c.default.copyright)};t.default=s,e.exports=t.default},function(e,t,n){e.exports={default:n(809),__esModule:!0}},function(e,t){e.exports=!0},function(e,t){t.f={}.propertyIsEnumerable},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(75);e.exports=function(e){return Object(r(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(63);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(10),o=n(26),i=n(40),a=n(50),u=n(65),l="prototype",c=function(e,t,n){var s,f,d,p,h=e&c.F,v=e&c.G,y=e&c.S,m=e&c.P,g=e&c.B,b=v?r:y?r[t]||(r[t]={}):(r[t]||{})[l],w=v?o:o[t]||(o[t]={}),_=w[l]||(w[l]={});v&&(n=t);for(s in n)f=!h&&b&&void 0!==b[s],d=(f?b:n)[s],p=g&&f?u(d,r):m&&"function"==typeof d?u(Function.call,d):d,b&&a(b,s,d,e&c.U),w[s]!=d&&i(w,s,p),m&&_[s]!=d&&(_[s]=d)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(25),o=n(847),i=n(865),a=Object.defineProperty;t.f=n(47)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return i(x+e)}function i(e){return e.replace(/^\/\//g,"/")}function a(e,t){var n=(0,S.createLocation)(e,null,null,t.location);return n.pathname=o(n.pathname),n}t.__esModule=!0,t.navigateTo=t.replace=t.push=void 0;var u=n(5),l=r(u),c=n(800),s=r(c),f=n(8),d=r(f),p=n(9),h=r(p),v=n(17),y=r(v),m=n(16),g=r(m);t.withPrefix=o;var b=n(1),w=r(b),_=n(71),T=n(3),E=r(T),S=n(20),x="/";x="";var P={activeClassName:E.default.string,activeStyle:E.default.object,exact:E.default.bool,strict:E.default.bool,isActive:E.default.func,location:E.default.object},O=function(e,t){var n=new window.IntersectionObserver(function(r){r.forEach(function(r){e===r.target&&(r.isIntersecting||r.intersectionRatio>0)&&(n.unobserve(e),n.disconnect(),t())})});n.observe(e)},k=function(e){function t(n,r){(0,h.default)(this,t);var o=(0,y.default)(this,e.call(this)),i=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(i=!0);var u=r.router.history,l=a(n.to,u);return o.state={path:(0,S.createPath)(l),to:l,IOSupported:i},o.handleRef=o.handleRef.bind(o),o}return(0,g.default)(t,e),t.prototype.componentWillReceiveProps=function(e){if(this.props.to!==e.to){var t=a(e.to,history);this.setState({path:(0,S.createPath)(t),to:t}),this.state.IOSupported||___loader.enqueue(this.state.to.pathname)}},t.prototype.componentDidMount=function(){this.state.IOSupported||___loader.enqueue(this.state.to.pathname)},t.prototype.handleRef=function(e){var t=this;this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&O(e,function(){___loader.enqueue(t.state.to.pathname)})},t.prototype.render=function(){var e=this,t=this.props,n=t.onClick,r=(0,d.default)(t,["onClick"]),o=void 0;return o=(0,s.default)(P).some(function(t){return e.props[t]})?_.NavLink:_.Link,w.default.createElement(o,(0,l.default)({onClick:function(t){if(n&&n(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){var r=e.state.path;if(r.split("#").length>1&&(r=r.split("#").slice(0,-1).join("")),r===window.location.pathname){var o=e.state.path.split("#").slice(1).join("#"),i=document.getElementById(o);return null!==i?(i.scrollIntoView(),!0):(window.scrollTo(0,0),!0)}t.preventDefault(),window.___push(e.state.to)}return!0}},r,{to:this.state.to,innerRef:this.handleRef}))},t}(w.default.Component);k.propTypes=(0,l.default)({},P,{innerRef:E.default.func,onClick:E.default.func,to:E.default.oneOfType([E.default.string,E.default.object]).isRequired}),k.contextTypes={router:E.default.object},t.default=k;var C=t.push=function(e){window.___push(e)};t.replace=function(e){window.___replace(e)},t.navigateTo=C},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.locationsAreEqual=t.createLocation=void 0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(1007),a=r(i),u=n(1015),l=r(u),c=n(52);t.createLocation=function(e,t,n,r){var i=void 0;"string"==typeof e?(i=(0,c.parsePath)(e),i.state=t):(i=o({},e),void 0===i.pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),r?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=(0,a.default)(i.pathname,r.pathname)):i.pathname=r.pathname:i.pathname||(i.pathname="/"),i},t.locationsAreEqual=function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,l.default)(e.state,t.state)}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.withRouter=t.matchPath=t.generatePath=t.Switch=t.StaticRouter=t.Router=t.Route=t.Redirect=t.Prompt=t.NavLink=t.MemoryRouter=t.Link=t.HashRouter=t.BrowserRouter=void 0;var o=n(989),i=r(o),a=n(990),u=r(a),l=n(773),c=r(l),s=n(991),f=r(s),d=n(992),p=r(d),h=n(993),v=r(h),y=n(994),m=r(y),g=n(774),b=r(g),w=n(733),_=r(w),T=n(995),E=r(T),S=n(996),x=r(S),P=n(997),O=r(P),k=n(998),C=r(k),R=n(999),M=r(R);t.BrowserRouter=i.default,t.HashRouter=u.default,t.Link=c.default,t.MemoryRouter=f.default,t.NavLink=p.default,t.Prompt=v.default,t.Redirect=m.default,t.Route=b.default,t.Router=_.default,t.StaticRouter=E.default,t.Switch=x.default,t.generatePath=O.default,t.matchPath=C.default,t.withRouter=M.default},,,,function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports={}},function(e,t,n){var r=n(45),o=n(824),i=n(76),a=n(81)("IE_PROTO"),u=function(){},l="prototype",c=function(){var e,t=n(742)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(818).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;r--;)delete c[l][i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u[l]=r(e),n=new u,u[l]=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(24).f,o=n(23),i=n(39)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(82)("keys"),o=n(62);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(12),o=n(19),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(58)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(37);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(19),o=n(12),i=n(58),a=n(86),u=n(24).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){t.f=n(39)},function(e,t,n){var r=n(64),o=n(11)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,u;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(u=r(t))&&"function"==typeof t.callee?"Arguments":u}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(48),o=n(10).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t){e.exports=!1},function(e,t,n){"use strict";function r(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=o(t),this.reject=o(n)}var o=n(63);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(68).f,o=n(67),i=n(11)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(760)("keys"),o=n(96);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(849),o=n(88);e.exports=function(e){return r(o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=!("undefined"==typeof window||!window.document||!window.document.createElement),e.exports=t.default},,function(e,t,n){"use strict";function r(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(r)}catch(e){console.error(e)}}r(),e.exports=n(929)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(54),i=r(o),a=function(){var e=null,t=function(t){return(0,i.default)(null==e,"A history supports only one prompt at a time"),e=t,function(){e===t&&(e=null)}},n=function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):((0,i.default)(!1,"A history needs a getUserConfirmation function in order to use a prompt message"),o(!0)):o(a!==!1)}else o(!0)},r=[],o=function(e){var t=!0,n=function(){t&&e.apply(void 0,arguments)};return r.push(n),function(){t=!1,r=r.filter(function(e){return e!==n})}},a=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];r.forEach(function(e){return e.apply(void 0,t)})};return{setPrompt:t,confirmTransitionTo:n,appendListener:o,notifyListeners:a}};t.default=a},,function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,u,l=n(e),c=1;c<arguments.length;c++){r=Object(arguments[c]);for(var s in r)i.call(r,s)&&(l[s]=r[s]);if(o){u=o(r);for(var f=0;f<u.length;f++)a.call(r,u[f])&&(l[u[f]]=r[u[f]])}}return l}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(734),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(42),c=r(l),s=n(13),f=r(s),d=n(1),p=r(d),h=n(3),v=r(h),y=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.state={match:r.computeMatch(r.props.history.location.pathname)},a=n,i(r,a)}return a(t,e),t.prototype.getChildContext=function(){return{router:u({},this.context.router,{history:this.props.history,route:{location:this.props.history.location,match:this.state.match}})}},t.prototype.computeMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}},t.prototype.componentWillMount=function(){var e=this,t=this.props,n=t.children,r=t.history;(0,f.default)(null==n||1===p.default.Children.count(n),"A <Router> may have only one child element"),this.unlisten=r.listen(function(){e.setState({match:e.computeMatch(r.location.pathname)})})},t.prototype.componentWillReceiveProps=function(e){(0,c.default)(this.props.history===e.history,"You cannot change <Router history>")},t.prototype.componentWillUnmount=function(){this.unlisten()},t.prototype.render=function(){var e=this.props.children;return e?p.default.Children.only(e):null},t}(p.default.Component);y.propTypes={history:v.default.object.isRequired,children:v.default.node},y.contextTypes={router:v.default.object},y.childContextTypes={router:v.default.object.isRequired},t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(778),i=r(o),a={},u=1e4,l=0,c=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=a[n]||(a[n]={});if(r[e])return r[e];var o=[],c=(0,i.default)(e,o,t),s={re:c,keys:o};return l<u&&(r[e]=s,l++),s},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];"string"==typeof t&&(t={path:t});var r=t,o=r.path,i=r.exact,a=void 0!==i&&i,u=r.strict,l=void 0!==u&&u,s=r.sensitive,f=void 0!==s&&s;if(null==o)return n;var d=c(o,{end:a,strict:l,sensitive:f}),p=d.re,h=d.keys,v=p.exec(e);if(!v)return null;var y=v[0],m=v.slice(1),g=e===y;return a&&!g?null:{path:o,url:"/"===o&&""===y?"/":y,isExact:g,params:h.reduce(function(e,t,n){return e[t.name]=m[n],e},{})}};t.default=s},,,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(803),i=r(o),a=n(802),u=r(a),l="function"==typeof u.default&&"symbol"==typeof i.default?function(e){return typeof e}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":typeof e};t.default="function"==typeof u.default&&"symbol"===l(i.default)?function(e){return"undefined"==typeof e?"undefined":l(e)}:function(e){return e&&"function"==typeof u.default&&e.constructor===u.default&&e!==u.default.prototype?"symbol":"undefined"==typeof e?"undefined":l(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(814);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(37),o=n(19).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){e.exports=!n(21)&&!n(35)(function(){return 7!=Object.defineProperty(n(742)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(740);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){"use strict";var r=n(58),o=n(22),i=n(751),a=n(36),u=n(77),l=n(820),c=n(80),s=n(748),f=n(39)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",v="values",y=function(){return this};e.exports=function(e,t,n,m,g,b,w){l(n,t,m);var _,T,E,S=function(e){if(!d&&e in k)return k[e];switch(e){case h:return function(){return new n(this,e)};case v:return function(){return new n(this,e); }}return function(){return new n(this,e)}},x=t+" Iterator",P=g==v,O=!1,k=e.prototype,C=k[f]||k[p]||g&&k[g],R=C||S(g),M=g?P?S("entries"):R:void 0,A="Array"==t?k.entries||C:C;if(A&&(E=s(A.call(new e)),E!==Object.prototype&&E.next&&(c(E,x,!0),r||"function"==typeof E[f]||a(E,f,y))),P&&C&&C.name!==v&&(O=!0,R=function(){return C.call(this)}),r&&!w||!d&&!O&&k[f]||a(k,f,R),u[t]=R,u[x]=y,g)if(_={values:P?R:S(v),keys:b?R:S(h),entries:M},w)for(T in _)T in k||i(k,T,_[T]);else o(o.P+o.F*(d||O),t,_);return _}},function(e,t,n){var r=n(59),o=n(60),i=n(38),a=n(84),u=n(23),l=n(743),c=Object.getOwnPropertyDescriptor;t.f=n(21)?c:function(e,t){if(e=i(e),t=a(t,!0),l)try{return c(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(749),o=n(76).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(23),o=n(61),i=n(81)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(23),o=n(38),i=n(816)(!1),a=n(81)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(22),o=n(12),i=n(35);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){e.exports=n(36)},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(10).document;e.exports=r&&r.documentElement},function(e,t,n){"use strict";var r=n(90),o=n(66),i=n(50),a=n(40),u=n(49),l=n(852),c=n(92),s=n(858),f=n(11)("iterator"),d=!([].keys&&"next"in[].keys()),p="@@iterator",h="keys",v="values",y=function(){return this};e.exports=function(e,t,n,m,g,b,w){l(n,t,m);var _,T,E,S=function(e){if(!d&&e in k)return k[e];switch(e){case h:return function(){return new n(this,e)};case v:return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",P=g==v,O=!1,k=e.prototype,C=k[f]||k[p]||g&&k[g],R=C||S(g),M=g?P?S("entries"):R:void 0,A="Array"==t?k.entries||C:C;if(A&&(E=s(A.call(new e)),E!==Object.prototype&&E.next&&(c(E,x,!0),r||"function"==typeof E[f]||a(E,f,y))),P&&C&&C.name!==v&&(O=!0,R=function(){return C.call(this)}),r&&!w||!d&&!O&&k[f]||a(k,f,R),u[t]=R,u[x]=y,g)if(_={values:P?R:S(v),keys:b?R:S(h),entries:M},w)for(T in _)T in k||i(k,T,_[T]);else o(o.P+o.F*(d||O),t,_);return _}},function(e,t,n){var r=n(859),o=n(752);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){var r=n(25),o=n(48),i=n(91);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e),a=n.resolve;return a(t),n.promise}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(26),o=n(10),i="__core-js_shared__",a=o[i]||(o[i]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(90)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(25),o=n(63),i=n(11)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},function(e,t,n){var r,o,i,a=n(65),u=n(848),l=n(754),c=n(89),s=n(10),f=s.process,d=s.setImmediate,p=s.clearImmediate,h=s.MessageChannel,v=s.Dispatch,y=0,m={},g="onreadystatechange",b=function(){var e=+this;if(m.hasOwnProperty(e)){var t=m[e];delete m[e],t()}},w=function(e){b.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return m[++y]=function(){u("function"==typeof e?e:Function(e),t)},r(y),y},p=function(e){delete m[e]},"process"==n(64)(f)?r=function(e){f.nextTick(a(b,e,1))}:v&&v.now?r=function(e){v.now(a(b,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=w,r=a(i.postMessage,i,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(r=function(e){s.postMessage(e+"","*")},s.addEventListener("message",w,!1)):r=g in c("script")?function(e){l.appendChild(c("script"))[g]=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(a(b,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){var r=n(94),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t){"use strict";function n(e){return e===e.window?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,e.exports=t.default},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t,n){"use strict";var r={};e.exports=r},function(e,t,n){"use strict";function r(e,t,n,r,i,a,u,l){if(o(t),!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var s=[n,r,i,a,u,l],f=0;c=new Error(t.replace(/%s/g,function(){return s[f++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}}var o=function(e){};e.exports=r},function(e,t){"use strict";t.__esModule=!0;t.canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),t.addEventListener=function(e,t,n){return e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)},t.removeEventListener=function(e,t,n){return e.removeEventListener?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)},t.getConfirmation=function(e,t){return t(window.confirm(e))},t.supportsHistory=function(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")===-1&&e.indexOf("Android 4.0")===-1||e.indexOf("Mobile Safari")===-1||e.indexOf("Chrome")!==-1||e.indexOf("Windows Phone")!==-1)&&(window.history&&"pushState"in window.history)},t.supportsPopStateOnHashChange=function(){return window.navigator.userAgent.indexOf("Trident")===-1},t.supportsGoWithoutReloadUsingHash=function(){return window.navigator.userAgent.indexOf("Firefox")===-1},t.isExtraneousPopstateEvent=function(e){return void 0===e.state&&navigator.userAgent.indexOf("CriOS")===-1}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(54),u=r(a),l=n(13),c=r(l),s=n(70),f=n(52),d=n(100),p=r(d),h=n(768),v="popstate",y="hashchange",m=function(){try{return window.history.state||{}}catch(e){return{}}},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,c.default)(h.canUseDOM,"Browser history needs a DOM");var t=window.history,n=(0,h.supportsHistory)(),r=!(0,h.supportsPopStateOnHashChange)(),a=e.forceRefresh,l=void 0!==a&&a,d=e.getUserConfirmation,g=void 0===d?h.getConfirmation:d,b=e.keyLength,w=void 0===b?6:b,_=e.basename?(0,f.stripTrailingSlash)((0,f.addLeadingSlash)(e.basename)):"",T=function(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname,a=o.search,l=o.hash,c=i+a+l;return(0,u.default)(!_||(0,f.hasBasename)(c,_),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+c+'" to begin with "'+_+'".'),_&&(c=(0,f.stripBasename)(c,_)),(0,s.createLocation)(c,r,n)},E=function(){return Math.random().toString(36).substr(2,w)},S=(0,p.default)(),x=function(e){i(G,e),G.length=t.length,S.notifyListeners(G.location,G.action)},P=function(e){(0,h.isExtraneousPopstateEvent)(e)||C(T(e.state))},O=function(){C(T(m()))},k=!1,C=function(e){if(k)k=!1,x();else{var t="POP";S.confirmTransitionTo(e,t,g,function(n){n?x({action:t,location:e}):R(e)})}},R=function(e){var t=G.location,n=A.indexOf(t.key);n===-1&&(n=0);var r=A.indexOf(e.key);r===-1&&(r=0);var o=n-r;o&&(k=!0,I(o))},M=T(m()),A=[M.key],j=function(e){return _+(0,f.createPath)(e)},N=function(e,r){(0,u.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var i="PUSH",a=(0,s.createLocation)(e,r,E(),G.location);S.confirmTransitionTo(a,i,g,function(e){if(e){var r=j(a),o=a.key,c=a.state;if(n)if(t.pushState({key:o,state:c},null,r),l)window.location.href=r;else{var s=A.indexOf(G.location.key),f=A.slice(0,s===-1?0:s+1);f.push(a.key),A=f,x({action:i,location:a})}else(0,u.default)(void 0===c,"Browser history cannot push state in browsers that do not support HTML5 history"),window.location.href=r}})},L=function(e,r){(0,u.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==r),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var i="REPLACE",a=(0,s.createLocation)(e,r,E(),G.location);S.confirmTransitionTo(a,i,g,function(e){if(e){var r=j(a),o=a.key,c=a.state;if(n)if(t.replaceState({key:o,state:c},null,r),l)window.location.replace(r);else{var s=A.indexOf(G.location.key);s!==-1&&(A[s]=a.key),x({action:i,location:a})}else(0,u.default)(void 0===c,"Browser history cannot replace state in browsers that do not support HTML5 history"),window.location.replace(r)}})},I=function(e){t.go(e)},U=function(){return I(-1)},F=function(){return I(1)},D=0,H=function(e){D+=e,1===D?((0,h.addEventListener)(window,v,P),r&&(0,h.addEventListener)(window,y,O)):0===D&&((0,h.removeEventListener)(window,v,P),r&&(0,h.removeEventListener)(window,y,O))},B=!1,W=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=S.setPrompt(e);return B||(H(1),B=!0),function(){return B&&(B=!1,H(-1)),t()}},z=function(e){var t=S.appendListener(e);return H(1),function(){H(-1),t()}},G={length:t.length,action:"POP",location:M,createHref:j,push:N,replace:L,go:I,goBack:U,goForward:F,block:W,listen:z};return G};t.default=g},,,function(e,t){t.__esModule=!0;var n=(t.ATTRIBUTE_NAMES={BODY:"bodyAttributes",HTML:"htmlAttributes",TITLE:"titleAttributes"},t.TAG_NAMES={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"}),r=(t.VALID_TAG_NAMES=Object.keys(n).map(function(e){return n[e]}),t.TAG_PROPERTIES={CHARSET:"charset",CSS_TEXT:"cssText",HREF:"href",HTTPEQUIV:"http-equiv",INNER_HTML:"innerHTML",ITEM_PROP:"itemprop",NAME:"name",PROPERTY:"property",REL:"rel",SRC:"src"},t.REACT_TAG_MAP={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"});t.HELMET_PROPS={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate"},t.HTML_TAG_MAP=Object.keys(r).reduce(function(e,t){return e[r[t]]=t,e},{}),t.SELF_CLOSING_TAGS=[n.NOSCRIPT,n.SCRIPT,n.STYLE],t.HELMET_ATTRIBUTE="data-react-helmet"},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(1),s=r(c),f=n(3),d=r(f),p=n(13),h=r(p),v=n(20),y=function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)},m=function(e){function t(){var n,r,o;i(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=a(this,e.call.apply(e,[this].concat(l))),r.handleClick=function(e){if(r.props.onClick&&r.props.onClick(e),!e.defaultPrevented&&0===e.button&&!r.props.target&&!y(e)){e.preventDefault();var t=r.context.router.history,n=r.props,o=n.replace,i=n.to;o?t.replace(i):t.push(i)}},o=n,a(r,o)}return u(t,e),t.prototype.render=function(){var e=this.props,t=(e.replace,e.to),n=e.innerRef,r=o(e,["replace","to","innerRef"]);(0,h.default)(this.context.router,"You should not use <Link> outside a <Router>"),(0,h.default)(void 0!==t,'You must specify the "to" property');var i=this.context.router.history,a="string"==typeof t?(0,v.createLocation)(t,null,null,i.location):t,u=i.createHref(a);return s.default.createElement("a",l({},r,{onClick:this.handleClick,href:u,ref:n}))},t}(s.default.Component);m.propTypes={onClick:d.default.func,target:d.default.string,replace:d.default.bool,to:d.default.oneOfType([d.default.string,d.default.object]).isRequired,innerRef:d.default.oneOfType([d.default.string,d.default.func])},m.defaultProps={replace:!1},m.contextTypes={router:d.default.shape({history:d.default.shape({push:d.default.func.isRequired,replace:d.default.func.isRequired,createHref:d.default.func.isRequired}).isRequired}).isRequired},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(776),i=r(o);t.default=i.default},function(e,t,n){"use strict";var r=!1,o=function(){};if(r){var i=function(e,t){var n=arguments.length;t=new Array(n>2?n-2:0);for(var r=2;r<n;r++)t[r-2]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,function(){return t[o++]});"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}};o=function(e,t,n){var r=arguments.length;n=new Array(r>2?r-2:0);for(var o=2;o<r;o++)n[o-2]=arguments[o];if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||i.apply(null,[t].concat(n))}}e.exports=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(42),c=r(l),s=n(13),f=r(s),d=n(1),p=r(d),h=n(3),v=r(h),y=n(735),m=r(y),g=function(e){return 0===p.default.Children.count(e)},b=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.state={match:r.computeMatch(r.props,r.context.router)},a=n,i(r,a)}return a(t,e),t.prototype.getChildContext=function(){return{router:u({},this.context.router,{route:{location:this.props.location||this.context.router.route.location,match:this.state.match}})}},t.prototype.computeMatch=function(e,t){var n=e.computedMatch,r=e.location,o=e.path,i=e.strict,a=e.exact,u=e.sensitive;if(n)return n;(0,f.default)(t,"You should not use <Route> or withRouter() outside a <Router>");var l=t.route,c=(r||l.location).pathname;return(0,m.default)(c,{path:o,strict:i,exact:a,sensitive:u},l.match)},t.prototype.componentWillMount=function(){(0,c.default)(!(this.props.component&&this.props.render),"You should not use <Route component> and <Route render> in the same route; <Route render> will be ignored"),(0,c.default)(!(this.props.component&&this.props.children&&!g(this.props.children)),"You should not use <Route component> and <Route children> in the same route; <Route children> will be ignored"),(0,c.default)(!(this.props.render&&this.props.children&&!g(this.props.children)),"You should not use <Route render> and <Route children> in the same route; <Route children> will be ignored")},t.prototype.componentWillReceiveProps=function(e,t){(0,c.default)(!(e.location&&!this.props.location),'<Route> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),(0,c.default)(!(!e.location&&this.props.location),'<Route> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.'),this.setState({match:this.computeMatch(e,t.router)})},t.prototype.render=function e(){var t=this.state.match,n=this.props,r=n.children,o=n.component,e=n.render,i=this.context.router,a=i.history,u=i.route,l=i.staticContext,c=this.props.location||u.location,s={match:t,location:c,history:a,staticContext:l};return o?t?p.default.createElement(o,s):null:e?t?e(s):null:"function"==typeof r?r(s):r&&!g(r)?p.default.Children.only(r):null},t}(p.default.Component);b.propTypes={computedMatch:v.default.object,path:v.default.string,exact:v.default.bool,strict:v.default.bool,sensitive:v.default.bool,component:v.default.func,render:v.default.func,children:v.default.oneOfType([v.default.func,v.default.node]),location:v.default.object},b.contextTypes={router:v.default.shape({history:v.default.object.isRequired,route:v.default.object.isRequired,staticContext:v.default.object})},b.childContextTypes={router:v.default.object.isRequired},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(778),i=r(o),a={},u=1e4,l=0,c=function(e){var t=e,n=a[t]||(a[t]={});if(n[e])return n[e];var r=i.default.compile(e);return l<u&&(n[e]=r,l++),r},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("/"===e)return e;var n=c(e);return n(t,{pretty:!0})};t.default=s},function(e,t,n){function r(e,t){for(var n,r=[],o=0,i=0,a="",u=t&&t.delimiter||"/";null!=(n=g.exec(e));){var s=n[0],f=n[1],d=n.index;if(a+=e.slice(i,d),i=d+s.length,f)a+=f[1];else{var p=e[i],h=n[2],v=n[3],y=n[4],m=n[5],b=n[6],w=n[7];a&&(r.push(a),a="");var _=null!=h&&null!=p&&p!==h,T="+"===b||"*"===b,E="?"===b||"*"===b,S=n[2]||u,x=y||m;r.push({name:v||o++,prefix:h||"",delimiter:S,optional:E,repeat:T,partial:_,asterisk:!!w,pattern:x?c(x):w?".*":"[^"+l(S)+"]+?"})}}return i<e.length&&(a+=e.substr(i)),a&&r.push(a),r}function o(e,t){return u(r(e,t))}function i(e){return encodeURI(e).replace(/[\/?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function a(e){return encodeURI(e).replace(/[?#]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}function u(e){for(var t=new Array(e.length),n=0;n<e.length;n++)"object"==typeof e[n]&&(t[n]=new RegExp("^(?:"+e[n].pattern+")$"));return function(n,r){for(var o="",u=n||{},l=r||{},c=l.pretty?i:encodeURIComponent,s=0;s<e.length;s++){var f=e[s];if("string"!=typeof f){var d,p=u[f.name];if(null==p){if(f.optional){f.partial&&(o+=f.prefix);continue}throw new TypeError('Expected "'+f.name+'" to be defined')}if(m(p)){if(!f.repeat)throw new TypeError('Expected "'+f.name+'" to not repeat, but received `'+JSON.stringify(p)+"`");if(0===p.length){if(f.optional)continue;throw new TypeError('Expected "'+f.name+'" to not be empty')}for(var h=0;h<p.length;h++){if(d=c(p[h]),!t[s].test(d))throw new TypeError('Expected all "'+f.name+'" to match "'+f.pattern+'", but received `'+JSON.stringify(d)+"`");o+=(0===h?f.prefix:f.delimiter)+d}}else{if(d=f.asterisk?a(p):c(p),!t[s].test(d))throw new TypeError('Expected "'+f.name+'" to match "'+f.pattern+'", but received "'+d+'"');o+=f.prefix+d}}else o+=f}return o}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function f(e){return e.sensitive?"":"i"}function d(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}function p(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(y(e[o],t,n).source);var i=new RegExp("(?:"+r.join("|")+")",f(n));return s(i,t)}function h(e,t,n){return v(r(e,n),t,n)}function v(e,t,n){m(t)||(n=t||n,t=[]),n=n||{};for(var r=n.strict,o=n.end!==!1,i="",a=0;a<e.length;a++){var u=e[a];if("string"==typeof u)i+=l(u);else{var c=l(u.prefix),d="(?:"+u.pattern+")";t.push(u),u.repeat&&(d+="(?:"+c+d+")*"),d=u.optional?u.partial?c+"("+d+")?":"(?:"+c+"("+d+"))?":c+"("+d+")",i+=d}}var p=l(n.delimiter||"/"),h=i.slice(-p.length)===p;return r||(i=(h?i.slice(0,-p.length):i)+"(?:"+p+"(?=$))?"),i+=o?"$":r&&h?"":"(?="+p+"|$)",s(new RegExp("^"+i,f(n)),t)}function y(e,t,n){return m(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?d(e,t):m(e)?p(e,t,n):h(e,t,n)}var m=n(939);e.exports=y,e.exports.parse=r,e.exports.compile=o,e.exports.tokensToFunction=u,e.exports.tokensToRegExp=v;var g=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g")},function(e,t,n){"use strict";var r=n(963);e.exports=function(e,t,n,o){var i=n?n.call(o,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var a=r(e),u=r(t),l=a.length;if(l!==u.length)return!1;o=o||null;for(var c=Object.prototype.hasOwnProperty.bind(t),s=0;s<l;s++){var f=a[s];if(!c(f))return!1;var d=e[f],p=t[f],h=n?n.call(o,d,p,f):void 0;if(h===!1||void 0===h&&d!==p)return!1}return!0}},,,,,,,,,,,,,,,,,function(e,t,n){e.exports={default:n(805),__esModule:!0}},function(e,t,n){e.exports={default:n(806),__esModule:!0}},function(e,t,n){e.exports={default:n(807),__esModule:!0}},function(e,t,n){e.exports={default:n(808),__esModule:!0}},function(e,t,n){e.exports={default:n(810),__esModule:!0}},function(e,t,n){e.exports={default:n(811),__esModule:!0}},function(e,t,n){e.exports={default:n(812),__esModule:!0}},function(e,t,n){e.exports={default:n(813),__esModule:!0}},function(e,t,n){n(869),n(871),n(874),n(870),n(872),n(873),e.exports=n(26).Promise},function(e,t,n){var r=n(12),o=r.JSON||(r.JSON={stringify:JSON.stringify});e.exports=function(e){return o.stringify.apply(o,arguments)}},function(e,t,n){n(831),e.exports=n(12).Object.assign},function(e,t,n){n(832);var r=n(12).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){n(833);var r=n(12).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){n(834),e.exports=n(12).Object.getPrototypeOf},function(e,t,n){n(835),e.exports=n(12).Object.keys},function(e,t,n){n(836),e.exports=n(12).Object.setPrototypeOf},function(e,t,n){n(839),n(837),n(840),n(841),e.exports=n(12).Symbol},function(e,t,n){n(838),n(842),e.exports=n(86).f("iterator")},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(38),o=n(829),i=n(828);e.exports=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(46),o=n(79),i=n(59);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),l=i.f,c=0;u.length>c;)l.call(e,a=u[c++])&&t.push(a);return t}},function(e,t,n){var r=n(19).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(740);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(78),o=n(60),i=n(80),a={};n(36)(a,n(39)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(62)("meta"),o=n(37),i=n(23),a=n(24).f,u=0,l=Object.isExtensible||function(){return!0},c=!n(35)(function(){return l(Object.preventExtensions({}))}),s=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";s(e)}return e[r].i},d=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;s(e)}return e[r].w},p=function(e){return c&&h.NEED&&l(e)&&!i(e,r)&&s(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){"use strict";var r=n(46),o=n(79),i=n(59),a=n(61),u=n(744),l=Object.assign;e.exports=!l||n(35)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=r})?function(e,t){for(var n=a(e),l=arguments.length,c=1,s=o.f,f=i.f;l>c;)for(var d,p=u(arguments[c++]),h=s?r(p).concat(s(p)):r(p),v=h.length,y=0;v>y;)f.call(p,d=h[y++])&&(n[d]=p[d]);return n}:l},function(e,t,n){var r=n(24),o=n(45),i=n(46);e.exports=n(21)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,l=0;u>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(38),o=n(747).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?u(e):o(r(e))}},function(e,t,n){var r=n(37),o=n(45),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(741)(Function.call,n(746).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){var r=n(83),o=n(75);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l),i<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var r=n(83),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(83),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(815),o=n(821),i=n(77),a=n(38);e.exports=n(745)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){var r=n(22);r(r.S+r.F,"Object",{assign:n(823)})},function(e,t,n){var r=n(22);r(r.S,"Object",{create:n(78)})},function(e,t,n){var r=n(22);r(r.S+r.F*!n(21),"Object",{defineProperty:n(24).f})},function(e,t,n){var r=n(61),o=n(748);n(750)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(61),o=n(46);n(750)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(22);r(r.S,"Object",{setPrototypeOf:n(826).set})},function(e,t){},function(e,t,n){"use strict";var r=n(827)(!0);n(745)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(19),o=n(23),i=n(21),a=n(22),u=n(751),l=n(822).KEY,c=n(35),s=n(82),f=n(80),d=n(62),p=n(39),h=n(86),v=n(85),y=n(817),m=n(819),g=n(45),b=n(37),w=n(38),_=n(84),T=n(60),E=n(78),S=n(825),x=n(746),P=n(24),O=n(46),k=x.f,C=P.f,R=S.f,M=r.Symbol,A=r.JSON,j=A&&A.stringify,N="prototype",L=p("_hidden"),I=p("toPrimitive"),U={}.propertyIsEnumerable,F=s("symbol-registry"),D=s("symbols"),H=s("op-symbols"),B=Object[N],W="function"==typeof M,z=r.QObject,G=!z||!z[N]||!z[N].findChild,q=i&&c(function(){return 7!=E(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=k(B,t);r&&delete B[t],C(e,t,n),r&&e!==B&&C(B,t,r)}:C,V=function(e){var t=D[e]=E(M[N]);return t._k=e,t},Y=W&&"symbol"==typeof M.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof M},$=function(e,t,n){return e===B&&$(H,t,n),g(e),t=_(t,!0),g(n),o(D,t)?(n.enumerable?(o(e,L)&&e[L][t]&&(e[L][t]=!1),n=E(n,{enumerable:T(0,!1)})):(o(e,L)||C(e,L,T(1,{})),e[L][t]=!0),q(e,t,n)):C(e,t,n)},K=function(e,t){g(e);for(var n,r=y(t=w(t)),o=0,i=r.length;i>o;)$(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?E(e):K(E(e),t)},X=function(e){var t=U.call(this,e=_(e,!0));return!(this===B&&o(D,e)&&!o(H,e))&&(!(t||!o(this,e)||!o(D,e)||o(this,L)&&this[L][e])||t)},J=function(e,t){if(e=w(e),t=_(t,!0),e!==B||!o(D,t)||o(H,t)){var n=k(e,t);return!n||!o(D,t)||o(e,L)&&e[L][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=R(w(e)),r=[],i=0;n.length>i;)o(D,t=n[i++])||t==L||t==l||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=R(n?H:w(e)),i=[],a=0;r.length>a;)!o(D,t=r[a++])||n&&!o(B,t)||i.push(D[t]);return i};W||(M=function(){if(this instanceof M)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(H,n),o(this,L)&&o(this[L],e)&&(this[L][e]=!1),q(this,e,T(1,n))};return i&&G&&q(B,e,{configurable:!0,set:t}),V(e)},u(M[N],"toString",function(){return this._k}),x.f=J,P.f=$,n(747).f=S.f=Z,n(59).f=X,n(79).f=ee,i&&!n(58)&&u(B,"propertyIsEnumerable",X,!0),h.f=function(e){return V(p(e))}),a(a.G+a.W+a.F*!W,{Symbol:M});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)p(te[ne++]);for(var re=O(p.store),oe=0;re.length>oe;)v(re[oe++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(F,e+="")?F[e]:F[e]=M(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!W,"Object",{create:Q,defineProperty:$,defineProperties:K,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:ee}),A&&a(a.S+a.F*(!W||c(function(){var e=M();return"[null]"!=j([e])||"{}"!=j({a:e})||"{}"!=j(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,j.apply(A,r)}}),M[N][I]||n(36)(M[N],I,M[N].valueOf),f(M,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){n(85)("asyncIterator")},function(e,t,n){n(85)("observable")},function(e,t,n){n(830);for(var r=n(19),o=n(36),i=n(77),a=n(39)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<u.length;l++){ var c=u[l],s=r[c],f=s&&s.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){var r=n(11)("unscopables"),o=Array.prototype;void 0==o[r]&&n(40)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(95),o=n(763),i=n(863);e.exports=function(e){return function(t,n,a){var u,l=r(t),c=o(l.length),s=i(a,c);if(e&&n!=n){for(;c>s;)if(u=l[s++],u!=u)return!0}else for(;c>s;s++)if((e||s in l)&&l[s]===n)return e||s||0;return!e&&-1}}},function(e,t,n){var r=n(65),o=n(851),i=n(850),a=n(25),u=n(763),l=n(867),c={},s={},t=e.exports=function(e,t,n,f,d){var p,h,v,y,m=d?function(){return e}:l(e),g=r(n,f,t?2:1),b=0;if("function"!=typeof m)throw TypeError(e+" is not iterable!");if(i(m)){for(p=u(e.length);p>b;b++)if(y=t?g(a(h=e[b])[0],h[1]):g(e[b]),y===c||y===s)return y}else for(v=m.call(e);!(h=v.next()).done;)if(y=o(v,g,h.value,t),y===c||y===s)return y};t.BREAK=c,t.RETURN=s},function(e,t,n){e.exports=!n(47)&&!n(753)(function(){return 7!=Object.defineProperty(n(89)("div"),"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(64);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(49),o=n(11)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){var r=n(25);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(856),o=n(759),i=n(92),a={};n(40)(a,n(11)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(11)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){var r=n(10),o=n(762).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,u=r.Promise,l="process"==n(64)(a);e.exports=function(){var e,t,n,c=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(c)};else if(!i||r.navigator&&r.navigator.standalone)if(u&&u.resolve){var s=u.resolve(void 0);n=function(){s.then(c)}}else n=function(){o.call(r,c)};else{var f=!0,d=document.createTextNode("");new i(c).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t,n){var r=n(25),o=n(857),i=n(752),a=n(93)("IE_PROTO"),u=function(){},l="prototype",c=function(){var e,t=n(89)("iframe"),r=i.length,o="<",a=">";for(t.style.display="none",n(754).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write(o+"script"+a+"document.F=Object"+o+"/script"+a),e.close(),c=e.F;r--;)delete c[l][i[r]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(u[l]=r(e),n=new u,u[l]=null,n[a]=e):n=c(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(68),o=n(25),i=n(756);e.exports=n(47)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,l=0;u>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(67),o=n(864),i=n(93)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(67),o=n(95),i=n(845)(!1),a=n(93)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),l=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>l;)r(u,n=t[l++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(50);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){"use strict";var r=n(10),o=n(68),i=n(47),a=n(11)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(94),o=n(88);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),l=r(n),c=u.length;return l<0||l>=c?e?"":void 0:(i=u.charCodeAt(l),i<55296||i>56319||l+1===c||(a=u.charCodeAt(l+1))<56320||a>57343?e?u.charAt(l):i:e?u.slice(l,l+2):(i-55296<<10)+(a-56320)+65536)}}},function(e,t,n){var r=n(94),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(88);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(48);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(10),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){var r=n(87),o=n(11)("iterator"),i=n(49);e.exports=n(26).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(843),o=n(854),i=n(49),a=n(95);e.exports=n(755)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(87),o={};o[n(11)("toStringTag")]="z",o+""!="[object z]"&&n(50)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){"use strict";var r,o,i,a,u=n(90),l=n(10),c=n(65),s=n(87),f=n(66),d=n(48),p=n(63),h=n(844),v=n(846),y=n(761),m=n(762).set,g=n(855)(),b=n(91),w=n(757),_=n(866),T=n(758),E="Promise",S=l.TypeError,x=l.process,P=x&&x.versions,O=P&&P.v8||"",k=l[E],C="process"==s(x),R=function(){},M=o=b.f,A=!!function(){try{var e=k.resolve(1),t=(e.constructor={})[n(11)("species")]=function(e){e(R,R)};return(C||"function"==typeof PromiseRejectionEvent)&&e.then(R)instanceof t&&0!==O.indexOf("6.6")&&_.indexOf("Chrome/66")===-1}catch(e){}}(),j=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;g(function(){for(var r=e._v,o=1==e._s,i=0,a=function(t){var n,i,a,u=o?t.ok:t.fail,l=t.resolve,c=t.reject,s=t.domain;try{u?(o||(2==e._h&&U(e),e._h=1),u===!0?n=r:(s&&s.enter(),n=u(r),s&&(s.exit(),a=!0)),n===t.promise?c(S("Promise-chain cycle")):(i=j(n))?i.call(n,l,c):l(n)):c(r)}catch(e){s&&!a&&s.exit(),c(e)}};n.length>i;)a(n[i++]);e._c=[],e._n=!1,t&&!e._h&&L(e)})}},L=function(e){m.call(l,function(){var t,n,r,o=e._v,i=I(e);if(i&&(t=w(function(){C?x.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=C||I(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},I=function(e){return 1!==e._h&&0===(e._a||e._c).length},U=function(e){m.call(l,function(){var t;C?x.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),N(t,!0))},D=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=j(e))?g(function(){var r={_w:n,_d:!1};try{t.call(e,c(D,r,1),c(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};A||(k=function(e){h(this,k,E,"_h"),p(e),r.call(this);try{e(c(D,this,1),c(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(860)(k.prototype,{then:function(e,t){var n=M(y(this,k));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=c(D,e,1),this.reject=c(F,e,1)},b.f=M=function(e){return e===k||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!A,{Promise:k}),n(92)(k,E),n(861)(E),a=n(26)[E],f(f.S+f.F*!A,E,{reject:function(e){var t=M(this),n=t.reject;return n(e),t.promise}}),f(f.S+f.F*(u||!A),E,{resolve:function(e){return T(u&&this===a?k:this,e)}}),f(f.S+f.F*!(A&&n(853)(function(e){k.all(e).catch(R)})),E,{all:function(e){var t=this,n=M(t),r=n.resolve,o=n.reject,i=w(function(){var n=[],i=0,a=1;v(e,!1,function(e){var u=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[u]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=M(t),r=n.reject,o=w(function(){v(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";var r=n(862)(!0);n(755)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(66),o=n(26),i=n(10),a=n(761),u=n(758);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){"use strict";var r=n(66),o=n(91),i=n(757);r(r.S,"Promise",{try:function(e){var t=o.f(this),n=i(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},function(e,t,n){for(var r=n(868),o=n(756),i=n(50),a=n(10),u=n(40),l=n(49),c=n(11),s=c("iterator"),f=c("toStringTag"),d=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),v=0;v<h.length;v++){var y,m=h[v],g=p[m],b=a[m],w=b&&b.prototype;if(w&&(w[s]||u(w,s,d),w[f]||u(w,f,m),l[m]=d,g))for(y in r)w[y]||i(w,y,r[y],!0)}},function(e,t,n){function r(e){return null===e||void 0===e}function o(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}function i(e,t,n){var i,s;if(r(e)||r(t))return!1;if(e.prototype!==t.prototype)return!1;if(l(e))return!!l(t)&&(e=a.call(e),t=a.call(t),c(e,t,n));if(o(e)){if(!o(t))return!1;if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}try{var f=u(e),d=u(t)}catch(e){return!1}if(f.length!=d.length)return!1;for(f.sort(),d.sort(),i=f.length-1;i>=0;i--)if(f[i]!=d[i])return!1;for(i=f.length-1;i>=0;i--)if(s=f[i],!c(e[s],t[s],n))return!1;return typeof e==typeof t}var a=Array.prototype.slice,u=n(877),l=n(876),c=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:i(e,t,n))}},function(e,t){function n(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function r(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}var o="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();t=e.exports=o?n:r,t.supported=n,t.unsupported=r},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}t=e.exports="function"==typeof Object.keys?Object.keys:n,t.shim=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(97),i=r(o),a=function(){};i.default&&(a=function(){return document.addEventListener?function(e,t,n,r){return e.removeEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.detachEvent("on"+t,n)}:void 0}()),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(97),i=r(o),a=function(){};i.default&&(a=function(){return document.addEventListener?function(e,t,n,r){return e.addEventListener(t,n,r||!1)}:document.attachEvent?function(e,t,n){return e.attachEvent("on"+t,function(t){t=t||window.event,t.target=t.target||t.srcElement,t.currentTarget=e,n.call(e,t)})}:void 0}()),t.default=a,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,a.default)(e);return void 0===t?n?"pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft:e.scrollLeft:void(n?n.scrollTo(t,"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop):e.scrollLeft=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(764),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=(0,a.default)(e);return void 0===t?n?"pageYOffset"in n?n.pageYOffset:n.document.documentElement.scrollTop:e.scrollTop:void(n?n.scrollTo("pageXOffset"in n?n.pageXOffset:n.document.documentElement.scrollLeft,t):e.scrollTop=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var i=n(764),a=r(i);e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-d)),r=setTimeout(e,n);return d=t,r}Object.defineProperty(t,"__esModule",{value:!0});var i=n(97),a=r(i),u=["","webkit","moz","o","ms"],l="clearTimeout",c=o,s=void 0,f=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};a.default&&u.some(function(e){var t=f(e,"request");if(t in window)return l=f(e,"cancel"),c=function(e){return window[t](e)}});var d=(new Date).getTime();s=function(e){return c(e)},s.cancel=function(e){window[l]&&"function"==typeof window[l]&&window[l](e)},t.default=s,e.exports=t.default},,,function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t){e.exports={footer:"src-components-Footer----Footer-module---footer---VUGIP"}},,,,function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),r={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=r},function(e,t,n){"use strict";function r(e,t){return!(!e||!t)&&(e===t||!o(e)&&(o(t)?r(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}var o=n(894);e.exports=r},function(e,t){"use strict";function n(e){if(e=e||("undefined"!=typeof document?document:void 0),"undefined"==typeof e)return null;try{return e.activeElement||e.body}catch(t){return e.body}}e.exports=n},function(e,t){"use strict";function n(e){var t=e?e.ownerDocument||e:document,n=t.defaultView||window;return!(!e||!("function"==typeof n.Node?e instanceof n.Node:"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName))}e.exports=n},function(e,t,n){"use strict";function r(e){return o(e)&&3==e.nodeType}var o=n(893);e.exports=r},function(e,t){"use strict";function n(e,t){return e===t?0!==e||0!==t||1/e===1/t:e!==e&&t!==t}function r(e,t){if(n(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(var a=0;a<r.length;a++)if(!o.call(t,r[a])||!n(e[r[a]],t[r[a]]))return!1;return!0}var o=Object.prototype.hasOwnProperty;e.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);Nr(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function o(e,t,n,r,o,i,a,u,l){this._hasCaughtError=!1,this._caughtError=null;var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this._caughtError=e,this._hasCaughtError=!0}}function i(){if(zr._hasRethrowError){var e=zr._rethrowError;throw zr._rethrowError=null,zr._hasRethrowError=!1,e}}function a(){if(Gr)for(var e in qr){var t=qr[e],n=Gr.indexOf(e);if(-1<n?void 0:r("96",e),!Vr[n]){t.extractEvents?void 0:r("97",e),Vr[n]=t,n=t.eventTypes;for(var o in n){var i=void 0,a=n[o],l=t,c=o;Yr.hasOwnProperty(c)?r("99",c):void 0,Yr[c]=a;var s=a.phasedRegistrationNames;if(s){for(i in s)s.hasOwnProperty(i)&&u(s[i],l,c);i=!0}else a.registrationName?(u(a.registrationName,l,c),i=!0):i=!1;i?void 0:r("98",o,e)}}}}function u(e,t,n){$r[e]?r("100",e):void 0,$r[e]=t,Kr[e]=t.eventTypes[n].dependencies}function l(e){Gr?r("101"):void 0,Gr=Array.prototype.slice.call(e),a()}function c(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var o=e[t];qr.hasOwnProperty(t)&&qr[t]===o||(qr[t]?r("102",t):void 0,qr[t]=o,n=!0)}n&&a()}function s(e,t,n,r){t=e.type||"unknown-event",e.currentTarget=Zr(r),zr.invokeGuardedCallbackAndCatchFirstError(t,n,void 0,e),e.currentTarget=null}function f(e,t){return null==t?r("30"):void 0,null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function d(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}function p(e,t){if(e){var n=e._dispatchListeners,r=e._dispatchInstances;if(Array.isArray(n))for(var o=0;o<n.length&&!e.isPropagationStopped();o++)s(e,t,n[o],r[o]);else n&&s(e,t,n,r);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function h(e){return p(e,!0)}function v(e){return p(e,!1)}function y(e,t){var n=e.stateNode;if(!n)return null;var o=Xr(n);if(!o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":(o=!o.disabled)||(e=e.type,o=!("button"===e||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}return e?null:(n&&"function"!=typeof n?r("231",t,typeof n):void 0,n)}function m(e,t){null!==e&&(eo=f(eo,e)),e=eo,eo=null,e&&(t?d(e,h):d(e,v),eo?r("95"):void 0,zr.rethrowCaughtError())}function g(e,t,n,r){for(var o=null,i=0;i<Vr.length;i++){var a=Vr[i];a&&(a=a.extractEvents(e,t,n,r))&&(o=f(o,a))}m(o,!1)}function b(e){if(e[oo])return e[oo];for(;!e[oo];){if(!e.parentNode)return null;e=e.parentNode}return e=e[oo],5===e.tag||6===e.tag?e:null}function w(e){return 5===e.tag||6===e.tag?e.stateNode:void r("33")}function _(e){return e[io]||null}function T(e){do e=e.return;while(e&&5!==e.tag);return e?e:null}function E(e,t,n){for(var r=[];e;)r.push(e),e=T(e);for(e=r.length;0<e--;)t(r[e],"captured",n);for(e=0;e<r.length;e++)t(r[e],"bubbled",n)}function S(e,t,n){(t=y(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function x(e){e&&e.dispatchConfig.phasedRegistrationNames&&E(e._targetInst,S,e)}function P(e){if(e&&e.dispatchConfig.phasedRegistrationNames){var t=e._targetInst;t=t?T(t):null,E(t,S,e)}}function O(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=y(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=f(n._dispatchListeners,t),n._dispatchInstances=f(n._dispatchInstances,e))}function k(e){e&&e.dispatchConfig.registrationName&&O(e._targetInst,null,e)}function C(e){d(e,x)}function R(e,t,n,r){if(n&&r)e:{for(var o=n,i=r,a=0,u=o;u;u=T(u))a++;u=0;for(var l=i;l;l=T(l))u++;for(;0<a-u;)o=T(o),a--;for(;0<u-a;)i=T(i),u--;for(;a--;){if(o===i||o===i.alternate)break e;o=T(o),i=T(i)}o=null}else o=null;for(i=o,o=[];n&&n!==i&&(a=n.alternate,null===a||a!==i);)o.push(n),n=T(n);for(n=[];r&&r!==i&&(a=r.alternate,null===a||a!==i);)n.push(r),r=T(r);for(r=0;r<o.length;r++)O(o[r],"bubbled",e);for(e=n.length;0<e--;)O(n[e],"captured",t)}function M(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n["ms"+e]="MS"+t,n["O"+e]="o"+t.toLowerCase(),n}function A(e){if(co[e])return co[e];if(!lo[e])return e;var t,n=lo[e];for(t in n)if(n.hasOwnProperty(t)&&t in so)return co[e]=n[t];return e}function j(){return!mo&&Ir.canUseDOM&&(mo="textContent"in document.documentElement?"textContent":"innerText"),mo}function N(){if(go._fallbackText)return go._fallbackText;var e,t,n=go._startText,r=n.length,o=L(),i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return go._fallbackText=o.slice(e,1<t?1-t:void 0),go._fallbackText}function L(){return"value"in go._root?go._root.value:go._root[j()]}function I(e,t,n,r){this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface;for(var o in e)e.hasOwnProperty(o)&&((t=e[o])?this[o]=t(n):"target"===o?this.target=r:this[o]=n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Fr.thatReturnsTrue:Fr.thatReturnsFalse,this.isPropagationStopped=Fr.thatReturnsFalse,this}function U(e,t,n,r){if(this.eventPool.length){var o=this.eventPool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)}function F(e){e instanceof this?void 0:r("223"),e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function D(e){e.eventPool=[],e.getPooled=U,e.release=F}function H(e,t){switch(e){case"keyup":return-1!==Eo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function B(e){return e=e.detail,"object"==typeof e&&"data"in e?e.data:null}function W(e,t){switch(e){case"compositionend":return B(t);case"keypress":return 32!==t.which?null:(Ro=!0,ko);case"textInput":return e=t.data,e===ko&&Ro?null:e;default:return null}}function z(e,t){if(Mo)return"compositionend"===e||!So&&H(e,t)?(e=N(),go._root=null,go._startText=null,go._fallbackText=null,Mo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Oo?null:t.data;default:return null}}function G(e){if(e=Jr(e)){jo&&"function"==typeof jo.restoreControlledState?void 0:r("194");var t=Xr(e.stateNode);jo.restoreControlledState(e.stateNode,e.type,t)}}function q(e){Lo?Io?Io.push(e):Io=[e]:Lo=e}function V(){return null!==Lo||null!==Io}function Y(){if(Lo){var e=Lo,t=Io;if(Io=Lo=null,G(e),t)for(e=0;e<t.length;e++)G(t[e])}}function $(e,t){return e(t)}function K(e,t,n){return e(t,n)}function Q(){}function X(e,t){if(Fo)return e(t);Fo=!0;try{return $(e,t)}finally{Fo=!1,V()&&(Q(),Y())}}function J(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Do[e.type]:"textarea"===t}function Z(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function ee(e,t){return!(!Ir.canUseDOM||t&&!("addEventListener"in document))&&(e="on"+e,t=e in document,t||(t=document.createElement("div"),t.setAttribute(e,"return;"),t="function"==typeof t[e]),t)}function te(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ne(e){var t=te(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!=typeof n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function re(e){e._valueTracker||(e._valueTracker=ne(e))}function oe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=te(e)?e.checked?"true":"false":e.value),e=r,e!==n&&(t.setValue(e),!0)}function ie(e){return null===e||"undefined"==typeof e?null:(e=Jo&&e[Jo]||e["@@iterator"],"function"==typeof e?e:null)}function ae(e){var t=e.type;if("function"==typeof t)return t.displayName||t.name;if("string"==typeof t)return t;switch(t){case Ko:return"AsyncMode";case $o:return"Context.Consumer";case Go:return"ReactFragment";case zo:return"ReactPortal";case Vo:return"Profiler("+e.pendingProps.id+")";case Yo:return"Context.Provider";case qo:return"StrictMode";case Xo:return"Timeout"}if("object"==typeof t&&null!==t)switch(t.$$typeof){case Qo:return e=t.render.displayName||t.render.name||"",""!==e?"ForwardRef("+e+")":"ForwardRef"}return null}function ue(e){var t="";do{e:switch(e.tag){case 0:case 1:case 2:case 5:var n=e._debugOwner,r=e._debugSource,o=ae(e),i=null;n&&(i=ae(n)),n=r,o="\n in "+(o||"Unknown")+(n?" (at "+n.fileName.replace(/^.*[\\\/]/,"")+":"+n.lineNumber+")":i?" (created by "+i+")":"");break e;default:o=""}t+=o,e=e.return}while(e);return t}function le(e){return!!ei.call(ni,e)||!ei.call(ti,e)&&(Zo.test(e)?ni[e]=!0:(ti[e]=!0,!1))}function ce(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),"data-"!==e&&"aria-"!==e));default:return!1}}function se(e,t,n,r){if(null===t||"undefined"==typeof t||ce(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function fe(e,t,n,r,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t}function de(e){return e[1].toUpperCase()}function pe(e,t,n,r){var o=ri.hasOwnProperty(t)?ri[t]:null,i=null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]));i||(se(t,n,o,r)&&(n=null),r||null===o?le(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(o=o.type,n=3===o||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}function he(e,t){var n=t.checked;return Ur({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ve(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=we(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function ye(e,t){t=t.checked,null!=t&&pe(e,"checked",t,!1)}function me(e,t){ye(e,t);var n=we(t.value);null!=n&&("number"===t.type?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n)),t.hasOwnProperty("value")?be(e,t.type,n):t.hasOwnProperty("defaultValue")&&be(e,t.type,we(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ge(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){t=""+e._wrapperState.initialValue;var r=e.value;n||t===r||(e.value=t),e.defaultValue=t}n=e.name,""!==n&&(e.name=""),e.defaultChecked=!e.defaultChecked,e.defaultChecked=!e.defaultChecked,""!==n&&(e.name=n)}function be(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function we(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function _e(e,t,n){return e=I.getPooled(ii.change,e,t,n),e.type="change",q(n),C(e),e}function Te(e){m(e,!1)}function Ee(e){var t=w(e);if(oe(t))return e}function Se(e,t){if("change"===e)return t}function xe(){ai&&(ai.detachEvent("onpropertychange",Pe),ui=ai=null)}function Pe(e){"value"===e.propertyName&&Ee(ui)&&(e=_e(ui,e,Z(e)),X(Te,e))}function Oe(e,t,n){"focus"===e?(xe(),ai=t,ui=n,ai.attachEvent("onpropertychange",Pe)):"blur"===e&&xe()}function ke(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Ee(ui)}function Ce(e,t){if("click"===e)return Ee(t)}function Re(e,t){if("input"===e||"change"===e)return Ee(t)}function Me(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=fi[e])&&!!t[e]}function Ae(){return Me}function je(e){var t=e;if(e.alternate)for(;t.return;)t=t.return;else{if(0!==(2&t.effectTag))return 1;for(;t.return;)if(t=t.return,0!==(2&t.effectTag))return 1}return 3===t.tag?2:3}function Ne(e){2!==je(e)?r("188"):void 0}function Le(e){var t=e.alternate;if(!t)return t=je(e),3===t?r("188"):void 0,1===t?null:e;for(var n=e,o=t;;){var i=n.return,a=i?i.alternate:null;if(!i||!a)break;if(i.child===a.child){for(var u=i.child;u;){if(u===n)return Ne(i),e;if(u===o)return Ne(i),t;u=u.sibling}r("188")}if(n.return!==o.return)n=i,o=a;else{u=!1;for(var l=i.child;l;){if(l===n){u=!0,n=i,o=a;break}if(l===o){u=!0,o=i,n=a;break}l=l.sibling}if(!u){for(l=a.child;l;){if(l===n){u=!0,n=a,o=i;break}if(l===o){u=!0,o=a,n=i;break}l=l.sibling}u?void 0:r("189")}}n.alternate!==o?r("190"):void 0}return 3!==n.tag?r("188"):void 0,n.stateNode.current===n?e:t}function Ie(e){if(e=Le(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Ue(e){if(e=Le(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child&&4!==t.tag)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Fe(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,0===e&&13===t&&(e=13)):e=t,10===e&&(e=13),32<=e||13===e?e:0}function De(e,t){var n=e[0];e=e[1];var r="on"+(e[0].toUpperCase()+e.slice(1));t={phasedRegistrationNames:{bubbled:r,captured:r+"Capture"},dependencies:[n],isInteractive:t},Oi[e]=t,ki[n]=t}function He(e){var t=e.targetInst;do{if(!t){e.ancestors.push(t);break}var n;for(n=t;n.return;)n=n.return;if(n=3!==n.tag?null:n.stateNode.containerInfo,!n)break;e.ancestors.push(t),t=b(n)}while(t);for(n=0;n<e.ancestors.length;n++)t=e.ancestors[n],g(e.topLevelType,t,e.nativeEvent,Z(e.nativeEvent))}function Be(e){Ai=!!e}function We(e,t){if(!t)return null;var n=(Ri(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!1)}function ze(e,t){if(!t)return null;var n=(Ri(e)?Ge:qe).bind(null,e);t.addEventListener(e,n,!0)}function Ge(e,t){K(qe,e,t)}function qe(e,t){if(Ai){var n=Z(t);if(n=b(n),null===n||"number"!=typeof n.tag||2===je(n)||(n=null),Mi.length){var r=Mi.pop();r.topLevelType=e,r.nativeEvent=t,r.targetInst=n,e=r}else e={topLevelType:e,nativeEvent:t,targetInst:n,ancestors:[]};try{X(He,e)}finally{e.topLevelType=null,e.nativeEvent=null, e.targetInst=null,e.ancestors.length=0,10>Mi.length&&Mi.push(e)}}}function Ve(e){return Object.prototype.hasOwnProperty.call(e,Ii)||(e[Ii]=Li++,Ni[e[Ii]]={}),Ni[e[Ii]]}function Ye(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function $e(e,t){var n=Ye(e);e=0;for(var r;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ye(n)}}function Ke(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function Qe(e,t){if(Wi||null==Di||Di!==Dr())return null;var n=Di;return"selectionStart"in n&&Ke(n)?n={start:n.selectionStart,end:n.selectionEnd}:window.getSelection?(n=window.getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}):n=void 0,Bi&&Hr(Bi,n)?null:(Bi=n,e=I.getPooled(Fi.select,Hi,e,t),e.type="select",e.target=Di,C(e),e)}function Xe(e){var t="";return Lr.Children.forEach(e,function(e){null==e||"string"!=typeof e&&"number"!=typeof e||(t+=e)}),t}function Je(e,t){return e=Ur({children:void 0},t),(t=Xe(t.children))&&(e.children=t),e}function Ze(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+n,t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function et(e,t){var n=t.value;e._wrapperState={initialValue:null!=n?n:t.defaultValue,wasMultiple:!!t.multiple}}function tt(e,t){return null!=t.dangerouslySetInnerHTML?r("91"):void 0,Ur({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function nt(e,t){var n=t.value;null==n&&(n=t.defaultValue,t=t.children,null!=t&&(null!=n?r("92"):void 0,Array.isArray(t)&&(1>=t.length?void 0:r("93"),t=t[0]),n=""+t),null==n&&(n="")),e._wrapperState={initialValue:""+n}}function rt(e,t){var n=t.value;null!=n&&(n=""+n,n!==e.value&&(e.value=n),null==t.defaultValue&&(e.defaultValue=n)),null!=t.defaultValue&&(e.defaultValue=t.defaultValue)}function ot(e){var t=e.textContent;t===e._wrapperState.initialValue&&(e.value=t)}function it(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function at(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?it(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}function ut(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function lt(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=n,i=t[n];o=null==i||"boolean"==typeof i||""===i?"":r||"number"!=typeof i||0===i||va.hasOwnProperty(o)&&va[o]?(""+i).trim():i+"px","float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}function ct(e,t,n){t&&(ma[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML?r("137",e,n()):void 0),null!=t.dangerouslySetInnerHTML&&(null!=t.children?r("60"):void 0,"object"==typeof t.dangerouslySetInnerHTML&&"__html"in t.dangerouslySetInnerHTML?void 0:r("61")),null!=t.style&&"object"!=typeof t.style?r("62",n()):void 0)}function st(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ft(e,t){e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument;var n=Ve(e);t=Kr[t];for(var r=0;r<t.length;r++){var o=t[r];if(!n.hasOwnProperty(o)||!n[o]){switch(o){case"scroll":ze("scroll",e);break;case"focus":case"blur":ze("focus",e),ze("blur",e),n.blur=!0,n.focus=!0;break;case"cancel":case"close":ee(o,!0)&&ze(o,e);break;case"invalid":case"submit":case"reset":break;default:-1===yo.indexOf(o)&&We(o,e)}n[o]=!0}}}function dt(e,t,n,r){return n=9===n.nodeType?n:n.ownerDocument,r===da.html&&(r=it(e)),r===da.html?"script"===e?(e=n.createElement("div"),e.innerHTML="<script></script>",e=e.removeChild(e.firstChild)):e="string"==typeof t.is?n.createElement(e,{is:t.is}):n.createElement(e):e=n.createElementNS(r,e),e}function pt(e,t){return(9===t.nodeType?t:t.ownerDocument).createTextNode(e)}function ht(e,t,n,r){var o=st(t,n);switch(t){case"iframe":case"object":We("load",e);var i=n;break;case"video":case"audio":for(i=0;i<yo.length;i++)We(yo[i],e);i=n;break;case"source":We("error",e),i=n;break;case"img":case"image":case"link":We("error",e),We("load",e),i=n;break;case"form":We("reset",e),We("submit",e),i=n;break;case"details":We("toggle",e),i=n;break;case"input":ve(e,n),i=he(e,n),We("invalid",e),ft(r,"onChange");break;case"option":i=Je(e,n);break;case"select":et(e,n),i=Ur({},n,{value:void 0}),We("invalid",e),ft(r,"onChange");break;case"textarea":nt(e,n),i=tt(e,n),We("invalid",e),ft(r,"onChange");break;default:i=n}ct(t,i,ga);var a,u=i;for(a in u)if(u.hasOwnProperty(a)){var l=u[a];"style"===a?lt(e,l,ga):"dangerouslySetInnerHTML"===a?(l=l?l.__html:void 0,null!=l&&ha(e,l)):"children"===a?"string"==typeof l?("textarea"!==t||""!==l)&&ut(e,l):"number"==typeof l&&ut(e,""+l):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&($r.hasOwnProperty(a)?null!=l&&ft(r,a):null!=l&&pe(e,a,l,o))}switch(t){case"input":re(e),ge(e,n,!1);break;case"textarea":re(e),ot(e,n);break;case"option":null!=n.value&&e.setAttribute("value",n.value);break;case"select":e.multiple=!!n.multiple,t=n.value,null!=t?Ze(e,!!n.multiple,t,!1):null!=n.defaultValue&&Ze(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Fr)}}function vt(e,t,n,r,o){var i=null;switch(t){case"input":n=he(e,n),r=he(e,r),i=[];break;case"option":n=Je(e,n),r=Je(e,r),i=[];break;case"select":n=Ur({},n,{value:void 0}),r=Ur({},r,{value:void 0}),i=[];break;case"textarea":n=tt(e,n),r=tt(e,r),i=[];break;default:"function"!=typeof n.onClick&&"function"==typeof r.onClick&&(e.onclick=Fr)}ct(t,r,ga),t=e=void 0;var a=null;for(e in n)if(!r.hasOwnProperty(e)&&n.hasOwnProperty(e)&&null!=n[e])if("style"===e){var u=n[e];for(t in u)u.hasOwnProperty(t)&&(a||(a={}),a[t]="")}else"dangerouslySetInnerHTML"!==e&&"children"!==e&&"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&"autoFocus"!==e&&($r.hasOwnProperty(e)?i||(i=[]):(i=i||[]).push(e,null));for(e in r){var l=r[e];if(u=null!=n?n[e]:void 0,r.hasOwnProperty(e)&&l!==u&&(null!=l||null!=u))if("style"===e)if(u){for(t in u)!u.hasOwnProperty(t)||l&&l.hasOwnProperty(t)||(a||(a={}),a[t]="");for(t in l)l.hasOwnProperty(t)&&u[t]!==l[t]&&(a||(a={}),a[t]=l[t])}else a||(i||(i=[]),i.push(e,a)),a=l;else"dangerouslySetInnerHTML"===e?(l=l?l.__html:void 0,u=u?u.__html:void 0,null!=l&&u!==l&&(i=i||[]).push(e,""+l)):"children"===e?u===l||"string"!=typeof l&&"number"!=typeof l||(i=i||[]).push(e,""+l):"suppressContentEditableWarning"!==e&&"suppressHydrationWarning"!==e&&($r.hasOwnProperty(e)?(null!=l&&ft(o,e),i||u===l||(i=[])):(i=i||[]).push(e,l))}return a&&(i=i||[]).push("style",a),i}function yt(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&ye(e,o),st(n,r),r=st(n,o);for(var i=0;i<t.length;i+=2){var a=t[i],u=t[i+1];"style"===a?lt(e,u,ga):"dangerouslySetInnerHTML"===a?ha(e,u):"children"===a?ut(e,u):pe(e,a,u,r)}switch(n){case"input":me(e,o);break;case"textarea":rt(e,o);break;case"select":e._wrapperState.initialValue=void 0,t=e._wrapperState.wasMultiple,e._wrapperState.wasMultiple=!!o.multiple,n=o.value,null!=n?Ze(e,!!o.multiple,n,!1):t!==!!o.multiple&&(null!=o.defaultValue?Ze(e,!!o.multiple,o.defaultValue,!0):Ze(e,!!o.multiple,o.multiple?[]:"",!1))}}function mt(e,t,n,r,o){switch(t){case"iframe":case"object":We("load",e);break;case"video":case"audio":for(r=0;r<yo.length;r++)We(yo[r],e);break;case"source":We("error",e);break;case"img":case"image":case"link":We("error",e),We("load",e);break;case"form":We("reset",e),We("submit",e);break;case"details":We("toggle",e);break;case"input":ve(e,n),We("invalid",e),ft(o,"onChange");break;case"select":et(e,n),We("invalid",e),ft(o,"onChange");break;case"textarea":nt(e,n),We("invalid",e),ft(o,"onChange")}ct(t,n,ga),r=null;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];"children"===i?"string"==typeof a?e.textContent!==a&&(r=["children",a]):"number"==typeof a&&e.textContent!==""+a&&(r=["children",""+a]):$r.hasOwnProperty(i)&&null!=a&&ft(o,i)}switch(t){case"input":re(e),ge(e,n,!0);break;case"textarea":re(e),ot(e,n);break;case"select":case"option":break;default:"function"==typeof n.onClick&&(e.onclick=Fr)}return r}function gt(e,t){return e.nodeValue!==t}function bt(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function wt(e,t){return"textarea"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html}function _t(e){for(e=e.nextSibling;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Tt(e){for(e=e.firstChild;e&&1!==e.nodeType&&3!==e.nodeType;)e=e.nextSibling;return e}function Et(e){return{current:e}}function St(e){0>Pa||(e.current=xa[Pa],xa[Pa]=null,Pa--)}function xt(e,t){Pa++,xa[Pa]=e.current,e.current=t}function Pt(e){return kt(e)?Ca:Oa.current}function Ot(e,t){var n=e.type.contextTypes;if(!n)return Wr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function kt(e){return 2===e.tag&&null!=e.type.childContextTypes}function Ct(e){kt(e)&&(St(ka,e),St(Oa,e))}function Rt(e){St(ka,e),St(Oa,e)}function Mt(e,t,n){Oa.current!==Wr?r("168"):void 0,xt(Oa,t,e),xt(ka,n,e)}function At(e,t){var n=e.stateNode,o=e.type.childContextTypes;if("function"!=typeof n.getChildContext)return t;n=n.getChildContext();for(var i in n)i in o?void 0:r("108",ae(e)||"Unknown",i);return Ur({},t,n)}function jt(e){if(!kt(e))return!1;var t=e.stateNode;return t=t&&t.__reactInternalMemoizedMergedChildContext||Wr,Ca=Oa.current,xt(Oa,t,e),xt(ka,ka.current,e),!0}function Nt(e,t){var n=e.stateNode;if(n?void 0:r("169"),t){var o=At(e,Ca);n.__reactInternalMemoizedMergedChildContext=o,St(ka,e),St(Oa,e),xt(Oa,o,e)}else St(ka,e);xt(ka,t,e)}function Lt(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.expirationTime=0,this.alternate=null}function It(e,t,n){var r=e.alternate;return null===r?(r=new Lt(e.tag,t,e.key,e.mode),r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.effectTag=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.expirationTime=n,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Ut(e,t,n){var o=e.type,i=e.key;if(e=e.props,"function"==typeof o)var a=o.prototype&&o.prototype.isReactComponent?2:0;else if("string"==typeof o)a=5;else switch(o){case Go:return Ft(e.children,t,n,i);case Ko:a=11,t|=3;break;case qo:a=11,t|=2;break;case Vo:return o=new Lt(15,e,i,4|t),o.type=Vo,o.expirationTime=n,o;case Xo:a=16,t|=2;break;default:e:{switch("object"==typeof o&&null!==o?o.$$typeof:null){case Yo:a=13;break e;case $o:a=12;break e;case Qo:a=14;break e;default:r("130",null==o?o:typeof o,"")}a=void 0}}return t=new Lt(a,e,i,t),t.type=o,t.expirationTime=n,t}function Ft(e,t,n,r){return e=new Lt(10,e,r,t),e.expirationTime=n,e}function Dt(e,t,n){return e=new Lt(6,e,null,t),e.expirationTime=n,e}function Ht(e,t,n){return t=new Lt(4,null!==e.children?e.children:[],e.key,t),t.expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Bt(e,t,n){return t=new Lt(3,null,null,t?3:0),e={current:t,containerInfo:e,pendingChildren:null,earliestPendingTime:0,latestPendingTime:0,earliestSuspendedTime:0,latestSuspendedTime:0,latestPingedTime:0,pendingCommitExpirationTime:0,finishedWork:null,context:null,pendingContext:null,hydrate:n,remainingExpirationTime:0,firstBatch:null,nextScheduledRoot:null},t.stateNode=e}function Wt(e){return function(t){try{return e(t)}catch(e){}}}function zt(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);Ra=Wt(function(e){return t.onCommitFiberRoot(n,e)}),Ma=Wt(function(e){return t.onCommitFiberUnmount(n,e)})}catch(e){}return!0}function Gt(e){"function"==typeof Ra&&Ra(e)}function qt(e){"function"==typeof Ma&&Ma(e)}function Vt(e){return{expirationTime:0,baseState:e,firstUpdate:null,lastUpdate:null,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function Yt(e){return{expirationTime:e.expirationTime,baseState:e.baseState,firstUpdate:e.firstUpdate,lastUpdate:e.lastUpdate,firstCapturedUpdate:null,lastCapturedUpdate:null,firstEffect:null,lastEffect:null,firstCapturedEffect:null,lastCapturedEffect:null}}function $t(e){return{expirationTime:e,tag:0,payload:null,callback:null,next:null,nextEffect:null}}function Kt(e,t,n){null===e.lastUpdate?e.firstUpdate=e.lastUpdate=t:(e.lastUpdate.next=t,e.lastUpdate=t),(0===e.expirationTime||e.expirationTime>n)&&(e.expirationTime=n)}function Qt(e,t,n){var r=e.alternate;if(null===r){var o=e.updateQueue,i=null;null===o&&(o=e.updateQueue=Vt(e.memoizedState))}else o=e.updateQueue,i=r.updateQueue,null===o?null===i?(o=e.updateQueue=Vt(e.memoizedState),i=r.updateQueue=Vt(r.memoizedState)):o=e.updateQueue=Yt(i):null===i&&(i=r.updateQueue=Yt(o));null===i||o===i?Kt(o,t,n):null===o.lastUpdate||null===i.lastUpdate?(Kt(o,t,n),Kt(i,t,n)):(Kt(o,t,n),i.lastUpdate=t)}function Xt(e,t,n){var r=e.updateQueue;r=null===r?e.updateQueue=Vt(e.memoizedState):Jt(e,r),null===r.lastCapturedUpdate?r.firstCapturedUpdate=r.lastCapturedUpdate=t:(r.lastCapturedUpdate.next=t,r.lastCapturedUpdate=t),(0===r.expirationTime||r.expirationTime>n)&&(r.expirationTime=n)}function Jt(e,t){var n=e.alternate;return null!==n&&t===n.updateQueue&&(t=e.updateQueue=Yt(t)),t}function Zt(e,t,n,r,o,i){switch(n.tag){case 1:return e=n.payload,"function"==typeof e?e.call(i,r,o):e;case 3:e.effectTag=e.effectTag&-1025|64;case 0:if(e=n.payload,o="function"==typeof e?e.call(i,r,o):e,null===o||void 0===o)break;return Ur({},r,o);case 2:Aa=!0}return r}function en(e,t,n,r,o){if(Aa=!1,!(0===t.expirationTime||t.expirationTime>o)){t=Jt(e,t);for(var i=t.baseState,a=null,u=0,l=t.firstUpdate,c=i;null!==l;){var s=l.expirationTime;s>o?(null===a&&(a=l,i=c),(0===u||u>s)&&(u=s)):(c=Zt(e,t,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastEffect?t.firstEffect=t.lastEffect=l:(t.lastEffect.nextEffect=l,t.lastEffect=l))),l=l.next}for(s=null,l=t.firstCapturedUpdate;null!==l;){var f=l.expirationTime;f>o?(null===s&&(s=l,null===a&&(i=c)),(0===u||u>f)&&(u=f)):(c=Zt(e,t,l,c,n,r),null!==l.callback&&(e.effectTag|=32,l.nextEffect=null,null===t.lastCapturedEffect?t.firstCapturedEffect=t.lastCapturedEffect=l:(t.lastCapturedEffect.nextEffect=l,t.lastCapturedEffect=l))),l=l.next}null===a&&(t.lastUpdate=null),null===s?t.lastCapturedUpdate=null:e.effectTag|=32,null===a&&null===s&&(i=c),t.baseState=i,t.firstUpdate=a,t.firstCapturedUpdate=s,t.expirationTime=u,e.memoizedState=c}}function tn(e,t){"function"!=typeof e?r("191",e):void 0,e.call(t)}function nn(e,t,n){for(null!==t.firstCapturedUpdate&&(null!==t.lastUpdate&&(t.lastUpdate.next=t.firstCapturedUpdate,t.lastUpdate=t.lastCapturedUpdate),t.firstCapturedUpdate=t.lastCapturedUpdate=null),e=t.firstEffect,t.firstEffect=t.lastEffect=null;null!==e;){var r=e.callback;null!==r&&(e.callback=null,tn(r,n)),e=e.nextEffect}for(e=t.firstCapturedEffect,t.firstCapturedEffect=t.lastCapturedEffect=null;null!==e;)t=e.callback,null!==t&&(e.callback=null,tn(t,n)),e=e.nextEffect}function rn(e,t){return{value:e,source:t,stack:ue(t)}}function on(e){var t=e.type._context;xt(La,t._changedBits,e),xt(Na,t._currentValue,e),xt(ja,e,e),t._currentValue=e.pendingProps.value,t._changedBits=e.stateNode}function an(e){var t=La.current,n=Na.current;St(ja,e),St(Na,e),St(La,e),e=e.type._context,e._currentValue=n,e._changedBits=t}function un(e){return e===Ia?r("174"):void 0,e}function ln(e,t){xt(Da,t,e),xt(Fa,e,e),xt(Ua,Ia,e);var n=t.nodeType;switch(n){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:at(null,"");break;default:n=8===n?t.parentNode:t,t=n.namespaceURI||null,n=n.tagName,t=at(t,n)}St(Ua,e),xt(Ua,t,e)}function cn(e){St(Ua,e),St(Fa,e),St(Da,e)}function sn(e){Fa.current===e&&(St(Ua,e),St(Fa,e))}function fn(e,t,n){var r=e.memoizedState;t=t(n,r),r=null===t||void 0===t?r:Ur({},r,t),e.memoizedState=r,e=e.updateQueue,null!==e&&0===e.expirationTime&&(e.baseState=r)}function dn(e,t,n,r,o,i){var a=e.stateNode;return e=e.type,"function"==typeof a.shouldComponentUpdate?a.shouldComponentUpdate(n,o,i):!e.prototype||!e.prototype.isPureReactComponent||(!Hr(t,n)||!Hr(r,o))}function pn(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ha.enqueueReplaceState(t,t.state,null)}function hn(e,t){var n=e.type,r=e.stateNode,o=e.pendingProps,i=Pt(e);r.props=o,r.state=e.memoizedState,r.refs=Wr,r.context=Ot(e,i),i=e.updateQueue,null!==i&&(en(e,i,o,r,t),r.state=e.memoizedState),i=e.type.getDerivedStateFromProps,"function"==typeof i&&(fn(e,i,o),r.state=e.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(n=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),n!==r.state&&Ha.enqueueReplaceState(r,r.state,null),i=e.updateQueue,null!==i&&(en(e,i,o,r,t),r.state=e.memoizedState)),"function"==typeof r.componentDidMount&&(e.effectTag|=4)}function vn(e,t,n){if(e=n.ref,null!==e&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){n=n._owner;var o=void 0;n&&(2!==n.tag?r("110"):void 0,o=n.stateNode),o?void 0:r("147",e);var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs===Wr?o.refs={}:o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}"string"!=typeof e?r("148"):void 0,n._owner?void 0:r("254",e)}return e}function yn(e,t){"textarea"!==e.type&&r("31","[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,"")}function mn(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t,n){return e=It(e,t,n),e.index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?(r=t.alternate,null!==r?(r=r.index,r<n?(t.effectTag=2,n):r):(t.effectTag=2,n)):n}function u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?(t=Dt(n,e.mode,r),t.return=e,t):(t=i(t,n,r),t.return=e,t)}function c(e,t,n,r){return null!==t&&t.type===n.type?(r=i(t,n.props,r),r.ref=vn(e,t,n),r.return=e,r):(r=Ut(n,e.mode,r),r.ref=vn(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?(t=Ht(n,e.mode,r),t.return=e,t):(t=i(t,n.children||[],r),t.return=e,t)}function f(e,t,n,r,o){return null===t||10!==t.tag?(t=Ft(n,e.mode,r,o),t.return=e,t):(t=i(t,n,r),t.return=e,t)}function d(e,t,n){if("string"==typeof t||"number"==typeof t)return t=Dt(""+t,e.mode,n),t.return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Wo:return n=Ut(t,e.mode,n),n.ref=vn(e,null,t),n.return=e,n;case zo:return t=Ht(t,e.mode,n),t.return=e,t}if(Ba(t)||ie(t))return t=Ft(t,e.mode,n,null),t.return=e,t;yn(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Wo:return n.key===o?n.type===Go?f(e,t,n.props.children,r,o):c(e,t,n,r):null;case zo:return n.key===o?s(e,t,n,r):null}if(Ba(n)||ie(n))return null!==o?null:f(e,t,n,r,null);yn(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return e=e.get(n)||null,l(t,e,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Wo:return e=e.get(null===r.key?n:r.key)||null,r.type===Go?f(t,e,r.props.children,o,r.key):c(t,e,r,o);case zo:return e=e.get(null===r.key?n:r.key)||null,s(t,e,r,o)}if(Ba(r)||ie(r))return e=e.get(n)||null,f(t,e,r,o,null);yn(t,r)}return null}function v(r,i,u,l){for(var c=null,s=null,f=i,v=i=0,y=null;null!==f&&v<u.length;v++){f.index>v?(y=f,f=null):y=f.sibling;var m=p(r,f,u[v],l);if(null===m){null===f&&(f=y);break}e&&f&&null===m.alternate&&t(r,f),i=a(m,i,v),null===s?c=m:s.sibling=m,s=m,f=y}if(v===u.length)return n(r,f),c;if(null===f){for(;v<u.length;v++)(f=d(r,u[v],l))&&(i=a(f,i,v),null===s?c=f:s.sibling=f,s=f);return c}for(f=o(r,f);v<u.length;v++)(y=h(f,r,v,u[v],l))&&(e&&null!==y.alternate&&f.delete(null===y.key?v:y.key),i=a(y,i,v),null===s?c=y:s.sibling=y,s=y);return e&&f.forEach(function(e){return t(r,e)}),c}function y(i,u,l,c){var s=ie(l);"function"!=typeof s?r("150"):void 0,l=s.call(l),null==l?r("151"):void 0;for(var f=s=null,v=u,y=u=0,m=null,g=l.next();null!==v&&!g.done;y++,g=l.next()){v.index>y?(m=v,v=null):m=v.sibling;var b=p(i,v,g.value,c);if(null===b){v||(v=m);break}e&&v&&null===b.alternate&&t(i,v),u=a(b,u,y),null===f?s=b:f.sibling=b,f=b,v=m}if(g.done)return n(i,v),s;if(null===v){for(;!g.done;y++,g=l.next())g=d(i,g.value,c),null!==g&&(u=a(g,u,y),null===f?s=g:f.sibling=g,f=g);return s}for(v=o(i,v);!g.done;y++,g=l.next())g=h(v,i,y,g.value,c),null!==g&&(e&&null!==g.alternate&&v.delete(null===g.key?y:g.key),u=a(g,u,y),null===f?s=g:f.sibling=g,f=g);return e&&v.forEach(function(e){return t(i,e)}),s}return function(e,o,a,l){var c="object"==typeof a&&null!==a&&a.type===Go&&null===a.key;c&&(a=a.props.children);var s="object"==typeof a&&null!==a;if(s)switch(a.$$typeof){case Wo:e:{for(s=a.key,c=o;null!==c;){if(c.key===s){if(10===c.tag?a.type===Go:c.type===a.type){n(e,c.sibling),o=i(c,a.type===Go?a.props.children:a.props,l),o.ref=vn(e,c,a),o.return=e,e=o;break e}n(e,c);break}t(e,c),c=c.sibling}a.type===Go?(o=Ft(a.props.children,e.mode,l,a.key),o.return=e,e=o):(l=Ut(a,e.mode,l),l.ref=vn(e,o,a),l.return=e,e=l)}return u(e);case zo:e:{for(c=a.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===a.containerInfo&&o.stateNode.implementation===a.implementation){n(e,o.sibling),o=i(o,a.children||[],l),o.return=e,e=o;break e}n(e,o);break}t(e,o),o=o.sibling}o=Ht(a,e.mode,l),o.return=e,e=o}return u(e)}if("string"==typeof a||"number"==typeof a)return a=""+a,null!==o&&6===o.tag?(n(e,o.sibling),o=i(o,a,l),o.return=e,e=o):(n(e,o),o=Dt(a,e.mode,l),o.return=e,e=o),u(e);if(Ba(a))return v(e,o,a,l);if(ie(a))return y(e,o,a,l);if(s&&yn(e,a),"undefined"==typeof a&&!c)switch(e.tag){case 2:case 1:l=e.type,r("152",l.displayName||l.name||"Component")}return n(e,o)}}function gn(e,t){var n=new Lt(5,null,null,0);n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function bn(e,t){switch(e.tag){case 5:var n=e.type;return t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,null!==t&&(e.stateNode=t,!0);case 6:return t=""===e.pendingProps||3!==t.nodeType?null:t,null!==t&&(e.stateNode=t,!0);default:return!1}}function wn(e){if(Va){var t=qa;if(t){var n=t;if(!bn(e,t)){if(t=_t(n),!t||!bn(e,t))return e.effectTag|=2,Va=!1,void(Ga=e);gn(Ga,n)}Ga=e,qa=Tt(t)}else e.effectTag|=2,Va=!1,Ga=e}}function _n(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag;)e=e.return;Ga=e}function Tn(e){if(e!==Ga)return!1;if(!Va)return _n(e),Va=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!wt(t,e.memoizedProps))for(t=qa;t;)gn(e,t),t=_t(t);return _n(e),qa=Ga?_t(e.stateNode):null,!0}function En(){qa=Ga=null,Va=!1}function Sn(e,t,n){xn(e,t,n,t.expirationTime)}function xn(e,t,n,r){t.child=null===e?za(t,null,n,r):Wa(t,e.child,n,r)}function Pn(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function On(e,t,n,r,o){Pn(e,t);var i=0!==(64&t.effectTag);if(!n&&!i)return r&&Nt(t,!1),Mn(e,t);n=t.stateNode,Ho.current=t;var a=i?null:n.render();return t.effectTag|=1,i&&(xn(e,t,null,o),t.child=null),xn(e,t,a,o),t.memoizedState=n.state,t.memoizedProps=n.props,r&&Nt(t,!0),t.child}function kn(e){var t=e.stateNode;t.pendingContext?Mt(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Mt(e,t.context,!1),ln(e,t.containerInfo)}function Cn(e,t,n,r){var o=e.child;for(null!==o&&(o.return=e);null!==o;){switch(o.tag){case 12:var i=0|o.stateNode;if(o.type===t&&0!==(i&n)){for(i=o;null!==i;){var a=i.alternate;if(0===i.expirationTime||i.expirationTime>r)i.expirationTime=r,null!==a&&(0===a.expirationTime||a.expirationTime>r)&&(a.expirationTime=r);else{if(null===a||!(0===a.expirationTime||a.expirationTime>r))break;a.expirationTime=r}i=i.return}i=null}else i=o.child;break;case 13:i=o.type===e.type?null:o.child;break;default:i=o.child}if(null!==i)i.return=o;else for(i=o;null!==i;){if(i===e){i=null;break}if(o=i.sibling,null!==o){o.return=i.return,i=o;break}i=i.return}o=i}}function Rn(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=!0;if(ka.current)a=!1;else if(i===o)return t.stateNode=0,on(t),Mn(e,t);var u=o.value;if(t.memoizedProps=o,null===i)u=1073741823;else if(i.value===o.value){if(i.children===o.children&&a)return t.stateNode=0,on(t),Mn(e,t);u=0}else{var l=i.value;if(l===u&&(0!==l||1/l===1/u)||l!==l&&u!==u){if(i.children===o.children&&a)return t.stateNode=0,on(t),Mn(e,t);u=0}else if(u="function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,u):1073741823,u|=0,0===u){if(i.children===o.children&&a)return t.stateNode=0,on(t),Mn(e,t)}else Cn(t,r,u,n)}return t.stateNode=u,on(t),Sn(e,t,o.children),t.child}function Mn(e,t){if(null!==e&&t.child!==e.child?r("153"):void 0,null!==t.child){e=t.child;var n=It(e,e.pendingProps,e.expirationTime);for(t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,n=n.sibling=It(e,e.pendingProps,e.expirationTime),n.return=t;n.sibling=null}return t.child}function An(e,t,n){if(0===t.expirationTime||t.expirationTime>n){switch(t.tag){case 3:kn(t);break;case 2:jt(t);break;case 4:ln(t,t.stateNode.containerInfo);break;case 13:on(t)}return null}switch(t.tag){case 0:null!==e?r("155"):void 0;var o=t.type,i=t.pendingProps,a=Pt(t);return a=Ot(t,a),o=o(i,a),t.effectTag|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(a=t.type,t.tag=2,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,a=a.getDerivedStateFromProps,"function"==typeof a&&fn(t,a,i),i=jt(t),o.updater=Ha,t.stateNode=o,o._reactInternalFiber=t,hn(t,n),e=On(e,t,!0,i,n)):(t.tag=1,Sn(e,t,o),t.memoizedProps=i,e=t.child),e;case 1:return i=t.type,n=t.pendingProps,ka.current||t.memoizedProps!==n?(o=Pt(t),o=Ot(t,o),i=i(n,o),t.effectTag|=1,Sn(e,t,i),t.memoizedProps=n,e=t.child):e=Mn(e,t),e;case 2:if(i=jt(t),null===e)if(null===t.stateNode){var u=t.pendingProps,l=t.type;o=Pt(t);var c=2===t.tag&&null!=t.type.contextTypes;a=c?Ot(t,o):Wr,u=new l(u,a),t.memoizedState=null!==u.state&&void 0!==u.state?u.state:null,u.updater=Ha,t.stateNode=u,u._reactInternalFiber=t,c&&(c=t.stateNode,c.__reactInternalMemoizedUnmaskedChildContext=o,c.__reactInternalMemoizedMaskedChildContext=a),hn(t,n),o=!0}else{l=t.type,o=t.stateNode,c=t.memoizedProps,a=t.pendingProps,o.props=c;var s=o.context;u=Pt(t),u=Ot(t,u);var f=l.getDerivedStateFromProps;(l="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(c!==a||s!==u)&&pn(t,o,a,u),Aa=!1;var d=t.memoizedState;s=o.state=d;var p=t.updateQueue;null!==p&&(en(t,p,a,o,n),s=t.memoizedState),c!==a||d!==s||ka.current||Aa?("function"==typeof f&&(fn(t,f,a),s=t.memoizedState),(c=Aa||dn(t,c,a,d,s,u))?(l||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.effectTag|=4)):("function"==typeof o.componentDidMount&&(t.effectTag|=4),t.memoizedProps=a,t.memoizedState=s),o.props=a,o.state=s,o.context=u,o=c):("function"==typeof o.componentDidMount&&(t.effectTag|=4),o=!1)}else l=t.type,o=t.stateNode,a=t.memoizedProps,c=t.pendingProps,o.props=a,s=o.context,u=Pt(t),u=Ot(t,u),f=l.getDerivedStateFromProps,(l="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(a!==c||s!==u)&&pn(t,o,c,u),Aa=!1,s=t.memoizedState,d=o.state=s,p=t.updateQueue,null!==p&&(en(t,p,c,o,n),d=t.memoizedState),a!==c||s!==d||ka.current||Aa?("function"==typeof f&&(fn(t,f,c),d=t.memoizedState),(f=Aa||dn(t,a,c,s,d,u))?(l||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(c,d,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(c,d,u)),"function"==typeof o.componentDidUpdate&&(t.effectTag|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=c,t.memoizedState=d),o.props=c,o.state=d,o.context=u,o=f):("function"!=typeof o.componentDidUpdate||a===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof o.getSnapshotBeforeUpdate||a===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),o=!1);return On(e,t,o,i,n);case 3:return kn(t),i=t.updateQueue,null!==i?(o=t.memoizedState,o=null!==o?o.element:null,en(t,i,t.pendingProps,null,n),i=t.memoizedState.element,i===o?(En(),e=Mn(e,t)):(o=t.stateNode,(o=(null===e||null===e.child)&&o.hydrate)&&(qa=Tt(t.stateNode.containerInfo),Ga=t,o=Va=!0),o?(t.effectTag|=2,t.child=za(t,null,i,n)):(En(),Sn(e,t,i)),e=t.child)):(En(),e=Mn(e,t)),e;case 5:return un(Da.current),i=un(Ua.current),o=at(i,t.type),i!==o&&(xt(Fa,t,t),xt(Ua,o,t)),null===e&&wn(t),i=t.type,c=t.memoizedProps,o=t.pendingProps,a=null!==e?e.memoizedProps:null,ka.current||c!==o||((c=1&t.mode&&!!o.hidden)&&(t.expirationTime=1073741823),c&&1073741823===n)?(c=o.children,wt(i,o)?c=null:a&&wt(i,a)&&(t.effectTag|=16),Pn(e,t),1073741823!==n&&1&t.mode&&o.hidden?(t.expirationTime=1073741823,t.memoizedProps=o,e=null):(Sn(e,t,c),t.memoizedProps=o,e=t.child)):e=Mn(e,t),e;case 6:return null===e&&wn(t),t.memoizedProps=t.pendingProps,null;case 16:return null;case 4:return ln(t,t.stateNode.containerInfo),i=t.pendingProps,ka.current||t.memoizedProps!==i?(null===e?t.child=Wa(t,null,i,n):Sn(e,t,i),t.memoizedProps=i,e=t.child):e=Mn(e,t),e;case 14:return i=t.type.render,n=t.pendingProps, o=t.ref,ka.current||t.memoizedProps!==n||o!==(null!==e?e.ref:null)?(i=i(n,o),Sn(e,t,i),t.memoizedProps=n,e=t.child):e=Mn(e,t),e;case 10:return n=t.pendingProps,ka.current||t.memoizedProps!==n?(Sn(e,t,n),t.memoizedProps=n,e=t.child):e=Mn(e,t),e;case 11:return n=t.pendingProps.children,ka.current||null!==n&&t.memoizedProps!==n?(Sn(e,t,n),t.memoizedProps=n,e=t.child):e=Mn(e,t),e;case 15:return n=t.pendingProps,t.memoizedProps===n?e=Mn(e,t):(Sn(e,t,n.children),t.memoizedProps=n,e=t.child),e;case 13:return Rn(e,t,n);case 12:e:if(o=t.type,a=t.pendingProps,c=t.memoizedProps,i=o._currentValue,u=o._changedBits,ka.current||0!==u||c!==a){if(t.memoizedProps=a,l=a.unstable_observedBits,void 0!==l&&null!==l||(l=1073741823),t.stateNode=l,0!==(u&l))Cn(t,o,u,n);else if(c===a){e=Mn(e,t);break e}n=a.children,n=n(i),t.effectTag|=1,Sn(e,t,n),e=t.child}else e=Mn(e,t);return e;default:r("156")}}function jn(e){e.effectTag|=4}function Nn(e,t){var n=t.pendingProps;switch(t.tag){case 1:return null;case 2:return Ct(t),null;case 3:cn(t),Rt(t);var o=t.stateNode;return o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(Tn(t),t.effectTag&=-3),Ya(t),null;case 5:sn(t),o=un(Da.current);var i=t.type;if(null!==e&&null!=t.stateNode){var a=e.memoizedProps,u=t.stateNode,l=un(Ua.current);u=vt(u,i,a,n,o),$a(e,t,u,i,a,n,o,l),e.ref!==t.ref&&(t.effectTag|=128)}else{if(!n)return null===t.stateNode?r("166"):void 0,null;if(e=un(Ua.current),Tn(t))n=t.stateNode,i=t.type,a=t.memoizedProps,n[oo]=t,n[io]=a,o=mt(n,i,a,e,o),t.updateQueue=o,null!==o&&jn(t);else{e=dt(i,n,o,e),e[oo]=t,e[io]=n;e:for(a=t.child;null!==a;){if(5===a.tag||6===a.tag)e.appendChild(a.stateNode);else if(4!==a.tag&&null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}ht(e,i,n,o),bt(i,n)&&jn(t),t.stateNode=e}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ka(e,t,e.memoizedProps,n);else{if("string"!=typeof n)return null===t.stateNode?r("166"):void 0,null;o=un(Da.current),un(Ua.current),Tn(t)?(o=t.stateNode,n=t.memoizedProps,o[oo]=t,gt(o,n)&&jn(t)):(o=pt(n,o),o[oo]=t,t.stateNode=o)}return null;case 14:return null;case 16:return null;case 10:return null;case 11:return null;case 15:return null;case 4:return cn(t),Ya(t),null;case 13:return an(t),null;case 12:return null;case 0:r("167");default:r("156")}}function Ln(e,t){var n=t.source;null===t.stack&&null!==n&&ue(n),null!==n&&ae(n),t=t.value,null!==e&&2===e.tag&&ae(e);try{t&&t.suppressReactErrorLogging||console.error(t)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}}function In(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Qn(e,t)}else t.current=null}function Un(e){switch("function"==typeof qt&&qt(e),e.tag){case 2:In(e);var t=e.stateNode;if("function"==typeof t.componentWillUnmount)try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Qn(e,t)}break;case 5:In(e);break;case 4:Hn(e)}}function Fn(e){return 5===e.tag||3===e.tag||4===e.tag}function Dn(e){e:{for(var t=e.return;null!==t;){if(Fn(t)){var n=t;break e}t=t.return}r("160"),n=void 0}var o=t=void 0;switch(n.tag){case 5:t=n.stateNode,o=!1;break;case 3:t=n.stateNode.containerInfo,o=!0;break;case 4:t=n.stateNode.containerInfo,o=!0;break;default:r("161")}16&n.effectTag&&(ut(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Fn(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}for(var i=e;;){if(5===i.tag||6===i.tag)if(n)if(o){var a=t,u=i.stateNode,l=n;8===a.nodeType?a.parentNode.insertBefore(u,l):a.insertBefore(u,l)}else t.insertBefore(i.stateNode,n);else o?(a=t,u=i.stateNode,8===a.nodeType?a.parentNode.insertBefore(u,a):a.appendChild(u)):t.appendChild(i.stateNode);else if(4!==i.tag&&null!==i.child){i.child.return=i,i=i.child;continue}if(i===e)break;for(;null===i.sibling;){if(null===i.return||i.return===e)return;i=i.return}i.sibling.return=i.return,i=i.sibling}}function Hn(e){for(var t=e,n=!1,o=void 0,i=void 0;;){if(!n){n=t.return;e:for(;;){switch(null===n?r("160"):void 0,n.tag){case 5:o=n.stateNode,i=!1;break e;case 3:o=n.stateNode.containerInfo,i=!0;break e;case 4:o=n.stateNode.containerInfo,i=!0;break e}n=n.return}n=!0}if(5===t.tag||6===t.tag){e:for(var a=t,u=a;;)if(Un(u),null!==u.child&&4!==u.tag)u.child.return=u,u=u.child;else{if(u===a)break;for(;null===u.sibling;){if(null===u.return||u.return===a)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}i?(a=o,u=t.stateNode,8===a.nodeType?a.parentNode.removeChild(u):a.removeChild(u)):o.removeChild(t.stateNode)}else if(4===t.tag?o=t.stateNode.containerInfo:Un(t),null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return;t=t.return,4===t.tag&&(n=!1)}t.sibling.return=t.return,t=t.sibling}}function Bn(e,t){switch(t.tag){case 2:break;case 5:var n=t.stateNode;if(null!=n){var o=t.memoizedProps;e=null!==e?e.memoizedProps:o;var i=t.type,a=t.updateQueue;t.updateQueue=null,null!==a&&(n[io]=o,yt(n,a,i,e,o))}break;case 6:null===t.stateNode?r("162"):void 0,t.stateNode.nodeValue=t.memoizedProps;break;case 3:break;case 15:break;case 16:break;default:r("163")}}function Wn(e,t,n){n=$t(n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){hr(r),Ln(e,t)},n}function zn(e,t,n){n=$t(n),n.tag=3;var r=e.stateNode;return null!==r&&"function"==typeof r.componentDidCatch&&(n.callback=function(){null===su?su=new Set([this]):su.add(this);var n=t.value,r=t.stack;Ln(e,t),this.componentDidCatch(n,{componentStack:null!==r?r:""})}),n}function Gn(e,t,n,r,o,i){n.effectTag|=512,n.firstEffect=n.lastEffect=null,r=rn(r,n),e=t;do{switch(e.tag){case 3:return e.effectTag|=1024,r=Wn(e,r,i),void Xt(e,r,i);case 2:if(t=r,n=e.stateNode,0===(64&e.effectTag)&&null!==n&&"function"==typeof n.componentDidCatch&&(null===su||!su.has(n)))return e.effectTag|=1024,r=zn(e,t,i),void Xt(e,r,i)}e=e.return}while(null!==e)}function qn(e){switch(e.tag){case 2:Ct(e);var t=e.effectTag;return 1024&t?(e.effectTag=t&-1025|64,e):null;case 3:return cn(e),Rt(e),t=e.effectTag,1024&t?(e.effectTag=t&-1025|64,e):null;case 5:return sn(e),null;case 16:return t=e.effectTag,1024&t?(e.effectTag=t&-1025|64,e):null;case 4:return cn(e),null;case 13:return an(e),null;default:return null}}function Vn(){if(null!==nu)for(var e=nu.return;null!==e;){var t=e;switch(t.tag){case 2:Ct(t);break;case 3:cn(t),Rt(t);break;case 5:sn(t);break;case 4:cn(t);break;case 13:an(t)}e=e.return}ru=null,ou=0,iu=-1,au=!1,nu=null,cu=!1}function Yn(e){for(;;){var t=e.alternate,n=e.return,r=e.sibling;if(0===(512&e.effectTag)){t=Nn(t,e,ou);var o=e;if(1073741823===ou||1073741823!==o.expirationTime){var i=0;switch(o.tag){case 3:case 2:var a=o.updateQueue;null!==a&&(i=a.expirationTime)}for(a=o.child;null!==a;)0!==a.expirationTime&&(0===i||i>a.expirationTime)&&(i=a.expirationTime),a=a.sibling;o.expirationTime=i}if(null!==t)return t;if(null!==n&&0===(512&n.effectTag)&&(null===n.firstEffect&&(n.firstEffect=e.firstEffect),null!==e.lastEffect&&(null!==n.lastEffect&&(n.lastEffect.nextEffect=e.firstEffect),n.lastEffect=e.lastEffect),1<e.effectTag&&(null!==n.lastEffect?n.lastEffect.nextEffect=e:n.firstEffect=e,n.lastEffect=e)),null!==r)return r;if(null===n){cu=!0;break}e=n}else{if(e=qn(e,au,ou),null!==e)return e.effectTag&=511,e;if(null!==n&&(n.firstEffect=n.lastEffect=null,n.effectTag|=512),null!==r)return r;if(null===n)break;e=n}}return null}function $n(e){var t=An(e.alternate,e,ou);return null===t&&(t=Yn(e)),Ho.current=null,t}function Kn(e,t,n){tu?r("243"):void 0,tu=!0,t===ou&&e===ru&&null!==nu||(Vn(),ru=e,ou=t,iu=-1,nu=It(ru.current,null,ou),e.pendingCommitExpirationTime=0);var o=!1;for(au=!n||ou<=Xa;;){try{if(n)for(;null!==nu&&!pr();)nu=$n(nu);else for(;null!==nu;)nu=$n(nu)}catch(t){if(null===nu)o=!0,hr(t);else{null===nu?r("271"):void 0,n=nu;var i=n.return;if(null===i){o=!0,hr(t);break}Gn(e,i,n,t,au,ou,Ja),nu=Yn(n)}}break}if(tu=!1,o)return null;if(null===nu){if(cu)return e.pendingCommitExpirationTime=t,e.current.alternate;au?r("262"):void 0,0<=iu&&setTimeout(function(){var t=e.current.expirationTime;0!==t&&(0===e.remainingExpirationTime||e.remainingExpirationTime<t)&&or(e,t)},iu),vr(e.current.expirationTime)}return null}function Qn(e,t){var n;e:{for(tu&&!lu?r("263"):void 0,n=e.return;null!==n;){switch(n.tag){case 2:var o=n.stateNode;if("function"==typeof n.type.getDerivedStateFromCatch||"function"==typeof o.componentDidCatch&&(null===su||!su.has(o))){e=rn(t,e),e=zn(n,e,1),Qt(n,e,1),Zn(n,1),n=void 0;break e}break;case 3:e=rn(t,e),e=Wn(n,e,1),Qt(n,e,1),Zn(n,1),n=void 0;break e}n=n.return}3===e.tag&&(n=rn(t,e),n=Wn(e,n,1),Qt(e,n,1),Zn(e,1)),n=void 0}return n}function Xn(){var e=2+25*(((er()-2+500)/25|0)+1);return e<=Za&&(e=Za+1),Za=e}function Jn(e,t){return e=0!==eu?eu:tu?lu?1:ou:1&t.mode?xu?2+10*(((e-2+15)/10|0)+1):2+25*(((e-2+500)/25|0)+1):1,xu&&(0===gu||e>gu)&&(gu=e),e}function Zn(e,t){for(;null!==e;){if((0===e.expirationTime||e.expirationTime>t)&&(e.expirationTime=t),null!==e.alternate&&(0===e.alternate.expirationTime||e.alternate.expirationTime>t)&&(e.alternate.expirationTime=t),null===e.return){if(3!==e.tag)break;var n=e.stateNode;!tu&&0!==ou&&t<ou&&Vn();var o=n.current.expirationTime;tu&&!lu&&ru===n||or(n,o),ku>Ou&&r("185")}e=e.return}}function er(){return Ja=Ta()-Qa,Xa=(Ja/10|0)+2}function tr(e){var t=eu;eu=2+25*(((er()-2+500)/25|0)+1);try{return e()}finally{eu=t}}function nr(e,t,n,r,o){var i=eu;eu=1;try{return e(t,n,r,o)}finally{eu=i}}function rr(e){if(0!==pu){if(e>pu)return;null!==hu&&Sa(hu)}var t=Ta()-Qa;pu=e,hu=Ea(ar,{timeout:10*(e-2)-t})}function or(e,t){if(null===e.nextScheduledRoot)e.remainingExpirationTime=t,null===du?(fu=du=e,e.nextScheduledRoot=e):(du=du.nextScheduledRoot=e,du.nextScheduledRoot=fu);else{var n=e.remainingExpirationTime;(0===n||t<n)&&(e.remainingExpirationTime=t)}vu||(Eu?Su&&(yu=e,mu=1,fr(e,1,!1)):1===t?ur():rr(t))}function ir(){var e=0,t=null;if(null!==du)for(var n=du,o=fu;null!==o;){var i=o.remainingExpirationTime;if(0===i){if(null===n||null===du?r("244"):void 0,o===o.nextScheduledRoot){fu=du=o.nextScheduledRoot=null;break}if(o===fu)fu=i=o.nextScheduledRoot,du.nextScheduledRoot=i,o.nextScheduledRoot=null;else{if(o===du){du=n,du.nextScheduledRoot=fu,o.nextScheduledRoot=null;break}n.nextScheduledRoot=o.nextScheduledRoot,o.nextScheduledRoot=null}o=n.nextScheduledRoot}else{if((0===e||i<e)&&(e=i,t=o),o===du)break;n=o,o=o.nextScheduledRoot}}n=yu,null!==n&&n===t&&1===e?ku++:ku=0,yu=t,mu=e}function ar(e){lr(0,!0,e)}function ur(){lr(1,!1,null)}function lr(e,t,n){if(Tu=n,ir(),t)for(;null!==yu&&0!==mu&&(0===e||e>=mu)&&(!bu||er()>=mu);)er(),fr(yu,mu,!bu),ir();else for(;null!==yu&&0!==mu&&(0===e||e>=mu);)fr(yu,mu,!1),ir();null!==Tu&&(pu=0,hu=null),0!==mu&&rr(mu),Tu=null,bu=!1,sr()}function cr(e,t){vu?r("253"):void 0,yu=e,mu=t,fr(e,t,!1),ur(),sr()}function sr(){if(ku=0,null!==Pu){var e=Pu;Pu=null;for(var t=0;t<e.length;t++){var n=e[t];try{n._onComplete()}catch(e){wu||(wu=!0,_u=e)}}}if(wu)throw e=_u,_u=null,wu=!1,e}function fr(e,t,n){vu?r("245"):void 0,vu=!0,n?(n=e.finishedWork,null!==n?dr(e,n,t):(n=Kn(e,t,!0),null!==n&&(pr()?e.finishedWork=n:dr(e,n,t)))):(n=e.finishedWork,null!==n?dr(e,n,t):(n=Kn(e,t,!1),null!==n&&dr(e,n,t))),vu=!1}function dr(e,t,n){var o=e.firstBatch;if(null!==o&&o._expirationTime<=n&&(null===Pu?Pu=[o]:Pu.push(o),o._defer))return e.finishedWork=t,void(e.remainingExpirationTime=0);if(e.finishedWork=null,lu=tu=!0,n=t.stateNode,n.current===t?r("177"):void 0,o=n.pendingCommitExpirationTime,0===o?r("261"):void 0,n.pendingCommitExpirationTime=0,er(),Ho.current=null,1<t.effectTag)if(null!==t.lastEffect){t.lastEffect.nextEffect=t;var i=t.firstEffect}else i=t;else i=t.firstEffect;wa=Ai;var a=Dr();if(Ke(a)){if("selectionStart"in a)var u={start:a.selectionStart,end:a.selectionEnd};else e:{var l=window.getSelection&&window.getSelection();if(l&&0!==l.rangeCount){u=l.anchorNode;var c=l.anchorOffset,s=l.focusNode;l=l.focusOffset;try{u.nodeType,s.nodeType}catch(e){u=null;break e}var f=0,d=-1,p=-1,h=0,v=0,y=a,m=null;t:for(;;){for(var g;y!==u||0!==c&&3!==y.nodeType||(d=f+c),y!==s||0!==l&&3!==y.nodeType||(p=f+l),3===y.nodeType&&(f+=y.nodeValue.length),null!==(g=y.firstChild);)m=y,y=g;for(;;){if(y===a)break t;if(m===u&&++h===c&&(d=f),m===s&&++v===l&&(p=f),null!==(g=y.nextSibling))break;y=m,m=y.parentNode}y=g}u=-1===d||-1===p?null:{start:d,end:p}}else u=null}u=u||{start:0,end:0}}else u=null;for(_a={focusedElem:a,selectionRange:u},Be(!1),uu=i;null!==uu;){a=!1,u=void 0;try{for(;null!==uu;){if(256&uu.effectTag){var b=uu.alternate;switch(c=uu,c.tag){case 2:if(256&c.effectTag&&null!==b){var w=b.memoizedProps,_=b.memoizedState,T=c.stateNode;T.props=c.memoizedProps,T.state=c.memoizedState;var E=T.getSnapshotBeforeUpdate(w,_);T.__reactInternalSnapshotBeforeUpdate=E}break;case 3:case 5:case 6:case 4:break;default:r("163")}}uu=uu.nextEffect}}catch(e){a=!0,u=e}a&&(null===uu?r("178"):void 0,Qn(uu,u),null!==uu&&(uu=uu.nextEffect))}for(uu=i;null!==uu;){b=!1,w=void 0;try{for(;null!==uu;){var S=uu.effectTag;if(16&S&&ut(uu.stateNode,""),128&S){var x=uu.alternate;if(null!==x){var P=x.ref;null!==P&&("function"==typeof P?P(null):P.current=null)}}switch(14&S){case 2:Dn(uu),uu.effectTag&=-3;break;case 6:Dn(uu),uu.effectTag&=-3,Bn(uu.alternate,uu);break;case 4:Bn(uu.alternate,uu);break;case 8:_=uu,Hn(_),_.return=null,_.child=null,_.alternate&&(_.alternate.child=null,_.alternate.return=null)}uu=uu.nextEffect}}catch(e){b=!0,w=e}b&&(null===uu?r("178"):void 0,Qn(uu,w),null!==uu&&(uu=uu.nextEffect))}if(P=_a,x=Dr(),S=P.focusedElem,b=P.selectionRange,x!==S&&Br(document.documentElement,S)){null!==b&&Ke(S)&&(x=b.start,P=b.end,void 0===P&&(P=x),"selectionStart"in S?(S.selectionStart=x,S.selectionEnd=Math.min(P,S.value.length)):window.getSelection&&(x=window.getSelection(),w=S[j()].length,P=Math.min(b.start,w),b=void 0===b.end?P:Math.min(b.end,w),!x.extend&&P>b&&(w=b,b=P,P=w),w=$e(S,P),_=$e(S,b),w&&_&&(1!==x.rangeCount||x.anchorNode!==w.node||x.anchorOffset!==w.offset||x.focusNode!==_.node||x.focusOffset!==_.offset)&&(T=document.createRange(),T.setStart(w.node,w.offset),x.removeAllRanges(),P>b?(x.addRange(T),x.extend(_.node,_.offset)):(T.setEnd(_.node,_.offset),x.addRange(T))))),x=[];for(P=S;P=P.parentNode;)1===P.nodeType&&x.push({element:P,left:P.scrollLeft,top:P.scrollTop});for("function"==typeof S.focus&&S.focus(),S=0;S<x.length;S++)P=x[S],P.element.scrollLeft=P.left,P.element.scrollTop=P.top}for(_a=null,Be(wa),wa=null,n.current=t,uu=i;null!==uu;){i=!1,S=void 0;try{for(x=o;null!==uu;){var O=uu.effectTag;if(36&O){var k=uu.alternate;switch(P=uu,b=x,P.tag){case 2:var C=P.stateNode;if(4&P.effectTag)if(null===k)C.props=P.memoizedProps,C.state=P.memoizedState,C.componentDidMount();else{var R=k.memoizedProps,M=k.memoizedState;C.props=P.memoizedProps,C.state=P.memoizedState,C.componentDidUpdate(R,M,C.__reactInternalSnapshotBeforeUpdate)}var A=P.updateQueue;null!==A&&(C.props=P.memoizedProps,C.state=P.memoizedState,nn(P,A,C,b));break;case 3:var N=P.updateQueue;if(null!==N){if(w=null,null!==P.child)switch(P.child.tag){case 5:w=P.child.stateNode;break;case 2:w=P.child.stateNode}nn(P,N,w,b)}break;case 5:var L=P.stateNode;null===k&&4&P.effectTag&&bt(P.type,P.memoizedProps)&&L.focus();break;case 6:break;case 4:break;case 15:break;case 16:break;default:r("163")}}if(128&O){P=void 0;var I=uu.ref;if(null!==I){var U=uu.stateNode;switch(uu.tag){case 5:P=U;break;default:P=U}"function"==typeof I?I(P):I.current=P}}var F=uu.nextEffect;uu.nextEffect=null,uu=F}}catch(e){i=!0,S=e}i&&(null===uu?r("178"):void 0,Qn(uu,S),null!==uu&&(uu=uu.nextEffect))}tu=lu=!1,"function"==typeof Gt&&Gt(t.stateNode),t=n.current.expirationTime,0===t&&(su=null),e.remainingExpirationTime=t}function pr(){return!(null===Tu||Tu.timeRemaining()>Cu)&&(bu=!0)}function hr(e){null===yu?r("246"):void 0,yu.remainingExpirationTime=0,wu||(wu=!0,_u=e)}function vr(e){null===yu?r("246"):void 0,yu.remainingExpirationTime=e}function yr(e,t){var n=Eu;Eu=!0;try{return e(t)}finally{(Eu=n)||vu||ur()}}function mr(e,t){if(Eu&&!Su){Su=!0;try{return e(t)}finally{Su=!1}}return e(t)}function gr(e,t){vu?r("187"):void 0;var n=Eu;Eu=!0;try{return nr(e,t)}finally{Eu=n,ur()}}function br(e,t,n){if(xu)return e(t,n);Eu||vu||0===gu||(lr(gu,!1,null),gu=0);var r=xu,o=Eu;Eu=xu=!0;try{return e(t,n)}finally{xu=r,(Eu=o)||vu||ur()}}function wr(e){var t=Eu;Eu=!0;try{nr(e)}finally{(Eu=t)||vu||lr(1,!1,null)}}function _r(e,t,n,o,i){var a=t.current;if(n){n=n._reactInternalFiber;var u;e:{for(2===je(n)&&2===n.tag?void 0:r("170"),u=n;3!==u.tag;){if(kt(u)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}(u=u.return)?void 0:r("171")}u=u.stateNode.context}n=kt(n)?At(n,u):u}else n=Wr;return null===t.context?t.context=n:t.pendingContext=n,t=i,i=$t(o),i.payload={element:e},t=void 0===t?null:t,null!==t&&(i.callback=t),Qt(a,i,o),Zn(a,o),o}function Tr(e){var t=e._reactInternalFiber;return void 0===t&&("function"==typeof e.render?r("188"):r("268",Object.keys(e))),e=Ie(t),null===e?null:e.stateNode}function Er(e,t,n,r){var o=t.current,i=er();return o=Jn(i,o),_r(e,t,n,o,r)}function Sr(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function xr(e){var t=e.findFiberByHostInstance;return zt(Ur({},e,{findHostInstanceByFiber:function(e){return e=Ie(e),null===e?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null}}))}function Pr(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:zo,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Or(e){this._expirationTime=Xn(),this._root=e,this._callbacks=this._next=null,this._hasChildren=this._didComplete=!1,this._children=null,this._defer=!0}function kr(){this._callbacks=null,this._didCommit=!1,this._onCommit=this._onCommit.bind(this)}function Cr(e,t,n){this._internalRoot=Bt(e,t,n)}function Rr(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Mr(e,t){if(t||(t=e?9===e.nodeType?e.documentElement:e.firstChild:null,t=!(!t||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new Cr(e,!1,t)}function Ar(e,t,n,o,i){Rr(n)?void 0:r("200");var a=n._reactRootContainer;if(a){if("function"==typeof i){var u=i;i=function(){var e=Sr(a._internalRoot);u.call(e)}}null!=e?a.legacy_renderSubtreeIntoContainer(e,t,i):a.render(t,i)}else{if(a=n._reactRootContainer=Mr(n,o),"function"==typeof i){var l=i;i=function(){var e=Sr(a._internalRoot);l.call(e)}}mr(function(){null!=e?a.legacy_renderSubtreeIntoContainer(e,t,i):a.render(t,i)})}return Sr(a._internalRoot)}function jr(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;return Rr(t)?void 0:r("200"),Pr(e,t,null,n)}var Nr=n(767),Lr=n(1),Ir=n(890),Ur=n(102),Fr=n(765),Dr=n(892),Hr=n(895),Br=n(891),Wr=n(766);Lr?void 0:r("227");var zr={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,invokeGuardedCallback:function(e,t,n,r,i,a,u,l,c){o.apply(zr,arguments)},invokeGuardedCallbackAndCatchFirstError:function(e,t,n,r,o,i,a,u,l){if(zr.invokeGuardedCallback.apply(this,arguments),zr.hasCaughtError()){var c=zr.clearCaughtError();zr._hasRethrowError||(zr._hasRethrowError=!0,zr._rethrowError=c)}},rethrowCaughtError:function(){return i.apply(zr,arguments)},hasCaughtError:function(){return zr._hasCaughtError},clearCaughtError:function(){if(zr._hasCaughtError){var e=zr._caughtError;return zr._caughtError=null,zr._hasCaughtError=!1,e}r("198")}},Gr=null,qr={},Vr=[],Yr={},$r={},Kr={},Qr={plugins:Vr,eventNameDispatchConfigs:Yr,registrationNameModules:$r,registrationNameDependencies:Kr,possibleRegistrationNames:null,injectEventPluginOrder:l,injectEventPluginsByName:c},Xr=null,Jr=null,Zr=null,eo=null,to={injectEventPluginOrder:l,injectEventPluginsByName:c},no={injection:to,getListener:y,runEventsInBatch:m,runExtractedEventsInBatch:g},ro=Math.random().toString(36).slice(2),oo="__reactInternalInstance$"+ro,io="__reactEventHandlers$"+ro,ao={precacheFiberNode:function(e,t){t[oo]=e},getClosestInstanceFromNode:b,getInstanceFromNode:function(e){return e=e[oo],!e||5!==e.tag&&6!==e.tag?null:e},getNodeFromInstance:w,getFiberCurrentPropsFromNode:_,updateFiberProps:function(e,t){e[io]=t}},uo={accumulateTwoPhaseDispatches:C,accumulateTwoPhaseDispatchesSkipTarget:function(e){d(e,P)},accumulateEnterLeaveDispatches:R,accumulateDirectDispatches:function(e){d(e,k)}},lo={animationend:M("Animation","AnimationEnd"),animationiteration:M("Animation","AnimationIteration"),animationstart:M("Animation","AnimationStart"),transitionend:M("Transition","TransitionEnd")},co={},so={};Ir.canUseDOM&&(so=document.createElement("div").style,"AnimationEvent"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),"TransitionEvent"in window||delete lo.transitionend.transition);var fo=A("animationend"),po=A("animationiteration"),ho=A("animationstart"),vo=A("transitionend"),yo="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),mo=null,go={_root:null,_startText:null,_fallbackText:null},bo="dispatchConfig _targetInst nativeEvent isDefaultPrevented isPropagationStopped _dispatchListeners _dispatchInstances".split(" "),wo={type:null,target:null,currentTarget:Fr.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};Ur(I.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Fr.thatReturnsTrue)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Fr.thatReturnsTrue)},persist:function(){this.isPersistent=Fr.thatReturnsTrue},isPersistent:Fr.thatReturnsFalse,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;for(t=0;t<bo.length;t++)this[bo[t]]=null}}),I.Interface=wo,I.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return Ur(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=Ur({},r.Interface,e),n.extend=r.extend,D(n),n},D(I);var _o=I.extend({data:null}),To=I.extend({data:null}),Eo=[9,13,27,32],So=Ir.canUseDOM&&"CompositionEvent"in window,xo=null;Ir.canUseDOM&&"documentMode"in document&&(xo=document.documentMode);var Po=Ir.canUseDOM&&"TextEvent"in window&&!xo,Oo=Ir.canUseDOM&&(!So||xo&&8<xo&&11>=xo),ko=String.fromCharCode(32),Co={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},Ro=!1,Mo=!1,Ao={eventTypes:Co,extractEvents:function(e,t,n,r){var o=void 0,i=void 0;if(So)e:{switch(e){case"compositionstart":o=Co.compositionStart;break e;case"compositionend":o=Co.compositionEnd;break e;case"compositionupdate":o=Co.compositionUpdate;break e}o=void 0}else Mo?H(e,n)&&(o=Co.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=Co.compositionStart);return o?(Oo&&(Mo||o!==Co.compositionStart?o===Co.compositionEnd&&Mo&&(i=N()):(go._root=r,go._startText=L(),Mo=!0)),o=_o.getPooled(o,t,n,r),i?o.data=i:(i=B(n),null!==i&&(o.data=i)),C(o),i=o):i=null,(e=Po?W(e,n):z(e,n))?(t=To.getPooled(Co.beforeInput,t,n,r),t.data=e,C(t)):t=null,null===i?t:null===t?i:[i,t]}},jo=null,No={injectFiberControlledHostComponent:function(e){jo=e}},Lo=null,Io=null,Uo={injection:No,enqueueStateRestore:q,needsStateRestore:V,restoreStateIfNeeded:Y},Fo=!1,Do={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0},Ho=Lr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Bo="function"==typeof Symbol&&Symbol.for,Wo=Bo?Symbol.for("react.element"):60103,zo=Bo?Symbol.for("react.portal"):60106,Go=Bo?Symbol.for("react.fragment"):60107,qo=Bo?Symbol.for("react.strict_mode"):60108,Vo=Bo?Symbol.for("react.profiler"):60114,Yo=Bo?Symbol.for("react.provider"):60109,$o=Bo?Symbol.for("react.context"):60110,Ko=Bo?Symbol.for("react.async_mode"):60111,Qo=Bo?Symbol.for("react.forward_ref"):60112,Xo=Bo?Symbol.for("react.timeout"):60113,Jo="function"==typeof Symbol&&Symbol.iterator,Zo=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ei=Object.prototype.hasOwnProperty,ti={},ni={},ri={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ri[e]=new fe(e,0,!1,e,null)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ri[t]=new fe(t,1,!1,e[1],null)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){ri[e]=new fe(e,2,!1,e.toLowerCase(),null)}),["autoReverse","externalResourcesRequired","preserveAlpha"].forEach(function(e){ri[e]=new fe(e,2,!1,e,null)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ri[e]=new fe(e,3,!1,e.toLowerCase(),null)}),["checked","multiple","muted","selected"].forEach(function(e){ri[e]=new fe(e,3,!0,e.toLowerCase(),null)}),["capture","download"].forEach(function(e){ri[e]=new fe(e,4,!1,e.toLowerCase(),null)}),["cols","rows","size","span"].forEach(function(e){ri[e]=new fe(e,6,!1,e.toLowerCase(),null)}),["rowSpan","start"].forEach(function(e){ri[e]=new fe(e,5,!1,e.toLowerCase(),null)});var oi=/[\-:]([a-z])/g;"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(oi,de);ri[t]=new fe(t,1,!1,e,null)}),"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(oi,de);ri[t]=new fe(t,1,!1,e,"http://www.w3.org/1999/xlink")}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oi,de);ri[t]=new fe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace")}),ri.tabIndex=new fe("tabIndex",1,!1,"tabindex",null);var ii={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}},ai=null,ui=null,li=!1;Ir.canUseDOM&&(li=ee("input")&&(!document.documentMode||9<document.documentMode));var ci={eventTypes:ii,_isInputEventSupported:li,extractEvents:function(e,t,n,r){var o=t?w(t):window,i=void 0,a=void 0,u=o.nodeName&&o.nodeName.toLowerCase();return"select"===u||"input"===u&&"file"===o.type?i=Se:J(o)?li?i=Re:(i=ke,a=Oe):(u=o.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===o.type||"radio"===o.type)&&(i=Ce),i&&(i=i(e,t))?_e(i,n,r):(a&&a(e,o,t),void("blur"===e&&(e=o._wrapperState)&&e.controlled&&"number"===o.type&&be(o,"number",o.value)))}},si=I.extend({view:null,detail:null}),fi={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"},di=si.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Ae,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)}}),pi=di.extend({pointerId:null,width:null,height:null,pressure:null,tiltX:null,tiltY:null,pointerType:null,isPrimary:null}),hi={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},vi={eventTypes:hi,extractEvents:function(e,t,n,r){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,t=(t=n.relatedTarget||n.toElement)?b(t):null):i=null,i===t)return null;var a=void 0,u=void 0,l=void 0,c=void 0;return"mouseout"===e||"mouseover"===e?(a=di,u=hi.mouseLeave,l=hi.mouseEnter,c="mouse"):"pointerout"!==e&&"pointerover"!==e||(a=pi,u=hi.pointerLeave,l=hi.pointerEnter,c="pointer"),e=null==i?o:w(i),o=null==t?o:w(t),u=a.getPooled(u,i,n,r),u.type=c+"leave",u.target=e,u.relatedTarget=o,n=a.getPooled(l,t,n,r),n.type=c+"enter",n.target=o,n.relatedTarget=e,R(u,n,i,t),[u,n]}},yi=I.extend({animationName:null,elapsedTime:null,pseudoElement:null}),mi=I.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),gi=si.extend({relatedTarget:null}),bi={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wi={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},_i=si.extend({key:function(e){if(e.key){var t=bi[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?(e=Fe(e),13===e?"Enter":String.fromCharCode(e)):"keydown"===e.type||"keyup"===e.type?wi[e.keyCode]||"Unidentified":""; },location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Ae,charCode:function(e){return"keypress"===e.type?Fe(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Fe(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Ti=di.extend({dataTransfer:null}),Ei=si.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Ae}),Si=I.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),xi=di.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),Pi=[["abort","abort"],[fo,"animationEnd"],[po,"animationIteration"],[ho,"animationStart"],["canplay","canPlay"],["canplaythrough","canPlayThrough"],["drag","drag"],["dragenter","dragEnter"],["dragexit","dragExit"],["dragleave","dragLeave"],["dragover","dragOver"],["durationchange","durationChange"],["emptied","emptied"],["encrypted","encrypted"],["ended","ended"],["error","error"],["gotpointercapture","gotPointerCapture"],["load","load"],["loadeddata","loadedData"],["loadedmetadata","loadedMetadata"],["loadstart","loadStart"],["lostpointercapture","lostPointerCapture"],["mousemove","mouseMove"],["mouseout","mouseOut"],["mouseover","mouseOver"],["playing","playing"],["pointermove","pointerMove"],["pointerout","pointerOut"],["pointerover","pointerOver"],["progress","progress"],["scroll","scroll"],["seeking","seeking"],["stalled","stalled"],["suspend","suspend"],["timeupdate","timeUpdate"],["toggle","toggle"],["touchmove","touchMove"],[vo,"transitionEnd"],["waiting","waiting"],["wheel","wheel"]],Oi={},ki={};[["blur","blur"],["cancel","cancel"],["click","click"],["close","close"],["contextmenu","contextMenu"],["copy","copy"],["cut","cut"],["dblclick","doubleClick"],["dragend","dragEnd"],["dragstart","dragStart"],["drop","drop"],["focus","focus"],["input","input"],["invalid","invalid"],["keydown","keyDown"],["keypress","keyPress"],["keyup","keyUp"],["mousedown","mouseDown"],["mouseup","mouseUp"],["paste","paste"],["pause","pause"],["play","play"],["pointercancel","pointerCancel"],["pointerdown","pointerDown"],["pointerup","pointerUp"],["ratechange","rateChange"],["reset","reset"],["seeked","seeked"],["submit","submit"],["touchcancel","touchCancel"],["touchend","touchEnd"],["touchstart","touchStart"],["volumechange","volumeChange"]].forEach(function(e){De(e,!0)}),Pi.forEach(function(e){De(e,!1)});var Ci={eventTypes:Oi,isInteractiveTopLevelEventType:function(e){return e=ki[e],void 0!==e&&!0===e.isInteractive},extractEvents:function(e,t,n,r){var o=ki[e];if(!o)return null;switch(e){case"keypress":if(0===Fe(n))return null;case"keydown":case"keyup":e=_i;break;case"blur":case"focus":e=gi;break;case"click":if(2===n.button)return null;case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=di;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=Ti;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=Ei;break;case fo:case po:case ho:e=yi;break;case vo:e=Si;break;case"scroll":e=si;break;case"wheel":e=xi;break;case"copy":case"cut":case"paste":e=mi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=pi;break;default:e=I}return t=e.getPooled(o,t,n,r),C(t),t}},Ri=Ci.isInteractiveTopLevelEventType,Mi=[],Ai=!0,ji={get _enabled(){return Ai},setEnabled:Be,isEnabled:function(){return Ai},trapBubbledEvent:We,trapCapturedEvent:ze,dispatchEvent:qe},Ni={},Li=0,Ii="_reactListenersID"+(""+Math.random()).slice(2),Ui=Ir.canUseDOM&&"documentMode"in document&&11>=document.documentMode,Fi={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Di=null,Hi=null,Bi=null,Wi=!1,zi={eventTypes:Fi,extractEvents:function(e,t,n,r){var o,i=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!(o=!i)){e:{i=Ve(i),o=Kr.onSelect;for(var a=0;a<o.length;a++){var u=o[a];if(!i.hasOwnProperty(u)||!i[u]){i=!1;break e}}i=!0}o=!i}if(o)return null;switch(i=t?w(t):window,e){case"focus":(J(i)||"true"===i.contentEditable)&&(Di=i,Hi=t,Bi=null);break;case"blur":Bi=Hi=Di=null;break;case"mousedown":Wi=!0;break;case"contextmenu":case"mouseup":return Wi=!1,Qe(n,r);case"selectionchange":if(Ui)break;case"keydown":case"keyup":return Qe(n,r)}return null}};to.injectEventPluginOrder("ResponderEventPlugin SimpleEventPlugin TapEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),Xr=ao.getFiberCurrentPropsFromNode,Jr=ao.getInstanceFromNode,Zr=ao.getNodeFromInstance,to.injectEventPluginsByName({SimpleEventPlugin:Ci,EnterLeaveEventPlugin:vi,ChangeEventPlugin:ci,SelectEventPlugin:zi,BeforeInputEventPlugin:Ao});var Gi="function"==typeof requestAnimationFrame?requestAnimationFrame:void 0,qi=Date,Vi=setTimeout,Yi=clearTimeout,$i=void 0;if("object"==typeof performance&&"function"==typeof performance.now){var Ki=performance;$i=function(){return Ki.now()}}else $i=function(){return qi.now()};var Qi=void 0,Xi=void 0;if(Ir.canUseDOM){var Ji="function"==typeof Gi?Gi:function(){r("276")},Zi=null,ea=null,ta=-1,na=!1,ra=!1,oa=0,ia=33,aa=33,ua={didTimeout:!1,timeRemaining:function(){var e=oa-$i();return 0<e?e:0}},la=function(e,t){var n=e.scheduledCallback,r=!1;try{n(t),r=!0}finally{Xi(e),r||(na=!0,window.postMessage(ca,"*"))}},ca="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(e){if(e.source===window&&e.data===ca&&(na=!1,null!==Zi)){if(null!==Zi){var t=$i();if(!(-1===ta||ta>t)){e=-1;for(var n=[],r=Zi;null!==r;){var o=r.timeoutTime;-1!==o&&o<=t?n.push(r):-1!==o&&(-1===e||o<e)&&(e=o),r=r.next}if(0<n.length)for(ua.didTimeout=!0,t=0,r=n.length;t<r;t++)la(n[t],ua);ta=e}}for(e=$i();0<oa-e&&null!==Zi;)e=Zi,ua.didTimeout=!1,la(e,ua),e=$i();null===Zi||ra||(ra=!0,Ji(sa))}},!1);var sa=function(e){ra=!1;var t=e-oa+aa;t<aa&&ia<aa?(8>t&&(t=8),aa=t<ia?ia:t):ia=t,oa=e+aa,na||(na=!0,window.postMessage(ca,"*"))};Qi=function(e,t){var n=-1;return null!=t&&"number"==typeof t.timeout&&(n=$i()+t.timeout),(-1===ta||-1!==n&&n<ta)&&(ta=n),e={scheduledCallback:e,timeoutTime:n,prev:null,next:null},null===Zi?Zi=e:(t=e.prev=ea,null!==t&&(t.next=e)),ea=e,ra||(ra=!0,Ji(sa)),e},Xi=function(e){if(null!==e.prev||Zi===e){var t=e.next,n=e.prev;e.next=null,e.prev=null,null!==t?null!==n?(n.next=t,t.prev=n):(t.prev=null,Zi=t):null!==n?(n.next=null,ea=n):ea=Zi=null}}}else{var fa=new Map;Qi=function(e){var t={scheduledCallback:e,timeoutTime:0,next:null,prev:null},n=Vi(function(){e({timeRemaining:function(){return 1/0},didTimeout:!1})});return fa.set(e,n),t},Xi=function(e){var t=fa.get(e.scheduledCallback);fa.delete(e),Yi(t)}}var da={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"},pa=void 0,ha=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!==da.svg||"innerHTML"in e)e.innerHTML=t;else{for(pa=pa||document.createElement("div"),pa.innerHTML="<svg>"+t+"</svg>",t=pa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}),va={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ya=["Webkit","ms","Moz","O"];Object.keys(va).forEach(function(e){ya.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),va[t]=va[e]})});var ma=Ur({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}),ga=Fr.thatReturns(""),ba={createElement:dt,createTextNode:pt,setInitialProperties:ht,diffProperties:vt,updateProperties:yt,diffHydratedProperties:mt,diffHydratedText:gt,warnForUnmatchedText:function(){},warnForDeletedHydratableElement:function(){},warnForDeletedHydratableText:function(){},warnForInsertedHydratedElement:function(){},warnForInsertedHydratedText:function(){},restoreControlledState:function(e,t,n){switch(t){case"input":if(me(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var i=_(o);i?void 0:r("90"),oe(o),me(o,i)}}}break;case"textarea":rt(e,n);break;case"select":t=n.value,null!=t&&Ze(e,!!n.multiple,t,!1)}}},wa=null,_a=null,Ta=$i,Ea=Qi,Sa=Xi;new Set;var xa=[],Pa=-1,Oa=Et(Wr),ka=Et(!1),Ca=Wr,Ra=null,Ma=null,Aa=!1,ja=Et(null),Na=Et(null),La=Et(0),Ia={},Ua=Et(Ia),Fa=Et(Ia),Da=Et(Ia),Ha={isMounted:function(e){return!!(e=e._reactInternalFiber)&&2===je(e)},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=Jn(r,e);var o=$t(r);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Qt(e,o,r),Zn(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=er();r=Jn(r,e);var o=$t(r);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),Qt(e,o,r),Zn(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=er();n=Jn(n,e);var r=$t(n);r.tag=2,void 0!==t&&null!==t&&(r.callback=t),Qt(e,r,n),Zn(e,n)}},Ba=Array.isArray,Wa=mn(!0),za=mn(!1),Ga=null,qa=null,Va=!1,Ya=void 0,$a=void 0,Ka=void 0;Ya=function(){},$a=function(e,t,n){(t.updateQueue=n)&&jn(t)},Ka=function(e,t,n,r){n!==r&&jn(t)};var Qa=Ta(),Xa=2,Ja=Qa,Za=0,eu=0,tu=!1,nu=null,ru=null,ou=0,iu=-1,au=!1,uu=null,lu=!1,cu=!1,su=null,fu=null,du=null,pu=0,hu=void 0,vu=!1,yu=null,mu=0,gu=0,bu=!1,wu=!1,_u=null,Tu=null,Eu=!1,Su=!1,xu=!1,Pu=null,Ou=1e3,ku=0,Cu=1,Ru={updateContainerAtExpirationTime:_r,createContainer:function(e,t,n){return Bt(e,t,n)},updateContainer:Er,flushRoot:cr,requestWork:or,computeUniqueAsyncExpiration:Xn,batchedUpdates:yr,unbatchedUpdates:mr,deferredUpdates:tr,syncUpdates:nr,interactiveUpdates:br,flushInteractiveUpdates:function(){vu||0===gu||(lr(gu,!1,null),gu=0)},flushControlled:wr,flushSync:gr,getPublicRootInstance:Sr,findHostInstance:Tr,findHostInstanceWithNoPortals:function(e){return e=Ue(e),null===e?null:e.stateNode},injectIntoDevTools:xr};No.injectFiberControlledHostComponent(ba),Or.prototype.render=function(e){this._defer?void 0:r("250"),this._hasChildren=!0,this._children=e;var t=this._root._internalRoot,n=this._expirationTime,o=new kr;return _r(e,t,null,n,o._onCommit),o},Or.prototype.then=function(e){if(this._didComplete)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},Or.prototype.commit=function(){var e=this._root._internalRoot,t=e.firstBatch;if(this._defer&&null!==t?void 0:r("251"),this._hasChildren){var n=this._expirationTime;if(t!==this){this._hasChildren&&(n=this._expirationTime=t._expirationTime,this.render(this._children));for(var o=null,i=t;i!==this;)o=i,i=i._next;null===o?r("251"):void 0,o._next=i._next,this._next=t,e.firstBatch=this}this._defer=!1,cr(e,n),t=this._next,this._next=null,t=e.firstBatch=t,null!==t&&t._hasChildren&&t.render(t._children)}else this._next=null,this._defer=!1},Or.prototype._onComplete=function(){if(!this._didComplete){this._didComplete=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}},kr.prototype.then=function(e){if(this._didCommit)e();else{var t=this._callbacks;null===t&&(t=this._callbacks=[]),t.push(e)}},kr.prototype._onCommit=function(){if(!this._didCommit){this._didCommit=!0;var e=this._callbacks;if(null!==e)for(var t=0;t<e.length;t++){var n=e[t];"function"!=typeof n?r("191",n):void 0,n()}}},Cr.prototype.render=function(e,t){var n=this._internalRoot,r=new kr;return t=void 0===t?null:t,null!==t&&r.then(t),Er(e,n,null,r._onCommit),r},Cr.prototype.unmount=function(e){var t=this._internalRoot,n=new kr;return e=void 0===e?null:e,null!==e&&n.then(e),Er(null,t,null,n._onCommit),n},Cr.prototype.legacy_renderSubtreeIntoContainer=function(e,t,n){var r=this._internalRoot,o=new kr;return n=void 0===n?null:n,null!==n&&o.then(n),Er(t,r,e,o._onCommit),o},Cr.prototype.createBatch=function(){var e=new Or(this),t=e._expirationTime,n=this._internalRoot,r=n.firstBatch;if(null===r)n.firstBatch=e,e._next=null;else{for(n=null;null!==r&&r._expirationTime<=t;)n=r,r=r._next;e._next=r,null!==n&&(n._next=e)}return e},$=Ru.batchedUpdates,K=Ru.interactiveUpdates,Q=Ru.flushInteractiveUpdates;var Mu={createPortal:jr,findDOMNode:function(e){return null==e?null:1===e.nodeType?e:Tr(e)},hydrate:function(e,t,n){return Ar(null,e,t,!0,n)},render:function(e,t,n){return Ar(null,e,t,!1,n)},unstable_renderSubtreeIntoContainer:function(e,t,n,o){return null==e||void 0===e._reactInternalFiber?r("38"):void 0,Ar(e,t,n,!1,o)},unmountComponentAtNode:function(e){return Rr(e)?void 0:r("40"),!!e._reactRootContainer&&(mr(function(){Ar(null,null,e,!1,function(){e._reactRootContainer=null})}),!0)},unstable_createPortal:function(){return jr.apply(void 0,arguments)},unstable_batchedUpdates:yr,unstable_deferredUpdates:tr,unstable_interactiveUpdates:br,flushSync:gr,unstable_flushControlled:wr,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:no,EventPluginRegistry:Qr,EventPropagators:uo,ReactControlledComponent:Uo,ReactDOMComponentTree:ao,ReactDOMEventListener:ji},unstable_createRoot:function(e,t){return new Cr(e,!0,null!=t&&!0===t.hydrate)}};xr({findFiberByHostInstance:b,bundleType:0,version:"16.4.2",rendererPackageName:"react-dom"});var Au={default:Mu},ju=Au&&Mu||Au;e.exports=ju.default?ju.default:ju},function(e,t,n){"use strict";function r(e){for(var t=arguments.length-1,n="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=0;r<t;r++)n+="&args[]="+encodeURIComponent(arguments[r+1]);g(!1,"Minified React error #"+e+"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",n)}function o(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||A}function i(){}function a(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||A}function u(e,t,n){var r=void 0,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)L.call(t,r)&&!I.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:T,type:e,key:i,ref:a,props:o,_owner:N.current}}function l(e){return"object"==typeof e&&null!==e&&e.$$typeof===T}function c(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}function s(e,t,n,r){if(F.length){var o=F.pop();return o.result=e,o.keyPrefix=t,o.func=n,o.context=r,o.count=0,o}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function f(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>F.length&&F.push(e)}function d(e,t,n,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case T:case E:a=!0}}if(a)return n(o,e,""===t?"."+p(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var u=0;u<e.length;u++){i=e[u];var l=t+p(i,u);a+=d(i,l,n,o)}else if(null===e||"undefined"==typeof e?l=null:(l=M&&e[M]||e["@@iterator"],l="function"==typeof l?l:null),"function"==typeof l)for(e=l.call(e),u=0;!(i=e.next()).done;)i=i.value,l=t+p(i,u++),a+=d(i,l,n,o);else"object"===i&&(n=""+e,r("31","[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function p(e,t){return"object"==typeof e&&null!==e&&null!=e.key?c(e.key):t.toString(36)}function h(e,t){e.func.call(e.context,t,e.count++)}function v(e,t,n){var r=e.result,o=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?y(e,r,n,w.thatReturnsArgument):null!=e&&(l(e)&&(t=o+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(U,"$&/")+"/")+n,e={$$typeof:T,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}),r.push(e))}function y(e,t,n,r,o){var i="";null!=n&&(i=(""+n).replace(U,"$&/")+"/"),t=s(t,i,r,o),null==e||d(e,"",v,t),f(t)}var m=n(102),g=n(767),b=n(766),w=n(765),_="function"==typeof Symbol&&Symbol.for,T=_?Symbol.for("react.element"):60103,E=_?Symbol.for("react.portal"):60106,S=_?Symbol.for("react.fragment"):60107,x=_?Symbol.for("react.strict_mode"):60108,P=_?Symbol.for("react.profiler"):60114,O=_?Symbol.for("react.provider"):60109,k=_?Symbol.for("react.context"):60110,C=_?Symbol.for("react.async_mode"):60111,R=_?Symbol.for("react.forward_ref"):60112;_&&Symbol.for("react.timeout");var M="function"==typeof Symbol&&Symbol.iterator,A={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}};o.prototype.isReactComponent={},o.prototype.setState=function(e,t){"object"!=typeof e&&"function"!=typeof e&&null!=e?r("85"):void 0,this.updater.enqueueSetState(this,e,t,"setState")},o.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},i.prototype=o.prototype;var j=a.prototype=new i;j.constructor=a,m(j,o.prototype),j.isPureReactComponent=!0;var N={current:null},L=Object.prototype.hasOwnProperty,I={key:!0,ref:!0,__self:!0,__source:!0},U=/\/+/g,F=[],D={Children:{map:function(e,t,n){if(null==e)return e;var r=[];return y(e,r,null,t,n),r},forEach:function(e,t,n){return null==e?e:(t=s(null,null,t,n),null==e||d(e,"",h,t),void f(t))},count:function(e){return null==e?0:d(e,"",w.thatReturnsNull,null)},toArray:function(e){var t=[];return y(e,t,null,w.thatReturnsArgument),t},only:function(e){return l(e)?void 0:r("143"),e}},createRef:function(){return{current:null}},Component:o,PureComponent:a,createContext:function(e,t){return void 0===t&&(t=null),e={$$typeof:k,_calculateChangedBits:t,_defaultValue:e,_currentValue:e,_currentValue2:e,_changedBits:0,_changedBits2:0,Provider:null,Consumer:null},e.Provider={$$typeof:O,_context:e},e.Consumer=e},forwardRef:function(e){return{$$typeof:R,render:e}},Fragment:S,StrictMode:x,unstable_AsyncMode:C,unstable_Profiler:P,createElement:u,cloneElement:function(e,t,n){null===e||void 0===e?r("267",e):void 0;var o=void 0,i=m({},e.props),a=e.key,u=e.ref,l=e._owner;if(null!=t){void 0!==t.ref&&(u=t.ref,l=N.current),void 0!==t.key&&(a=""+t.key);var c=void 0;e.type&&e.type.defaultProps&&(c=e.type.defaultProps);for(o in t)L.call(t,o)&&!I.hasOwnProperty(o)&&(i[o]=void 0===t[o]&&void 0!==c?c[o]:t[o])}if(o=arguments.length-2,1===o)i.children=n;else if(1<o){c=Array(o);for(var s=0;s<o;s++)c[s]=arguments[s+2];i.children=c}return{$$typeof:T,type:e.type,key:a,ref:u,props:i,_owner:l}},createFactory:function(e){var t=u.bind(null,e);return t.type=e,t},isValidElement:l,version:"16.4.2",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:N,assign:m}},H={default:D},B=H&&D||H;e.exports=B.default?B.default:B},,,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9),i=r(o),a=n(17),u=r(a),l=n(16),c=r(l),s=n(1),f=r(s),d=n(71),p=n(1008),h=r(p),v=n(3),y=r(v),m=n(935),g=r(m),b={shouldUpdateScroll:y.default.func,children:y.default.element.isRequired,location:y.default.object.isRequired,history:y.default.object.isRequired},w={scrollBehavior:y.default.object.isRequired},_=function(e){function t(n,r){(0,i.default)(this,t);var o=(0,u.default)(this,e.call(this,n,r));o.shouldUpdateScroll=function(e,t){var n=o.props.shouldUpdateScroll;return!n||n.call(o.scrollBehavior,e,t)},o.registerElement=function(e,t,n){o.scrollBehavior.registerElement(e,t,n,o.getRouterProps())},o.unregisterElement=function(e){o.scrollBehavior.unregisterElement(e)};var a=n.history;return o.scrollBehavior=new h.default({addTransitionHook:a.listen,stateStorage:new g.default,getCurrentLocation:function(){return o.props.location},shouldUpdateScroll:o.shouldUpdateScroll}),o.scrollBehavior.updateScroll(null,o.getRouterProps()),o}return(0,c.default)(t,e),t.prototype.getChildContext=function(){return{scrollBehavior:this}},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.location,r=t.history,o=e.location;if(n!==o){var i={history:e.history,location:e.location};n.action=r.action,this.scrollBehavior.updateScroll(i,{history:r,location:n})}},t.prototype.componentWillUnmount=function(){this.scrollBehavior.stop()},t.prototype.getRouterProps=function(){var e=this.props,t=e.history,n=e.location;return{history:t,location:n}},t.prototype.render=function(){return f.default.Children.only(this.props.children)},t}(f.default.Component);_.propTypes=b,_.childContextTypes=w,t.default=(0,d.withRouter)(_)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(9),i=r(o),a=n(17),u=r(a),l=n(16),c=r(l),s=n(1),f=r(s),d=n(99),p=r(d),h=n(54),v=(r(h),n(3)),y=r(v),m={scrollKey:y.default.string.isRequired,shouldUpdateScroll:y.default.func,children:y.default.element.isRequired},g={scrollBehavior:y.default.object},b=function(e){function t(n,r){(0,i.default)(this,t);var o=(0,u.default)(this,e.call(this,n,r));return o.shouldUpdateScroll=function(e,t){var n=o.props.shouldUpdateScroll;return!n||n.call(o.context.scrollBehavior.scrollBehavior,e,t)},o.scrollKey=n.scrollKey,o}return(0,c.default)(t,e),t.prototype.componentDidMount=function(){this.context.scrollBehavior.registerElement(this.props.scrollKey,p.default.findDOMNode(this),this.shouldUpdateScroll)},t.prototype.componentWillReceiveProps=function(e){},t.prototype.componentDidUpdate=function(){},t.prototype.componentWillUnmount=function(){this.context.scrollBehavior.unregisterElement(this.scrollKey)},t.prototype.render=function(){return this.props.children},t}(f.default.Component);b.propTypes=m,b.contextTypes=g,t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(796),i=r(o),a=n(9),u=r(a),l="@@scroll|",c="___GATSBY_REACT_ROUTER_SCROLL",s=function(){function e(){(0,u.default)(this,e)}return e.prototype.read=function(e,t){var n=this.getStateKey(e,t);try{var r=window.sessionStorage.getItem(n);return JSON.parse(r)}catch(e){return console.warn("[gatsby-react-router-scroll] Unable to access sessionStorage; sessionStorage is not available."),window&&window[c]&&window[c][n]?window[c][n]:{}}},e.prototype.save=function(e,t,n){var r=this.getStateKey(e,t),o=(0,i.default)(n);try{window.sessionStorage.setItem(r,o)}catch(e){window&&window[c]?window[c][r]=JSON.parse(o):(window[c]={},window[c][r]=JSON.parse(o)),console.warn("[gatsby-react-router-scroll] Unable to save state in sessionStorage; sessionStorage is not available.")}},e.prototype.getStateKey=function(e,t){var n=""+l+e.pathname;return null===t||"undefined"==typeof t?n:n+"|"+t},e}();t.default=s},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}var o=n(933),i=r(o),a=n(934),u=r(a);t.ScrollContainer=u.default,t.ScrollContext=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(54),a=r(i),u=n(13),l=r(u),c=n(70),s=n(52),f=n(100),d=r(f),p=n(768),h="hashchange",v={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+(0,s.stripLeadingSlash)(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:s.stripLeadingSlash,decodePath:s.addLeadingSlash},slash:{encodePath:s.addLeadingSlash,decodePath:s.addLeadingSlash}},y=function(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)},m=function(e){return window.location.hash=e},g=function(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,l.default)(p.canUseDOM,"Hash history needs a DOM");var t=window.history,n=(0,p.supportsGoWithoutReloadUsingHash)(),r=e.getUserConfirmation,i=void 0===r?p.getConfirmation:r,u=e.hashType,f=void 0===u?"slash":u,b=e.basename?(0,s.stripTrailingSlash)((0,s.addLeadingSlash)(e.basename)):"",w=v[f],_=w.encodePath,T=w.decodePath,E=function(){var e=T(y());return(0,a.default)(!b||(0,s.hasBasename)(e,b),'You are attempting to use a basename on a page whose URL path does not begin with the basename. Expected path "'+e+'" to begin with "'+b+'".'),b&&(e=(0,s.stripBasename)(e,b)),(0,c.createLocation)(e)},S=(0,d.default)(),x=function(e){o(V,e),V.length=t.length,S.notifyListeners(V.location,V.action)},P=!1,O=null,k=function(){var e=y(),t=_(e);if(e!==t)g(t);else{var n=E(),r=V.location;if(!P&&(0,c.locationsAreEqual)(r,n))return;if(O===(0,s.createPath)(n))return;O=null,C(n)}},C=function(e){if(P)P=!1,x();else{var t="POP";S.confirmTransitionTo(e,t,i,function(n){n?x({action:t,location:e}):R(e)})}},R=function(e){var t=V.location,n=N.lastIndexOf((0,s.createPath)(t));n===-1&&(n=0);var r=N.lastIndexOf((0,s.createPath)(e));r===-1&&(r=0);var o=n-r;o&&(P=!0,F(o))},M=y(),A=_(M);M!==A&&g(A);var j=E(),N=[(0,s.createPath)(j)],L=function(e){return"#"+_(b+(0,s.createPath)(e))},I=function(e,t){(0,a.default)(void 0===t,"Hash history cannot push state; it is ignored");var n="PUSH",r=(0,c.createLocation)(e,void 0,void 0,V.location);S.confirmTransitionTo(r,n,i,function(e){if(e){var t=(0,s.createPath)(r),o=_(b+t),i=y()!==o;if(i){O=t,m(o);var u=N.lastIndexOf((0,s.createPath)(V.location)),l=N.slice(0,u===-1?0:u+1);l.push(t),N=l,x({action:n,location:r})}else(0,a.default)(!1,"Hash history cannot PUSH the same path; a new entry will not be added to the history stack"),x()}})},U=function(e,t){(0,a.default)(void 0===t,"Hash history cannot replace state; it is ignored");var n="REPLACE",r=(0,c.createLocation)(e,void 0,void 0,V.location);S.confirmTransitionTo(r,n,i,function(e){if(e){var t=(0,s.createPath)(r),o=_(b+t),i=y()!==o;i&&(O=t,g(o));var a=N.indexOf((0,s.createPath)(V.location));a!==-1&&(N[a]=t),x({action:n,location:r})}})},F=function(e){(0,a.default)(n,"Hash history go(n) causes a full page reload in this browser"),t.go(e)},D=function(){return F(-1)},H=function(){return F(1)},B=0,W=function(e){B+=e,1===B?(0,p.addEventListener)(window,h,k):0===B&&(0,p.removeEventListener)(window,h,k)},z=!1,G=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=S.setPrompt(e);return z||(W(1),z=!0),function(){return z&&(z=!1,W(-1)),t()}},q=function(e){var t=S.appendListener(e);return W(1),function(){W(-1),t()}},V={length:t.length,action:"POP",location:j,createHref:L,push:I,replace:U,go:F,goBack:D,goForward:H,block:G,listen:q};return V};t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(54),u=r(a),l=n(52),c=n(70),s=n(100),f=r(s),d=function(e,t,n){return Math.min(Math.max(e,t),n)},p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.getUserConfirmation,n=e.initialEntries,r=void 0===n?["/"]:n,a=e.initialIndex,s=void 0===a?0:a,p=e.keyLength,h=void 0===p?6:p,v=(0,f.default)(),y=function(e){i(C,e),C.length=C.entries.length,v.notifyListeners(C.location,C.action)},m=function(){return Math.random().toString(36).substr(2,h)},g=d(s,0,r.length-1),b=r.map(function(e){return"string"==typeof e?(0,c.createLocation)(e,void 0,m()):(0,c.createLocation)(e,void 0,e.key||m())}),w=l.createPath,_=function(e,n){(0,u.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to push when the 1st argument is a location-like object that already has state; it is ignored");var r="PUSH",i=(0,c.createLocation)(e,n,m(),C.location);v.confirmTransitionTo(i,r,t,function(e){if(e){var t=C.index,n=t+1,o=C.entries.slice(0);o.length>n?o.splice(n,o.length-n,i):o.push(i),y({action:r,location:i,index:n,entries:o})}})},T=function(e,n){(0,u.default)(!("object"===("undefined"==typeof e?"undefined":o(e))&&void 0!==e.state&&void 0!==n),"You should avoid providing a 2nd state argument to replace when the 1st argument is a location-like object that already has state; it is ignored");var r="REPLACE",i=(0,c.createLocation)(e,n,m(),C.location);v.confirmTransitionTo(i,r,t,function(e){e&&(C.entries[C.index]=i,y({action:r,location:i}))})},E=function(e){var n=d(C.index+e,0,C.entries.length-1),r="POP",o=C.entries[n];v.confirmTransitionTo(o,r,t,function(e){e?y({action:r,location:o,index:n}):y()})},S=function(){return E(-1)},x=function(){return E(1)},P=function(e){var t=C.index+e;return t>=0&&t<C.entries.length},O=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return v.setPrompt(e)},k=function(e){return v.appendListener(e)},C={length:b.length,action:"POP",location:b[g],index:g,entries:b,createHref:w,push:_,replace:T,go:E,goBack:S,goForward:x,canGo:P,block:O,listen:k};return C};t.default=p},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},,,,,,,,,,,,,,,,,,,,,function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return a(n)?n:void 0}function o(e){return i(e)&&d.call(e)==u}function i(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function a(e){return null!=e&&(o(e)?p.test(s.call(e)):n(e)&&l.test(e))}var u="[object Function]",l=/^\[object .+?Constructor\]$/,c=Object.prototype,s=Function.prototype.toString,f=c.hasOwnProperty,d=c.toString,p=RegExp("^"+s.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=r},function(e,t){function n(e){return o(e)&&h.call(e,"callee")&&(!y.call(e,"callee")||v.call(e)==s)}function r(e){return null!=e&&a(e.length)&&!i(e)}function o(e){return l(e)&&r(e)}function i(e){var t=u(e)?v.call(e):"";return t==f||t==d}function a(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function u(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function l(e){return!!e&&"object"==typeof e}var c=9007199254740991,s="[object Arguments]",f="[object Function]",d="[object GeneratorFunction]",p=Object.prototype,h=p.hasOwnProperty,v=p.toString,y=p.propertyIsEnumerable;e.exports=n},function(e,t){function n(e){return!!e&&"object"==typeof e}function r(e,t){var n=null==e?void 0:e[t];return u(n)?n:void 0}function o(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function i(e){return a(e)&&h.call(e)==c}function a(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function u(e){return null!=e&&(i(e)?v.test(d.call(e)):n(e)&&s.test(e))}var l="[object Array]",c="[object Function]",s=/^\[object .+?Constructor\]$/,f=Object.prototype,d=Function.prototype.toString,p=f.hasOwnProperty,h=f.toString,v=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=r(Array,"isArray"),m=9007199254740991,g=y||function(e){ return n(e)&&o(e.length)&&h.call(e)==l};e.exports=g},function(e,t,n){function r(e){return function(t){return null==t?void 0:t[e]}}function o(e){return null!=e&&a(g(e))}function i(e,t){return e="number"==typeof e||p.test(e)?+e:-1,t=null==t?m:t,e>-1&&e%1==0&&e<t}function a(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=m}function u(e){for(var t=c(e),n=t.length,r=n&&e.length,o=!!r&&a(r)&&(d(e)||f(e)),u=-1,l=[];++u<n;){var s=t[u];(o&&i(s,r)||v.call(e,s))&&l.push(s)}return l}function l(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function c(e){if(null==e)return[];l(e)||(e=Object(e));var t=e.length;t=t&&a(t)&&(d(e)||f(e))&&t||0;for(var n=e.constructor,r=-1,o="function"==typeof n&&n.prototype===e,u=Array(t),c=t>0;++r<t;)u[r]=r+"";for(var s in e)c&&i(s,t)||"constructor"==s&&(o||!v.call(e,s))||u.push(s);return u}var s=n(960),f=n(961),d=n(962),p=/^\d+$/,h=Object.prototype,v=h.hasOwnProperty,y=s(Object,"keys"),m=9007199254740991,g=r("length"),b=y?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||"function"!=typeof e&&o(e)?u(e):l(e)?y(e):[]}:u;e.exports=b},,,,,,function(e,t,n){"use strict";function r(){}var o=n(970);e.exports=function(){function e(e,t,n,r,i,a){if(a!==o){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},,,,,,,,,,,,,,,,,,function(e,t,n){(function(e){function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.warn=t.requestAnimationFrame=t.reducePropsToState=t.mapStateOnServer=t.handleClientStateChange=t.convertReactPropstoHtmlAttributes=void 0;var o="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},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),u=r(a),l=n(102),c=r(l),s=n(772),f=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},d=function(e){var t=m(e,s.TAG_NAMES.TITLE),n=m(e,s.HELMET_PROPS.TITLE_TEMPLATE);if(n&&t)return n.replace(/%s/g,function(){return t});var r=m(e,s.HELMET_PROPS.DEFAULT_TITLE);return t||r||void 0},p=function(e){return m(e,s.HELMET_PROPS.ON_CHANGE_CLIENT_STATE)||function(){}},h=function(e,t){return t.filter(function(t){return"undefined"!=typeof t[e]}).map(function(t){return t[e]}).reduce(function(e,t){return i({},e,t)},{})},v=function(e,t){return t.filter(function(e){return"undefined"!=typeof e[s.TAG_NAMES.BASE]}).map(function(e){return e[s.TAG_NAMES.BASE]}).reverse().reduce(function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o],a=i.toLowerCase();if(e.indexOf(a)!==-1&&n[a])return t.concat(n)}return t},[])},y=function(e,t,n){var r={};return n.filter(function(t){return!!Array.isArray(t[e])||("undefined"!=typeof t[e]&&E("Helmet: "+e+' should be of type "Array". Instead found type "'+o(t[e])+'"'),!1)}).map(function(t){return t[e]}).reverse().reduce(function(e,n){var o={};n.filter(function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var u=i[a],l=u.toLowerCase();t.indexOf(l)===-1||n===s.TAG_PROPERTIES.REL&&"canonical"===e[n].toLowerCase()||l===s.TAG_PROPERTIES.REL&&"stylesheet"===e[l].toLowerCase()||(n=l),t.indexOf(u)===-1||u!==s.TAG_PROPERTIES.INNER_HTML&&u!==s.TAG_PROPERTIES.CSS_TEXT&&u!==s.TAG_PROPERTIES.ITEM_PROP||(n=u)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)}).reverse().forEach(function(t){return e.push(t)});for(var i=Object.keys(o),a=0;a<i.length;a++){var u=i[a],l=(0,c.default)({},r[u],o[u]);r[u]=l}return e},[]).reverse()},m=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},g=function(e){return{baseTag:v([s.TAG_PROPERTIES.HREF],e),bodyAttributes:h(s.ATTRIBUTE_NAMES.BODY,e),defer:m(e,s.HELMET_PROPS.DEFER),encode:m(e,s.HELMET_PROPS.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:h(s.ATTRIBUTE_NAMES.HTML,e),linkTags:y(s.TAG_NAMES.LINK,[s.TAG_PROPERTIES.REL,s.TAG_PROPERTIES.HREF],e),metaTags:y(s.TAG_NAMES.META,[s.TAG_PROPERTIES.NAME,s.TAG_PROPERTIES.CHARSET,s.TAG_PROPERTIES.HTTPEQUIV,s.TAG_PROPERTIES.PROPERTY,s.TAG_PROPERTIES.ITEM_PROP],e),noscriptTags:y(s.TAG_NAMES.NOSCRIPT,[s.TAG_PROPERTIES.INNER_HTML],e),onChangeClientState:p(e),scriptTags:y(s.TAG_NAMES.SCRIPT,[s.TAG_PROPERTIES.SRC,s.TAG_PROPERTIES.INNER_HTML],e),styleTags:y(s.TAG_NAMES.STYLE,[s.TAG_PROPERTIES.CSS_TEXT],e),title:d(e),titleAttributes:h(s.ATTRIBUTE_NAMES.TITLE,e)}},b=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){b(t)},0)}}(),w=function(e){return clearTimeout(e)},_="undefined"!=typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||b:e.requestAnimationFrame||b,T="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||w:e.cancelAnimationFrame||w,E=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},S=null,x=function(e){S&&T(S),e.defer?S=_(function(){P(e,function(){S=null})}):(P(e),S=null)},P=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,f=e.styleTags,d=e.title,p=e.titleAttributes;C(s.TAG_NAMES.BODY,r),C(s.TAG_NAMES.HTML,o),k(d,p);var h={baseTag:R(s.TAG_NAMES.BASE,n),linkTags:R(s.TAG_NAMES.LINK,i),metaTags:R(s.TAG_NAMES.META,a),noscriptTags:R(s.TAG_NAMES.NOSCRIPT,u),scriptTags:R(s.TAG_NAMES.SCRIPT,c),styleTags:R(s.TAG_NAMES.STYLE,f)},v={},y={};Object.keys(h).forEach(function(e){var t=h[e],n=t.newTags,r=t.oldTags;n.length&&(v[e]=n),r.length&&(y[e]=h[e].oldTags)}),t&&t(),l(e,v,y)},O=function(e){return Array.isArray(e)?e.join(""):e},k=function(e,t){"undefined"!=typeof e&&document.title!==e&&(document.title=O(e)),C(s.TAG_NAMES.TITLE,t)},C=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(s.HELMET_ATTRIBUTE),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),u=0;u<a.length;u++){var l=a[u],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),o.indexOf(l)===-1&&o.push(l);var f=i.indexOf(l);f!==-1&&i.splice(f,1)}for(var d=i.length-1;d>=0;d--)n.removeAttribute(i[d]);o.length===i.length?n.removeAttribute(s.HELMET_ATTRIBUTE):n.getAttribute(s.HELMET_ATTRIBUTE)!==a.join(",")&&n.setAttribute(s.HELMET_ATTRIBUTE,a.join(","))}},R=function(e,t){var n=document.head||document.querySelector(s.TAG_NAMES.HEAD),r=n.querySelectorAll(e+"["+s.HELMET_ATTRIBUTE+"]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach(function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===s.TAG_PROPERTIES.INNER_HTML)n.innerHTML=t.innerHTML;else if(r===s.TAG_PROPERTIES.CSS_TEXT)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var u="undefined"==typeof t[r]?"":t[r];n.setAttribute(r,u)}n.setAttribute(s.HELMET_ATTRIBUTE,"true"),o.some(function(e,t){return a=t,n.isEqualNode(e)})?o.splice(a,1):i.push(n)}),o.forEach(function(e){return e.parentNode.removeChild(e)}),i.forEach(function(e){return n.appendChild(e)}),{oldTags:o,newTags:i}},M=function(e){return Object.keys(e).reduce(function(t,n){var r="undefined"!=typeof e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},A=function(e,t,n,r){var o=M(n),i=O(t);return o?"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+">"+f(i,r)+"</"+e+">":"<"+e+" "+s.HELMET_ATTRIBUTE+'="true">'+f(i,r)+"</"+e+">"},j=function(e,t,n){return t.reduce(function(t,r){var o=Object.keys(r).filter(function(e){return!(e===s.TAG_PROPERTIES.INNER_HTML||e===s.TAG_PROPERTIES.CSS_TEXT)}).reduce(function(e,t){var o="undefined"==typeof r[t]?t:t+'="'+f(r[t],n)+'"';return e?e+" "+o:o},""),i=r.innerHTML||r.cssText||"",a=s.SELF_CLOSING_TAGS.indexOf(e)===-1;return t+"<"+e+" "+s.HELMET_ATTRIBUTE+'="true" '+o+(a?"/>":">"+i+"</"+e+">")},"")},N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[s.REACT_TAG_MAP[n]||n]=e[n],t},t)},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce(function(t,n){return t[s.HTML_TAG_MAP[n]||n]=e[n],t},t)},I=function(e,t,n){var r,o=(r={key:t},r[s.HELMET_ATTRIBUTE]=!0,r),i=N(n,o);return[u.default.createElement(s.TAG_NAMES.TITLE,i,t)]},U=function(e,t){return t.map(function(t,n){var r,o=(r={key:n},r[s.HELMET_ATTRIBUTE]=!0,r);return Object.keys(t).forEach(function(e){var n=s.REACT_TAG_MAP[e]||e;if(n===s.TAG_PROPERTIES.INNER_HTML||n===s.TAG_PROPERTIES.CSS_TEXT){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]}),u.default.createElement(e,o)})},F=function(e,t,n){switch(e){case s.TAG_NAMES.TITLE:return{toComponent:function(){return I(e,t.title,t.titleAttributes,n)},toString:function(){return A(e,t.title,t.titleAttributes,n)}};case s.ATTRIBUTE_NAMES.BODY:case s.ATTRIBUTE_NAMES.HTML:return{toComponent:function(){return N(t)},toString:function(){return M(t)}};default:return{toComponent:function(){return U(e,t)},toString:function(){return j(e,t,n)}}}},D=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,u=e.noscriptTags,l=e.scriptTags,c=e.styleTags,f=e.title,d=void 0===f?"":f,p=e.titleAttributes;return{base:F(s.TAG_NAMES.BASE,t,r),bodyAttributes:F(s.ATTRIBUTE_NAMES.BODY,n,r),htmlAttributes:F(s.ATTRIBUTE_NAMES.HTML,o,r),link:F(s.TAG_NAMES.LINK,i,r),meta:F(s.TAG_NAMES.META,a,r),noscript:F(s.TAG_NAMES.NOSCRIPT,u,r),script:F(s.TAG_NAMES.SCRIPT,l,r),style:F(s.TAG_NAMES.STYLE,c,r),title:F(s.TAG_NAMES.TITLE,{title:d,titleAttributes:p},r)}};t.convertReactPropstoHtmlAttributes=L,t.handleClientStateChange=x,t.mapStateOnServer=D,t.reducePropsToState=g,t.requestAnimationFrame=_,t.warn=E}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(775),l=r(u),c=n(1),s=r(c),f=n(3),d=r(f),p=n(20),h=n(733),v=r(h),y=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.history=(0,p.createBrowserHistory)(r.props),a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){(0,l.default)(!this.props.history,"<BrowserRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { BrowserRouter as Router }`.")},t.prototype.render=function(){return s.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(s.default.Component);y.propTypes={basename:d.default.string,forceRefresh:d.default.bool,getUserConfirmation:d.default.func,keyLength:d.default.number,children:d.default.node},t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(775),l=r(u),c=n(1),s=r(c),f=n(3),d=r(f),p=n(20),h=n(733),v=r(h),y=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.history=(0,p.createHashHistory)(r.props),a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){(0,l.default)(!this.props.history,"<HashRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { HashRouter as Router }`.")},t.prototype.render=function(){return s.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(s.default.Component);y.propTypes={basename:d.default.string,getUserConfirmation:d.default.func,hashType:d.default.oneOf(["hashbang","noslash","slash"]),children:d.default.node},t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1e3),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a="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},u=n(1),l=r(u),c=n(3),s=r(c),f=n(774),d=r(f),p=n(773),h=r(p),v=function(e){var t=e.to,n=e.exact,r=e.strict,u=e.location,c=e.activeClassName,s=e.className,f=e.activeStyle,p=e.style,v=e.isActive,y=e["aria-current"],m=o(e,["to","exact","strict","location","activeClassName","className","activeStyle","style","isActive","aria-current"]),g="object"===("undefined"==typeof t?"undefined":a(t))?t.pathname:t,b=g&&g.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1");return l.default.createElement(d.default,{path:b,exact:n,strict:r,location:u,children:function(e){var n=e.location,r=e.match,o=!!(v?v(r,n):r);return l.default.createElement(h.default,i({to:t,className:o?[s,c].filter(function(e){return e}).join(" "):s,style:o?i({},p,f):p,"aria-current":o&&y||null},m))}})};v.propTypes={to:h.default.propTypes.to,exact:s.default.bool,strict:s.default.bool,location:s.default.object,activeClassName:s.default.string,className:s.default.string,activeStyle:s.default.object,style:s.default.object,isActive:s.default.func,"aria-current":s.default.oneOf(["page","step","location","date","time","true"])},v.defaultProps={activeClassName:"active","aria-current":"page"},t.default=v},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1001),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1002),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1003),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1004),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(777),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(735),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(1005),i=r(o);t.default=i.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(42),l=r(u),c=n(1),s=r(c),f=n(3),d=r(f),p=n(20),h=n(734),v=r(h),y=function(e){function t(){var n,r,a;o(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=i(this,e.call.apply(e,[this].concat(l))),r.history=(0,p.createMemoryHistory)(r.props),a=n,i(r,a)}return a(t,e),t.prototype.componentWillMount=function(){(0,l.default)(!this.props.history,"<MemoryRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { MemoryRouter as Router }`.")},t.prototype.render=function(){return s.default.createElement(v.default,{history:this.history,children:this.props.children})},t}(s.default.Component);y.propTypes={initialEntries:d.default.array,initialIndex:d.default.number,getUserConfirmation:d.default.func,keyLength:d.default.number,children:d.default.node},t.default=y},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1),l=r(u),c=n(3),s=r(c),f=n(13),d=r(f),p=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.enable=function(e){this.unblock&&this.unblock(),this.unblock=this.context.router.history.block(e)},t.prototype.disable=function(){this.unblock&&(this.unblock(),this.unblock=null)},t.prototype.componentWillMount=function(){(0,d.default)(this.context.router,"You should not use <Prompt> outside a <Router>"),this.props.when&&this.enable(this.props.message)},t.prototype.componentWillReceiveProps=function(e){e.when?this.props.when&&this.props.message===e.message||this.enable(e.message):this.disable()},t.prototype.componentWillUnmount=function(){this.disable()},t.prototype.render=function(){return null},t}(l.default.Component);p.propTypes={when:s.default.bool,message:s.default.oneOfType([s.default.func,s.default.string]).isRequired},p.defaultProps={when:!0},p.contextTypes={router:s.default.shape({history:s.default.shape({block:s.default.func.isRequired}).isRequired}).isRequired},t.default=p},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},l=n(1),c=r(l),s=n(3),f=r(s),d=n(42),p=r(d),h=n(13),v=r(h),y=n(20),m=n(777),g=r(m),b=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.isStatic=function(){return this.context.router&&this.context.router.staticContext},t.prototype.componentWillMount=function(){(0,v.default)(this.context.router,"You should not use <Redirect> outside a <Router>"),this.isStatic()&&this.perform()},t.prototype.componentDidMount=function(){this.isStatic()||this.perform()},t.prototype.componentDidUpdate=function(e){var t=(0,y.createLocation)(e.to),n=(0,y.createLocation)(this.props.to);return(0,y.locationsAreEqual)(t,n)?void(0,p.default)(!1,"You tried to redirect to the same route you're currently on: "+('"'+n.pathname+n.search+'"')):void this.perform()},t.prototype.computeTo=function(e){var t=e.computedMatch,n=e.to;return t?"string"==typeof n?(0,g.default)(n,t.params):u({},n,{pathname:(0,g.default)(n.pathname,t.params)}):n},t.prototype.perform=function(){var e=this.context.router.history,t=this.props.push,n=this.computeTo(this.props);t?e.push(n):e.replace(n)},t.prototype.render=function(){return null},t}(c.default.Component);b.propTypes={computedMatch:f.default.object,push:f.default.bool,from:f.default.string,to:f.default.oneOfType([f.default.string,f.default.object]).isRequired},b.defaultProps={push:!1},b.contextTypes={router:f.default.shape({history:f.default.shape({push:f.default.func.isRequired,replace:f.default.func.isRequired}).isRequired,staticContext:f.default.object}).isRequired},t.default=b},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=n(42),s=r(c),f=n(13),d=r(f),p=n(1),h=r(p),v=n(3),y=r(v),m=n(20),g=n(734),b=r(g),w=function(e){return"/"===e.charAt(0)?e:"/"+e},_=function(e,t){return e?l({},t,{pathname:w(e)+t.pathname}):t},T=function(e,t){if(!e)return t;var n=w(e);return 0!==t.pathname.indexOf(n)?t:l({},t,{pathname:t.pathname.substr(n.length)})},E=function(e){return"string"==typeof e?e:(0,m.createPath)(e)},S=function(e){return function(){(0,d.default)(!1,"You cannot %s with <StaticRouter>",e)}},x=function(){},P=function(e){function t(){var n,r,o;i(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=a(this,e.call.apply(e,[this].concat(l))),r.createHref=function(e){return w(r.props.basename+E(e))},r.handlePush=function(e){var t=r.props,n=t.basename,o=t.context;o.action="PUSH",o.location=_(n,(0,m.createLocation)(e)),o.url=E(o.location)},r.handleReplace=function(e){var t=r.props,n=t.basename,o=t.context;o.action="REPLACE",o.location=_(n,(0,m.createLocation)(e)),o.url=E(o.location)},r.handleListen=function(){return x},r.handleBlock=function(){return x},o=n,a(r,o)}return u(t,e),t.prototype.getChildContext=function(){return{router:{staticContext:this.props.context}}},t.prototype.componentWillMount=function(){(0,s.default)(!this.props.history,"<StaticRouter> ignores the history prop. To use a custom history, use `import { Router }` instead of `import { StaticRouter as Router }`.")},t.prototype.render=function(){var e=this.props,t=e.basename,n=(e.context,e.location),r=o(e,["basename","context","location"]),i={createHref:this.createHref,action:"POP",location:T(t,(0,m.createLocation)(n)),push:this.handlePush,replace:this.handleReplace,go:S("go"),goBack:S("goBack"),goForward:S("goForward"),listen:this.handleListen,block:this.handleBlock};return h.default.createElement(b.default,l({},r,{history:i}))},t}(h.default.Component);P.propTypes={basename:y.default.string,context:y.default.object.isRequired,location:y.default.oneOfType([y.default.string,y.default.object])},P.defaultProps={basename:"",location:"/"},P.childContextTypes={router:y.default.object.isRequired},t.default=P},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0;var u=n(1),l=r(u),c=n(3),s=r(c),f=n(42),d=r(f),p=n(13),h=r(p),v=n(735),y=r(v),m=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.prototype.componentWillMount=function(){(0,h.default)(this.context.router,"You should not use <Switch> outside a <Router>")},t.prototype.componentWillReceiveProps=function(e){(0,d.default)(!(e.location&&!this.props.location),'<Switch> elements should not change from uncontrolled to controlled (or vice versa). You initially used no "location" prop and then provided one on a subsequent render.'),(0,d.default)(!(!e.location&&this.props.location),'<Switch> elements should not change from controlled to uncontrolled (or vice versa). You provided a "location" prop initially but omitted it on a subsequent render.')},t.prototype.render=function(){var e=this.context.router.route,t=this.props.children,n=this.props.location||e.location,r=void 0,o=void 0;return l.default.Children.forEach(t,function(t){if(null==r&&l.default.isValidElement(t)){var i=t.props,a=i.path,u=i.exact,c=i.strict,s=i.sensitive,f=i.from,d=a||f;o=t,r=(0,y.default)(n.pathname,{path:d,exact:u,strict:c,sensitive:s},e.match)}}),r?l.default.cloneElement(o,{location:n,computedMatch:r}):null},t}(l.default.Component);m.contextTypes={router:s.default.shape({route:s.default.object.isRequired}).isRequired},m.propTypes={children:s.default.node,location:s.default.object},t.default=m},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(1),u=r(a),l=n(3),c=r(l),s=n(770),f=r(s),d=n(776),p=r(d),h=function(e){var t=function(t){var n=t.wrappedComponentRef,r=o(t,["wrappedComponentRef"]);return u.default.createElement(p.default,{children:function(t){return u.default.createElement(e,i({},r,t,{ref:n}))}})};return t.displayName="withRouter("+(e.displayName||e.name)+")",t.WrappedComponent=e,t.propTypes={wrappedComponentRef:c.default.func},(0,f.default)(t,e)};t.default=h},function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e.default:e}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t,n){function r(e){return e.displayName||e.name||"Component"}if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if("undefined"!=typeof n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(u){function d(){h=e(p.map(function(e){return e.props})),v.canUseDOM?t(h):n&&(h=n(h))}if("function"!=typeof u)throw new Error("Expected WrappedComponent to be a React component.");var p=[],h=void 0,v=function(e){function t(){return o(this,t),i(this,e.apply(this,arguments))}return a(t,e),t.peek=function(){return h},t.rewind=function(){if(t.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=h;return h=void 0,p=[],e},t.prototype.shouldComponentUpdate=function(e){return!f(e,this.props)},t.prototype.componentWillMount=function(){p.push(this),d()},t.prototype.componentDidUpdate=function(){d()},t.prototype.componentWillUnmount=function(){var e=p.indexOf(this);p.splice(e,1),d()},t.prototype.render=function(){return c.createElement(u,this.props)},t}(l.Component);return v.displayName="SideEffect("+r(u)+")",v.canUseDOM=s.canUseDOM,v}}var l=n(1),c=r(l),s=r(n(885)),f=r(n(779));e.exports=u},function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&n(e),u=t&&n(t),l=a||u;if(e&&n(e)?i=o:o.length&&(i.pop(),i=i.concat(o)),!i.length)return"/";var c=void 0;if(i.length){var s=i[i.length-1];c="."===s||".."===s||""===s}else c=!1;for(var f=0,d=i.length;d>=0;d--){var p=i[d];"."===p?r(i,d):".."===p?(r(i,d),f++):f&&(r(i,d),f--)}if(!l)for(;f--;f)i.unshift("..");!l||""===i[0]||i[0]&&n(i[0])||i.unshift("");var h=i.join("/");return c&&"/"!==h.substr(-1)&&(h+="/"),h}t.__esModule=!0,t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var i=n(878),a=r(i),u=n(879),l=r(u),c=n(880),s=r(c),f=n(881),d=r(f),p=n(882),h=r(p),v=n(13),y=r(v),m=n(1009),g=2,b=function(){function e(t){var n=this,r=t.addTransitionHook,i=t.stateStorage,a=t.getCurrentLocation,u=t.shouldUpdateScroll;if(o(this,e),this._onWindowScroll=function(){if(n._saveWindowPositionHandle||(n._saveWindowPositionHandle=(0,h.default)(n._saveWindowPosition)),n._windowScrollTarget){var e=n._windowScrollTarget,t=e[0],r=e[1],o=(0,s.default)(window),i=(0,d.default)(window);o===t&&i===r&&(n._windowScrollTarget=null,n._cancelCheckWindowScroll())}},this._saveWindowPosition=function(){n._saveWindowPositionHandle=null,n._savePosition(null,window)},this._checkWindowScrollPosition=function(){if(n._checkWindowScrollHandle=null,n._windowScrollTarget)return n.scrollToTarget(window,n._windowScrollTarget),++n._numWindowScrollAttempts,n._numWindowScrollAttempts>=g?void(n._windowScrollTarget=null):void(n._checkWindowScrollHandle=(0,h.default)(n._checkWindowScrollPosition))},this._stateStorage=i,this._getCurrentLocation=a, this._shouldUpdateScroll=u,"scrollRestoration"in window.history&&!(0,m.isMobileSafari)()){this._oldScrollRestoration=window.history.scrollRestoration;try{window.history.scrollRestoration="manual"}catch(e){this._oldScrollRestoration=null}}else this._oldScrollRestoration=null;this._saveWindowPositionHandle=null,this._checkWindowScrollHandle=null,this._windowScrollTarget=null,this._numWindowScrollAttempts=0,this._scrollElements={},(0,l.default)(window,"scroll",this._onWindowScroll),this._removeTransitionHook=r(function(){h.default.cancel(n._saveWindowPositionHandle),n._saveWindowPositionHandle=null,Object.keys(n._scrollElements).forEach(function(e){var t=n._scrollElements[e];h.default.cancel(t.savePositionHandle),t.savePositionHandle=null,n._saveElementPosition(e)})})}return e.prototype.registerElement=function(e,t,n,r){var o=this;this._scrollElements[e]?(0,y.default)(!1):void 0;var i=function(){o._saveElementPosition(e)},a={element:t,shouldUpdateScroll:n,savePositionHandle:null,onScroll:function(){a.savePositionHandle||(a.savePositionHandle=(0,h.default)(i))}};this._scrollElements[e]=a,(0,l.default)(t,"scroll",a.onScroll),this._updateElementScroll(e,null,r)},e.prototype.unregisterElement=function(e){this._scrollElements[e]?void 0:(0,y.default)(!1);var t=this._scrollElements[e],n=t.element,r=t.onScroll,o=t.savePositionHandle;(0,a.default)(n,"scroll",r),h.default.cancel(o),delete this._scrollElements[e]},e.prototype.updateScroll=function(e,t){var n=this;this._updateWindowScroll(e,t),Object.keys(this._scrollElements).forEach(function(r){n._updateElementScroll(r,e,t)})},e.prototype.stop=function(){if(this._oldScrollRestoration)try{window.history.scrollRestoration=this._oldScrollRestoration}catch(e){}(0,a.default)(window,"scroll",this._onWindowScroll),this._cancelCheckWindowScroll(),this._removeTransitionHook()},e.prototype._cancelCheckWindowScroll=function(){h.default.cancel(this._checkWindowScrollHandle),this._checkWindowScrollHandle=null},e.prototype._saveElementPosition=function(e){var t=this._scrollElements[e];t.savePositionHandle=null,this._savePosition(e,t.element)},e.prototype._savePosition=function(e,t){this._stateStorage.save(this._getCurrentLocation(),e,[(0,s.default)(t),(0,d.default)(t)])},e.prototype._updateWindowScroll=function(e,t){this._cancelCheckWindowScroll(),this._windowScrollTarget=this._getScrollTarget(null,this._shouldUpdateScroll,e,t),this._numWindowScrollAttempts=0,this._checkWindowScrollPosition()},e.prototype._updateElementScroll=function(e,t,n){var r=this._scrollElements[e],o=r.element,i=r.shouldUpdateScroll,a=this._getScrollTarget(e,i,t,n);a&&this.scrollToTarget(o,a)},e.prototype._getDefaultScrollTarget=function(e){var t=e.hash;return t&&"#"!==t?"#"===t.charAt(0)?t.slice(1):t:[0,0]},e.prototype._getScrollTarget=function(e,t,n,r){var o=!t||t.call(this,n,r);if(!o||Array.isArray(o)||"string"==typeof o)return o;var i=this._getCurrentLocation();return this._getSavedScrollTarget(e,i)||this._getDefaultScrollTarget(i)},e.prototype._getSavedScrollTarget=function(e,t){return"PUSH"===t.action?null:this._stateStorage.read(t,e)},e.prototype.scrollToTarget=function(e,t){if("string"==typeof t){var n=document.getElementById(t)||document.getElementsByName(t)[0];if(n)return void n.scrollIntoView();t=[0,0]}var r=t,o=r[0],i=r[1];(0,s.default)(e,o),(0,d.default)(e,i)},e}();t.default=b,e.exports=t.default},function(e,t){"use strict";function n(){return/iPad|iPhone|iPod/.test(window.navigator.platform)&&/^((?!CriOS).)*Safari/.test(window.navigator.userAgent)}t.__esModule=!0,t.isMobileSafari=n},,,,,,function(e,t){"use strict";function n(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if(Array.isArray(e))return Array.isArray(t)&&e.length===t.length&&e.every(function(e,r){return n(e,t[r])});var o="undefined"==typeof e?"undefined":r(e),i="undefined"==typeof t?"undefined":r(t);if(o!==i)return!1;if("object"===o){var a=e.valueOf(),u=t.valueOf();if(a!==e||u!==t)return n(a,u);var l=Object.keys(e),c=Object.keys(t);return l.length===c.length&&l.every(function(r){return n(e[r],t[r])})}return!1}t.__esModule=!0;var 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};t.default=n,e.exports=t.default}]); //# sourceMappingURL=commons-24384febad01443f13fb.js.map
25,412.888889
32,180
0.69557
b425688f08ff300d97e06b0a405f141fd7cb927d
4,068
js
JavaScript
myhome-light.js
fabiobui/node-red-contrib-myhome-bticino
71cb809ab219eb2db9c0ebabdaa019dcc361d980
[ "MIT" ]
3
2021-01-08T13:18:51.000Z
2022-02-12T13:15:13.000Z
myhome-light.js
fabiobui/node-red-contrib-myhome-bticino
71cb809ab219eb2db9c0ebabdaa019dcc361d980
[ "MIT" ]
8
2020-07-20T14:59:25.000Z
2021-04-15T09:57:36.000Z
myhome-light.js
fabiobui/node-red-contrib-myhome-bticino
71cb809ab219eb2db9c0ebabdaa019dcc361d980
[ "MIT" ]
2
2021-03-12T17:44:18.000Z
2021-03-20T14:44:59.000Z
module.exports = function(RED) { let mhutils = require('./myhome-utils') function MyHomeLightNode(config) { RED.nodes.createNode(this,config) var node = this, state = {} gateway = RED.nodes.getNode(config.gateway) gateway.on('OWN', function(packet) { var payload = {} // check if message is a status update if(new RegExp('\\*1\\*(\\d+)\\*(' + config.lightid + '|0)##').test(packet) || // simple light status new RegExp('\\*#1\\*' + config.lightid + '\\*1\\*(\\d+)\\*(\\d+)##').test(packet)) { // dimmer updates if(packet[1] == '#') { var m = packet.match('\\*#1\\*' + config.lightid + '\\*1\\*(\\d+)\\*4##'), what = parseInt(m[1]) payload.state = 'ON' payload.brightness = (what - 100) } else { var m = packet.match('\\*1\\*(\\d+)\\*(' + config.lightid + '|0)##'), what = parseInt(m[1]) if((what == 0) || (what == 1)) { payload.state = (what == "1") ? 'ON' : 'OFF' } else { payload.state = 'ON' payload.brightness = (what * 10) } } if (m === null) { node.error('failed parsing OWN packet: ' + packet) return } payload.state == 'ON' ? node.status({fill: 'yellow', shape: 'dot', text: 'On'}) : node.status({fill: 'grey', shape: 'dot', text: 'Off'}) if(payload.brightness) payload.state == 'ON' ? node.status({fill: 'yellow', shape: 'dot', text: 'On (' + payload.brightness +'%)'}) : node.status({fill: 'grey', shape: 'dot', text: 'Off'}) msg2={payload : {On:false}, topic: 'state/' + config.topic} if (payload=='ON') msg2.payload.On = true node.send([{payload: payload, topic: 'state/' + config.topic},msg2]) return } }) node.on('input', function(msg) { // check if message is boolean indicating desired state of light if (typeof(msg) === 'string') msg = JSON.parse(msg) if (typeof(msg.payload) === 'string') msg.payload = JSON.parse(msg.payload) var payload = msg.payload if (msg.topic === 'cmd/' + config.topic) { var cmd_what = ""; if (payload.state) { if (payload.state == 'OFF') { // turning OFF is the same for all lights (dimmed or not) cmd_what = "0"; } else if (payload.state == 'ON') { if(payload.brightness) { // Brightness is provided in %, convert it to WHAT command (from min 2 (20%) to max 10 (100%)) var requested_brightness = Math.round(parseInt(payload.brightness)/10); if (requested_brightness < 2) { requested_brightness = 2 } else if (requested_brightness > 10) { requested_brightness = 10 } cmd_what = requested_brightness.toString(); } else { // No brightness provided : is a simple 'ON' call cmd_what = "1"; } } } if (cmd_what) { var command = '*1*' + cmd_what + '*' + config.lightid + '##' var handshake = false if(gateway.pass !== null && gateway.pass !== '') { handshake = true } mhutils.execute_command(handshake, command, gateway, function(data) { // updating node state if (requested_brightness) { node.send({payload: {'state': payload.state, 'brightness': requested_brightness}, topic: 'state/' + config.topic}) } else { node.send({payload: {'state': payload.state}, topic: 'state/' + config.topic}) } }, function(data) { node.error('command failed' + command) node.status({fill: 'red', shape: 'dot', text: 'command failed: ' + command}) }) } return } }) } RED.nodes.registerType("myhome-light", MyHomeLightNode); }
37.666667
175
0.498279
b42582f0e69242ac016e972998cb5a24f06a1b9f
863
js
JavaScript
app/mixins/stripped-name.js
itsmesinghavneet/maya-ui
001ec72add3f33135eefc1126d8ec5a0b6009b07
[ "Apache-2.0" ]
null
null
null
app/mixins/stripped-name.js
itsmesinghavneet/maya-ui
001ec72add3f33135eefc1126d8ec5a0b6009b07
[ "Apache-2.0" ]
null
null
null
app/mixins/stripped-name.js
itsmesinghavneet/maya-ui
001ec72add3f33135eefc1126d8ec5a0b6009b07
[ "Apache-2.0" ]
null
null
null
import Ember from 'ember'; import C from 'ui/utils/constants'; export default Ember.Mixin.create({ stripStack: true, prefixLength: function() { var name = this.get('model.displayName'); var stackName = (this.get('model.labels')||{})[C.LABEL.STACK_NAME]; if ( stackName && name.indexOf(stackName) === 0 ) { return stackName.length + 1; } return 0; }.property('name'), showEllipsis: Ember.computed.and('stripStack','prefixLength'), displayName: function() { var name = this.get('model.displayName')||''; if ( this.get('stripStack') ) { var len = this.get('prefixLength'); return name.substr(len); } else { return name; } }.property('stripStack','prefixLength','model.displayName'), });
27.83871
75
0.557358
b425d77b91751eee0ca3d193e7d3e0b66c083ded
443
js
JavaScript
models/Story.js
ahmadbenos/node-story-books
a82179718931dfa0124696bb01c225bf11a8dcd0
[ "MIT" ]
null
null
null
models/Story.js
ahmadbenos/node-story-books
a82179718931dfa0124696bb01c225bf11a8dcd0
[ "MIT" ]
null
null
null
models/Story.js
ahmadbenos/node-story-books
a82179718931dfa0124696bb01c225bf11a8dcd0
[ "MIT" ]
null
null
null
const mongoose = require("mongoose"); // Story model const StorySchema = new mongoose.Schema({ title: { type: String, required: true, trim: true }, body: { type: String, required: true }, status: { type: String, default: "public", enum: ["public", "private"] }, user: { type: mongoose.Schema.Types.ObjectId, ref: "User" }, createdAt: { type: Date }, }); const Story = mongoose.model("Story", StorySchema); module.exports = Story;
29.533333
75
0.663657
b425e76526bcfb61a4f1560ec9eb53bbccc48a28
873
js
JavaScript
package/nodes/array_expression.js
dmitriiabramov/esfmt
8e05fa01d777d504f965ba484c287139a00b5b00
[ "BSD-3-Clause" ]
14
2015-09-12T19:10:48.000Z
2017-03-31T07:22:31.000Z
package/nodes/array_expression.js
aaronabramov/esfmt
8e05fa01d777d504f965ba484c287139a00b5b00
[ "BSD-3-Clause" ]
31
2015-12-26T00:30:18.000Z
2016-06-15T14:37:50.000Z
package/nodes/array_expression.js
aaronabramov/esfmt
8e05fa01d777d504f965ba484c287139a00b5b00
[ "BSD-3-Clause" ]
1
2015-12-25T00:59:17.000Z
2015-12-25T00:59:17.000Z
/** * { * type: 'ArrayExpression', * elements: [{ * type: 'Literal', * value: 1, * raw: '1' * }, { * type: 'Literal', * value: '2', * raw: '\'2\'' * }, { * type: 'Identifier', * name: 'abc' * }, { * type: 'Literal', * value: null, * raw: 'null' * }, { * type: 'Identifier', * name: 'undefined' * }] * } */'use strict';Object.defineProperty(exports, '__esModule', { value: true });exports.format = format;var _list = require( '../list'); function format(node, context, recur) { var rollback = context.transaction(); (0, _list.long)(node.elements, context, recur, '[]'); if (context.overflown()) { rollback(); (0, _list.short)(node.elements, context, recur, '[]');}}
24.942857
122
0.447881
b4266af164eb87cbc961c84b678aa070ff2ebf03
3,053
js
JavaScript
public/admin/assets/plugins/bootstrap-timepicker/Gruntfile.js
enuenan/enan
1b9606cc747cda82bcb3556a8927ef817e797d8c
[ "MIT" ]
185
2017-07-19T00:03:53.000Z
2021-01-15T10:02:07.000Z
public/admin/assets/plugins/bootstrap-timepicker/Gruntfile.js
enuenan/enan
1b9606cc747cda82bcb3556a8927ef817e797d8c
[ "MIT" ]
32
2017-04-10T10:21:48.000Z
2017-12-24T10:23:59.000Z
public/admin/assets/plugins/bootstrap-timepicker/Gruntfile.js
enuenan/enan
1b9606cc747cda82bcb3556a8927ef817e797d8c
[ "MIT" ]
73
2017-07-19T02:28:44.000Z
2019-04-27T15:00:28.000Z
module.exports = function(grunt) { 'use strict'; grunt.loadNpmTasks('grunt-contrib-jshint'); grunt.loadNpmTasks('grunt-contrib-jasmine'); grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-exec'); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), meta: { project: 'bootstrap-timepicker', version: '0.2.3' }, exec: { dump: { command: 'grunt jshint; grunt uglify; grunt exec:deleteAssets; grunt less:production;' }, copyAssets: { command: 'git checkout gh-pages -q; git checkout master css/bootstrap-timepicker.min.css; git checkout master js/bootstrap-timepicker.min.js;' }, deleteAssets: { command: 'rm -rf css/bootstrap-timepicker.css; rm -rf css/bootstrap-timepicker.min.css; rm -rf js/bootstrap-timepicker.min.js;' } }, jasmine: { build: { src : ['spec/js/libs/jquery/jquery.min.js', 'spec/js/libs/bootstrap/js/bootstrap.min.js', 'spec/js/libs/autotype/index.js', 'js/bootstrap-timepicker.js'], options: { specs : 'spec/js/*Spec.js', helpers : 'spec/js/helpers/*.js', timeout : 100 } } }, jshint: { options: { browser: true, camelcase: true, curly: true, eqeqeq: true, eqnull: true, immed: true, indent: 2, latedef: true, newcap: true, noarg: true, quotmark: true, sub: true, strict: true, trailing: true, undef: true, unused: true, white: false, globals: { jQuery: true, $: true, expect: true, it: true, beforeEach: true, afterEach: true, describe: true, loadFixtures: true, console: true, module: true } }, files: ['js/bootstrap-timepicker.js', 'Gruntfile.js', 'package.json', 'spec/js/*Spec.js'] }, less: { development: { options: { paths: ['css'] }, files: { 'css/bootstrap-timepicker.css': 'less/*.less' } }, production: { options: { paths: ['css'], yuicompress: true }, files: { 'css/bootstrap-timepicker.min.css': ['less/*.less'] } } }, uglify: { options: { banner: '/*! <%= meta.project %> v<%= meta.version %> \n' + '* http://jdewit.github.com/bootstrap-timepicker \n' + '* Copyright (c) <%= grunt.template.today("yyyy") %> Joris de Wit \n' + '* MIT License \n' + '*/' }, build: { src: ['<banner:meta.banner>','js/<%= pkg.name %>.js'], dest: 'js/<%= pkg.name %>.min.js' } } }); grunt.registerTask('default', ['jasmine','jshint','uglify','less:production']); grunt.registerTask('test', ['jasmine','lint']); grunt.registerTask('copy', ['exec:copyAssets']); };
28.009174
162
0.523092
b42678d68cc961e27480e596bad3eac99a67aec4
386
js
JavaScript
src/email-templates/sign-in.js
rhythnic/feathers-passwordless-auth-example
2b4eae88872abbbcaddd6cc707af6da4a7e72abe
[ "MIT" ]
28
2017-08-25T04:41:36.000Z
2022-02-28T22:57:07.000Z
src/email-templates/sign-in.js
arve0/feathers-passwordless-auth-example
457ffd12b277ea83cf9f36e2b7cb2e6fda4c47dc
[ "MIT" ]
2
2017-10-23T21:25:27.000Z
2017-11-20T12:44:28.000Z
src/email-templates/sign-in.js
arve0/feathers-passwordless-auth-example
457ffd12b277ea83cf9f36e2b7cb2e6fda4c47dc
[ "MIT" ]
8
2017-10-23T22:14:35.000Z
2020-07-08T23:13:20.000Z
module.exports.html = ` <html> <body style="margin: 0;font-family: sans-serif;"> <header> <h2>Hi</h2> </header> <div> <p style="margin-bottom:24px;">Please follow the link below to sign in to my app.</p> <a href="{{hashLink}}">{{hashLink}}</a> </div> </body> </html> ` module.exports.text = ` Hi! Please follow the link below to sign in to my app. {{hashLink}} `
17.545455
89
0.61658
b426fd459ee36e21cdabe01c204180fdc702422d
6,664
js
JavaScript
index.js
dbalcomb/atom-menu-patch-for-catalina
cc8b5edfc3322cef4984599aff743de72874d2cd
[ "MIT" ]
null
null
null
index.js
dbalcomb/atom-menu-patch-for-catalina
cc8b5edfc3322cef4984599aff743de72874d2cd
[ "MIT" ]
null
null
null
index.js
dbalcomb/atom-menu-patch-for-catalina
cc8b5edfc3322cef4984599aff743de72874d2cd
[ "MIT" ]
null
null
null
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ const ContextMenu = require('context-menu').default; const os = require('os'); const fs = require('fs'); const ReactDOM = require('react-dom'); function arraySplit( array, shouldSplitPredicate, ) { const result = []; let current = []; for (const value of array) { if (shouldSplitPredicate(value)) { result.push(current); current = []; } else { current.push(value); } } if (current.length > 0) { result.push(current); } return result; } function getTextForAccelerator(accelerator) { if (accelerator == null) { return undefined; } return accelerator .replace(/Command\+/g, '\u2318') .replace(/Shift\+/g, '\u21e7') .replace(/Alt\+/g, '\u2325') .replace(/Ctrl\+/g, '\u2303') .replace('BACKSPACE', '\u232B') .replace('SPACE', '\u2423') .replace('TAB', '\u21E5') .replace('DELETE', '\u232B') .replace('UP', '\u2191') .replace('DOWN', '\u2193') .replace('LEFT', '\u2190') .replace('RIGHT', '\u2192'); } function convertElectronMenu( event, template, ) { return arraySplit( template.filter(item => item.visible !== false), item => item.type === 'separator', ).map( (subarray) => subarray.map( (item) => { if (item.submenu != null) { return { label: item.label, submenu: convertElectronMenu(event, item.submenu), disabled: false, }; } return { label: item.label, sublabel: getTextForAccelerator(item.accelerator), onClick: () => { if (item.command != null) { atom.commands.dispatch(event.target, item.command); } }, disabled: item.enabled === false, }; }, ), ); } /** * After opening the context menu, the context-menu library * sets up a window click handler to detect when you've clicked * on an item or clicked outside to close the menu, or right clicked * again to open a new menu. The problem is that atom (or some other mysterious force) * does a `stopPropagation` _somewhere_, causing the `onClick` of a menu item to not * trigger hiding the menu correctly. This means that subsequent context menu item clicks * would have their click event stolen by this handler, causing the menu to do nothing. * Even destorying the entire contet-menu library doesn't fix this, because their click handler * is not correctly disposed. Instead, we can force emit a click just before showing the menu * to make sure the click handler registers the click. This should be harmless, but it is * a little sketchy to dispatch this event to window. */ function dispatchFakeWindowMouseDown() { const event = document.createEvent('MouseEvents'); event.initMouseEvent( 'mousedown', true, // bubbles true, // cancelable document.defaultView, 0, // button 0, // pointerX 0, // pointerY 0, // pointerX 0, // pointerY false, // ctrlKey false, // altKey false, // shiftKey false, // metaKey 0, // button window, ); window.dispatchEvent(event); } /** * atom on macOS Catalina can crash when showing a context menu. * To prevent this, we can just stop atom from using `electron.remote.Menu` and instead * make our own HTML-based context menus. */ async function monkeyPatchContextMenus() { // Catalina is darwin version 19.0.0; also take 20, 21, etc for future-proofing // https://en.wikipedia.org/wiki/Darwin_%28operating_system%29#Release_history const isCatalinaOrLater = process.platform === 'darwin' && /^19\.|^2\d\./.test(os.release()); if (!isCatalinaOrLater) { return; } // Import default styles from the context-menu package, since we're not using css-in-js const stylesPath = require.resolve('context-menu/lib/styles.css'); const contextMenuDefaultStyles = await new Promise( (res, rej) => fs.readFile(stylesPath, 'utf-8', (err, data) => err ? rej(err) : res(data)) ); const styles = document.createElement('style'); // Style the menu to be similar to macOS context menu styling styles.innerHTML = ` ${contextMenuDefaultStyles} .context-menu { background-color: rgb(160,160,160); border-radius: 6px; box-shadow: rgba(0,0,0,0.5) 2px 2px 10px; font-family: -apple-system, BlinkMacSystemFont, sans-serif; color: black; padding: 4px 0; z-index: 12; } .context-menu ul:not(:first-child) { border-top: 2px solid rgb(145,148,153); } .context-menu ul { padding: 2px 0; } .context-menu li { padding-left: 18px; } .context-menu button { white-space: nowrap; } .context-menu li:hover { background-color: rgb(39, 94, 194); color: white; } .context-menu button i.submenu-expand { padding-right: 8px; } .context-menu button i.submenu-expand:after { content: '\\25ba'; } .context-menu button span.label.sublabel { font-size: 100%; } `; document.head.appendChild(styles); const installContextMenus = () => { const contextMenuRoot = document.createElement('div'); ContextMenu.init(contextMenuRoot, {theme: 'custom'}); document.body.appendChild(contextMenuRoot); return () => { const children = Array.from(contextMenuRoot.children); children.forEach(child => { ReactDOM.unmountComponentAtNode(child); }); contextMenuRoot.remove(); }; } const disposeContextMenu = installContextMenus(); const savedShowForEvent = atom.contextMenu.showForEvent; atom.contextMenu.showForEvent = function(event) { // Based on atom's default implementation: // https://raw.githubusercontent.com/atom/atom/master/src/context-menu-manager.coffee this.activeElement = event.target; const menuTemplate = this.templateForEvent(event); if (menuTemplate == null || menuTemplate.length === 0) { return; } const groups = convertElectronMenu(event, menuTemplate); dispatchFakeWindowMouseDown(); ContextMenu.showMenu(groups); }; return () => { // cleanup atom.contextMenu.showForEvent = savedShowForEvent; disposeContextMenu(); styles.remove(); }; } let dispose; module.exports = { activate() { setImmediate(() => { dispose = monkeyPatchContextMenus(); }); }, deactivate() { if (dispose != null) { dispose(); } }, };
28.973913
95
0.634154
b427b57d409b6350106352d9e9ba071ec1b50089
1,394
js
JavaScript
src/apis/WeatherApi.js
aruss314/FeedbackPage.Wfe
2838b23397ac73addb2d1e3dfd7e690c4170bda4
[ "Apache-2.0" ]
1
2021-07-21T22:53:11.000Z
2021-07-21T22:53:11.000Z
src/apis/WeatherApi.js
aruss314/FeedbackPage.Wfe
2838b23397ac73addb2d1e3dfd7e690c4170bda4
[ "Apache-2.0" ]
null
null
null
src/apis/WeatherApi.js
aruss314/FeedbackPage.Wfe
2838b23397ac73addb2d1e3dfd7e690c4170bda4
[ "Apache-2.0" ]
null
null
null
import {URL, URLSearchParams } from "url" export const WeatherApi = { GetWeather, } async function GetWeather(jobsRequest, access_token){ try{ var url = "https://aruss-feedback-api.atriarch.systems"+"/WeatherForecast"; // var preppedParams = []; // // We have to do this becasue we're passing data via querystring instead of a post // Object.keys(jobsRequest).forEach(key => // preppedParams.push([key,''+jobsRequest[key]]) // ); // url.search = new URLSearchParams(preppedParams).toString(); const response = await fetch(url, { method: 'GET', headers: { Accept: 'application/json', 'Content-Type': 'application/json', //'Authorization' : 'Bearer '+ access_token } }); if(response.ok === false){ throw(new Error(`ERROR MESSAGE HERE: response.ok was ${response.ok}`)); } const data = await response.json(); return { success: true, data, errors: null }; } catch(e){ console.log(e.message); return { success: false, data: null, errors: e.message }; } } async function PostJobs(){} async function GetJobByJobId(){} async function DeleteJobByJobId(){} async function PatchJobByJobId(){}
27.88
93
0.555954
b427fe75d2bc6e416e94b9f5198d0d121025831e
889
js
JavaScript
app/search/con10t-search-catalog.directive.js
slinssen/arachnefrontend
01ac2e3d1013d01436002627f21ff61c9707353e
[ "Apache-2.0" ]
9
2016-12-15T15:47:30.000Z
2021-03-22T15:10:44.000Z
app/search/con10t-search-catalog.directive.js
slinssen/arachnefrontend
01ac2e3d1013d01436002627f21ff61c9707353e
[ "Apache-2.0" ]
6
2019-12-19T10:23:21.000Z
2022-03-02T02:40:36.000Z
app/search/con10t-search-catalog.directive.js
slinssen/arachnefrontend
01ac2e3d1013d01436002627f21ff61c9707353e
[ "Apache-2.0" ]
3
2016-12-18T10:36:49.000Z
2018-08-30T10:46:55.000Z
'use strict'; angular.module('arachne.widgets.directives') .directive('con10tSearchCatalog', function() { return { restrict: 'A', link: function(scope, element, attrs) { attrs.$observe('con10tSearchCatalog', function(value) { scope.q = "catalogPaths:" + value; updateHref(); }); attrs.$observe('con10tSearchFacet', function(value) { scope.fq = value; updateHref(); }); function updateHref() { var href = "http://arachne.dainst.org/search?q=" + scope.q; if (scope.fq) { var fqs = scope.fq.split(','); fqs.forEach(function(fq) { var split = fq.split(':'); href += '&fq='+split[0]+':"'+split[1]+'"'; }); } element.attr("href", href); } } }});
26.939394
71
0.47694
b42825da5386c536a31704f02e72e7ce4376c78f
670
js
JavaScript
lib/TagFaces.js
eugeneilyin/mdi-norm
e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4
[ "MIT" ]
3
2018-11-11T01:48:20.000Z
2019-12-02T06:13:14.000Z
lib/TagFaces.js
eugeneilyin/mdi-norm
e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4
[ "MIT" ]
1
2019-02-21T05:59:35.000Z
2019-02-21T21:57:57.000Z
lib/TagFaces.js
eugeneilyin/mdi-norm
e9ee50f99aafa1f4dd77ffbe8c06fbdc49ec58f4
[ "MIT" ]
null
null
null
"use strict"; exports.__esModule = true; var _createThemedIcon = require("./utils/createThemedIcon"); var _FilledTagFaces = require("./FilledTagFaces"); var _OutlineTagFaces = require("./OutlineTagFaces"); var _RoundTagFaces = require("./RoundTagFaces"); var _SharpTagFaces = require("./SharpTagFaces"); var _TwoToneTagFaces = require("./TwoToneTagFaces"); var TagFaces = /*#__PURE__*/ function TagFaces(props) { return (0, _createThemedIcon.createThemedIcon)(props, _FilledTagFaces.FilledTagFaces, _OutlineTagFaces.OutlineTagFaces, _RoundTagFaces.RoundTagFaces, _SharpTagFaces.SharpTagFaces, _TwoToneTagFaces.TwoToneTagFaces); }; exports.TagFaces = TagFaces;
29.130435
216
0.785075
b42859e5460b5112c8392e6b9e1f0acc9dfeb971
517
js
JavaScript
client/src/components/ContactSection/index.js
bferriman/dragons-den
c212785ad2f9beef26554be54b19ec3c6c7c76dc
[ "Unlicense" ]
1
2020-04-09T23:06:55.000Z
2020-04-09T23:06:55.000Z
client/src/components/ContactSection/index.js
bferriman/dragons-den
c212785ad2f9beef26554be54b19ec3c6c7c76dc
[ "Unlicense" ]
39
2020-04-07T00:50:26.000Z
2022-02-26T23:13:22.000Z
client/src/components/ContactSection/index.js
bferriman/dragons-den
c212785ad2f9beef26554be54b19ec3c6c7c76dc
[ "Unlicense" ]
1
2020-05-08T18:11:53.000Z
2020-05-08T18:11:53.000Z
import React from "react"; import FeatureImage from "../FeatureImage"; import ContactInfo from "../ContactInfo"; import ContactForm from "../ContactForm"; function ContactSection() { return ( <> <div className="columns is-variable is-6"> <div className="column is-one-third is-hidden-mobile"> <FeatureImage /> </div> <div className="column"> <ContactInfo /> <ContactForm /> </div> </div> </> ); } export default ContactSection;
21.541667
62
0.595745
b4285fbbd313e24bb9c74bf90220e3c04623ba31
518
js
JavaScript
app/components/WindowImg.js
JonSnow007/react-native-lifestyle
112a11dd46d148b6e4ed211c6ca3298673889f57
[ "MIT" ]
null
null
null
app/components/WindowImg.js
JonSnow007/react-native-lifestyle
112a11dd46d148b6e4ed211c6ca3298673889f57
[ "MIT" ]
null
null
null
app/components/WindowImg.js
JonSnow007/react-native-lifestyle
112a11dd46d148b6e4ed211c6ca3298673889f57
[ "MIT" ]
null
null
null
import React from 'react'; import { // View, Image, } from 'react-native'; import Styles from '../res/Styles'; export default class WindowImg extends React.Component { render() { return ( <Image source={{ uri: 'https://wallpapers.wallhaven.cc/wallpapers/full/wallhaven-558728.jpg' }} style={{ width: Styles.Width(730), height: Styles.Height(410.6), borderRadius: Styles.Width(20), marginLeft: Styles.Width(10), }} /> ); } }
21.583333
96
0.581081
b428c6cd8ecc702952ab0c2b9045bf2181b76f51
737,554
js
JavaScript
public/docs/api/latest/@stdlib/math/base/special/copysign/test_bundle.js
stdlib-js/www
c70f691bf4c61ffc9bed5422fd4804d73e171b7d
[ "Apache-2.0" ]
3
2017-08-20T20:58:44.000Z
2019-06-22T16:26:33.000Z
public/docs/api/latest/@stdlib/math/base/special/copysign/test_bundle.js
stdlib-js/www
c70f691bf4c61ffc9bed5422fd4804d73e171b7d
[ "Apache-2.0" ]
44
2019-11-23T06:08:19.000Z
2021-10-06T04:55:19.000Z
public/docs/api/latest/@stdlib/math/base/special/copysign/test_bundle.js
stdlib-js/www
c70f691bf4c61ffc9bed5422fd4804d73e171b7d
[ "Apache-2.0" ]
null
null
null
// modules are defined as an array // [ module function, map of requireuires ] // // map of requireuires is short require name -> numeric require // // anything defined in a previous bundle is accessed via the // orig method which is the requireuire for previous bundles (function outer (modules, cache, entry) { // Save the require from previous bundle to this closure if any var previousRequire = typeof require == "function" && require; function findProxyquireifyName() { var deps = Object.keys(modules) .map(function (k) { return modules[k][1]; }); for (var i = 0; i < deps.length; i++) { var pq = deps[i]['proxyquireify']; if (pq) return pq; } } var proxyquireifyName = findProxyquireifyName(); function newRequire(name, jumped){ // Find the proxyquireify module, if present var pqify = (proxyquireifyName != null) && cache[proxyquireifyName]; // Proxyquireify provides a separate cache that is used when inside // a proxyquire call, and is set to null outside a proxyquire call. // This allows the regular caching semantics to work correctly both // inside and outside proxyquire calls while keeping the cached // modules isolated. // When switching from one proxyquire call to another, it clears // the cache to prevent contamination between different sets // of stubs. var currentCache = (pqify && pqify.exports._cache) || cache; if(!currentCache[name]) { if(!modules[name]) { // if we cannot find the the module within our internal map or // cache jump to the current global require ie. the last bundle // that was added to the page. var currentRequire = typeof require == "function" && require; if (!jumped && currentRequire) return currentRequire(name, true); // If there are other bundles on this page the require from the // previous one is saved to 'previousRequire'. Repeat this as // many times as there are bundles until the module is found or // we exhaust the require chain. if (previousRequire) return previousRequire(name, true); var err = new Error('Cannot find module \'' + name + '\''); err.code = 'MODULE_NOT_FOUND'; throw err; } var m = currentCache[name] = {exports:{}}; // The normal browserify require function var req = function(x){ var id = modules[name][1][x]; return newRequire(id ? id : x); }; // The require function substituted for proxyquireify var moduleRequire = function(x){ var pqify = (proxyquireifyName != null) && cache[proxyquireifyName]; // Only try to use the proxyquireify version if it has been `require`d if (pqify && pqify.exports._proxy) { return pqify.exports._proxy(req, x); } else { return req(x); } }; modules[name][0].call(m.exports,moduleRequire,m,m.exports,outer,modules,currentCache,entry); } return currentCache[name].exports; } for(var i=0;i<entry.length;i++) newRequire(entry[i]); // Override the current require with this new one return newRequire; }) ({1:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var ctor = ( typeof Float64Array === 'function' ) ? Float64Array : void 0; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = ctor; },{}],2:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Typed array constructor which returns a typed array representing an array of double-precision floating-point numbers in the platform byte order. * * @module @stdlib/array/float64 * * @example * var ctor = require( '@stdlib/array/float64' ); * * var arr = new ctor( 10 ); * // returns <Float64Array> */ // MODULES // var hasFloat64ArraySupport = require( '@stdlib/assert/has-float64array-support' ); var builtin = require( './float64array.js' ); var polyfill = require( './polyfill.js' ); // MAIN // var ctor; if ( hasFloat64ArraySupport() ) { ctor = builtin; } else { ctor = polyfill; } // EXPORTS // module.exports = ctor; },{"./float64array.js":1,"./polyfill.js":3,"@stdlib/assert/has-float64array-support":14}],3:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // TODO: write polyfill // MAIN // /** * Typed array which represents an array of double-precision floating-point numbers in the platform byte order. * * @throws {Error} not implemented */ function polyfill() { throw new Error( 'not implemented' ); } // EXPORTS // module.exports = polyfill; },{}],4:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Typed array constructor which returns a typed array representing an array of 16-bit unsigned integers in the platform byte order. * * @module @stdlib/array/uint16 * * @example * var ctor = require( '@stdlib/array/uint16' ); * * var arr = new ctor( 10 ); * // returns <Uint16Array> */ // MODULES // var hasUint16ArraySupport = require( '@stdlib/assert/has-uint16array-support' ); var builtin = require( './uint16array.js' ); var polyfill = require( './polyfill.js' ); // MAIN // var ctor; if ( hasUint16ArraySupport() ) { ctor = builtin; } else { ctor = polyfill; } // EXPORTS // module.exports = ctor; },{"./polyfill.js":5,"./uint16array.js":6,"@stdlib/assert/has-uint16array-support":22}],5:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // TODO: write polyfill // MAIN // /** * Typed array which represents an array of 16-bit unsigned integers in the platform byte order. * * @throws {Error} not implemented */ function polyfill() { throw new Error( 'not implemented' ); } // EXPORTS // module.exports = polyfill; },{}],6:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var ctor = ( typeof Uint16Array === 'function' ) ? Uint16Array : void 0; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = ctor; },{}],7:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Typed array constructor which returns a typed array representing an array of 32-bit unsigned integers in the platform byte order. * * @module @stdlib/array/uint32 * * @example * var ctor = require( '@stdlib/array/uint32' ); * * var arr = new ctor( 10 ); * // returns <Uint32Array> */ // MODULES // var hasUint32ArraySupport = require( '@stdlib/assert/has-uint32array-support' ); var builtin = require( './uint32array.js' ); var polyfill = require( './polyfill.js' ); // MAIN // var ctor; if ( hasUint32ArraySupport() ) { ctor = builtin; } else { ctor = polyfill; } // EXPORTS // module.exports = ctor; },{"./polyfill.js":8,"./uint32array.js":9,"@stdlib/assert/has-uint32array-support":25}],8:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // TODO: write polyfill // MAIN // /** * Typed array which represents an array of 32-bit unsigned integers in the platform byte order. * * @throws {Error} not implemented */ function polyfill() { throw new Error( 'not implemented' ); } // EXPORTS // module.exports = polyfill; },{}],9:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var ctor = ( typeof Uint32Array === 'function' ) ? Uint32Array : void 0; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = ctor; },{}],10:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Typed array constructor which returns a typed array representing an array of 8-bit unsigned integers in the platform byte order. * * @module @stdlib/array/uint8 * * @example * var ctor = require( '@stdlib/array/uint8' ); * * var arr = new ctor( 10 ); * // returns <Uint8Array> */ // MODULES // var hasUint8ArraySupport = require( '@stdlib/assert/has-uint8array-support' ); var builtin = require( './uint8array.js' ); var polyfill = require( './polyfill.js' ); // MAIN // var ctor; if ( hasUint8ArraySupport() ) { ctor = builtin; } else { ctor = polyfill; } // EXPORTS // module.exports = ctor; },{"./polyfill.js":11,"./uint8array.js":12,"@stdlib/assert/has-uint8array-support":28}],11:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // TODO: write polyfill // MAIN // /** * Typed array which represents an array of 8-bit unsigned integers in the platform byte order. * * @throws {Error} not implemented */ function polyfill() { throw new Error( 'not implemented' ); } // EXPORTS // module.exports = polyfill; },{}],12:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var ctor = ( typeof Uint8Array === 'function' ) ? Uint8Array : void 0; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = ctor; },{}],13:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var main = ( typeof Float64Array === 'function' ) ? Float64Array : null; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = main; },{}],14:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `Float64Array` support. * * @module @stdlib/assert/has-float64array-support * * @example * var hasFloat64ArraySupport = require( '@stdlib/assert/has-float64array-support' ); * * var bool = hasFloat64ArraySupport(); * // returns <boolean> */ // MODULES // var hasFloat64ArraySupport = require( './main.js' ); // EXPORTS // module.exports = hasFloat64ArraySupport; },{"./main.js":15}],15:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isFloat64Array = require( '@stdlib/assert/is-float64array' ); var GlobalFloat64Array = require( './float64array.js' ); // MAIN // /** * Tests for native `Float64Array` support. * * @returns {boolean} boolean indicating if an environment has `Float64Array` support * * @example * var bool = hasFloat64ArraySupport(); * // returns <boolean> */ function hasFloat64ArraySupport() { var bool; var arr; if ( typeof GlobalFloat64Array !== 'function' ) { return false; } // Test basic support... try { arr = new GlobalFloat64Array( [ 1.0, 3.14, -3.14, NaN ] ); bool = ( isFloat64Array( arr ) && arr[ 0 ] === 1.0 && arr[ 1 ] === 3.14 && arr[ 2 ] === -3.14 && arr[ 3 ] !== arr[ 3 ] ); } catch ( err ) { // eslint-disable-line no-unused-vars bool = false; } return bool; } // EXPORTS // module.exports = hasFloat64ArraySupport; },{"./float64array.js":13,"@stdlib/assert/is-float64array":31}],16:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test whether an object has a specified property. * * @module @stdlib/assert/has-own-property * * @example * var hasOwnProp = require( '@stdlib/assert/has-own-property' ); * * var beep = { * 'boop': true * }; * * var bool = hasOwnProp( beep, 'boop' ); * // returns true * * bool = hasOwnProp( beep, 'bop' ); * // returns false */ // MODULES // var hasOwnProp = require( './main.js' ); // EXPORTS // module.exports = hasOwnProp; },{"./main.js":17}],17:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // FUNCTIONS // var has = Object.prototype.hasOwnProperty; // MAIN // /** * Tests if an object has a specified property. * * @param {*} value - value to test * @param {*} property - property to test * @returns {boolean} boolean indicating if an object has a specified property * * @example * var beep = { * 'boop': true * }; * * var bool = hasOwnProp( beep, 'boop' ); * // returns true * * @example * var beep = { * 'boop': true * }; * * var bool = hasOwnProp( beep, 'bap' ); * // returns false */ function hasOwnProp( value, property ) { if ( value === void 0 || value === null ) { return false; } return has.call( value, property ); } // EXPORTS // module.exports = hasOwnProp; },{}],18:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `Symbol` support. * * @module @stdlib/assert/has-symbol-support * * @example * var hasSymbolSupport = require( '@stdlib/assert/has-symbol-support' ); * * var bool = hasSymbolSupport(); * // returns <boolean> */ // MODULES // var hasSymbolSupport = require( './main.js' ); // EXPORTS // module.exports = hasSymbolSupport; },{"./main.js":19}],19:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // /** * Tests for native `Symbol` support. * * @returns {boolean} boolean indicating if an environment has `Symbol` support * * @example * var bool = hasSymbolSupport(); * // returns <boolean> */ function hasSymbolSupport() { return ( typeof Symbol === 'function' && typeof Symbol( 'foo' ) === 'symbol' ); } // EXPORTS // module.exports = hasSymbolSupport; },{}],20:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `toStringTag` support. * * @module @stdlib/assert/has-tostringtag-support * * @example * var hasToStringTagSupport = require( '@stdlib/assert/has-tostringtag-support' ); * * var bool = hasToStringTagSupport(); * // returns <boolean> */ // MODULES // var hasToStringTagSupport = require( './main.js' ); // EXPORTS // module.exports = hasToStringTagSupport; },{"./main.js":21}],21:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var hasSymbols = require( '@stdlib/assert/has-symbol-support' ); // VARIABLES // var FLG = hasSymbols(); // MAIN // /** * Tests for native `toStringTag` support. * * @returns {boolean} boolean indicating if an environment has `toStringTag` support * * @example * var bool = hasToStringTagSupport(); * // returns <boolean> */ function hasToStringTagSupport() { return ( FLG && typeof Symbol.toStringTag === 'symbol' ); } // EXPORTS // module.exports = hasToStringTagSupport; },{"@stdlib/assert/has-symbol-support":18}],22:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `Uint16Array` support. * * @module @stdlib/assert/has-uint16array-support * * @example * var hasUint16ArraySupport = require( '@stdlib/assert/has-uint16array-support' ); * * var bool = hasUint16ArraySupport(); * // returns <boolean> */ // MODULES // var hasUint16ArraySupport = require( './main.js' ); // EXPORTS // module.exports = hasUint16ArraySupport; },{"./main.js":23}],23:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isUint16Array = require( '@stdlib/assert/is-uint16array' ); var UINT16_MAX = require( '@stdlib/constants/uint16/max' ); var GlobalUint16Array = require( './uint16array.js' ); // MAIN // /** * Tests for native `Uint16Array` support. * * @returns {boolean} boolean indicating if an environment has `Uint16Array` support * * @example * var bool = hasUint16ArraySupport(); * // returns <boolean> */ function hasUint16ArraySupport() { var bool; var arr; if ( typeof GlobalUint16Array !== 'function' ) { return false; } // Test basic support... try { arr = [ 1, 3.14, -3.14, UINT16_MAX+1, UINT16_MAX+2 ]; arr = new GlobalUint16Array( arr ); bool = ( isUint16Array( arr ) && arr[ 0 ] === 1 && arr[ 1 ] === 3 && // truncation arr[ 2 ] === UINT16_MAX-2 && // truncation and wrap around arr[ 3 ] === 0 && // wrap around arr[ 4 ] === 1 // wrap around ); } catch ( err ) { // eslint-disable-line no-unused-vars bool = false; } return bool; } // EXPORTS // module.exports = hasUint16ArraySupport; },{"./uint16array.js":24,"@stdlib/assert/is-uint16array":36,"@stdlib/constants/uint16/max":44}],24:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var main = ( typeof Uint16Array === 'function' ) ? Uint16Array : null; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = main; },{}],25:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `Uint32Array` support. * * @module @stdlib/assert/has-uint32array-support * * @example * var hasUint32ArraySupport = require( '@stdlib/assert/has-uint32array-support' ); * * var bool = hasUint32ArraySupport(); * // returns <boolean> */ // MODULES // var hasUint32ArraySupport = require( './main.js' ); // EXPORTS // module.exports = hasUint32ArraySupport; },{"./main.js":26}],26:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isUint32Array = require( '@stdlib/assert/is-uint32array' ); var UINT32_MAX = require( '@stdlib/constants/uint32/max' ); var GlobalUint32Array = require( './uint32array.js' ); // MAIN // /** * Tests for native `Uint32Array` support. * * @returns {boolean} boolean indicating if an environment has `Uint32Array` support * * @example * var bool = hasUint32ArraySupport(); * // returns <boolean> */ function hasUint32ArraySupport() { var bool; var arr; if ( typeof GlobalUint32Array !== 'function' ) { return false; } // Test basic support... try { arr = [ 1, 3.14, -3.14, UINT32_MAX+1, UINT32_MAX+2 ]; arr = new GlobalUint32Array( arr ); bool = ( isUint32Array( arr ) && arr[ 0 ] === 1 && arr[ 1 ] === 3 && // truncation arr[ 2 ] === UINT32_MAX-2 && // truncation and wrap around arr[ 3 ] === 0 && // wrap around arr[ 4 ] === 1 // wrap around ); } catch ( err ) { // eslint-disable-line no-unused-vars bool = false; } return bool; } // EXPORTS // module.exports = hasUint32ArraySupport; },{"./uint32array.js":27,"@stdlib/assert/is-uint32array":38,"@stdlib/constants/uint32/max":45}],27:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var main = ( typeof Uint32Array === 'function' ) ? Uint32Array : null; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = main; },{}],28:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test for native `Uint8Array` support. * * @module @stdlib/assert/has-uint8array-support * * @example * var hasUint8ArraySupport = require( '@stdlib/assert/has-uint8array-support' ); * * var bool = hasUint8ArraySupport(); * // returns <boolean> */ // MODULES // var hasUint8ArraySupport = require( './main.js' ); // EXPORTS // module.exports = hasUint8ArraySupport; },{"./main.js":29}],29:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isUint8Array = require( '@stdlib/assert/is-uint8array' ); var UINT8_MAX = require( '@stdlib/constants/uint8/max' ); var GlobalUint8Array = require( './uint8array.js' ); // MAIN // /** * Tests for native `Uint8Array` support. * * @returns {boolean} boolean indicating if an environment has `Uint8Array` support * * @example * var bool = hasUint8ArraySupport(); * // returns <boolean> */ function hasUint8ArraySupport() { var bool; var arr; if ( typeof GlobalUint8Array !== 'function' ) { return false; } // Test basic support... try { arr = [ 1, 3.14, -3.14, UINT8_MAX+1, UINT8_MAX+2 ]; arr = new GlobalUint8Array( arr ); bool = ( isUint8Array( arr ) && arr[ 0 ] === 1 && arr[ 1 ] === 3 && // truncation arr[ 2 ] === UINT8_MAX-2 && // truncation and wrap around arr[ 3 ] === 0 && // wrap around arr[ 4 ] === 1 // wrap around ); } catch ( err ) { // eslint-disable-line no-unused-vars bool = false; } return bool; } // EXPORTS // module.exports = hasUint8ArraySupport; },{"./uint8array.js":30,"@stdlib/assert/is-uint8array":40,"@stdlib/constants/uint8/max":46}],30:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var main = ( typeof Uint8Array === 'function' ) ? Uint8Array : null; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = main; },{}],31:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a value is a Float64Array. * * @module @stdlib/assert/is-float64array * * @example * var isFloat64Array = require( '@stdlib/assert/is-float64array' ); * * var bool = isFloat64Array( new Float64Array( 10 ) ); * // returns true * * bool = isFloat64Array( [] ); * // returns false */ // MODULES // var isFloat64Array = require( './main.js' ); // EXPORTS // module.exports = isFloat64Array; },{"./main.js":32}],32:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var nativeClass = require( '@stdlib/utils/native-class' ); // VARIABLES // var hasFloat64Array = ( typeof Float64Array === 'function' ); // eslint-disable-line stdlib/require-globals // MAIN // /** * Tests if a value is a Float64Array. * * @param {*} value - value to test * @returns {boolean} boolean indicating whether value is a Float64Array * * @example * var bool = isFloat64Array( new Float64Array( 10 ) ); * // returns true * * @example * var bool = isFloat64Array( [] ); * // returns false */ function isFloat64Array( value ) { return ( ( hasFloat64Array && value instanceof Float64Array ) || // eslint-disable-line stdlib/require-globals nativeClass( value ) === '[object Float64Array]' ); } // EXPORTS // module.exports = isFloat64Array; },{"@stdlib/utils/native-class":69}],33:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var Uint8Array = require( '@stdlib/array/uint8' ); var Uint16Array = require( '@stdlib/array/uint16' ); // MAIN // var ctors = { 'uint16': Uint16Array, 'uint8': Uint8Array }; // EXPORTS // module.exports = ctors; },{"@stdlib/array/uint16":4,"@stdlib/array/uint8":10}],34:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Return a boolean indicating if an environment is little endian. * * @module @stdlib/assert/is-little-endian * * @example * var IS_LITTLE_ENDIAN = require( '@stdlib/assert/is-little-endian' ); * * var bool = IS_LITTLE_ENDIAN; * // returns <boolean> */ // MODULES // var IS_LITTLE_ENDIAN = require( './main.js' ); // EXPORTS // module.exports = IS_LITTLE_ENDIAN; },{"./main.js":35}],35:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var ctors = require( './ctors.js' ); // VARIABLES // var bool; // FUNCTIONS // /** * Returns a boolean indicating if an environment is little endian. * * @private * @returns {boolean} boolean indicating if an environment is little endian * * @example * var bool = isLittleEndian(); * // returns <boolean> */ function isLittleEndian() { var uint16view; var uint8view; uint16view = new ctors[ 'uint16' ]( 1 ); /* * Set the uint16 view to a value having distinguishable lower and higher order words. * * 4660 => 0x1234 => 0x12 0x34 => '00010010 00110100' => (0x12,0x34) == (18,52) */ uint16view[ 0 ] = 0x1234; // Create a uint8 view on top of the uint16 buffer: uint8view = new ctors[ 'uint8' ]( uint16view.buffer ); // If little endian, the least significant byte will be first... return ( uint8view[ 0 ] === 0x34 ); } // MAIN // bool = isLittleEndian(); // EXPORTS // module.exports = bool; },{"./ctors.js":33}],36:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a value is a Uint16Array. * * @module @stdlib/assert/is-uint16array * * @example * var isUint16Array = require( '@stdlib/assert/is-uint16array' ); * * var bool = isUint16Array( new Uint16Array( 10 ) ); * // returns true * * bool = isUint16Array( [] ); * // returns false */ // MODULES // var isUint16Array = require( './main.js' ); // EXPORTS // module.exports = isUint16Array; },{"./main.js":37}],37:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var nativeClass = require( '@stdlib/utils/native-class' ); // VARIABLES // var hasUint16Array = ( typeof Uint16Array === 'function' ); // eslint-disable-line stdlib/require-globals // MAIN // /** * Tests if a value is a Uint16Array. * * @param {*} value - value to test * @returns {boolean} boolean indicating whether value is a Uint16Array * * @example * var bool = isUint16Array( new Uint16Array( 10 ) ); * // returns true * * @example * var bool = isUint16Array( [] ); * // returns false */ function isUint16Array( value ) { return ( ( hasUint16Array && value instanceof Uint16Array ) || // eslint-disable-line stdlib/require-globals nativeClass( value ) === '[object Uint16Array]' ); } // EXPORTS // module.exports = isUint16Array; },{"@stdlib/utils/native-class":69}],38:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a value is a Uint32Array. * * @module @stdlib/assert/is-uint32array * * @example * var isUint32Array = require( '@stdlib/assert/is-uint32array' ); * * var bool = isUint32Array( new Uint32Array( 10 ) ); * // returns true * * bool = isUint32Array( [] ); * // returns false */ // MODULES // var isUint32Array = require( './main.js' ); // EXPORTS // module.exports = isUint32Array; },{"./main.js":39}],39:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var nativeClass = require( '@stdlib/utils/native-class' ); // VARIABLES // var hasUint32Array = ( typeof Uint32Array === 'function' ); // eslint-disable-line stdlib/require-globals // MAIN // /** * Tests if a value is a Uint32Array. * * @param {*} value - value to test * @returns {boolean} boolean indicating whether value is a Uint32Array * * @example * var bool = isUint32Array( new Uint32Array( 10 ) ); * // returns true * * @example * var bool = isUint32Array( [] ); * // returns false */ function isUint32Array( value ) { return ( ( hasUint32Array && value instanceof Uint32Array ) || // eslint-disable-line stdlib/require-globals nativeClass( value ) === '[object Uint32Array]' ); } // EXPORTS // module.exports = isUint32Array; },{"@stdlib/utils/native-class":69}],40:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a value is a Uint8Array. * * @module @stdlib/assert/is-uint8array * * @example * var isUint8Array = require( '@stdlib/assert/is-uint8array' ); * * var bool = isUint8Array( new Uint8Array( 10 ) ); * // returns true * * bool = isUint8Array( [] ); * // returns false */ // MODULES // var isUint8Array = require( './main.js' ); // EXPORTS // module.exports = isUint8Array; },{"./main.js":41}],41:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var nativeClass = require( '@stdlib/utils/native-class' ); // VARIABLES // var hasUint8Array = ( typeof Uint8Array === 'function' ); // eslint-disable-line stdlib/require-globals // MAIN // /** * Tests if a value is a Uint8Array. * * @param {*} value - value to test * @returns {boolean} boolean indicating whether value is a Uint8Array * * @example * var bool = isUint8Array( new Uint8Array( 10 ) ); * // returns true * * @example * var bool = isUint8Array( [] ); * // returns false */ function isUint8Array( value ) { return ( ( hasUint8Array && value instanceof Uint8Array ) || // eslint-disable-line stdlib/require-globals nativeClass( value ) === '[object Uint8Array]' ); } // EXPORTS // module.exports = isUint8Array; },{"@stdlib/utils/native-class":69}],42:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Double-precision floating-point negative infinity. * * @module @stdlib/constants/float64/ninf * @type {number} * * @example * var FLOAT64_NINF = require( '@stdlib/constants/float64/ninf' ); * // returns -Infinity */ // MODULES // var Number = require( '@stdlib/number/ctor' ); // MAIN // /** * Double-precision floating-point negative infinity. * * ## Notes * * Double-precision floating-point negative infinity has the bit sequence * * ```binarystring * 1 11111111111 00000000000000000000 00000000000000000000000000000000 * ``` * * @constant * @type {number} * @default Number.NEGATIVE_INFINITY * @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} */ var FLOAT64_NINF = Number.NEGATIVE_INFINITY; // EXPORTS // module.exports = FLOAT64_NINF; },{"@stdlib/number/ctor":57}],43:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Double-precision floating-point positive infinity. * * @module @stdlib/constants/float64/pinf * @type {number} * * @example * var FLOAT64_PINF = require( '@stdlib/constants/float64/pinf' ); * // returns Infinity */ // MAIN // /** * Double-precision floating-point positive infinity. * * ## Notes * * Double-precision floating-point positive infinity has the bit sequence * * ```binarystring * 0 11111111111 00000000000000000000 00000000000000000000000000000000 * ``` * * @constant * @type {number} * @default Number.POSITIVE_INFINITY * @see [IEEE 754]{@link https://en.wikipedia.org/wiki/IEEE_754-1985} */ var FLOAT64_PINF = Number.POSITIVE_INFINITY; // eslint-disable-line stdlib/require-globals // EXPORTS // module.exports = FLOAT64_PINF; },{}],44:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Maximum unsigned 16-bit integer. * * @module @stdlib/constants/uint16/max * @type {integer32} * * @example * var UINT16_MAX = require( '@stdlib/constants/uint16/max' ); * // returns 65535 */ // MAIN // /** * Maximum unsigned 16-bit integer. * * ## Notes * * The number has the value * * ```tex * 2^{16} - 1 * ``` * * which corresponds to the bit sequence * * ```binarystring * 1111111111111111 * ``` * * @constant * @type {integer32} * @default 65535 */ var UINT16_MAX = 65535|0; // asm type annotation // EXPORTS // module.exports = UINT16_MAX; },{}],45:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Maximum unsigned 32-bit integer. * * @module @stdlib/constants/uint32/max * @type {uinteger32} * * @example * var UINT32_MAX = require( '@stdlib/constants/uint32/max' ); * // returns 4294967295 */ // MAIN // /** * Maximum unsigned 32-bit integer. * * ## Notes * * The number has the value * * ```tex * 2^{32} - 1 * ``` * * which corresponds to the bit sequence * * ```binarystring * 11111111111111111111111111111111 * ``` * * @constant * @type {uinteger32} * @default 4294967295 */ var UINT32_MAX = 4294967295; // EXPORTS // module.exports = UINT32_MAX; },{}],46:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Maximum unsigned 8-bit integer. * * @module @stdlib/constants/uint8/max * @type {integer32} * * @example * var UINT8_MAX = require( '@stdlib/constants/uint8/max' ); * // returns 255 */ // MAIN // /** * Maximum unsigned 8-bit integer. * * ## Notes * * The number has the value * * ```tex * 2^{8} - 1 * ``` * * which corresponds to the bit sequence * * ```binarystring * 11111111 * ``` * * @constant * @type {integer32} * @default 255 */ var UINT8_MAX = 255|0; // asm type annotation // EXPORTS // module.exports = UINT8_MAX; },{}],47:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a double-precision floating-point numeric value is `NaN`. * * @module @stdlib/math/base/assert/is-nan * * @example * var isnan = require( '@stdlib/math/base/assert/is-nan' ); * * var bool = isnan( NaN ); * // returns true * * bool = isnan( 7.0 ); * // returns false */ // MODULES // var isnan = require( './main.js' ); // EXPORTS // module.exports = isnan; },{"./main.js":48}],48:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // /** * Tests if a double-precision floating-point numeric value is `NaN`. * * @param {number} x - value to test * @returns {boolean} boolean indicating whether the value is `NaN` * * @example * var bool = isnan( NaN ); * // returns true * * @example * var bool = isnan( 7.0 ); * // returns false */ function isnan( x ) { return ( x !== x ); } // EXPORTS // module.exports = isnan; },{}],49:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a double-precision floating-point numeric value is negative zero. * * @module @stdlib/math/base/assert/is-negative-zero * * @example * var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' ); * * var bool = isNegativeZero( -0.0 ); * // returns true * * bool = isNegativeZero( 0.0 ); * // returns false */ // MODULES // var isNegativeZero = require( './main.js' ); // EXPORTS // module.exports = isNegativeZero; },{"./main.js":50}],50:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var NINF = require( '@stdlib/constants/float64/ninf' ); // MAIN // /** * Tests if a double-precision floating-point numeric value is negative zero. * * @param {number} x - value to test * @returns {boolean} boolean indicating whether the value is negative zero * * @example * var bool = isNegativeZero( -0.0 ); * // returns true * * @example * var bool = isNegativeZero( 0.0 ); * // returns false */ function isNegativeZero( x ) { return (x === 0.0 && 1.0/x === NINF); } // EXPORTS // module.exports = isNegativeZero; },{"@stdlib/constants/float64/ninf":42}],51:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Test if a double-precision floating-point numeric value is positive zero. * * @module @stdlib/math/base/assert/is-positive-zero * * @example * var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); * * var bool = isPositiveZero( 0.0 ); * // returns true * * bool = isPositiveZero( -0.0 ); * // returns false */ // MODULES // var isPositiveZero = require( './main.js' ); // EXPORTS // module.exports = isPositiveZero; },{"./main.js":52}],52:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var PINF = require( '@stdlib/constants/float64/pinf' ); // MAIN // /** * Tests if a double-precision floating-point numeric value is positive zero. * * @param {number} x - value to test * @returns {boolean} boolean indicating whether the value is positive zero * * @example * var bool = isPositiveZero( 0.0 ); * // returns true * * @example * var bool = isPositiveZero( -0.0 ); * // returns false */ function isPositiveZero( x ) { return (x === 0.0 && 1.0/x === PINF); } // EXPORTS // module.exports = isPositiveZero; },{"@stdlib/constants/float64/pinf":43}],53:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var toWords = require( '@stdlib/number/float64/base/to-words' ); var getHighWord = require( '@stdlib/number/float64/base/get-high-word' ); var fromWords = require( '@stdlib/number/float64/base/from-words' ); // VARIABLES // // 10000000000000000000000000000000 => 2147483648 => 0x80000000 var SIGN_MASK = 0x80000000>>>0; // asm type annotation // 01111111111111111111111111111111 => 2147483647 => 0x7fffffff var MAGNITUDE_MASK = 0x7fffffff|0; // asm type annotation // High/low words workspace: var WORDS = [ 0, 0 ]; // WARNING: not thread safe // MAIN // /** * Returns a double-precision floating-point number with the magnitude of `x` and the sign of `y`. * * @param {number} x - number from which to derive a magnitude * @param {number} y - number from which to derive a sign * @returns {number} a double-precision floating-point number * * @example * var z = copysign( -3.14, 10.0 ); * // returns 3.14 * * @example * var z = copysign( 3.14, -1.0 ); * // returns -3.14 * * @example * var z = copysign( 1.0, -0.0 ); * // returns -1.0 * * @example * var z = copysign( -3.14, -0.0 ); * // returns -3.14 * * @example * var z = copysign( -0.0, 1.0 ); * // returns 0.0 */ function copysign( x, y ) { var hx; var hy; // Split `x` into higher and lower order words: toWords( WORDS, x ); hx = WORDS[ 0 ]; // Turn off the sign bit of `x`: hx &= MAGNITUDE_MASK; // Extract the higher order word from `y`: hy = getHighWord( y ); // Leave only the sign bit of `y` turned on: hy &= SIGN_MASK; // Copy the sign bit of `y` to `x`: hx |= hy; // Return a new value having the same magnitude as `x`, but with the sign of `y`: return fromWords( hx, WORDS[ 1 ] ); } // EXPORTS // module.exports = copysign; },{"@stdlib/number/float64/base/from-words":59,"@stdlib/number/float64/base/get-high-word":63,"@stdlib/number/float64/base/to-words":65}],54:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Return a double-precision floating-point number with the magnitude of `x` and the sign of `y`. * * @module @stdlib/math/base/special/copysign * * @example * var copysign = require( '@stdlib/math/base/special/copysign' ); * * var z = copysign( -3.14, 10.0 ); * // returns 3.14 * * z = copysign( 3.14, -1.0 ); * // returns -3.14 * * z = copysign( 1.0, -0.0 ); * // returns -1.0 * * z = copysign( -3.14, -0.0 ); * // returns -3.14 * * z = copysign( -0.0, 1.0 ); * // returns 0.0 */ // MODULES // var copysign = require( './copysign.js' ); // EXPORTS // module.exports = copysign; },{"./copysign.js":53}],55:[function(require,module,exports){ module.exports={"expected":[0.43497157484184834,-0.15010047715333638,0.2539541709677389,0.06264531226251156,-0.1072681902493254,0.12018580155165533,-0.5305836459406659,-0.34566889007056806,1.0160845681091324,1.6198343038786336,-0.09253445737616475,-1.2080911887972439,-2.3333770505734095,-1.4932202445259446,-1.0170755504207099,-2.7560976653408162,1.9010393668629424,1.6588137440876494,-0.45766005971767,-3.708876365835085,-5.9235032324466905,7.287729651489718,-1.8381778910797664,-9.886606849617834,-5.24326469303108,-13.699310960357996,-12.961964464640436,-7.819796714202524,-7.063414491325447,13.440314118468457,16.389242377998666,-36.806950452274044,44.187531114649026,-43.763179480335786,54.692384038398735,60.377981092799565,-40.43119176281684,-21.8550687186874,11.143304402369338,-121.65855220679707,-50.34244558165493,13.587648309778821,58.605334299712794,92.61334526843277,-178.68046587568273,262.92777753625325,217.22034323718688,387.8377614040917,178.55252717502827,180.95251497554995,-186.7083247141428,-511.0378982291795,-718.6252878147527,323.94259754868233,-1049.9258207543774,941.1572128686671,1219.2105064742805,1182.9524437666553,939.5254711490703,931.3764156196946,2389.4265797439607,-2218.075674240266,1370.7138169670711,758.5742642393506,3849.215625830849,2401.5611869989802,-4629.2041124150355,5325.492678191718,5696.044698080696,1140.181499000982,9023.122002549519,777.6417990509497,-5569.597740395798,3445.321102551342,-17022.591284251885,16053.31613626138,13815.385080560322,9788.443577778942,27252.686860142832,28755.100667510444,-7729.740074287297,15739.736865161674,-48618.41693482534,6993.718148676303,53685.00249284894,-57558.19012345115,6851.614507909886,91964.62243527638,78769.48763327535,-105027.72738288617,60660.24569214542,-58016.392165104975,26461.875523003564,194672.27913522295,81089.2302330641,134147.50296873838,213922.47067219554,-169882.75575374355,73550.71989424543,28719.574023341625,-648699.4200020295,308975.3238651296,-797585.3860973811,109407.08613233859,291540.40064228716,-709325.0217573226,1.662334351466881e6,-950077.4300492245,-300043.7608806616,-1.7468184821626556e6,1.2247988213567787e6,-2.9773314265703047e6,-2.6317345691407453e6,1.2082093049929219e6,-1.314835363159151e6,172887.79681578698,-1.5814734047434167e6,4.219165042572861e6,5.473342201746006e6,9.774663504859472e6,6.961301551054033e6,9.02018932600273e6,-8.488080717183426e6,2.1805085145482537e6,1.525306001867463e7,6.389734311527635e6,1.5317752522751138e7,2.7160459800526205e7,-7.6986701494832225e6,1.270841371921333e7,-4.465572424689666e7,-3.007555990448484e6,-1.912650891542448e6,7.05029910994617e7,2.2633205295803454e7,9.959983544178037e7,-8.056990927080914e7,6.057169871861176e6,-1.2406192265772378e7,1.2060970606025375e8,4.1724061777714275e7,1.827083483291051e8,-1.3382264571051857e8,2.0753351855826718e8,-1.0394662701765661e8,-2.5082669593327653e8,-2.0264328078692898e8,4.1909677133447075e8,1.5646196919092923e8,-4.726079722365258e8,8.348062325298866e8,8.914126219477516e8,8.381863684750868e8,1.0394288686948229e9,-4.3526303861218816e8,-9.274539679770796e8,1.4384467560668278e9,6.429485126873525e8,1.91124753668649e9,2.1185506997685783e9,2.330337115202973e9,1.4518277577043517e9,3.593143540169696e9,-3.381960841841608e9,-1.8667072742097456e9,-5.542988090529959e9,3.6187016226650624e9,1.4622341498631105e9,-1.0175912087294853e10,-2.1437974567316406e9,-1.033060483454764e10,1.2902583860444954e10,-6.26654364769084e9,9.890691213710228e9,-2.0145909583221153e10,-2.3981026097234673e10,-3.3142546281300632e10,-1.638362828303224e10,3.0002735739668518e10,6.786649832714996e9,3.008760186128538e10,6.638298197082925e10,-5.104005323131454e10,-8.085543214013052e10,-9.35035697908772e10,1.105250517642815e11,1.1464573490713794e11,-5.41956069816717e10,1.498785893507134e10,-1.910232244576246e11,-1.3507492398078348e11,1.5095342580566946e11,-2.5239670010676688e11,2.5893894547352982e11,7.84454537417793e10,-2.829580032694481e11,-2.3990547886757233e11,3.905471922282518e11,-7.249309521081073e11,-3.3446876010328296e11,-2.212835056052614e11,-5.200149346222085e11,-1.4372994691313736e11,7.134544080964236e11,2.6068244802723087e11,-8.685519331550907e11,-3.690115619409074e10,-5.308698334544345e11,1.6124251098887317e12,1.3427177254515747e11,2.73906488874049e12,4.589158304515779e12,-4.840320518109329e11,4.934794884509821e12,1.3519962616901892e12,-3.0993091734718184e12,3.6009455041232305e12,-9.147159665838168e12,9.903727106150506e12,-6.993477876102802e11,3.7139843652678193e12,1.2033132442263674e13,5.513546038891137e12,-1.570378050920037e11,-6.372232260162437e12,-2.1669886089428867e13,2.797502328512145e13,-2.1377597380952793e13,-4.027873304529705e13,-5.3245894221167234e13,5.339044156236833e13,-5.295323124023209e13,-7.832143223039848e13,-5.271973109627895e13,4.086978088129459e13,4.938866492925324e13,-3.654831135324417e12,1.97522342281851e14,1.8486718724880494e14,-1.424622354894202e14,1.0426101873595897e14,7.773941033663058e13,-1.8602161491095116e14,3.354977845220704e14,-5.157313545211338e14,2.0026154451238838e14,-3.394874313461453e14,-8.175849331696286e14,7.193331736523336e14,-1.5114038413381034e14,4.208631468819139e14,-1.4770944983522806e14,1.492561769694354e15,1.8173530245987882e15,-1.5579123883445448e15,2.043085178003042e15,2.4620902892975805e15,2.0049716526215392e15,-1.9894582832848715e15,8.044051155771645e14,3.41312309821306e15,6.094651529399894e14,1.4784725129202806e14,3.4447449450103725e15,-3.6663058403771865e15,-3.3966516637518755e15,-2.2068325037466282e15,-4.839691399183597e15,9.83323417643566e15,1.4469147051969624e16,-1.367088048841351e15,-2.2608167789466784e16,6.772833858606839e15,7.928959958613202e15,5.573716058151995e14,-5.89980749513493e15,8.492256626312094e15,-5.448609430537336e16,-4.2221095699638136e16,9.43674277531044e15,3.5044815135508556e16,-6.12656456436862e16,-1.6216405628358402e16,7.138437611700459e16,-3.919280665064737e16,-1.3112356125845123e17,-4.463877586471621e16,-2.2220144501843395e17,1.6940011889748422e17,1.5408791005809603e17,2.656982730306088e17,3.469431265228994e17,2.7172660952427828e16,9.223350294572882e16,-1.0310374479208238e17,-3.0486802574508605e15,7.326459486480188e15,-2.0144871902911293e17,-8.649769005379019e16,3.0813973931292634e17,-9.882047984761686e17,-8.655123193019277e17,-1.4182945229438643e18,-2.3014158745180012e18,5.262997259637612e17,-2.2546365960414996e18,2.3323085520940703e18,6.506380923696004e17,-1.900944451572027e18,3.3102606846739686e18,-5.852156058895301e18,-2.4201671754763095e18,-8.03630505057726e18,7.525361987174911e17,-1.0345600269660703e19,-5.806534237021872e18,-7.462731627861005e18,-1.2735066351828386e19,-3.3010692919368013e18,-2.2087418028492124e19,-2.4348649671069794e19,7.864043861414026e18,-2.9678444978079162e19,-1.8200097732920242e19,3.829316541368753e19,-3.5807872325448184e19,7.736542115430565e18,1.6697436984679047e19,-1.320038953058322e19,-1.0953773043870912e18,-8.318921891295892e19,-1.1967901280157306e20,1.1329571444535896e19,-2.0705571680896725e19,5.271023175672963e19,1.2740831174059611e20,-5.442323916548083e19,1.6199634380939444e20,-1.9529777407872244e20,-1.4676079801686345e20,-3.1271686195163536e20,-2.3965037737059697e20,8.377000258354609e19,-2.6713574843046986e20,-3.5866788817501074e20,4.786210706898456e20,-8.829201656158961e20,-7.172324780024e18,1.3638697648865613e21,1.263513028437273e21,-1.0428161605703255e21,1.3256116637258248e19,9.856422065554264e20,-1.3020359692637623e20,3.001927486645225e21,2.768161125446647e21,-2.4604472034715983e21,-1.5440514462061856e21,-4.158910458889594e21,-3.272896493918402e21,3.642427349767036e20,-3.606159232011188e21,7.560209371164147e21,1.0978378869267421e22,1.0305162643058622e22,1.082847837479616e22,1.65597360452191e22,-7.48869545056121e21,4.586843383736663e21,1.8317561019744072e22,-2.411078526117197e21,1.0557891113099341e22,1.7023257897922755e22,2.588545632779483e22,2.4174352641517788e22,-4.473158057705083e22,3.1871649133593803e22,5.4867341002497585e22,-3.288038260570098e22,4.1168273753754097e18,-1.1760516094255239e22,-3.079705492347503e22,1.2004457702519331e23,9.366138698342023e22,1.866323569660468e23,-8.783472372261424e22,-5.5008861224706656e22,-1.689228933595139e23,-8.40681811842974e21,1.9057955179298664e23,-3.663979587866331e23,-3.22213683132559e23,-2.185701924004878e23,-1.013028754246157e22,-7.32674376009342e23,8.232054791206192e23,-3.471515390931106e23,6.011790972163611e23,9.579664951595475e23,-1.381515865378984e24,8.678461382264928e23,-1.2518338683468338e24,4.067686289696273e23,8.613887373286884e23,-1.918702193704413e24,-2.3766824693865224e24,-1.2132308836825566e24,5.571506424999502e24,5.673885840196479e24,5.735550663752401e24,6.887406803724023e23,9.024728141864521e24,1.233709784478749e24,1.0507001479892047e25,-1.8718065752933465e24,-8.115063106124055e24,-1.7605077172447019e25,-6.56459720362834e24,2.1569848925440793e25,-3.2240269415472387e25,1.3749942816268662e25,-3.9742084370173775e25,9.323129676361521e24,3.0077108808219398e25,-7.377194668244235e24,-4.033463928717066e25,-3.985741261752897e25,8.130532113163474e25,-9.84679252335089e25,1.2840678855192536e26,-1.3358813930973655e26,7.858041742279172e25,9.568083231789229e25,5.586331258811619e25,2.5415635767493888e26,1.669691492403373e26,1.7506002395570906e26,3.218703408472816e26,1.1057000542236281e26,4.903250071576581e25,-4.8050862428931864e26,6.612714926319724e26,3.305369636821056e26,-6.372345679824178e26,-4.203667287823454e26,-7.6907956099215245e25,1.2471673894198196e27,-9.834351082470072e24,-8.977477148570969e26,-6.227368369348516e26,7.775209540510202e26,1.465808378917338e27,-6.752470765729232e25,1.4279347824656203e27,2.5753365697634665e27,-9.358374368604996e26,-4.528731492497845e27,-4.280037063958426e27,-3.281733442693349e26,3.4994800559875665e27,7.951434130174507e27,-1.1720692026749541e28,-6.758890318542801e27,-9.996479139119902e27,-7.264038002905095e27,-9.664722714373229e27,8.670382040892681e27,2.482427510529679e28,-1.5922016057278117e28,-3.503037049604583e28,1.2332681388639902e28,4.699208786542089e26,3.6706783997627137e28,-4.360230885798857e28,6.042121960262415e27,3.487896172047422e28,-5.504265955796888e28,1.1507914305219901e27,-7.802393824067232e28,-1.3729165226455162e29,4.260575569425687e28,1.8458622408806794e29,-2.1985909262139527e29,-2.6807351099611415e29,2.3315537253376978e29,3.6446009508301896e28,2.2644067923785657e29,-1.4484274350053033e29,4.4071369208910276e29,3.7824446307098146e29,-2.617383046576509e29,-6.925725655866124e29,3.23684376637048e29,-8.53550772175778e29,1.3243858199959584e29,6.771180052063082e29,1.3612181900869523e30,1.6869309468582948e30,1.126308641336042e30,-2.728104511449847e30,9.750046887968531e29,-1.3148321989309203e30,1.9474954028925187e30,5.1655848170954876e29,-5.229038271512041e30,1.2996653687262091e30,-5.16011818553472e30,8.471281741358943e30,-1.2348065073081415e30,-4.165095316322187e30,4.3701936450188216e30,-2.2603219303057864e29,-1.2604143305183909e30,1.0050857881767483e31,1.5653565299142068e31,2.0038826897228798e30,3.0161130069868986e31,7.656841246237878e30,-3.9021074980995444e31,2.8602465871165145e31,-2.5168701648828053e31,-2.1330619222891066e31,6.858243777278072e31,-8.088164643182479e31,-7.619341535633862e31,9.57486016854517e31,4.393693703897732e31,-5.0019128930372475e31,5.597084194843198e31,1.5592377921179656e32,3.688070786669254e31,1.687221634097781e32,-2.9293491525331752e32,-1.9318474657255183e32,-8.144249359156685e31,1.5384421869087244e32,1.917637420036449e32,-2.985739437206316e32,6.35827703375524e32,4.947001171028808e32,7.498837506008086e32,-4.877983669698e32,6.723703905988273e32,6.896301801244803e32,1.2503137459269042e33,1.481739660956156e33,-1.7786037017290103e33,-6.49388487989243e32,-3.688944757359986e32,2.19186800169843e33,-2.834252206890038e33,-3.787344073045171e33,-4.1167827057862875e32,3.587834551651104e33,-5.750920567771073e33,-2.3963621219172972e33,-5.728904406118865e33,-7.757115629933355e33,-3.70095586072792e33,1.2761394700621974e34,-1.022641767279895e34,4.709669467499891e33,8.324291346729784e33,-1.106309069925363e33,1.1731611173079483e34,-2.1402865134948156e34,-1.753457794944028e34,2.773701228120251e34,-3.7345241952958336e34,-9.527753099811395e32,-5.207677836748266e34,1.8582714924435668e34,4.384773667116175e34,-3.4472354825628303e33,4.503849576096294e34,1.2345833901816326e35,7.585603066819954e34,1.4055260075208247e35,-1.092209280922554e35,-2.2728168913863686e35,-1.8118987139740435e35,2.0854625111960347e35,2.11197943452663e35,3.628699778701036e35,4.436299436590041e35,-3.877844244583064e35,-5.744910681711726e35,4.47640557106851e35,7.70058695315896e35,-7.826903827148644e35,6.077609380648483e35,1.0571416660818326e36,-4.239844053293536e35,-4.8280098484932795e35,-4.033751055502859e35,-6.206437791185988e35,-5.496876473728024e35,5.248803526794584e35,1.0103180345461527e36,3.68870942618164e36,-2.4857512140432512e36,-1.4414924650671723e36,4.8819424443033706e36,2.5737283195103316e35,-2.1164510505749554e36,4.6587323301932626e36,6.457815392128323e36,-8.591210219175005e36,-6.023710924359552e36,-1.4933736717754512e37,5.610127276218413e36,2.1691518147251804e37,1.5934426563876718e37,-1.451355798635241e37,-2.7614512417695606e37,8.383020121293721e36,-2.7026049672984083e37,2.8136138301682046e37,8.6776428359142e36,6.491831695742858e36,4.3278628409606e36,-1.5189106614879772e37,-3.5324799610183106e37,1.0762383798220355e38,1.0602833961916143e38,7.774581337044785e36,-2.3075926175484907e37,1.9371589319916382e38,1.4176342787229765e38,2.3113431944184724e38,1.1907118185827336e38,-4.524059402877636e37,-1.4270448416191211e38,-3.758735766980782e38,4.394434417167274e38,-2.9822104868013443e37,-2.7472026973628383e38,-7.172459705698075e38,-8.825075691478272e38,-3.930100929337645e36,-1.3010976219854981e39,-1.0979852741725294e39,-9.789979386187166e38,1.826507704994234e39,7.979101613441712e35,-2.7617668452476276e37,-2.0534707220575364e39,-8.616367375299745e38,2.1171054005952972e39,-4.181199465137397e39,-4.6593965556440844e39,9.715031454719559e37,4.329273174322789e39,3.492286034488096e38,1.7211299113368578e39,3.9139880328415305e39,-4.2469247529801014e39,-2.408158369344288e39,8.240740734901941e38,6.835130379700089e39,9.905540048084736e39,-2.356083525591447e40,-1.7114833410738502e40,-6.05382216595332e38,-2.346989003979294e40,7.982876692512124e39,-2.146266626939421e39,-3.353984372418151e40,1.5411005452096164e40,-7.880931622291385e40,-9.085205281917539e39,-9.034059171277544e40,-1.0099179996452712e41,1.195345728109989e41,9.947904403823785e40,-1.7404561121534643e40,-5.286380442252326e40,-5.066778959671406e40,1.2865321664352645e41,2.3941002871829644e41,-4.591326266139375e40,-2.9097525776617986e41,1.3953805054181118e41,2.248048746141688e41,-8.268912525635339e40,-5.865760244887935e41,5.309485137916436e41,1.0243901721611663e41,1.1888532941314279e42,1.0524683479940292e42,8.044258326851778e41,1.4102998058561024e42,-8.079870945668543e41,-1.4453407775172296e42,-2.5840339827242482e42,-2.598190762592955e42,-2.87901823094924e42,-2.2870195168730477e42,1.1606121848082623e42,-1.111483933019914e42,1.0184549326445018e41,-3.084807104417064e42,7.917102114606175e42,-5.629183838129693e42,-9.249988088056305e42,-4.388857575092732e42,1.3255625039566637e43,1.211637051231918e43,1.6436230666340752e43,4.2662392449122003e42,1.8047575655696674e43,1.4353477163983784e43,-3.562622751746606e43,-3.126463710010954e43,1.8430853174599817e43,-4.370731937915365e43,1.2291888890063016e43,-4.973321765652985e43,5.628147257173622e43,7.205384419296031e43,1.097800893596012e43,-6.464231129195661e43,-2.7550987947077666e42,7.271264565334179e43,-1.7519539167536895e44,-1.1068744095743042e44,2.30606328666207e44,1.267685162552547e44,-2.5787838503135815e44,-1.8832903297299458e44,4.468568703145874e44,5.470191329502723e43,2.2891960361260753e44,-4.426742055297781e44,-3.328971805924053e44,7.105436785118046e44,6.254011108429011e44,1.1123477788612663e45,1.4702805776443654e44,-5.032753595179084e44,-5.1830368224368036e42,-7.982713683482407e44,1.9276866134420305e44,2.724915994428185e45,3.070162528759865e45,2.2757915850213298e45,-1.6419520359508182e45,-2.8508504252284582e45,3.885891908350534e45,6.251154702630672e45,-3.3566158084241946e45,6.8284604868974306e44,-8.567335629992558e45,5.025463062753351e45,-3.4375470689974863e45,3.519061001657076e45,1.2898363115437743e46,-7.844822870510422e44,1.814276954579367e46,1.1012062192543531e46,-1.6531866361698985e46,1.0924483742513815e46,-1.8353121293237983e45,1.4377970587887515e46,-5.688382137677118e46,1.4771863792280168e46,-5.660448395798225e46,-6.203313662773536e45,-5.058414524518583e46,1.272765058532275e46,1.3447000181883406e47,-2.0668502767651059e46,1.6535362636702088e47,-6.183893810765969e46,-4.160449966098317e45,-1.0022705575687175e47,9.801539033765765e46,4.233449958365007e45,1.5456728635760825e47,1.3077154990709181e47,1.2885797785727107e47,1.857775894990563e47,4.356047038879209e46,3.04686577069644e47,7.291852241828358e47,8.312206477051855e47,-7.1269982519481494e47,-1.3224700609932805e48,-9.269512765416474e47,-1.603338920674413e47,9.71212246387377e47,-4.626885549921943e46,4.59626270707438e47,1.2905958277235849e48,2.1336286182894664e48,2.4650240498396235e48,-5.3699993324617886e48,-3.59621585651431e48,6.55593968465685e48,7.59882131841325e48,4.776329170703828e48,9.939053182782485e48,1.1115709646737971e49,2.47506498671669e48,-2.2779894726416637e48,1.496246775426603e49,2.156666611174188e49,4.264882428762549e48,1.078025033298243e49,1.2067952755752987e49,-1.8340039116923247e49,2.699084549940132e48,-6.0918335152394e48,-1.5575077234380285e49,4.756438986148461e49,-6.087749324439424e49,5.499158765990068e49,6.49348450085047e49,1.0850689428220471e50,8.179068723001057e49,1.2473264548679887e50,-1.8628499407587565e50,2.06103495244739e50,-2.5416419409505184e49,-1.3594937937155445e49,3.025735541273999e50,4.348606304582945e49,4.678682789175657e49,-2.7758705963658273e49,-3.0354978776918723e50,-1.9219990894263067e50,-7.12128346360559e50,-1.4346684436624674e50,-1.3875124294742149e50,-9.54400322391448e50,9.847240547595353e50,-1.0423992706969562e51,-1.4364971715658686e51,1.861417415395961e50,1.8199353660726506e51,-2.187863815743006e51,3.132346403057123e51,1.6651257304571387e51,3.6001741698894204e51,-1.176900013650108e51,3.203847230757518e51,9.489896645994264e49,-2.7537632662824372e51,-3.355874506130803e51,2.5172936024458192e51,4.855193150871585e51,3.7993790959838455e51,1.562922871752917e51,6.596991654122327e51,-1.1515081731039225e52,9.006149254119004e51,-2.59224711891937e52,-1.782362004291417e52,1.305944140940611e52,1.5899575723797837e52,-1.3387404068467797e50,-4.251720428679879e51,-4.1052360988274e52,-5.72873475479521e52,1.5715733813738592e52,-4.085404136822804e51,7.437067820030638e52,9.919283198806568e52,1.4616120051484196e53,1.0100105320655688e53,1.6164130764862158e53,4.051895493292425e52,-1.8549990812903492e53,-2.5043335228954268e53,5.920502919340741e52,2.4430399562205074e53,-2.738701625903455e53,-4.7273712468895356e51,-4.3042933748549045e53,-5.043985194011316e53,-7.859944480737992e53,5.278603895796669e53,8.728214724252327e53,8.858469089152544e53,1.0219451254080024e54,-1.4966153194863713e54,-1.6541421692623244e54,-1.8438817273521115e54,7.16884121131883e52,-1.2157520056053426e54,-1.8098739695108777e53,-1.345411366424963e53,-1.532001847910237e54,1.0511704831528024e53,5.6406746515526235e54,-5.9565581652330595e54,7.766992350866801e54,-5.645121879980586e54,-4.8337400128229223e54,-1.0900355346583378e55,-4.591149628133182e54,-2.5994895570161294e54,-9.020641904986787e54,1.3114381883616714e55,-1.6080163744744036e55,7.152509666098912e54,-1.6182169862813455e55,5.9568964461361156e54,8.46522500284803e54,4.583960434118509e55,-3.7268898964184235e55,5.520039796223964e55,-3.5428765407003904e55,-1.655494415828475e55,-8.608491583450103e55,7.583975103480334e55,1.299002311859211e56,1.9198812009320105e55,1.6122418913417319e56,1.1101541568560163e56,-2.0184143971608623e56,2.6038108875729773e56,1.6505335293175683e56,-2.3014857486612444e56,2.3327355688549007e56,1.9349006094127487e56,-1.156963455910466e56,-4.731649381009377e56,-6.882064801865376e56,3.8274948290097547e56,-6.538908489972288e56,1.0354868481181882e57,9.937502002933187e56,1.094719546549926e56,-9.588891002478996e56,2.277754305108072e56,-1.457290126458062e57,7.155099892870969e56,2.1181693171433072e57,1.5728327126044796e57,-7.87407736116214e56,2.3508457090681903e57,-1.4452553494533004e57,-4.3833113241094204e57,5.369909323417814e57,-6.0771028241204713e57,1.4248090396391395e57,2.7612936256464383e57,-5.1905815737840666e57,1.0313380773794917e58,6.1346325806754335e56,5.581755216796156e57,-1.0256088169919404e58,1.2377806645495893e57,2.5921967019934843e58,-3.1044205849854313e58,2.5764293070934655e58,1.134778426920984e58,1.5126319581166366e57,-1.859877877488188e58,2.7956348933128917e58,2.1335390416816767e58,-6.956131231245662e58,7.695259314321479e58,-1.1536819492807835e59,-1.351088945475175e59,5.604930939614253e57,-5.091026974300659e57,-1.8752108957814998e59,-3.101727269353852e58,-8.02459770875572e58,2.5887412179081123e59,-3.2174677731802294e59,-4.090044011187263e59,-3.8756195876317815e59,-3.2457900707965105e59,-5.258033902000093e59,-5.739599333948483e59,-5.350582639778269e59,-5.554259232933495e59,-4.124278351092153e59,-9.90603378500528e59,1.4601508938027711e60,1.727353525571628e60,2.0535870978018073e60,-1.5747706254942151e60,-1.2739936333607436e60,5.768690610888403e59,-1.7538376498308408e60,-9.865285725449344e59,2.1663393661996842e60,3.719832316835865e60,-2.668210269330724e60,6.62839961486306e60,-7.849349096734455e60,-9.533523512831634e60,-3.9248878180633964e59,8.537316358445484e60,-8.021386285402868e60,-7.514841290146948e59,-1.5435647777925187e61,-7.470492161615392e60,1.6430857580951789e61,1.4612264896563996e61,-1.9377405482481676e61,1.1460237227280065e60,2.258939893947235e61,-7.854003418037873e60,2.703668707481423e61,6.288102926091292e61,7.118511155923564e61,-3.7866662243989875e61,-4.335159877532545e61,-1.1545265845093464e62,-8.925637868350848e61,-9.208966097215447e61,-1.6211383631330777e62,1.797996940795614e61,1.7005423995782021e62,3.5935665051684166e60,2.8772821789693904e62,-2.8459596249258303e62,2.4812264852875647e62,-1.196669911892154e62,-2.1513332042592163e62,-2.341599401366575e62,-4.850188946786083e61,-8.99396090805453e61,4.5003595926203135e62,-2.163774441535201e62,-8.65007914378513e62,-4.0720196323363364e62,-1.157108885108702e63,1.4315681576900801e63,-8.33018098021736e61,-2.2433263949794377e60,1.9183629201911582e63,1.5691458369098622e63,-3.642435490848347e63,2.6465087507773566e63,1.9923189033554777e63,-3.76251237953472e63,-6.380129225637294e63,7.104428170561318e63,6.434942233027908e63,-3.536780192538433e63,-9.786724617899072e63,1.0460890118768581e64,1.3998509351127062e63,-1.5643495764916438e64,1.4658342411416035e64,-1.9920252432140576e64,1.3635414904735715e64,-3.47669900317651e63,-2.976942735709435e64,-3.430361578112684e62,5.426593839155355e64,1.5591226718428256e64,-6.205284835476547e64,-7.29938873176216e64,-8.884780885553585e64,2.6487117718021702e63,-9.092788797713555e64,-4.645470099825209e64,-6.49480390934728e64,-1.6552129793357897e65,-4.558940923235732e64,-2.6025982895344735e65,1.078179313262988e65,-3.506669297400694e65,-2.0810287080436394e65,1.301418330167259e65,5.195739747687547e65,1.0287637203828229e65,-2.69104623022948e65,-6.100113137244319e65,8.1511004824875705e65,-6.335946780372435e65,5.323707277088486e65,1.3385690633096354e66,-4.500331816409263e65,-5.713360273077035e65,-1.0156839818253174e66,1.1685105862283914e66,7.067477094383367e64,2.640992670520857e66,-3.817871807338737e66,3.433875496469678e66,5.1683026413848606e66,-1.9718426073896844e66,1.4460506075283506e66,5.568678529963959e66,4.995148373738996e65,9.082732448014838e66,1.103161661926648e66,1.3581228631719205e67,-5.784382788004881e66,1.0102329272504386e67,-2.1530445099127967e67,-5.358946244158979e66,-7.288321806209234e66,3.383970597803344e66,-1.8658607883156783e67,1.8826792729007636e67,1.8106378174790277e67,-3.2033992637726025e67,-4.143697354522461e67,-4.3011340254911144e67,-2.33934342036058e67,8.533621278857996e67,-2.1235539091146192e67,-6.97113629263639e67,4.278254177866425e67,1.1078636549416216e67,1.800699489224916e68,-2.1824865449313576e68,2.1534869274832366e68,1.9014201371188717e68,-1.988566708894683e68,-2.5941789822913823e68,-3.783735413938034e68,-2.1992036595831608e67,6.127409769891019e68,2.9322839641331208e68,-3.7686962866402017e68,-1.3060734381128424e68,1.1341343714261776e69,-5.343931558798967e68,1.1648657048110213e69,-8.141462985224124e68,-1.033034342256611e69,-1.3078544857979887e69,1.8494955221589882e69,-2.3238101217086383e69,7.229608866294719e67,9.378574467495493e68,1.2047870966192491e69,-1.4935130332860724e69,-5.1025607822162535e69,-2.8677821536997546e69,-1.2147404243989437e69,-4.239166428888014e69,-6.239648432636151e69,-4.245654959511922e69,8.375767681155337e68,-2.726546726038274e69,-8.536345244540975e69,-1.5283889663212746e68,-1.0289111053971235e70,2.0931346150921405e70,-2.2782428855323573e70,1.997242509353756e70,2.9654356183491653e70,-3.2989113230629623e70,-5.575367644556667e68,2.4308718494283404e70,7.613688095072775e70,7.926506559677562e70,9.475844235352143e70,9.364372343679138e70,-2.1018214071827508e70,1.2859160476332809e71,-7.510399577136013e70,9.463595550190794e70,-2.5997408758499276e69,-2.7501804332437983e71,-3.256163370730465e71,-2.3323540948489684e70,-2.2221670764563824e71,-3.776273843303042e70,-8.945593464870765e70,-4.801292805509055e71,2.6170686849076516e71,-5.598343527703615e71,-4.797854969162482e71,-8.639484632073705e71,6.406029167553075e71,1.2712265559965997e72,1.2030903385161646e72,-2.0263288732549645e72,-2.259084268952694e72,2.6817997441834644e72,3.2364069485976223e71,-2.1506703787082855e72,-1.0137740425977513e72,-3.849469982476873e72,-2.562799853610657e72,-3.105701263022508e70,-2.351164958760541e72,2.3889241199492485e72,-3.1712091513730272e72,2.831248243219701e72,1.2308586729378924e73,1.5140463831446694e73,1.3846518390615615e73,-1.216803260041637e73,3.898535705127883e72,-2.3260977796806565e73,4.150781774136489e72,3.3704992724719865e73,-1.0614075727658972e73,1.1098213618122766e73,-1.2777226235505556e73,-1.4239992529582225e73,7.304890305547695e73,-1.553968711563603e73,-3.4281065922578214e73,-6.203027753189274e73,2.0101732140640195e73,-2.8289733627135183e73,-1.659194902059146e74,-1.6220995194955506e74,2.1894183043270528e74,4.4092552120039583e73,1.425694258120302e74,-1.0195532802826517e74,6.99733111428998e72,-4.235485674274319e74,1.0526032326231472e74,1.003833483506381e74,-1.841746003424811e74,-4.41621047853352e74,-9.031709571129547e74,5.191386997946443e74,-9.828521852174725e74,-1.0535455673426269e75,-9.499696601668613e74,-1.4925238963445705e75,-9.70871753797482e74,-1.3885518282518988e75,-6.619419591375368e74,2.0643665746457676e75,-1.0713952631418342e75,-9.327768180684696e74,1.2041970632270994e75,-5.895618254624968e75,-2.282327601759472e75,-6.648938878832977e75,-4.7885059696686396e75,1.6256032366260982e75,4.616343215382619e75,1.0259141596959878e76,2.297231742830148e75,4.753550454425794e75,8.207002120072242e75,-1.9381563766297916e76,-2.0513019484504814e76,2.954239695628294e76,3.1129449073102485e76,3.727741918521156e76,3.8471872390517126e76,-2.3412707139220568e76,5.769463781263232e76,2.004642903637234e75,3.7363763075958906e76,-4.759388273780727e76,-1.6125284923480265e76,8.51884471747058e75,-3.576772967164552e76,3.648500052565748e75,-2.9107709592389e76,2.584913388539963e75,1.0458371304607612e77,-2.356452904798621e77,3.2859568956055005e77,4.102659291153518e77,-2.2956083005308938e77,3.362440179304624e76,1.5969046291065046e77,4.694164893673317e77,4.733344576767003e77,1.6097547708724547e77,5.297459443143422e77,6.712306188793973e77,-4.632415366463397e77,3.499166122831759e77,1.0666566079316558e78,1.3976712888653658e78,-4.115154836236067e77,-1.1340218676711145e78,6.396000609697659e77,7.840700036923356e77,-4.572286499187805e78,2.888492421051538e78,1.5132023320690528e78,-7.002580397809434e78,1.6299783661747395e78,5.3257664991982e78,-2.330119042055332e78,-7.0082521507692004e78,9.27758396719744e78,-1.2576926078576595e79,-1.2763180338903794e79,-1.4901178167333454e79,-1.8878251001476964e79,2.3704979743149255e79,-1.7371738678909627e79,8.723717691694672e78,2.416062568200984e79,1.3736333170299117e79,-3.7999922252668864e79,-5.016555468626052e79,-3.2343954851944505e78,-1.9330524793080353e78,8.235230960166433e79,9.721190359784764e79,-8.909653199092293e79,6.2093468104499e79,-1.4368888307997585e79,1.6342524443528515e79,4.8966425491046145e79,2.693018164507866e80,-6.32627247229741e79,-1.7677178199985032e80,2.921394373350695e80,4.4765425819929205e80,2.2980617702070515e80,2.4011010812729667e80,4.4470203490448216e80,-4.6129614657296074e80,-1.3441640487505274e80,5.962945020260251e80,4.326491722147496e79,7.219929265288274e80,9.166183504538466e80,6.265304711136849e80,7.046403840106629e80,2.444503662767184e80,-1.469403127705536e80,-1.0289185960544461e81,-9.183766710293168e80,-4.14279852387071e81,-3.4203770849570012e81,-4.918123289958945e81,1.887602585883656e81,-2.54439134749607e81,8.26488405274009e81,-8.029102706191593e79,-7.099372593713798e81,1.3664849603218452e82,2.706836842776383e81,-2.279631896486821e81,7.044090964425274e81,-1.803333918298158e82,5.816452360847372e81,8.533781335081263e80,2.6581989453365843e81,-2.8398956281251522e82,-2.3866013645703126e82,5.6362759466646295e82,4.82605397916836e82,-1.4883438206080034e82,-3.1985485045846816e82,-7.725676713630381e82,-2.8801815015178057e82,1.0897892182778194e83,7.339037486370967e82,-7.934918860252223e82,1.247280973756458e83,-1.2092007350329083e83,-1.1928729950768434e83,-3.4093995687544295e83,-3.831390356612166e83,3.27728373325067e83,-3.807163317158401e83,8.645909783741423e82,4.537536683323411e82,-5.148359693777403e82,2.905521834263008e83,6.556192249663297e83,-7.686745861511824e82,-6.680727669987547e83,1.2143336770986167e83,8.816251202579329e83,2.109412330256318e84,-1.2056115522225203e84,-9.952426995214465e83,-2.501551473726124e84,-6.650585955193698e83,-1.7768528890586188e84,1.9380977319246463e84,-3.005483512746123e84,-3.6648994719060768e84,-3.2940361243989257e84,-2.329355528187341e84,-5.595192467475813e83,-1.0698070866730914e85,-3.8879768492892735e82,-6.075658546453656e84,9.343158972670982e84,-1.58415756126387e85,1.3132879524131461e85,2.775470237881543e85,1.3766929910537505e85,2.5075478776521908e85,2.8482598575001736e85,1.4240179552800166e85,-2.9709135104290546e85,1.335639876857764e85,3.3412799445848345e85,-5.5528987501034334e85,-3.345388972827672e85,8.325089815723698e85,6.1223395487875545e85,-1.4588810137848797e86,-5.8150160381712276e85,-1.886496956631252e86,-6.392023109384047e85,-2.0465614091782803e86,-1.910471326777644e85,-2.7810942221064324e86,2.5326364429000035e86,-2.388215915385769e86,-4.246628136490101e86,4.272053689206199e86,-4.2138470221944327e86,2.4767624874815862e86,-3.727025851860551e86,6.198667155969032e86,1.0280070086995205e87,-6.636289710975292e86,-8.08394465696079e86,-1.618683824237506e87,-8.143497080074626e86,4.876673248327019e86,-7.536297008777263e86,8.61636147087627e86,-2.796410637494001e87,-5.052684999054257e86,-4.869132112647212e87,-4.1152739655451165e87,3.668090281442141e87,3.5536508751814375e87,-6.83698483593885e87,7.703221074633718e87,-9.453816785272106e86,1.1530247994918134e88,1.4760230647347115e88,-1.5436350780527195e88,1.5311576070777505e88,-2.3019712250592924e87,2.5479212250809273e87,-2.4825411546251163e88,5.6048205625528605e87,3.400128192210101e88,1.5271221382243907e88,1.3390192697959755e88,1.1061933038466922e88,2.631839947242671e88,2.5245269707865292e88,-3.6117343046625724e88,-1.0454065871420137e89,-1.4287490821331995e88,-8.412373504641418e88,-1.836540875800465e89,-3.1519895646839628e88,7.467475774652647e88,-6.049503580720589e88,1.9404835550618931e89,-3.0727630739387706e89,2.313124227495536e89,-3.2741016257272275e89,2.377906278197854e89,3.7561209794112356e89,-1.3702828028026104e89,-5.832047743356592e89,2.400442772119424e88,-8.007895753937979e89,-4.3377621730500556e89,9.907661639813856e89,9.438420776599197e89,5.437721146196679e89,-2.163010792153652e90,-1.060794757082483e90,-8.795950875146149e89,5.436690780464074e89,2.567937687249683e90,-3.183756343402917e90,-3.085786058310529e89,4.497880964620906e90,3.109331252712248e90,2.4427314004387935e90,-8.924230843467812e90,-7.610029048643205e90,2.7407698418460686e90,-4.4040826147664907e89,-1.5993526666477347e91,1.579668868492836e91,-6.388068519905444e89,-1.0641008361876816e91,-3.678180378296158e90,6.4073791167879e89,-2.2178809633210284e91,-2.4061388091287545e91,1.1219290252188501e91,-2.9992727285185464e91,6.520072449620402e91,-1.271674987864873e91,4.2313941835946216e91,-2.0608073398661486e91,-1.0480562678989446e91,-7.713370701122371e91,-1.4815877351471977e92,1.2452724983192795e92,2.1650931676827637e92,-1.5005041942893084e92,-1.4659081102168956e92,-2.2371967083207654e92,9.446579886997468e91,-2.9803659966093674e92,1.6410100457526098e92,4.652395485838201e92,-2.761922144627905e92,-6.253548934942669e92,1.4640776623130838e92,8.322432354816737e92,2.947201541247053e92,-5.0609409420345104e92,2.3699614443246618e92,-1.3393859895524515e93,-1.1071569955600408e93,-1.9304262716834579e93,-1.192108772027584e93,-2.5969327726765103e93,-2.540869467593656e93,-1.768207679778065e93,-2.270359963861342e93,-3.659250337554133e93,4.817835631495861e93,-3.620683902271392e93,8.143530454356358e93,-1.4232307473509166e93,8.795130316520181e93,5.15059838236046e93,-1.0192739002557503e94,1.2655032302143304e94,-1.6899580628922484e94,1.805627422946481e94,1.6251610207261669e94,1.8509708491849003e94,3.573343576223528e94,-7.425515563326664e93,2.4901642986595373e94,-4.059631596066247e94,-1.909039186261443e94,-2.4389107307207505e94,-1.0508424381226611e94,5.1138867240412495e94,-3.001376829013219e93,-1.165284386672978e95,5.665107906083944e93,-1.04854040000171e95,-1.669723960050364e95,-9.028328542033323e94,-1.4323599348242166e95,-2.021556885471577e95,-1.861195670163339e95,-2.5932135719102772e95,-2.818674442443083e95,9.301988198955974e94,3.2159333767141763e95,6.096443977739241e95,-3.6759989129036004e95,8.394800256616927e95,1.042754606586204e96,-8.12836486106912e95,1.4265036228278874e96,1.14182630047558e96,-1.6023718454028757e95,-2.1852486664968575e96,1.224048879221989e96,-6.752232576446101e95,3.208818002161773e95,3.4297502832857606e96,-4.539470044314798e95,2.4170488472931663e96,-2.1431439616318074e96,3.5541783060514295e96,-1.3274811721227615e96,-2.8061104636181243e96,7.266869195884644e96,-8.414847720000597e96,4.279414661116868e96,-1.0297360692159073e97,-1.735566472631514e97,6.481716791546795e96,1.5817270318827393e97,2.601810229644365e97,1.0918772009122448e97,2.13177417700467e97,1.6973990700903109e97,-2.129365879534763e97,-3.356422578658246e97,-5.8210100838621434e97,-4.8968557410466905e97,7.365946481009951e97,-6.36692205558862e97,4.35934631066325e97,-9.688702915719266e97,-1.4974433152996518e98,-1.539152424738291e97,2.9918118075847157e97,2.113293211936756e98,2.4913447128862006e98,-5.416855206119126e97,-5.38698560756879e97,2.7549367102252954e98,3.5837026946349614e98,2.6431331094926587e97,-4.8361749228487533e98,-3.622790387369668e98,-1.875198695362827e98,-4.772452922724657e98,-9.077108177149316e98,-4.320202028305828e98,-9.540594982307687e98,1.4551428782949964e99,-1.7294977750835184e99,-6.61431946858438e98,-9.214452197415083e97,2.794093571908875e99,-2.092761174561539e98,1.967357515042755e99,8.254325081486066e98,-3.6593560015439143e98,5.680662108806549e99,-3.8971840591693136e99,1.0662235292388004e99,-5.706187298926555e99,-4.953156341599624e99,-3.1898854943115273e99,-7.859278261587422e99,6.225695228553829e99,-1.929140884372101e99,-8.765865067354381e99,6.835535342346369e99,-2.5839521685191714e100,2.06745704148113e100,-1.2540435922163635e100,-4.859172349780509e99,-4.2508998552223226e100,-2.810626968159141e99,2.3114610966073653e100,-1.0900680370203409e100,-6.219136714530064e100,-2.0672609308928386e100,-4.873576190418757e100,-3.7906588434438036e100,-2.7515446472211432e100,-1.2954995532932853e101,-4.715469322490617e100,-1.9836596741068228e101,-9.30095516758231e100,4.8857597217395854e100,-3.833394882857638e101,-3.3579704486265427e101,-7.12352002285026e100,1.703930860583943e101,2.976493451958613e101,-1.0517174560063647e101,-2.7795354110577396e101,9.594008560761779e101,5.6803933759219554e100,-8.888454222846866e101,-5.75329039275779e101,-5.313099270177156e101,-1.6155115743490501e102,5.5407036448176465e101,-1.470390110360411e102,-3.136291545213849e102,-3.3246698923226595e102,-3.643221004128767e102,2.932730049967263e102,1.4145852839100002e102,5.090860609515407e102,6.811616751676886e102,6.162382163950489e102,-7.892021997974583e102,4.993794638540233e102,6.285921990743101e102,1.2701203151032154e103,-1.0249151314629982e103,-7.866174611621792e102,4.1677833886861037e102,-2.206088026710485e103,-2.9495514943939847e103,2.2313323163784627e103,-2.3531673865591547e103,9.905703221750963e102,1.981914989144841e103,4.002398570798697e103,2.6054407432042886e103,1.4372389752515241e103,-2.0519415964496633e103,-8.013172733122224e103,-7.780433366419552e103,-6.635113279800088e103,-6.308953875819603e103,1.1950671697711399e104,2.8300451542753385e103,-2.254682472307762e104,-1.7561735774552204e103,5.014439511052657e102,2.540610759171946e104,-4.3690907009550966e104,1.2286130241445387e104,-5.4249191798868863e104,-4.8021450986209106e104,1.6472744512888431e103,-9.066268009294674e104,7.034127980549683e103,3.74779811717249e102,-1.2834286477189772e105,1.5030139768094765e105,-1.503377806580761e104,-1.4673815593377537e105,-1.518208308670306e105,-1.354824024876316e105,-2.412876201741997e105,-3.8731339688318437e105,-6.047028650289756e103,2.66208449896293e105,-1.3673722046640455e105,3.742066792707942e105,-1.9333434684261152e105,4.0383313391047463e105,5.549963504028901e105,8.840472802587205e105,6.882192596973595e105,-8.64288546232395e104,-1.4651933498777543e106,2.1256547584459955e106,-2.2812963858765682e106,2.1809996890166703e106,-2.4430700843830785e106,-1.971314237620377e106,6.833808354620725e105,-4.1674273345198145e106,-1.9631784424141677e106,2.5471039860806076e106,-5.261221598788222e106,-3.726825330776672e106,-7.694091272918439e106,-5.525970583671272e105,-1.308068321069553e107,3.34722059099751e106,-1.4396384933594597e107,-1.2384063584861805e107,2.1257443899738648e107,-1.3844547389143443e107,1.4924881408691778e107,-4.907489550449917e106,-1.8225374598081898e107,-4.628686047214863e107,-5.1033920924973064e107,5.6799524476210726e107,-2.3617130846041604e107,4.6808502144078926e107,6.685034467705565e107,-9.925826987296801e107,-2.6572065917019323e107,-9.455183810942714e107,1.2727806973552905e108,6.303563266736399e107,1.5051708117034622e108,-1.4360632393292185e108,-1.6668449765401909e108,3.647533185651428e107,2.6533282627727684e107,1.2610768476742755e108,1.809996862282954e108,-3.7566022750460584e108,-5.637117826611844e108,1.8209664405525986e106,-1.2550883964185047e108,-3.4450253400365216e108,-3.70205139454673e108,1.1353880343959371e108,2.692913099719463e108,-1.2699865269549812e109,1.6347194642690618e109,2.234344641017238e108,-1.9618285955047276e109,3.376772028453112e109,1.6260010792991453e109,-3.7314524289168745e109,3.785244331760656e108,2.068203090430904e109,-6.024907413900342e109,-4.907416668926407e109,-3.346044342972301e109,-4.395445817822654e109,-3.0517244199664534e109,9.12380206192068e109,1.4269522142890562e110,1.0937121468060805e110,9.205919100154065e108,-7.508667152996293e109,-2.492028609073728e110,-3.5269260034842735e109,2.9168557567535972e110,-4.168567478397834e109,1.6285385463455025e110,3.0504042699182696e110,8.857796685847553e107,4.006670964688589e110,-5.981878653096415e110,-7.972448778777902e109,-3.789051870842152e110,2.7004829266361347e110,-6.47974170418688e110,1.7562095298290308e110,-2.0594683006209146e111,-1.5812154700710667e111,-1.132737193061119e111,-1.2957617162442266e110,2.3331841148673314e111,-1.9729214963131376e111,-3.954724109193971e111,-1.7361119295731503e111,-2.5288787540679204e111,1.300614304891693e111,1.850387145735811e111,9.483666580058108e111,3.793475058204841e111,8.795089396866978e111,-1.445173822632258e112,1.3445253446120534e112,-6.295745474361432e111,1.6889387639218143e112,-9.274100928916726e111,-1.0453686618648214e111,2.706907095708319e112,3.8130620789156966e112,2.634844388361618e112,2.4925073076632936e112,5.2916399408991465e112,-3.3905476622592104e111,3.2925703909494642e112,5.397385158403513e112,-8.929608550678595e111,1.1687154789435604e111,-9.07878235696965e112,1.6254852755856728e113,1.2421678058478141e113,1.3781732809414809e112,2.5324989417476604e113,7.033781530521627e112,6.615301956752809e112,-2.7781343827596904e112,2.0042731728137503e113,-1.4255146892102415e113,1.0225449124461063e113,-1.5847939368993475e113,-5.278406668963199e113,-9.231080188734946e113,-1.0053055783661982e114,-7.730479947639179e112,7.923283213226691e113,-8.983238655706036e113,-1.5740003008678575e113,-9.95437435333462e112,1.234805060194054e113,-1.942343227254956e114,2.6761258439958097e114,-1.1404601979724303e114,-4.3773225675039715e114,3.3223053348554055e114,-4.854529910474297e113,4.92598417325624e114,7.567770980361038e114,-8.339786886765759e114,3.7486271687055186e114,-3.537997535110435e114,7.221945972638376e114,-1.3155807158402319e115,-2.9220685418347977e113,1.1364356023340715e115,-4.4121194193878303e114,1.7509984356316568e114,4.2030229620940307e114,3.0150814058212913e115,-1.8256329131893438e115,3.4342857249928853e114,5.620157706801909e115,1.0626441476733116e115,-5.77498038283775e115,6.988520952303428e115,-1.0219375839783663e115,9.939766816225012e115,6.578127368678911e115,4.455002233113071e115,7.290763153169051e115,9.064691325517302e115,1.4210505067664721e116,-2.302321058711171e116,-2.987416102899188e116,-1.2831796153698185e116,-2.1980921801596133e116,2.1472013780236464e116,2.6783068567940678e116,1.8548577133815042e116,-9.082967323930038e115,-1.349542036297046e116,-9.519273820260276e116,7.154478238348076e116,-2.6935068536991698e116,-4.349359420015585e116,4.152258169119353e116,8.552667480075866e116,2.1354728186852598e117,2.3261784246445823e116,2.0036209929806677e117,1.715330222800252e117,1.928544904147476e117,-2.4800680646011556e117,3.6488844844818765e116,-4.227151521643009e117,6.122368701852394e117,6.278465090494685e117,6.737690546370336e117,4.0154459603978006e117,-8.353444756240682e117,7.660622635389219e117,-7.166656185232346e117,-3.8276736884126665e117,-3.87874234454482e117,3.2422526417279323e117,-1.3710292839128587e118,3.0712704678393487e118,-1.6007962099609327e118,-2.0032024659781565e118,-3.0362559682532824e118,-9.922849122718789e117,-5.331519843102476e118,2.4270190402307316e118,-5.253956394193673e118,-2.128925491708761e118,7.538139778360816e118,-8.845934733285717e118,-1.0996833692201848e119,-1.2746779751256333e119,-2.009948121278753e119,9.51475867433885e118,2.7136083549225024e119,-3.145956958647594e119,2.2121030084240736e119,-1.5238326172107105e119,2.523922155324894e118,2.4351534638224287e118,2.8564348332171238e119,-1.8165143000020676e119,5.5084623017586925e119,1.8738039933286324e119,-4.564131903829276e119,-1.1021210349748725e120,1.3200563179281708e120,-6.359291858236735e118,-8.109874994927534e119,1.688094128729649e120,2.5750821781359027e120,-1.6145680754341578e120,-3.4170634463005036e120,8.000584318445151e119,4.604238399382395e120,4.017000569317214e119,2.7925572534298807e120,9.201812903772118e119,-4.565216046768241e120,5.895874721930415e120,6.342472039114082e120,1.2644915904486808e120,8.789319641939369e120,-1.073181250750975e121,4.7623214394505636e120,-1.9483003515127015e120,-8.370287084649347e119,7.841126319126004e120,-1.6301931979671187e121,1.2327131823886354e121,7.50370865797086e120,1.6574962026104283e121,-5.648813918352309e121,5.272793259525712e121,-5.54611705350751e121,2.4714384226572174e120,-2.474901964803847e121,-1.0625302019608983e122,1.0358071690779519e122,1.2942146758036461e122,-1.2950476029321727e122,2.067552959287114e122,-8.041160412309889e121,2.0932209625501555e122,-2.859871514934093e122,-5.175150326210539e121,-3.68084195887179e122,-3.620605832333957e122,-5.353163100958372e122,6.0094528645767645e122,-4.279716552808753e121,-6.475095338830779e122,-3.948453701106572e122,-1.0029539653602834e122,-1.2207469143618156e123,-7.329720162752099e122,-8.919123496303142e122,-8.410856260701346e122,-2.0792998518665872e123,2.789736281803851e123,-2.03144809267001e123,-7.68765686517198e122,3.639126924167667e123,-1.881917505257174e123,-3.2418572464434696e123,-2.8352154696406727e123,4.5342060098721805e123,-1.0563963950118712e123,-9.281870855680897e123,-2.073210237382077e123,-7.026358624154883e123,1.5270327596306427e123,-8.041182723746833e123,-1.909434063839366e124,1.484188142906764e124,1.6504929670464544e124,-1.9916775632286084e124,-1.8811025092263176e124,-2.349643016520308e124,1.9184165698991906e124,-2.3973731580651314e124,1.253997832808244e124,6.878210923996408e124,-7.129710323648937e124,8.307957701573503e124,-3.1348220899149187e124,-9.388370354918282e124,-1.1941365965755814e125,1.5769320744262277e125,1.4714174305419637e125,-1.1257633982102054e125,2.286667887274302e125,2.7925964152093282e125,1.39764614523022e125,-9.285862880821956e124,-3.1505708367812925e125,1.7495985774806865e125,-2.939385865408118e124,6.63634581132525e125,8.218765445512704e125,3.489237714770262e125,-3.949097254506995e125,-6.521039451058732e125,1.3731839787133066e126,1.098905914202445e126,1.0399816395991771e126,-1.6808094894504608e126,-1.1072240123053457e126,-1.35659471143301e126,-7.774611433592613e125,1.8461154628725542e126,-2.0825835353861746e126,-1.4832442175657596e126,5.193143728764467e126,-1.5485745021380548e125,-5.124927147319908e125,5.3915448051950664e126,-6.767168350287551e126,1.0082443342896729e127,2.6473934512861367e126,3.070827885387209e126,-1.7178019801215538e127,-3.7756431242230044e126,-2.1520983639802013e127,-7.860057724938084e126,-8.680720049023323e126,-3.5808133334247956e127,3.9367946915711157e127,1.3889165438085137e126,-7.214005882665997e125,4.2351889991907135e127,-6.093021806929058e127,-5.773733565123936e126,4.691785879101e127,1.1581577241321281e128,-1.0729897170359175e128,3.2208992181969466e127,-8.215289714234557e127,2.032091065632388e128,-1.1533910929922035e128,-2.275840849545319e128,-2.4192041831756727e127,-2.4323009228411324e128,-3.1502933396010348e128,-4.492627551687637e128,-5.228345929533072e128,-1.0156436685516304e128,3.7114235334751815e128,-8.135962558887606e128,1.331985206655564e128,1.0860540628390275e128,3.056174748727125e127,-1.2430320728352066e129,-8.283643269340902e128,-1.2390031936837602e129,-5.72111422869289e128,-1.804553875789185e129,1.6354105977491022e129,-2.0906510977351264e129,2.3341785293004387e129,-3.724351589162335e129,-4.590080112775707e129,-6.282278541755832e129,3.952762101529071e129,-2.9631320735573346e129,3.9991879709611747e129,1.0939254199702846e130,6.693844599786211e129,-1.4204475852025071e130,2.991169901288996e129,-2.1473256300729798e128,-1.7455656166076144e129,-1.409120902853781e130,9.928156840246749e129,-2.859970948478084e130,1.0430868756493784e130,-4.085253697899071e130,-4.066411381713915e130,-2.816487968673633e130,-3.2866016073179327e130,7.932616905539462e130,1.9604617189705585e129,3.7715319825930447e130,-5.847678112450536e130,-4.71994962892013e130,1.1018784925982462e131,1.5791046093736564e131,8.845990088720422e130,1.6167773340672622e131,-3.470122277319661e130,1.4542402799265522e131,1.678722810578809e131,-2.788211876044371e131,2.8761960248788254e131,3.5025526831782382e131,8.755706149961301e130,8.552410474261657e130,-2.262677208059697e130,7.681881597874946e131,-3.3565837901091383e131,-9.330993651438678e131,8.062363623816527e131,1.8016998773246413e132,-1.932364314276442e132,-7.107666124032118e131,-2.750014092279382e132,-3.045683118358902e132,7.46871164551199e131,3.2532242289435694e132,-3.3655249300497754e132,-2.9339523172131694e132,-2.734273262007908e132,-1.6064077942407278e132,5.286095429399772e132,6.950235056817651e132,1.1099013376154884e132,8.317026962727335e132,1.164100867276388e132,-3.1330067540663414e132,-9.114526683262632e132,-3.906732134788214e132,1.5246910465312235e133,-2.600567723831177e133,-4.838727966647445e132,-3.376645700412282e133,-3.874271022488314e133,8.529257050553738e132,4.0471560049410365e132,-4.291101754612287e133,-1.9550858422051828e133,4.1902912994242537e133,-2.3739469694185666e133,1.2102827171247275e134,-5.994658898243884e133,-7.170953175274149e132,6.056696959600502e133,-3.0271424893403614e133,-9.560711250113942e132,-1.7575310924130144e134,-3.3191007872977564e134,-1.254435672886044e134,-7.658660334329753e133,-1.3055468652791666e134,4.654662702443372e134,-2.7825263536438955e134,7.775014338390869e134,-1.7380054104821292e134,9.461725873710306e134,-1.1751347431210442e135,1.03868022955446e135,6.2842667894488606e134,-1.736561959128439e135,2.192669645894998e135,-2.20327687632258e135,3.119733723505088e134,1.308382503482399e135,-4.996218850941418e134,1.526189400663397e135,2.7877711176303403e135,-5.0273403849929636e135,-3.041286578569204e135,4.9052326491882185e135,5.514809733707834e135,7.817795547965161e135,9.345406224724058e135,1.1240405904641641e136,1.4539248332667102e136,-1.2550327182340486e136,-6.03898581887227e135,1.5128129325803507e136,1.2889863093073017e136,2.0739921834665853e136,4.781562917722228e133,-1.8319241131113738e136,-2.1864355078134477e136,-2.0914326175825985e136,-3.152575724773957e136,6.389807950826462e136,-1.634002823768796e135,-9.969334429735427e135,-3.9201362661092275e136,-1.1365866221546512e137,1.3526376474225958e137,9.6272826877784e136,-1.996736642408936e137,7.214172062880281e135,-1.7575309521355252e137,-1.287184861685102e137,-3.3803252613329872e137,-2.6990158944164137e137,-3.9665620269977825e137,1.881817317111351e137,1.5388415041009267e137,-4.914130405679512e137,-1.216212109791871e137,2.0051491389615018e137,1.7626777780987934e137,1.0956773782646497e138,5.254966392250452e137,1.0868352228069227e138,7.672306689194391e137,1.0013913557270801e138,-1.2437129994083496e138,-1.4129047129337977e138,2.2165873778821374e137,4.782761969235059e137,-3.950368006209246e138,-9.919982663093223e137,-3.4759005078639664e138,7.940786612392825e136,7.546018715853791e138,-8.718073024048998e138,4.60773544591315e138,6.777089390781641e138,1.442463745147435e139,4.88536591444192e138,6.514309665014e138,-1.7800501914608833e139,1.4367015642454555e139,-2.1644492068324223e139,-8.831571949271999e138,-9.82383502955177e138,-1.5394054707783334e138,-3.891681111837234e139,-5.458569343226321e139,-6.816122298831374e138,-5.107031050022714e139,-8.863660153210067e139,1.1341919045508706e139,-1.1076503071408027e140,4.620049849771774e139,1.3019572114671732e140,-6.908385664432394e139,-9.062732230027339e139,2.1951337284171663e140,-1.6301007056918944e140,-3.00031521931836e140,1.7575041749685223e140,3.251822984158223e140,-3.175395073148464e140,-5.000587541242572e140,6.584834527051623e140,5.0626885709822525e140,5.012327410171263e140,-1.0017140557680942e141,1.958820182102772e140,-1.0237848732897043e141,-6.711214967137833e140,1.0057924401269774e141,9.366392422574423e140,8.096439738659569e140,2.3275445433742532e141,-3.078511574450577e141,-2.9979943220973446e141,-1.1949480151728699e141,-8.064507399099692e140,-2.528033693274885e141,-2.4855108370524365e141,6.456198169385735e141,3.9066995182537775e141,8.687641058492772e141,-6.598760129630974e141,7.980652662025934e141,-1.1647921539818707e142,1.1351591769579416e142,7.4914394369227686e140,-8.644390219058417e141,-6.416832321399125e141,2.9630202468666276e142,-9.051951445558218e141,2.9646379727033086e141,-2.8179167378711847e142,-2.0482770713844312e142,5.389745365337201e142,6.94465173193848e142,-6.060202057961981e142,7.131984906070426e142,-1.9405522396776394e142,-1.1945789334373586e143,3.7877789788798675e142,-1.6008676328869556e143,1.0871373341168126e143,-2.0231893149607354e143,2.11006819234032e143,-7.796144281545488e142,2.19794783916765e143,1.274696018232515e143,-1.0406493530115913e143,-2.682663935925496e143,3.400167730331047e143,-6.734285757901794e143,3.8834384309600984e143,3.2614102997513836e143,-9.756800768584596e143,-1.1274280302548927e144,-1.5170880470105525e143,1.3457270622196178e144,-1.5697270020729197e144,-1.0356655845358426e143,1.6505283904512847e144,-2.2193917840607585e144,2.533228028630468e144,3.604455459815294e144,1.1379487298878284e144,1.6791612704242443e144,-1.5279824311251783e144,2.185245531267916e144,7.56112573285837e144,-8.048213566441255e144,-4.667369779848582e144,1.0939097651136459e145,-6.321507088621715e144,1.1646077810420392e145,1.352498373354816e145,-1.4414518130865492e145,1.44371498109083e145,-2.6199273354502276e145,-3.110634130516947e145,-1.6278412538514505e144,1.8144355622556433e145,3.7736233545732544e144,-3.481972467258905e145,5.919551695397255e145,-4.8285237563865175e145,5.715796575453236e145,9.364913870151687e145,3.9803402675962625e145,-8.192138582500256e145,8.940049651756206e145,1.3865332222933992e146,-5.147709513939273e145,-1.0995541294425127e146,-2.1499064138445224e146,2.0308744585909853e146,2.6494980202986876e146,3.003406518948071e146,2.3897359441141195e146,-1.5855327099337404e146,6.2088781636342765e146,-1.4356053804724384e145,1.5193592803374717e146,-5.330679591885648e146,8.126893150667988e146,5.843730019143424e146,-1.20226212376971e146,-1.2265171277205247e147,5.7471844219643126e146,-1.3847510182082243e147,5.998557832832924e145,-9.343556396510241e146,-1.5693718779134284e147,-1.1670475330042045e146,-4.022823685386279e147,-2.491287662444679e147,2.4353138013857157e147,-3.508359873193043e147,-6.180743938835709e147,6.423238618449518e146,3.750916220004274e145,3.1974436805638994e147,-6.362575706612805e147,1.2463166561526354e148,6.536344584632536e147,3.5001909672697663e146,1.395184981963375e148,5.011494313388748e147,-1.2365846730055635e148,2.8607386842687933e148,-3.812079075937979e147,-4.489678656485791e148,-4.421675850898013e148,-2.23150952313276e148,6.461939435849028e148,-1.1660800070288251e148,-3.4211061102771545e148,5.852114565757114e148,-1.0078803489229974e149,1.0694757715339359e149,1.770216595302196e149,-7.489077681820395e148,-1.872817758709852e149,2.5471932366034754e149,-9.191996390536543e147,1.08131604932597e149,-3.399277177521241e149,-3.285501751288633e149,-5.538117320405993e149,-3.5894333903040507e149,4.420396365104666e147,6.305633955364329e149,-6.481999843901229e149,1.4594546780037861e149,9.921982870610537e149,-1.5169518520078252e150,2.0497325776330026e149,-9.895115416723248e149,-1.6071662600662206e150,2.7008542043942035e150,2.9871864671844854e150,2.919111583021891e150,-2.310567237615559e150,-2.2880861833727077e150,5.512149276633451e150,6.34905721612512e150,-2.124959036946845e150,-6.206138451155366e150,6.410003863392286e150,-5.746922243067005e150,2.7014864591747977e150,1.4341878940700033e150,1.0086919610207608e151,1.1124783021414015e150,-6.441851241792184e150,2.4861653771132014e151,2.3977179631158258e151,3.322161734210837e151,3.7886087537507727e151,3.3399620381774644e151,1.0130449994101918e151,3.44653447756366e150,6.615915364069995e151,6.521590949194704e151,-3.0186722848246335e151,-9.372375883716126e151,1.8532696822152256e151,7.679589225996816e151,1.6436825636691184e152,1.2359282501285076e152,-3.0107032900798855e151,5.300218429895024e151,-9.679611478156736e151,-2.31216571522879e152,1.293255979246461e152,4.178191622539886e151,2.7587445312686695e152,-2.7288129510640576e152,1.3577251629118213e152,1.5694653277211048e152,2.0145433861290475e152,-1.0156838546614558e153,4.249636926322968e152,5.265500789172975e152,-6.974418470222855e152,8.349705013235302e152,6.937843755322829e152,-2.121286204954452e153,1.1139232241848056e153,2.8281724571977433e153,7.645257365672059e152,-4.072008493438027e153,4.529652447304593e153,9.549037461060589e152,-3.904261552434202e153,-2.467407305121949e153,7.281285185346233e153,-8.600147451115545e153,7.94220982568588e153,6.053885700410187e153,1.839849575924607e153,-1.6414915006977498e153,-1.618565952523881e154,4.19906842386098e153,-3.791752708693132e153,-2.780461824769969e154,-6.891678884171799e153,3.380212785071419e154,1.5104040678919155e154,2.5846767459239925e154,-2.7156840852836374e154,-5.1418537410150555e153,4.8443004953650515e154,-2.713743644159772e154,2.838235504523029e154,6.578768835380423e154,5.384908666445559e154,-5.716095095934046e154,-1.1884054501584192e155,-9.764757651491788e154,-1.197317744749734e155,1.257132017065649e155,1.0099596036416522e155,3.0381325853985293e155,-3.3521910464594653e155,2.7894729598287243e155,-3.0238536686167816e155,6.023851128410132e155,-6.4790205868906e154,-1.3566143432307293e155,-9.01151628411983e155,-3.3961282491831835e155,1.9458555088017294e155,-7.451623912401936e155,-6.098251642283234e155,5.763338310225744e155,-3.389922030279928e154,-2.865731304429754e156,-6.249234345890442e155,-1.0763992958377147e155,-4.409578611220965e156,-1.4895605526978643e156,-1.7011976767280373e155,-1.4845001923285575e156,-7.84893495660573e156,4.2664316847604175e156,5.515466645800872e156,-6.398611483656011e156,-1.1316308465752385e157,-1.5956121272034315e157,3.790821976493248e156,1.0340062037258283e157,-1.920927512136016e157,-3.085577144248725e156,4.493699903276629e156,1.273775319787697e156,2.567452318712296e156,3.991691463385384e157,-2.5343444625283673e157,-2.484747937111045e157,1.981697963523362e157,2.6571874908046852e157,1.914084161042683e157,4.320763741452116e157,4.787759843876756e157,-5.4182850400759845e157,-1.7117814363498457e158,1.2795412231297823e158,-2.0431545857155987e158,-1.3908076621636786e157,-1.0798450490055009e158,-2.8696166994458663e158,1.2797094196755474e158,4.214040956936067e158,-2.9944859646925545e158,-2.8788290850745665e158,6.300624565595058e158,-7.084032688979695e158,8.192707225902232e158,-2.6235805269323475e158,8.963014083203333e158,1.338109342377207e159,-3.7534724244524845e158,1.4938696508807508e159,-2.2998666810271753e159,4.057860896492614e157,-1.4564789136778896e159,4.331612820885582e158,-2.369088792501262e159,3.754304461964718e159,4.466032752342668e159,4.348648185751127e158,-3.3828919652886388e159,6.3033592608276225e159,-1.5977112997562916e159,4.657860004523132e158,8.463993450048386e159,1.0409040107878376e160,5.245369966330843e159,1.4647564737862612e159,5.915965235793744e159,-1.5726651731688947e160,1.1122262520710345e160,-3.0447043728125745e160,-2.6753790709314425e160,-1.597300842925996e160,4.1732211543686724e160,4.968989766637916e160,6.2032621166620196e159,-6.974801432721207e160,7.221795923322963e160,2.1811041634285637e160,3.75291791311556e159,-3.665149642833632e160,-4.112689428371432e160,-1.0562175237456189e161,-1.6339876328428458e161,2.474058862377453e161,5.826906993803619e160,-1.198013769096553e161,2.6253082369130107e161,-4.0405534732232784e161,3.8324506207253934e161,-3.3719438442320417e161,-4.3222590286296835e161,-1.1084134739916254e160,5.663724192454413e160,-2.8247355538759166e161,5.75157795405727e161,9.723335840178448e161,2.8709545395147795e161,4.637132047794227e161,5.065289034953972e161,-3.7820364623328906e161,-1.6060430100733459e162,1.887975892358519e162,6.27370007334347e161,-9.828696458842174e161,-5.924377297867456e161,-1.1448398702204372e162,2.120211307176058e160,-6.440632512378996e162,4.482786445783456e162,5.80475644520906e162,3.099728986167659e162,-9.757559631420147e162,-9.871296097899487e162,-3.4823993843611382e162,2.0267870360905336e163,2.0215636817722513e163,-2.0187804640493446e163,6.881440050622684e162,-3.3245160586892916e163,2.8594044091247705e162,3.6287997158358424e163,-3.078764478701271e163,-6.281071942682251e163,8.941865915908731e162,2.0790917853979595e163,-8.823688150226739e163,-5.973136338750341e163,4.998998637897618e163,1.1125578622878313e164,-5.5030649551936e163,-5.5504348462167497e163,1.4018034833273097e164,1.6921816738053374e164,1.7848304909017203e164,-1.7207787508139505e164,2.8466846845997133e164,-2.1669023147260986e164,-2.6548188717361394e164,-5.796029275613851e164,1.2366390435046705e164,-2.6237326239346504e164,-7.5875992870407e164,1.8680941647518885e164,7.62626187859434e162,2.8757574410866103e164,-1.107655076259217e164,1.0308531813732456e165,1.3440739882512186e164,1.928514945326551e165,2.6849684794347105e165,-2.2110156581920365e165,-9.265834865569112e164,1.7799893320070133e165,-1.5910757905284277e165,1.5053882435508312e164,5.0067774947391205e165,-7.672686463394092e165,-7.104096263371036e165,-1.0071574254498117e166,9.099920549437867e164,4.165818426250801e165,-1.112979394044286e166,3.1428985889494814e165,-7.3591072749365575e165,1.3160262247968493e166,2.0185981198373087e166,2.6002872856595607e166,-3.5595861222912296e166,4.1246221456413315e166,1.362811488274604e166,-5.316322980059266e166,3.253650860558353e166,-6.596857059623495e166,5.0640394033777155e166,-4.214220132885501e166,-5.913901944631075e166,3.32144588412307e166,6.506477218213793e166,9.538031300906565e166,4.8757900380824694e166,-1.789287852776145e167,-5.133694395639105e166,2.894176231577511e167,-1.1143911030841948e167,1.9763427946835692e167,2.627248984912257e167,3.3640246918061254e167,-1.8299768782210789e167,-6.724939490807382e167,-6.342616770863385e167,4.328152116409622e167,-2.9674572903220786e167,1.1133910252135056e168,-1.4463811764629603e168,-1.254658610223843e168,-7.774774396221727e167,-1.1956961886209764e168,-1.8868882080828267e168,9.621935194898383e167,4.653159619976468e167,3.1699788065583395e168,-9.891956767805492e167,-4.7602086696200796e168,-7.786638918009701e167,-3.396873853718792e168,-5.569570820953293e168,-7.426538514285239e167,9.587649233612245e167,1.2481057159618057e169,2.029492730438092e168,-1.2694734425801187e169,-1.3488625845355628e169,-1.2774744886606371e169,-2.5070258141207734e169,-1.2310351838674858e169,7.984204706605799e168,-3.0913816067163055e169,-7.99592029106746e168,1.0150210633584523e168,-1.889949997680704e169,-5.3648407611656946e169,-7.231772992620086e169,4.19758789976417e168,-5.574861974209603e169,1.0815454200609727e170,7.431607689822847e169,-6.16121635516306e169,1.5291483084797036e170,3.0350357698919145e168,-1.411455441796692e170,-3.189485143168346e169,2.7213449784414045e170,-1.786175705079977e170,1.8592895568271464e169,4.034870521133192e170,5.787747046710464e169,4.876475350523993e170,-1.2766485142241497e170,3.8936513797584366e170,8.418060412541531e170,-4.4226549302087667e170,7.26333021351837e169,1.4283167701438884e171,-4.960808066420997e170,-1.321905836453937e170,-1.1508550615548112e171,1.5249991451965707e171,-2.319556269217276e171,-1.1932296425962281e171,3.736087022315906e171,-2.5987491146396537e171,-2.373076403836056e171,4.4504768174936744e171,-7.222908885445441e171,-1.8380137532340342e171,5.427690113498816e171,-6.0522769298271135e171,-3.5868974689861393e171,1.1164215860471947e172,-1.1246725452455876e172,-3.182491511165655e171,4.996910485294014e170,2.1771451172532703e172,-3.001466928355709e172,-1.3164912673063285e172,-1.9803196393698793e172,1.5506932332462156e172,-2.453059923706522e172,-1.7837226042693755e172,7.774071773651658e171,4.239391423542889e172,3.542617640599759e172,-5.809986784862627e171,5.1559514355277685e172,-8.138768002872034e172,1.0379393223326212e173,8.7505250055865e172,1.3063921272938808e173,1.3335926315318593e172,-4.275356343367546e172,1.9707885461561214e173,-1.9125136592917705e173,1.9325644782511752e173,-1.368392928335469e173,-4.342742189512377e173,-1.488407977685585e173,4.2764022452218264e173,8.581072032130463e172,-5.272719207765051e173,8.509695160692197e173,7.580953129931038e173,-8.459879731466136e173,-3.193464368223491e173,-2.144270623028357e174,-1.3207855801984833e174,-1.1531661921626471e174,1.761663400917282e173,-2.9516769627180893e174,-6.153784771491286e173,3.385684261614119e174,-4.123216647633987e174,4.314302352237504e174,6.581487008853307e174,-6.460800395899793e174,5.418201306251561e174,-1.10049320701432e175,3.4314950968873703e174,-8.582777585100133e173,1.623284257290065e175,-1.7512251484242596e175,-9.891661486349224e174,1.7890181591893022e175,-2.7953715292499213e175,2.1578173111962686e175,1.9297169168415147e175,-4.253316462280277e175,-4.053622885245805e175,7.526277560388632e174,3.6948826176089286e175,-1.4906663121605374e175,8.232175403380971e175,5.124466103053952e175,6.19775195438017e175,3.657310003569407e174,-4.7584034810596445e175,1.558717763331716e176,1.1589445112644362e174,-2.8372379724403292e175,1.2858922268561896e176,3.368792186966105e176,2.2754257512642133e176,-1.4518431479589777e176,1.391428040647159e176,7.074287707237224e175,-7.101035925268073e176,4.760224569054245e176,2.5783555708312197e176,-6.030409743860759e176,-6.231875712626897e176,9.643380135330141e176,-1.5620045586954092e177,-1.2141351999499948e177,1.8292305279823053e177,-9.39469184443841e176,-1.849578463877499e177,2.985256312114035e177,5.49812428455653e176,2.4246831189085725e177,-5.176097382948321e177,-4.100674772828799e177,6.307937677189775e177,-3.5710362380711816e177,-3.9897710229284146e176,-5.880911337120282e177,-2.186930859980931e177,8.900302246231369e177,1.4145354802889295e178,-1.4595811569241533e178,1.5534826093449175e178,-1.83379139255814e178,9.139131213416952e177,2.482990108113329e178,-2.5050643198082176e178,-2.6391997047698195e178,-1.4340314914224725e178,3.032003104340486e178,2.0355665625732523e178,-6.808492718193416e178,5.621927237955798e178,-3.1453924928857244e178,9.840930791181109e178,-1.01456105584542e178,-6.148080909604353e177,-5.144588174274351e178,1.647849378248215e179,8.375352466653995e178,-2.5688632625001982e179,2.3014652116858307e179,-2.8720349084771303e179,4.124795329369195e179,1.6280253254151785e179,2.2145171231566873e179,-4.7546442427186086e179,6.265094014130458e179,-8.52116809417457e179,-4.985655917392626e179,7.576676908878577e179,-6.660250364764042e179,3.3833925092618255e178,5.110211054833194e179,-1.0084170632159859e180,-8.452300844843941e179,1.3673463786607834e180,-1.0981448952315395e179,-3.434216417396852e180,4.0701401699048265e180,3.4878782875927126e180,-1.7644845314773945e180,-5.163070909555823e179,-2.195729037790062e180,-6.962547683583046e180,-3.801383560105181e180,-1.0559986902673734e181,6.140807968413987e180,8.221003965195473e180,3.7734213709426613e180,9.222034999903847e180,-7.858029752722093e180,-1.263845962873264e181,-4.510858405776538e180,2.8666941000751623e181,-1.998918767351666e181,1.3965143861318385e181,-1.41508543464203e181,5.350693181895691e181,3.1114774218987946e181,-1.805554541069377e181,5.695232194507013e181,-5.904707645333125e181,-6.810091509752241e181,-3.747970766013364e181,-4.069600410484358e181,-2.407864741585795e181,-9.998209526458971e181,1.5622477011884038e182,8.051948862354783e181,-2.1770197349113838e182,-2.5507226942482045e181,-4.115182245046529e182,1.8724412710984555e182,5.150028152672661e181,-1.9393664505237215e182,-6.256844164464386e182,-5.512987189032883e182,2.879818715280688e182,6.068843951558757e182,-5.936083783498474e182,-1.3739740873235554e183,-1.6942581709347451e183,-2.261654978993713e182,-1.2058342189553722e183,-5.477954971209842e182,2.620765699280108e181,-2.4933677193976723e183,-3.596487799335149e183,2.346492094512267e182,-3.981210043100967e182,-4.532612349856501e183,-5.244655877937268e183,-7.909136554986116e183,6.171883146531646e183,-4.002082608789597e182,5.196986527916539e183,1.2887295261120967e184,3.8211924657787083e183,2.0516375407895946e184,-1.0577438779872708e184,1.0495707805486308e184,1.406865101343959e183,1.3848143981723815e184,2.3523276087435773e184,5.716812034452558e183,-4.703523679799081e184,-2.4870627974144214e184,6.239369525049713e184,7.271552711706983e184,2.739265313574438e184,-2.919121741139075e184,-6.900021354807318e183,-5.71471528714195e184,-1.4486076293372883e185,-5.806169417435558e184,-2.633610858265599e184,-4.303103148468546e184,-2.790432157692644e185,9.448899778655219e184,-3.506783851844508e185,-2.0027586435746357e185,5.420413989622597e184,-5.3127532612430716e185,3.1489670764953837e185,-5.025731935019056e185,7.121770761318763e185,5.3032538129123956e184,-1.2224388816214116e186,-1.0457194654062485e186,1.5582061435726543e186,-1.7571178496699374e186,1.2953555564688368e186,-7.398016183480594e185,2.560028351436814e186,-1.2857940946253157e186,3.4967070667362255e186,-4.478846138084155e186,2.2095551491487547e186,-4.689173210514044e186,2.180279245582109e186,3.732574997052423e186,-8.249280655741772e186,7.233015581561877e186,8.417106919823209e185,7.681740990619063e186,8.278625372537911e186,-1.6443650363483819e187,3.4487508489400454e186,1.2770766774929e187,-2.315787004477316e184,2.546484115997689e187,2.630129656233959e187,2.6347248843631766e187,6.657588171384718e186,-7.88078362925811e186,1.5938841314048672e187,3.797079359078207e187,-4.9384766820674245e187,-7.55709757738465e187,1.1646159215199151e188,-1.2467183044858976e188,-2.8817163110046217e187,-4.636344473466079e187,-1.4521001668153255e188,-7.060204232870108e187,2.683622803924732e188,7.317102929847666e187,3.666172285989087e188,3.65733071515204e188,-4.395504243121384e187,-3.229047206730608e188,-9.230804246157776e186,-6.450665729884345e188,-5.013049305711111e188,7.84961223002389e188,-6.716794438077384e186,-1.0385183439796482e189,8.956414044045623e188,1.6633899574253568e189,-7.661984920885494e188,-1.2364965099228628e189,-6.941173079015558e188,-6.95960411928335e188,-2.805095513320122e189,3.094104416054818e189,-3.040258850068187e189,-3.598887415250695e189,2.751173578109472e189,3.052525069491174e189,-3.2066184159719e189,-5.345880432398176e189,9.14665008604894e189,2.6603837345962965e189,-4.868845107296009e189,-1.1716058366204974e190,1.4037085555877183e190,-9.442690668713129e189,-2.4758303153569047e190,1.6214138784869333e189,2.7245746386643658e190,-2.1648525965303633e189,-7.278442108547061e189,-3.810874788041041e190,3.7951801431493884e190,2.1241401807058646e190,1.188540034105192e189,-8.60772234927135e190,9.485058953960124e190,4.950727533233607e190,4.8301898353972515e190,3.828698613967271e190,3.794657085014375e190,1.8944113948255453e191,2.0602212470070673e191,8.065553103289899e190,-5.4264310728849485e190,-2.6714050272471945e190,1.6322451174019882e191,-7.027064213887993e190,2.4366676827619772e190,3.874174483513933e191,4.195425524879206e191,1.7964334073564545e191,3.384502152371829e191,9.419768167799252e191,-7.514117177913725e191,-1.283661453203808e192,4.2507217689828085e190,-7.518193258454302e191,9.614242364749439e191,1.8669270660266864e192,-2.8069435923395427e192,3.687790804179594e190,3.766056345282972e191,3.4861125701262046e192,-5.650118070183251e192,1.864512469849753e192,2.4504554176753165e192,-3.0853928068932395e192,7.254348285549797e192,-6.943336248097729e192,1.2577001679847304e193,2.802146947102183e191,4.762789272092432e192,1.412614215862803e193,-2.428392634448922e192,-8.558452789513394e192,-2.3324159755319592e193,1.951708151280354e193,-1.6476364108008997e193,-2.212777447284595e193,4.322443152041402e193,4.150171743831509e192,5.926830936509614e193,-7.848009505749752e193,1.0116464000895777e193,5.80646856318528e193,-1.4371790144878985e192,-1.3855866445642018e194,-1.5735098958210707e194,1.328482049402454e193,-1.0823838798461215e194,-1.2716297736149209e194,1.4134670817434039e194,2.0039633925868993e194,2.950432980745857e194,-2.5231596882139792e194,1.9050556817239235e194,4.918254956838533e194,1.730115938543736e194,3.463643279533929e194,2.7515334355772967e194,-1.052592028094911e195,-7.173963915763474e194,4.5088938013755245e194,-2.5286137902178844e194,1.61397389438243e195,2.0618312837851842e195,-1.361155124107049e195,-2.405230888208014e195,-9.287211040732281e193,-2.9016082823960546e195,4.0276543219815945e195,-2.435384239671572e195,-4.80202315828246e195,1.242890413048689e195,-1.4232151740229305e194,1.3049996731468203e195,7.557174766897747e195,-7.287300880468714e195,1.116738880376675e196,-1.3718168203709265e196,1.6408316331993547e196,-1.075540239759283e196,4.836155713152313e195,3.6464692881216286e195,2.1196065996501565e196,6.969643106542646e194,3.5493764857229384e195,-2.1411741452527938e196,-1.8676483204742188e195,4.789567932561505e195,1.7731232413591718e196,-1.575910606222186e196,-4.571025045116851e196,-1.0158008542113544e197,6.383740435551445e196,9.858709670610889e196,4.113395523380252e196,-4.3960968554439645e196,8.776956244724475e196,2.9166476061116216e196,-9.35912430663758e196,-3.367573650718901e197,-1.6152011616436406e197,-4.500025971071396e197,3.3039261305603906e197,-5.8972502990138034e197,-5.636666144943941e197,1.0665193997200202e197,-4.439005145237548e197,6.583385722209089e197,-2.6318670385048078e197,2.222557801994313e197,-3.180905757240268e197,-1.333587050786738e198,-5.330115983487761e197,1.845840382184772e198,-1.2722353319693755e198,1.9228149178446023e198,-3.9799444501401765e198,-3.691304146278032e198,1.8779207657938926e198,-4.493673417401818e198,5.55828675160171e198,-6.339363451682806e198,-4.051229291527947e198,-1.8566487504692738e198,1.217267155342335e199,-1.4666293842987212e198,-1.6496822708368215e199,1.5059866094964907e199,-1.6019439261806936e199,-3.5674022091617646e198,-2.6637507524385068e199,1.3736115661386096e199,6.318061519176919e198,-2.0925387213709877e199,-1.0922988226423504e199,-3.967592544392339e199,-2.8721541993397625e199,-7.276125557130081e199,-5.01909091230797e199,1.0936164802979832e199,-5.684820440456928e199,-1.2953428087805512e200,-1.0703170935260763e199,-1.6873833231812804e200,5.560754416033421e199,1.4042693756326578e200,-2.5922066230467854e200,2.559552265876677e200,-2.45393422248075e200,-6.565795333890629e199,1.2402819481395696e200,1.2513124343973465e200,4.751692760933009e200,-5.65974991545131e199,6.0879023431462696e200,-2.374591280685381e200,4.7972362416837574e200,1.2646816703949855e201,1.8314843587392093e200,-1.677663986908251e201,8.180902094831297e200,8.169599637499515e200,-2.0285483381356872e201,2.78904199940113e201,1.1202811373086981e201,2.755581855120809e201,4.287358207123983e201,-2.093503737405997e201,-4.664385264807605e201,7.330738063526383e201,-7.424201516809735e201,-6.587543186999363e201,-1.1034395152589474e202,-7.881528988441583e201,1.4800550408233423e202,1.1396106500168727e202,-1.8412530748570222e202,-6.825649395502001e201,-1.3893483302391251e201,2.613876817513807e202,-2.832416963985405e201,-2.039445115116263e200,-3.8262881942090004e202,-3.9059632525850884e202,-4.29681547479565e202,-3.7521226230521217e202,4.0698423146539845e202,-1.0519286827582656e202,8.494113794745999e202,-2.608700172985171e201,1.0055007681881548e203,-1.3710003289038758e203,1.176048884514854e203,-5.208599008174569e201,1.799991751095055e203,1.0139671578164521e203,-2.5943694493410804e203,-1.7212054040271283e203,4.002955088057722e203,1.1684382319749733e203,-1.9511945011174852e203,-5.935860815461252e202,-4.707781601828431e203,1.242072968577332e203,-6.546892624664746e203,-1.1755583711405528e204,-7.479509527366916e203,-7.355872993366012e203,1.7529816954266752e204,1.0553206525002463e204,-2.0495172454525494e203,-1.4328740521564805e204,-1.0356028929561231e204,2.5446695062649453e204,1.3014351031895925e204,1.9011305431254834e203,2.4574490349436003e204,2.7326244580480494e204,4.8532017428954765e204,2.3930775645252286e204,2.300700330037672e201,9.508691891264737e204,6.748612471923708e204,-2.9969837634254097e204,8.026544791244869e204,9.730667504495514e204,6.814319254429563e204,-2.0620915591917235e205,-1.8184019561002364e204,-2.0049180624966433e205,1.7084318364212094e205,1.452285195367222e205,-1.633276736253861e205,-6.174615471025774e205,4.283142543926026e205,-1.6033336707125195e205,-5.57871147172283e205,4.481329983901415e204,1.211466425505849e206,4.071998274894013e205,1.1766085451777589e206,-1.8957432660050313e206,-9.893218764990114e205,-1.5471143809987714e206,-3.8434452717887414e205,-3.1632366456303664e206,-4.0670601040483574e206,1.177984230598867e206,-4.9050161436292894e206,1.418140063925403e206,-6.770220596153347e205,-1.887336102415341e206,8.356673110498665e206,-4.117021241576743e206,-2.9288840745487758e206,1.3019321837090046e207,-1.3479404415674386e207,-7.965010980287445e206,-1.3937559916337998e207,-1.3841841717308857e207,-8.927747719788091e206,5.388035535959205e206,-1.0579930304994846e206,-4.2368775291873834e207,-4.835701911624201e207,5.355144798984626e207,-5.662076994597656e207,-2.1426792392074394e207,-8.333496213674664e207,-7.573123247022731e207,-1.0670760539932234e207,-1.4047513514724917e208,-1.0385141250096175e208,3.716458562439015e207,1.4482046614915834e208,-1.0570987674084452e208,2.958670406348877e207,2.8227420508450557e208,-3.0657119057873887e208,-2.0909510087453955e208,3.827428474321039e208,4.2919523330147975e208,-2.776283911531538e208,1.0778380044825165e207,-6.478449580478133e208,-9.437417244059746e208,2.762184209019954e208,-2.0696477634333764e208,-5.66351942081641e208,-3.492595639312902e208,-6.940558744014248e208,1.8379638870553048e209,9.01068398812601e208,5.609646641906311e208,2.5032249523069056e209,-2.521104093489717e209,2.886333472117735e209,-5.419643088154313e209,1.7003032554306267e209,-4.5798659550956964e209,-1.9322155548530477e209,2.8094697029414304e209,2.2196251318781258e209,-1.1310771437060403e210,-1.6434364126953015e209,-5.401801129737813e209,1.3860902596049078e210,7.407274994910839e209,-2.9346283513095606e209,-2.132492001257912e210,-2.0111824847132805e210,-1.1891133050008578e210,-2.3270082126483312e210,-2.8176301836463836e210,5.1958495407044447e210,1.508756318683652e210,-6.880414362376227e210,-8.73463452859483e210,-1.376616484264562e210,6.121163186137939e210,9.720962028316342e210,-2.5923497135554304e209,1.6957036716492513e211,2.139698608415608e211,-9.95180134409452e209,1.566558397938661e211,-8.415561742641456e210,-2.821245091667401e211,2.0822561171780327e211,1.9658884551119092e211,4.875738428779471e211,6.940868711160286e211,-2.5596285110838843e211,7.677412265754677e211,-2.6184348511655273e211,3.6525285101945843e211,-2.1165386474381594e211,6.108026361508786e211,6.960033951377931e211,1.9092299470508605e212,-1.858067618013998e212,9.749010505226456e211,9.554222623396048e211,2.1863607366648935e212,-4.111647181443392e212,-2.1626271400785738e212,-2.4874963198620606e212,-1.7244770115824072e212,-1.9247860164018007e212,2.060682487101063e212,7.501516086845941e212,-1.0239561216346609e213,9.422333627499176e212,-1.1564609269561821e212,1.1816121535135566e213,-1.2056507119413087e213,8.410174484144209e212,-2.308153027135168e213,1.124007209140826e213,-1.9621944038254768e213,2.653203285165416e213,-2.1905393251453713e213,-4.3372463813317616e213,3.456798816222812e212,3.833217245812978e213,8.104215644497966e212,-5.754757729228346e212,-2.6585122873201248e213,-2.453441510918015e213,-3.5586723671417277e213,-9.85970899833997e213,1.199206118435698e214,1.8462005146967147e214,-5.603151452711257e213,-4.3760503574852836e213,3.3412163431009815e214,1.0421688665679638e214,-3.440077189289294e214,-2.6821509487563625e214,3.182845574864421e214,4.472012855580927e214,-2.1597647460993784e214,4.654120548202822e214,-1.925340759991797e214,-8.063592742600075e214,1.154529606287873e215,3.718364051497373e214,-1.8459884906350877e215,-3.465370353299281e214,2.401865051611224e215,-1.8544118077216206e215,2.2135555690486857e215,4.418438646054508e214,-4.3481125983688405e215,-5.0132769828973425e215,2.370042722354922e215,-2.778547853199329e215,-3.725309317895562e215,-5.793585847744623e215,-3.7385480135027334e215,-6.2189655395658115e215,-1.2677585110141588e216,1.6594925060280714e216,1.3881724280020332e216,-1.3374136768267743e216,1.2582053201885975e216,1.9937290150012392e216,-1.947561773288418e216,-1.2436070883486557e216,2.3967135972905565e216,-3.28979296907247e215,3.571207578846165e216,3.1736479754110756e216,-7.710764261545536e215,1.4495414441897568e215,-8.89562041116334e216,-7.134634947787144e216,3.814974513498741e216,-1.4929556972879588e217,3.9709314716109945e216,2.0886089951440996e217,2.052050401872575e217,4.2315971841722457e216,-1.7633763201642405e217,-3.321256718672309e215,2.2855661169881e217,-2.8600838350942433e217,-2.0551234445386997e217,-4.0876597506651617e217,-5.34441224084367e216,-2.9326290704364305e217,-2.9268295625204404e217,1.6332935156866732e217,-8.466190452858278e217,9.804975576247576e217,2.214679268630006e217,1.5347665434873792e217,1.457250895068216e218,1.2936390248788978e218,-1.555646054288672e218,-3.1724872709214924e218,-3.999225867750492e218,-2.9803429125841462e218,-4.539973049190323e217,3.167616942779467e218,3.91709787293003e218,5.939842992579928e218,-6.082956456942381e218,-2.2698470610934773e218,1.131026670000834e219,-8.008728709504999e218,6.4122898931990476e218,-1.1910246345191752e219,-1.3797518968411365e219,2.427829679487852e219,3.3745960301627592e218,2.524991425473991e218,-2.2444402190471942e219,2.7563007009104692e219,5.16773771543158e219,-4.5974162905193195e219,2.061203972128221e219,9.691151980059167e218,-2.894147628894169e219,-6.67845903439298e219,1.8267342978573044e219,5.861096938244372e219,-1.1216614997297243e220,-1.9536219271486162e218,-1.0353380640877812e220,1.7117620088895448e220,-2.6262724000448655e219,1.6668869596949625e220,2.2420980498311259e220,2.259213733474052e220,2.966011006994059e220,2.725296188330447e220,4.428494911059733e220,5.794685041553999e220,-5.508380371338744e220,-3.1346289410157336e220,-4.180383482229301e220,-9.12007564565048e220,1.1217734967306472e221,4.0270689123756433e220,2.0578813407419326e221,2.159289334379384e221,1.947997473579632e221,-7.90309107976775e220,9.867874730242053e220,4.316979527822153e221,-5.0105754309883684e221,5.809036522281141e221,1.4037704715378096e220,-5.821845674621481e221,2.9564403458408843e221,4.969680182578781e221,-8.546004871707732e220,-1.3640685976834861e221,9.652219899770561e221,-1.2701608245323801e222,1.0268902798628864e222,7.1762215265769525e221,4.2419232334504306e221,2.2044491820985677e222,1.1952256494818417e222,-4.168403530596584e222,-1.90035637366915e222,-5.526204171064436e222,4.481835246953328e222,5.637124225969876e222,6.132359202813272e222,7.66539252312431e221,1.5737335198481876e222,8.858096547955799e222,-1.7051402080607445e222,-4.139971353897127e221,-9.202930434545266e220,1.377024121707891e223,1.9606915935357924e223,1.1967379052707337e223,1.7702152934457438e223,3.568418144527549e222,-3.0057199809001875e223,-4.246519813659981e223,6.988097333199741e222,3.1820586337204433e223,3.105633588098851e223,1.1190359771436266e223,5.38504010770803e223,-4.3076388374762107e223,4.5327646753098246e223,-5.751596451029964e223,-1.2956536850526156e224,8.050440998285702e223,7.846829245872054e223,-9.87306392254267e221,-1.867637681901765e224,9.848583082279323e223,-1.5178448775528538e224,-7.479174392374332e223,1.100526517601543e224,1.5327864205002953e224,-4.461887743509869e224,-1.4018612816757527e224,8.94660977619579e224,4.798332316463437e224,-2.985139611189363e224,9.433885351432427e223,-7.986702333702934e224,-1.6698657105822387e225,1.7927459641967002e225,-7.896134715506133e224,2.2211328396522394e225,-2.438976083311711e225,4.254046638996708e225,4.393357545501016e225,-1.7900267344978232e225,-1.5197042238252768e225,1.856444947728683e225,-5.4639284087831795e225,3.363897233318004e225,-1.5513655142123267e225,-1.1868733713236546e225,3.728626649704979e225,2.528337961103206e225,1.86353154018272e225,-4.430548337481358e225,-5.1795042936702764e225,2.2076083293057483e226,-3.07454850631728e226,3.022556668027808e226,-1.1532434415781601e226,2.568591733914815e226,-4.49025092978415e226,-4.3384104155813606e226,-2.9778383434227964e226,6.896040412888866e226,6.398322321082315e226,4.0334219066376316e226,-1.3974385313134102e227,-1.081373747205535e227,1.8316088839734409e227,-1.008548828274776e227,1.7915034708514225e227,5.936529147262669e226,3.4881624940583203e227,1.5536629357583804e227,4.727603318888471e227,5.435100376854966e227,3.8211662779993e227,4.549568750692908e227,6.432584507501803e227,-9.564887980903034e227,7.056769373304867e227,-1.1245053821847445e227,1.4812568214045182e228,-1.1991798295712165e228,1.4489066407607692e228,1.4817987211840133e228,2.501186018446194e227,2.472886157636817e227,1.3370254664881304e228,-1.2332865997888514e228,2.2375715388367714e228,-1.5535741472290696e228,5.486537229837539e228,-1.312154691097137e228,3.597587014677449e227,9.0386428657672e228,-5.568304391510947e228,-4.050907019597741e228,-2.912154423930358e228,9.584367101125001e228,2.6182862360158978e228,6.101225932714713e228,-1.5300980356503133e229,1.0819113059443841e229,-1.916961697401768e229,1.6956837747060347e229,-1.6157021397422128e228,-2.800662015666368e229,-2.2874625726825034e229,2.8914798649333117e229,-5.777290373422982e228,5.244946808832996e229,-6.231129759912634e229,6.000737833710007e229,2.1050846915755733e229,7.774078262950497e229,-1.6015899985241054e230,-1.322629799998174e230,-2.1525566953070683e230,1.0818430880521979e230,-5.229124253458236e229,2.4051669849096996e230,-4.059875755469447e230,-4.824835664480958e230,4.3917721357237974e229,4.67939751891751e230,-1.1222705646844365e230,4.557465095961072e230,5.8655097724321026e230,-1.255729919540628e230,1.2848426067262418e231,1.4009470053575837e231,-2.9688197836722047e230,1.5074790867686085e231,-4.976658512458051e229,4.04380946374992e229,-1.2135554254152896e231,-2.5779264789707586e231,-3.6492451475112273e229,-4.8809138032691685e230,-1.5784876617505262e230,-3.558453721769491e231,6.476221340390281e231,-1.559181963497882e231,-8.078817223877029e231,2.0118535047726098e231,8.353265398795607e231,9.637960598813444e231,9.663882226234582e231,-8.867730133853903e231,1.7049274385697662e232,1.412876204316551e232,2.3910275875180324e232,-1.0808482724577825e232,-2.165252161614714e232,4.629613315645432e232,-5.270076015387523e232,-2.692396108277871e232,-4.574173952697651e232,5.321728369782034e232,1.1084891138367315e231,6.731955509252484e232,-1.7380822018362103e232,-1.6552261778622649e232,4.8162589032177916e232,-1.68141023053815e233,2.000273659588686e233,1.2981111296147018e233,2.5617651565001324e233,-4.051221908977547e232,-5.808767459550593e232,-1.2138171557045418e233,-1.5182853642806333e233,3.7652332773500737e233,5.314082404301201e233,-5.349367109419873e233,6.077089743956264e233,1.0082322364711313e234,4.961945312983476e233,-7.627886112146864e233,-7.213504353736688e233,1.2379128250402525e234,1.443805051880768e234,1.1238328250249287e234,-1.8974790467626243e234,-2.9845543471473165e234,1.913102857297951e234,-9.43007330715789e233,4.1019586419781275e234,2.2685284715175784e234,-4.082578096578064e234,3.726502335366854e234,-6.156103220279987e233,7.6617992667716e234,-7.730172654175434e234,-4.357695358729103e233,-6.451019967318458e234,1.1143802738030913e235,1.627511799712368e235,1.0700489441420421e235,-6.8577876323050515e233,-3.1565327925962553e235,4.052251954340346e234,-1.7150251174768074e235,-2.755529277357322e235,-5.548944937486886e235,-4.5708964089578334e235,-6.546028718826184e235,-5.829477922662487e235,-7.052225062249808e234,-9.012259518803127e235,-1.2482870769341348e236,4.084908920702036e235,-6.771166729013128e234,-1.1999208292298784e236,-1.1164794051299412e236,1.950179672981904e236,3.418712066344381e235,-2.510017529361528e236,-2.5686910135134108e236,2.7865255162537495e236,-4.351046168246982e236,-2.3061762025727093e236,1.9881673406588838e236,2.0003038374519543e236,-6.536360277835444e236,-2.4964799497877728e236,7.117131071935246e236,1.2367313338717509e237,2.4646793217957835e236,5.424253298639201e236,-5.889484167405275e236,1.6509340966430594e237,-1.9555334486062476e236,1.1368565299646443e236,2.9911445469501376e237,3.6909106969954325e237,-1.0811325991405814e237,-3.580091522802615e237,1.1947757849903567e236,-1.523643226313157e237,4.571355973214299e237,-4.904501477052203e237,3.519780336137115e237,-1.226107662486682e238,1.0811063485520819e238,-3.174780365858186e237,-1.9058078935703114e238,-1.7271126568898506e238,1.2907146793150419e238,-1.2308595537070616e238,2.881484667052626e238,-1.8382141441557396e238,-4.150142431694181e238,5.386171349300163e238,6.271370634340585e238,7.448320863164423e238,4.748959550569465e238,-7.004109520616542e238,6.95758000598932e238,1.4501890058643384e238,-9.367521593523441e238,-3.0408041067965153e237,1.093754315453909e239,-2.2033175681840403e239,-2.243047432312177e238,7.980746558541595e238,5.363625526071523e238,2.821180579705701e239,2.361421522692399e239,1.0458867705516199e238,-3.5292057931849655e239,-1.4450941435828641e239,1.0451754518334348e239,-8.340455201950316e239,8.762264957286738e239,-9.316842813771575e239,-7.159248070317355e238,-8.224213487211738e239,-8.917669199360403e239,1.718450115886199e239,-2.2982732213292463e240,1.1707593442244818e240,9.91810298372701e239,-3.888376059133689e240,3.413260497369521e240,2.252440212279462e240,-5.7556698581289296e240,3.9742773288021796e240,-5.2037882901623715e240,-6.140078683272824e239,-9.076235496899506e240,-8.96157382630086e240,-1.459224142787268e241,8.267529167398495e240,-1.582909577439636e239,6.251831582506604e240,6.983006366052447e240,2.693889606262703e241,-2.1655536809349605e241,-2.2517600865315392e241,2.5442008931540265e241,5.0904460730538373e241,2.781483042873759e241,4.1367652844957054e241,-6.668847165656895e241,1.060264631971999e241,-6.564240544796693e241,-5.625465856649165e241,-1.1581130311119326e242,-7.718231037512668e241,-1.3401246876193131e242,1.733880036831755e241,1.726287487736926e242,-2.0733463832479652e242,-1.6595370709486077e242,3.631625483392618e242,-1.7993897214781539e242,2.3084380032480194e240,-2.0451263801640327e242,-6.584347098608256e242,6.365851187587067e242,-6.03545149534466e242,6.631451360628395e242,5.6524591941238565e242,-7.215468105397628e242,-1.5258052314084342e243,-1.019181585267344e242,1.787123325520795e243,1.5994837675856465e243,-1.5671338449436464e243,-1.7739962853055032e243,2.235518362238772e243,-3.008777968144982e243,-4.716358136884502e243,-1.9512856754193323e243,-6.497082164920054e243,-5.377244459680049e243,-3.5687955775984627e242,5.270051252469021e243,3.791016383687403e243,8.687295604529655e243,3.184477800637147e243,-8.394877076282998e243,1.8305208638600158e244,-5.474747208661365e243,-2.3838835925250872e243,-1.5462736395603593e244,9.014934425377465e243,-3.336759931921493e244,3.876872847097271e244,1.2871908680774584e244,2.8378805491383016e244,6.140561699365771e243,4.7565864627874145e244,-8.910951414025606e244,-7.430679820787797e243,-3.3952657005645825e243,-1.0473248080595334e245,1.212656468762698e245,1.5299553805164599e245,2.566615854244196e244,1.1492149468805977e245,-2.933990239649999e245,-3.0230665302508515e245,1.4975839729376083e245,-4.352761828918352e245,-1.6728285975895498e245,-5.492111100661495e245,3.34709095918566e245,-2.3771103709616013e245,-4.0816412914014673e245,-2.6647248979000407e245,7.976305627256914e245,6.411570847747023e245,1.2485528279887866e246,-9.959327780133916e245,1.5139124279626563e246,-2.4383274351067113e246,1.0087350524804168e246,-1.8774066069689774e246,-3.719002317384426e246,1.2033306170110573e246,5.065814050777718e246,-3.879609035109992e246,-3.4938261185326637e246,5.605127787548592e246,-6.052998299026611e246,9.308878561772983e246,6.01262388747074e246,-6.120325788058425e246,2.421608256678391e246,-1.2509497494951049e247,-1.0865201558541948e246,3.3579804224079567e246,-2.613100778939277e247,-1.8574299835435856e246,2.903654026831467e247,5.1166275977249465e246,4.643516707416786e247,3.8111517882199144e247,-5.16807045149037e247,7.469959530713802e247,-2.092735736704132e247,9.742786907052653e247,-1.0109749604832168e248,2.2383696142235517e247,1.171254284710944e248,-1.0193851053561396e248,-1.9525101426846165e248,2.1154615225167238e248,2.1040895942077796e248,-1.0699175291018516e248,2.9819363806027113e248,-2.758420838172704e248,2.588893032261152e248,5.678988753111727e247,-2.3619866966747833e248,2.31305806028462e248,2.0463300307047287e248,8.746990343564618e247,-2.8392089621458357e248,3.617342926188937e248,-4.723423070265679e248,4.983467994331265e248,-1.1319288675698637e248,7.093986135530527e248,-2.6116688722296047e249,1.8582319708646503e249,1.8968805334270553e249,-1.1893859568531537e249,-2.066221738563786e249,2.3708038750660893e249,-2.368516289410135e249,-1.7438232201538774e249,-2.5998138086146868e249,8.353114249231864e249,-2.444426970289818e249,-9.52858811399125e249,-1.9791793836292106e249,-9.94862623682245e248,1.0396572330507089e250,1.9823102034933394e250,1.0767263498849639e250,-6.483937042794973e249,2.964770491952211e250,-1.0893410770939324e250,4.243884304807676e250,3.7189538559753396e250,2.604159514001455e250,-3.12970188257947e250,1.2369908555074831e250,-6.064420586786027e250,-8.143959684831668e250,-8.104756258045444e250,3.140832535746364e250,-1.5008519461426998e251,-1.455705633654086e251,1.0602886855769567e251,-1.9199399608164195e251,-9.685771980190915e250,1.8312046217033738e251,-3.5759865197721124e251,-5.5609206063340524e250,-3.3402442669135557e251,-1.9313139137041205e251,3.331248657784539e250,4.452653683967331e251,-4.160057449217124e251,-8.357213208385349e251,3.306221957885417e251,-2.2747939694619853e251,-1.8016727074511964e251,-5.155780697827414e251,1.939062441746483e252,-1.0398660056061173e252,1.2015555427900697e252,1.3078697148018843e252,-3.8707679253486317e251,2.0138547913378214e251,-2.1024486280480654e252,-8.357125539003812e251,-3.9223466173538516e252,5.400973158832555e252,-6.1599729803900655e252,3.906933739147988e252,9.274499462290974e252,1.045726344561561e253,-4.433488641846871e252,-3.257930034240153e252,9.97239846640554e252,1.930703518356666e253,2.4265272939516204e253,-1.898802875967607e253,6.985996703798813e252,4.138807948496406e251,-3.712364997316101e253,1.401127390351764e253,4.169191717019437e253,2.937518980944012e252,6.419455135797923e251,-1.7439605849191125e253,-3.5731960166811896e253,-2.3399379408214533e253,4.745758133867968e252,9.82879188958586e253,9.636267742410744e253,1.7928452978878468e254,1.585475105187536e253,7.939277199790653e253,-1.556339863876063e254,-1.7854560913033626e253,4.176818042960125e254,-4.529528824008952e254,-5.589321279925575e254,9.296959028124589e252,5.12426337440807e254,-9.269348060355864e253,9.502326114546367e254,1.0254624243655456e255,3.845051471840984e254,6.523710332759781e254,6.539195173574503e254,1.540724716153286e255,1.814482789483687e255,9.051208184252547e253,-1.0681641542395058e254,1.7737838136616194e255,1.789966006018435e255,2.7858143398213722e255,-1.6182463876409038e255,3.946559584314545e255,1.230055309898503e255,-6.610013204933561e255,-3.5265211769391126e254,3.0449786575161232e255,5.8393999842394545e255,-1.3329153501580116e256,-1.4137570952677857e256,6.609988069302809e255,1.7382336694972333e256,-1.722102404633966e256,-2.8469044060996706e256,3.181604592278723e256,-3.049136331589586e256,-3.9706023424829573e256,-5.118447698198453e256,1.2848774684262198e256,-5.596383076653618e256,-6.58424374703426e256,-7.731955424245539e256,1.0544051370084499e256,6.935751929563864e256,-9.504830636123379e256,-1.6904659230335826e257,-7.217293939119535e256,-1.269573299337312e257,-4.757711469947762e256,-1.4278972817141647e256,-1.801035610936509e257,1.0642274353825975e257,4.0339689578419697e257,-2.400396648451064e257,5.210044769549577e257,-4.8758761052775885e255,2.209026105037081e257,-1.7324283851226662e257,8.7030006414195e256,-4.930817118213661e257,7.151635666513927e257,-3.982693381300792e257,-1.8024392022568462e258,-8.993688394447226e257,2.036616755124061e258,2.269563061836162e258,-4.5465611623187453e256,1.1849796431898716e258,-7.330768132101047e256,-1.0082868016592445e258,4.823539515426001e258,-6.68518951424911e258,-4.739102496807339e258,-5.061740525621e258,-2.0134848876676565e258,9.488149438954827e258,-1.4339559282833414e259,-9.188258992544716e258,1.4873089614081716e259,-8.6809591103769e258,-6.7614622356088925e258,-7.154789275896752e258,-6.430235381937258e258,-1.989157453011368e258,-3.192434100046088e259,-3.981990639386185e259,2.0053249720135966e259,4.340426706308035e259,2.407480881619376e259,4.911178686064977e259,-1.4849425625411372e259,1.0532485627858963e260,-8.684650888497666e259,-9.384272786093035e259,1.037904178960708e260,-1.40186777616479e260,-1.3552466239274933e260,-5.653548247700825e259,1.4607023100838617e260,2.554559607030938e260,-3.842754564584648e260,-3.851933495825864e260,-2.5790447928508823e260,8.722324388827135e259,-1.5687777949640311e260,-7.934768039644038e260,-1.6250913586124957e260,6.933910292891964e260,1.1708494403988593e261,-3.7389535219494447e260,1.3561306530212242e261,-9.145425361746121e260,-2.232882009334278e261,1.529188760656699e261,2.1195638325527846e261,2.6508033812989098e261,-1.1764838826818294e261,-3.1273260711366125e261,-1.798218389338027e261,3.3331350314638834e261,4.351506808493466e261,7.6580777727951525e261,4.93316418500549e260,8.547902897335382e261,5.414427181333339e261,-7.40374253235909e260,6.349881194545221e261,8.204279972854527e260,1.3396517489644812e262,-3.1607114605436254e261,2.960725642532934e262,4.5164094286517467e260,1.6788345225141505e262,1.7195853465958547e262,-4.036508597237988e261,3.640373766770554e262,-3.046719291659438e261,-2.726435914523422e260,-7.108247212312397e262,-9.367768934865141e262,2.162842766641308e262,-9.082885062164421e262,-5.809303963146643e261,1.5231401333772078e263,-4.345297682369139e262,-1.487042455549595e263,-1.2285710933287852e263,2.1825070190147074e263,-1.2131870915578735e263,9.176405180853886e262,-5.151514543059867e263,1.4610095440703148e263,3.1829131363703853e263,3.603541684812977e263,-1.1230595328141298e263,-5.827560844490734e263,9.022124266844901e263,6.920507781684176e263,-5.067590413119499e263,1.0630322956230846e264,-1.7423842583344877e264,1.6703811216659683e263,6.197239693359505e263,2.0741616582485574e264,3.5105499275094107e264,-5.849527829169945e263,-3.0096251317924365e264,6.643165607673478e263,-6.629204218757696e264,1.4968879860690997e264,-8.605917884362356e264,2.3251149517148043e264,-9.886458792541379e264,-5.584685506883069e264,1.4206750940955589e265,-1.4296320718366995e265,2.053620814019289e265,-9.634432923137212e264,2.0977556049845176e264,-9.112406402472125e264,3.565336421803876e265,4.118416302687326e265,2.7387998562412527e265,-4.2047860043720416e265,-5.881399944089414e265,5.695012378579509e265,-1.6877903802794976e265,-7.934618266110754e265,1.0508487907583919e266,6.897537239495198e265,-3.599859431010805e265,1.0348387111747402e266,-1.474815754424344e266,-5.614422607905126e265,4.660156389313977e265,-1.8267886278912312e266,-2.823858994640254e266,1.8538992845855643e266,-1.1415167200240892e266,2.1040121968938375e265,-2.693891172594778e266,-5.325025518591794e266,-1.758974210441521e266,8.411323399094196e266,-1.4482016372752505e266,-3.747636443019412e266,1.3756168749150678e267,1.0953405375795378e267,1.7602828397309333e267,-1.8767626430091792e267,-1.318729709069774e267,-8.194523369472263e266,3.0826421751751406e267,3.3012331355170878e267,7.859514260592171e266,1.1346574450455543e266,4.2061728425738015e267,4.797150991200414e266,-1.7025189863544012e267,5.3726036601312e267,5.71413675880372e267,9.272738428164614e267,4.322874499876299e266,-3.530344261449806e267,-1.3626869501879718e268,-5.96915511574822e267,3.0567473571548738e267,2.6731906207499943e268,-2.0969650339421304e268,1.9408031045714925e268,1.9444061615675033e266,-2.3564072245987407e268,1.7285896932374975e268,-1.5558184741919062e268,-4.3641092443885056e268,1.913783994470079e268,1.1061458814995974e268,-4.715380018953284e268,1.3416026443196836e269,6.813714293736937e268,1.0777556762863544e269,1.91609802697851e269,1.7216943264498686e269,-2.135242070054426e269,-9.63172862003594e268,6.846694662386706e268,-6.354392495768503e268,4.023525567134594e269,5.332803826484266e269,-4.9361879740539376e269,-5.218531461905726e269,-7.244775123937316e269,-2.433790130845178e269,9.456617331900928e269,-1.1579638564748948e270,-1.2038524006755563e270,3.89837954569083e269,3.0224612094737307e269,1.4131144912756857e270,-6.970186205096089e269,-2.2593392744515224e270,1.7466377651367374e270,2.1640315956210345e270,2.8562019008176096e270,-2.328364005460939e270,3.18486848060943e270,-5.794520105810448e270,5.900427840702706e270,-6.57108988987902e270,-6.581575359818167e270,9.920518304776372e270,-6.899308115580285e270,-1.123028240079297e271,-1.3594896683723473e271,1.4786204859720139e271,-3.498801036031027e269,-1.3595130515235483e271,-1.653146948684345e271,2.688276610920317e271,3.872544356544671e271,3.2869836237348576e271,2.2958341792347263e271,4.716386002131305e271,3.8520065511190194e271,3.96706370766144e271,-4.150498041709014e271,-6.202873253360665e269,1.1905295944605068e272,-1.1924897747591218e272,2.777936358564926e271,1.529066849826152e272,-1.7920911251877007e272,1.30351647773238e271,-2.3626256916635284e272,-6.0975359814409676e271,-3.0760498399645096e270,-1.144717079774276e272,-1.92506636308014e272,-6.535084470500345e272,-1.727321348433654e272,8.10236872547982e272,8.011734342098595e272,2.9749117327609335e272,3.998501491094915e272,6.869080180432272e272,-2.5858126933153847e272,1.21372537547433e273,-2.227124402316334e273,2.38974209402314e273,-2.1691319157156056e273,2.1747542473869325e273,-2.2896136567302035e273,9.103443129430806e272,2.302793404359698e273,-1.739228455672951e273,-3.455310183887981e273,-3.890547327500177e273,4.796352583073182e273,7.691701832608502e273,-2.2298507942886707e273,9.46075528865986e273,-1.1646398063872137e274,-1.1518211053269988e272,1.5567338504911206e274,2.6500320303551726e274,-3.056528159869745e274,7.314083695239403e273,-3.9781449984689144e274,-3.909168704227516e274,-4.2135011324166925e274,-5.5969188034046975e274,3.8797097998692524e274,8.325772093563523e273,5.833530928840511e274,5.377441982427162e274,-4.49462870524334e274,7.325694146370449e274,3.7806822560467e274,-1.7450241959188108e275,-4.3152754114502435e273,-2.1406186480627838e275,1.7856891356801994e275,-3.389079379507361e275,-3.057420651382793e275,-2.449353696632806e275,2.012936033524312e275,5.819506932344527e275,6.285362994210871e275,1.6987491970131802e275,-6.433986753151061e275,-5.001011802793623e275,-3.9902554388134455e275,8.984705671205337e275,-1.0705952148633509e276,1.4033623142051485e276,1.0399113146403742e276,1.037122037525507e276,2.792453976334987e276,2.9223826359555675e276,3.214962795870846e276,3.701042638911033e276,-4.4213852285535216e276,1.1610826225023956e276,3.760773599080732e275,-1.785531124338962e276,-3.5402301846322764e276,6.593276181952158e276,-9.73015620330978e276,-5.993953643461236e276,-8.459999744298513e276,1.6457029232027248e277,-1.8696928818433185e277,2.535032468827595e276,1.4762054833098271e277,1.7863385329358296e277,1.9587269840902282e277,3.4332566766427464e277,-2.1182020922810113e277,3.95350210337375e277,-4.300731168378889e277,-7.472105950896249e277,7.614015704027304e277,7.030894245527143e277,-6.09406197802543e277,-3.647718818815484e277,-8.559053249761446e277,1.2099926855298574e278,3.1794897541795917e276,1.6961614306483194e278,3.339711638331685e277,1.4352024353971566e278,3.0625358858048193e277,-1.6276100155121492e278,4.5175543060669655e278,2.922105585360681e278,-2.9607864124435076e278,-3.512781525433232e278,7.078167342210009e278,5.905509302966753e278,7.763087094216285e278,-8.250036795056505e278,-9.931604075188756e278,1.3221583474953116e279,1.9410505515147633e279,-2.144541275373069e279,1.874270731444828e278,-2.5603889982623063e279,3.0690275726376647e279,9.642588032426068e278,2.070874745803018e279,-4.5353076232256237e279,9.736941025188188e278,-4.054282745887171e279,-1.8321797544085414e279,5.445323106873965e279,-9.016990084879439e279,1.0709178923672886e280,-1.0226430478210802e280,-6.389809277683333e279,1.3073995255152735e280,6.928342788627604e279,-1.4659752008147096e280,-1.276930566246946e280,1.1006588005499962e279,7.060891218195698e279,-2.781881225222339e280,-3.64172939399499e280,-5.877936646434561e280,-3.1892939490797386e280,8.358727969222567e279,-5.37222355114412e280,-1.0175393728882994e281,1.448188544885867e280,-1.223765021874486e280,-1.307849792280757e281,-1.681621466847752e281,-1.952744206956852e281,2.0179526623931578e281,1.6452726361093437e280,-2.7215061174305162e281,-1.9038731696012947e281,-3.36006460532253e281,-8.193459730645571e280,-4.112597764481278e281,-2.4416289151480196e281,6.449484813714746e281,5.500656301125446e281,-9.037229980740147e281,3.219073081113811e280,5.4424025207845095e281,-4.178941024207341e281,-1.4083939434799387e282,6.613097092472129e281,-1.3945020119664197e282,2.34400928793714e282,-9.919249850248636e281,1.0323180352910688e282,3.3491344208390453e282,-1.8316683068409862e282,3.419095322723118e281,-6.288152973118867e282,-6.121701511685665e282,-8.587449984593687e282,2.4606618376741023e282,-3.619674585263389e282,-7.607925825968391e282,1.6119926534983157e282,1.1427493668167595e283,-1.3043648609405982e283,-1.0923449455835835e283,1.9745544588489194e283,2.686162007289156e283,3.3035921955211756e283,-5.0550290166967776e281,4.283154058970893e283,-8.085727651037199e282,2.0427864027325026e283,6.439290173080331e283,5.123490941475743e283,-5.942595812281367e283,-4.085515243175687e283,8.303735016341571e283,-4.372655478724875e283,6.186822722484858e283,-3.114436406320211e282,-1.1111626618100418e284,2.118636756235969e284,-3.899726178995511e283,-4.43108910767715e283,-3.098891154746426e284,-2.4211513779949334e284,3.7056045205091064e284,5.7597834677607146e284,9.51799210117795e283,3.0904291906889714e284,6.339506573233395e284,6.649761914735397e284,-9.394188851360827e284,-1.3731674064667204e285,9.29182358819931e284,-1.2097510609577267e285,-1.2636007940610178e284,6.642531752566085e283,2.1217537044481256e285,1.0676312037288479e284,2.2723092830815295e285,-2.8956371050657014e285,3.5797763828116825e285,4.225796223895121e285,3.185063930163383e285,-3.3121916628400054e285,-8.807657874136057e285,3.800672491943897e284,-4.841110600062767e285,1.0291749983293597e286,-1.4854328775097406e286,-5.5503597066163404e284,-1.698279812990863e286,2.097437179948978e286,2.7707810926611384e286,-1.3280092739424982e286,-3.5494243193359306e286,-3.029803872731947e286,-3.344461765397667e286,-5.144753839067041e286,-2.9196088432804215e286,-4.843920794712301e286,-8.281831731025028e286,5.209815452835128e286,3.0265824767133577e285,-9.183265977060541e286,-8.468340358473006e286,-1.7637602575858156e287,-4.519825880101892e286,-1.3321697617958802e287,-9.95037078768273e286,-1.812918615004368e287,-2.6802893141899276e287,1.199874020524694e287,4.4545023331447224e287,2.8769878863809394e287,5.001465144365674e287,-5.9329064945550766e287,4.520540578057832e287,-3.595613411781554e287,1.060019581889625e288,-4.763781651827467e287,4.410058544936169e286,-1.1560811798488966e287,1.4291923858450535e288,-8.75230850291628e287,3.420454974742404e287,-1.2665041868033124e288,2.0975400745558777e288,-3.8437393002325106e288,-4.000784142219597e288,-5.28593754888769e288,-1.1126665916609841e288,-1.5570512802999624e288,2.9066647751987596e288,-1.7814875112810832e288,-9.697543478663208e286,-9.511148367993892e288,-2.2876640831551066e288,-1.144014325157343e289,-9.077235756476232e288,-1.3930229023620558e289,1.5118665038200644e289,1.7048619598098533e289,-1.2210094322311007e289,-3.3634868437031743e288,2.896526088840176e289,-3.8069468259444924e288,1.689496032130661e289,-4.374995036809441e289,-7.0055516484140175e289,6.498761699725709e289,-2.075031889937921e289,-1.3436952827590648e289,9.595394152166723e289,7.421575640637688e289,-2.166923140075874e289,-1.1066268713052021e290,-2.159011390312799e290,1.4631263072102127e290,2.4512886461549366e287,-3.3357028949357676e289,6.006872386574524e289,-4.902869128651503e290,-4.609802417068198e290,-1.4044824137758636e290,3.50800377046473e290,1.427680162735118e290,4.974790431089154e290,-9.541312996523199e290,-3.88124051254904e290,7.62581619732938e290,7.348523320557792e290,1.2450777051080424e291,8.536736880836781e290,2.3354502050134823e291,8.057498295900932e290,1.324355885273953e290,-1.585339282331696e291,3.206049142628385e291,3.564722621559503e291,-2.1908801906212729e291,2.708118028368905e291,-1.9801834112648898e290,7.585872180504787e291,8.062485869563587e291,-3.075853133596588e291,4.014943335150131e291,-1.6984215314300197e291,1.0897097702616632e291,-9.07832788927391e291,2.634980336505821e292,1.2560107854881387e292,-1.460632972917899e291,1.1435501135029604e292,-3.534877585220182e292,-3.5835696823905327e292,2.687949179842485e290,2.5673163842370037e292,-2.9252491144657503e292,5.340640813965769e291,6.3164732229720345e292,-6.717476396215373e292,2.4181274097966346e292,-1.5478228637277462e293,-3.6170104176898074e292,-2.376062283373899e292,-2.1463474675863382e293,2.729334551499553e293,-1.3826982449465335e293,-1.7145534455265456e293,4.088057961428972e293,4.467004262754591e293,3.851001579681001e293,-4.605214086367127e293,3.774405669325234e293,-1.678156957686582e293,-6.684755383388774e293,-1.0748399853841466e294,-1.0445530826212124e294,-6.639048188407774e292,9.149947147890008e293,1.4653281326431617e294,-1.876642950435086e294,4.4570551178277846e293,3.258323597914147e294,9.93057695213561e293,-1.7812855165390393e294,7.045669966877516e293,3.082941649476469e294,-1.2560757101792672e294,-2.3973796312744728e294,-4.656333133164859e294,-7.506451377391445e294,2.624655950948174e294,3.516310389521877e294,5.740480347696959e294,-1.2256285547529565e294,-8.049064919394355e294,1.4158434005799556e295,1.5999384098045958e295,-2.850046898526678e295,-2.301310495187747e295,1.813722249353315e295,4.4069326875777515e295,-2.475258450765767e295,-1.9951411285774236e295,-2.71041570412223e295,-3.2688709711442187e295,-4.149229882055329e295,5.507303808819686e295,-4.25013614317525e295,-5.459656035247276e295,9.099692116296825e295,1.482132355096548e296,-1.0749651625287102e296,1.7750698786581792e296,1.7000182998935896e296,-5.453148152476007e295,-3.623399250301369e296,-2.3517416209451668e296,-1.1145057357958528e296,-1.7711054946649693e296,-9.094622063468637e294,5.619328164772309e296,-7.084845816948905e296,-1.8353509881590946e296,-7.474891020993448e296,1.1320002036168141e297,7.697543659738261e296,1.145301897434576e297,-1.4319100248641103e297,1.5854767809557547e297,2.344121193608227e294,3.02874808288955e297,-1.3872514267194603e297,5.528321226224885e296,5.350575397794504e295,9.971541152832153e296,7.750508126660115e296,1.0412915749442522e297,3.0367565670759334e297,8.846567329976731e297,-4.797179156242302e297,-7.747567871376366e296,8.256229762164853e297,3.9764920313102927e297,-3.194702664686787e297,2.5449716347332705e297,-2.3482633060644025e298,1.9915275189620947e298,1.4133645149426119e298,2.184130308654793e298,-7.131998147791419e297,1.4074927534534403e298,4.614655740062032e298,-3.43724941157667e298,7.106396476240421e298,7.256948780224531e298,1.790613061975138e298,-1.0639083908809016e299,-6.91032357913889e298,8.080190373829148e298,-1.2438663920189998e299,-2.2962595394668403e299,-2.0006928415284634e299,1.5179303303134477e299,-2.2260163014024306e299,-8.999510974749957e298,3.145451499807316e299,3.921965951370684e299,5.4629891258853076e299,-1.2270576816062365e298,5.2385071669040735e299,-3.1102856179264152e299,-9.120870323253945e299,-1.2248536406585432e300,-7.286140424871689e299,1.0853462809028205e300,1.9549115369733402e300,1.8201909665217018e300,1.6959515650068464e299,1.4164484889940385e300,-1.080894051188338e300,3.5095765418198125e300,-3.019726716191098e300,-5.425078872451471e300,1.5583941287872844e300,4.9415776868739533e300,4.646540559976625e300,-8.848238004405846e299,1.7256094649586934e300,4.099057879548884e300,1.163095657536704e301,-1.6644738151346363e301,1.1858735174958861e301,-8.307150968785738e300,1.8617396428298607e301,-2.234457112689423e301,9.058617008314078e300,2.2848491112538136e301,6.83232766230885e300,-3.752817374090768e301,-5.247413146497488e301,1.7728140518796942e301,-8.155651375582986e300,-6.961763180159912e301,-5.481447574060207e301,-5.346570036897364e301,-1.1954065150223391e302,8.59080897889152e301,-1.6069187509715383e302,7.892966740895731e301,-1.5637105575327214e302,-8.200812009446239e301,-3.0363403953068796e302,-3.4356900112187295e302,-2.3616252730798866e302,-1.9676702770096506e302,4.2958930330731774e302,-6.262188428335953e302,1.0154919338052641e301,7.81036613340143e302,-3.2187856717828022e302,-5.7593182422466024e302,1.1112950137805625e303,1.2664507093317425e303,-1.4970580872084696e303,-8.742690249316593e302,1.550757548612762e303,7.546583689068563e302,-1.6384632251776825e303,5.59991410387759e302,-2.4324853654448953e303,8.605842312658149e302,1.9264415927954045e303,1.1974647324317199e303,4.6411507252180405e303,-1.3161264620597788e303,-5.995150874677658e303,7.6615246887069e302,8.430079912911765e303,-1.0817876126257964e304,-2.4713864944289092e303,1.289066588247787e302,-2.130148676614837e304,-1.2536702603615427e304,1.0863287886578059e304,-4.2747660976393287e303,-2.2022003369614244e303,1.0904869091348466e304,2.246751601033399e304,-2.571509093890932e304,6.426122612130403e304,-4.173577144423321e304,6.946954999019936e304,6.493654890341454e304,-6.87369127419857e304,6.215442729004629e304,6.392054379472714e304,-1.8873494664118634e305,-1.70436971940643e305,2.124196066596639e305,3.7935794142298514e304,5.799987866773671e304,3.910932884927207e305,1.528844613886744e305,6.466597426713753e303,-6.580102775425682e304,-5.284120636890687e305,-7.306857914615948e305,5.358897335969811e305,4.453194731858307e305,3.845178247975596e305,2.7478012671940017e305,3.7391396551506014e305,1.2314241853517928e306,1.4799514841975892e306,-2.1480184064961317e306,5.5900232020323015e305,-2.006408502595795e305,1.1119495185989439e305,1.8072696549696407e306,-2.2036621954355117e306,1.6182671907806012e306,3.873690713188376e306,-7.588941363721279e306,1.8479456144032752e306,-4.1875807509093857e306,6.337327128725486e306,1.0876909337750737e307,-1.5590302230750874e307,1.2942730060347184e306,-8.824878718182417e306,-7.580897561162124e306,1.8643738153929198e307,-7.791606464377063e306,1.0691084240713453e307,-1.9467034305679964e307,-1.656757436903511e307],"x":[0.43497157484184834,-0.15010047715333638,-0.2539541709677389,0.06264531226251156,0.1072681902493254,0.12018580155165533,-0.5305836459406659,0.34566889007056806,1.0160845681091324,1.6198343038786336,-0.09253445737616475,-1.2080911887972439,-2.3333770505734095,-1.4932202445259446,1.0170755504207099,-2.7560976653408162,-1.9010393668629424,-1.6588137440876494,-0.45766005971767,-3.708876365835085,5.9235032324466905,-7.287729651489718,-1.8381778910797664,9.886606849617834,-5.24326469303108,13.699310960357996,12.961964464640436,-7.819796714202524,7.063414491325447,13.440314118468457,16.389242377998666,-36.806950452274044,-44.187531114649026,43.763179480335786,54.692384038398735,60.377981092799565,-40.43119176281684,21.8550687186874,-11.143304402369338,121.65855220679707,50.34244558165493,-13.587648309778821,58.605334299712794,-92.61334526843277,-178.68046587568273,-262.92777753625325,-217.22034323718688,387.8377614040917,-178.55252717502827,-180.95251497554995,-186.7083247141428,511.0378982291795,718.6252878147527,323.94259754868233,-1049.9258207543774,-941.1572128686671,-1219.2105064742805,-1182.9524437666553,939.5254711490703,-931.3764156196946,-2389.4265797439607,2218.075674240266,1370.7138169670711,-758.5742642393506,3849.215625830849,-2401.5611869989802,4629.2041124150355,5325.492678191718,-5696.044698080696,1140.181499000982,9023.122002549519,-777.6417990509497,5569.597740395798,-3445.321102551342,-17022.591284251885,16053.31613626138,13815.385080560322,9788.443577778942,-27252.686860142832,28755.100667510444,7729.740074287297,-15739.736865161674,48618.41693482534,6993.718148676303,53685.00249284894,-57558.19012345115,-6851.614507909886,-91964.62243527638,-78769.48763327535,105027.72738288617,-60660.24569214542,-58016.392165104975,-26461.875523003564,194672.27913522295,81089.2302330641,134147.50296873838,-213922.47067219554,-169882.75575374355,73550.71989424543,28719.574023341625,-648699.4200020295,308975.3238651296,797585.3860973811,109407.08613233859,-291540.40064228716,709325.0217573226,1.662334351466881e6,950077.4300492245,300043.7608806616,-1.7468184821626556e6,1.2247988213567787e6,-2.9773314265703047e6,-2.6317345691407453e6,-1.2082093049929219e6,-1.314835363159151e6,172887.79681578698,1.5814734047434167e6,4.219165042572861e6,-5.473342201746006e6,9.774663504859472e6,-6.961301551054033e6,-9.02018932600273e6,8.488080717183426e6,-2.1805085145482537e6,1.525306001867463e7,-6.389734311527635e6,-1.5317752522751138e7,2.7160459800526205e7,-7.6986701494832225e6,1.270841371921333e7,-4.465572424689666e7,-3.007555990448484e6,-1.912650891542448e6,-7.05029910994617e7,-2.2633205295803454e7,9.959983544178037e7,8.056990927080914e7,6.057169871861176e6,-1.2406192265772378e7,-1.2060970606025375e8,4.1724061777714275e7,1.827083483291051e8,-1.3382264571051857e8,2.0753351855826718e8,1.0394662701765661e8,-2.5082669593327653e8,-2.0264328078692898e8,4.1909677133447075e8,-1.5646196919092923e8,-4.726079722365258e8,8.348062325298866e8,8.914126219477516e8,8.381863684750868e8,1.0394288686948229e9,-4.3526303861218816e8,-9.274539679770796e8,1.4384467560668278e9,-6.429485126873525e8,1.91124753668649e9,-2.1185506997685783e9,2.330337115202973e9,-1.4518277577043517e9,-3.593143540169696e9,3.381960841841608e9,-1.8667072742097456e9,-5.542988090529959e9,3.6187016226650624e9,-1.4622341498631105e9,1.0175912087294853e10,2.1437974567316406e9,1.033060483454764e10,1.2902583860444954e10,-6.26654364769084e9,-9.890691213710228e9,-2.0145909583221153e10,2.3981026097234673e10,-3.3142546281300632e10,1.638362828303224e10,-3.0002735739668518e10,6.786649832714996e9,3.008760186128538e10,6.638298197082925e10,-5.104005323131454e10,-8.085543214013052e10,9.35035697908772e10,-1.105250517642815e11,1.1464573490713794e11,-5.41956069816717e10,1.498785893507134e10,-1.910232244576246e11,1.3507492398078348e11,1.5095342580566946e11,-2.5239670010676688e11,-2.5893894547352982e11,-7.84454537417793e10,-2.829580032694481e11,-2.3990547886757233e11,-3.905471922282518e11,7.249309521081073e11,3.3446876010328296e11,-2.212835056052614e11,-5.200149346222085e11,1.4372994691313736e11,7.134544080964236e11,2.6068244802723087e11,-8.685519331550907e11,3.690115619409074e10,-5.308698334544345e11,-1.6124251098887317e12,1.3427177254515747e11,-2.73906488874049e12,4.589158304515779e12,4.840320518109329e11,-4.934794884509821e12,-1.3519962616901892e12,3.0993091734718184e12,3.6009455041232305e12,9.147159665838168e12,9.903727106150506e12,6.993477876102802e11,-3.7139843652678193e12,1.2033132442263674e13,5.513546038891137e12,-1.570378050920037e11,6.372232260162437e12,-2.1669886089428867e13,-2.797502328512145e13,2.1377597380952793e13,-4.027873304529705e13,-5.3245894221167234e13,-5.339044156236833e13,-5.295323124023209e13,-7.832143223039848e13,-5.271973109627895e13,4.086978088129459e13,4.938866492925324e13,3.654831135324417e12,1.97522342281851e14,1.8486718724880494e14,1.424622354894202e14,1.0426101873595897e14,-7.773941033663058e13,1.8602161491095116e14,3.354977845220704e14,5.157313545211338e14,-2.0026154451238838e14,-3.394874313461453e14,-8.175849331696286e14,7.193331736523336e14,-1.5114038413381034e14,4.208631468819139e14,-1.4770944983522806e14,1.492561769694354e15,1.8173530245987882e15,-1.5579123883445448e15,-2.043085178003042e15,-2.4620902892975805e15,2.0049716526215392e15,1.9894582832848715e15,8.044051155771645e14,3.41312309821306e15,6.094651529399894e14,-1.4784725129202806e14,-3.4447449450103725e15,3.6663058403771865e15,3.3966516637518755e15,2.2068325037466282e15,-4.839691399183597e15,9.83323417643566e15,-1.4469147051969624e16,1.367088048841351e15,-2.2608167789466784e16,-6.772833858606839e15,7.928959958613202e15,-5.573716058151995e14,-5.89980749513493e15,8.492256626312094e15,-5.448609430537336e16,-4.2221095699638136e16,-9.43674277531044e15,3.5044815135508556e16,6.12656456436862e16,1.6216405628358402e16,-7.138437611700459e16,3.919280665064737e16,1.3112356125845123e17,4.463877586471621e16,-2.2220144501843395e17,1.6940011889748422e17,-1.5408791005809603e17,-2.656982730306088e17,-3.469431265228994e17,2.7172660952427828e16,-9.223350294572882e16,-1.0310374479208238e17,3.0486802574508605e15,7.326459486480188e15,2.0144871902911293e17,8.649769005379019e16,-3.0813973931292634e17,-9.882047984761686e17,-8.655123193019277e17,-1.4182945229438643e18,-2.3014158745180012e18,5.262997259637612e17,-2.2546365960414996e18,2.3323085520940703e18,6.506380923696004e17,1.900944451572027e18,-3.3102606846739686e18,-5.852156058895301e18,2.4201671754763095e18,-8.03630505057726e18,7.525361987174911e17,1.0345600269660703e19,-5.806534237021872e18,7.462731627861005e18,1.2735066351828386e19,3.3010692919368013e18,2.2087418028492124e19,2.4348649671069794e19,-7.864043861414026e18,2.9678444978079162e19,-1.8200097732920242e19,3.829316541368753e19,-3.5807872325448184e19,-7.736542115430565e18,1.6697436984679047e19,1.320038953058322e19,-1.0953773043870912e18,-8.318921891295892e19,-1.1967901280157306e20,-1.1329571444535896e19,2.0705571680896725e19,5.271023175672963e19,1.2740831174059611e20,-5.442323916548083e19,1.6199634380939444e20,-1.9529777407872244e20,-1.4676079801686345e20,3.1271686195163536e20,-2.3965037737059697e20,-8.377000258354609e19,2.6713574843046986e20,3.5866788817501074e20,4.786210706898456e20,8.829201656158961e20,7.172324780024e18,1.3638697648865613e21,1.263513028437273e21,-1.0428161605703255e21,1.3256116637258248e19,-9.856422065554264e20,1.3020359692637623e20,3.001927486645225e21,-2.768161125446647e21,-2.4604472034715983e21,1.5440514462061856e21,-4.158910458889594e21,-3.272896493918402e21,-3.642427349767036e20,-3.606159232011188e21,7.560209371164147e21,1.0978378869267421e22,1.0305162643058622e22,1.082847837479616e22,1.65597360452191e22,-7.48869545056121e21,-4.586843383736663e21,-1.8317561019744072e22,-2.411078526117197e21,-1.0557891113099341e22,1.7023257897922755e22,-2.588545632779483e22,2.4174352641517788e22,-4.473158057705083e22,-3.1871649133593803e22,-5.4867341002497585e22,3.288038260570098e22,-4.1168273753754097e18,-1.1760516094255239e22,3.079705492347503e22,1.2004457702519331e23,-9.366138698342023e22,-1.866323569660468e23,-8.783472372261424e22,5.5008861224706656e22,-1.689228933595139e23,-8.40681811842974e21,-1.9057955179298664e23,3.663979587866331e23,-3.22213683132559e23,-2.185701924004878e23,-1.013028754246157e22,-7.32674376009342e23,-8.232054791206192e23,3.471515390931106e23,-6.011790972163611e23,9.579664951595475e23,1.381515865378984e24,-8.678461382264928e23,-1.2518338683468338e24,4.067686289696273e23,8.613887373286884e23,1.918702193704413e24,-2.3766824693865224e24,-1.2132308836825566e24,-5.571506424999502e24,5.673885840196479e24,5.735550663752401e24,-6.887406803724023e23,-9.024728141864521e24,1.233709784478749e24,-1.0507001479892047e25,-1.8718065752933465e24,8.115063106124055e24,-1.7605077172447019e25,-6.56459720362834e24,2.1569848925440793e25,3.2240269415472387e25,1.3749942816268662e25,3.9742084370173775e25,9.323129676361521e24,-3.0077108808219398e25,7.377194668244235e24,-4.033463928717066e25,-3.985741261752897e25,-8.130532113163474e25,-9.84679252335089e25,1.2840678855192536e26,-1.3358813930973655e26,7.858041742279172e25,-9.568083231789229e25,-5.586331258811619e25,-2.5415635767493888e26,1.669691492403373e26,-1.7506002395570906e26,-3.218703408472816e26,-1.1057000542236281e26,4.903250071576581e25,4.8050862428931864e26,-6.612714926319724e26,-3.305369636821056e26,6.372345679824178e26,4.203667287823454e26,-7.6907956099215245e25,1.2471673894198196e27,9.834351082470072e24,-8.977477148570969e26,-6.227368369348516e26,7.775209540510202e26,1.465808378917338e27,6.752470765729232e25,1.4279347824656203e27,-2.5753365697634665e27,9.358374368604996e26,4.528731492497845e27,-4.280037063958426e27,-3.281733442693349e26,3.4994800559875665e27,-7.951434130174507e27,1.1720692026749541e28,6.758890318542801e27,9.996479139119902e27,-7.264038002905095e27,9.664722714373229e27,8.670382040892681e27,2.482427510529679e28,-1.5922016057278117e28,3.503037049604583e28,1.2332681388639902e28,4.699208786542089e26,-3.6706783997627137e28,4.360230885798857e28,6.042121960262415e27,3.487896172047422e28,-5.504265955796888e28,-1.1507914305219901e27,-7.802393824067232e28,-1.3729165226455162e29,-4.260575569425687e28,-1.8458622408806794e29,2.1985909262139527e29,2.6807351099611415e29,2.3315537253376978e29,-3.6446009508301896e28,-2.2644067923785657e29,1.4484274350053033e29,-4.4071369208910276e29,-3.7824446307098146e29,-2.617383046576509e29,6.925725655866124e29,3.23684376637048e29,-8.53550772175778e29,1.3243858199959584e29,6.771180052063082e29,-1.3612181900869523e30,-1.6869309468582948e30,1.126308641336042e30,2.728104511449847e30,9.750046887968531e29,1.3148321989309203e30,-1.9474954028925187e30,5.1655848170954876e29,5.229038271512041e30,-1.2996653687262091e30,-5.16011818553472e30,8.471281741358943e30,-1.2348065073081415e30,4.165095316322187e30,4.3701936450188216e30,2.2603219303057864e29,-1.2604143305183909e30,-1.0050857881767483e31,1.5653565299142068e31,-2.0038826897228798e30,3.0161130069868986e31,7.656841246237878e30,-3.9021074980995444e31,2.8602465871165145e31,2.5168701648828053e31,2.1330619222891066e31,6.858243777278072e31,8.088164643182479e31,7.619341535633862e31,-9.57486016854517e31,4.393693703897732e31,-5.0019128930372475e31,-5.597084194843198e31,1.5592377921179656e32,3.688070786669254e31,1.687221634097781e32,-2.9293491525331752e32,-1.9318474657255183e32,8.144249359156685e31,1.5384421869087244e32,-1.917637420036449e32,-2.985739437206316e32,-6.35827703375524e32,4.947001171028808e32,-7.498837506008086e32,4.877983669698e32,6.723703905988273e32,-6.896301801244803e32,-1.2503137459269042e33,-1.481739660956156e33,-1.7786037017290103e33,-6.49388487989243e32,-3.688944757359986e32,-2.19186800169843e33,-2.834252206890038e33,3.787344073045171e33,-4.1167827057862875e32,3.587834551651104e33,-5.750920567771073e33,2.3963621219172972e33,-5.728904406118865e33,-7.757115629933355e33,-3.70095586072792e33,-1.2761394700621974e34,-1.022641767279895e34,-4.709669467499891e33,-8.324291346729784e33,1.106309069925363e33,1.1731611173079483e34,2.1402865134948156e34,1.753457794944028e34,-2.773701228120251e34,3.7345241952958336e34,9.527753099811395e32,5.207677836748266e34,1.8582714924435668e34,4.384773667116175e34,-3.4472354825628303e33,4.503849576096294e34,-1.2345833901816326e35,7.585603066819954e34,1.4055260075208247e35,1.092209280922554e35,2.2728168913863686e35,1.8118987139740435e35,2.0854625111960347e35,-2.11197943452663e35,-3.628699778701036e35,-4.436299436590041e35,-3.877844244583064e35,5.744910681711726e35,-4.47640557106851e35,-7.70058695315896e35,-7.826903827148644e35,6.077609380648483e35,-1.0571416660818326e36,-4.239844053293536e35,-4.8280098484932795e35,-4.033751055502859e35,-6.206437791185988e35,5.496876473728024e35,-5.248803526794584e35,1.0103180345461527e36,-3.68870942618164e36,-2.4857512140432512e36,-1.4414924650671723e36,4.8819424443033706e36,2.5737283195103316e35,-2.1164510505749554e36,-4.6587323301932626e36,6.457815392128323e36,8.591210219175005e36,-6.023710924359552e36,-1.4933736717754512e37,-5.610127276218413e36,-2.1691518147251804e37,-1.5934426563876718e37,-1.451355798635241e37,-2.7614512417695606e37,-8.383020121293721e36,-2.7026049672984083e37,2.8136138301682046e37,8.6776428359142e36,6.491831695742858e36,-4.3278628409606e36,-1.5189106614879772e37,-3.5324799610183106e37,-1.0762383798220355e38,-1.0602833961916143e38,-7.774581337044785e36,-2.3075926175484907e37,1.9371589319916382e38,1.4176342787229765e38,2.3113431944184724e38,1.1907118185827336e38,4.524059402877636e37,1.4270448416191211e38,3.758735766980782e38,-4.394434417167274e38,-2.9822104868013443e37,2.7472026973628383e38,-7.172459705698075e38,-8.825075691478272e38,-3.930100929337645e36,1.3010976219854981e39,-1.0979852741725294e39,9.789979386187166e38,-1.826507704994234e39,-7.979101613441712e35,2.7617668452476276e37,2.0534707220575364e39,8.616367375299745e38,-2.1171054005952972e39,4.181199465137397e39,4.6593965556440844e39,-9.715031454719559e37,-4.329273174322789e39,3.492286034488096e38,1.7211299113368578e39,3.9139880328415305e39,4.2469247529801014e39,2.408158369344288e39,8.240740734901941e38,-6.835130379700089e39,9.905540048084736e39,-2.356083525591447e40,1.7114833410738502e40,6.05382216595332e38,-2.346989003979294e40,-7.982876692512124e39,-2.146266626939421e39,-3.353984372418151e40,1.5411005452096164e40,-7.880931622291385e40,-9.085205281917539e39,9.034059171277544e40,-1.0099179996452712e41,-1.195345728109989e41,-9.947904403823785e40,1.7404561121534643e40,-5.286380442252326e40,5.066778959671406e40,-1.2865321664352645e41,2.3941002871829644e41,-4.591326266139375e40,2.9097525776617986e41,1.3953805054181118e41,-2.248048746141688e41,8.268912525635339e40,5.865760244887935e41,-5.309485137916436e41,1.0243901721611663e41,-1.1888532941314279e42,1.0524683479940292e42,-8.044258326851778e41,1.4102998058561024e42,-8.079870945668543e41,-1.4453407775172296e42,-2.5840339827242482e42,-2.598190762592955e42,-2.87901823094924e42,2.2870195168730477e42,-1.1606121848082623e42,1.111483933019914e42,1.0184549326445018e41,-3.084807104417064e42,7.917102114606175e42,5.629183838129693e42,-9.249988088056305e42,4.388857575092732e42,-1.3255625039566637e43,1.211637051231918e43,-1.6436230666340752e43,-4.2662392449122003e42,1.8047575655696674e43,-1.4353477163983784e43,-3.562622751746606e43,-3.126463710010954e43,1.8430853174599817e43,-4.370731937915365e43,1.2291888890063016e43,4.973321765652985e43,-5.628147257173622e43,-7.205384419296031e43,1.097800893596012e43,6.464231129195661e43,2.7550987947077666e42,-7.271264565334179e43,1.7519539167536895e44,-1.1068744095743042e44,2.30606328666207e44,1.267685162552547e44,-2.5787838503135815e44,-1.8832903297299458e44,-4.468568703145874e44,5.470191329502723e43,2.2891960361260753e44,-4.426742055297781e44,3.328971805924053e44,7.105436785118046e44,6.254011108429011e44,-1.1123477788612663e45,1.4702805776443654e44,5.032753595179084e44,-5.1830368224368036e42,-7.982713683482407e44,1.9276866134420305e44,2.724915994428185e45,3.070162528759865e45,2.2757915850213298e45,-1.6419520359508182e45,-2.8508504252284582e45,3.885891908350534e45,-6.251154702630672e45,3.3566158084241946e45,-6.8284604868974306e44,-8.567335629992558e45,5.025463062753351e45,3.4375470689974863e45,3.519061001657076e45,1.2898363115437743e46,-7.844822870510422e44,1.814276954579367e46,1.1012062192543531e46,-1.6531866361698985e46,1.0924483742513815e46,1.8353121293237983e45,-1.4377970587887515e46,-5.688382137677118e46,1.4771863792280168e46,-5.660448395798225e46,6.203313662773536e45,5.058414524518583e46,-1.272765058532275e46,-1.3447000181883406e47,-2.0668502767651059e46,1.6535362636702088e47,-6.183893810765969e46,4.160449966098317e45,-1.0022705575687175e47,9.801539033765765e46,4.233449958365007e45,-1.5456728635760825e47,-1.3077154990709181e47,-1.2885797785727107e47,-1.857775894990563e47,-4.356047038879209e46,-3.04686577069644e47,7.291852241828358e47,-8.312206477051855e47,-7.1269982519481494e47,1.3224700609932805e48,9.269512765416474e47,1.603338920674413e47,9.71212246387377e47,4.626885549921943e46,-4.59626270707438e47,-1.2905958277235849e48,2.1336286182894664e48,-2.4650240498396235e48,5.3699993324617886e48,3.59621585651431e48,6.55593968465685e48,7.59882131841325e48,-4.776329170703828e48,9.939053182782485e48,1.1115709646737971e49,2.47506498671669e48,2.2779894726416637e48,-1.496246775426603e49,2.156666611174188e49,4.264882428762549e48,-1.078025033298243e49,1.2067952755752987e49,-1.8340039116923247e49,-2.699084549940132e48,-6.0918335152394e48,-1.5575077234380285e49,-4.756438986148461e49,-6.087749324439424e49,-5.499158765990068e49,6.49348450085047e49,1.0850689428220471e50,8.179068723001057e49,1.2473264548679887e50,-1.8628499407587565e50,-2.06103495244739e50,2.5416419409505184e49,1.3594937937155445e49,3.025735541273999e50,-4.348606304582945e49,4.678682789175657e49,-2.7758705963658273e49,3.0354978776918723e50,-1.9219990894263067e50,7.12128346360559e50,-1.4346684436624674e50,-1.3875124294742149e50,9.54400322391448e50,-9.847240547595353e50,-1.0423992706969562e51,1.4364971715658686e51,1.861417415395961e50,-1.8199353660726506e51,2.187863815743006e51,3.132346403057123e51,-1.6651257304571387e51,-3.6001741698894204e51,1.176900013650108e51,-3.203847230757518e51,-9.489896645994264e49,2.7537632662824372e51,3.355874506130803e51,2.5172936024458192e51,-4.855193150871585e51,3.7993790959838455e51,-1.562922871752917e51,6.596991654122327e51,-1.1515081731039225e52,9.006149254119004e51,2.59224711891937e52,1.782362004291417e52,-1.305944140940611e52,-1.5899575723797837e52,-1.3387404068467797e50,-4.251720428679879e51,4.1052360988274e52,5.72873475479521e52,-1.5715733813738592e52,4.085404136822804e51,7.437067820030638e52,-9.919283198806568e52,1.4616120051484196e53,1.0100105320655688e53,-1.6164130764862158e53,-4.051895493292425e52,-1.8549990812903492e53,-2.5043335228954268e53,5.920502919340741e52,2.4430399562205074e53,2.738701625903455e53,-4.7273712468895356e51,-4.3042933748549045e53,5.043985194011316e53,7.859944480737992e53,5.278603895796669e53,8.728214724252327e53,8.858469089152544e53,-1.0219451254080024e54,-1.4966153194863713e54,1.6541421692623244e54,1.8438817273521115e54,-7.16884121131883e52,-1.2157520056053426e54,-1.8098739695108777e53,-1.345411366424963e53,-1.532001847910237e54,-1.0511704831528024e53,5.6406746515526235e54,-5.9565581652330595e54,-7.766992350866801e54,5.645121879980586e54,-4.8337400128229223e54,1.0900355346583378e55,4.591149628133182e54,2.5994895570161294e54,9.020641904986787e54,-1.3114381883616714e55,-1.6080163744744036e55,7.152509666098912e54,-1.6182169862813455e55,-5.9568964461361156e54,8.46522500284803e54,-4.583960434118509e55,-3.7268898964184235e55,-5.520039796223964e55,3.5428765407003904e55,1.655494415828475e55,8.608491583450103e55,7.583975103480334e55,1.299002311859211e56,-1.9198812009320105e55,1.6122418913417319e56,1.1101541568560163e56,-2.0184143971608623e56,2.6038108875729773e56,1.6505335293175683e56,-2.3014857486612444e56,-2.3327355688549007e56,-1.9349006094127487e56,1.156963455910466e56,4.731649381009377e56,-6.882064801865376e56,3.8274948290097547e56,6.538908489972288e56,-1.0354868481181882e57,9.937502002933187e56,-1.094719546549926e56,9.588891002478996e56,2.277754305108072e56,1.457290126458062e57,-7.155099892870969e56,2.1181693171433072e57,1.5728327126044796e57,-7.87407736116214e56,2.3508457090681903e57,1.4452553494533004e57,-4.3833113241094204e57,-5.369909323417814e57,-6.0771028241204713e57,-1.4248090396391395e57,-2.7612936256464383e57,-5.1905815737840666e57,1.0313380773794917e58,6.1346325806754335e56,5.581755216796156e57,-1.0256088169919404e58,1.2377806645495893e57,-2.5921967019934843e58,-3.1044205849854313e58,-2.5764293070934655e58,-1.134778426920984e58,-1.5126319581166366e57,-1.859877877488188e58,2.7956348933128917e58,-2.1335390416816767e58,-6.956131231245662e58,7.695259314321479e58,-1.1536819492807835e59,-1.351088945475175e59,5.604930939614253e57,5.091026974300659e57,1.8752108957814998e59,-3.101727269353852e58,8.02459770875572e58,2.5887412179081123e59,3.2174677731802294e59,4.090044011187263e59,3.8756195876317815e59,3.2457900707965105e59,-5.258033902000093e59,-5.739599333948483e59,-5.350582639778269e59,-5.554259232933495e59,-4.124278351092153e59,-9.90603378500528e59,1.4601508938027711e60,1.727353525571628e60,2.0535870978018073e60,1.5747706254942151e60,-1.2739936333607436e60,5.768690610888403e59,1.7538376498308408e60,-9.865285725449344e59,2.1663393661996842e60,3.719832316835865e60,-2.668210269330724e60,6.62839961486306e60,-7.849349096734455e60,-9.533523512831634e60,3.9248878180633964e59,8.537316358445484e60,8.021386285402868e60,-7.514841290146948e59,-1.5435647777925187e61,-7.470492161615392e60,-1.6430857580951789e61,-1.4612264896563996e61,-1.9377405482481676e61,-1.1460237227280065e60,-2.258939893947235e61,-7.854003418037873e60,-2.703668707481423e61,6.288102926091292e61,7.118511155923564e61,-3.7866662243989875e61,-4.335159877532545e61,1.1545265845093464e62,-8.925637868350848e61,9.208966097215447e61,-1.6211383631330777e62,1.797996940795614e61,-1.7005423995782021e62,-3.5935665051684166e60,-2.8772821789693904e62,-2.8459596249258303e62,-2.4812264852875647e62,-1.196669911892154e62,-2.1513332042592163e62,-2.341599401366575e62,4.850188946786083e61,-8.99396090805453e61,4.5003595926203135e62,2.163774441535201e62,-8.65007914378513e62,4.0720196323363364e62,1.157108885108702e63,-1.4315681576900801e63,8.33018098021736e61,-2.2433263949794377e60,-1.9183629201911582e63,1.5691458369098622e63,-3.642435490848347e63,-2.6465087507773566e63,-1.9923189033554777e63,3.76251237953472e63,6.380129225637294e63,7.104428170561318e63,-6.434942233027908e63,-3.536780192538433e63,-9.786724617899072e63,-1.0460890118768581e64,-1.3998509351127062e63,-1.5643495764916438e64,1.4658342411416035e64,1.9920252432140576e64,-1.3635414904735715e64,-3.47669900317651e63,2.976942735709435e64,3.430361578112684e62,5.426593839155355e64,-1.5591226718428256e64,-6.205284835476547e64,7.29938873176216e64,8.884780885553585e64,-2.6487117718021702e63,-9.092788797713555e64,4.645470099825209e64,-6.49480390934728e64,-1.6552129793357897e65,4.558940923235732e64,2.6025982895344735e65,1.078179313262988e65,-3.506669297400694e65,-2.0810287080436394e65,1.301418330167259e65,-5.195739747687547e65,1.0287637203828229e65,2.69104623022948e65,-6.100113137244319e65,-8.1511004824875705e65,6.335946780372435e65,-5.323707277088486e65,-1.3385690633096354e66,4.500331816409263e65,-5.713360273077035e65,-1.0156839818253174e66,1.1685105862283914e66,-7.067477094383367e64,2.640992670520857e66,-3.817871807338737e66,-3.433875496469678e66,5.1683026413848606e66,-1.9718426073896844e66,1.4460506075283506e66,-5.568678529963959e66,-4.995148373738996e65,9.082732448014838e66,1.103161661926648e66,1.3581228631719205e67,5.784382788004881e66,1.0102329272504386e67,-2.1530445099127967e67,5.358946244158979e66,7.288321806209234e66,-3.383970597803344e66,1.8658607883156783e67,-1.8826792729007636e67,-1.8106378174790277e67,3.2033992637726025e67,4.143697354522461e67,-4.3011340254911144e67,-2.33934342036058e67,-8.533621278857996e67,-2.1235539091146192e67,-6.97113629263639e67,-4.278254177866425e67,-1.1078636549416216e67,-1.800699489224916e68,2.1824865449313576e68,2.1534869274832366e68,1.9014201371188717e68,1.988566708894683e68,-2.5941789822913823e68,-3.783735413938034e68,2.1992036595831608e67,6.127409769891019e68,2.9322839641331208e68,-3.7686962866402017e68,-1.3060734381128424e68,1.1341343714261776e69,-5.343931558798967e68,1.1648657048110213e69,8.141462985224124e68,-1.033034342256611e69,-1.3078544857979887e69,1.8494955221589882e69,-2.3238101217086383e69,7.229608866294719e67,-9.378574467495493e68,-1.2047870966192491e69,1.4935130332860724e69,-5.1025607822162535e69,2.8677821536997546e69,-1.2147404243989437e69,4.239166428888014e69,6.239648432636151e69,-4.245654959511922e69,-8.375767681155337e68,2.726546726038274e69,-8.536345244540975e69,-1.5283889663212746e68,-1.0289111053971235e70,-2.0931346150921405e70,2.2782428855323573e70,1.997242509353756e70,2.9654356183491653e70,3.2989113230629623e70,-5.575367644556667e68,2.4308718494283404e70,-7.613688095072775e70,-7.926506559677562e70,-9.475844235352143e70,-9.364372343679138e70,2.1018214071827508e70,1.2859160476332809e71,-7.510399577136013e70,-9.463595550190794e70,2.5997408758499276e69,2.7501804332437983e71,3.256163370730465e71,2.3323540948489684e70,-2.2221670764563824e71,-3.776273843303042e70,-8.945593464870765e70,-4.801292805509055e71,2.6170686849076516e71,5.598343527703615e71,-4.797854969162482e71,-8.639484632073705e71,-6.406029167553075e71,-1.2712265559965997e72,-1.2030903385161646e72,-2.0263288732549645e72,-2.259084268952694e72,2.6817997441834644e72,3.2364069485976223e71,-2.1506703787082855e72,1.0137740425977513e72,3.849469982476873e72,-2.562799853610657e72,3.105701263022508e70,2.351164958760541e72,-2.3889241199492485e72,-3.1712091513730272e72,-2.831248243219701e72,-1.2308586729378924e73,1.5140463831446694e73,1.3846518390615615e73,1.216803260041637e73,3.898535705127883e72,-2.3260977796806565e73,-4.150781774136489e72,3.3704992724719865e73,-1.0614075727658972e73,1.1098213618122766e73,-1.2777226235505556e73,1.4239992529582225e73,-7.304890305547695e73,-1.553968711563603e73,-3.4281065922578214e73,6.203027753189274e73,-2.0101732140640195e73,2.8289733627135183e73,-1.659194902059146e74,1.6220995194955506e74,-2.1894183043270528e74,-4.4092552120039583e73,1.425694258120302e74,1.0195532802826517e74,6.99733111428998e72,-4.235485674274319e74,-1.0526032326231472e74,1.003833483506381e74,-1.841746003424811e74,-4.41621047853352e74,-9.031709571129547e74,-5.191386997946443e74,9.828521852174725e74,-1.0535455673426269e75,-9.499696601668613e74,1.4925238963445705e75,9.70871753797482e74,1.3885518282518988e75,6.619419591375368e74,2.0643665746457676e75,1.0713952631418342e75,9.327768180684696e74,1.2041970632270994e75,-5.895618254624968e75,2.282327601759472e75,6.648938878832977e75,4.7885059696686396e75,-1.6256032366260982e75,-4.616343215382619e75,-1.0259141596959878e76,-2.297231742830148e75,-4.753550454425794e75,8.207002120072242e75,-1.9381563766297916e76,2.0513019484504814e76,2.954239695628294e76,3.1129449073102485e76,3.727741918521156e76,-3.8471872390517126e76,-2.3412707139220568e76,-5.769463781263232e76,2.004642903637234e75,3.7363763075958906e76,-4.759388273780727e76,-1.6125284923480265e76,-8.51884471747058e75,3.576772967164552e76,-3.648500052565748e75,-2.9107709592389e76,2.584913388539963e75,1.0458371304607612e77,2.356452904798621e77,-3.2859568956055005e77,-4.102659291153518e77,-2.2956083005308938e77,3.362440179304624e76,1.5969046291065046e77,-4.694164893673317e77,4.733344576767003e77,1.6097547708724547e77,5.297459443143422e77,6.712306188793973e77,-4.632415366463397e77,-3.499166122831759e77,-1.0666566079316558e78,1.3976712888653658e78,-4.115154836236067e77,1.1340218676711145e78,-6.396000609697659e77,7.840700036923356e77,4.572286499187805e78,2.888492421051538e78,-1.5132023320690528e78,7.002580397809434e78,-1.6299783661747395e78,-5.3257664991982e78,2.330119042055332e78,-7.0082521507692004e78,9.27758396719744e78,1.2576926078576595e79,1.2763180338903794e79,-1.4901178167333454e79,-1.8878251001476964e79,-2.3704979743149255e79,-1.7371738678909627e79,8.723717691694672e78,-2.416062568200984e79,1.3736333170299117e79,-3.7999922252668864e79,-5.016555468626052e79,3.2343954851944505e78,1.9330524793080353e78,-8.235230960166433e79,-9.721190359784764e79,8.909653199092293e79,-6.2093468104499e79,-1.4368888307997585e79,-1.6342524443528515e79,-4.8966425491046145e79,2.693018164507866e80,6.32627247229741e79,-1.7677178199985032e80,2.921394373350695e80,-4.4765425819929205e80,2.2980617702070515e80,2.4011010812729667e80,-4.4470203490448216e80,4.6129614657296074e80,-1.3441640487505274e80,5.962945020260251e80,4.326491722147496e79,7.219929265288274e80,-9.166183504538466e80,-6.265304711136849e80,-7.046403840106629e80,2.444503662767184e80,-1.469403127705536e80,1.0289185960544461e81,-9.183766710293168e80,-4.14279852387071e81,3.4203770849570012e81,-4.918123289958945e81,1.887602585883656e81,2.54439134749607e81,8.26488405274009e81,-8.029102706191593e79,-7.099372593713798e81,-1.3664849603218452e82,-2.706836842776383e81,-2.279631896486821e81,7.044090964425274e81,-1.803333918298158e82,-5.816452360847372e81,8.533781335081263e80,-2.6581989453365843e81,-2.8398956281251522e82,-2.3866013645703126e82,-5.6362759466646295e82,4.82605397916836e82,-1.4883438206080034e82,-3.1985485045846816e82,-7.725676713630381e82,2.8801815015178057e82,1.0897892182778194e83,7.339037486370967e82,-7.934918860252223e82,-1.247280973756458e83,1.2092007350329083e83,-1.1928729950768434e83,3.4093995687544295e83,3.831390356612166e83,-3.27728373325067e83,-3.807163317158401e83,8.645909783741423e82,-4.537536683323411e82,5.148359693777403e82,-2.905521834263008e83,6.556192249663297e83,-7.686745861511824e82,6.680727669987547e83,-1.2143336770986167e83,-8.816251202579329e83,-2.109412330256318e84,-1.2056115522225203e84,9.952426995214465e83,2.501551473726124e84,-6.650585955193698e83,-1.7768528890586188e84,-1.9380977319246463e84,3.005483512746123e84,-3.6648994719060768e84,-3.2940361243989257e84,2.329355528187341e84,5.595192467475813e83,1.0698070866730914e85,-3.8879768492892735e82,6.075658546453656e84,9.343158972670982e84,-1.58415756126387e85,1.3132879524131461e85,-2.775470237881543e85,1.3766929910537505e85,2.5075478776521908e85,-2.8482598575001736e85,1.4240179552800166e85,-2.9709135104290546e85,-1.335639876857764e85,3.3412799445848345e85,-5.5528987501034334e85,-3.345388972827672e85,8.325089815723698e85,-6.1223395487875545e85,1.4588810137848797e86,-5.8150160381712276e85,1.886496956631252e86,6.392023109384047e85,2.0465614091782803e86,-1.910471326777644e85,2.7810942221064324e86,2.5326364429000035e86,-2.388215915385769e86,4.246628136490101e86,-4.272053689206199e86,4.2138470221944327e86,-2.4767624874815862e86,3.727025851860551e86,-6.198667155969032e86,1.0280070086995205e87,-6.636289710975292e86,-8.08394465696079e86,1.618683824237506e87,-8.143497080074626e86,4.876673248327019e86,-7.536297008777263e86,8.61636147087627e86,-2.796410637494001e87,-5.052684999054257e86,4.869132112647212e87,-4.1152739655451165e87,-3.668090281442141e87,3.5536508751814375e87,6.83698483593885e87,7.703221074633718e87,9.453816785272106e86,1.1530247994918134e88,-1.4760230647347115e88,1.5436350780527195e88,-1.5311576070777505e88,-2.3019712250592924e87,-2.5479212250809273e87,-2.4825411546251163e88,5.6048205625528605e87,3.400128192210101e88,-1.5271221382243907e88,1.3390192697959755e88,1.1061933038466922e88,-2.631839947242671e88,2.5245269707865292e88,3.6117343046625724e88,1.0454065871420137e89,-1.4287490821331995e88,-8.412373504641418e88,1.836540875800465e89,-3.1519895646839628e88,-7.467475774652647e88,-6.049503580720589e88,1.9404835550618931e89,3.0727630739387706e89,2.313124227495536e89,-3.2741016257272275e89,-2.377906278197854e89,-3.7561209794112356e89,1.3702828028026104e89,5.832047743356592e89,-2.400442772119424e88,8.007895753937979e89,4.3377621730500556e89,9.907661639813856e89,9.438420776599197e89,-5.437721146196679e89,2.163010792153652e90,-1.060794757082483e90,8.795950875146149e89,5.436690780464074e89,-2.567937687249683e90,-3.183756343402917e90,3.085786058310529e89,-4.497880964620906e90,3.109331252712248e90,-2.4427314004387935e90,8.924230843467812e90,-7.610029048643205e90,2.7407698418460686e90,-4.4040826147664907e89,1.5993526666477347e91,1.579668868492836e91,-6.388068519905444e89,-1.0641008361876816e91,-3.678180378296158e90,6.4073791167879e89,-2.2178809633210284e91,-2.4061388091287545e91,-1.1219290252188501e91,2.9992727285185464e91,-6.520072449620402e91,1.271674987864873e91,4.2313941835946216e91,-2.0608073398661486e91,-1.0480562678989446e91,-7.713370701122371e91,-1.4815877351471977e92,-1.2452724983192795e92,-2.1650931676827637e92,-1.5005041942893084e92,-1.4659081102168956e92,-2.2371967083207654e92,9.446579886997468e91,2.9803659966093674e92,-1.6410100457526098e92,-4.652395485838201e92,2.761922144627905e92,-6.253548934942669e92,1.4640776623130838e92,8.322432354816737e92,-2.947201541247053e92,-5.0609409420345104e92,-2.3699614443246618e92,-1.3393859895524515e93,1.1071569955600408e93,-1.9304262716834579e93,1.192108772027584e93,2.5969327726765103e93,2.540869467593656e93,1.768207679778065e93,2.270359963861342e93,3.659250337554133e93,4.817835631495861e93,3.620683902271392e93,-8.143530454356358e93,1.4232307473509166e93,-8.795130316520181e93,5.15059838236046e93,-1.0192739002557503e94,-1.2655032302143304e94,1.6899580628922484e94,-1.805627422946481e94,1.6251610207261669e94,1.8509708491849003e94,3.573343576223528e94,-7.425515563326664e93,-2.4901642986595373e94,-4.059631596066247e94,1.909039186261443e94,-2.4389107307207505e94,-1.0508424381226611e94,5.1138867240412495e94,3.001376829013219e93,-1.165284386672978e95,5.665107906083944e93,1.04854040000171e95,1.669723960050364e95,-9.028328542033323e94,1.4323599348242166e95,-2.021556885471577e95,-1.861195670163339e95,2.5932135719102772e95,-2.818674442443083e95,9.301988198955974e94,-3.2159333767141763e95,6.096443977739241e95,-3.6759989129036004e95,-8.394800256616927e95,-1.042754606586204e96,8.12836486106912e95,1.4265036228278874e96,1.14182630047558e96,-1.6023718454028757e95,-2.1852486664968575e96,1.224048879221989e96,6.752232576446101e95,3.208818002161773e95,-3.4297502832857606e96,4.539470044314798e95,-2.4170488472931663e96,-2.1431439616318074e96,3.5541783060514295e96,1.3274811721227615e96,-2.8061104636181243e96,-7.266869195884644e96,-8.414847720000597e96,-4.279414661116868e96,1.0297360692159073e97,1.735566472631514e97,-6.481716791546795e96,1.5817270318827393e97,-2.601810229644365e97,-1.0918772009122448e97,2.13177417700467e97,-1.6973990700903109e97,-2.129365879534763e97,3.356422578658246e97,5.8210100838621434e97,-4.8968557410466905e97,7.365946481009951e97,-6.36692205558862e97,-4.35934631066325e97,9.688702915719266e97,1.4974433152996518e98,1.539152424738291e97,-2.9918118075847157e97,2.113293211936756e98,-2.4913447128862006e98,-5.416855206119126e97,-5.38698560756879e97,-2.7549367102252954e98,-3.5837026946349614e98,-2.6431331094926587e97,-4.8361749228487533e98,-3.622790387369668e98,1.875198695362827e98,-4.772452922724657e98,-9.077108177149316e98,-4.320202028305828e98,9.540594982307687e98,-1.4551428782949964e99,1.7294977750835184e99,6.61431946858438e98,9.214452197415083e97,-2.794093571908875e99,2.092761174561539e98,-1.967357515042755e99,8.254325081486066e98,-3.6593560015439143e98,5.680662108806549e99,-3.8971840591693136e99,-1.0662235292388004e99,5.706187298926555e99,-4.953156341599624e99,-3.1898854943115273e99,7.859278261587422e99,6.225695228553829e99,1.929140884372101e99,8.765865067354381e99,-6.835535342346369e99,2.5839521685191714e100,-2.06745704148113e100,1.2540435922163635e100,-4.859172349780509e99,-4.2508998552223226e100,2.810626968159141e99,2.3114610966073653e100,1.0900680370203409e100,6.219136714530064e100,-2.0672609308928386e100,4.873576190418757e100,3.7906588434438036e100,2.7515446472211432e100,1.2954995532932853e101,4.715469322490617e100,1.9836596741068228e101,-9.30095516758231e100,-4.8857597217395854e100,-3.833394882857638e101,-3.3579704486265427e101,-7.12352002285026e100,1.703930860583943e101,2.976493451958613e101,-1.0517174560063647e101,-2.7795354110577396e101,-9.594008560761779e101,5.6803933759219554e100,8.888454222846866e101,-5.75329039275779e101,5.313099270177156e101,1.6155115743490501e102,-5.5407036448176465e101,-1.470390110360411e102,-3.136291545213849e102,-3.3246698923226595e102,-3.643221004128767e102,-2.932730049967263e102,-1.4145852839100002e102,-5.090860609515407e102,-6.811616751676886e102,6.162382163950489e102,7.892021997974583e102,-4.993794638540233e102,-6.285921990743101e102,1.2701203151032154e103,1.0249151314629982e103,7.866174611621792e102,4.1677833886861037e102,-2.206088026710485e103,2.9495514943939847e103,-2.2313323163784627e103,-2.3531673865591547e103,9.905703221750963e102,1.981914989144841e103,4.002398570798697e103,-2.6054407432042886e103,-1.4372389752515241e103,-2.0519415964496633e103,-8.013172733122224e103,7.780433366419552e103,6.635113279800088e103,6.308953875819603e103,-1.1950671697711399e104,-2.8300451542753385e103,2.254682472307762e104,-1.7561735774552204e103,-5.014439511052657e102,2.540610759171946e104,-4.3690907009550966e104,1.2286130241445387e104,5.4249191798868863e104,4.8021450986209106e104,1.6472744512888431e103,-9.066268009294674e104,-7.034127980549683e103,3.74779811717249e102,-1.2834286477189772e105,-1.5030139768094765e105,-1.503377806580761e104,-1.4673815593377537e105,-1.518208308670306e105,1.354824024876316e105,2.412876201741997e105,-3.8731339688318437e105,-6.047028650289756e103,2.66208449896293e105,1.3673722046640455e105,-3.742066792707942e105,-1.9333434684261152e105,4.0383313391047463e105,-5.549963504028901e105,8.840472802587205e105,6.882192596973595e105,-8.64288546232395e104,-1.4651933498777543e106,2.1256547584459955e106,-2.2812963858765682e106,2.1809996890166703e106,-2.4430700843830785e106,1.971314237620377e106,6.833808354620725e105,-4.1674273345198145e106,-1.9631784424141677e106,2.5471039860806076e106,5.261221598788222e106,3.726825330776672e106,7.694091272918439e106,-5.525970583671272e105,-1.308068321069553e107,3.34722059099751e106,-1.4396384933594597e107,1.2384063584861805e107,-2.1257443899738648e107,-1.3844547389143443e107,1.4924881408691778e107,-4.907489550449917e106,-1.8225374598081898e107,-4.628686047214863e107,-5.1033920924973064e107,5.6799524476210726e107,-2.3617130846041604e107,4.6808502144078926e107,-6.685034467705565e107,9.925826987296801e107,-2.6572065917019323e107,9.455183810942714e107,-1.2727806973552905e108,-6.303563266736399e107,1.5051708117034622e108,-1.4360632393292185e108,1.6668449765401909e108,-3.647533185651428e107,-2.6533282627727684e107,1.2610768476742755e108,-1.809996862282954e108,-3.7566022750460584e108,-5.637117826611844e108,-1.8209664405525986e106,1.2550883964185047e108,3.4450253400365216e108,-3.70205139454673e108,-1.1353880343959371e108,2.692913099719463e108,-1.2699865269549812e109,-1.6347194642690618e109,2.234344641017238e108,-1.9618285955047276e109,3.376772028453112e109,-1.6260010792991453e109,-3.7314524289168745e109,-3.785244331760656e108,-2.068203090430904e109,6.024907413900342e109,4.907416668926407e109,-3.346044342972301e109,4.395445817822654e109,3.0517244199664534e109,-9.12380206192068e109,-1.4269522142890562e110,1.0937121468060805e110,9.205919100154065e108,7.508667152996293e109,-2.492028609073728e110,3.5269260034842735e109,2.9168557567535972e110,-4.168567478397834e109,-1.6285385463455025e110,3.0504042699182696e110,-8.857796685847553e107,-4.006670964688589e110,5.981878653096415e110,-7.972448778777902e109,-3.789051870842152e110,-2.7004829266361347e110,6.47974170418688e110,1.7562095298290308e110,2.0594683006209146e111,-1.5812154700710667e111,-1.132737193061119e111,-1.2957617162442266e110,2.3331841148673314e111,-1.9729214963131376e111,3.954724109193971e111,-1.7361119295731503e111,-2.5288787540679204e111,1.300614304891693e111,1.850387145735811e111,9.483666580058108e111,-3.793475058204841e111,-8.795089396866978e111,-1.445173822632258e112,1.3445253446120534e112,-6.295745474361432e111,1.6889387639218143e112,-9.274100928916726e111,-1.0453686618648214e111,-2.706907095708319e112,3.8130620789156966e112,-2.634844388361618e112,-2.4925073076632936e112,-5.2916399408991465e112,-3.3905476622592104e111,-3.2925703909494642e112,-5.397385158403513e112,8.929608550678595e111,1.1687154789435604e111,9.07878235696965e112,-1.6254852755856728e113,-1.2421678058478141e113,1.3781732809414809e112,2.5324989417476604e113,-7.033781530521627e112,6.615301956752809e112,2.7781343827596904e112,-2.0042731728137503e113,-1.4255146892102415e113,-1.0225449124461063e113,1.5847939368993475e113,-5.278406668963199e113,9.231080188734946e113,1.0053055783661982e114,-7.730479947639179e112,-7.923283213226691e113,-8.983238655706036e113,1.5740003008678575e113,9.95437435333462e112,-1.234805060194054e113,1.942343227254956e114,2.6761258439958097e114,1.1404601979724303e114,4.3773225675039715e114,3.3223053348554055e114,4.854529910474297e113,-4.92598417325624e114,-7.567770980361038e114,-8.339786886765759e114,-3.7486271687055186e114,3.537997535110435e114,7.221945972638376e114,1.3155807158402319e115,2.9220685418347977e113,1.1364356023340715e115,-4.4121194193878303e114,1.7509984356316568e114,4.2030229620940307e114,3.0150814058212913e115,1.8256329131893438e115,3.4342857249928853e114,5.620157706801909e115,-1.0626441476733116e115,5.77498038283775e115,6.988520952303428e115,-1.0219375839783663e115,9.939766816225012e115,-6.578127368678911e115,4.455002233113071e115,-7.290763153169051e115,-9.064691325517302e115,-1.4210505067664721e116,-2.302321058711171e116,2.987416102899188e116,-1.2831796153698185e116,-2.1980921801596133e116,2.1472013780236464e116,2.6783068567940678e116,1.8548577133815042e116,-9.082967323930038e115,1.349542036297046e116,-9.519273820260276e116,7.154478238348076e116,-2.6935068536991698e116,4.349359420015585e116,-4.152258169119353e116,8.552667480075866e116,-2.1354728186852598e117,-2.3261784246445823e116,2.0036209929806677e117,1.715330222800252e117,-1.928544904147476e117,-2.4800680646011556e117,-3.6488844844818765e116,-4.227151521643009e117,6.122368701852394e117,6.278465090494685e117,6.737690546370336e117,4.0154459603978006e117,-8.353444756240682e117,7.660622635389219e117,-7.166656185232346e117,-3.8276736884126665e117,3.87874234454482e117,-3.2422526417279323e117,-1.3710292839128587e118,-3.0712704678393487e118,-1.6007962099609327e118,-2.0032024659781565e118,3.0362559682532824e118,9.922849122718789e117,-5.331519843102476e118,2.4270190402307316e118,-5.253956394193673e118,2.128925491708761e118,7.538139778360816e118,8.845934733285717e118,1.0996833692201848e119,-1.2746779751256333e119,-2.009948121278753e119,-9.51475867433885e118,2.7136083549225024e119,3.145956958647594e119,-2.2121030084240736e119,1.5238326172107105e119,-2.523922155324894e118,-2.4351534638224287e118,2.8564348332171238e119,-1.8165143000020676e119,-5.5084623017586925e119,1.8738039933286324e119,4.564131903829276e119,-1.1021210349748725e120,1.3200563179281708e120,6.359291858236735e118,-8.109874994927534e119,-1.688094128729649e120,-2.5750821781359027e120,1.6145680754341578e120,-3.4170634463005036e120,8.000584318445151e119,4.604238399382395e120,-4.017000569317214e119,-2.7925572534298807e120,-9.201812903772118e119,-4.565216046768241e120,5.895874721930415e120,-6.342472039114082e120,-1.2644915904486808e120,8.789319641939369e120,-1.073181250750975e121,4.7623214394505636e120,-1.9483003515127015e120,8.370287084649347e119,-7.841126319126004e120,1.6301931979671187e121,-1.2327131823886354e121,7.50370865797086e120,-1.6574962026104283e121,5.648813918352309e121,-5.272793259525712e121,5.54611705350751e121,-2.4714384226572174e120,-2.474901964803847e121,-1.0625302019608983e122,-1.0358071690779519e122,-1.2942146758036461e122,-1.2950476029321727e122,2.067552959287114e122,8.041160412309889e121,-2.0932209625501555e122,-2.859871514934093e122,-5.175150326210539e121,-3.68084195887179e122,-3.620605832333957e122,-5.353163100958372e122,-6.0094528645767645e122,4.279716552808753e121,6.475095338830779e122,3.948453701106572e122,1.0029539653602834e122,1.2207469143618156e123,7.329720162752099e122,8.919123496303142e122,8.410856260701346e122,2.0792998518665872e123,-2.789736281803851e123,-2.03144809267001e123,-7.68765686517198e122,3.639126924167667e123,-1.881917505257174e123,3.2418572464434696e123,-2.8352154696406727e123,-4.5342060098721805e123,1.0563963950118712e123,9.281870855680897e123,-2.073210237382077e123,-7.026358624154883e123,1.5270327596306427e123,-8.041182723746833e123,-1.909434063839366e124,-1.484188142906764e124,1.6504929670464544e124,1.9916775632286084e124,1.8811025092263176e124,-2.349643016520308e124,-1.9184165698991906e124,2.3973731580651314e124,-1.253997832808244e124,6.878210923996408e124,-7.129710323648937e124,-8.307957701573503e124,3.1348220899149187e124,9.388370354918282e124,1.1941365965755814e125,-1.5769320744262277e125,1.4714174305419637e125,1.1257633982102054e125,2.286667887274302e125,-2.7925964152093282e125,-1.39764614523022e125,-9.285862880821956e124,3.1505708367812925e125,-1.7495985774806865e125,-2.939385865408118e124,6.63634581132525e125,8.218765445512704e125,3.489237714770262e125,3.949097254506995e125,-6.521039451058732e125,-1.3731839787133066e126,-1.098905914202445e126,-1.0399816395991771e126,-1.6808094894504608e126,1.1072240123053457e126,1.35659471143301e126,-7.774611433592613e125,1.8461154628725542e126,2.0825835353861746e126,-1.4832442175657596e126,5.193143728764467e126,-1.5485745021380548e125,5.124927147319908e125,-5.3915448051950664e126,6.767168350287551e126,-1.0082443342896729e127,-2.6473934512861367e126,3.070827885387209e126,1.7178019801215538e127,3.7756431242230044e126,2.1520983639802013e127,7.860057724938084e126,-8.680720049023323e126,-3.5808133334247956e127,3.9367946915711157e127,1.3889165438085137e126,-7.214005882665997e125,4.2351889991907135e127,6.093021806929058e127,5.773733565123936e126,-4.691785879101e127,1.1581577241321281e128,-1.0729897170359175e128,-3.2208992181969466e127,-8.215289714234557e127,-2.032091065632388e128,1.1533910929922035e128,2.275840849545319e128,-2.4192041831756727e127,2.4323009228411324e128,-3.1502933396010348e128,-4.492627551687637e128,5.228345929533072e128,1.0156436685516304e128,-3.7114235334751815e128,8.135962558887606e128,1.331985206655564e128,-1.0860540628390275e128,-3.056174748727125e127,1.2430320728352066e129,-8.283643269340902e128,-1.2390031936837602e129,5.72111422869289e128,1.804553875789185e129,-1.6354105977491022e129,-2.0906510977351264e129,2.3341785293004387e129,-3.724351589162335e129,4.590080112775707e129,6.282278541755832e129,-3.952762101529071e129,-2.9631320735573346e129,-3.9991879709611747e129,-1.0939254199702846e130,6.693844599786211e129,-1.4204475852025071e130,-2.991169901288996e129,-2.1473256300729798e128,-1.7455656166076144e129,1.409120902853781e130,9.928156840246749e129,2.859970948478084e130,1.0430868756493784e130,4.085253697899071e130,4.066411381713915e130,2.816487968673633e130,3.2866016073179327e130,7.932616905539462e130,-1.9604617189705585e129,-3.7715319825930447e130,5.847678112450536e130,4.71994962892013e130,1.1018784925982462e131,1.5791046093736564e131,8.845990088720422e130,1.6167773340672622e131,3.470122277319661e130,-1.4542402799265522e131,1.678722810578809e131,2.788211876044371e131,-2.8761960248788254e131,-3.5025526831782382e131,8.755706149961301e130,8.552410474261657e130,2.262677208059697e130,7.681881597874946e131,-3.3565837901091383e131,-9.330993651438678e131,-8.062363623816527e131,1.8016998773246413e132,-1.932364314276442e132,-7.107666124032118e131,-2.750014092279382e132,-3.045683118358902e132,7.46871164551199e131,-3.2532242289435694e132,-3.3655249300497754e132,-2.9339523172131694e132,-2.734273262007908e132,-1.6064077942407278e132,5.286095429399772e132,-6.950235056817651e132,-1.1099013376154884e132,8.317026962727335e132,1.164100867276388e132,-3.1330067540663414e132,9.114526683262632e132,-3.906732134788214e132,1.5246910465312235e133,2.600567723831177e133,4.838727966647445e132,-3.376645700412282e133,3.874271022488314e133,-8.529257050553738e132,-4.0471560049410365e132,-4.291101754612287e133,1.9550858422051828e133,4.1902912994242537e133,2.3739469694185666e133,1.2102827171247275e134,-5.994658898243884e133,-7.170953175274149e132,-6.056696959600502e133,-3.0271424893403614e133,9.560711250113942e132,-1.7575310924130144e134,3.3191007872977564e134,-1.254435672886044e134,-7.658660334329753e133,-1.3055468652791666e134,4.654662702443372e134,2.7825263536438955e134,7.775014338390869e134,-1.7380054104821292e134,-9.461725873710306e134,1.1751347431210442e135,1.03868022955446e135,-6.2842667894488606e134,1.736561959128439e135,2.192669645894998e135,2.20327687632258e135,3.119733723505088e134,-1.308382503482399e135,-4.996218850941418e134,1.526189400663397e135,-2.7877711176303403e135,-5.0273403849929636e135,3.041286578569204e135,-4.9052326491882185e135,5.514809733707834e135,7.817795547965161e135,9.345406224724058e135,1.1240405904641641e136,1.4539248332667102e136,1.2550327182340486e136,-6.03898581887227e135,1.5128129325803507e136,1.2889863093073017e136,2.0739921834665853e136,4.781562917722228e133,1.8319241131113738e136,-2.1864355078134477e136,2.0914326175825985e136,-3.152575724773957e136,6.389807950826462e136,-1.634002823768796e135,9.969334429735427e135,3.9201362661092275e136,1.1365866221546512e137,1.3526376474225958e137,9.6272826877784e136,1.996736642408936e137,7.214172062880281e135,-1.7575309521355252e137,1.287184861685102e137,3.3803252613329872e137,2.6990158944164137e137,-3.9665620269977825e137,-1.881817317111351e137,1.5388415041009267e137,4.914130405679512e137,1.216212109791871e137,-2.0051491389615018e137,1.7626777780987934e137,-1.0956773782646497e138,-5.254966392250452e137,1.0868352228069227e138,7.672306689194391e137,1.0013913557270801e138,1.2437129994083496e138,-1.4129047129337977e138,2.2165873778821374e137,4.782761969235059e137,-3.950368006209246e138,-9.919982663093223e137,-3.4759005078639664e138,7.940786612392825e136,-7.546018715853791e138,8.718073024048998e138,-4.60773544591315e138,-6.777089390781641e138,1.442463745147435e139,-4.88536591444192e138,-6.514309665014e138,-1.7800501914608833e139,-1.4367015642454555e139,2.1644492068324223e139,-8.831571949271999e138,-9.82383502955177e138,1.5394054707783334e138,-3.891681111837234e139,5.458569343226321e139,6.816122298831374e138,-5.107031050022714e139,-8.863660153210067e139,-1.1341919045508706e139,-1.1076503071408027e140,-4.620049849771774e139,1.3019572114671732e140,6.908385664432394e139,-9.062732230027339e139,2.1951337284171663e140,-1.6301007056918944e140,-3.00031521931836e140,1.7575041749685223e140,3.251822984158223e140,-3.175395073148464e140,-5.000587541242572e140,6.584834527051623e140,5.0626885709822525e140,-5.012327410171263e140,-1.0017140557680942e141,-1.958820182102772e140,1.0237848732897043e141,-6.711214967137833e140,1.0057924401269774e141,-9.366392422574423e140,8.096439738659569e140,-2.3275445433742532e141,-3.078511574450577e141,2.9979943220973446e141,-1.1949480151728699e141,-8.064507399099692e140,2.528033693274885e141,-2.4855108370524365e141,-6.456198169385735e141,-3.9066995182537775e141,8.687641058492772e141,6.598760129630974e141,-7.980652662025934e141,1.1647921539818707e142,1.1351591769579416e142,-7.4914394369227686e140,8.644390219058417e141,6.416832321399125e141,2.9630202468666276e142,-9.051951445558218e141,-2.9646379727033086e141,-2.8179167378711847e142,-2.0482770713844312e142,-5.389745365337201e142,-6.94465173193848e142,6.060202057961981e142,7.131984906070426e142,-1.9405522396776394e142,-1.1945789334373586e143,3.7877789788798675e142,1.6008676328869556e143,-1.0871373341168126e143,-2.0231893149607354e143,2.11006819234032e143,7.796144281545488e142,-2.19794783916765e143,1.274696018232515e143,-1.0406493530115913e143,2.682663935925496e143,3.400167730331047e143,6.734285757901794e143,3.8834384309600984e143,3.2614102997513836e143,9.756800768584596e143,-1.1274280302548927e144,1.5170880470105525e143,1.3457270622196178e144,1.5697270020729197e144,1.0356655845358426e143,-1.6505283904512847e144,-2.2193917840607585e144,-2.533228028630468e144,-3.604455459815294e144,1.1379487298878284e144,1.6791612704242443e144,1.5279824311251783e144,-2.185245531267916e144,-7.56112573285837e144,-8.048213566441255e144,4.667369779848582e144,1.0939097651136459e145,6.321507088621715e144,-1.1646077810420392e145,-1.352498373354816e145,1.4414518130865492e145,1.44371498109083e145,-2.6199273354502276e145,3.110634130516947e145,-1.6278412538514505e144,-1.8144355622556433e145,-3.7736233545732544e144,-3.481972467258905e145,5.919551695397255e145,-4.8285237563865175e145,5.715796575453236e145,-9.364913870151687e145,-3.9803402675962625e145,-8.192138582500256e145,8.940049651756206e145,1.3865332222933992e146,-5.147709513939273e145,-1.0995541294425127e146,2.1499064138445224e146,2.0308744585909853e146,-2.6494980202986876e146,-3.003406518948071e146,2.3897359441141195e146,1.5855327099337404e146,-6.2088781636342765e146,-1.4356053804724384e145,-1.5193592803374717e146,-5.330679591885648e146,8.126893150667988e146,5.843730019143424e146,1.20226212376971e146,-1.2265171277205247e147,5.7471844219643126e146,-1.3847510182082243e147,5.998557832832924e145,-9.343556396510241e146,1.5693718779134284e147,-1.1670475330042045e146,-4.022823685386279e147,2.491287662444679e147,-2.4353138013857157e147,3.508359873193043e147,6.180743938835709e147,-6.423238618449518e146,3.750916220004274e145,3.1974436805638994e147,6.362575706612805e147,1.2463166561526354e148,-6.536344584632536e147,-3.5001909672697663e146,-1.395184981963375e148,-5.011494313388748e147,-1.2365846730055635e148,-2.8607386842687933e148,3.812079075937979e147,-4.489678656485791e148,4.421675850898013e148,-2.23150952313276e148,-6.461939435849028e148,-1.1660800070288251e148,3.4211061102771545e148,-5.852114565757114e148,-1.0078803489229974e149,-1.0694757715339359e149,1.770216595302196e149,-7.489077681820395e148,1.872817758709852e149,2.5471932366034754e149,9.191996390536543e147,-1.08131604932597e149,3.399277177521241e149,-3.285501751288633e149,5.538117320405993e149,3.5894333903040507e149,-4.420396365104666e147,-6.305633955364329e149,6.481999843901229e149,-1.4594546780037861e149,-9.921982870610537e149,1.5169518520078252e150,-2.0497325776330026e149,-9.895115416723248e149,-1.6071662600662206e150,2.7008542043942035e150,-2.9871864671844854e150,2.919111583021891e150,2.310567237615559e150,2.2880861833727077e150,5.512149276633451e150,6.34905721612512e150,2.124959036946845e150,6.206138451155366e150,-6.410003863392286e150,5.746922243067005e150,2.7014864591747977e150,1.4341878940700033e150,1.0086919610207608e151,1.1124783021414015e150,-6.441851241792184e150,-2.4861653771132014e151,-2.3977179631158258e151,3.322161734210837e151,-3.7886087537507727e151,3.3399620381774644e151,1.0130449994101918e151,3.44653447756366e150,6.615915364069995e151,-6.521590949194704e151,-3.0186722848246335e151,-9.372375883716126e151,-1.8532696822152256e151,-7.679589225996816e151,-1.6436825636691184e152,1.2359282501285076e152,-3.0107032900798855e151,-5.300218429895024e151,-9.679611478156736e151,2.31216571522879e152,1.293255979246461e152,4.178191622539886e151,2.7587445312686695e152,-2.7288129510640576e152,1.3577251629118213e152,-1.5694653277211048e152,-2.0145433861290475e152,-1.0156838546614558e153,4.249636926322968e152,5.265500789172975e152,6.974418470222855e152,8.349705013235302e152,-6.937843755322829e152,2.121286204954452e153,1.1139232241848056e153,2.8281724571977433e153,7.645257365672059e152,4.072008493438027e153,-4.529652447304593e153,9.549037461060589e152,3.904261552434202e153,2.467407305121949e153,-7.281285185346233e153,8.600147451115545e153,-7.94220982568588e153,6.053885700410187e153,-1.839849575924607e153,1.6414915006977498e153,-1.618565952523881e154,4.19906842386098e153,3.791752708693132e153,-2.780461824769969e154,-6.891678884171799e153,-3.380212785071419e154,-1.5104040678919155e154,2.5846767459239925e154,-2.7156840852836374e154,-5.1418537410150555e153,-4.8443004953650515e154,-2.713743644159772e154,-2.838235504523029e154,6.578768835380423e154,5.384908666445559e154,5.716095095934046e154,1.1884054501584192e155,-9.764757651491788e154,1.197317744749734e155,-1.257132017065649e155,-1.0099596036416522e155,-3.0381325853985293e155,-3.3521910464594653e155,2.7894729598287243e155,-3.0238536686167816e155,6.023851128410132e155,-6.4790205868906e154,-1.3566143432307293e155,9.01151628411983e155,-3.3961282491831835e155,1.9458555088017294e155,7.451623912401936e155,6.098251642283234e155,-5.763338310225744e155,-3.389922030279928e154,-2.865731304429754e156,-6.249234345890442e155,-1.0763992958377147e155,4.409578611220965e156,-1.4895605526978643e156,1.7011976767280373e155,1.4845001923285575e156,-7.84893495660573e156,4.2664316847604175e156,5.515466645800872e156,6.398611483656011e156,-1.1316308465752385e157,-1.5956121272034315e157,3.790821976493248e156,1.0340062037258283e157,-1.920927512136016e157,-3.085577144248725e156,-4.493699903276629e156,-1.273775319787697e156,2.567452318712296e156,3.991691463385384e157,-2.5343444625283673e157,2.484747937111045e157,-1.981697963523362e157,-2.6571874908046852e157,1.914084161042683e157,-4.320763741452116e157,4.787759843876756e157,-5.4182850400759845e157,-1.7117814363498457e158,-1.2795412231297823e158,2.0431545857155987e158,1.3908076621636786e157,1.0798450490055009e158,2.8696166994458663e158,-1.2797094196755474e158,4.214040956936067e158,-2.9944859646925545e158,-2.8788290850745665e158,-6.300624565595058e158,7.084032688979695e158,8.192707225902232e158,2.6235805269323475e158,8.963014083203333e158,1.338109342377207e159,3.7534724244524845e158,-1.4938696508807508e159,2.2998666810271753e159,4.057860896492614e157,-1.4564789136778896e159,4.331612820885582e158,-2.369088792501262e159,-3.754304461964718e159,-4.466032752342668e159,-4.348648185751127e158,-3.3828919652886388e159,-6.3033592608276225e159,-1.5977112997562916e159,-4.657860004523132e158,-8.463993450048386e159,1.0409040107878376e160,5.245369966330843e159,-1.4647564737862612e159,5.915965235793744e159,-1.5726651731688947e160,-1.1122262520710345e160,-3.0447043728125745e160,-2.6753790709314425e160,1.597300842925996e160,-4.1732211543686724e160,-4.968989766637916e160,-6.2032621166620196e159,6.974801432721207e160,7.221795923322963e160,2.1811041634285637e160,-3.75291791311556e159,3.665149642833632e160,-4.112689428371432e160,-1.0562175237456189e161,-1.6339876328428458e161,-2.474058862377453e161,5.826906993803619e160,-1.198013769096553e161,2.6253082369130107e161,-4.0405534732232784e161,3.8324506207253934e161,-3.3719438442320417e161,4.3222590286296835e161,-1.1084134739916254e160,-5.663724192454413e160,2.8247355538759166e161,5.75157795405727e161,-9.723335840178448e161,2.8709545395147795e161,4.637132047794227e161,5.065289034953972e161,3.7820364623328906e161,1.6060430100733459e162,1.887975892358519e162,6.27370007334347e161,9.828696458842174e161,-5.924377297867456e161,-1.1448398702204372e162,2.120211307176058e160,6.440632512378996e162,4.482786445783456e162,5.80475644520906e162,3.099728986167659e162,9.757559631420147e162,-9.871296097899487e162,-3.4823993843611382e162,2.0267870360905336e163,2.0215636817722513e163,-2.0187804640493446e163,-6.881440050622684e162,3.3245160586892916e163,-2.8594044091247705e162,-3.6287997158358424e163,3.078764478701271e163,6.281071942682251e163,8.941865915908731e162,-2.0790917853979595e163,8.823688150226739e163,5.973136338750341e163,4.998998637897618e163,1.1125578622878313e164,5.5030649551936e163,-5.5504348462167497e163,1.4018034833273097e164,1.6921816738053374e164,-1.7848304909017203e164,1.7207787508139505e164,-2.8466846845997133e164,2.1669023147260986e164,-2.6548188717361394e164,5.796029275613851e164,-1.2366390435046705e164,-2.6237326239346504e164,7.5875992870407e164,1.8680941647518885e164,7.62626187859434e162,2.8757574410866103e164,1.107655076259217e164,1.0308531813732456e165,-1.3440739882512186e164,1.928514945326551e165,2.6849684794347105e165,2.2110156581920365e165,-9.265834865569112e164,-1.7799893320070133e165,1.5910757905284277e165,-1.5053882435508312e164,-5.0067774947391205e165,-7.672686463394092e165,7.104096263371036e165,-1.0071574254498117e166,9.099920549437867e164,4.165818426250801e165,1.112979394044286e166,-3.1428985889494814e165,-7.3591072749365575e165,1.3160262247968493e166,-2.0185981198373087e166,2.6002872856595607e166,3.5595861222912296e166,4.1246221456413315e166,-1.362811488274604e166,-5.316322980059266e166,3.253650860558353e166,-6.596857059623495e166,-5.0640394033777155e166,-4.214220132885501e166,-5.913901944631075e166,-3.32144588412307e166,-6.506477218213793e166,-9.538031300906565e166,-4.8757900380824694e166,-1.789287852776145e167,5.133694395639105e166,2.894176231577511e167,1.1143911030841948e167,-1.9763427946835692e167,2.627248984912257e167,3.3640246918061254e167,1.8299768782210789e167,-6.724939490807382e167,-6.342616770863385e167,4.328152116409622e167,2.9674572903220786e167,-1.1133910252135056e168,1.4463811764629603e168,-1.254658610223843e168,7.774774396221727e167,-1.1956961886209764e168,1.8868882080828267e168,9.621935194898383e167,4.653159619976468e167,-3.1699788065583395e168,9.891956767805492e167,-4.7602086696200796e168,7.786638918009701e167,-3.396873853718792e168,-5.569570820953293e168,-7.426538514285239e167,9.587649233612245e167,-1.2481057159618057e169,2.029492730438092e168,1.2694734425801187e169,-1.3488625845355628e169,1.2774744886606371e169,-2.5070258141207734e169,-1.2310351838674858e169,7.984204706605799e168,-3.0913816067163055e169,-7.99592029106746e168,-1.0150210633584523e168,1.889949997680704e169,-5.3648407611656946e169,-7.231772992620086e169,4.19758789976417e168,5.574861974209603e169,1.0815454200609727e170,-7.431607689822847e169,6.16121635516306e169,1.5291483084797036e170,-3.0350357698919145e168,-1.411455441796692e170,3.189485143168346e169,2.7213449784414045e170,1.786175705079977e170,-1.8592895568271464e169,-4.034870521133192e170,5.787747046710464e169,4.876475350523993e170,1.2766485142241497e170,3.8936513797584366e170,8.418060412541531e170,4.4226549302087667e170,-7.26333021351837e169,1.4283167701438884e171,-4.960808066420997e170,-1.321905836453937e170,-1.1508550615548112e171,1.5249991451965707e171,2.319556269217276e171,1.1932296425962281e171,-3.736087022315906e171,2.5987491146396537e171,2.373076403836056e171,-4.4504768174936744e171,7.222908885445441e171,-1.8380137532340342e171,5.427690113498816e171,-6.0522769298271135e171,3.5868974689861393e171,-1.1164215860471947e172,1.1246725452455876e172,3.182491511165655e171,4.996910485294014e170,2.1771451172532703e172,3.001466928355709e172,1.3164912673063285e172,-1.9803196393698793e172,-1.5506932332462156e172,2.453059923706522e172,-1.7837226042693755e172,7.774071773651658e171,-4.239391423542889e172,3.542617640599759e172,5.809986784862627e171,-5.1559514355277685e172,-8.138768002872034e172,1.0379393223326212e173,-8.7505250055865e172,-1.3063921272938808e173,1.3335926315318593e172,-4.275356343367546e172,1.9707885461561214e173,1.9125136592917705e173,1.9325644782511752e173,-1.368392928335469e173,4.342742189512377e173,-1.488407977685585e173,-4.2764022452218264e173,-8.581072032130463e172,5.272719207765051e173,-8.509695160692197e173,7.580953129931038e173,8.459879731466136e173,3.193464368223491e173,-2.144270623028357e174,1.3207855801984833e174,1.1531661921626471e174,1.761663400917282e173,-2.9516769627180893e174,6.153784771491286e173,-3.385684261614119e174,-4.123216647633987e174,-4.314302352237504e174,-6.581487008853307e174,6.460800395899793e174,-5.418201306251561e174,-1.10049320701432e175,-3.4314950968873703e174,-8.582777585100133e173,-1.623284257290065e175,1.7512251484242596e175,-9.891661486349224e174,1.7890181591893022e175,-2.7953715292499213e175,-2.1578173111962686e175,1.9297169168415147e175,4.253316462280277e175,-4.053622885245805e175,-7.526277560388632e174,-3.6948826176089286e175,1.4906663121605374e175,-8.232175403380971e175,5.124466103053952e175,-6.19775195438017e175,3.657310003569407e174,-4.7584034810596445e175,1.558717763331716e176,1.1589445112644362e174,-2.8372379724403292e175,1.2858922268561896e176,-3.368792186966105e176,-2.2754257512642133e176,1.4518431479589777e176,-1.391428040647159e176,7.074287707237224e175,7.101035925268073e176,4.760224569054245e176,-2.5783555708312197e176,6.030409743860759e176,-6.231875712626897e176,-9.643380135330141e176,-1.5620045586954092e177,-1.2141351999499948e177,-1.8292305279823053e177,-9.39469184443841e176,1.849578463877499e177,2.985256312114035e177,-5.49812428455653e176,-2.4246831189085725e177,-5.176097382948321e177,4.100674772828799e177,6.307937677189775e177,3.5710362380711816e177,-3.9897710229284146e176,5.880911337120282e177,-2.186930859980931e177,-8.900302246231369e177,1.4145354802889295e178,1.4595811569241533e178,1.5534826093449175e178,-1.83379139255814e178,9.139131213416952e177,-2.482990108113329e178,-2.5050643198082176e178,2.6391997047698195e178,-1.4340314914224725e178,3.032003104340486e178,2.0355665625732523e178,-6.808492718193416e178,5.621927237955798e178,3.1453924928857244e178,9.840930791181109e178,1.01456105584542e178,-6.148080909604353e177,5.144588174274351e178,-1.647849378248215e179,8.375352466653995e178,2.5688632625001982e179,2.3014652116858307e179,-2.8720349084771303e179,4.124795329369195e179,1.6280253254151785e179,2.2145171231566873e179,-4.7546442427186086e179,-6.265094014130458e179,-8.52116809417457e179,4.985655917392626e179,7.576676908878577e179,6.660250364764042e179,3.3833925092618255e178,5.110211054833194e179,-1.0084170632159859e180,-8.452300844843941e179,-1.3673463786607834e180,1.0981448952315395e179,3.434216417396852e180,4.0701401699048265e180,-3.4878782875927126e180,1.7644845314773945e180,-5.163070909555823e179,-2.195729037790062e180,-6.962547683583046e180,-3.801383560105181e180,1.0559986902673734e181,6.140807968413987e180,-8.221003965195473e180,-3.7734213709426613e180,9.222034999903847e180,7.858029752722093e180,1.263845962873264e181,4.510858405776538e180,2.8666941000751623e181,1.998918767351666e181,-1.3965143861318385e181,-1.41508543464203e181,-5.350693181895691e181,-3.1114774218987946e181,1.805554541069377e181,-5.695232194507013e181,-5.904707645333125e181,-6.810091509752241e181,-3.747970766013364e181,-4.069600410484358e181,2.407864741585795e181,-9.998209526458971e181,1.5622477011884038e182,-8.051948862354783e181,-2.1770197349113838e182,-2.5507226942482045e181,-4.115182245046529e182,-1.8724412710984555e182,5.150028152672661e181,1.9393664505237215e182,6.256844164464386e182,5.512987189032883e182,2.879818715280688e182,6.068843951558757e182,5.936083783498474e182,1.3739740873235554e183,1.6942581709347451e183,2.261654978993713e182,-1.2058342189553722e183,-5.477954971209842e182,-2.620765699280108e181,2.4933677193976723e183,3.596487799335149e183,2.346492094512267e182,3.981210043100967e182,-4.532612349856501e183,-5.244655877937268e183,-7.909136554986116e183,-6.171883146531646e183,4.002082608789597e182,-5.196986527916539e183,-1.2887295261120967e184,-3.8211924657787083e183,2.0516375407895946e184,-1.0577438779872708e184,-1.0495707805486308e184,-1.406865101343959e183,1.3848143981723815e184,2.3523276087435773e184,-5.716812034452558e183,-4.703523679799081e184,2.4870627974144214e184,-6.239369525049713e184,-7.271552711706983e184,2.739265313574438e184,2.919121741139075e184,-6.900021354807318e183,5.71471528714195e184,1.4486076293372883e185,5.806169417435558e184,2.633610858265599e184,4.303103148468546e184,-2.790432157692644e185,-9.448899778655219e184,3.506783851844508e185,-2.0027586435746357e185,5.420413989622597e184,-5.3127532612430716e185,3.1489670764953837e185,5.025731935019056e185,7.121770761318763e185,-5.3032538129123956e184,1.2224388816214116e186,-1.0457194654062485e186,1.5582061435726543e186,1.7571178496699374e186,1.2953555564688368e186,7.398016183480594e185,2.560028351436814e186,1.2857940946253157e186,3.4967070667362255e186,-4.478846138084155e186,-2.2095551491487547e186,4.689173210514044e186,-2.180279245582109e186,3.732574997052423e186,8.249280655741772e186,-7.233015581561877e186,-8.417106919823209e185,7.681740990619063e186,8.278625372537911e186,-1.6443650363483819e187,-3.4487508489400454e186,1.2770766774929e187,-2.315787004477316e184,2.546484115997689e187,-2.630129656233959e187,2.6347248843631766e187,6.657588171384718e186,7.88078362925811e186,1.5938841314048672e187,-3.797079359078207e187,-4.9384766820674245e187,7.55709757738465e187,-1.1646159215199151e188,-1.2467183044858976e188,2.8817163110046217e187,-4.636344473466079e187,-1.4521001668153255e188,-7.060204232870108e187,-2.683622803924732e188,-7.317102929847666e187,3.666172285989087e188,3.65733071515204e188,4.395504243121384e187,3.229047206730608e188,9.230804246157776e186,-6.450665729884345e188,-5.013049305711111e188,-7.84961223002389e188,-6.716794438077384e186,-1.0385183439796482e189,-8.956414044045623e188,-1.6633899574253568e189,-7.661984920885494e188,-1.2364965099228628e189,-6.941173079015558e188,-6.95960411928335e188,2.805095513320122e189,3.094104416054818e189,3.040258850068187e189,-3.598887415250695e189,2.751173578109472e189,-3.052525069491174e189,3.2066184159719e189,5.345880432398176e189,-9.14665008604894e189,-2.6603837345962965e189,-4.868845107296009e189,1.1716058366204974e190,1.4037085555877183e190,-9.442690668713129e189,-2.4758303153569047e190,1.6214138784869333e189,-2.7245746386643658e190,-2.1648525965303633e189,-7.278442108547061e189,3.810874788041041e190,3.7951801431493884e190,-2.1241401807058646e190,-1.188540034105192e189,8.60772234927135e190,9.485058953960124e190,-4.950727533233607e190,-4.8301898353972515e190,3.828698613967271e190,3.794657085014375e190,-1.8944113948255453e191,-2.0602212470070673e191,-8.065553103289899e190,-5.4264310728849485e190,-2.6714050272471945e190,1.6322451174019882e191,-7.027064213887993e190,-2.4366676827619772e190,3.874174483513933e191,-4.195425524879206e191,-1.7964334073564545e191,3.384502152371829e191,9.419768167799252e191,7.514117177913725e191,-1.283661453203808e192,4.2507217689828085e190,-7.518193258454302e191,-9.614242364749439e191,-1.8669270660266864e192,2.8069435923395427e192,-3.687790804179594e190,3.766056345282972e191,-3.4861125701262046e192,5.650118070183251e192,-1.864512469849753e192,-2.4504554176753165e192,-3.0853928068932395e192,-7.254348285549797e192,-6.943336248097729e192,1.2577001679847304e193,2.802146947102183e191,-4.762789272092432e192,-1.412614215862803e193,2.428392634448922e192,-8.558452789513394e192,-2.3324159755319592e193,-1.951708151280354e193,1.6476364108008997e193,-2.212777447284595e193,4.322443152041402e193,4.150171743831509e192,5.926830936509614e193,-7.848009505749752e193,1.0116464000895777e193,-5.80646856318528e193,1.4371790144878985e192,-1.3855866445642018e194,1.5735098958210707e194,-1.328482049402454e193,1.0823838798461215e194,-1.2716297736149209e194,1.4134670817434039e194,2.0039633925868993e194,2.950432980745857e194,-2.5231596882139792e194,1.9050556817239235e194,4.918254956838533e194,-1.730115938543736e194,-3.463643279533929e194,2.7515334355772967e194,1.052592028094911e195,7.173963915763474e194,-4.5088938013755245e194,-2.5286137902178844e194,1.61397389438243e195,2.0618312837851842e195,-1.361155124107049e195,-2.405230888208014e195,-9.287211040732281e193,-2.9016082823960546e195,4.0276543219815945e195,2.435384239671572e195,4.80202315828246e195,1.242890413048689e195,-1.4232151740229305e194,1.3049996731468203e195,7.557174766897747e195,-7.287300880468714e195,-1.116738880376675e196,1.3718168203709265e196,-1.6408316331993547e196,-1.075540239759283e196,-4.836155713152313e195,-3.6464692881216286e195,-2.1196065996501565e196,-6.969643106542646e194,-3.5493764857229384e195,2.1411741452527938e196,1.8676483204742188e195,4.789567932561505e195,-1.7731232413591718e196,1.575910606222186e196,4.571025045116851e196,1.0158008542113544e197,-6.383740435551445e196,-9.858709670610889e196,4.113395523380252e196,-4.3960968554439645e196,8.776956244724475e196,2.9166476061116216e196,-9.35912430663758e196,-3.367573650718901e197,-1.6152011616436406e197,-4.500025971071396e197,-3.3039261305603906e197,-5.8972502990138034e197,-5.636666144943941e197,1.0665193997200202e197,4.439005145237548e197,6.583385722209089e197,2.6318670385048078e197,-2.222557801994313e197,-3.180905757240268e197,-1.333587050786738e198,-5.330115983487761e197,-1.845840382184772e198,1.2722353319693755e198,1.9228149178446023e198,3.9799444501401765e198,-3.691304146278032e198,1.8779207657938926e198,4.493673417401818e198,5.55828675160171e198,-6.339363451682806e198,-4.051229291527947e198,1.8566487504692738e198,1.217267155342335e199,-1.4666293842987212e198,1.6496822708368215e199,1.5059866094964907e199,-1.6019439261806936e199,-3.5674022091617646e198,-2.6637507524385068e199,1.3736115661386096e199,6.318061519176919e198,2.0925387213709877e199,1.0922988226423504e199,3.967592544392339e199,-2.8721541993397625e199,-7.276125557130081e199,5.01909091230797e199,-1.0936164802979832e199,5.684820440456928e199,1.2953428087805512e200,-1.0703170935260763e199,-1.6873833231812804e200,-5.560754416033421e199,1.4042693756326578e200,2.5922066230467854e200,2.559552265876677e200,-2.45393422248075e200,-6.565795333890629e199,-1.2402819481395696e200,-1.2513124343973465e200,-4.751692760933009e200,5.65974991545131e199,-6.0879023431462696e200,-2.374591280685381e200,4.7972362416837574e200,-1.2646816703949855e201,1.8314843587392093e200,-1.677663986908251e201,8.180902094831297e200,8.169599637499515e200,2.0285483381356872e201,-2.78904199940113e201,-1.1202811373086981e201,2.755581855120809e201,4.287358207123983e201,2.093503737405997e201,4.664385264807605e201,-7.330738063526383e201,7.424201516809735e201,-6.587543186999363e201,-1.1034395152589474e202,-7.881528988441583e201,1.4800550408233423e202,-1.1396106500168727e202,-1.8412530748570222e202,-6.825649395502001e201,1.3893483302391251e201,-2.613876817513807e202,2.832416963985405e201,2.039445115116263e200,3.8262881942090004e202,-3.9059632525850884e202,-4.29681547479565e202,-3.7521226230521217e202,4.0698423146539845e202,1.0519286827582656e202,8.494113794745999e202,-2.608700172985171e201,1.0055007681881548e203,-1.3710003289038758e203,-1.176048884514854e203,5.208599008174569e201,1.799991751095055e203,1.0139671578164521e203,-2.5943694493410804e203,-1.7212054040271283e203,4.002955088057722e203,1.1684382319749733e203,-1.9511945011174852e203,-5.935860815461252e202,-4.707781601828431e203,-1.242072968577332e203,-6.546892624664746e203,-1.1755583711405528e204,-7.479509527366916e203,-7.355872993366012e203,1.7529816954266752e204,-1.0553206525002463e204,2.0495172454525494e203,1.4328740521564805e204,1.0356028929561231e204,-2.5446695062649453e204,1.3014351031895925e204,1.9011305431254834e203,2.4574490349436003e204,2.7326244580480494e204,-4.8532017428954765e204,-2.3930775645252286e204,-2.300700330037672e201,9.508691891264737e204,-6.748612471923708e204,2.9969837634254097e204,8.026544791244869e204,-9.730667504495514e204,6.814319254429563e204,-2.0620915591917235e205,-1.8184019561002364e204,2.0049180624966433e205,-1.7084318364212094e205,1.452285195367222e205,-1.633276736253861e205,-6.174615471025774e205,4.283142543926026e205,1.6033336707125195e205,-5.57871147172283e205,4.481329983901415e204,1.211466425505849e206,-4.071998274894013e205,1.1766085451777589e206,1.8957432660050313e206,9.893218764990114e205,1.5471143809987714e206,3.8434452717887414e205,3.1632366456303664e206,-4.0670601040483574e206,1.177984230598867e206,4.9050161436292894e206,-1.418140063925403e206,-6.770220596153347e205,-1.887336102415341e206,-8.356673110498665e206,-4.117021241576743e206,-2.9288840745487758e206,-1.3019321837090046e207,-1.3479404415674386e207,7.965010980287445e206,-1.3937559916337998e207,1.3841841717308857e207,-8.927747719788091e206,5.388035535959205e206,1.0579930304994846e206,4.2368775291873834e207,4.835701911624201e207,-5.355144798984626e207,5.662076994597656e207,2.1426792392074394e207,8.333496213674664e207,7.573123247022731e207,-1.0670760539932234e207,-1.4047513514724917e208,-1.0385141250096175e208,-3.716458562439015e207,-1.4482046614915834e208,1.0570987674084452e208,-2.958670406348877e207,2.8227420508450557e208,3.0657119057873887e208,2.0909510087453955e208,-3.827428474321039e208,-4.2919523330147975e208,2.776283911531538e208,-1.0778380044825165e207,-6.478449580478133e208,9.437417244059746e208,2.762184209019954e208,-2.0696477634333764e208,5.66351942081641e208,3.492595639312902e208,6.940558744014248e208,-1.8379638870553048e209,9.01068398812601e208,5.609646641906311e208,2.5032249523069056e209,-2.521104093489717e209,-2.886333472117735e209,5.419643088154313e209,-1.7003032554306267e209,-4.5798659550956964e209,-1.9322155548530477e209,-2.8094697029414304e209,-2.2196251318781258e209,-1.1310771437060403e210,1.6434364126953015e209,5.401801129737813e209,1.3860902596049078e210,-7.407274994910839e209,-2.9346283513095606e209,-2.132492001257912e210,-2.0111824847132805e210,1.1891133050008578e210,-2.3270082126483312e210,-2.8176301836463836e210,5.1958495407044447e210,-1.508756318683652e210,6.880414362376227e210,-8.73463452859483e210,1.376616484264562e210,-6.121163186137939e210,9.720962028316342e210,-2.5923497135554304e209,-1.6957036716492513e211,2.139698608415608e211,9.95180134409452e209,-1.566558397938661e211,-8.415561742641456e210,-2.821245091667401e211,2.0822561171780327e211,-1.9658884551119092e211,4.875738428779471e211,-6.940868711160286e211,2.5596285110838843e211,7.677412265754677e211,2.6184348511655273e211,3.6525285101945843e211,-2.1165386474381594e211,-6.108026361508786e211,-6.960033951377931e211,-1.9092299470508605e212,1.858067618013998e212,9.749010505226456e211,9.554222623396048e211,-2.1863607366648935e212,-4.111647181443392e212,2.1626271400785738e212,2.4874963198620606e212,-1.7244770115824072e212,-1.9247860164018007e212,2.060682487101063e212,7.501516086845941e212,-1.0239561216346609e213,-9.422333627499176e212,-1.1564609269561821e212,1.1816121535135566e213,1.2056507119413087e213,-8.410174484144209e212,2.308153027135168e213,-1.124007209140826e213,1.9621944038254768e213,2.653203285165416e213,-2.1905393251453713e213,-4.3372463813317616e213,3.456798816222812e212,3.833217245812978e213,8.104215644497966e212,-5.754757729228346e212,-2.6585122873201248e213,-2.453441510918015e213,3.5586723671417277e213,9.85970899833997e213,1.199206118435698e214,-1.8462005146967147e214,5.603151452711257e213,-4.3760503574852836e213,-3.3412163431009815e214,-1.0421688665679638e214,-3.440077189289294e214,2.6821509487563625e214,3.182845574864421e214,-4.472012855580927e214,2.1597647460993784e214,-4.654120548202822e214,-1.925340759991797e214,8.063592742600075e214,1.154529606287873e215,-3.718364051497373e214,-1.8459884906350877e215,3.465370353299281e214,-2.401865051611224e215,1.8544118077216206e215,2.2135555690486857e215,-4.418438646054508e214,4.3481125983688405e215,-5.0132769828973425e215,2.370042722354922e215,-2.778547853199329e215,3.725309317895562e215,5.793585847744623e215,3.7385480135027334e215,6.2189655395658115e215,1.2677585110141588e216,1.6594925060280714e216,1.3881724280020332e216,-1.3374136768267743e216,1.2582053201885975e216,-1.9937290150012392e216,1.947561773288418e216,-1.2436070883486557e216,2.3967135972905565e216,-3.28979296907247e215,3.571207578846165e216,-3.1736479754110756e216,7.710764261545536e215,1.4495414441897568e215,-8.89562041116334e216,-7.134634947787144e216,3.814974513498741e216,-1.4929556972879588e217,-3.9709314716109945e216,-2.0886089951440996e217,2.052050401872575e217,-4.2315971841722457e216,-1.7633763201642405e217,-3.321256718672309e215,2.2855661169881e217,2.8600838350942433e217,-2.0551234445386997e217,-4.0876597506651617e217,-5.34441224084367e216,-2.9326290704364305e217,-2.9268295625204404e217,1.6332935156866732e217,8.466190452858278e217,-9.804975576247576e217,-2.214679268630006e217,1.5347665434873792e217,-1.457250895068216e218,-1.2936390248788978e218,-1.555646054288672e218,3.1724872709214924e218,3.999225867750492e218,-2.9803429125841462e218,4.539973049190323e217,3.167616942779467e218,-3.91709787293003e218,5.939842992579928e218,-6.082956456942381e218,2.2698470610934773e218,1.131026670000834e219,-8.008728709504999e218,6.4122898931990476e218,-1.1910246345191752e219,-1.3797518968411365e219,2.427829679487852e219,3.3745960301627592e218,2.524991425473991e218,-2.2444402190471942e219,-2.7563007009104692e219,-5.16773771543158e219,-4.5974162905193195e219,-2.061203972128221e219,9.691151980059167e218,-2.894147628894169e219,6.67845903439298e219,1.8267342978573044e219,-5.861096938244372e219,1.1216614997297243e220,1.9536219271486162e218,1.0353380640877812e220,1.7117620088895448e220,2.6262724000448655e219,-1.6668869596949625e220,2.2420980498311259e220,2.259213733474052e220,2.966011006994059e220,2.725296188330447e220,-4.428494911059733e220,-5.794685041553999e220,-5.508380371338744e220,3.1346289410157336e220,-4.180383482229301e220,9.12007564565048e220,1.1217734967306472e221,4.0270689123756433e220,-2.0578813407419326e221,-2.159289334379384e221,1.947997473579632e221,-7.90309107976775e220,9.867874730242053e220,-4.316979527822153e221,5.0105754309883684e221,-5.809036522281141e221,-1.4037704715378096e220,-5.821845674621481e221,-2.9564403458408843e221,-4.969680182578781e221,-8.546004871707732e220,-1.3640685976834861e221,-9.652219899770561e221,1.2701608245323801e222,1.0268902798628864e222,7.1762215265769525e221,4.2419232334504306e221,-2.2044491820985677e222,1.1952256494818417e222,-4.168403530596584e222,-1.90035637366915e222,-5.526204171064436e222,-4.481835246953328e222,-5.637124225969876e222,6.132359202813272e222,-7.66539252312431e221,1.5737335198481876e222,-8.858096547955799e222,-1.7051402080607445e222,4.139971353897127e221,9.202930434545266e220,-1.377024121707891e223,1.9606915935357924e223,-1.1967379052707337e223,-1.7702152934457438e223,-3.568418144527549e222,3.0057199809001875e223,-4.246519813659981e223,6.988097333199741e222,3.1820586337204433e223,-3.105633588098851e223,1.1190359771436266e223,5.38504010770803e223,-4.3076388374762107e223,-4.5327646753098246e223,-5.751596451029964e223,-1.2956536850526156e224,8.050440998285702e223,7.846829245872054e223,9.87306392254267e221,1.867637681901765e224,-9.848583082279323e223,1.5178448775528538e224,7.479174392374332e223,-1.100526517601543e224,-1.5327864205002953e224,-4.461887743509869e224,1.4018612816757527e224,-8.94660977619579e224,-4.798332316463437e224,2.985139611189363e224,9.433885351432427e223,-7.986702333702934e224,1.6698657105822387e225,-1.7927459641967002e225,-7.896134715506133e224,2.2211328396522394e225,2.438976083311711e225,4.254046638996708e225,4.393357545501016e225,-1.7900267344978232e225,1.5197042238252768e225,-1.856444947728683e225,5.4639284087831795e225,3.363897233318004e225,1.5513655142123267e225,-1.1868733713236546e225,-3.728626649704979e225,2.528337961103206e225,1.86353154018272e225,4.430548337481358e225,5.1795042936702764e225,-2.2076083293057483e226,-3.07454850631728e226,-3.022556668027808e226,-1.1532434415781601e226,-2.568591733914815e226,-4.49025092978415e226,-4.3384104155813606e226,-2.9778383434227964e226,-6.896040412888866e226,6.398322321082315e226,-4.0334219066376316e226,1.3974385313134102e227,-1.081373747205535e227,1.8316088839734409e227,-1.008548828274776e227,1.7915034708514225e227,5.936529147262669e226,3.4881624940583203e227,-1.5536629357583804e227,4.727603318888471e227,5.435100376854966e227,-3.8211662779993e227,4.549568750692908e227,-6.432584507501803e227,9.564887980903034e227,7.056769373304867e227,1.1245053821847445e227,-1.4812568214045182e228,-1.1991798295712165e228,-1.4489066407607692e228,1.4817987211840133e228,-2.501186018446194e227,2.472886157636817e227,1.3370254664881304e228,1.2332865997888514e228,-2.2375715388367714e228,1.5535741472290696e228,5.486537229837539e228,-1.312154691097137e228,-3.597587014677449e227,-9.0386428657672e228,5.568304391510947e228,-4.050907019597741e228,2.912154423930358e228,9.584367101125001e228,-2.6182862360158978e228,6.101225932714713e228,1.5300980356503133e229,1.0819113059443841e229,-1.916961697401768e229,1.6956837747060347e229,-1.6157021397422128e228,-2.800662015666368e229,-2.2874625726825034e229,-2.8914798649333117e229,-5.777290373422982e228,5.244946808832996e229,-6.231129759912634e229,-6.000737833710007e229,2.1050846915755733e229,7.774078262950497e229,1.6015899985241054e230,1.322629799998174e230,2.1525566953070683e230,-1.0818430880521979e230,-5.229124253458236e229,2.4051669849096996e230,4.059875755469447e230,4.824835664480958e230,-4.3917721357237974e229,-4.67939751891751e230,1.1222705646844365e230,-4.557465095961072e230,5.8655097724321026e230,1.255729919540628e230,1.2848426067262418e231,1.4009470053575837e231,-2.9688197836722047e230,-1.5074790867686085e231,-4.976658512458051e229,4.04380946374992e229,-1.2135554254152896e231,2.5779264789707586e231,-3.6492451475112273e229,-4.8809138032691685e230,1.5784876617505262e230,-3.558453721769491e231,6.476221340390281e231,-1.559181963497882e231,8.078817223877029e231,2.0118535047726098e231,-8.353265398795607e231,-9.637960598813444e231,9.663882226234582e231,-8.867730133853903e231,-1.7049274385697662e232,1.412876204316551e232,-2.3910275875180324e232,1.0808482724577825e232,-2.165252161614714e232,4.629613315645432e232,-5.270076015387523e232,2.692396108277871e232,4.574173952697651e232,5.321728369782034e232,1.1084891138367315e231,6.731955509252484e232,-1.7380822018362103e232,1.6552261778622649e232,4.8162589032177916e232,1.68141023053815e233,2.000273659588686e233,-1.2981111296147018e233,-2.5617651565001324e233,4.051221908977547e232,-5.808767459550593e232,-1.2138171557045418e233,-1.5182853642806333e233,-3.7652332773500737e233,5.314082404301201e233,5.349367109419873e233,-6.077089743956264e233,-1.0082322364711313e234,-4.961945312983476e233,7.627886112146864e233,-7.213504353736688e233,1.2379128250402525e234,-1.443805051880768e234,-1.1238328250249287e234,1.8974790467626243e234,-2.9845543471473165e234,1.913102857297951e234,-9.43007330715789e233,4.1019586419781275e234,2.2685284715175784e234,4.082578096578064e234,-3.726502335366854e234,6.156103220279987e233,7.6617992667716e234,7.730172654175434e234,-4.357695358729103e233,6.451019967318458e234,-1.1143802738030913e235,-1.627511799712368e235,1.0700489441420421e235,-6.8577876323050515e233,-3.1565327925962553e235,4.052251954340346e234,-1.7150251174768074e235,2.755529277357322e235,-5.548944937486886e235,-4.5708964089578334e235,6.546028718826184e235,5.829477922662487e235,7.052225062249808e234,9.012259518803127e235,1.2482870769341348e236,4.084908920702036e235,-6.771166729013128e234,1.1999208292298784e236,-1.1164794051299412e236,1.950179672981904e236,-3.418712066344381e235,2.510017529361528e236,-2.5686910135134108e236,2.7865255162537495e236,-4.351046168246982e236,-2.3061762025727093e236,1.9881673406588838e236,-2.0003038374519543e236,6.536360277835444e236,2.4964799497877728e236,7.117131071935246e236,1.2367313338717509e237,-2.4646793217957835e236,5.424253298639201e236,5.889484167405275e236,-1.6509340966430594e237,-1.9555334486062476e236,1.1368565299646443e236,-2.9911445469501376e237,-3.6909106969954325e237,1.0811325991405814e237,-3.580091522802615e237,1.1947757849903567e236,-1.523643226313157e237,4.571355973214299e237,-4.904501477052203e237,3.519780336137115e237,1.226107662486682e238,1.0811063485520819e238,3.174780365858186e237,1.9058078935703114e238,1.7271126568898506e238,-1.2907146793150419e238,-1.2308595537070616e238,-2.881484667052626e238,1.8382141441557396e238,-4.150142431694181e238,-5.386171349300163e238,-6.271370634340585e238,7.448320863164423e238,-4.748959550569465e238,-7.004109520616542e238,6.95758000598932e238,-1.4501890058643384e238,9.367521593523441e238,-3.0408041067965153e237,-1.093754315453909e239,-2.2033175681840403e239,-2.243047432312177e238,7.980746558541595e238,5.363625526071523e238,-2.821180579705701e239,2.361421522692399e239,-1.0458867705516199e238,3.5292057931849655e239,1.4450941435828641e239,-1.0451754518334348e239,-8.340455201950316e239,8.762264957286738e239,9.316842813771575e239,-7.159248070317355e238,-8.224213487211738e239,8.917669199360403e239,-1.718450115886199e239,-2.2982732213292463e240,1.1707593442244818e240,9.91810298372701e239,3.888376059133689e240,3.413260497369521e240,2.252440212279462e240,5.7556698581289296e240,-3.9742773288021796e240,5.2037882901623715e240,-6.140078683272824e239,-9.076235496899506e240,8.96157382630086e240,1.459224142787268e241,8.267529167398495e240,-1.582909577439636e239,6.251831582506604e240,-6.983006366052447e240,2.693889606262703e241,-2.1655536809349605e241,2.2517600865315392e241,-2.5442008931540265e241,-5.0904460730538373e241,2.781483042873759e241,4.1367652844957054e241,-6.668847165656895e241,-1.060264631971999e241,-6.564240544796693e241,5.625465856649165e241,-1.1581130311119326e242,7.718231037512668e241,1.3401246876193131e242,1.733880036831755e241,-1.726287487736926e242,2.0733463832479652e242,1.6595370709486077e242,3.631625483392618e242,1.7993897214781539e242,-2.3084380032480194e240,-2.0451263801640327e242,-6.584347098608256e242,-6.365851187587067e242,-6.03545149534466e242,-6.631451360628395e242,5.6524591941238565e242,-7.215468105397628e242,1.5258052314084342e243,-1.019181585267344e242,-1.787123325520795e243,-1.5994837675856465e243,1.5671338449436464e243,1.7739962853055032e243,2.235518362238772e243,-3.008777968144982e243,-4.716358136884502e243,1.9512856754193323e243,-6.497082164920054e243,-5.377244459680049e243,3.5687955775984627e242,5.270051252469021e243,-3.791016383687403e243,8.687295604529655e243,-3.184477800637147e243,8.394877076282998e243,-1.8305208638600158e244,5.474747208661365e243,2.3838835925250872e243,1.5462736395603593e244,-9.014934425377465e243,-3.336759931921493e244,-3.876872847097271e244,-1.2871908680774584e244,2.8378805491383016e244,-6.140561699365771e243,-4.7565864627874145e244,8.910951414025606e244,-7.430679820787797e243,-3.3952657005645825e243,1.0473248080595334e245,-1.212656468762698e245,-1.5299553805164599e245,2.566615854244196e244,1.1492149468805977e245,2.933990239649999e245,-3.0230665302508515e245,-1.4975839729376083e245,4.352761828918352e245,1.6728285975895498e245,5.492111100661495e245,3.34709095918566e245,2.3771103709616013e245,-4.0816412914014673e245,-2.6647248979000407e245,7.976305627256914e245,6.411570847747023e245,1.2485528279887866e246,9.959327780133916e245,1.5139124279626563e246,2.4383274351067113e246,-1.0087350524804168e246,-1.8774066069689774e246,3.719002317384426e246,1.2033306170110573e246,-5.065814050777718e246,3.879609035109992e246,-3.4938261185326637e246,5.605127787548592e246,6.052998299026611e246,9.308878561772983e246,6.01262388747074e246,-6.120325788058425e246,2.421608256678391e246,1.2509497494951049e247,1.0865201558541948e246,-3.3579804224079567e246,2.613100778939277e247,-1.8574299835435856e246,2.903654026831467e247,-5.1166275977249465e246,-4.643516707416786e247,-3.8111517882199144e247,-5.16807045149037e247,-7.469959530713802e247,2.092735736704132e247,-9.742786907052653e247,-1.0109749604832168e248,2.2383696142235517e247,1.171254284710944e248,1.0193851053561396e248,-1.9525101426846165e248,2.1154615225167238e248,-2.1040895942077796e248,-1.0699175291018516e248,-2.9819363806027113e248,-2.758420838172704e248,-2.588893032261152e248,5.678988753111727e247,-2.3619866966747833e248,2.31305806028462e248,2.0463300307047287e248,8.746990343564618e247,2.8392089621458357e248,3.617342926188937e248,4.723423070265679e248,4.983467994331265e248,1.1319288675698637e248,-7.093986135530527e248,2.6116688722296047e249,-1.8582319708646503e249,-1.8968805334270553e249,-1.1893859568531537e249,-2.066221738563786e249,2.3708038750660893e249,2.368516289410135e249,-1.7438232201538774e249,-2.5998138086146868e249,8.353114249231864e249,2.444426970289818e249,9.52858811399125e249,1.9791793836292106e249,9.94862623682245e248,1.0396572330507089e250,-1.9823102034933394e250,1.0767263498849639e250,6.483937042794973e249,-2.964770491952211e250,-1.0893410770939324e250,-4.243884304807676e250,3.7189538559753396e250,-2.604159514001455e250,-3.12970188257947e250,1.2369908555074831e250,6.064420586786027e250,8.143959684831668e250,8.104756258045444e250,-3.140832535746364e250,-1.5008519461426998e251,1.455705633654086e251,1.0602886855769567e251,-1.9199399608164195e251,-9.685771980190915e250,-1.8312046217033738e251,-3.5759865197721124e251,5.5609206063340524e250,-3.3402442669135557e251,1.9313139137041205e251,-3.331248657784539e250,-4.452653683967331e251,4.160057449217124e251,8.357213208385349e251,-3.306221957885417e251,2.2747939694619853e251,-1.8016727074511964e251,5.155780697827414e251,1.939062441746483e252,1.0398660056061173e252,1.2015555427900697e252,-1.3078697148018843e252,-3.8707679253486317e251,2.0138547913378214e251,2.1024486280480654e252,8.357125539003812e251,-3.9223466173538516e252,-5.400973158832555e252,6.1599729803900655e252,-3.906933739147988e252,9.274499462290974e252,-1.045726344561561e253,4.433488641846871e252,-3.257930034240153e252,9.97239846640554e252,-1.930703518356666e253,2.4265272939516204e253,-1.898802875967607e253,-6.985996703798813e252,4.138807948496406e251,-3.712364997316101e253,-1.401127390351764e253,4.169191717019437e253,-2.937518980944012e252,6.419455135797923e251,1.7439605849191125e253,3.5731960166811896e253,-2.3399379408214533e253,4.745758133867968e252,-9.82879188958586e253,-9.636267742410744e253,1.7928452978878468e254,1.585475105187536e253,-7.939277199790653e253,1.556339863876063e254,-1.7854560913033626e253,-4.176818042960125e254,-4.529528824008952e254,5.589321279925575e254,9.296959028124589e252,5.12426337440807e254,9.269348060355864e253,9.502326114546367e254,-1.0254624243655456e255,3.845051471840984e254,-6.523710332759781e254,6.539195173574503e254,-1.540724716153286e255,1.814482789483687e255,9.051208184252547e253,1.0681641542395058e254,1.7737838136616194e255,-1.789966006018435e255,-2.7858143398213722e255,1.6182463876409038e255,-3.946559584314545e255,-1.230055309898503e255,6.610013204933561e255,3.5265211769391126e254,-3.0449786575161232e255,-5.8393999842394545e255,1.3329153501580116e256,1.4137570952677857e256,-6.609988069302809e255,-1.7382336694972333e256,-1.722102404633966e256,2.8469044060996706e256,-3.181604592278723e256,-3.049136331589586e256,-3.9706023424829573e256,-5.118447698198453e256,1.2848774684262198e256,-5.596383076653618e256,6.58424374703426e256,7.731955424245539e256,1.0544051370084499e256,-6.935751929563864e256,-9.504830636123379e256,1.6904659230335826e257,-7.217293939119535e256,-1.269573299337312e257,-4.757711469947762e256,-1.4278972817141647e256,1.801035610936509e257,1.0642274353825975e257,-4.0339689578419697e257,-2.400396648451064e257,-5.210044769549577e257,-4.8758761052775885e255,-2.209026105037081e257,-1.7324283851226662e257,-8.7030006414195e256,-4.930817118213661e257,7.151635666513927e257,3.982693381300792e257,1.8024392022568462e258,-8.993688394447226e257,2.036616755124061e258,-2.269563061836162e258,4.5465611623187453e256,1.1849796431898716e258,7.330768132101047e256,-1.0082868016592445e258,-4.823539515426001e258,6.68518951424911e258,-4.739102496807339e258,5.061740525621e258,-2.0134848876676565e258,-9.488149438954827e258,-1.4339559282833414e259,-9.188258992544716e258,1.4873089614081716e259,8.6809591103769e258,-6.7614622356088925e258,-7.154789275896752e258,6.430235381937258e258,1.989157453011368e258,-3.192434100046088e259,-3.981990639386185e259,2.0053249720135966e259,4.340426706308035e259,2.407480881619376e259,4.911178686064977e259,1.4849425625411372e259,-1.0532485627858963e260,8.684650888497666e259,-9.384272786093035e259,-1.037904178960708e260,-1.40186777616479e260,-1.3552466239274933e260,-5.653548247700825e259,-1.4607023100838617e260,2.554559607030938e260,-3.842754564584648e260,3.851933495825864e260,2.5790447928508823e260,-8.722324388827135e259,-1.5687777949640311e260,7.934768039644038e260,1.6250913586124957e260,6.933910292891964e260,-1.1708494403988593e261,-3.7389535219494447e260,-1.3561306530212242e261,-9.145425361746121e260,2.232882009334278e261,-1.529188760656699e261,-2.1195638325527846e261,-2.6508033812989098e261,1.1764838826818294e261,3.1273260711366125e261,-1.798218389338027e261,3.3331350314638834e261,-4.351506808493466e261,7.6580777727951525e261,-4.93316418500549e260,-8.547902897335382e261,5.414427181333339e261,-7.40374253235909e260,6.349881194545221e261,-8.204279972854527e260,1.3396517489644812e262,-3.1607114605436254e261,-2.960725642532934e262,4.5164094286517467e260,1.6788345225141505e262,1.7195853465958547e262,4.036508597237988e261,-3.640373766770554e262,3.046719291659438e261,-2.726435914523422e260,7.108247212312397e262,9.367768934865141e262,-2.162842766641308e262,-9.082885062164421e262,5.809303963146643e261,-1.5231401333772078e263,4.345297682369139e262,-1.487042455549595e263,1.2285710933287852e263,-2.1825070190147074e263,-1.2131870915578735e263,9.176405180853886e262,5.151514543059867e263,1.4610095440703148e263,-3.1829131363703853e263,-3.603541684812977e263,-1.1230595328141298e263,-5.827560844490734e263,-9.022124266844901e263,6.920507781684176e263,5.067590413119499e263,-1.0630322956230846e264,1.7423842583344877e264,-1.6703811216659683e263,6.197239693359505e263,-2.0741616582485574e264,3.5105499275094107e264,5.849527829169945e263,-3.0096251317924365e264,-6.643165607673478e263,-6.629204218757696e264,1.4968879860690997e264,-8.605917884362356e264,2.3251149517148043e264,9.886458792541379e264,5.584685506883069e264,-1.4206750940955589e265,1.4296320718366995e265,-2.053620814019289e265,-9.634432923137212e264,-2.0977556049845176e264,9.112406402472125e264,3.565336421803876e265,4.118416302687326e265,2.7387998562412527e265,4.2047860043720416e265,-5.881399944089414e265,5.695012378579509e265,1.6877903802794976e265,7.934618266110754e265,1.0508487907583919e266,6.897537239495198e265,-3.599859431010805e265,1.0348387111747402e266,1.474815754424344e266,5.614422607905126e265,4.660156389313977e265,1.8267886278912312e266,2.823858994640254e266,1.8538992845855643e266,1.1415167200240892e266,-2.1040121968938375e265,2.693891172594778e266,-5.325025518591794e266,-1.758974210441521e266,8.411323399094196e266,1.4482016372752505e266,-3.747636443019412e266,1.3756168749150678e267,-1.0953405375795378e267,1.7602828397309333e267,1.8767626430091792e267,-1.318729709069774e267,8.194523369472263e266,3.0826421751751406e267,3.3012331355170878e267,7.859514260592171e266,1.1346574450455543e266,4.2061728425738015e267,4.797150991200414e266,-1.7025189863544012e267,-5.3726036601312e267,5.71413675880372e267,9.272738428164614e267,4.322874499876299e266,3.530344261449806e267,1.3626869501879718e268,-5.96915511574822e267,3.0567473571548738e267,-2.6731906207499943e268,2.0969650339421304e268,1.9408031045714925e268,-1.9444061615675033e266,2.3564072245987407e268,1.7285896932374975e268,1.5558184741919062e268,-4.3641092443885056e268,1.913783994470079e268,1.1061458814995974e268,4.715380018953284e268,1.3416026443196836e269,6.813714293736937e268,-1.0777556762863544e269,-1.91609802697851e269,-1.7216943264498686e269,-2.135242070054426e269,9.63172862003594e268,6.846694662386706e268,-6.354392495768503e268,4.023525567134594e269,5.332803826484266e269,4.9361879740539376e269,5.218531461905726e269,7.244775123937316e269,-2.433790130845178e269,9.456617331900928e269,-1.1579638564748948e270,1.2038524006755563e270,-3.89837954569083e269,-3.0224612094737307e269,1.4131144912756857e270,6.970186205096089e269,-2.2593392744515224e270,1.7466377651367374e270,-2.1640315956210345e270,-2.8562019008176096e270,-2.328364005460939e270,-3.18486848060943e270,5.794520105810448e270,-5.900427840702706e270,6.57108988987902e270,-6.581575359818167e270,-9.920518304776372e270,-6.899308115580285e270,1.123028240079297e271,-1.3594896683723473e271,-1.4786204859720139e271,3.498801036031027e269,-1.3595130515235483e271,1.653146948684345e271,2.688276610920317e271,3.872544356544671e271,3.2869836237348576e271,2.2958341792347263e271,-4.716386002131305e271,-3.8520065511190194e271,-3.96706370766144e271,-4.150498041709014e271,6.202873253360665e269,1.1905295944605068e272,-1.1924897747591218e272,2.777936358564926e271,1.529066849826152e272,-1.7920911251877007e272,1.30351647773238e271,2.3626256916635284e272,6.0975359814409676e271,3.0760498399645096e270,1.144717079774276e272,1.92506636308014e272,6.535084470500345e272,-1.727321348433654e272,-8.10236872547982e272,-8.011734342098595e272,-2.9749117327609335e272,-3.998501491094915e272,-6.869080180432272e272,2.5858126933153847e272,-1.21372537547433e273,2.227124402316334e273,2.38974209402314e273,2.1691319157156056e273,-2.1747542473869325e273,2.2896136567302035e273,-9.103443129430806e272,-2.302793404359698e273,-1.739228455672951e273,-3.455310183887981e273,3.890547327500177e273,4.796352583073182e273,7.691701832608502e273,2.2298507942886707e273,9.46075528865986e273,1.1646398063872137e274,1.1518211053269988e272,-1.5567338504911206e274,-2.6500320303551726e274,3.056528159869745e274,-7.314083695239403e273,-3.9781449984689144e274,-3.909168704227516e274,-4.2135011324166925e274,5.5969188034046975e274,-3.8797097998692524e274,-8.325772093563523e273,-5.833530928840511e274,5.377441982427162e274,-4.49462870524334e274,-7.325694146370449e274,3.7806822560467e274,1.7450241959188108e275,-4.3152754114502435e273,-2.1406186480627838e275,-1.7856891356801994e275,3.389079379507361e275,3.057420651382793e275,-2.449353696632806e275,2.012936033524312e275,5.819506932344527e275,-6.285362994210871e275,1.6987491970131802e275,-6.433986753151061e275,5.001011802793623e275,-3.9902554388134455e275,8.984705671205337e275,-1.0705952148633509e276,1.4033623142051485e276,1.0399113146403742e276,-1.037122037525507e276,-2.792453976334987e276,-2.9223826359555675e276,3.214962795870846e276,3.701042638911033e276,-4.4213852285535216e276,1.1610826225023956e276,-3.760773599080732e275,1.785531124338962e276,3.5402301846322764e276,6.593276181952158e276,-9.73015620330978e276,-5.993953643461236e276,8.459999744298513e276,-1.6457029232027248e277,1.8696928818433185e277,2.535032468827595e276,-1.4762054833098271e277,1.7863385329358296e277,1.9587269840902282e277,-3.4332566766427464e277,2.1182020922810113e277,-3.95350210337375e277,-4.300731168378889e277,-7.472105950896249e277,-7.614015704027304e277,-7.030894245527143e277,6.09406197802543e277,3.647718818815484e277,-8.559053249761446e277,1.2099926855298574e278,-3.1794897541795917e276,1.6961614306483194e278,3.339711638331685e277,1.4352024353971566e278,-3.0625358858048193e277,1.6276100155121492e278,4.5175543060669655e278,-2.922105585360681e278,-2.9607864124435076e278,-3.512781525433232e278,7.078167342210009e278,-5.905509302966753e278,7.763087094216285e278,-8.250036795056505e278,-9.931604075188756e278,-1.3221583474953116e279,-1.9410505515147633e279,-2.144541275373069e279,-1.874270731444828e278,2.5603889982623063e279,-3.0690275726376647e279,-9.642588032426068e278,2.070874745803018e279,-4.5353076232256237e279,9.736941025188188e278,4.054282745887171e279,-1.8321797544085414e279,-5.445323106873965e279,-9.016990084879439e279,-1.0709178923672886e280,1.0226430478210802e280,-6.389809277683333e279,-1.3073995255152735e280,6.928342788627604e279,-1.4659752008147096e280,-1.276930566246946e280,1.1006588005499962e279,7.060891218195698e279,-2.781881225222339e280,-3.64172939399499e280,5.877936646434561e280,3.1892939490797386e280,8.358727969222567e279,5.37222355114412e280,1.0175393728882994e281,-1.448188544885867e280,-1.223765021874486e280,-1.307849792280757e281,-1.681621466847752e281,-1.952744206956852e281,-2.0179526623931578e281,-1.6452726361093437e280,2.7215061174305162e281,1.9038731696012947e281,-3.36006460532253e281,-8.193459730645571e280,4.112597764481278e281,2.4416289151480196e281,-6.449484813714746e281,5.500656301125446e281,9.037229980740147e281,3.219073081113811e280,-5.4424025207845095e281,4.178941024207341e281,-1.4083939434799387e282,-6.613097092472129e281,-1.3945020119664197e282,-2.34400928793714e282,9.919249850248636e281,1.0323180352910688e282,3.3491344208390453e282,1.8316683068409862e282,-3.419095322723118e281,-6.288152973118867e282,-6.121701511685665e282,8.587449984593687e282,-2.4606618376741023e282,3.619674585263389e282,-7.607925825968391e282,1.6119926534983157e282,-1.1427493668167595e283,1.3043648609405982e283,1.0923449455835835e283,1.9745544588489194e283,-2.686162007289156e283,3.3035921955211756e283,5.0550290166967776e281,-4.283154058970893e283,-8.085727651037199e282,2.0427864027325026e283,6.439290173080331e283,-5.123490941475743e283,5.942595812281367e283,-4.085515243175687e283,-8.303735016341571e283,-4.372655478724875e283,-6.186822722484858e283,-3.114436406320211e282,-1.1111626618100418e284,-2.118636756235969e284,-3.899726178995511e283,-4.43108910767715e283,-3.098891154746426e284,2.4211513779949334e284,-3.7056045205091064e284,5.7597834677607146e284,9.51799210117795e283,3.0904291906889714e284,6.339506573233395e284,-6.649761914735397e284,9.394188851360827e284,1.3731674064667204e285,-9.29182358819931e284,-1.2097510609577267e285,-1.2636007940610178e284,6.642531752566085e283,2.1217537044481256e285,-1.0676312037288479e284,2.2723092830815295e285,-2.8956371050657014e285,-3.5797763828116825e285,-4.225796223895121e285,-3.185063930163383e285,3.3121916628400054e285,-8.807657874136057e285,-3.800672491943897e284,-4.841110600062767e285,1.0291749983293597e286,1.4854328775097406e286,-5.5503597066163404e284,-1.698279812990863e286,-2.097437179948978e286,2.7707810926611384e286,-1.3280092739424982e286,-3.5494243193359306e286,-3.029803872731947e286,3.344461765397667e286,-5.144753839067041e286,2.9196088432804215e286,4.843920794712301e286,8.281831731025028e286,-5.209815452835128e286,-3.0265824767133577e285,9.183265977060541e286,8.468340358473006e286,1.7637602575858156e287,4.519825880101892e286,1.3321697617958802e287,9.95037078768273e286,-1.812918615004368e287,-2.6802893141899276e287,1.199874020524694e287,4.4545023331447224e287,2.8769878863809394e287,-5.001465144365674e287,5.9329064945550766e287,4.520540578057832e287,3.595613411781554e287,-1.060019581889625e288,-4.763781651827467e287,-4.410058544936169e286,-1.1560811798488966e287,1.4291923858450535e288,-8.75230850291628e287,3.420454974742404e287,1.2665041868033124e288,-2.0975400745558777e288,3.8437393002325106e288,-4.000784142219597e288,-5.28593754888769e288,1.1126665916609841e288,-1.5570512802999624e288,2.9066647751987596e288,1.7814875112810832e288,9.697543478663208e286,9.511148367993892e288,2.2876640831551066e288,-1.144014325157343e289,-9.077235756476232e288,1.3930229023620558e289,-1.5118665038200644e289,-1.7048619598098533e289,-1.2210094322311007e289,3.3634868437031743e288,-2.896526088840176e289,-3.8069468259444924e288,1.689496032130661e289,4.374995036809441e289,-7.0055516484140175e289,6.498761699725709e289,-2.075031889937921e289,-1.3436952827590648e289,-9.595394152166723e289,7.421575640637688e289,2.166923140075874e289,1.1066268713052021e290,2.159011390312799e290,1.4631263072102127e290,-2.4512886461549366e287,3.3357028949357676e289,6.006872386574524e289,-4.902869128651503e290,4.609802417068198e290,-1.4044824137758636e290,3.50800377046473e290,1.427680162735118e290,4.974790431089154e290,-9.541312996523199e290,3.88124051254904e290,-7.62581619732938e290,-7.348523320557792e290,-1.2450777051080424e291,-8.536736880836781e290,-2.3354502050134823e291,-8.057498295900932e290,1.324355885273953e290,-1.585339282331696e291,3.206049142628385e291,3.564722621559503e291,2.1908801906212729e291,-2.708118028368905e291,-1.9801834112648898e290,-7.585872180504787e291,-8.062485869563587e291,3.075853133596588e291,4.014943335150131e291,-1.6984215314300197e291,1.0897097702616632e291,9.07832788927391e291,-2.634980336505821e292,1.2560107854881387e292,1.460632972917899e291,-1.1435501135029604e292,-3.534877585220182e292,3.5835696823905327e292,2.687949179842485e290,-2.5673163842370037e292,-2.9252491144657503e292,5.340640813965769e291,6.3164732229720345e292,-6.717476396215373e292,2.4181274097966346e292,1.5478228637277462e293,3.6170104176898074e292,2.376062283373899e292,2.1463474675863382e293,2.729334551499553e293,-1.3826982449465335e293,-1.7145534455265456e293,4.088057961428972e293,4.467004262754591e293,3.851001579681001e293,-4.605214086367127e293,3.774405669325234e293,1.678156957686582e293,6.684755383388774e293,-1.0748399853841466e294,1.0445530826212124e294,6.639048188407774e292,9.149947147890008e293,-1.4653281326431617e294,-1.876642950435086e294,-4.4570551178277846e293,-3.258323597914147e294,-9.93057695213561e293,-1.7812855165390393e294,7.045669966877516e293,3.082941649476469e294,-1.2560757101792672e294,-2.3973796312744728e294,-4.656333133164859e294,7.506451377391445e294,-2.624655950948174e294,3.516310389521877e294,-5.740480347696959e294,-1.2256285547529565e294,8.049064919394355e294,-1.4158434005799556e295,1.5999384098045958e295,2.850046898526678e295,2.301310495187747e295,1.813722249353315e295,4.4069326875777515e295,2.475258450765767e295,1.9951411285774236e295,2.71041570412223e295,3.2688709711442187e295,-4.149229882055329e295,-5.507303808819686e295,4.25013614317525e295,5.459656035247276e295,-9.099692116296825e295,1.482132355096548e296,1.0749651625287102e296,1.7750698786581792e296,-1.7000182998935896e296,-5.453148152476007e295,3.623399250301369e296,2.3517416209451668e296,-1.1145057357958528e296,1.7711054946649693e296,-9.094622063468637e294,5.619328164772309e296,-7.084845816948905e296,1.8353509881590946e296,-7.474891020993448e296,-1.1320002036168141e297,-7.697543659738261e296,-1.145301897434576e297,1.4319100248641103e297,1.5854767809557547e297,-2.344121193608227e294,-3.02874808288955e297,1.3872514267194603e297,-5.528321226224885e296,-5.350575397794504e295,-9.971541152832153e296,7.750508126660115e296,-1.0412915749442522e297,3.0367565670759334e297,-8.846567329976731e297,4.797179156242302e297,7.747567871376366e296,8.256229762164853e297,-3.9764920313102927e297,-3.194702664686787e297,-2.5449716347332705e297,-2.3482633060644025e298,-1.9915275189620947e298,-1.4133645149426119e298,2.184130308654793e298,7.131998147791419e297,1.4074927534534403e298,4.614655740062032e298,-3.43724941157667e298,-7.106396476240421e298,7.256948780224531e298,1.790613061975138e298,-1.0639083908809016e299,-6.91032357913889e298,8.080190373829148e298,1.2438663920189998e299,2.2962595394668403e299,-2.0006928415284634e299,-1.5179303303134477e299,2.2260163014024306e299,8.999510974749957e298,3.145451499807316e299,3.921965951370684e299,-5.4629891258853076e299,-1.2270576816062365e298,-5.2385071669040735e299,3.1102856179264152e299,9.120870323253945e299,-1.2248536406585432e300,7.286140424871689e299,-1.0853462809028205e300,1.9549115369733402e300,1.8201909665217018e300,1.6959515650068464e299,1.4164484889940385e300,1.080894051188338e300,-3.5095765418198125e300,-3.019726716191098e300,-5.425078872451471e300,1.5583941287872844e300,4.9415776868739533e300,4.646540559976625e300,8.848238004405846e299,-1.7256094649586934e300,-4.099057879548884e300,-1.163095657536704e301,-1.6644738151346363e301,1.1858735174958861e301,8.307150968785738e300,-1.8617396428298607e301,2.234457112689423e301,9.058617008314078e300,2.2848491112538136e301,-6.83232766230885e300,3.752817374090768e301,5.247413146497488e301,-1.7728140518796942e301,8.155651375582986e300,-6.961763180159912e301,5.481447574060207e301,-5.346570036897364e301,1.1954065150223391e302,-8.59080897889152e301,1.6069187509715383e302,7.892966740895731e301,-1.5637105575327214e302,-8.200812009446239e301,3.0363403953068796e302,-3.4356900112187295e302,-2.3616252730798866e302,-1.9676702770096506e302,-4.2958930330731774e302,6.262188428335953e302,-1.0154919338052641e301,7.81036613340143e302,-3.2187856717828022e302,-5.7593182422466024e302,-1.1112950137805625e303,-1.2664507093317425e303,-1.4970580872084696e303,-8.742690249316593e302,-1.550757548612762e303,7.546583689068563e302,-1.6384632251776825e303,5.59991410387759e302,-2.4324853654448953e303,8.605842312658149e302,-1.9264415927954045e303,1.1974647324317199e303,-4.6411507252180405e303,1.3161264620597788e303,-5.995150874677658e303,-7.6615246887069e302,-8.430079912911765e303,1.0817876126257964e304,-2.4713864944289092e303,1.289066588247787e302,2.130148676614837e304,-1.2536702603615427e304,-1.0863287886578059e304,-4.2747660976393287e303,2.2022003369614244e303,1.0904869091348466e304,2.246751601033399e304,2.571509093890932e304,-6.426122612130403e304,4.173577144423321e304,6.946954999019936e304,6.493654890341454e304,-6.87369127419857e304,-6.215442729004629e304,-6.392054379472714e304,1.8873494664118634e305,1.70436971940643e305,2.124196066596639e305,-3.7935794142298514e304,-5.799987866773671e304,3.910932884927207e305,1.528844613886744e305,-6.466597426713753e303,6.580102775425682e304,-5.284120636890687e305,7.306857914615948e305,-5.358897335969811e305,-4.453194731858307e305,3.845178247975596e305,-2.7478012671940017e305,-3.7391396551506014e305,-1.2314241853517928e306,-1.4799514841975892e306,-2.1480184064961317e306,-5.5900232020323015e305,2.006408502595795e305,-1.1119495185989439e305,-1.8072696549696407e306,-2.2036621954355117e306,-1.6182671907806012e306,-3.873690713188376e306,7.588941363721279e306,1.8479456144032752e306,4.1875807509093857e306,6.337327128725486e306,-1.0876909337750737e307,-1.5590302230750874e307,1.2942730060347184e306,-8.824878718182417e306,7.580897561162124e306,1.8643738153929198e307,7.791606464377063e306,-1.0691084240713453e307,-1.9467034305679964e307,-1.656757436903511e307],"y":[0.42744070101843445,-0.4785522467779699,0.3363799665999172,0.08617974108861182,-0.13990916709340273,0.35027817879305534,-0.451453911728495,-0.3271256062888195,0.3383743584650214,0.2043795043415828,-0.0905136514607996,-0.0029798516747843173,-0.09813715676722579,-0.33630794954540133,-0.4518147615129058,-0.21282313864409685,0.01300292251118984,0.22043194886473527,-0.3977951126340644,-0.2078970932967661,-0.12639441229226134,0.3572469943025176,-0.09017484918912366,-0.06063227096783974,-0.16971436565269737,-0.20181597862542122,-0.19903854025789225,-0.3013332194859517,-0.38624018270916705,0.16710186155669482,0.4253743964314034,-0.05109809134952292,0.34922100195838834,-0.0642510118173425,0.28881252089689524,0.2678342073732387,-0.23100636333654068,-0.4383166754958032,0.4478326257699816,-0.3431505575454523,-0.07210359722979076,0.03740197498223874,0.3150160575817744,0.2832494124198519,-0.3651094360008129,0.24364238284787842,0.013807029039908825,0.3133908688862932,0.2076852149018802,0.43592795400427686,-0.055640933907730616,-0.2628240633443144,-0.4453946260975197,0.30465047098668396,-0.27576529742311284,0.4311935643134539,0.0022529265695052647,0.08666163013638872,0.009103237268175857,0.4624648369427713,0.11817173591433638,-0.09827070079274591,0.46435929890405925,0.09650357947892685,0.31493707438349516,0.15921961706700305,-0.31754942109150996,0.02358877128594128,0.28349576721061176,0.2760677460132195,0.17897056882532447,0.35789087776939765,-0.11210245755039794,0.3791416996491159,-0.3020957899695005,0.2961747253627329,0.08820770536165079,0.23233923886567465,0.010718536172003024,0.32264451547663375,-0.06190555475551718,0.0482645247615876,-0.4021243486347681,0.003740583550717602,0.40578296244651657,-0.3071542249056616,0.22847840061957658,0.23529164032568306,0.3143824956223089,-0.20947014801092712,0.25204095724227416,-0.06566345183777234,0.3957147664927063,0.14888092118545293,0.10663348255497596,0.2440112215772896,0.26157386049575426,-0.34075160383368086,0.44204965128392915,0.20198284465898086,-0.41990984293616007,0.06511321778168333,-0.33527157333251556,0.49102202997060695,0.4633323057483678,-0.4098193979632201,0.3779223693342866,-0.25025116640327627,-0.23284068506318034,-0.44386953049607425,0.08614719614476662,-0.06335693386309704,-0.0011104582366172622,0.05426396199569972,-0.01993608042132644,0.35366519692530574,-0.4120291167993102,0.20475548921236708,0.11190741365547363,0.014170090997064788,0.41191975013109383,0.011435175017482369,-0.2701841493580075,0.4357719542414824,0.22212585041806165,0.27291954170303456,0.07267374683671113,0.055832679645401395,-0.41867339889108224,0.1996541205787734,-0.27737731729694337,-0.11520994620171665,-0.33972571388265127,0.026951797589894744,0.3294496301253176,0.34659913628168226,-0.10458882969116678,0.29615259470647803,-0.40437847310864594,0.2283396853205446,0.42494269448728694,0.34170190345037765,-0.4948184416462271,0.048585970031227665,-0.30612178866821216,-0.25642012872923714,-0.14507019179505054,0.11564208454469393,0.20117593775433895,-0.2564373027023441,0.4641962291874344,0.17506208715232408,0.232425741670643,0.1902060733055837,-0.1274420394236464,-0.10006735623244079,0.29629666121942755,0.05714724318203612,0.3653798751844024,0.032599630864758256,0.36504248689208363,0.4198004853121444,0.16288797964447665,-0.28207910677273484,-0.3542160248036892,-0.3455237149298751,0.35432878959158387,0.0015663113478541213,-0.4917439978549496,-0.0800852476877092,-0.2659100242533534,0.3529836123744121,-0.22511599526449477,0.4412204071616621,-0.4225069756526878,-0.29475743131264487,-0.00836836735122426,-0.1906679710326138,0.048984984047536706,0.06525129496564275,0.2811219027584415,0.1745895464171905,-0.008320429687101782,-0.32182721348839904,-0.2500704204655122,0.449032470551185,0.07833829509059176,-0.11599972087212085,0.4315243981918615,-0.39705034649251547,-0.10675202261976979,0.14151111759799329,-0.34895229668811933,0.1728584794281578,0.45453454532216586,-0.4088372107315008,-0.23933974756030296,0.1585777432266755,-0.1991550479964872,-0.2812862106699574,-0.3550371879028129,-0.4558724533596805,-0.3735981304004834,0.3981953591990086,0.3418162981269042,-0.22873420699980085,-0.2954585784858721,-0.1581488334343779,0.032317016147522803,0.019625382215677334,0.07455728457843147,0.23809044623601894,-0.03445875644259089,0.07974467189246148,0.28868358495003,-0.15175175256044304,0.13786987131614747,-0.09594795429415459,0.22267059291884084,-0.4114147321868691,0.4682440545061497,0.18515575350884506,0.3909218249710009,-0.05455727786252873,-0.45695221920809415,-0.3164407582688238,0.24937960463773723,-0.2913893568594619,-0.05817205694156269,-0.3483043266242334,0.4302734947951796,-0.47214231423043485,-0.16966621378341618,-0.24337204228040998,0.47624191490730516,0.22308321994673141,-0.4157297902872008,0.07711142146471284,0.015795795635983323,-0.3552017580455713,0.04241067509619856,0.3256539454434013,-0.32751744934764093,0.27129235922429396,-0.47768126251198906,0.48817938947511297,-0.40175480596489854,-0.3285210111851289,0.3251558778970127,-0.49033976724561756,0.49161879366389494,-0.04755833187927716,0.38331717143349153,0.2905062149239823,-0.41301861390495187,0.399315240945187,0.2200873256586311,0.06374280814434408,-0.3222727718864715,0.406901652077021,0.30731073765375916,0.3056617508763315,0.06598517726387287,0.11256835442258484,-0.1705450227900429,-0.4842443432921595,-0.0035196104755319535,-0.10605922496544218,0.07306454997384515,0.046561529756312225,-0.2852406955806419,-0.2716114587351426,0.2602887047168081,0.07430528796097002,0.479225428423375,-0.4176001089578105,0.097225185951346,-0.008778578528129133,-0.24770763711176236,0.4974865629498171,0.2462326103431005,-0.0749922935203382,-0.4465906645364379,0.43433130574038725,-0.42076021296391186,-0.2263147541588275,-0.4904224898507117,-0.3222896343756727,0.39392406935322866,0.09322819723871101,0.20923068143414758,0.02676619482581688,0.27993168451943373,0.001162727653661877,-0.43541206022066126,-0.11530549707910742,0.02681978280709174,-0.17363180482833096,-0.2539035155613618,0.12365418612310664,-0.3152312384179572,-0.297051270423234,-0.0326618848777005,-0.29682794436311744,0.4208261686518653,-0.1258712244503304,0.34646292323599126,0.0960930847041721,-0.25298606925251743,0.09465287013901147,-0.3709127914103951,-0.014412793850973715,-0.35684850280880176,0.15097671861928919,-0.19078168335557089,-0.32145739233036874,-0.45837909840438984,-0.3234702711001849,-0.024116866027794392,-0.3347449666617157,-0.4096589003398239,0.2943278465763266,-0.09987217861873576,-0.33290821521086866,0.49484136186412586,-0.34842568032463994,0.13624804747972874,0.23811501096623267,-0.46402987841570775,-0.022875737849343825,-0.30653566062769366,-0.4488448250424657,0.4467889224318784,-0.07346952972744436,0.014053554504890098,0.1520349184283578,-0.42638913595068306,0.44432000759093215,-0.016369184983741514,-0.14115425041737084,-0.3296380526736342,-0.4430202051887564,0.4605729392038793,-0.11669349544605323,-0.11466973653023205,0.10694442306758245,-0.06529019708063344,-0.2868967956013633,0.3326225547670971,0.17905641080718926,-0.09733589511121155,0.10765445712546029,0.03921383527998179,-0.32112416007592093,0.005126768302094797,0.4848823732128249,-0.30485072522854795,-0.3734523002991641,-0.4305617899159564,-0.3881770572038328,0.20293236718782537,-0.3415671901540758,0.36836680827934654,0.4154389304548083,0.40390253570467816,0.31861197848455225,0.10636690970040275,-0.05345372250061775,0.406153968445536,0.17679296944328216,-0.1845405712520618,0.22980629146743414,0.3870648212409078,0.421271781038985,0.04842237394415161,-0.18560166487358476,0.04758578159366489,0.4776432092058813,-0.35187293803955466,0.3200580060948581,-0.4857757770782829,-0.01772802646702587,0.1386804400376236,0.15392049144806674,0.14824881601714268,-0.09141859421495813,-0.14919009711380204,-0.16063518649222686,-0.4666533791645655,0.46115992044458065,-0.4369934488114948,-0.19756811277791608,-0.4850135332453873,-0.307931925804809,-0.27583519451989535,0.23650142517948192,-0.1865676945963468,0.05323597806825098,0.2924095402577669,-0.1708802704282384,0.36548618821334844,-0.17608136409466324,0.08259017281132164,0.28576866052496985,-0.37342841139109395,-0.3580901039565656,-0.2034472349775731,0.12037298384356854,0.19822792163757907,0.14860061965423266,0.48856377103200566,0.05831667732259449,0.25525137417537214,0.08487367373203347,-0.09533544978486597,-0.09270973952595574,-0.03748560515947874,-0.49612646012664796,0.47402067589429664,-0.4171531146481722,0.021538595934616822,-0.4768793055990008,0.3280218651770288,0.3952487354481058,-0.357832429407676,-0.27997413039635344,-0.3591025456257888,0.18594003297854833,-0.36043597229493884,0.2752183182844532,-0.07008674204344145,0.14967034116871392,0.21316257910099456,0.2114301896760853,0.1336126358014924,0.2646059662628448,0.45440961094824606,0.4165518129768524,0.27512036610553237,0.18476386278929557,-0.13085118575760335,0.2053588764623786,0.3346681495261534,-0.16865004419337604,-0.3548130912887051,-0.3141392222873709,0.034708135361290804,-0.13836015447894945,-0.3267771916982649,-0.18905165822381842,0.44434528071294443,0.01991756453616511,-0.4642147713320355,0.3856037136116046,0.15431002901717994,-0.054231137242146676,-0.2500123263504539,-0.21724418992104333,-0.12046009511302258,0.004613868158004575,0.21383168861300828,-0.0678914341065342,-0.08088253618243302,-0.4359973117014053,-0.25811550691726537,-0.08885355915512427,0.052343555547114784,0.1922566283824083,-0.049878249303781264,-0.4859243421971371,0.1652668960222634,0.28921234113147065,0.4525502741755001,-0.2747720258680979,0.26652635487886656,0.17112564391298224,-0.19554475316703224,0.4877774945364346,-0.4809866131659908,-0.02789494014610372,0.04213370709002384,0.40409713269995917,-0.4798758975670665,-0.2984711282970558,0.44071334096852266,0.011022719204125231,0.33424897563496425,-0.003540713052634148,0.21026244649792325,0.3917851706369855,-0.11376399650265112,-0.4606591882206583,0.019258742569348453,-0.10118181197626952,0.4442465356260892,0.4266696016576832,0.48578908281127586,0.21743992277886082,0.3187096161812282,-0.48289729101424905,0.3080151826389932,-0.22210785172597824,0.14716977102586415,0.1695591747892633,-0.17759277715650712,0.3174929462336398,-0.3081647877360796,0.49233693924536515,-0.26356898991198063,-0.39566558818303244,0.17126354799199728,-0.19796254506887778,-0.2927841026765041,0.07558082212099015,0.35118078188952806,0.0025342380356963012,0.15599777022954808,0.13681773468381797,-0.06958115380022578,0.08225817164858262,-0.1975651850205815,-0.10826137346506637,0.038649590868981676,-0.024173902029490657,-0.14513888652067197,0.3017097353967946,0.0713137982451153,-0.17639331343869435,0.21438251931673147,0.44141560040652705,0.21493175676470444,0.14493687109565623,-0.08945578809676036,-0.3404771232673174,-0.023299565002405043,0.14273263292342642,0.37363128436273874,-0.46429306010681404,0.3779892890420544,0.13343793947618665,0.12761099090564088,-0.21971253089411502,0.07789289747368722,0.04306257604267705,0.13865747668857575,0.28582688177676996,-0.3949780657535855,-0.1373827804185319,-0.16928946867845962,0.12641991023230115,-0.2392588071494175,-0.19701537898378718,-0.2000392636140207,0.2937058404441566,-0.4619966870198202,-0.23637508905063198,-0.14842306458625742,-0.2936605396566936,-0.26388816275767035,0.407979363537222,-0.2072344567519202,0.34666276655255635,0.37773037468642756,-0.217601947816215,0.2230567982740015,-0.04311920493178989,-0.033628445183177647,0.3215967711886707,-0.1638971734661896,-0.38380504927931725,-0.17936598073322352,0.34083959901224503,0.4767369861016857,-0.25478366545584485,0.008716045402465511,0.20804075446124237,0.2812772172254916,0.3887911747328572,-0.11407285803302303,-0.44868812782430134,-0.251724718316932,0.2197569364118075,0.42134341806559394,0.4048039618975303,0.4608964433114209,-0.3386879626379873,-0.4754444859117184,0.2655493412951535,0.142563465704326,-0.34279711824262193,0.12124726835590072,0.4303878091107183,-0.3890849219014698,-0.46977472635521766,-0.22882446408368273,-0.44292307048082113,-0.3523258640770284,0.38296224829639214,0.06653748123672032,0.2829530999628167,-0.3798223388844557,-0.39548733533489977,0.4637949520958642,0.2981601674394714,-0.494772746748952,0.17405337822067612,0.42598303810223004,-0.19132529765628936,-0.3095161843110841,-0.2529802772999725,0.29173418929608985,0.13685606376793658,0.02586309425996114,-0.055483980235033314,-0.16035709742900295,0.11415587891773771,-0.2831115610828254,0.11882711908964638,0.056552121144241685,0.1645296001375074,0.18927663330961852,-0.2661512642012851,-0.03998282353721594,0.25448733612933916,0.2514355545065783,0.37666969517525484,-0.3825838632687337,0.3493485843943762,0.4735707221037784,0.19498539569971252,0.4650513356075341,-0.41605935792475335,-0.3164440643582149,-0.16520094412925168,0.43756653674766643,-0.27238772024397484,-0.1548554783300844,-0.016376789217122267,-0.26819506804490656,-0.1899652812533743,-0.0905855127729045,-0.2797488409966935,-0.21361529460158257,0.21810332595651016,0.4797143502375554,-0.07439528383747973,-0.3557180986335289,-0.1692502703000427,0.1503882785251247,-0.2413318230094914,-0.3984262713826965,0.15353171664258514,0.07028650949862891,0.09858394128371106,0.34795621054715853,0.33275891794115897,-0.38073710387830695,-0.49324829322441,0.13192064449820928,0.08328297216993352,0.38558460497835667,-0.464780988811879,-0.05610567583640336,-0.13119126664927894,-0.04435884505262511,0.3233308400359416,-0.2509655958467325,-0.3147161940541996,0.11032050264725757,-0.4123042960475656,-0.3331190779905593,-0.002636367713768406,-0.07275674584184877,0.035532058796367894,0.48165710443785725,-0.19483531714801772,-0.4920771530706467,-0.041229260549259905,0.4086293005541779,0.0013430628051049887,-0.17815998955151313,-0.34723070413001955,0.2137918711193303,0.49630769891772863,-0.418457160828273,-0.11601008532490331,0.48178374505357313,0.45144334450850887,0.3367530995741197,0.2860414667794504,0.12013683165938249,0.0019422332915948193,-0.15558623224588652,-0.41935014017268357,-0.15076890982483104,-0.32688925262764323,-0.3037070229309484,-0.42151312650290174,0.4570732953900387,-0.43319010374698297,0.3897555376380697,-0.0030362583008027855,0.29151704298782666,-0.3659726255180673,-0.18582377539860517,-0.34017748807947723,0.2395569332771217,0.33488536728278784,0.03212408988212467,0.4064543935514797,0.3445346314122604,0.4883512697040129,-0.20972692888222633,-0.16264780100484422,0.33034286782602673,-0.4956682517182709,0.12372533281348552,-0.32592164070069196,0.467590884018134,0.00248737820488798,0.22527232122939989,-0.21006558597906588,-0.3054509866570574,0.09032655280584634,-0.09836668123106374,-0.15848477745670442,0.04223863433728359,0.38237753348894765,-0.2876355535006647,-0.13313194947396134,0.022287957682094017,0.46879203921779267,0.2372110123121558,-0.19509978264260552,-0.4048338352246619,0.14290267936240109,0.13260469466147318,0.0314923679123611,0.30150280579105804,-0.1276031748424331,-0.3388249760545725,-0.10570568064532426,0.13048317498428363,0.08568667704566435,0.14510080075709153,0.36283979543637535,-0.16423705507256736,-0.3900007009045481,0.4572951436323114,0.0876892962238851,-0.3285506114110952,0.11826600102862783,-0.47205176634690305,0.09414132860301283,-0.234954033537063,0.37847836492305675,0.2828698969586336,-0.10700505978338293,0.09765622738330171,0.3365169951203246,-0.24319805102987457,0.08479231410864974,-0.4277485071221858,0.1866997219836195,-0.4687028156144841,0.1339362012902363,-0.1239366614069668,-0.46791720472970466,-0.2822273061975076,0.2863409937936381,0.2861279136865269,-0.22423698301495043,0.21694073836393524,-0.10095048006803942,-0.3533500985442919,-0.4746755310113351,0.476661444443224,0.05449553974943355,0.40617458596777833,0.3645058663659686,0.053616928501253325,0.11570727926741387,0.28848385208739846,0.09589952231858101,0.44483615871826787,0.16637250905544398,-0.29212871907140614,-0.3166079723839983,-0.19258145197514698,-0.38477774511556073,0.2521602167454202,-0.4261501991427279,0.14516822085899506,0.2532347481955215,0.06676557499479396,0.03824122451430867,-0.39443757297372617,-0.387678930104999,0.06897730951660241,0.4794813053745808,0.13369542080431418,0.2788830164723419,0.49358692736993004,0.1216133284409906,-0.3352931151339704,0.04199666312794359,0.17510389483900846,0.45830615751153525,0.2516338650993153,0.4682299029560457,-0.053250141946048046,0.24374947928400514,-0.47855463286335764,-0.1439894987095245,0.40738191448478434,-0.04861936730295535,0.04304366955146577,0.2758068049777147,0.01120521358960569,0.4780703348843707,0.1671793941633486,-0.32108062390411196,0.35636427579223495,-0.3673116145906936,-0.008904277509162783,0.2620404816309154,0.168504909535238,0.24478008149116026,-0.06818678088530117,-0.0474066957239907,-0.20927793852389454,-0.11701169640684395,-0.2557881249976295,-0.4440691767272773,-0.14834623408128733,0.21348591977931375,-0.07163138235957023,-0.35785964821556315,0.30121315872758925,0.2967316499764414,-0.4655038207241218,0.1483919901594053,0.10944280783929328,0.1890490533216742,-0.3884644045588379,0.37082062614405586,0.20192609434655817,-0.22059380477346346,-0.07437410139454226,0.39059682365695836,0.39561542718246323,0.05422607865610507,0.32886302961556413,0.16098596379358354,-0.15610369439788818,0.3609940650490977,-0.39745065018488357,-0.36103965558309126,0.44947605799171253,0.15097493369999726,-0.3740578075014087,-0.31779677169719345,-0.4099918175669779,-0.050548638125039735,0.1049310659066367,-0.3175771302797181,0.2607425059899138,0.40719469486593773,0.32072901049081715,0.11508987902162193,0.008051092398888349,0.33050346269509356,-0.11901721495030904,-0.23389482496989888,0.340836619007546,0.04900448673800861,-0.2619809903425243,-0.2210947539488981,-0.29989733072720415,-0.3163431613518015,-0.02573544271505157,0.2836084079088854,0.3622365033458401,0.07297736871315408,0.4204319119720341,-0.3227345651522484,-0.13520811225907226,-0.2866911847438436,0.1811232480703362,-0.17850247846475842,-0.2236133014544912,-0.21335933809718188,-0.26243705821528795,0.25005474715432663,0.20249925157752746,-0.33707890678334307,0.2874814125777909,-0.3916975208824518,-0.003109621257155304,-0.07341900870331197,-0.4277140028178372,-0.2103560986957791,-0.06345044018503132,0.10399759645774354,-0.36524847003391114,0.3278928971014665,-0.4831050494567801,0.4491358985824727,0.3656815282346213,0.006352652822290805,-0.35799442275785376,0.20342147177876613,-0.004003838989227182,-0.20987572769393692,-0.13003780271386445,0.29957869015629845,0.29929650891783743,0.12863106600499719,0.046029245680651254,0.04736968861961666,-0.049170071666353454,0.26777368801427714,0.24477934364336984,-0.33650957950654603,0.136196877584992,0.15989603421367993,-0.0857509106118215,-0.426274216403159,-0.29755167708010744,0.15273014824591846,-0.23554309117031202,0.226423718556221,0.09228209427374146,0.26573149201043234,-0.16857069554686288,0.35534760343726557,-0.15435648548313585,0.42332389723551334,0.4752975964943229,0.1965430599776694,-0.2961331383657402,0.43200121195278784,-0.040289993797637536,-0.23691011922271588,0.12807676054715356,-0.2055115332761719,0.49726991149349486,0.2591408831776867,-0.33760844108240673,0.28739781999585023,0.30011014410222336,0.46764589276498403,-0.3970866581125492,0.3038773483964765,0.1736813500417438,-0.08388380716064026,0.1741005253714163,0.3518476584311909,0.21734325411971023,-0.03891997460066854,0.4717360182920185,0.18292574592563127,-0.4859446642816754,0.20235253877293946,-0.11688719818276105,-0.4091759916393598,0.38509258686246195,-0.25076038310276516,-0.10294118596565838,-0.35522132691308395,-0.030895111462490688,0.07606979219569499,-0.08921302700193579,-0.21279473217328082,-0.26182639420233356,-0.43683665543394135,-0.11288166035712965,-0.4618057175788757,-0.12043000219029065,-0.03323680378356242,-0.4638723863080383,-0.2190161047737056,0.16116696365336436,0.35937319169576787,0.4871475819957858,-0.4195238968688595,-0.003207044726480923,0.20837189070619333,-0.19804149760906897,-0.32646309376126603,0.03503420955777137,0.12143479149970382,-0.11477997045845867,0.23624504101458754,-0.08064491077654345,-0.4771551254799038,-0.31310278961011373,0.461532244868623,-0.2959942505705111,-0.30160030264396953,-0.11777592935513059,-0.31412283651361506,0.27166391298020187,0.36080825247584136,-0.21705490123706395,0.3161520258383925,0.2764294460019521,-0.09115424991851762,0.06563996862150234,0.1590959958630831,0.2766882197479117,-0.20918662780261976,-0.3406226771583414,-0.06743935995921735,-0.35031543884382144,-0.2140938691176555,-0.42822130159113714,0.16190183341527842,0.31191656095990106,0.24863697689495723,0.20520736893281666,-0.06125101511704445,0.4377318965226109,-0.45746370318392726,-0.16025359978579745,-0.45240546172159957,-0.2916245315951742,-0.07775338661186226,0.22166031891621385,-0.18821544257821432,-0.3077042668752006,-0.27107786402968537,-0.19031381290192861,0.3615489528519693,-0.41496278842472134,-0.006522265886325984,0.12014836680696384,0.1390137150645161,-0.31665163075050007,0.3573074456289691,0.46081738111923887,-0.20662160998554868,-0.021751207343596146,0.4001574381092432,0.43674256401041567,-0.22047772148548028,-0.03200232029790184,0.014070018293425246,0.4987418093596028,-0.34569246327949865,0.1701700172884002,-0.035955541119673695,0.12221078944984498,-0.48471772365112487,-0.2809455664761471,-0.012202031896932697,0.4611691264356297,0.3647907539136266,-0.3757024872635608,-0.2610810141102913,-0.11244561076809334,0.13088464305375158,-0.19384097820472168,-0.0024567014913432494,-0.23808861078380072,-0.14347026097262705,-0.4068255045654079,-0.4874703182621307,0.24045851919831573,-0.1676477974373487,-0.3835812241546692,0.39875325384316374,0.49809474444494484,0.4720637860942538,-0.2808649247449144,-0.38584429629582595,0.003755489795784328,-0.4190834680618445,0.05824706317059669,0.4614067556404011,-0.3594544459365854,-0.17947218789030805,-0.30855652734172256,0.47438916272114695,0.4286799849231504,0.16166345359401824,-0.1956139434375057,0.23570015306141867,0.12264479434050357,-0.3571670903431565,0.05931359928438207,0.47004100781475144,0.46960232841742666,0.41169600398881645,0.4277098329583089,0.3614336975301755,-0.2606018801881904,0.03213528966748469,-0.3721571721394712,-0.4591763858897453,-0.49367292240862803,0.09314048196524571,-0.4394876680143467,0.21704435051396676,0.3574521353602562,-0.12370096981099099,-0.06640995231501368,-0.022672015908142606,-0.4552496581273344,0.2805936047810489,-0.08548510502505646,-0.09167480187004307,0.4393371163315387,0.28381574445114377,0.12273780793962885,-0.46737870660045844,0.29813364800359987,0.4082097372702198,-0.03386560352721735,-0.15966404506357423,-0.2712631475745253,-0.4159263168622336,0.19843262726429423,0.4858659952875459,-0.1150166738129188,-0.11269797160517525,0.05749941123455837,-0.3130494324804569,0.13901952575033727,-0.4584555549026408,-0.4819802438518146,-0.44023713094925787,0.1043848260365352,-0.2963097850733756,0.3039574306427737,0.356543350098695,0.11585222365339432,-0.18232496388964536,-0.12793035154919408,-0.3366525555936297,-0.29741407835515044,-0.4440205186309696,-0.09143964976977537,-0.3492557737482995,0.3476970629684413,-0.37077727780494896,-0.29925539428987347,-0.44913285021224536,-0.18883769955607566,0.15432964805006955,-0.24705428536791696,0.45848512466081903,0.22120665584457755,-0.44716651216148406,-0.35726435867943174,0.22620525558517368,0.3573129120025298,0.4976931158382041,0.25168584044864084,0.06996872097635376,-0.4476275499757172,0.10609266386872007,-0.4603888319016476,0.46190461188358145,-0.48460563591040606,-0.16794933269734935,-0.24113173254750886,-0.43676459750303875,-0.2074599817247902,-0.19147360077124076,-0.2894379977563202,-0.3267553636511846,0.2468316024859034,-0.1443922680415708,-0.15895082478833888,-0.4700701461890575,0.004629603711049812,0.15801256562952104,0.25904516210630013,-0.00760092999617501,-0.3351911194830508,0.1269451204658607,0.04051886153848616,-0.17537710058629652,-0.4604320044619006,-0.3205016576960149,-0.057072715100776605,-0.17896810094707805,-0.20823548534153824,0.039164652951897194,-0.33234932858993016,0.22740124203513878,0.1380338954367586,0.41029119832555083,0.4824855186280548,-0.46779713353715,0.15234941730058416,-0.42811640418854857,0.06544655344199768,0.12444154582306144,-0.27607450561008173,0.3269788070754176,-0.09809607011781885,-0.45206539367327037,0.4147416856279056,-0.185986578682247,-0.13611873491083548,-0.40791972700076373,0.16496109502969736,-0.16912347930892957,-0.307348435283906,-0.4672273708545538,0.08244241206127323,0.2568547050416443,0.04411832708417318,-0.379539806391032,0.48865019654328945,-0.49381859907573356,0.025219327105745704,0.26445296037272636,-0.280387036685507,-0.12133561514720892,-0.0948875697124485,0.19000510757053624,-0.2977613581543861,-0.41444183513905397,-0.38441501993843996,-0.09109981378213705,-0.18635703132735548,-0.2540825943458327,-0.29487391791938133,0.11207848792800279,-0.10900329819622767,-0.25758945947178313,0.3272687437465571,-0.31927909566577006,-0.3635865952157298,-0.24186283023277877,-0.21177692803701476,0.12105179191018767,0.36555289352362297,0.3667970501897093,0.13579389012544474,0.14170385913652517,0.03603204785304093,-0.16588083568390033,-0.2979243943180139,0.0752878188533117,0.3472966971550908,0.2903206209195661,0.3510466097431022,-0.2606168991967388,0.3876802071824865,0.3803113900108275,0.49477242373694863,-0.10396808461656937,-0.13526018326796807,0.056909069276838364,-0.08242438861418311,0.04790850942594149,-0.084990212253224,0.022513152604040076,0.30612305122410666,-0.045701637944050466,0.17253370569431214,0.022691597540539288,-0.03304976351042255,0.45750667004273016,0.4504876583513142,0.09979131543318931,0.18146292548332954,0.07307918582578843,0.4338767236382812,0.02175994114927593,-0.026657296976712264,0.1764673768630265,0.4587535592045586,0.16094558830861105,-0.3371924548176044,-0.4410146615114072,0.04651223797591997,0.08140563745908636,-0.43661352742060777,0.44591575952229334,0.3219278989973451,-0.07374101630968433,0.33005861756773136,0.3218381391307512,-0.02972084776642392,-0.19936460283497137,0.3630683378812407,-0.4379201822708807,-0.12481398894473705,-0.3684688253007353,-0.25157721526423704,0.04096957364344611,-0.4338702998417612,0.4441241956347213,0.23566526689402467,0.27074140607976727,-0.46637086848173803,-0.05239672422572661,-0.32352653407023624,-0.2215982877870455,0.2932315745405618,0.0754947572785527,-0.2578310422536534,0.009835087717639635,-0.30622803515522024,0.4733655113912978,0.09059296669851169,0.270337388496944,-0.2597030924204937,-0.3097498284713991,0.4768820805446483,0.25133824536115745,0.03664737842174515,0.22569101975629535,0.18902854806722402,-0.3011659071682309,-0.33164879520613777,0.301893704984852,0.11463629900090155,0.04574896581447829,0.4723119816957242,0.46772304239417184,0.4436105136995363,0.3280431512185378,-0.12410893840214765,-0.06344253197609095,-0.3517797757215928,-0.3921102284340352,-0.41086341220151645,-0.20201283017472393,0.42224860925678365,-0.37749101683273856,0.3698881757504693,-0.416234592564237,-0.2645640101767639,0.043940141401648036,0.44059226385783123,-0.35397071925385126,0.03171526573993555,-0.10257679512756579,0.11377792562578382,0.19244250094323756,0.40078993131464347,-0.21718172750735487,-0.023318218573574967,0.0931736535166332,0.27562755288622975,-0.04372702807190243,-0.25925461235094316,-0.11506772794365583,-0.27757510392799056,0.3144508819229137,0.4618230384374118,-0.05446351938803362,0.18935031174887018,-0.39339606488573664,-0.16956287753529065,-0.12310510709021583,-0.4448562446604567,0.0698653858032805,-0.26655884708015054,0.1183707618515446,0.49228794030608536,-0.24777773780822865,0.16665800416091514,0.04461745730791433,-0.11985365405133508,-0.05968370239845133,0.0834961777841059,0.48490714083891384,0.39463103892999385,-0.49940978054558816,-0.18700351486282663,-0.2868029989809815,-0.41903798073818943,-0.14670508320366427,0.18093342577499327,-0.0995924603883458,-0.3540411633921321,-0.17099668327862294,-0.20695342535381167,-0.49205423859321606,-0.18301674599501405,-0.2538197818318231,-0.32517841856578045,0.12793569557604778,-0.2649922957702051,0.1830566873003865,0.3372826639813118,0.11293206037899894,0.43912150571261455,0.03835069452866313,0.11284420367667769,-0.16083340385416123,0.41996296344446304,0.08896960260986764,-0.4935174166471441,-0.12006376143370545,0.00554552645678652,0.28343528267081086,-0.36519320628609053,-0.26243631606068774,-0.2440400077213869,-0.33476860084095517,-0.39248165589225614,-0.25684720930988436,-0.41172323039619707,0.2096405326491606,-0.3537902183642656,-0.4525306669351976,0.08573039995012133,-0.486690366388552,0.14675803598148907,-0.42594881494165726,0.3525079493343153,0.13499873217547154,-0.2963986456701013,-0.2555773065914986,-0.39113713876145173,-0.09755673432409284,0.03308044942263444,-0.09439769280697963,0.06766284168055381,-0.27102305033971974,-0.46631019570596255,-0.22625239509968664,-0.41607412233189867,0.4647749764382427,0.28098868308855995,-0.2858638467379402,0.02765665389460903,-0.37168309927505994,0.1618804523476638,0.4734904393803179,-0.22117396827638647,0.0033884430750394934,-0.4008005444903404,0.11435710816182065,-0.433224680557873,0.4654422220041772,0.47119125732601486,0.39977929213122176,0.04480032442407267,0.3627961800144197,0.260179449380161,0.12326187904648944,-0.3190065655795902,-0.025685296529056822,-0.3679719202612426,-0.08142746205102203,-0.23272370856012659,-0.4475057609295261,0.400991605787113,-0.27407368400595167,0.038362492675976245,-0.15824415642545975,0.04521803178834616,-0.22771891062524796,0.3039140748750766,0.09237540754127971,-0.16757923077411085,-0.12059359707474804,0.044834904834747835,-0.06437564976867338,-0.39423412969582716,0.4189400243034238,0.18410099444866224,0.4770586845935194,-0.2738026075125466,-0.37290174274317867,-0.3266815912344072,0.4997346772821478,0.32642329856333085,-0.20768663094462858,-0.21028718424202397,0.3291868377089304,0.38120418015520596,0.178695835633508,-0.1215548394254955,-0.1496287263573226,0.10530070890653542,-0.24838252149385665,-0.368459812745753,0.4505266781961961,-0.215672189908648,-0.3124242195529394,-0.13022187256287698,0.16293396078649525,-0.41608155680683057,-0.0635308385146729,0.48406759198991467,-0.18898390960038336,0.4406186891683561,-0.21450859464285532,0.09799706370371153,-0.008131054314825636,-0.00944808144467868,-0.36849343361370557,-0.3339943506920282,0.1302577274771728,0.07216171304325103,-0.49665234974718686,-0.07796752451753686,-0.37894204070356774,0.31904662722440924,-0.39373570660455615,0.4661371063464135,0.177994768353813,-0.4288955629744764,-0.17375191679583368,0.4113417054997892,0.4791468552126481,0.2732688605403837,-0.2872984140230894,0.4177861657801458,-0.031422001283865963,-0.02427950462660622,-0.10349566642250352,-0.041668275753765416,-0.49607211533177953,-0.4441989581165944,-0.23081240305697093,-0.48960224405929464,-0.046150156765199624,0.2868106903692247,-0.2919792225747657,0.25521635333079495,-0.26778566935862647,0.4777667081813348,0.04197703258014651,-0.14339313716611835,0.4820813567559925,-0.28545765512811627,0.023238825889865256,0.06836540611094022,0.4839747893579742,0.35446700667815323,-0.4161294312615531,0.1702892465334802,-0.4878603205762182,-0.11366269829563125,-0.36300829432175563,-0.4209512782210987,0.315403037090503,-0.14593437810227106,-0.13825251430205276,0.3531525805879554,-0.08531466758145112,-0.09633512457492377,-0.21071715980297068,-0.4281233651145344,-0.484640843863154,-0.17513966016571092,-0.09263467880881104,-0.43068747552272324,0.04684215706515271,0.136429089318296,0.47720010259754564,-0.14215006501224958,0.34558110456100155,0.24939527739570955,-0.1410629378411825,0.06858744604252398,0.02446797087416086,-0.45667420856132046,-0.44390160925929334,0.02000658849199044,-0.2815544153260432,0.3278045309073341,0.09159634866559707,-0.45897518006311144,0.28732775417303213,-0.19579792323881873,0.16628189415598071,-0.12687512627268238,-0.49599329696715566,0.2618615914903146,-0.0783895882091894,0.44893107765469686,-0.33384943007960644,-0.23824320060007387,0.42146482528073737,0.47635238943702585,0.24586153770166308,0.1627457939132433,0.4005936262778671,0.17488278531048018,-0.4193463319937649,-0.3920651317369237,-0.11493567323059861,-0.455880353670598,0.15578246095705195,-0.039836518040330615,0.014511330149911794,-0.372478216628515,-0.0329674816015284,-0.4280135972210135,0.002118153759935515,0.36987331966389436,0.05982055360919558,-0.019839676742888335,-0.3396952851826429,0.4465933027221305,0.3779966869527427,0.4276597624364624,-0.20804128839396663,-0.39485926723508746,-0.15306841402435767,-0.4338002468681583,-0.185178481418262,-0.23998757958068584,-0.354619177782012,0.08426500203732834,-0.24854894282724027,-0.04213576042354239,-0.36282166171959873,0.2664851402247148,-0.20834848728791244,0.4061792553894692,0.0561142786554818,-0.34268193541932956,0.25934374790358006,-0.1700891918252645,0.20792194847556078,-0.41378932036836336,-0.2092182592455778,-0.4478604103320958,-0.28359564038433627,0.011900575729239415,-0.061311008791329114,-0.22200488119678075,0.036743162195441714,-0.1404432190689624,0.057688260257652724,-0.23820132389221094,-0.36248873433513085,-0.19686574400679313,-0.2038449920627805,0.29594760588420677,-0.25092708789438833,-0.1244413369696491,-0.03510261573688678,-0.21385142950042524,-0.3105649838527458,-0.3034969397140279,-0.1530469157037524,-0.37592050289199386,-0.21173886970980682,-0.045239107647028876,0.05109123207170008,-0.03770661007357079,-0.1838519693716958,-0.060838527178911805,0.2662102859535824,0.05600551696622724,-0.177381654630558,-0.11327612423408762,0.3412802996141808,0.045311766913158635,-0.35983183520505624,-0.09418690205520108,-0.14062150496278591,-0.3526445518239403,0.0938102538944694,-0.39793046522910447,-0.03520388407874386,-0.14336702013154246,-0.015984602643441148,0.10689903338156159,0.3208622003262349,0.19499588229350517,0.23294368112156416,0.3374487071250689,-0.19672379253718675,0.2596772759826207,0.47238348150326037,0.3600539844674209,-0.4587843857322518,-0.2656109663733708,0.44647279089944236,-0.2871017470631707,-0.41706504599872307,0.4904523884386067,-0.020349943087786926,0.1915136116153746,0.3502341112905616,0.18301898808287476,0.03644271096262819,0.020977822619445474,-0.14465622947756818,-0.010794011618681765,-0.2331048816276715,-0.1820070309590096,-0.1863055849142945,0.18653963891120462,0.029297641184157897,-0.4604134633607615,-0.3502217707293258,0.22724408575705812,0.1473039952127817,-0.0966705391045859,0.47078673534662485,-0.40370297405867617,-0.3671042563202722,0.27096178123660764,-0.4706310715411719,0.014401705051361846,0.36953755959921075,-0.39385265570227834,0.22095256995495482,-0.12196228978041623,-0.029763954732188402,-0.2438585569363585,-0.46319263260800825,-0.08369133970155884,-0.47292401668166106,-0.04740223660698217,0.4617423182615752,-0.008870564890555599,0.09373560182494978,-0.1680855210961092,0.3734616588899866,0.4864795457086699,0.18805011394944238,0.29551993303329915,-0.019532250470155832,-0.4411232059948158,0.02210518211271517,-0.4115162828358445,0.35784128537674276,-0.2443170881974015,-0.4398921542346843,0.37896113205774973,-0.3151755808473591,-0.4253564490189805,0.4016037591328028,-0.3352958558352266,-0.2804106058895759,-0.014633568748463555,-0.02788522689042372,-0.3968725648255229,0.35247478825971834,-0.2803391838286533,-0.4673081863338855,0.46433428872632,-0.17957362921200892,0.08185904422735213,-0.2429392651615918,-0.2243174019078369,-0.38581651637946424,-0.06526434783349178,0.14994697821710679,-0.0373153591659503,0.05595552905991941,0.11953352612171564,-0.29509416739508354,-0.2724585752091344,-0.13115771002509735,0.4839266303468339,0.399583168358272,0.32715064309927055,-0.25464428549494444,-0.4613565613693382,0.4602532667724937,0.1409734233870641,0.30288706314487523,0.0541932027544465,-0.44221891958219195,-0.0514393565015816,0.2899610427349597,-0.45098464556704765,-0.06717945651240176,-0.42991890203215744,0.37468730151358387,0.057549157167940734,-0.4018198656038994,0.07208525979194191,0.17459577429552642,-0.05171873774416169,0.150440657212765,0.33655765502200774,-0.2667344804788834,0.0656301308601297,0.30219611560250725,-0.057208599995094866,-0.2326599835867933,-0.31968648358739915,-0.35192312222139166,-0.4487243729762751,0.025149899039837775,0.4663293361255163,0.3639410785489001,0.25254202314199525,-0.07609763395645586,-0.4036768737954448,-0.03887264465837603,0.04246414258404907,-0.05403585930990995,0.37148016525838323,0.1424602548435865,0.40761158900721073,0.07041302852937936,-0.43421199456865933,-0.46368363448123673,-0.1820353701594255,0.38817081628145345,-0.37751127807595863,0.10413594043205232,-0.006024203471117984,-0.04091378652847144,-0.06819292543664845,-0.25631380151055705,0.04902251032860194,-0.49752146112619067,-0.2664960220880044,-0.36579941489266465,-0.18802303549632993,0.15849712795245807,0.13149529396004556,0.0844797765406593,0.498858813806218,0.25010379324834764,-0.3018715768152369,0.2806822375337832,-0.41410059104874386,0.164790234293273,-0.4313160625826369,-0.1377844727918407,0.4900154727627495,0.2433742146290634,0.406238652695766,0.11785770523085248,0.37043201131949965,-0.1543180114284004,0.0631275255691297,0.15631980648012478,-0.46810491525288644,0.4081116119026038,-0.2879258769076729,0.35440809923453664,0.297239828070458,0.25730243574631917,0.06064181925537304,0.18807776845047774,0.41156565827068414,-0.4820615146890883,0.32830783062143,-0.23012385785235656,0.21332007677222786,-0.004993624557628307,-0.36392845871306423,-0.06667939539852541,-0.049941645955760006,-0.22432659150356882,0.07114790776662927,-0.26057398128523723,-0.3822664549667436,-0.2860378218081181,0.44744154352285337,-0.22486397983592754,0.045721162422213135,-0.17333243209111227,-0.2266909402533086,0.3887259119284361,-0.16869107746116918,0.01926527135927425,0.4273785093024245,-0.17999134904122216,0.3496430685432852,-0.4027727398008143,0.3616370117215826,-0.4924900381968318,-0.05361029509149762,0.06647610186120878,-0.06638999031166226,0.19588990935260542,0.44191420818242855,0.22060983533195722,-0.13520348363798007,0.41702152359512734,0.3483741797012154,0.3553160462127547,-0.008266410928480461,0.2290840312760063,-0.26714244034767076,0.22090563532801988,0.18952090277710343,0.02742041136383455,0.18316904208609053,0.0016003624903473401,0.317122072601838,-0.4939817619942415,-0.22164568656953065,-0.2661422534344233,-0.35332925877859855,0.4151167078925062,0.014999884582111989,0.15312471906269165,-0.030639613887982087,-0.20236998330475076,-0.03368407699988296,0.18025804063124884,-0.3078215594393967,-0.1841302101718889,0.34390396063567685,0.2815922977897991,0.37738865057006876,0.3221849590933763,0.46675452912948323,0.49899745785985683,0.11944055332954262,-0.27359258691540433,0.49712175859214236,-0.1490757751009093,0.49671268899894305,0.20961154398336257,0.06895813960437347,0.27547632012821377,-0.0682679692110284,0.1449057970626788,-0.2934753764656779,-0.3102253428106345,-0.22743897171339977,0.2841941333982305,-0.049814300632117,0.21829222484124777,-0.2799424249027076,-0.09194236227141683,-0.15469524668660073,-0.47392946277929804,-0.4537661507794515,0.029738790747370514,-0.127400478221799,-0.3124390318412147,0.27253879025504135,-0.19508706412655696,-0.26742488749523585,-0.15068268811422425,-0.015066375188332204,0.009936155762320542,0.21232900522201348,-0.3658669373763239,0.39430853356403217,-0.21445310340039136,0.2698107531515792,0.15899015061898192,0.18015171695065124,-0.2375158508259958,0.15199712896015716,0.3454063769098521,-0.32828002655336364,-0.023187192363101516,0.28487763833012636,-0.42363142391381414,-0.30609753321097655,0.3282899214398278,0.47477239065265975,-0.4575235458365925,-0.04828884786421561,0.2690667950330994,0.03959625304405834,0.24705048972781407,0.026717056548978713,0.026139461674482778,-0.37670505938218257,0.38775868062522534,0.22989530867610974,0.3279056004629861,0.23767079729952045,-0.16256577351623802,0.238833485082649,-0.1272935657736296,-0.23382743846763532,0.28996469224238597,-0.3381913863441741,0.38218282187235686,0.02400107619614067,0.1960004743503998,-0.30163225892509815,0.18208238105930086,-0.4349510238018295,0.23741229902567995,-0.49321094255383224,-0.3964060632651487,0.38183347452915317,0.49924765201790366,-0.15474618823847464,0.3162356921509335,-0.161147636492311,0.4410058497626481,-0.3106324301874843,-0.046032870393637015,-0.10734749019608847,-0.3799003712031588,-0.4854114568484367,0.36337609535786064,-0.3695208202244671,-0.18664859150026314,-0.405130526052464,-0.372589029416845,-0.2604139634994813,-0.4386001504124555,-0.36519288334171796,-0.19819245315828016,-0.00943217690642828,0.4836914749655259,-0.20174202035356958,-0.03860204688021507,0.17095979342280976,-0.42802625514399883,-0.46155069071839794,-0.4652703446306654,0.25035934277863325,-0.39590737763024064,-0.3306471841248504,-0.4377132980035203,-0.15644223940408963,0.06269682006509014,-0.4132495223019508,-0.4114655569448522,0.18148309354092462,0.41049867574824583,-0.2225301378499258,-0.03628959509106422,-0.22660907075802705,0.46582162643423897,-0.2119439817300166,0.2281800354102208,0.12277433333950305,-0.4383908111836603,0.48033790976035307,-0.17738281656470978,-0.025825049556877255,-0.0831157399636131,0.0741129942630041,0.42271724798970145,-0.41805172214660913,0.20617089548869716,0.07520392798268327,0.46744707037379096,-0.10563541170491475,-0.11616543136111712,0.4339924271939213,-0.2927727080428497,0.11471716053101222,0.3831595298112598,0.1604185994859182,-0.042063774308578106,-0.3791974130799418,0.36157902426569666,0.3986825939468157,0.19241497269086416,-0.28019966157873477,-0.3291414761852649,-0.2699067590350672,-0.47159949327497164,0.4912264754202318,-0.1010176900624633,-0.09518112110489119,0.09273848117850347,-0.42048166598424386,-0.13834109977907683,0.37370099041257343,-0.2505622904548708,0.16464624201769262,0.3168488132816196,0.4312940052923706,-0.08183935668320896,-0.45896910206742336,-0.23102571000591543,-0.03919986244168183,-0.1955008886971401,-0.23369382799579808,0.3286094928718337,0.14791267211819714,-0.03540601036862001,0.499121465555183,-0.42580840639605455,-0.09844673987263164,0.10381048180579766,0.4231651969736234,-0.3580307575254269,0.38895751785142063,-0.14948735389369983,0.02944806401342337,-0.15233737595077668,-0.4446754978664431,-0.005219201314805355,-0.13691385012269164,-0.3677908738315645,-0.44461686254928656,-0.34138937722877416,-0.00481223572369438,0.04361987315026483,-0.2098236673428917,0.08027346831872695,0.31851402020089914,0.2679305422243452,-0.4261522050446873,-0.20163756437118496,-0.3167308502502324,-0.48021154362293794,-0.044077893515175326,0.38035939500510185,-0.41057299399953795,0.4150039167987223,-0.21455681280114147,-0.13702362559083414,-0.0793595591028522,0.4738009787042381,-0.09202808021766029,0.4483798637765022,0.43766792505605334,0.3918012863600697,-0.08420571418892031,0.10921323458924537,-0.12232580558302208,-0.3419128028791627,-0.04651192904258994,0.08168954722093691,-0.24410331213142533,0.15704415711587538,-0.17056322160414883,-0.41602773152701666,-0.33510725657845586,-0.07710700453683916,0.451511662357716,0.059004975950908145,0.22961505104266267,-0.41787370603968954,-0.2890302629135133,0.06780882428561097,0.002273501566607994,0.4188468087735129,0.05243171548652281,-0.4267590789938094,0.2577863110035812,0.1156620469114158,-0.016498069641052604,0.3739853783022322,0.008464018076327129,0.29699941888328274,0.243499324857948,-0.12011333857985118,0.3596244961258832,-0.41057287982657864,-0.2695106815212336,0.21248219820333758,0.426272062935215,-0.21081267049730457,-0.3953727207648221,-0.24037170990520718,-0.33212889940093837,0.36330792450596117,0.2119724934293452,-0.36143203913206223,-0.07842211364834517,-0.28154190290305725,-0.017934289255956415,0.31497321543505974,0.3994599065532487,0.025311060399317853,0.08923563141633761,0.47614562163033214,-0.43425193496059933,-0.3931801384358513,-0.481135948507337,0.3094898549757281,-0.10514061729485569,-0.3339534752458335,-0.11403902583606063,-0.4790735572426681,0.0552963649208178,0.28077209929182745,-0.45859333366041266,-0.029798105702332656,0.49799340622886645,-0.2163688777424646,0.1991442721330432,-0.33569446948552994,-0.19626281011011693,0.1541539636643754,-0.061537603353124304,-0.2958185667562039,-0.15009744903062283,-0.22538338432966198,-0.2622898681787067,-0.30779800627886966,-0.4742875330331884,0.25350195482608795,-0.4520787126411756,0.16636846827992735,-0.2354140481993694,0.04384964326895835,-0.2415101726097677,0.45417136968933947,0.26193286870988275,-0.05602581087202374,0.18275050375442392,-0.4418700144331169,0.2838217453116667,0.249906525488524,-0.010577954424180858,0.1969924357679791,0.1401691687850508,-0.46176884573184807,-0.0964663336162539,0.2072480900199849,0.11205906223160378,0.4030539365083252,0.2948745716099255,0.25111393209927235,0.29340916655447136,-0.046234881375074144,-0.34104251656620765,0.3488473239688299,0.2108113616791556,0.02741689336872155,0.3677929740797772,-0.12422316550402157,-0.19369485927100372,-0.2552283137883944,-0.07025280576184545,0.46410012182840665,-0.12797222631528937,-0.4680567845963788,-0.23278467522717783,-0.1798498965831079,0.45933262022437993,0.03540350376930723,-0.4675860908498035,0.43905879136543446,-0.4189063217863649,-0.15164066802276888,-0.29877377654616866,-0.10379837993648788,-0.1824549225349139,0.0430479973713207,0.2202814520280747,-0.30757176486537974,-0.009187571925927118,0.16235428949432373,0.35466473602807613,0.044501046814948486,0.09810171618820918,0.07766759142229107,0.3838643397592736,0.41193099776000897,-0.19820531562926225,-0.12565848291465564,0.0515031290575223,0.18363740737253087,-0.04420579078405096,-0.39263660578110926,-0.40811245622115666,0.47130703221479053,0.2677325092811298,-0.03770965565553763,0.09692091709634698,0.48178814243793777,0.24430493071647996,0.2603843444929941,0.31466861675836677,-0.3680369294516377,0.14238407464226288,-0.10261114126954696,-0.22678855364252493,-0.3827406866386389,-0.11890070562367483,-0.4621341639632113,-0.4726929243700009,-0.3978567198130605,-0.2745318779711228,-0.011775200895695725,0.10997946827353977,-0.09949551598437267,0.15146541269971436,0.25858339270943653,-0.42987215150979563,-0.2893538024190254,0.3825434816945035,-0.32763786445561793,-0.020990787375876785,0.49954408057451083,0.37452880757212736,-0.03691402769027574,-0.4207224492807049,0.062311947056049144,0.27046417458366623,0.41301692285429925,-0.06539316806395634,0.09698642741071506,-0.42840510909613316,-0.2002830202249597,0.028712266849477697,0.268191624285657,0.15567964778690468,0.06854151426170052,-0.1795765670052789,-0.2969165909119542,-0.42092008903554934,-0.10869240450812345,-0.11991859552333706,-0.0352892301517016,0.24694264024290358,0.37373768367936133,0.48124053792625343,-0.3554660183080083,0.05447540901343406,-0.1336261240338037,0.43652368997696644,0.059207348240984725,-0.29555021029520145,-0.380064358758442,0.060115495399095886,-0.3900390332241084,0.37824726238398276,-0.12709853258958326,-0.2780748420936239,0.24604851418449636,0.2575499700177275,-0.3931841655831543,0.3661491598208253,-0.43711019652313476,-0.18877133541573854,0.4607092214962041,-0.37756815312129244,0.012420423339967845,-0.09976741099419106,0.22245116257028852,-0.4944220412070086,0.013608961415091603,0.07173610489946713,-0.18727812129716148,-0.4650053800371341,0.009533082891342026,-0.2442853836495107,0.38536465419943333,0.22698469459963788,-0.2809911139128298,-0.38045355522783497,-0.09460343047390474,0.2369400244464861,-0.0005643617925084055,-0.47651576814715035,0.28660106587280243,-0.30229117014152873,0.06682408391140693,0.37670855371859124,0.2327398276476731,0.27794445963651704,-0.24447218320208108,0.4577722527393264,0.4864735280579784,-0.4563790224796098,-0.21243255055793075,0.31150433185211557,-0.4485167461460229,0.35032627586690657,0.4075622660367615,-0.49167729981707153,0.13889183028194352,-0.2647689508157165,-0.294661279235658,-0.26262582248458033,0.27726310990542324,0.07770326140804706,-0.31832684249210264,0.3670011972717191,-0.3316407750495285,0.23086801377024213,0.320691429436861,0.01467519216659774,-0.026401909990634742,0.4577956258687286,0.2938125338430626,-0.3217406220170842,-0.22502767679276015,-0.11937132517478899,0.47455567738816873,0.0024613410398908186,0.2231874720970921,0.34384314561944507,-0.4923932710976757,0.021886848046755336,-0.05632117783682222,0.2620997938201346,-0.014391054177200102,0.34334701100057163,0.06782526568685232,-0.1586604711693409,-0.1282343185239061,0.19892987574067367,-0.4695167758175336,0.32649585185367314,-0.03714717796286693,-0.4163931578529976,-0.26627409732187446,-0.3232552563294342,-0.3631445256385639,0.42499538000681647,-0.3397734284439238,-0.43011868958613286,0.08671008179200879,0.19634857339281542,0.45442918288832024,-0.47703902008647203,0.4774918436457507,0.4164988280558872,0.1947914290696946,0.319399211226576,0.21230766918710642,-0.07659494589829507,0.49725780180278556,-0.401397693509167,-0.1338437912724042,-0.46289148651023404,-0.1520136716593532,0.0024715338687333333,-0.14849691117313824,-0.15780564572720923,0.4742588062211699,-0.37326690030207565,0.048969176484643384,0.05186535771603751,-0.06743284636006597,-0.4106519365246468,0.2461247467950054,-0.07775195367073762,0.3735183404298301,-0.24637491777892162,-0.12097460219195377,-0.35256087152656024,-0.46652362358274435,0.2444928010490952,0.3524808202228591,-0.3506424012808229,0.3080189985484223,0.3979462069494881,-0.11659565358507251,0.4652934767730834,-0.34487165307598877,-0.35203584340628513,0.4005747150013157,0.17022193861043156,0.27186654189879755,-0.06946122592085424,-0.005426757732182708,0.3215658832454569,0.10121274561693672,-0.1996807496760118,-0.36266664624815803,0.4813433638322093,-0.18557683955330817,0.477489651609853,0.2610566955967071,0.40914008858356454,0.25938430692027103,-0.08405770975692195,0.022422354204583383,0.17882708755273202,0.19384173753523903,0.18376391106759904,0.10212600063296073,0.10359390835670323,0.0019857819321233983,0.34572416337106415,0.31125723200047783,-0.1998426830726192,-0.06427900830194955,0.49156064489487705,0.27190289479644214,0.1590324300353292,0.01159326827046181,-0.41393192309209326,0.3524095695031173,-0.19896097744788044,-0.24266414898811184,0.23161318059336455,0.050670154139358825,0.0208775539044308,-0.3457072517924329,0.01015336197229555,0.38501972987765654,0.020450062699723714,-0.14942977037464833,0.26594439091717526,0.4954299442467962,-0.30465221275204835,0.4657112911904302,0.15439631736179082,-0.21895118917851053,0.09245633607161552,0.46906894962396395,0.36221901156867475,-0.24617403390742387,0.39640400234238893,0.40490067921385076,-0.24938639648923133,-0.31667167090165016,0.10699039735667282,-0.09139647829854147,0.02237348925712257,0.34671011154182874,0.1473465391209008,-0.3922605222682689,-0.27277199917405204,0.37181089442994675,-0.47130798335604873,-0.4058706002884842,-0.06356502744185799,0.4808195170899816,0.4351116224199041,0.05448356997753678,-0.2809315690384533,-0.11775098144335638,0.43448148491660143,-0.002078280488941653,0.22349562716427518,0.131285935565985,0.40407500423099374,-0.33734324263549054,-0.06267447451620112,-0.26579463014569504,-0.08449185558528205,0.2505558021667731,0.036354785539290946,0.08462098023534947,-0.29809492870843424,0.11415121549018248,-0.06707899731531008,0.4208001542915931,-0.36184760032983965,-0.49498912408285456,-0.10247348018263036,-0.4781681952716901,0.30741669171656216,-0.1510261421993715,-0.23024135273060753,0.0658571691257166,-0.3141891226279281,-0.1488076254251356,-0.07357576123301435,-0.38503147584922215,-0.23592171164770948,-0.07676950171177199,-0.016974528026665547,-0.09257715882188466,-0.29566836479807557,0.288800930587386,0.0826315785109939,-0.05860121971268617,-0.4129234624605356,-0.03758663454985389,0.41858689814215144,0.4112228727227001,-0.2816026627591439,-0.44716663055821204,0.053279616737385016,0.32713524275136585,0.10223345620516078,0.0325979837533561,-0.47550598362984986,-0.09849949642372424,0.09173644216498755,0.46109515708260296,0.13366824351870066,0.34532989653003,0.04310582272864538,-0.4957952797573155,-0.049743551371272954,0.44692624140365766,-0.1394481776166112,-0.15110538375236127,-0.20409995414621096,-0.3932142833596157,0.45542357608876727,0.03989831213099637,-0.47927222470513153,-0.06222230954542396,0.30039257622293514,-0.20944982462492945,0.43779153551203076,-0.007964565048672378,0.3532400477147273,0.304040333847414,-0.18990156148115034,0.18957259768405987,-0.48951523294950205,0.1631261477817625,-0.20801754946124196,0.11056670933860002,-0.1743411016554599,0.04487452539594239,0.07570355242177662,0.2990216239006085,-0.4939366145928328,0.29024294216089275,-0.48175204246289005,0.04475710721108106,0.0799674201993057,0.0029676325602818743,0.16198955291156092,0.07740233454613765,0.4577876138668915,-0.0309407847890788,0.45216581431806646,-0.4547584863849661,-0.17697795077100253,-0.4434476390625184,0.29121586414258105,0.20936970208235306,0.12488821400096906,-0.04211353984715749,0.3720041326619379,0.337640191582091,0.24916732817149434,-0.15856875280628713,-0.278580143679817,-0.43195323382383366,-0.07802879089793135,0.3704993188100194,0.46235128077501386,-0.05629989152154491,0.1301738146078204,-0.3464965852348494,0.08873471239278441,-0.25152192886872093,-0.4569901787770039,-0.26689444104894267,0.08732891860668213,-0.02365799969908,0.19798567031596748,0.21887131131351745,0.017418699515130198,0.33715650260495633,0.46430273630568575,-0.04363691108851708,-0.1344860193573465,0.45786038711091037,0.4347229671922508,-0.19870521183702738,-0.0698175582832079,-0.14995913278296258,0.370493102642103,-0.08012293380214963,0.44011311664703023,0.18516839451452594,0.288739251033199,-0.09142313808359348,-0.4623091483488886,-0.43103017517879594,0.4801612949742655,0.24617361733175458,-0.3111325732693526,0.47987664048789513,-0.12468866092245112,0.26055648927835273,0.1395871851049968,-0.10796403541422239,-0.05820607210231388,0.2717727503878664,0.47884714281201446,-0.30408323200899545,-0.018260542746383113,0.2404909449781767,0.42362897147858813,-0.08873347165925871,-0.02190743442900156,0.2904365083945113,0.2333112654088325,0.3233340725563112,-0.33173236690447716,0.46562087677415853,-0.4383265788901738,-0.08647103759089325,-0.036633487898623196,0.34645530734763574,-0.467169328650765,-0.07921886583092386,0.24938694948932993,0.4049383353947562,0.4798085423744851,-0.3491592399796135,0.4096005697241336,0.15594084033673927,0.17806550237823426,0.3763124136314495,-0.2561982120265227,-0.2674075440643391,0.46467005163697106,-0.38523518016156943,0.4981485476373202,0.4182442591136457,-0.07883171030280312,-0.47838143080299456,-0.19496832792395025,0.39885990915613223,0.3791933283724902,-0.3760521926800513,0.29263093571484844,-0.23386754987524183,0.06231282802159388,0.2986542893904107,0.2892305610727177,-0.2235570797773372,0.06922522821598465,0.11383716270322064,-0.4745600031805659,0.04011439817163032,-0.17544074718928182,0.4280690261879452,-0.3674914819305348,-0.4620327852322277,0.29145417443679067,0.43755924186688633,0.18760760695807321,0.06644355798605517,-0.3438443321176212,-0.031702865491842314,0.04016490817460272,-0.39117246973684994,0.026152965346108115,0.3441881462132079,0.19694439112246842,-0.22020915270931285,-0.0979225999718909,-0.21055816461144694,0.032694762056820315,-0.33248961219182926,0.3213882686233911,-0.4111274539899685,-0.02494315217130083,-0.019086657233948312,-0.015068281440098419,-0.4033562640188566,0.06678830039236483,0.20034205488574752,0.36840464838640585,-0.39570467926256203,-0.46985459110802275,-0.34124289474653713,-0.09405307921698691,-0.18054122277164297,-0.44881667887278365,0.10959022853788425,0.35180994136070787,0.1252423840248149,-0.3015575094284786,-0.4831898428963586,-0.13040775540987526,-0.38615134661220996,-0.49165611024691525,0.20137940126630416,-0.16068413145233684,-0.18099199406273225,0.3184259737312902,-0.47791006118261325,-0.30749771507647194,-0.20879869790721783,0.07356608912236595,-0.15780889828558808,0.03167057202514556,0.4140390046550768,-0.10542248963974732,0.37279565184836394,0.3996209428223316,-0.3055115151261134,-0.3147257232103151,0.3798915347360696,-0.08993331247978253,0.1743699466449189,0.10140970123517845,0.3813323635394785,0.12281845356160326,-0.025082520021259214,0.03344087145835073,0.025219250876366228,-0.48584010637858044,0.023702737584102573,0.0577009854411894,-0.29390945873660246,-0.06401191142547247,-0.28041991927062093,0.2924685223728194,-0.4956585365717763,-0.4780221156051425,0.2157419915500467,-0.24561285566896274,-0.2180833478120996,0.16532050076491256,-0.20787112076300596,-0.3681259254359184,0.3926811676902975,-0.16997719998510608,-0.11504425568222243,0.17586241475608877,-0.2856223689594437,-0.33234807428856894,0.23011497686833282,0.23189257153176057,-0.3632251250061638,-0.16159967313908097,-0.051117813624537156,0.32005501623346144,-0.06857694512145862,-0.429516046022018,0.0575540448894889,0.06712805296933788,0.07021400274040723,-0.1670658611578668,0.006151901086619782,-0.3463239983230939,0.32523916723264157,0.052888918106706484,0.131853036746701,0.15180356014901308,-0.3745330398352349,0.15754151252108528,-0.280110735732525,0.06178578694772163,-0.4068977506138012,-0.04689519924932961,-0.11352037681290561,0.09432258507668756,0.4131839251353051,-0.3232580365137685,0.13242742525149076,0.11409654671310387,-0.13454701809943082,-0.22884639388159678,-0.27803243979994896,-0.41555012109844736,-0.12040265360209124,0.21793519084300095,-0.053750252524362274,-0.2924817035495275,0.3408245098069247,-0.044833333934438446,0.013507916615004056,0.13664946481086782,-0.2370912134076495,0.1389494008687664,-0.12759158096101375,0.1049425748197177,-0.42130100055988606,0.45763804478156356,-0.46244312592280146,-0.028186226338450915,0.27902074311155944,-0.24039720981101387,0.12630541293741793,0.0707898759476524,-0.4613310996917759,-0.30279801175949306,0.1658116043120228,0.1115627450495309,-0.13869643474603244,0.3036411030886059,0.025490157931814306,0.07248828041378808,0.33045379421901844,-0.4450214266592598,0.2573625809379847,0.001963766106313214,-0.020911002394853773,0.4309009696273687,0.14293019756093694,0.2334018498832202,-0.07978488576610454,0.0584814609502895,0.2651706597480197,-0.21728167097326123,0.3952984916367053,0.33670873628150266,-0.34210999673585607,-0.48405100931977985,0.4048829607356974,-0.2879299638912518,-0.24423965253011093,0.26212563652015053,-0.16068880183570022,-0.4326010729131573,0.12569084647974815,0.019693843929026178,0.4776519107042907,-0.41057011038841673,-0.23178377494511992,0.10735524624858117,-0.2693674294134867,-0.42923171493691004,-0.08808591984303416,-0.1348654185054663,0.3761216746098559,0.29706534861393896,-0.37414371359013177,0.1458533522670329,-0.18701243097262732,0.09608506064376887,0.4088195696826009,-0.2149450020271133,-0.28943738851700873,-0.1802313617631095,0.2844678967071115,0.2854841461123867,-0.35398401811377256,0.07649397379593825,-0.010167572282271387,0.4530759617757065,-0.1476195223186274,-0.30233208526411737,-0.16855947737664478,0.42310969371232576,0.45740538175312184,-0.12381123855178133,0.3533029190474013,-0.09843034768523151,0.3123309806960515,0.49451866036507464,0.022450412523104868,-0.41806526297806856,0.07110133530222429,-0.2836361146786843,-0.3701821629477282,0.4668137200967375,-0.007883541354279266,0.2877267553851406,0.282692836641639,-0.011359614429254039,-0.2980848037541963,0.11049561933433316,-0.37192049805240135,-0.4082478896375803,0.47759833777996463,0.13103638349489555,-0.48537064580344547,-0.10371559389020724,-0.23957645890974977,-0.32376687235113555,-0.027365592547337725,-0.35166527364580746,0.0033017312373235796,0.44311783253566595,0.12962990369095095,0.0009652185250494938,-0.40582181386481864,-0.06829973116327204,-0.12318741830877755,0.16981728001637042,-0.4909365800487524,0.12922855906431563,-0.3588284533502726,0.1270243574648955,0.02672150837287557,-0.08107506331106573,0.20877632232467302,-0.39787012859647897,-0.19222629461343144,-0.45748193254958935,-0.15927641748026167,-0.33816008512011475,-0.4232037764442509,0.31224406381567626,0.025845211665023626,-0.18392825771270194,-0.01194821371900967,-0.38338452144631074,0.24782251588947912,0.2600897603040677,-0.05274383527289617,-0.023023026615048625,-0.013843285325560117,0.117342058799494,0.0834469690535471,-0.21703002749659395,-0.08013624072437664,-0.04257106299178348,-0.2880255179661837,-0.4973793945370595,-0.0866712697524823,0.33021528913581255,-0.2865988671809654,-0.46081532974347694,0.3967638782948244,-0.3972107845022568,-0.1880022410628177,-0.3489418988178381,-0.3227583686565205,0.34996415789920743,-0.1023914955097498,0.2650016242580866,0.2662476500836657,0.005477145920298021,0.09153744029773803,-0.3325540328980643,0.20679500594053146,0.27464518753245604,0.42390313694576287,0.021528725797674175,0.018711095417815127,-0.1576435647377361,-0.4557545962424452,0.25834059800512277,0.4271239888032037,0.2064858052968268,-0.351099076083049,-0.438603260140237,-0.36103177653788343,-0.4171171181590967,-0.2229843648181915,-0.07099760798624222,-0.2753104047473973,-0.3872575308448638,0.20693290399651754,-0.47122151780754273,-0.28310323909810853,0.19337812474138616,-0.0507484880805984,0.4333881472926522,-0.41745324661837,0.34606698663448787,0.47147090434369554,-0.28538576680006944,-0.30218340999399707,0.2955144718421179,-0.22308737576021787,0.11498215044053395,-0.15577523500920276,0.1793966418494668,-0.3851773355089292,0.12919582662338214,-0.49036816884641765,0.15262329931403817,-0.06299275957646921,0.2789354122817478,0.012920647280588504,-0.23348763992139165,0.28449672913567103,0.2912128533796141,0.4828996092634439,0.19507837063260092,-0.48911532465767604,0.18920965787001287,0.32443394183086705,-0.27723734369216846,0.27729657405029173,0.46182106758788355,0.07614308703485784,0.49814719840328703,-0.3733491720365101,0.20002200458590602,0.43438087498408406,-0.16728421747952793,-0.2647770542500232,0.1322586317347425,-0.3229606742351132,-0.22958589032374843,-0.17305077727776186,-0.43148524404950583,-0.08475843718793774,0.0021863660828573828,0.07124338196849944,0.2728626879148972,0.042822556179963556,-0.0705556518615611,-0.09426730782475512,-0.3025501060928657,-0.11344807979864435,-0.41871879250910693,0.4943707597447673,-0.07830069339151025,-0.2522911521219633,0.25299129488776684,0.07271538814810019,-0.405278914581368,-0.0980054849996812,-0.1865002647839109,-0.32287853789322507,-0.42299714037679625,0.3126808103605967,-0.35629506676187184,-0.1611674226443327,0.08378212710549948,0.33045718043815,-0.21911112376585518,-0.4435384302173533,0.12056217953046744,0.07139788262187796,-0.3777818369757684,-0.2606638967159598,0.06687491166481463,-0.13385777986587288,-0.29036315948606384,0.1598801230748974,0.053982775957049034,-0.3144152550861399,-0.40422303754595834,-0.4697043725220458,0.2347054506956241,0.041264954138976906,0.27151801063601355,-0.3852620566928089,0.4709079006092085,0.3747467304730252,0.29715694603530274,0.07921105162974151,0.45989648675217776,0.369132675314374,0.33282684174832067,0.18294231044440812,-0.3723861002189639,-0.17789811497641472,0.4586212165915493,-0.3708149637927356,0.10689598032936543,0.3756260505150826,0.42965470708327813,0.06846020672202213,0.4442460382474289,0.27988202368701676,-0.1385113280687127,-0.032364266839432165,0.40378793340256247,-0.44712342627752966,0.04918772945315464,0.43833479473980264,-0.04428318023956446,0.41820813321872796,0.07077657383948788,0.4646686231324648,-0.10656430067134637,0.3672958371816111,0.2048022907533784,-0.42791168575549543,0.34264875263769157,-0.3966010710161505,0.16080000291838092,0.2944545864605663,0.36669484798778296,0.026299904295718823,-0.1124241381432276,-0.39821926250878703,-0.04098220031981725,0.3835226851920437,-0.3411967611251159,-0.10960907794795482,0.012395438868054276,0.4776751249556488,0.3281322351710747,-0.337010490994323,0.18559595347078806,0.39085123819056666,-0.42511822766380436,-0.4929008269660138,-0.3279407098472342,0.11651802454770488,-0.009130857122415126,-0.3613969898809013,0.19137126257738224,0.24428527815628742,0.2442499439325243,-0.11254212595474589,0.17978867676634214,0.15738902897470508,0.19878406128530202,0.318870860451097,0.08532285320175448,-0.02878067153681485,-0.49238230273754957,0.17075452206604913,-0.08833466245544819,0.49577455168392226,0.2922561738205205,-0.2817718747044198,-0.31051833520749317,-0.006005409678271789,-0.252939447426336,0.13963991803052145,-0.04669300403584975,-0.041180732466506775,0.15444123386987862,-0.1717913915719036,0.17879676889640717,0.34507988256598576,-0.3547658256206494,0.10223899873808295,-0.07853472903770609,0.0896711300664581,-0.2661708602551085,0.004709955803550381,0.43084379200931355,0.4311153028267347,0.1175455530731313,0.09371706509877908,-0.20944174422841222,-0.43175983804132834,0.03258941292214934,0.3416837212220072,-0.3071023748369661,-0.46348239594541374,-0.18195932939211223,0.12213111102255914,0.11514250913447044,0.057184960224035075,-0.4423135214992939,0.026074274402929642,0.30043827274403556,-0.03786344018740273,-0.4225119160626811,-0.33606102004277183,-0.09998162742505601,0.39541901997130346,-0.10208880605537307,-0.13267346574604377,0.49471723101710996,-0.3006208821307521,0.28925741261461635,-0.27202414805511443,0.4569067523050889,-0.14216848198601095,-0.37490628058141384,-0.03798101387381414,0.0871626743431666,-0.009144572077584678,0.40220284045817145,-0.024034562158794293,-0.29975918646614064,0.24327001561558426,-0.22228772144504338,0.04929978269833102,-0.4379417938304906,-0.4619721904458851,-0.2562114570521872,0.051418726081453814,-0.18507616088956258,-0.365084718692646,0.1790624948397206,-0.2750068129088228,-0.1569648348348287,-0.08238005793632452,0.4194357165197964,0.30653934015064843,-0.03743765746665728,-0.2680193802861759,-0.11318818750762638,-0.3486736198410896,-0.32338595548749427,-0.34722238544730977,0.3131176754102951,-0.13369524106450892,-0.1438425893758859,-0.4486688604484381,-0.08847604950717769,0.10428274545240002,0.035554506371294536,-0.4532682342810248,0.008329861886081646,-0.09323887435059852,-0.20099687728639504,0.39372668486755935,0.05927527929446752,0.387747976129835,-0.40733638941629313,0.1495199813609276,-0.4903554913445689,0.10566351838815313,0.32278811534855234,0.33923902117143134,-0.3799069325070983,0.22726153376792424,0.4889495938360102,-0.3790549399140082,0.28348600149469294,0.369307141447637,0.23592450727552605,0.2466134499657524,-0.10672278957306114,-0.25208647563176445,0.22392554981591384,-0.4693264709117473,-0.4433339500492304,-0.0704768343801132,-0.43582514698875086,0.36245863319658245,0.1030349919026623,-0.009656681303301884,-0.3297053894916748,-0.17698315916819785,0.1934951946184924,-0.074302901099357,-0.08139370823037151,-0.13856738054477136,-0.16536328747009166,-0.18994210744584983,-0.36372152104749467,0.010138493296956819,-0.3853428089621507,0.17505203178931938,-0.2826946756890747,0.2662768640485791,-0.2892378781171445,0.45397664845725516,-0.46197122784301436,0.02009478360191852,0.2232741819434405,-0.3831310460556543,-0.04364977736935183,0.2528793584375435,0.46065103779039673,-0.16116860381851938,-0.46837582495490726,-0.03481884968377846,0.06681941043020823,-0.3016923714636017,-0.0036371531708816462,-0.11557313734348829,-0.10768944102926303,0.4785989330951612,0.3000972458542983,-0.29768938740683293,-0.3086615494152831,-0.26575329655600743,0.055589660515885875,0.1268380558955733,0.12311680193545249,0.1621480210258177,0.11015146930585873,0.28120427352540234,0.16042564342599475,0.3504560645540047,0.03440822413719147,0.22885158275628092,-0.25595890741197813,0.04286001575473164,0.3541302432892137,0.40645853703784396,-0.3781916397649543,-0.30537075259260926,-0.07950284296101784,0.42669756056122776,0.3615081520926082,-0.25448149054950475,-0.4968253481522822,0.462294699304592,-0.0026585409757344802,-0.3070516774255707,0.49366383164120164,0.010683829211042273,0.04951200075628459,0.20972975470677957,-0.4622923689023952,-0.06592585999411193,-0.149856227777579,-0.47436948689190994,-0.16697896303918425,-0.024448376658422255,0.3449342632099126,-0.3991098308640826,0.2542470038649145,-0.47137027763739736,-0.45802888266964903,0.1318648725596958,-0.17296375664795294,-0.24627038662115575,0.09665133881783428,-0.4187406414701882,-0.0771187991317206,-0.009752989731788064,-0.12280766788861652,-0.24516929407576304,0.32638410247707283,-0.02109852713574556,-0.45955508884103025,-0.48033298673819647,0.30991616232218955,-0.006123274752225738,-0.29660763859301587,-0.08365571059566324,-0.440568717846211,-0.27946183095932575,-0.4845560771690518,-0.42740492986963874,0.312149950848126,0.15826629006537596,-0.30555810629428026,0.4147840032482957,0.12750311292311967,-0.177435606270389,-0.3156443144863901,0.21354081352383947,0.025759976220080194,-0.4154570658429053,0.06571642517243448,-0.11599705134946992,-0.1911970548848818,0.3379393045584351,-0.26321280629337407,-0.49569976061236964,-0.22180208211515784,-0.3699791422653438,0.3695566695554535,0.25982417975203664,0.08417926042807622,0.2772977146788631,-0.31543182832078775,0.196215556230245,-0.13434235979071874,0.48494014488287474,-0.2207787185063832,-0.1570273217515472,0.1494518709060466,0.04608557755154963,-0.4171912194707441,-0.1560903773008424,-0.3409220534512154,0.3700775510255607,0.4681815767098476,-0.1476020503334119,-0.19857669243067289,-0.21972804364404763,-0.12496200857115025,-0.08406806618377782,-0.47505699358430586,0.32780765843072857,0.19025774701623854,-0.18078839452276418,-0.42883838119024964,-0.1493394217044859,0.46084347934872927,0.05480423071391538,-0.05082794738187668,0.4498248381731118,0.3260058622779334,-0.11155568722732978,0.369375091088852,-0.25350143638190703,-0.45091785552189423,0.1638174042054965,0.3212212406148347,0.34230635081458693,0.02018195091554964,-0.2491710260811315,0.4781895938271734,-0.4918030734713057,0.35346143544665853,-0.3269752937096,0.3798166152376192,0.48446468836395984,0.47832241976309353,-0.4881872138297765,0.036159879485054836,0.08840876680296117,0.3730236269268583,-0.20182574296006806,-0.33134911511767506,-0.47929904043224214,-0.27897283048790933,-0.3415461246943443,0.01930506176125313,0.43617401716780346,-0.030737371666448077,0.4556217865615628,-0.12373563423227307,0.1475136492985485,-0.3831715494256769,0.4415311509294344,-0.4067670278049922,0.22701543931875068,-0.18790007750492,0.47080108641482,-0.055311296343826255,-0.466595100737498,0.2827798197959104,0.36957160834606495,0.3064262179579902,-0.09726481504552575,-0.09880003665383419,-0.385354253433422,-0.18577797800447104,-0.30371452112028785,0.1654254031443554,0.10892231027314425,-0.30840031637076226,-0.1250976772443746,0.06697470083012225,0.47091950192884524,-0.14022361986783283,-0.3090908587269503,0.014045793229474857,0.24920664909734858,-0.4254304049637212,0.2999592205066217,-0.22592798739797426,-0.2513120002234537,0.39040454196153695,0.45219769842962143,-0.3692984639069483,-0.3376433735694775,0.41378585676408575,-0.22032117679581575,0.1802823859038709,0.2620584206144332,-0.09192113443690486,-0.4923816268511414,0.36154981339418724,-0.01917691678673883,-0.45253467629314414,-0.11162901164650685,-0.36012009171218984,-0.3215431214163351,-0.043248153071416384,0.1880864388524366,0.031234758062059997,-0.25392046822620307,0.3558945185641993,0.19529784271002537,-0.04847486483541008,-0.09181671355201337,0.24778388912543292,-0.009662606831687182,0.3515673601416349,0.15319442169443387,-0.38320530051140755,0.16378713592057204,-0.1770098236743236,-0.28952938302415565,0.15928996356195402,-0.4453582950596846,0.46867779883570737,0.272978485876612,0.09858485499411884,0.2543874410100908,-0.09096454834007384,-0.07154631798255462,0.03206025758748732,-0.3631632903323654,-0.008578982191741025,-0.09027573819242907,-0.3361337222783307,-0.05543445174757955,-0.3608438579263633,0.05346089872066151,-0.12281262985016816,0.022810637949600476,0.19213707635728428,0.38610750003467076,0.3246399716462267,0.12133093682402185,-0.19154639996619838,-0.09166966901264528,-0.2640758874729514,-0.11427066775238282,-0.32563393578261257,0.10748589737354464,0.48504951292100884,0.029731713423202688,-0.03579160793505287,-0.30520259418687146,0.4306342705640387,-0.2032256011037652,0.20558512706214138,-0.2976639210690575,-0.061771904636567676,0.07141472794555104,0.4819414311837844,0.3038140408916521,-0.4009187196890185,0.3341938128012405,0.1122246366303381,-0.08484082296617435,0.2924182964920703,0.15475760109603054,-0.21271197978393075,-0.39140869796227307,0.2609898436817797,0.2104897787309412,-0.30431850845128605,-0.07370175949303825,-0.49462387334755786,0.21238973002619477,-0.29363924501256977,0.31388344118593237,0.4350620123187625,0.040288411158812876,0.2192604837113885,0.005332895808920268,0.12035962013472079,0.06929454706740579,-0.3236576672413378,-0.36825209250535673,-0.06156823086884611,-0.32500304518169476,0.10108310650507546,0.23764141976830389,0.37455900926890284,0.38159034616595355,0.20740681741425204,-0.43029444173208464,0.3397478656336528,0.012536458520085114,-0.44724012690164683,0.14956485303524691,0.15072903603310905,-0.08431747533728373,0.29680522468986625,0.1449677024046767,-0.1487088087240107,-0.13640797731755772,0.13557010815878967,-0.38379324179776053,0.39328997239583297,0.22640687120142156,0.4645602524009791,0.25270972098145106,0.22952990366234283,-0.23506462244788362,-0.13395995231892943,-0.11990879944475985,0.47974518106294806,0.11316221622510736,0.14839622591958768,0.19664068460172968,0.4740736661503846,0.12524974014873425,-0.3751782258893017,-0.28320564805978576,-0.2926024187180547,0.2797663915275541,0.37705502592146956,0.2851712032582896,0.24162664821681545,0.48797019374611317,-0.008253544404859259,-0.16519347058809974,0.10780734051458629,0.0713005956558872,0.012322478945441473,0.20135719361102122,0.48504554796060084,-0.04234155619117286,0.09423701642210291,-0.24055935708411624,-0.4138177033920234,0.48953947098263995,0.46865845452449184,-0.06093607820400648,-0.10557490452235019,0.16201609406496775,-0.3383719418505433,-0.27212005410054263,0.01875858220491855,0.2805882875164809,-0.10126261145212023,-0.09651720583357148,0.19676205326595797,0.37573489662268167,-0.4122202293823065,0.3160557560161892,-0.020537334889800585,-0.49234175678708403,0.2625669293820705,-0.06993633436982027,0.38927566277604164,-0.21252300302680638,0.3596945004923504,0.30131265989435474,-0.12908723819695567,-0.37299399745094863,0.17542543251729592,-0.2316945788377074,0.2805864416512922,-0.26735650390712307,-0.26196745814345523,0.10499658478792795,0.4812341195104559,0.34322612340508285,-0.3282389441101765,-0.41394061945725436,0.12877655213657202,-0.0721170452519968,0.03146770558559853,-0.08614330944624493,0.4717899453012384,-0.47291192171967733,-0.29678169419856903,-0.33533539815899727,0.1505082721488844,0.24412046087700578,0.2832448486360717,-0.10656287620266003,-0.4509405849746526,0.06964943367941712,-0.22791917395220596,0.44528847188293974,0.039071447219301225,0.08428864274915182,0.46582373291039847,0.4347078945610694,0.20540146343634214,0.31840042607143393,0.42917880738899683,0.3200869654389227,-0.13281510975007182,0.04351964249144391,-0.18737439618476892,0.21266401311486272,-0.3210134328345611,0.4383630936314318,0.15900610173020202,0.2000667854226963,0.3212222387317507,0.29236720043076225,-0.3179654941822063,0.30195703652253014,-0.37912128727466676,0.2326110359254332,-0.16957608080885755,0.08542327722026521,0.06243895667643273,-0.21313044525541902,-0.3771976551620402,-0.2381202543447385,0.06543007472133477,0.2863483559122002,0.2067753623061681,-0.018298547836424817,0.04487284883524434,-0.42641642255439427,0.43844970023412655,-0.3988277838333567,-0.32819586064789563,-0.011814479788761156,0.014193513273550229,-0.1613787578353314,0.4287972335778092,-0.34787454589981914,0.44877018056985385,0.4687968094250563,0.22151231390972637,-0.28920766296086486,-0.3010032915041223,-0.30930687025031967,0.4551700985556715,-0.4988526004452256,0.16571125073989257,-0.1633830785299173,-0.069276734527846,0.3005707284450647,0.15699263151281317,-0.27377688493880425,0.49436955264587357,0.473232960084367,-0.3749937923135207,0.12377326873670214,0.35885285758328855,-0.4230222360733684,0.48091463420646985,-0.3965994117338316,0.403013936556895,-0.18820416559745068,-0.24460403111516937,-0.15019061312113546,-0.2079943604286798,-0.20661050393473923,-0.09035328518374053,0.4002472801851724,-0.13971307594473936,-0.23480491762558064,0.07637176577273452,0.2374218578370264,0.15480612145520434,0.4322831353216141,-0.014442977941445667,0.33578450501535206,0.4889852088161746,0.3862850755242666,-0.056466904569528964,-0.37833487580617153,0.10804040768357659,-0.11672734356267211,-0.1438472649858169,-0.2550166855508651,0.23736543815935218,0.47237586976434276,0.0710216941198778,-0.2978681332340507,-0.04748432104541056,0.07988311927590819,-0.1981999893430939,0.40640889379118583,0.4596186124944235,0.03565216884050382,-0.056589760899735886,-0.3416842833991365,-0.46284268214216695,-0.4992358843311122,0.13038920860451686,0.054384450108024396,-0.47280592937503907,0.47318709720223384,0.37372580112700526,0.05338512693293662,-0.33427613520998145,-0.1577167863427733,0.08465230627639908,0.34162409244650815,0.2761037117058882,-0.21434624718481032,-0.4421088400707953,0.38353807301349163,-0.2718307419383108,0.32662998028485,0.45793692730397484,-0.11397684751216519,0.4388715215336265,-0.16042413243676013,0.29332729136752556,-0.39060007920629203,-0.25256203901735264,-0.031241672207557247,0.06788063751324258,0.3238327779710948,0.403091585328613,-0.29716016557655434,-0.023918949460738803,0.2891948081462392,-0.39557045756427445,-0.41892203392788874,-0.44491543262028443,-0.05551124891622372,-0.06255721676830062,-0.05730432758553605,-0.44702514871082055,-0.005480020283000098,-0.1649054573017208,0.3303654757484076,-0.47071180071670726,-0.4693021671779709,-0.2337858253280094,0.1862557184516418,0.4463705606864947,-0.1298738615326971,-0.20338285911751797,0.39324220444900204,-0.16141505408044665,-0.12956298057671467,0.08745361242262484,0.35868535756413844,-0.10260076242935767,-0.4270815505194603,0.3326599390198457,0.49153949881441217,0.24152897045206667,0.4794054561881007,-0.2762456726210718,0.06577469071201625,-0.10895176367993487,0.3084903186201806,0.35441800633367126,0.2661844274168379,-0.029768011669333072,-0.33042891233604754,0.1897527600848321,-0.4641532610042034,0.4862053282294685,-0.19552765155831597,0.07037781667267318,-0.22367857985174067,0.04734751498919554,-0.26378940034319864,-0.42775290053147486,-0.22042171765228624,0.03761579641738555,-0.4532758237972643,0.37695041409855623,-0.00782686206874672,-0.3165218694694645,0.4854702618949167,0.0645423107427694,0.26920979665110845,0.3487742526230482,-0.04172403938775293,0.18669798198493415,0.18055165030797493,-0.23015573973754688,-0.13662401840872085,0.2093768376375711,-0.3739644928756296,-0.16311115989877045,0.20246498442407557,0.1030233982958848,0.08508647635539046,0.3161728381081008,0.17669194343696715,-0.3838788775631572,-0.22913089781711138,0.16186979139921864,-0.2302887229819448,0.12679867019951518,-0.239135488903512,-0.4966132218546291,-0.09332733781138791,-0.07532626338940629,0.45568876012262094,-0.25164145363964074,0.2951632015374168,0.30984371480743533,-0.09528178881203564,0.2468359501817461,0.1845151821714297,-0.28125311481535675,0.047492687276655676,-0.3505954994566196,-0.019156733991672725,-0.4063754512634614,-0.028687513735059955,-0.08695408877135691,0.36867601376080694,-0.18133473872457317,0.3910581868276395,0.16535050561552578,0.11159728583423645,-0.07244919849485698,-0.3331640905561757,0.4547816469873558,0.4388921782820181,0.45631418024057924,0.2017649826725103,-0.05907484204767344,0.3570063193698054,-0.4453141597759016,-0.46505941792639316,-0.2648263230355228,-0.15468350796590236,-0.3930697938835366,0.21816887016412045,0.40238599236810635,-0.48294748007307664,-0.015287430375655164,0.3753246861123438,-0.10259269637222967,0.42349747222573964,-0.07859876566573609,-0.16927667144780978,0.16784528711865687,-0.16531198860753538,0.34548145648812545,0.33775174830988464,-0.3185677529490061,-0.40889750769346467,-0.4677800050724241,0.2900097885304205,0.27653724937251645,-0.18015264362650663,-0.08754009411579866,0.09333380807608105,-0.18006680297501076,-0.33613497126188396,-0.28463134843596016,-0.4376124325033617,-0.20747374198085877,-0.46613117109673996,0.06470783876601671,0.03560168280595155,0.13497840891788981,0.15820398250075063,-0.31979867130046236,0.2598868967122161,-0.04922916956823764,-0.23778653802963312,-0.16751385934130303,0.14455187098951772,-0.17563701138979626,0.4185042306872935,0.025061167179305066,0.09708238627577015,0.07295752016370538,0.2037818562671454,-0.30548519520059725,-0.15430843089558888,-0.12185813875979079,-0.37864134537371874,0.3285526921668436,0.41074034172646057,0.24877777626061004,0.10232998036874119,-0.4882794709300404,-0.2658037194708345,0.4721049820318166,-0.47641689487587,-0.4768345356852708,-0.32948115929741517,0.3549092623025425,-0.25631588306897024,-0.46977583083004326,-0.2694672271744303,0.47590093845602355,0.25301571391516053,0.35371939725682644,-0.35056448941086127,0.0086672234063776,-0.19332361092952755,0.40055345049663726,-0.09044503503350865,-0.36912636879797045,0.2061392181605186,0.404163667345671,-0.28367414635825483,-0.06448357785376979,0.42238466903472704,-0.043630555886522204,0.20419114408037742,0.20382529595604915,-0.07066001194180038,0.4729182409642594,-0.33655106405067436,-0.4188972659011394,0.07015160473502147,-0.48417592171878465,-0.05508552832444935,0.25895533639471635,0.15583574325545224,0.1866325980872996,0.34216729239244326,-0.3643590675430193,0.00039377454988476224,-0.25871299007172976,0.2519080569007768,-0.19613192051951445,0.48960938514398755,0.19848065759497913,-0.12995462448546702,-0.4488654521109219,0.2541319993748343,0.09096165316387705,-0.47759504779803397,0.21506760622981913,-0.2565977919347229,0.19254714803266304,0.2653708661300589,-0.481186879334887,0.4733377178515459,0.4857188521720621,0.07808644723160474,-0.049983008877064306,0.3376693891230522,-0.4767151178927711,0.4747857873561101,-0.03585625957382699,0.00602525382852015,-0.16492974232064395,0.32398880920414275,0.06763184511790965,-0.32103213594856417,-0.45551268680333523,0.14678993232698345,-0.41227583287455594,-0.42296158870603273,-0.2566675288303233,0.10797307511133414,-0.24701622544468305,-0.04432236887456442,-0.06307860563453405,-0.47519449603981423,0.4927251727698143,0.011052064364905023,0.25520909650880896,-0.38201019514401735,0.029357313970439947,-0.28261906567307093,0.1810967527513314,0.24820476088298427,0.4156509525757237,-0.2920505738916521,0.21359391881476664,-0.37179419156258886,-0.4792188824096426,-0.06322563621264643,0.14272098287315438,-0.3028730361134835,-0.411770931346082,0.1061940496060223,-0.44353515555829914,-0.4422049277736295,0.3200369763785258,-0.07014986363573716,-0.0798028118426366,-0.14644610853271645,-0.031174053551209724,0.4820029050348178,0.26200820862616037,-0.2686355362356083,-0.1602844701738375,0.31026910673028696,-0.4526980324036196,-0.11151284085323931,-0.12719230152012795,0.11850599105197013,-0.326375145692823,0.19694930665824684,0.05676182075040437,-0.10590951012358296,0.07342754321906098,-0.35468603255401243,-0.45820902946483466,-0.2077070095165654,0.11333093647860037,-0.48335690451536584,0.18156769156533747,0.2800794391930501,0.06987694250985821,-0.1960811877855928,-0.02825201867432603,0.474587919269994,0.34933041229270545,0.10660877721215023,-0.4448484223865752,0.21470699143321692,0.03548006312112961,-0.4320364879897358,0.14479976020305996,0.2917347052052315,0.155973622159312,0.049296227756043365,-0.44756601431312193,-0.46274540429336253,-0.41233118056156304,0.2548665420568905,0.05796779095157323,0.41068745533509565,0.45720012084099815,0.01917046753502194,0.29192753924854387,-0.37297262307509427,-0.40372346248769886,0.02261437324484805,-0.2688620625578759,-0.22260309251193777,0.39017934062358095,0.2925306446299034,-0.28163576406541124,0.4321479042495926,0.0764071861711364,0.41457905260373873,0.13258121184216898,0.020045509255052885,0.43842438937202766,0.2729064030102224,0.035496078610075976,-0.21181771138047112,0.013470995873272162,0.3602890877332485,0.30036271545780147,-0.4997393760240767,0.18619857577839016,0.39190451868043064,-0.2458011440137271,-0.04820312065834398,0.1300073461489275,0.1459763645326746,-0.12622822178934934,-0.3887090879782944,0.4437341087565039,0.04744795523146261,-0.20701132622641238,-0.13048205452067374,0.2982618494881031,-0.492221136292325,-0.013852867224688481,-0.2178785297744057,0.027567633458459584,-0.42614164170240176,-0.2818217399856884,-0.3028640839419472,0.17591130305297198,0.17614515696717636,-0.2989573394325782,-0.029353088347672696,-0.06386494355276784,-0.26982474918808785,-0.11193697689721893,-0.09820723146683319,-0.2989826617607345,0.20746804372639915,0.2973678879352677,-0.20542383860035596,0.10500903950593177,-0.4047256556248764,0.4307599947856007,-0.24651831225632126,0.1649499170837978,-0.36418988192486323,0.06826843135046712,-0.3855149102208164,-0.2680417048631807,-0.3143686496513163,0.07886753095754484,0.32168389025093047,-0.348949793931701,0.4263428266991993,-0.44701952280961565,-0.1427039848781808,0.4910431464101548,-0.03844034245107153,-0.29849488382376665,-0.047365153393703174,-0.4840421419374612,0.027804863283741543,-0.12654519719679302,-0.2704878634382675,0.29686029912340794,-0.12915216455845258,-0.2674223596227534,-0.2535706926055066,-0.12425603122244433,-0.3845098663684907,-0.2699104324761188,-0.06331437544557694,0.39000112590702773,0.2038747810566377,0.11753403740499335,0.4120950944677517,-0.2868716007666088,0.18935415334628813,-0.31562466048477744,-0.1889647616620176,0.05521843748014921,-0.016869842687507353,-0.15986213956187645,-0.23994987554230662,0.03132378490003851,0.2540853547634079,-0.24946308688585161,-0.07129164314953607,-0.1637650935530266,0.2737437618336349,-0.07290121637058666,-0.4658061980050541,-0.40305475786945744,0.268406406276146,0.3151539642950487,-0.2790379291660463,0.25241342037869074,-0.13171672400970214,-0.35000602845002526,0.3018981780414842,0.3314815928469168,0.057147175090195956,-0.2726726163123725,-0.3738081318150255,-0.44893881797580915,0.42917416633521266,0.3668352467466163,0.4894081163527493,0.07066456449623315,0.11938314171951636,0.25880589748373506,-0.4299753316856514,0.24206220013176982,0.39954541607770033,0.3816995916368855,-0.4956252323243233,0.45916852779121053,0.2986253201224536,0.2848696916032356,0.18595054788448673,-0.14205329224141305,0.054877185450147525,-0.15282518664697808,-0.20297927901186075,-0.45073719757289976,-0.042559384205076656,0.20856983824803788,-0.13943113470049062,-0.2999375675382203,0.4188693181701544,-0.4011984314195063,-0.21422202032588067,-0.02630770464743648,0.48534533427653814,-0.411502190387665,0.20843243718063253,-0.33639351154409547,0.3927757129891407,0.24650100736642333,0.4572741624674599,-0.35528574952283476,-0.15247202102545399,0.2857088548876787,0.25643368929977317,-0.01393002605515492,0.4364824427422884,-0.02182990940334073,0.32234111840663027,0.3589586326847656,0.15031035173371032,0.012646121015884804,-0.07566297621706997,-0.2609187997690243,0.154464653606605,-0.2682514397177451,0.14540403825893855,-0.1885941022564035,0.3265098732820879,-0.3099273152182884,-0.22992729678528678,0.3380673151583473,-0.0320055007238651,0.28357215669629565,-0.1065729666088544,0.0726535835195925,-0.25278212180241333,0.4033834950913062,0.21915238862670794,0.17041136997418316,-0.09779314402786654,-0.49745004248264535,0.4078077601896668,-0.348229420400469,-0.04298873849648577,0.17887022487950688,0.08107476722444273,-0.18302009298368715,0.02300352675639461,-0.30345532089487004,-0.15012867264629426,0.03583849046979326,-0.06407407622469652,-0.40415618533633957,0.45084152276689937,-0.08436737001368844,0.22555784750966756,-0.14914599329514378,-0.061480594817297396,-0.036788421284886574,0.17886970924716272,-0.2964408079180241,-0.20804638898366168,0.1672439963756187,0.3719165868180798,0.4435978732468062,-0.37913367126631714,-0.04621178288199257,-0.06671698177018048,0.3264285392722792,0.3745075994749829,0.3069155363698617,0.1484008673751418,0.482244213639452,0.3165536956320345,-0.015356221332195163,0.4532038492509196,0.14872803373420118,0.005026373135357698,0.1304988252906054,-0.3804375644801765,-0.4415071937089792,-0.47319362587254754,0.2543415989459712,0.3595684626266433,-0.003690043116201247,0.4457125315458623,0.3236645533126672,-0.39728517907745586,0.11341368577518796,-0.4490251594095902,-0.20976741018380674,0.3965384386862323,0.41448575338556437,-0.346575298322076,0.3556572901143582,0.14594394151951628,0.07408837416202707,0.288105283745659,0.22364379590757744,-0.21315943180204222,-0.3903715539268595,0.09216921176500503,-0.02577597812273602,0.4875577265032802,0.10764356826020594,-0.15952814038770669,-0.3677134520527816,-0.1619899682943442,-0.08928916718707813,0.2613403437284403,-0.3837618462980368,-0.15174457176585743,0.489363639785213,0.33313375851787885,0.16981745225220224,-0.08468319238856825,-0.075831514301957,0.3467577419561807,0.2602842005925876,0.15824060410591434,-0.42110294907725354,0.009044614795158612,-0.18365845065051323,0.45745430343526583,-0.009829550809792975,-0.18663126447730027,0.07640514891470906,-0.3030795286919774,-0.12180151903696479,-0.3574741419094525,0.214307710829992,-0.3595164379949496,-0.07805054169260428,-0.3045059914070931,0.14599231597683304,0.12487441818262646,0.020404920924842473,0.46099911623235945,0.33305477737756806,0.38522583942777344,0.1049428244348869,-0.06190439546086046,-0.23592739596950696,0.41756679848563705,-0.15579368428939344,0.17995525424820435,0.14785542901567883,-0.24172682974281656,0.33106039631682926,-0.4805600635871128,-0.42852909092866964,-0.3739467911145864,-0.06799211601198296,-0.13752331655093242,-0.3635414847199825,-0.39241871070139966,0.18830554890591134,0.2052202721146057,0.41911596209422,0.22730101760712462,0.2378500598331834,-0.2619039553434832,0.28113578925167504,-0.130712471937382,0.46739114287235894,-0.4161578618956574,0.010159117320979849,-0.22045832482323902,0.10099910286291802,0.28057350691295957,-0.007867672188952124,-0.4755205179449229,-0.16008689224735062,0.045897166495427744,0.1416580611317526,-0.13353501464507955,0.10503712214910865,-0.0957427826739401,-0.14428105667589364,0.01988314946973002,0.44264489032621523,-0.31821767338782037,0.20961443076878572,-0.15806275342495102,-0.31830631699371037,-0.23215288379567944,-0.33903835520121306,0.0768085972530026,0.22964926020741117,0.254465558539795,0.4530870824471278,-0.49708403105502175,0.10803507072909069,0.4661321059926382,-0.036853492623446726,-0.256617818982082,-0.18433630199995066,0.18433858469470588,-0.27353363972484934,-0.17238405393426737,-0.24407788058611035,0.23668255320896336,0.42059490163304236,0.12440836440939962,0.31250464013199886,-0.3281474793267276,-0.33846307009587373,-0.12680705011609583,0.15345036198588202,-0.15866810929055197,0.247362926740059,0.4968748457919725,0.39855705277020625,0.3847182240844984,0.47886563414113903,0.46321222972009823,0.08063816544663038,-0.31594083524747263,0.28154529095448355,0.15792149512670584,-0.35336039724147716,-0.3659252436546758,0.32390069828133283,-0.35655253375507345,-0.29070237223353024,-0.4934256828601755,0.4763329854535019,-0.3845068262455107,0.06372667885819516,0.11086777479501109,0.048319496218582225,0.1843164484367239,0.32382576605060365,-0.1630956566264965,0.03156887266249586,-0.20629187146645744,-0.3149590520902943,0.41172393404290264,0.08028496936290841,-0.1505686140376694,-0.01483796542466731,-0.43556438410326836,0.4149205854136757,0.23960688127209995,0.18259125516831287,0.4032089463189308,0.16509372414778567,0.2941452201477224,-0.06458049131907595,0.03790849658676532,0.4865969781815773,-0.1729510879894487,-0.2852618065925072,0.23714971708277854,0.41900498349929327,0.23282745416285544,-0.03366928199303665,-0.26661792646483007,0.406311785938662,0.03053370220323126,-0.24187264239936934,0.19090750990607774,-0.4498488994077836,0.26434608583102537,0.3824004863157906,0.03139326341024962,-0.33329345244585196,0.034031548357111197,-0.30636944782479425,-0.41823841900492575,0.04946727172814658,-0.3408399731754914,0.48724325165888716,-0.0527738522889345,-0.19822879569847274,0.12379962767856445,0.07410888755675549,-0.027144891345608935,-0.07989789803463054,0.17552305324373396,0.07772077424024748,-0.02984232294530842,-0.19078944413408205,-0.06961627722009012,-0.03685732845179257,0.1373567893420533,-0.23989207785396105,-0.1996614145472051,0.46558935479007,-0.019684752719070664,-0.09342607437369144,-0.44022319896343776,-0.432113153762802,0.38621575276352593,0.3141848907811542,-0.26701377160205886,-0.42953402692179843,-0.32579038543071204,-0.4361263977745451,-0.448385972527209,-0.1237266381547204,0.09868058765711019,0.42688630847392806,-0.4707035359242093,0.4875615058310019,0.2070505757837353,-0.48672974251546663,-0.32403086274784054,0.34897956541112096,-0.07097142146858704,0.26369840693938773,-0.1799020705095491,0.17371476813578846,0.3465581639374866,-0.07800512853502317,0.31344458231249694,-0.33585678279021103,-0.1566345592429923,-0.41414285698447517,0.0627657413546181,-0.27722993433692755,-0.3558994653597567,0.4099230170987722,0.49055100398554985,-0.1283903415542036,-0.4114233103246414,0.4664097535592773,0.14453044973182227,0.23834523187487222,-0.2441449121296384,0.2310569259085875,-0.007967074226088888,0.386492209958891,0.17665290617408935,0.14897869003324637,-0.013042067892923281,-0.24788027760988696,0.08484810211984906,-0.060811210195857335,0.26780330582976286,-0.07828639728406328,-0.3300064370473912,0.301966952575512,-0.46610769114431827,-0.12175931678324492,-0.1405473419968608,-0.08547681023503673,0.2710248281783969,0.37160461094774533,0.36406506592811794,0.15091677056939612,0.3413049461618778,0.2809690405872045,-0.27155912838701024,-0.22453209505337268,0.019298436893381954,-0.32421091569111704,-0.452841636695692,0.08374843562067702,0.18095520949281685,0.4806900827444074,0.49066424900313677,-0.07207495016848986,0.12823781786283428,0.33425404730166663,0.06689100244737523,-0.23308636437634855,-0.3586968889032811,0.026374962864006646,-0.10489745505556392,0.3958209310089431,-0.4780315960599173,-0.1524374749533839,-0.45741104647040465,0.38562242518221446,0.4060146786775043,-0.41784667198182013,-0.12365864679218452,-0.22627085819165904,-0.20557106476946996,-0.47805723458716365,-0.47869289099440193,-0.25713010513286405,-0.37928981732791933,0.027459634344009887,0.44836409291926027,-0.4586934477283775,-0.24353557487831323,-0.17982305940091714,-0.4601801890407291,-0.07539495546119701,-0.3059430325067958,-0.455263749662423,-0.1587459492485881,0.4738606519540012,0.28685110938498104,0.05876650406725603,0.4280703730517941,-0.41701603188950553,0.3149974037997023,-0.2819048083747393,0.34436153158205385,-0.39265002563458307,0.47715050626709465,-0.4742758321720524,0.12257186193587222,-0.17182902840627445,0.044556113631603944,-0.39444997416761485,0.06889547626314041,-0.18255336359541507,-0.16431146636078897,-0.46211768956883326,-0.1712989951320456,-0.2970993340670338,0.05861178370078646,-0.469066758583766,-0.028324358000833882,-0.2072936989165688,-0.1908812187667257,-0.3817711682095297,-0.2514265378618694,-0.11859579128647546,0.3126494340382868,0.21825039891956188,-0.4068134785410882,-0.2185529219939384,0.05189831013698276,-0.13236052034645107,0.28290283135664507,-0.3228332413830939,-0.13660209835119352,0.09383997108381315,-0.2365723283842427,-0.41064372035895924,0.14181173743216302,0.37981493440412706,-0.3470764234708892,-0.2546089293060283,-0.33283578743854947,0.2488138861646647,0.015354934079789162,-0.2353586319397618,0.24054458825969727,-0.15680683311222654,-0.46899370677757,-0.22602051350019825,0.046994888309270344,0.430175747130066,0.29293384880200835,-0.48987950935302904,-0.0006918102235990986,0.4162211635949855,0.39076982727748,0.18613771864251483,0.33781844430501495,0.2052560224319353,0.1618047920136778,0.053413201038293945,-0.2503312033354317,0.4817833375994649,0.3249477612828833,-0.06559377828073365,0.18950247291648314,-0.2764230054585315,0.22101387173491238,0.3096793112568763,-0.3515513427620818,0.4126987837399021,-0.09629040808208678,0.4467423525480618,-0.3149310641195,0.46787533710663864,0.4107105548578216,-0.21726196968628075,0.1310882610353712,-0.2917244852910532,-0.3464940200228901,0.08325437873332064,0.32934989203656073,-0.2309753291087051,0.12218133749596416,0.08077600330376966,-0.479378888669294,0.487620990931805,-0.058581139962760265,-0.4812083324978831,-0.11640943976121343,-0.07227632239177417,0.05345088968023903,-0.3113728017816906,-0.30359956871551996,0.1849097170527385,0.4917475262480515,0.07961740383172122,-0.23045242220341455,0.3554506859075799,-0.36230339844800286,-0.21504490065994464,-0.15608953505162915,-0.020851062810496312,-0.3540831154054631,0.3085744546858513,0.4818801930367502,-0.3537619009857438,0.19184113199476283,0.424028869861121,0.28993042479617426,-0.030481225131996803,0.43381958270118304,0.032530829007556994,-0.3647073937710208,-0.2285793684580275,-0.25004263926962955,-0.34051139550167275,0.1273005384480177,0.04271422616150988,0.058997056695555994,-0.12673276422527002,-0.1018713614235669,0.15076674059112105,0.057609997202601404,-0.3407448069690868,-0.21048923942858822,0.27538044494056146,0.16309074957092196,-0.4014818452186384,-0.13283495382468113,-0.17482477429276067,-0.3553347523599295,-0.12457739890761044,0.19528146405046098,-0.35202782961872736,-0.436267795965374,0.2936036795510635,0.47329905089792557,-0.030942269508984266,0.0029874964634017953,0.1502528590795773,-0.005305627701024163,-0.010203275517944865,-0.32521565151678256,-0.4531908868108323,-0.0686918488605337,-0.2713723599610409,0.32900955491195116,-0.3837653045627534,-0.17238145640911062,-0.1959596295224959,0.20042449347329905,0.3408294656946369,0.25854843937289806,-0.4943175417922412,0.357806030279185,0.08894382081253216,0.3619541497149703,-0.49725856657249334,0.4994452458527894,0.0332116428016187,0.1642756438549693,0.17851848771106105,0.28404638829862106,0.18045415231210904,0.2740795220612482,-0.41397816872392057,-0.09899335784583285,0.11871972052200519,0.011584313931758183,-0.03279573327924057,0.47986231433649307,-0.3712518763780832,0.303759576840096,0.22202442821692525,0.49017867639031776,-0.0006198768314338299,0.3301924715176492,0.4373762512755348,-0.09545505482971395,0.15556599589462738,0.37978398848587536,0.4768085389101324,-0.411409300265535,-0.33907434606650444,0.1642675700124081,-0.43459379858933733,-0.29577937064606297,-0.4479156497651866,0.0789139370021128,-0.3034458957221886,-0.11840977385804496,0.344782129608205,0.12216196070182206,0.4321387916697499,-0.023162305178701548,0.1968781877949124,-0.1852201817008825,-0.2262445689110706,-0.284310289402778,-0.4498967561145719,0.07520262065522387,0.2824010404956241,0.07451494439959538,0.4657474851008221,0.11412369059305871,-0.058739705157967226,0.19483684988954897,-0.42938380780327723,-0.40313854407989025,0.058140988083682066,0.4726091442154874,0.4652826051236476,-0.12442743532952782,0.4563991923345476,0.1642794459334469,0.25544922462963493,-0.20166398145908015,0.48107892866023994,-0.03649086783701461,0.457762308091451,-0.078825518537319,0.20083951087465146,0.19623136994910473,0.3349856274336256,-0.16748909364815057,-0.37600485049854426,0.23323313567978188,-0.06628101051516033,-0.2599199501660334,-0.4620106670572295,-0.48385688971304464,-0.23018108954555627,0.4773340078645838,-0.018167331693436317,0.4918035275883428,-0.05237603327966878,-0.11852537148260933,-0.07540315967530842,-0.015293151456739595,-0.37806378505887084,-0.1760161729277725,0.1448810070455313,-0.054568623407738714,0.37602895622272814,0.14987428928515967,-0.33264215223872884,-0.27431495853320653,0.169573099606402,0.29993164805100103,-0.10789286551601451,-0.2802244986305378,0.20853840176065397,0.3743194312329261,-0.45165230699694203,0.33118313208424865,-0.3943482561381364,0.462419644894843,0.26432665334702343,0.04530578845657662,0.43990944415010813,-0.0631902915191882,-0.048502203261885146,0.3123160560922278,0.4103699441909219,-0.41133317808747294,-0.1274936322989455,0.33765958662130213,-0.055353412655869016,-0.2502751816280049,0.33339635871299067,-0.36002276953518586,-0.3989737587851434,0.23289803227216832,0.06979378319052976,-0.23559870655141557,0.4617893904955126,-0.39328664523552415,0.2134014828026607,0.16613874819230046,-0.2788501564201349,0.18647838883121204,0.15348621780146576,-0.19162209585992307,-0.17458892020929162,0.03433770209986964,0.3350614660614757,0.2539554851929686,0.10845021447814984,0.21186570926097104,0.48590751499862095,-0.49603740223660986,-0.07305716554549813,-0.04686287081532625,0.4203990378027447,0.08539422206149894,0.1071013647883905,0.3114897499601921,0.18276977339224487,0.12485999267689007,0.25824869282166407,-0.15906702398682704,0.07361490469721343,-0.44486334332690136,0.4146156848069529,0.3326730475230768,-0.4803384953737262,0.36561572509385387,0.16233079671488237,-0.08502069479713326,0.3283164890951431,-0.14866421613256353,0.29119250591306267,0.2013125104884752,-0.46895709073350167,0.09688961656363992,-0.4745293477392236,-0.3310211670545291,0.4059350065602494,-0.22202438076392705,0.1701206040950598,-0.09158390158898655,-0.28326266744749784]} },{}],56:[function(require,module,exports){ (function (__filename){(function (){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var tape = require( 'tape' ); var NINF = require( '@stdlib/constants/float64/ninf' ); var PINF = require( '@stdlib/constants/float64/pinf' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var isNegativeZero = require( '@stdlib/math/base/assert/is-negative-zero' ); var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); var copysign = require( './../lib' ); // FIXTURES // var data = require( './fixtures/julia/data.json' ); // TESTS // tape( 'main export is a function', function test( t ) { t.ok( true, __filename ); t.equal( typeof copysign, 'function', 'main export is a function' ); t.end(); }); tape( 'the function returns a double-precision floating-point number with the magnitude of `x` and the sign of `y`', function test( t ) { var expected; var actual; var x; var y; var i; x = data.x; y = data.y; expected = data.expected; for ( i = 0; i < x.length; i++ ) { actual = copysign( x[i], y[i] ); t.equal( actual, expected[i], 'returns '+expected[i] ); } t.end(); }); tape( 'if `x` is `NaN`, the function returns `NaN`', function test( t ) { var z; z = copysign( NaN, -1.0 ); t.equal( isnan( z ), true, 'returns NaN' ); z = copysign( NaN, 1.0 ); t.equal( isnan( z ), true, 'returns NaN' ); t.end(); }); tape( 'if `y` is `NaN`, the function could (theoretically) return either a positive or negative number', function test( t ) { var z; z = copysign( -1.0, NaN ); t.equal( z, z, 'does not return NaN' ); z = copysign( 1.0, NaN ); t.equal( z, z, 'does not return NaN' ); t.end(); }); tape( 'if `x` is `+infinity`, the function returns an infinite number', function test( t ) { var z; z = copysign( PINF, -1.0 ); t.equal( z, NINF, 'returns -infinity' ); z = copysign( PINF, 1.0 ); t.equal( z, PINF, 'returns +infinity' ); t.end(); }); tape( 'if `y` is `+infinity`, the function returns a positive number', function test( t ) { var z; z = copysign( -1.0, PINF ); t.equal( z, 1.0, 'returns +1' ); z = copysign( 1.0, PINF ); t.equal( z, 1.0, 'returns +1' ); t.end(); }); tape( 'if `x` is `-infinity`, the function returns an infinite number', function test( t ) { var z; z = copysign( NINF, -1.0 ); t.equal( z, NINF, 'returns -infinity' ); z = copysign( NINF, 1.0 ); t.equal( z, PINF, 'returns +infinity' ); t.end(); }); tape( 'if `y` is `-infinity`, the function returns a negative number', function test( t ) { var z; z = copysign( -1.0, NINF ); t.equal( z, -1.0, 'returns -1' ); z = copysign( 1.0, NINF ); t.equal( z, -1.0, 'returns -1' ); t.end(); }); tape( 'the function supports copying a sign from `0`', function test( t ) { var x; var z; x = 3.14; z = copysign( x, 0.0 ); t.equal( z, 3.14, 'returns +3.14' ); z = copysign( x, -0.0 ); t.equal( z, -3.14, 'returns -3.14' ); t.end(); }); tape( 'the function supports copying a sign to `0`', function test( t ) { var z; z = copysign( -0.0, 1.0 ); t.equal( isPositiveZero( z ), true, 'returns +0' ); z = copysign( 0.0, -1.0 ); t.equal( isNegativeZero( z ), true, 'returns -0' ); t.end(); }); }).call(this)}).call(this,"/lib/node_modules/@stdlib/math/base/special/copysign/test/test.js") },{"./../lib":54,"./fixtures/julia/data.json":55,"@stdlib/constants/float64/ninf":42,"@stdlib/constants/float64/pinf":43,"@stdlib/math/base/assert/is-nan":47,"@stdlib/math/base/assert/is-negative-zero":49,"@stdlib/math/base/assert/is-positive-zero":51,"tape":177}],57:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Constructor which returns a `Number` object. * * @module @stdlib/number/ctor * * @example * var Number = require( '@stdlib/number/ctor' ); * * var v = new Number( 10.0 ); * // returns <Number> */ // MODULES // var Number = require( './number.js' ); // EXPORTS // module.exports = Number; },{"./number.js":58}],58:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // EXPORTS // module.exports = Number; // eslint-disable-line stdlib/require-globals },{}],59:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Create a double-precision floating-point number from a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer). * * @module @stdlib/number/float64/base/from-words * * @example * var fromWords = require( '@stdlib/number/float64/base/from-words' ); * * var v = fromWords( 1774486211, 2479577218 ); * // returns 3.14e201 * * v = fromWords( 3221823995, 1413754136 ); * // returns -3.141592653589793 * * v = fromWords( 0, 0 ); * // returns 0.0 * * v = fromWords( 2147483648, 0 ); * // returns -0.0 * * v = fromWords( 2146959360, 0 ); * // returns NaN * * v = fromWords( 2146435072, 0 ); * // returns Infinity * * v = fromWords( 4293918720, 0 ); * // returns -Infinity */ // MODULES // var fromWords = require( './main.js' ); // EXPORTS // module.exports = fromWords; },{"./main.js":61}],60:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isLittleEndian = require( '@stdlib/assert/is-little-endian' ); // MAIN // var indices; var HIGH; var LOW; if ( isLittleEndian === true ) { HIGH = 1; // second index LOW = 0; // first index } else { HIGH = 0; // first index LOW = 1; // second index } indices = { 'HIGH': HIGH, 'LOW': LOW }; // EXPORTS // module.exports = indices; },{"@stdlib/assert/is-little-endian":34}],61:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var Uint32Array = require( '@stdlib/array/uint32' ); var Float64Array = require( '@stdlib/array/float64' ); var indices = require( './indices.js' ); // VARIABLES // var FLOAT64_VIEW = new Float64Array( 1 ); var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer ); var HIGH = indices.HIGH; var LOW = indices.LOW; // MAIN // /** * Creates a double-precision floating-point number from a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer). * * ## Notes * * ```text * float64 (64 bits) * f := fraction (significand/mantissa) (52 bits) * e := exponent (11 bits) * s := sign bit (1 bit) * * |-------- -------- -------- -------- -------- -------- -------- --------| * | Float64 | * |-------- -------- -------- -------- -------- -------- -------- --------| * | Uint32 | Uint32 | * |-------- -------- -------- -------- -------- -------- -------- --------| * ``` * * If little endian (more significant bits last): * * ```text * <-- lower higher --> * | f7 f6 f5 f4 f3 f2 e2 | f1 |s| e1 | * ``` * * If big endian (more significant bits first): * * ```text * <-- higher lower --> * |s| e1 e2 | f1 f2 f3 f4 f5 f6 f7 | * ``` * * * In which Uint32 should we place the higher order bits? If little endian, the second; if big endian, the first. * * * ## References * * - [Open Group][1] * * [1]: http://pubs.opengroup.org/onlinepubs/9629399/chap14.htm * * @param {uinteger32} high - higher order word (unsigned 32-bit integer) * @param {uinteger32} low - lower order word (unsigned 32-bit integer) * @returns {number} floating-point number * * @example * var v = fromWords( 1774486211, 2479577218 ); * // returns 3.14e201 * * @example * var v = fromWords( 3221823995, 1413754136 ); * // returns -3.141592653589793 * * @example * var v = fromWords( 0, 0 ); * // returns 0.0 * * @example * var v = fromWords( 2147483648, 0 ); * // returns -0.0 * * @example * var v = fromWords( 2146959360, 0 ); * // returns NaN * * @example * var v = fromWords( 2146435072, 0 ); * // returns Infinity * * @example * var v = fromWords( 4293918720, 0 ); * // returns -Infinity */ function fromWords( high, low ) { UINT32_VIEW[ HIGH ] = high; UINT32_VIEW[ LOW ] = low; return FLOAT64_VIEW[ 0 ]; } // EXPORTS // module.exports = fromWords; },{"./indices.js":60,"@stdlib/array/float64":2,"@stdlib/array/uint32":7}],62:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var isLittleEndian = require( '@stdlib/assert/is-little-endian' ); // MAIN // var HIGH; if ( isLittleEndian === true ) { HIGH = 1; // second index } else { HIGH = 0; // first index } // EXPORTS // module.exports = HIGH; },{"@stdlib/assert/is-little-endian":34}],63:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Return an unsigned 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number. * * @module @stdlib/number/float64/base/get-high-word * * @example * var getHighWord = require( '@stdlib/number/float64/base/get-high-word' ); * * var w = getHighWord( 3.14e201 ); // => 01101001110001001000001011000011 * // returns 1774486211 */ // MODULES // var getHighWord = require( './main.js' ); // EXPORTS // module.exports = getHighWord; },{"./main.js":64}],64:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var Uint32Array = require( '@stdlib/array/uint32' ); var Float64Array = require( '@stdlib/array/float64' ); var HIGH = require( './high.js' ); // VARIABLES // var FLOAT64_VIEW = new Float64Array( 1 ); var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer ); // MAIN // /** * Returns an unsigned 32-bit integer corresponding to the more significant 32 bits of a double-precision floating-point number. * * ## Notes * * ```text * float64 (64 bits) * f := fraction (significand/mantissa) (52 bits) * e := exponent (11 bits) * s := sign bit (1 bit) * * |-------- -------- -------- -------- -------- -------- -------- --------| * | Float64 | * |-------- -------- -------- -------- -------- -------- -------- --------| * | Uint32 | Uint32 | * |-------- -------- -------- -------- -------- -------- -------- --------| * ``` * * If little endian (more significant bits last): * * ```text * <-- lower higher --> * | f7 f6 f5 f4 f3 f2 e2 | f1 |s| e1 | * ``` * * If big endian (more significant bits first): * * ```text * <-- higher lower --> * |s| e1 e2 | f1 f2 f3 f4 f5 f6 f7 | * ``` * * In which Uint32 can we find the higher order bits? If little endian, the second; if big endian, the first. * * * ## References * * - [Open Group][1] * * [1]: http://pubs.opengroup.org/onlinepubs/9629399/chap14.htm * * @param {number} x - input value * @returns {uinteger32} higher order word * * @example * var w = getHighWord( 3.14e201 ); // => 01101001110001001000001011000011 * // returns 1774486211 */ function getHighWord( x ) { FLOAT64_VIEW[ 0 ] = x; return UINT32_VIEW[ HIGH ]; } // EXPORTS // module.exports = getHighWord; },{"./high.js":62,"@stdlib/array/float64":2,"@stdlib/array/uint32":7}],65:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Split a double-precision floating-point number into a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer). * * @module @stdlib/number/float64/base/to-words * * @example * var toWords = require( '@stdlib/number/float64/base/to-words' ); * * var w = toWords( 3.14e201 ); * // returns [ 1774486211, 2479577218 ] * * @example * var Uint32Array = require( '@stdlib/array/uint32' ); * var toWords = require( '@stdlib/number/float64/base/to-words' ); * * var out = new Uint32Array( 2 ); * * var w = toWords( out, 3.14e201 ); * // returns <Uint32Array>[ 1774486211, 2479577218 ] * * var bool = ( w === out ); * // returns true */ // MODULES // var toWords = require( './main.js' ); // EXPORTS // module.exports = toWords; },{"./main.js":67}],66:[function(require,module,exports){ arguments[4][60][0].apply(exports,arguments) },{"@stdlib/assert/is-little-endian":34,"dup":60}],67:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var fcn = require( './to_words.js' ); // MAIN // /** * Splits a double-precision floating-point number into a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer). * * @param {(Array|TypedArray|Object)} [out] - output array * @param {number} x - input value * @returns {(Array|TypedArray|Object)} output array * * @example * var w = toWords( 3.14e201 ); * // returns [ 1774486211, 2479577218 ] * * @example * var Uint32Array = require( '@stdlib/array/uint32' ); * * var out = new Uint32Array( 2 ); * * var w = toWords( out, 3.14e201 ); * // returns <Uint32Array>[ 1774486211, 2479577218 ] * * var bool = ( w === out ); * // returns true */ function toWords( out, x ) { if ( arguments.length === 1 ) { return fcn( [ 0, 0 ], out ); } return fcn( out, x ); } // EXPORTS // module.exports = toWords; },{"./to_words.js":68}],68:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var Uint32Array = require( '@stdlib/array/uint32' ); var Float64Array = require( '@stdlib/array/float64' ); var indices = require( './indices.js' ); // VARIABLES // var FLOAT64_VIEW = new Float64Array( 1 ); var UINT32_VIEW = new Uint32Array( FLOAT64_VIEW.buffer ); var HIGH = indices.HIGH; var LOW = indices.LOW; // MAIN // /** * Splits a double-precision floating-point number into a higher order word (unsigned 32-bit integer) and a lower order word (unsigned 32-bit integer). * * ## Notes * * ```text * float64 (64 bits) * f := fraction (significand/mantissa) (52 bits) * e := exponent (11 bits) * s := sign bit (1 bit) * * |-------- -------- -------- -------- -------- -------- -------- --------| * | Float64 | * |-------- -------- -------- -------- -------- -------- -------- --------| * | Uint32 | Uint32 | * |-------- -------- -------- -------- -------- -------- -------- --------| * ``` * * If little endian (more significant bits last): * * ```text * <-- lower higher --> * | f7 f6 f5 f4 f3 f2 e2 | f1 |s| e1 | * ``` * * If big endian (more significant bits first): * * ```text * <-- higher lower --> * |s| e1 e2 | f1 f2 f3 f4 f5 f6 f7 | * ``` * * In which Uint32 can we find the higher order bits? If little endian, the second; if big endian, the first. * * * ## References * * - [Open Group][1] * * [1]: http://pubs.opengroup.org/onlinepubs/9629399/chap14.htm * * * @private * @param {(Array|TypedArray|Object)} out - output array * @param {number} x - input value * @returns {(Array|TypedArray|Object)} output array * * @example * var Uint32Array = require( '@stdlib/array/uint32' ); * * var out = new Uint32Array( 2 ); * * var w = toWords( out, 3.14e201 ); * // returns <Uint32Array>[ 1774486211, 2479577218 ] * * var bool = ( w === out ); * // returns true */ function toWords( out, x ) { FLOAT64_VIEW[ 0 ] = x; out[ 0 ] = UINT32_VIEW[ HIGH ]; out[ 1 ] = UINT32_VIEW[ LOW ]; return out; } // EXPORTS // module.exports = toWords; },{"./indices.js":66,"@stdlib/array/float64":2,"@stdlib/array/uint32":7}],69:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; /** * Return a string value indicating a specification defined classification of an object. * * @module @stdlib/utils/native-class * * @example * var nativeClass = require( '@stdlib/utils/native-class' ); * * var str = nativeClass( 'a' ); * // returns '[object String]' * * str = nativeClass( 5 ); * // returns '[object Number]' * * function Beep() { * return this; * } * str = nativeClass( new Beep() ); * // returns '[object Object]' */ // MODULES // var hasToStringTag = require( '@stdlib/assert/has-tostringtag-support' ); var builtin = require( './native_class.js' ); var polyfill = require( './polyfill.js' ); // MAIN // var nativeClass; if ( hasToStringTag() ) { nativeClass = polyfill; } else { nativeClass = builtin; } // EXPORTS // module.exports = nativeClass; },{"./native_class.js":70,"./polyfill.js":71,"@stdlib/assert/has-tostringtag-support":20}],70:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var toStr = require( './tostring.js' ); // MAIN // /** * Returns a string value indicating a specification defined classification (via the internal property `[[Class]]`) of an object. * * @param {*} v - input value * @returns {string} string value indicating a specification defined classification of the input value * * @example * var str = nativeClass( 'a' ); * // returns '[object String]' * * @example * var str = nativeClass( 5 ); * // returns '[object Number]' * * @example * function Beep() { * return this; * } * var str = nativeClass( new Beep() ); * // returns '[object Object]' */ function nativeClass( v ) { return toStr.call( v ); } // EXPORTS // module.exports = nativeClass; },{"./tostring.js":72}],71:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MODULES // var hasOwnProp = require( '@stdlib/assert/has-own-property' ); var toStringTag = require( './tostringtag.js' ); var toStr = require( './tostring.js' ); // MAIN // /** * Returns a string value indicating a specification defined classification of an object in environments supporting `Symbol.toStringTag`. * * @param {*} v - input value * @returns {string} string value indicating a specification defined classification of the input value * * @example * var str = nativeClass( 'a' ); * // returns '[object String]' * * @example * var str = nativeClass( 5 ); * // returns '[object Number]' * * @example * function Beep() { * return this; * } * var str = nativeClass( new Beep() ); * // returns '[object Object]' */ function nativeClass( v ) { var isOwn; var tag; var out; if ( v === null || v === void 0 ) { return toStr.call( v ); } tag = v[ toStringTag ]; isOwn = hasOwnProp( v, toStringTag ); // Attempt to override the `toStringTag` property. For built-ins having a `Symbol.toStringTag` property (e.g., `JSON`, `Math`, etc), the `Symbol.toStringTag` property is read-only (e.g., , so we need to wrap in a `try/catch`. try { v[ toStringTag ] = void 0; } catch ( err ) { // eslint-disable-line no-unused-vars return toStr.call( v ); } out = toStr.call( v ); if ( isOwn ) { v[ toStringTag ] = tag; } else { delete v[ toStringTag ]; } return out; } // EXPORTS // module.exports = nativeClass; },{"./tostring.js":72,"./tostringtag.js":73,"@stdlib/assert/has-own-property":16}],72:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var toStr = Object.prototype.toString; // EXPORTS // module.exports = toStr; },{}],73:[function(require,module,exports){ /** * @license Apache-2.0 * * Copyright (c) 2018 The Stdlib Authors. * * 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'; // MAIN // var toStrTag = ( typeof Symbol === 'function' ) ? Symbol.toStringTag : ''; // EXPORTS // module.exports = toStrTag; },{}],74:[function(require,module,exports){ 'use strict' exports.byteLength = byteLength exports.toByteArray = toByteArray exports.fromByteArray = fromByteArray var lookup = [] var revLookup = [] var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' for (var i = 0, len = code.length; i < len; ++i) { lookup[i] = code[i] revLookup[code.charCodeAt(i)] = i } // Support decoding URL-safe base64 strings, as Node.js does. // See: https://en.wikipedia.org/wiki/Base64#URL_applications revLookup['-'.charCodeAt(0)] = 62 revLookup['_'.charCodeAt(0)] = 63 function getLens (b64) { var len = b64.length if (len % 4 > 0) { throw new Error('Invalid string. Length must be a multiple of 4') } // Trim off extra bytes after placeholder bytes are found // See: https://github.com/beatgammit/base64-js/issues/42 var validLen = b64.indexOf('=') if (validLen === -1) validLen = len var placeHoldersLen = validLen === len ? 0 : 4 - (validLen % 4) return [validLen, placeHoldersLen] } // base64 is 4/3 + up to two characters of the original data function byteLength (b64) { var lens = getLens(b64) var validLen = lens[0] var placeHoldersLen = lens[1] return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen } function _byteLength (b64, validLen, placeHoldersLen) { return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen } function toByteArray (b64) { var tmp var lens = getLens(b64) var validLen = lens[0] var placeHoldersLen = lens[1] var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen)) var curByte = 0 // if there are placeholders, only get up to the last complete 4 chars var len = placeHoldersLen > 0 ? validLen - 4 : validLen var i for (i = 0; i < len; i += 4) { tmp = (revLookup[b64.charCodeAt(i)] << 18) | (revLookup[b64.charCodeAt(i + 1)] << 12) | (revLookup[b64.charCodeAt(i + 2)] << 6) | revLookup[b64.charCodeAt(i + 3)] arr[curByte++] = (tmp >> 16) & 0xFF arr[curByte++] = (tmp >> 8) & 0xFF arr[curByte++] = tmp & 0xFF } if (placeHoldersLen === 2) { tmp = (revLookup[b64.charCodeAt(i)] << 2) | (revLookup[b64.charCodeAt(i + 1)] >> 4) arr[curByte++] = tmp & 0xFF } if (placeHoldersLen === 1) { tmp = (revLookup[b64.charCodeAt(i)] << 10) | (revLookup[b64.charCodeAt(i + 1)] << 4) | (revLookup[b64.charCodeAt(i + 2)] >> 2) arr[curByte++] = (tmp >> 8) & 0xFF arr[curByte++] = tmp & 0xFF } return arr } function tripletToBase64 (num) { return lookup[num >> 18 & 0x3F] + lookup[num >> 12 & 0x3F] + lookup[num >> 6 & 0x3F] + lookup[num & 0x3F] } function encodeChunk (uint8, start, end) { var tmp var output = [] for (var i = start; i < end; i += 3) { tmp = ((uint8[i] << 16) & 0xFF0000) + ((uint8[i + 1] << 8) & 0xFF00) + (uint8[i + 2] & 0xFF) output.push(tripletToBase64(tmp)) } return output.join('') } function fromByteArray (uint8) { var tmp var len = uint8.length var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes var parts = [] var maxChunkLength = 16383 // must be multiple of 3 // go through the array every three bytes, we'll deal with trailing stuff later for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) { parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength))) } // pad the end with zeros, but make sure to not forget the extra bytes if (extraBytes === 1) { tmp = uint8[len - 1] parts.push( lookup[tmp >> 2] + lookup[(tmp << 4) & 0x3F] + '==' ) } else if (extraBytes === 2) { tmp = (uint8[len - 2] << 8) + uint8[len - 1] parts.push( lookup[tmp >> 10] + lookup[(tmp >> 4) & 0x3F] + lookup[(tmp << 2) & 0x3F] + '=' ) } return parts.join('') } },{}],75:[function(require,module,exports){ },{}],76:[function(require,module,exports){ arguments[4][75][0].apply(exports,arguments) },{"dup":75}],77:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // 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. 'use strict'; var R = typeof Reflect === 'object' ? Reflect : null var ReflectApply = R && typeof R.apply === 'function' ? R.apply : function ReflectApply(target, receiver, args) { return Function.prototype.apply.call(target, receiver, args); } var ReflectOwnKeys if (R && typeof R.ownKeys === 'function') { ReflectOwnKeys = R.ownKeys } else if (Object.getOwnPropertySymbols) { ReflectOwnKeys = function ReflectOwnKeys(target) { return Object.getOwnPropertyNames(target) .concat(Object.getOwnPropertySymbols(target)); }; } else { ReflectOwnKeys = function ReflectOwnKeys(target) { return Object.getOwnPropertyNames(target); }; } function ProcessEmitWarning(warning) { if (console && console.warn) console.warn(warning); } var NumberIsNaN = Number.isNaN || function NumberIsNaN(value) { return value !== value; } function EventEmitter() { EventEmitter.init.call(this); } module.exports = EventEmitter; module.exports.once = once; // Backwards-compat with node 0.10.x EventEmitter.EventEmitter = EventEmitter; EventEmitter.prototype._events = undefined; EventEmitter.prototype._eventsCount = 0; EventEmitter.prototype._maxListeners = undefined; // By default EventEmitters will print a warning if more than 10 listeners are // added to it. This is a useful default which helps finding memory leaks. var defaultMaxListeners = 10; function checkListener(listener) { if (typeof listener !== 'function') { throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof listener); } } Object.defineProperty(EventEmitter, 'defaultMaxListeners', { enumerable: true, get: function() { return defaultMaxListeners; }, set: function(arg) { if (typeof arg !== 'number' || arg < 0 || NumberIsNaN(arg)) { throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + arg + '.'); } defaultMaxListeners = arg; } }); EventEmitter.init = function() { if (this._events === undefined || this._events === Object.getPrototypeOf(this)._events) { this._events = Object.create(null); this._eventsCount = 0; } this._maxListeners = this._maxListeners || undefined; }; // Obviously not all Emitters should be limited to 10. This function allows // that to be increased. Set to zero for unlimited. EventEmitter.prototype.setMaxListeners = function setMaxListeners(n) { if (typeof n !== 'number' || n < 0 || NumberIsNaN(n)) { throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + n + '.'); } this._maxListeners = n; return this; }; function _getMaxListeners(that) { if (that._maxListeners === undefined) return EventEmitter.defaultMaxListeners; return that._maxListeners; } EventEmitter.prototype.getMaxListeners = function getMaxListeners() { return _getMaxListeners(this); }; EventEmitter.prototype.emit = function emit(type) { var args = []; for (var i = 1; i < arguments.length; i++) args.push(arguments[i]); var doError = (type === 'error'); var events = this._events; if (events !== undefined) doError = (doError && events.error === undefined); else if (!doError) return false; // If there is no 'error' event listener then throw. if (doError) { var er; if (args.length > 0) er = args[0]; if (er instanceof Error) { // Note: The comments on the `throw` lines are intentional, they show // up in Node's output if this results in an unhandled exception. throw er; // Unhandled 'error' event } // At least give some kind of context to the user var err = new Error('Unhandled error.' + (er ? ' (' + er.message + ')' : '')); err.context = er; throw err; // Unhandled 'error' event } var handler = events[type]; if (handler === undefined) return false; if (typeof handler === 'function') { ReflectApply(handler, this, args); } else { var len = handler.length; var listeners = arrayClone(handler, len); for (var i = 0; i < len; ++i) ReflectApply(listeners[i], this, args); } return true; }; function _addListener(target, type, listener, prepend) { var m; var events; var existing; checkListener(listener); events = target._events; if (events === undefined) { events = target._events = Object.create(null); target._eventsCount = 0; } else { // To avoid recursion in the case that type === "newListener"! Before // adding it to the listeners, first emit "newListener". if (events.newListener !== undefined) { target.emit('newListener', type, listener.listener ? listener.listener : listener); // Re-assign `events` because a newListener handler could have caused the // this._events to be assigned to a new object events = target._events; } existing = events[type]; } if (existing === undefined) { // Optimize the case of one listener. Don't need the extra array object. existing = events[type] = listener; ++target._eventsCount; } else { if (typeof existing === 'function') { // Adding the second element, need to change to array. existing = events[type] = prepend ? [listener, existing] : [existing, listener]; // If we've already got an array, just append. } else if (prepend) { existing.unshift(listener); } else { existing.push(listener); } // Check for listener leak m = _getMaxListeners(target); if (m > 0 && existing.length > m && !existing.warned) { existing.warned = true; // No error code for this since it is a Warning // eslint-disable-next-line no-restricted-syntax var w = new Error('Possible EventEmitter memory leak detected. ' + existing.length + ' ' + String(type) + ' listeners ' + 'added. Use emitter.setMaxListeners() to ' + 'increase limit'); w.name = 'MaxListenersExceededWarning'; w.emitter = target; w.type = type; w.count = existing.length; ProcessEmitWarning(w); } } return target; } EventEmitter.prototype.addListener = function addListener(type, listener) { return _addListener(this, type, listener, false); }; EventEmitter.prototype.on = EventEmitter.prototype.addListener; EventEmitter.prototype.prependListener = function prependListener(type, listener) { return _addListener(this, type, listener, true); }; function onceWrapper() { if (!this.fired) { this.target.removeListener(this.type, this.wrapFn); this.fired = true; if (arguments.length === 0) return this.listener.call(this.target); return this.listener.apply(this.target, arguments); } } function _onceWrap(target, type, listener) { var state = { fired: false, wrapFn: undefined, target: target, type: type, listener: listener }; var wrapped = onceWrapper.bind(state); wrapped.listener = listener; state.wrapFn = wrapped; return wrapped; } EventEmitter.prototype.once = function once(type, listener) { checkListener(listener); this.on(type, _onceWrap(this, type, listener)); return this; }; EventEmitter.prototype.prependOnceListener = function prependOnceListener(type, listener) { checkListener(listener); this.prependListener(type, _onceWrap(this, type, listener)); return this; }; // Emits a 'removeListener' event if and only if the listener was removed. EventEmitter.prototype.removeListener = function removeListener(type, listener) { var list, events, position, i, originalListener; checkListener(listener); events = this._events; if (events === undefined) return this; list = events[type]; if (list === undefined) return this; if (list === listener || list.listener === listener) { if (--this._eventsCount === 0) this._events = Object.create(null); else { delete events[type]; if (events.removeListener) this.emit('removeListener', type, list.listener || listener); } } else if (typeof list !== 'function') { position = -1; for (i = list.length - 1; i >= 0; i--) { if (list[i] === listener || list[i].listener === listener) { originalListener = list[i].listener; position = i; break; } } if (position < 0) return this; if (position === 0) list.shift(); else { spliceOne(list, position); } if (list.length === 1) events[type] = list[0]; if (events.removeListener !== undefined) this.emit('removeListener', type, originalListener || listener); } return this; }; EventEmitter.prototype.off = EventEmitter.prototype.removeListener; EventEmitter.prototype.removeAllListeners = function removeAllListeners(type) { var listeners, events, i; events = this._events; if (events === undefined) return this; // not listening for removeListener, no need to emit if (events.removeListener === undefined) { if (arguments.length === 0) { this._events = Object.create(null); this._eventsCount = 0; } else if (events[type] !== undefined) { if (--this._eventsCount === 0) this._events = Object.create(null); else delete events[type]; } return this; } // emit removeListener for all listeners on all events if (arguments.length === 0) { var keys = Object.keys(events); var key; for (i = 0; i < keys.length; ++i) { key = keys[i]; if (key === 'removeListener') continue; this.removeAllListeners(key); } this.removeAllListeners('removeListener'); this._events = Object.create(null); this._eventsCount = 0; return this; } listeners = events[type]; if (typeof listeners === 'function') { this.removeListener(type, listeners); } else if (listeners !== undefined) { // LIFO order for (i = listeners.length - 1; i >= 0; i--) { this.removeListener(type, listeners[i]); } } return this; }; function _listeners(target, type, unwrap) { var events = target._events; if (events === undefined) return []; var evlistener = events[type]; if (evlistener === undefined) return []; if (typeof evlistener === 'function') return unwrap ? [evlistener.listener || evlistener] : [evlistener]; return unwrap ? unwrapListeners(evlistener) : arrayClone(evlistener, evlistener.length); } EventEmitter.prototype.listeners = function listeners(type) { return _listeners(this, type, true); }; EventEmitter.prototype.rawListeners = function rawListeners(type) { return _listeners(this, type, false); }; EventEmitter.listenerCount = function(emitter, type) { if (typeof emitter.listenerCount === 'function') { return emitter.listenerCount(type); } else { return listenerCount.call(emitter, type); } }; EventEmitter.prototype.listenerCount = listenerCount; function listenerCount(type) { var events = this._events; if (events !== undefined) { var evlistener = events[type]; if (typeof evlistener === 'function') { return 1; } else if (evlistener !== undefined) { return evlistener.length; } } return 0; } EventEmitter.prototype.eventNames = function eventNames() { return this._eventsCount > 0 ? ReflectOwnKeys(this._events) : []; }; function arrayClone(arr, n) { var copy = new Array(n); for (var i = 0; i < n; ++i) copy[i] = arr[i]; return copy; } function spliceOne(list, index) { for (; index + 1 < list.length; index++) list[index] = list[index + 1]; list.pop(); } function unwrapListeners(arr) { var ret = new Array(arr.length); for (var i = 0; i < ret.length; ++i) { ret[i] = arr[i].listener || arr[i]; } return ret; } function once(emitter, name) { return new Promise(function (resolve, reject) { function errorListener(err) { emitter.removeListener(name, resolver); reject(err); } function resolver() { if (typeof emitter.removeListener === 'function') { emitter.removeListener('error', errorListener); } resolve([].slice.call(arguments)); }; eventTargetAgnosticAddListener(emitter, name, resolver, { once: true }); if (name !== 'error') { addErrorHandlerIfEventEmitter(emitter, errorListener, { once: true }); } }); } function addErrorHandlerIfEventEmitter(emitter, handler, flags) { if (typeof emitter.on === 'function') { eventTargetAgnosticAddListener(emitter, 'error', handler, flags); } } function eventTargetAgnosticAddListener(emitter, name, listener, flags) { if (typeof emitter.on === 'function') { if (flags.once) { emitter.once(name, listener); } else { emitter.on(name, listener); } } else if (typeof emitter.addEventListener === 'function') { // EventTarget does not have `error` event semantics like Node // EventEmitters, we do not listen for `error` events here. emitter.addEventListener(name, function wrapListener(arg) { // IE does not have builtin `{ once: true }` support so we // have to do it manually. if (flags.once) { emitter.removeEventListener(name, wrapListener); } listener(arg); }); } else { throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof emitter); } } },{}],78:[function(require,module,exports){ (function (process){(function (){ // 'path' module extracted from Node.js v8.11.1 (only the posix part) // transplited with Babel // Copyright Joyent, Inc. and other Node contributors. // // 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. 'use strict'; function assertPath(path) { if (typeof path !== 'string') { throw new TypeError('Path must be a string. Received ' + JSON.stringify(path)); } } // Resolves . and .. elements in a path with directory names function normalizeStringPosix(path, allowAboveRoot) { var res = ''; var lastSegmentLength = 0; var lastSlash = -1; var dots = 0; var code; for (var i = 0; i <= path.length; ++i) { if (i < path.length) code = path.charCodeAt(i); else if (code === 47 /*/*/) break; else code = 47 /*/*/; if (code === 47 /*/*/) { if (lastSlash === i - 1 || dots === 1) { // NOOP } else if (lastSlash !== i - 1 && dots === 2) { if (res.length < 2 || lastSegmentLength !== 2 || res.charCodeAt(res.length - 1) !== 46 /*.*/ || res.charCodeAt(res.length - 2) !== 46 /*.*/) { if (res.length > 2) { var lastSlashIndex = res.lastIndexOf('/'); if (lastSlashIndex !== res.length - 1) { if (lastSlashIndex === -1) { res = ''; lastSegmentLength = 0; } else { res = res.slice(0, lastSlashIndex); lastSegmentLength = res.length - 1 - res.lastIndexOf('/'); } lastSlash = i; dots = 0; continue; } } else if (res.length === 2 || res.length === 1) { res = ''; lastSegmentLength = 0; lastSlash = i; dots = 0; continue; } } if (allowAboveRoot) { if (res.length > 0) res += '/..'; else res = '..'; lastSegmentLength = 2; } } else { if (res.length > 0) res += '/' + path.slice(lastSlash + 1, i); else res = path.slice(lastSlash + 1, i); lastSegmentLength = i - lastSlash - 1; } lastSlash = i; dots = 0; } else if (code === 46 /*.*/ && dots !== -1) { ++dots; } else { dots = -1; } } return res; } function _format(sep, pathObject) { var dir = pathObject.dir || pathObject.root; var base = pathObject.base || (pathObject.name || '') + (pathObject.ext || ''); if (!dir) { return base; } if (dir === pathObject.root) { return dir + base; } return dir + sep + base; } var posix = { // path.resolve([from ...], to) resolve: function resolve() { var resolvedPath = ''; var resolvedAbsolute = false; var cwd; for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) { var path; if (i >= 0) path = arguments[i]; else { if (cwd === undefined) cwd = process.cwd(); path = cwd; } assertPath(path); // Skip empty entries if (path.length === 0) { continue; } resolvedPath = path + '/' + resolvedPath; resolvedAbsolute = path.charCodeAt(0) === 47 /*/*/; } // At this point the path should be resolved to a full absolute path, but // handle relative paths to be safe (might happen when process.cwd() fails) // Normalize the path resolvedPath = normalizeStringPosix(resolvedPath, !resolvedAbsolute); if (resolvedAbsolute) { if (resolvedPath.length > 0) return '/' + resolvedPath; else return '/'; } else if (resolvedPath.length > 0) { return resolvedPath; } else { return '.'; } }, normalize: function normalize(path) { assertPath(path); if (path.length === 0) return '.'; var isAbsolute = path.charCodeAt(0) === 47 /*/*/; var trailingSeparator = path.charCodeAt(path.length - 1) === 47 /*/*/; // Normalize the path path = normalizeStringPosix(path, !isAbsolute); if (path.length === 0 && !isAbsolute) path = '.'; if (path.length > 0 && trailingSeparator) path += '/'; if (isAbsolute) return '/' + path; return path; }, isAbsolute: function isAbsolute(path) { assertPath(path); return path.length > 0 && path.charCodeAt(0) === 47 /*/*/; }, join: function join() { if (arguments.length === 0) return '.'; var joined; for (var i = 0; i < arguments.length; ++i) { var arg = arguments[i]; assertPath(arg); if (arg.length > 0) { if (joined === undefined) joined = arg; else joined += '/' + arg; } } if (joined === undefined) return '.'; return posix.normalize(joined); }, relative: function relative(from, to) { assertPath(from); assertPath(to); if (from === to) return ''; from = posix.resolve(from); to = posix.resolve(to); if (from === to) return ''; // Trim any leading backslashes var fromStart = 1; for (; fromStart < from.length; ++fromStart) { if (from.charCodeAt(fromStart) !== 47 /*/*/) break; } var fromEnd = from.length; var fromLen = fromEnd - fromStart; // Trim any leading backslashes var toStart = 1; for (; toStart < to.length; ++toStart) { if (to.charCodeAt(toStart) !== 47 /*/*/) break; } var toEnd = to.length; var toLen = toEnd - toStart; // Compare paths to find the longest common path from root var length = fromLen < toLen ? fromLen : toLen; var lastCommonSep = -1; var i = 0; for (; i <= length; ++i) { if (i === length) { if (toLen > length) { if (to.charCodeAt(toStart + i) === 47 /*/*/) { // We get here if `from` is the exact base path for `to`. // For example: from='/foo/bar'; to='/foo/bar/baz' return to.slice(toStart + i + 1); } else if (i === 0) { // We get here if `from` is the root // For example: from='/'; to='/foo' return to.slice(toStart + i); } } else if (fromLen > length) { if (from.charCodeAt(fromStart + i) === 47 /*/*/) { // We get here if `to` is the exact base path for `from`. // For example: from='/foo/bar/baz'; to='/foo/bar' lastCommonSep = i; } else if (i === 0) { // We get here if `to` is the root. // For example: from='/foo'; to='/' lastCommonSep = 0; } } break; } var fromCode = from.charCodeAt(fromStart + i); var toCode = to.charCodeAt(toStart + i); if (fromCode !== toCode) break; else if (fromCode === 47 /*/*/) lastCommonSep = i; } var out = ''; // Generate the relative path based on the path difference between `to` // and `from` for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) { if (i === fromEnd || from.charCodeAt(i) === 47 /*/*/) { if (out.length === 0) out += '..'; else out += '/..'; } } // Lastly, append the rest of the destination (`to`) path that comes after // the common path parts if (out.length > 0) return out + to.slice(toStart + lastCommonSep); else { toStart += lastCommonSep; if (to.charCodeAt(toStart) === 47 /*/*/) ++toStart; return to.slice(toStart); } }, _makeLong: function _makeLong(path) { return path; }, dirname: function dirname(path) { assertPath(path); if (path.length === 0) return '.'; var code = path.charCodeAt(0); var hasRoot = code === 47 /*/*/; var end = -1; var matchedSlash = true; for (var i = path.length - 1; i >= 1; --i) { code = path.charCodeAt(i); if (code === 47 /*/*/) { if (!matchedSlash) { end = i; break; } } else { // We saw the first non-path separator matchedSlash = false; } } if (end === -1) return hasRoot ? '/' : '.'; if (hasRoot && end === 1) return '//'; return path.slice(0, end); }, basename: function basename(path, ext) { if (ext !== undefined && typeof ext !== 'string') throw new TypeError('"ext" argument must be a string'); assertPath(path); var start = 0; var end = -1; var matchedSlash = true; var i; if (ext !== undefined && ext.length > 0 && ext.length <= path.length) { if (ext.length === path.length && ext === path) return ''; var extIdx = ext.length - 1; var firstNonSlashEnd = -1; for (i = path.length - 1; i >= 0; --i) { var code = path.charCodeAt(i); if (code === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else { if (firstNonSlashEnd === -1) { // We saw the first non-path separator, remember this index in case // we need it if the extension ends up not matching matchedSlash = false; firstNonSlashEnd = i + 1; } if (extIdx >= 0) { // Try to match the explicit extension if (code === ext.charCodeAt(extIdx)) { if (--extIdx === -1) { // We matched the extension, so mark this as the end of our path // component end = i; } } else { // Extension does not match, so our result is the entire path // component extIdx = -1; end = firstNonSlashEnd; } } } } if (start === end) end = firstNonSlashEnd;else if (end === -1) end = path.length; return path.slice(start, end); } else { for (i = path.length - 1; i >= 0; --i) { if (path.charCodeAt(i) === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { start = i + 1; break; } } else if (end === -1) { // We saw the first non-path separator, mark this as the end of our // path component matchedSlash = false; end = i + 1; } } if (end === -1) return ''; return path.slice(start, end); } }, extname: function extname(path) { assertPath(path); var startDot = -1; var startPart = 0; var end = -1; var matchedSlash = true; // Track the state of characters (if any) we see before our first dot and // after any path separator we find var preDotState = 0; for (var i = path.length - 1; i >= 0; --i) { var code = path.charCodeAt(i); if (code === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; } continue; } if (end === -1) { // We saw the first non-path separator, mark this as the end of our // extension matchedSlash = false; end = i + 1; } if (code === 46 /*.*/) { // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i; else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { // We saw a non-dot and non-path separator before our dot, so we should // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot preDotState === 0 || // The (right-most) trimmed path component is exactly '..' preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { return ''; } return path.slice(startDot, end); }, format: function format(pathObject) { if (pathObject === null || typeof pathObject !== 'object') { throw new TypeError('The "pathObject" argument must be of type Object. Received type ' + typeof pathObject); } return _format('/', pathObject); }, parse: function parse(path) { assertPath(path); var ret = { root: '', dir: '', base: '', ext: '', name: '' }; if (path.length === 0) return ret; var code = path.charCodeAt(0); var isAbsolute = code === 47 /*/*/; var start; if (isAbsolute) { ret.root = '/'; start = 1; } else { start = 0; } var startDot = -1; var startPart = 0; var end = -1; var matchedSlash = true; var i = path.length - 1; // Track the state of characters (if any) we see before our first dot and // after any path separator we find var preDotState = 0; // Get non-dir info for (; i >= start; --i) { code = path.charCodeAt(i); if (code === 47 /*/*/) { // If we reached a path separator that was not part of a set of path // separators at the end of the string, stop now if (!matchedSlash) { startPart = i + 1; break; } continue; } if (end === -1) { // We saw the first non-path separator, mark this as the end of our // extension matchedSlash = false; end = i + 1; } if (code === 46 /*.*/) { // If this is our first dot, mark it as the start of our extension if (startDot === -1) startDot = i;else if (preDotState !== 1) preDotState = 1; } else if (startDot !== -1) { // We saw a non-dot and non-path separator before our dot, so we should // have a good chance at having a non-empty extension preDotState = -1; } } if (startDot === -1 || end === -1 || // We saw a non-dot character immediately before the dot preDotState === 0 || // The (right-most) trimmed path component is exactly '..' preDotState === 1 && startDot === end - 1 && startDot === startPart + 1) { if (end !== -1) { if (startPart === 0 && isAbsolute) ret.base = ret.name = path.slice(1, end);else ret.base = ret.name = path.slice(startPart, end); } } else { if (startPart === 0 && isAbsolute) { ret.name = path.slice(1, startDot); ret.base = path.slice(1, end); } else { ret.name = path.slice(startPart, startDot); ret.base = path.slice(startPart, end); } ret.ext = path.slice(startDot, end); } if (startPart > 0) ret.dir = path.slice(0, startPart - 1);else if (isAbsolute) ret.dir = '/'; return ret; }, sep: '/', delimiter: ':', win32: null, posix: null }; posix.posix = posix; module.exports = posix; }).call(this)}).call(this,require('_process')) },{"_process":169}],79:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // 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. module.exports = Stream; var EE = require('events').EventEmitter; var inherits = require('inherits'); inherits(Stream, EE); Stream.Readable = require('readable-stream/lib/_stream_readable.js'); Stream.Writable = require('readable-stream/lib/_stream_writable.js'); Stream.Duplex = require('readable-stream/lib/_stream_duplex.js'); Stream.Transform = require('readable-stream/lib/_stream_transform.js'); Stream.PassThrough = require('readable-stream/lib/_stream_passthrough.js'); Stream.finished = require('readable-stream/lib/internal/streams/end-of-stream.js') Stream.pipeline = require('readable-stream/lib/internal/streams/pipeline.js') // Backwards-compat with node 0.4.x Stream.Stream = Stream; // old-style streams. Note that the pipe method (the only relevant // part of this class) is overridden in the Readable class. function Stream() { EE.call(this); } Stream.prototype.pipe = function(dest, options) { var source = this; function ondata(chunk) { if (dest.writable) { if (false === dest.write(chunk) && source.pause) { source.pause(); } } } source.on('data', ondata); function ondrain() { if (source.readable && source.resume) { source.resume(); } } dest.on('drain', ondrain); // If the 'end' option is not supplied, dest.end() will be called when // source gets the 'end' or 'close' events. Only dest.end() once. if (!dest._isStdio && (!options || options.end !== false)) { source.on('end', onend); source.on('close', onclose); } var didOnEnd = false; function onend() { if (didOnEnd) return; didOnEnd = true; dest.end(); } function onclose() { if (didOnEnd) return; didOnEnd = true; if (typeof dest.destroy === 'function') dest.destroy(); } // don't leave dangling pipes when there are errors. function onerror(er) { cleanup(); if (EE.listenerCount(this, 'error') === 0) { throw er; // Unhandled stream error in pipe. } } source.on('error', onerror); dest.on('error', onerror); // remove all the event listeners that were added. function cleanup() { source.removeListener('data', ondata); dest.removeListener('drain', ondrain); source.removeListener('end', onend); source.removeListener('close', onclose); source.removeListener('error', onerror); dest.removeListener('error', onerror); source.removeListener('end', cleanup); source.removeListener('close', cleanup); dest.removeListener('close', cleanup); } source.on('end', cleanup); source.on('close', cleanup); dest.on('close', cleanup); dest.emit('pipe', source); // Allow for unix-like usage: A.pipe(B).pipe(C) return dest; }; },{"events":77,"inherits":164,"readable-stream/lib/_stream_duplex.js":81,"readable-stream/lib/_stream_passthrough.js":82,"readable-stream/lib/_stream_readable.js":83,"readable-stream/lib/_stream_transform.js":84,"readable-stream/lib/_stream_writable.js":85,"readable-stream/lib/internal/streams/end-of-stream.js":89,"readable-stream/lib/internal/streams/pipeline.js":91}],80:[function(require,module,exports){ 'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; } var codes = {}; function createErrorType(code, message, Base) { if (!Base) { Base = Error; } function getMessage(arg1, arg2, arg3) { if (typeof message === 'string') { return message; } else { return message(arg1, arg2, arg3); } } var NodeError = /*#__PURE__*/ function (_Base) { _inheritsLoose(NodeError, _Base); function NodeError(arg1, arg2, arg3) { return _Base.call(this, getMessage(arg1, arg2, arg3)) || this; } return NodeError; }(Base); NodeError.prototype.name = Base.name; NodeError.prototype.code = code; codes[code] = NodeError; } // https://github.com/nodejs/node/blob/v10.8.0/lib/internal/errors.js function oneOf(expected, thing) { if (Array.isArray(expected)) { var len = expected.length; expected = expected.map(function (i) { return String(i); }); if (len > 2) { return "one of ".concat(thing, " ").concat(expected.slice(0, len - 1).join(', '), ", or ") + expected[len - 1]; } else if (len === 2) { return "one of ".concat(thing, " ").concat(expected[0], " or ").concat(expected[1]); } else { return "of ".concat(thing, " ").concat(expected[0]); } } else { return "of ".concat(thing, " ").concat(String(expected)); } } // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/startsWith function startsWith(str, search, pos) { return str.substr(!pos || pos < 0 ? 0 : +pos, search.length) === search; } // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/endsWith function endsWith(str, search, this_len) { if (this_len === undefined || this_len > str.length) { this_len = str.length; } return str.substring(this_len - search.length, this_len) === search; } // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/includes function includes(str, search, start) { if (typeof start !== 'number') { start = 0; } if (start + search.length > str.length) { return false; } else { return str.indexOf(search, start) !== -1; } } createErrorType('ERR_INVALID_OPT_VALUE', function (name, value) { return 'The value "' + value + '" is invalid for option "' + name + '"'; }, TypeError); createErrorType('ERR_INVALID_ARG_TYPE', function (name, expected, actual) { // determiner: 'must be' or 'must not be' var determiner; if (typeof expected === 'string' && startsWith(expected, 'not ')) { determiner = 'must not be'; expected = expected.replace(/^not /, ''); } else { determiner = 'must be'; } var msg; if (endsWith(name, ' argument')) { // For cases like 'first argument' msg = "The ".concat(name, " ").concat(determiner, " ").concat(oneOf(expected, 'type')); } else { var type = includes(name, '.') ? 'property' : 'argument'; msg = "The \"".concat(name, "\" ").concat(type, " ").concat(determiner, " ").concat(oneOf(expected, 'type')); } msg += ". Received type ".concat(typeof actual); return msg; }, TypeError); createErrorType('ERR_STREAM_PUSH_AFTER_EOF', 'stream.push() after EOF'); createErrorType('ERR_METHOD_NOT_IMPLEMENTED', function (name) { return 'The ' + name + ' method is not implemented'; }); createErrorType('ERR_STREAM_PREMATURE_CLOSE', 'Premature close'); createErrorType('ERR_STREAM_DESTROYED', function (name) { return 'Cannot call ' + name + ' after a stream was destroyed'; }); createErrorType('ERR_MULTIPLE_CALLBACK', 'Callback called multiple times'); createErrorType('ERR_STREAM_CANNOT_PIPE', 'Cannot pipe, not readable'); createErrorType('ERR_STREAM_WRITE_AFTER_END', 'write after end'); createErrorType('ERR_STREAM_NULL_VALUES', 'May not write null values to stream', TypeError); createErrorType('ERR_UNKNOWN_ENCODING', function (arg) { return 'Unknown encoding: ' + arg; }, TypeError); createErrorType('ERR_STREAM_UNSHIFT_AFTER_END_EVENT', 'stream.unshift() after end event'); module.exports.codes = codes; },{}],81:[function(require,module,exports){ (function (process){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // 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. // a duplex stream is just a stream that is both readable and writable. // Since JS doesn't have multiple prototypal inheritance, this class // prototypally inherits from Readable, and then parasitically from // Writable. 'use strict'; /*<replacement>*/ var objectKeys = Object.keys || function (obj) { var keys = []; for (var key in obj) { keys.push(key); } return keys; }; /*</replacement>*/ module.exports = Duplex; var Readable = require('./_stream_readable'); var Writable = require('./_stream_writable'); require('inherits')(Duplex, Readable); { // Allow the keys array to be GC'ed. var keys = objectKeys(Writable.prototype); for (var v = 0; v < keys.length; v++) { var method = keys[v]; if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; } } function Duplex(options) { if (!(this instanceof Duplex)) return new Duplex(options); Readable.call(this, options); Writable.call(this, options); this.allowHalfOpen = true; if (options) { if (options.readable === false) this.readable = false; if (options.writable === false) this.writable = false; if (options.allowHalfOpen === false) { this.allowHalfOpen = false; this.once('end', onend); } } } Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState.highWaterMark; } }); Object.defineProperty(Duplex.prototype, 'writableBuffer', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState && this._writableState.getBuffer(); } }); Object.defineProperty(Duplex.prototype, 'writableLength', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState.length; } }); // the no-half-open enforcer function onend() { // If the writable side ended, then we're ok. if (this._writableState.ended) return; // no more data can be written. // But allow more writes to happen in this tick. process.nextTick(onEndNT, this); } function onEndNT(self) { self.end(); } Object.defineProperty(Duplex.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { if (this._readableState === undefined || this._writableState === undefined) { return false; } return this._readableState.destroyed && this._writableState.destroyed; }, set: function set(value) { // we ignore the value if the stream // has not been initialized yet if (this._readableState === undefined || this._writableState === undefined) { return; } // backward compatibility, the user is explicitly // managing destroyed this._readableState.destroyed = value; this._writableState.destroyed = value; } }); }).call(this)}).call(this,require('_process')) },{"./_stream_readable":83,"./_stream_writable":85,"_process":169,"inherits":164}],82:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // 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. // a passthrough stream. // basically just the most minimal sort of Transform stream. // Every written chunk gets output as-is. 'use strict'; module.exports = PassThrough; var Transform = require('./_stream_transform'); require('inherits')(PassThrough, Transform); function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); Transform.call(this, options); } PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); }; },{"./_stream_transform":84,"inherits":164}],83:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // 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. 'use strict'; module.exports = Readable; /*<replacement>*/ var Duplex; /*</replacement>*/ Readable.ReadableState = ReadableState; /*<replacement>*/ var EE = require('events').EventEmitter; var EElistenerCount = function EElistenerCount(emitter, type) { return emitter.listeners(type).length; }; /*</replacement>*/ /*<replacement>*/ var Stream = require('./internal/streams/stream'); /*</replacement>*/ var Buffer = require('buffer').Buffer; var OurUint8Array = global.Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } /*<replacement>*/ var debugUtil = require('util'); var debug; if (debugUtil && debugUtil.debuglog) { debug = debugUtil.debuglog('stream'); } else { debug = function debug() {}; } /*</replacement>*/ var BufferList = require('./internal/streams/buffer_list'); var destroyImpl = require('./internal/streams/destroy'); var _require = require('./internal/streams/state'), getHighWaterMark = _require.getHighWaterMark; var _require$codes = require('../errors').codes, ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, ERR_STREAM_PUSH_AFTER_EOF = _require$codes.ERR_STREAM_PUSH_AFTER_EOF, ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, ERR_STREAM_UNSHIFT_AFTER_END_EVENT = _require$codes.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; // Lazy loaded to improve the startup performance. var StringDecoder; var createReadableStreamAsyncIterator; var from; require('inherits')(Readable, Stream); var errorOrDestroy = destroyImpl.errorOrDestroy; var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; function prependListener(emitter, event, fn) { // Sadly this is not cacheable as some libraries bundle their own // event emitter implementation with them. if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); // This is a hack to make sure that our error handler is attached before any // userland ones. NEVER DO THIS. This is here only because this code needs // to continue to work with older versions of Node.js that do not include // the prependListener() method. The goal is to eventually remove this hack. if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (Array.isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; } function ReadableState(options, stream, isDuplex) { Duplex = Duplex || require('./_stream_duplex'); options = options || {}; // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream. // These options can be provided separately as readableXXX and writableXXX. if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Used to make read(n) ignore n and to // make all the buffer merging and length checks go away this.objectMode = !!options.objectMode; if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at which it stops calling _read() to fill the buffer // Note: 0 is a valid value, means "don't call _read preemptively ever" this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A linked list is used to store data chunks instead of an array because the // linked list can remove elements from the beginning faster than // array.shift() this.buffer = new BufferList(); this.length = 0; this.pipes = null; this.pipesCount = 0; this.flowing = null; this.ended = false; this.endEmitted = false; this.reading = false; // a flag to be able to tell if the event 'readable'/'data' is emitted // immediately, or on a later tick. We set this to true at first, because // any actions that shouldn't happen until "later" should generally also // not happen before the first read call. this.sync = true; // whenever we return null, then we set a flag to say // that we're awaiting a 'readable' event emission. this.needReadable = false; this.emittedReadable = false; this.readableListening = false; this.resumeScheduled = false; this.paused = true; // Should close be emitted on destroy. Defaults to true. this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'end' (and potentially 'finish') this.autoDestroy = !!options.autoDestroy; // has it been destroyed this.destroyed = false; // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. this.defaultEncoding = options.defaultEncoding || 'utf8'; // the number of writers that are awaiting a drain event in .pipe()s this.awaitDrain = 0; // if true, a maybeReadMore has been scheduled this.readingMore = false; this.decoder = null; this.encoding = null; if (options.encoding) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; this.decoder = new StringDecoder(options.encoding); this.encoding = options.encoding; } } function Readable(options) { Duplex = Duplex || require('./_stream_duplex'); if (!(this instanceof Readable)) return new Readable(options); // Checking for a Stream.Duplex instance is faster here instead of inside // the ReadableState constructor, at least with V8 6.5 var isDuplex = this instanceof Duplex; this._readableState = new ReadableState(options, this, isDuplex); // legacy this.readable = true; if (options) { if (typeof options.read === 'function') this._read = options.read; if (typeof options.destroy === 'function') this._destroy = options.destroy; } Stream.call(this); } Object.defineProperty(Readable.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { if (this._readableState === undefined) { return false; } return this._readableState.destroyed; }, set: function set(value) { // we ignore the value if the stream // has not been initialized yet if (!this._readableState) { return; } // backward compatibility, the user is explicitly // managing destroyed this._readableState.destroyed = value; } }); Readable.prototype.destroy = destroyImpl.destroy; Readable.prototype._undestroy = destroyImpl.undestroy; Readable.prototype._destroy = function (err, cb) { cb(err); }; // Manually shove something into the read() buffer. // This returns true if the highWaterMark has not been hit yet, // similar to how Writable.write() returns true if you should // write() some more. Readable.prototype.push = function (chunk, encoding) { var state = this._readableState; var skipChunkCheck; if (!state.objectMode) { if (typeof chunk === 'string') { encoding = encoding || state.defaultEncoding; if (encoding !== state.encoding) { chunk = Buffer.from(chunk, encoding); encoding = ''; } skipChunkCheck = true; } } else { skipChunkCheck = true; } return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); }; // Unshift should *always* be something directly out of read() Readable.prototype.unshift = function (chunk) { return readableAddChunk(this, chunk, null, true, false); }; function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { debug('readableAddChunk', chunk); var state = stream._readableState; if (chunk === null) { state.reading = false; onEofChunk(stream, state); } else { var er; if (!skipChunkCheck) er = chunkInvalid(state, chunk); if (er) { errorOrDestroy(stream, er); } else if (state.objectMode || chunk && chunk.length > 0) { if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { chunk = _uint8ArrayToBuffer(chunk); } if (addToFront) { if (state.endEmitted) errorOrDestroy(stream, new ERR_STREAM_UNSHIFT_AFTER_END_EVENT());else addChunk(stream, state, chunk, true); } else if (state.ended) { errorOrDestroy(stream, new ERR_STREAM_PUSH_AFTER_EOF()); } else if (state.destroyed) { return false; } else { state.reading = false; if (state.decoder && !encoding) { chunk = state.decoder.write(chunk); if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); } else { addChunk(stream, state, chunk, false); } } } else if (!addToFront) { state.reading = false; maybeReadMore(stream, state); } } // We can push more data if we are below the highWaterMark. // Also, if we have no data yet, we can stand some more bytes. // This is to work around cases where hwm=0, such as the repl. return !state.ended && (state.length < state.highWaterMark || state.length === 0); } function addChunk(stream, state, chunk, addToFront) { if (state.flowing && state.length === 0 && !state.sync) { state.awaitDrain = 0; stream.emit('data', chunk); } else { // update the buffer info. state.length += state.objectMode ? 1 : chunk.length; if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); if (state.needReadable) emitReadable(stream); } maybeReadMore(stream, state); } function chunkInvalid(state, chunk) { var er; if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer', 'Uint8Array'], chunk); } return er; } Readable.prototype.isPaused = function () { return this._readableState.flowing === false; }; // backwards compatibility. Readable.prototype.setEncoding = function (enc) { if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; var decoder = new StringDecoder(enc); this._readableState.decoder = decoder; // If setEncoding(null), decoder.encoding equals utf8 this._readableState.encoding = this._readableState.decoder.encoding; // Iterate over current buffer to convert already stored Buffers: var p = this._readableState.buffer.head; var content = ''; while (p !== null) { content += decoder.write(p.data); p = p.next; } this._readableState.buffer.clear(); if (content !== '') this._readableState.buffer.push(content); this._readableState.length = content.length; return this; }; // Don't raise the hwm > 1GB var MAX_HWM = 0x40000000; function computeNewHighWaterMark(n) { if (n >= MAX_HWM) { // TODO(ronag): Throw ERR_VALUE_OUT_OF_RANGE. n = MAX_HWM; } else { // Get the next highest power of 2 to prevent increasing hwm excessively in // tiny amounts n--; n |= n >>> 1; n |= n >>> 2; n |= n >>> 4; n |= n >>> 8; n |= n >>> 16; n++; } return n; } // This function is designed to be inlinable, so please take care when making // changes to the function body. function howMuchToRead(n, state) { if (n <= 0 || state.length === 0 && state.ended) return 0; if (state.objectMode) return 1; if (n !== n) { // Only flow one buffer at a time if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; } // If we're asking for more than the current hwm, then raise the hwm. if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); if (n <= state.length) return n; // Don't have enough if (!state.ended) { state.needReadable = true; return 0; } return state.length; } // you can override either this method, or the async _read(n) below. Readable.prototype.read = function (n) { debug('read', n); n = parseInt(n, 10); var state = this._readableState; var nOrig = n; if (n !== 0) state.emittedReadable = false; // if we're doing read(0) to trigger a readable event, but we // already have a bunch of data in the buffer, then just trigger // the 'readable' event and move on. if (n === 0 && state.needReadable && ((state.highWaterMark !== 0 ? state.length >= state.highWaterMark : state.length > 0) || state.ended)) { debug('read: emitReadable', state.length, state.ended); if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); return null; } n = howMuchToRead(n, state); // if we've ended, and we're now clear, then finish it up. if (n === 0 && state.ended) { if (state.length === 0) endReadable(this); return null; } // All the actual chunk generation logic needs to be // *below* the call to _read. The reason is that in certain // synthetic stream cases, such as passthrough streams, _read // may be a completely synchronous operation which may change // the state of the read buffer, providing enough data when // before there was *not* enough. // // So, the steps are: // 1. Figure out what the state of things will be after we do // a read from the buffer. // // 2. If that resulting state will trigger a _read, then call _read. // Note that this may be asynchronous, or synchronous. Yes, it is // deeply ugly to write APIs this way, but that still doesn't mean // that the Readable class should behave improperly, as streams are // designed to be sync/async agnostic. // Take note if the _read call is sync or async (ie, if the read call // has returned yet), so that we know whether or not it's safe to emit // 'readable' etc. // // 3. Actually pull the requested chunks out of the buffer and return. // if we need a readable event, then we need to do some reading. var doRead = state.needReadable; debug('need readable', doRead); // if we currently have less than the highWaterMark, then also read some if (state.length === 0 || state.length - n < state.highWaterMark) { doRead = true; debug('length less than watermark', doRead); } // however, if we've ended, then there's no point, and if we're already // reading, then it's unnecessary. if (state.ended || state.reading) { doRead = false; debug('reading or ended', doRead); } else if (doRead) { debug('do read'); state.reading = true; state.sync = true; // if the length is currently zero, then we *need* a readable event. if (state.length === 0) state.needReadable = true; // call internal read method this._read(state.highWaterMark); state.sync = false; // If _read pushed data synchronously, then `reading` will be false, // and we need to re-evaluate how much data we can return to the user. if (!state.reading) n = howMuchToRead(nOrig, state); } var ret; if (n > 0) ret = fromList(n, state);else ret = null; if (ret === null) { state.needReadable = state.length <= state.highWaterMark; n = 0; } else { state.length -= n; state.awaitDrain = 0; } if (state.length === 0) { // If we have nothing in the buffer, then we want to know // as soon as we *do* get something into the buffer. if (!state.ended) state.needReadable = true; // If we tried to read() past the EOF, then emit end on the next tick. if (nOrig !== n && state.ended) endReadable(this); } if (ret !== null) this.emit('data', ret); return ret; }; function onEofChunk(stream, state) { debug('onEofChunk'); if (state.ended) return; if (state.decoder) { var chunk = state.decoder.end(); if (chunk && chunk.length) { state.buffer.push(chunk); state.length += state.objectMode ? 1 : chunk.length; } } state.ended = true; if (state.sync) { // if we are sync, wait until next tick to emit the data. // Otherwise we risk emitting data in the flow() // the readable code triggers during a read() call emitReadable(stream); } else { // emit 'readable' now to make sure it gets picked up. state.needReadable = false; if (!state.emittedReadable) { state.emittedReadable = true; emitReadable_(stream); } } } // Don't emit readable right away in sync mode, because this can trigger // another read() call => stack overflow. This way, it might trigger // a nextTick recursion warning, but that's not so bad. function emitReadable(stream) { var state = stream._readableState; debug('emitReadable', state.needReadable, state.emittedReadable); state.needReadable = false; if (!state.emittedReadable) { debug('emitReadable', state.flowing); state.emittedReadable = true; process.nextTick(emitReadable_, stream); } } function emitReadable_(stream) { var state = stream._readableState; debug('emitReadable_', state.destroyed, state.length, state.ended); if (!state.destroyed && (state.length || state.ended)) { stream.emit('readable'); state.emittedReadable = false; } // The stream needs another readable event if // 1. It is not flowing, as the flow mechanism will take // care of it. // 2. It is not ended. // 3. It is below the highWaterMark, so we can schedule // another readable later. state.needReadable = !state.flowing && !state.ended && state.length <= state.highWaterMark; flow(stream); } // at this point, the user has presumably seen the 'readable' event, // and called read() to consume some data. that may have triggered // in turn another _read(n) call, in which case reading = true if // it's in progress. // However, if we're not ended, or reading, and the length < hwm, // then go ahead and try to read some more preemptively. function maybeReadMore(stream, state) { if (!state.readingMore) { state.readingMore = true; process.nextTick(maybeReadMore_, stream, state); } } function maybeReadMore_(stream, state) { // Attempt to read more data if we should. // // The conditions for reading more data are (one of): // - Not enough data buffered (state.length < state.highWaterMark). The loop // is responsible for filling the buffer with enough data if such data // is available. If highWaterMark is 0 and we are not in the flowing mode // we should _not_ attempt to buffer any extra data. We'll get more data // when the stream consumer calls read() instead. // - No data in the buffer, and the stream is in flowing mode. In this mode // the loop below is responsible for ensuring read() is called. Failing to // call read here would abort the flow and there's no other mechanism for // continuing the flow if the stream consumer has just subscribed to the // 'data' event. // // In addition to the above conditions to keep reading data, the following // conditions prevent the data from being read: // - The stream has ended (state.ended). // - There is already a pending 'read' operation (state.reading). This is a // case where the the stream has called the implementation defined _read() // method, but they are processing the call asynchronously and have _not_ // called push() with new data. In this case we skip performing more // read()s. The execution ends in this method again after the _read() ends // up calling push() with more data. while (!state.reading && !state.ended && (state.length < state.highWaterMark || state.flowing && state.length === 0)) { var len = state.length; debug('maybeReadMore read 0'); stream.read(0); if (len === state.length) // didn't get any data, stop spinning. break; } state.readingMore = false; } // abstract method. to be overridden in specific implementation classes. // call cb(er, data) where data is <= n in length. // for virtual (non-string, non-buffer) streams, "length" is somewhat // arbitrary, and perhaps not very meaningful. Readable.prototype._read = function (n) { errorOrDestroy(this, new ERR_METHOD_NOT_IMPLEMENTED('_read()')); }; Readable.prototype.pipe = function (dest, pipeOpts) { var src = this; var state = this._readableState; switch (state.pipesCount) { case 0: state.pipes = dest; break; case 1: state.pipes = [state.pipes, dest]; break; default: state.pipes.push(dest); break; } state.pipesCount += 1; debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; var endFn = doEnd ? onend : unpipe; if (state.endEmitted) process.nextTick(endFn);else src.once('end', endFn); dest.on('unpipe', onunpipe); function onunpipe(readable, unpipeInfo) { debug('onunpipe'); if (readable === src) { if (unpipeInfo && unpipeInfo.hasUnpiped === false) { unpipeInfo.hasUnpiped = true; cleanup(); } } } function onend() { debug('onend'); dest.end(); } // when the dest drains, it reduces the awaitDrain counter // on the source. This would be more elegant with a .once() // handler in flow(), but adding and removing repeatedly is // too slow. var ondrain = pipeOnDrain(src); dest.on('drain', ondrain); var cleanedUp = false; function cleanup() { debug('cleanup'); // cleanup event handlers once the pipe is broken dest.removeListener('close', onclose); dest.removeListener('finish', onfinish); dest.removeListener('drain', ondrain); dest.removeListener('error', onerror); dest.removeListener('unpipe', onunpipe); src.removeListener('end', onend); src.removeListener('end', unpipe); src.removeListener('data', ondata); cleanedUp = true; // if the reader is waiting for a drain event from this // specific writer, then it would cause it to never start // flowing again. // So, if this is awaiting a drain, then we just call it now. // If we don't know, then assume that we are waiting for one. if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); } src.on('data', ondata); function ondata(chunk) { debug('ondata'); var ret = dest.write(chunk); debug('dest.write', ret); if (ret === false) { // If the user unpiped during `dest.write()`, it is possible // to get stuck in a permanently paused state if that write // also returned false. // => Check whether `dest` is still a piping destination. if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { debug('false write response, pause', state.awaitDrain); state.awaitDrain++; } src.pause(); } } // if the dest has an error, then stop piping into it. // however, don't suppress the throwing behavior for this. function onerror(er) { debug('onerror', er); unpipe(); dest.removeListener('error', onerror); if (EElistenerCount(dest, 'error') === 0) errorOrDestroy(dest, er); } // Make sure our error handler is attached before userland ones. prependListener(dest, 'error', onerror); // Both close and finish should trigger unpipe, but only once. function onclose() { dest.removeListener('finish', onfinish); unpipe(); } dest.once('close', onclose); function onfinish() { debug('onfinish'); dest.removeListener('close', onclose); unpipe(); } dest.once('finish', onfinish); function unpipe() { debug('unpipe'); src.unpipe(dest); } // tell the dest that it's being piped to dest.emit('pipe', src); // start the flow if it hasn't been started already. if (!state.flowing) { debug('pipe resume'); src.resume(); } return dest; }; function pipeOnDrain(src) { return function pipeOnDrainFunctionResult() { var state = src._readableState; debug('pipeOnDrain', state.awaitDrain); if (state.awaitDrain) state.awaitDrain--; if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { state.flowing = true; flow(src); } }; } Readable.prototype.unpipe = function (dest) { var state = this._readableState; var unpipeInfo = { hasUnpiped: false }; // if we're not piping anywhere, then do nothing. if (state.pipesCount === 0) return this; // just one destination. most common case. if (state.pipesCount === 1) { // passed in one, but it's not the right one. if (dest && dest !== state.pipes) return this; if (!dest) dest = state.pipes; // got a match. state.pipes = null; state.pipesCount = 0; state.flowing = false; if (dest) dest.emit('unpipe', this, unpipeInfo); return this; } // slow case. multiple pipe destinations. if (!dest) { // remove all. var dests = state.pipes; var len = state.pipesCount; state.pipes = null; state.pipesCount = 0; state.flowing = false; for (var i = 0; i < len; i++) { dests[i].emit('unpipe', this, { hasUnpiped: false }); } return this; } // try to find the right one. var index = indexOf(state.pipes, dest); if (index === -1) return this; state.pipes.splice(index, 1); state.pipesCount -= 1; if (state.pipesCount === 1) state.pipes = state.pipes[0]; dest.emit('unpipe', this, unpipeInfo); return this; }; // set up data events if they are asked for // Ensure readable listeners eventually get something Readable.prototype.on = function (ev, fn) { var res = Stream.prototype.on.call(this, ev, fn); var state = this._readableState; if (ev === 'data') { // update readableListening so that resume() may be a no-op // a few lines down. This is needed to support once('readable'). state.readableListening = this.listenerCount('readable') > 0; // Try start flowing on next tick if stream isn't explicitly paused if (state.flowing !== false) this.resume(); } else if (ev === 'readable') { if (!state.endEmitted && !state.readableListening) { state.readableListening = state.needReadable = true; state.flowing = false; state.emittedReadable = false; debug('on readable', state.length, state.reading); if (state.length) { emitReadable(this); } else if (!state.reading) { process.nextTick(nReadingNextTick, this); } } } return res; }; Readable.prototype.addListener = Readable.prototype.on; Readable.prototype.removeListener = function (ev, fn) { var res = Stream.prototype.removeListener.call(this, ev, fn); if (ev === 'readable') { // We need to check if there is someone still listening to // readable and reset the state. However this needs to happen // after readable has been emitted but before I/O (nextTick) to // support once('readable', fn) cycles. This means that calling // resume within the same tick will have no // effect. process.nextTick(updateReadableListening, this); } return res; }; Readable.prototype.removeAllListeners = function (ev) { var res = Stream.prototype.removeAllListeners.apply(this, arguments); if (ev === 'readable' || ev === undefined) { // We need to check if there is someone still listening to // readable and reset the state. However this needs to happen // after readable has been emitted but before I/O (nextTick) to // support once('readable', fn) cycles. This means that calling // resume within the same tick will have no // effect. process.nextTick(updateReadableListening, this); } return res; }; function updateReadableListening(self) { var state = self._readableState; state.readableListening = self.listenerCount('readable') > 0; if (state.resumeScheduled && !state.paused) { // flowing needs to be set to true now, otherwise // the upcoming resume will not flow. state.flowing = true; // crude way to check if we should resume } else if (self.listenerCount('data') > 0) { self.resume(); } } function nReadingNextTick(self) { debug('readable nexttick read 0'); self.read(0); } // pause() and resume() are remnants of the legacy readable stream API // If the user uses them, then switch into old mode. Readable.prototype.resume = function () { var state = this._readableState; if (!state.flowing) { debug('resume'); // we flow only if there is no one listening // for readable, but we still have to call // resume() state.flowing = !state.readableListening; resume(this, state); } state.paused = false; return this; }; function resume(stream, state) { if (!state.resumeScheduled) { state.resumeScheduled = true; process.nextTick(resume_, stream, state); } } function resume_(stream, state) { debug('resume', state.reading); if (!state.reading) { stream.read(0); } state.resumeScheduled = false; stream.emit('resume'); flow(stream); if (state.flowing && !state.reading) stream.read(0); } Readable.prototype.pause = function () { debug('call pause flowing=%j', this._readableState.flowing); if (this._readableState.flowing !== false) { debug('pause'); this._readableState.flowing = false; this.emit('pause'); } this._readableState.paused = true; return this; }; function flow(stream) { var state = stream._readableState; debug('flow', state.flowing); while (state.flowing && stream.read() !== null) { ; } } // wrap an old-style stream as the async data source. // This is *not* part of the readable stream interface. // It is an ugly unfortunate mess of history. Readable.prototype.wrap = function (stream) { var _this = this; var state = this._readableState; var paused = false; stream.on('end', function () { debug('wrapped end'); if (state.decoder && !state.ended) { var chunk = state.decoder.end(); if (chunk && chunk.length) _this.push(chunk); } _this.push(null); }); stream.on('data', function (chunk) { debug('wrapped data'); if (state.decoder) chunk = state.decoder.write(chunk); // don't skip over falsy values in objectMode if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; var ret = _this.push(chunk); if (!ret) { paused = true; stream.pause(); } }); // proxy all the other methods. // important when wrapping filters and duplexes. for (var i in stream) { if (this[i] === undefined && typeof stream[i] === 'function') { this[i] = function methodWrap(method) { return function methodWrapReturnFunction() { return stream[method].apply(stream, arguments); }; }(i); } } // proxy certain important events. for (var n = 0; n < kProxyEvents.length; n++) { stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n])); } // when we try to consume some more bytes, simply unpause the // underlying stream. this._read = function (n) { debug('wrapped _read', n); if (paused) { paused = false; stream.resume(); } }; return this; }; if (typeof Symbol === 'function') { Readable.prototype[Symbol.asyncIterator] = function () { if (createReadableStreamAsyncIterator === undefined) { createReadableStreamAsyncIterator = require('./internal/streams/async_iterator'); } return createReadableStreamAsyncIterator(this); }; } Object.defineProperty(Readable.prototype, 'readableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._readableState.highWaterMark; } }); Object.defineProperty(Readable.prototype, 'readableBuffer', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._readableState && this._readableState.buffer; } }); Object.defineProperty(Readable.prototype, 'readableFlowing', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._readableState.flowing; }, set: function set(state) { if (this._readableState) { this._readableState.flowing = state; } } }); // exposed for testing purposes only. Readable._fromList = fromList; Object.defineProperty(Readable.prototype, 'readableLength', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._readableState.length; } }); // Pluck off n bytes from an array of buffers. // Length is the combined lengths of all the buffers in the list. // This function is designed to be inlinable, so please take care when making // changes to the function body. function fromList(n, state) { // nothing buffered if (state.length === 0) return null; var ret; if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { // read it all, truncate the list if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.first();else ret = state.buffer.concat(state.length); state.buffer.clear(); } else { // read part of list ret = state.buffer.consume(n, state.decoder); } return ret; } function endReadable(stream) { var state = stream._readableState; debug('endReadable', state.endEmitted); if (!state.endEmitted) { state.ended = true; process.nextTick(endReadableNT, state, stream); } } function endReadableNT(state, stream) { debug('endReadableNT', state.endEmitted, state.length); // Check that we didn't get one last unshift. if (!state.endEmitted && state.length === 0) { state.endEmitted = true; stream.readable = false; stream.emit('end'); if (state.autoDestroy) { // In case of duplex streams we need a way to detect // if the writable side is ready for autoDestroy as well var wState = stream._writableState; if (!wState || wState.autoDestroy && wState.finished) { stream.destroy(); } } } } if (typeof Symbol === 'function') { Readable.from = function (iterable, opts) { if (from === undefined) { from = require('./internal/streams/from'); } return from(Readable, iterable, opts); }; } function indexOf(xs, x) { for (var i = 0, l = xs.length; i < l; i++) { if (xs[i] === x) return i; } return -1; } }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"../errors":80,"./_stream_duplex":81,"./internal/streams/async_iterator":86,"./internal/streams/buffer_list":87,"./internal/streams/destroy":88,"./internal/streams/from":90,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":169,"buffer":94,"events":77,"inherits":164,"string_decoder/":176,"util":75}],84:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // 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. // a transform stream is a readable/writable stream where you do // something with the data. Sometimes it's called a "filter", // but that's not a great name for it, since that implies a thing where // some bits pass through, and others are simply ignored. (That would // be a valid example of a transform, of course.) // // While the output is causally related to the input, it's not a // necessarily symmetric or synchronous transformation. For example, // a zlib stream might take multiple plain-text writes(), and then // emit a single compressed chunk some time in the future. // // Here's how this works: // // The Transform stream has all the aspects of the readable and writable // stream classes. When you write(chunk), that calls _write(chunk,cb) // internally, and returns false if there's a lot of pending writes // buffered up. When you call read(), that calls _read(n) until // there's enough pending readable data buffered up. // // In a transform stream, the written data is placed in a buffer. When // _read(n) is called, it transforms the queued up data, calling the // buffered _write cb's as it consumes chunks. If consuming a single // written chunk would result in multiple output chunks, then the first // outputted bit calls the readcb, and subsequent chunks just go into // the read buffer, and will cause it to emit 'readable' if necessary. // // This way, back-pressure is actually determined by the reading side, // since _read has to be called to start processing a new chunk. However, // a pathological inflate type of transform can cause excessive buffering // here. For example, imagine a stream where every byte of input is // interpreted as an integer from 0-255, and then results in that many // bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in // 1kb of data being output. In this case, you could write a very small // amount of input, and end up with a very large amount of output. In // such a pathological inflating mechanism, there'd be no way to tell // the system to stop doing the transform. A single 4MB write could // cause the system to run out of memory. // // However, even in such a pathological case, only a single written chunk // would be consumed, and then the rest would wait (un-transformed) until // the results of the previous transformed chunk were consumed. 'use strict'; module.exports = Transform; var _require$codes = require('../errors').codes, ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, ERR_TRANSFORM_ALREADY_TRANSFORMING = _require$codes.ERR_TRANSFORM_ALREADY_TRANSFORMING, ERR_TRANSFORM_WITH_LENGTH_0 = _require$codes.ERR_TRANSFORM_WITH_LENGTH_0; var Duplex = require('./_stream_duplex'); require('inherits')(Transform, Duplex); function afterTransform(er, data) { var ts = this._transformState; ts.transforming = false; var cb = ts.writecb; if (cb === null) { return this.emit('error', new ERR_MULTIPLE_CALLBACK()); } ts.writechunk = null; ts.writecb = null; if (data != null) // single equals check for both `null` and `undefined` this.push(data); cb(er); var rs = this._readableState; rs.reading = false; if (rs.needReadable || rs.length < rs.highWaterMark) { this._read(rs.highWaterMark); } } function Transform(options) { if (!(this instanceof Transform)) return new Transform(options); Duplex.call(this, options); this._transformState = { afterTransform: afterTransform.bind(this), needTransform: false, transforming: false, writecb: null, writechunk: null, writeencoding: null }; // start out asking for a readable event once data is transformed. this._readableState.needReadable = true; // we have implemented the _read method, and done the other things // that Readable wants before the first _read call, so unset the // sync guard flag. this._readableState.sync = false; if (options) { if (typeof options.transform === 'function') this._transform = options.transform; if (typeof options.flush === 'function') this._flush = options.flush; } // When the writable side finishes, then flush out anything remaining. this.on('prefinish', prefinish); } function prefinish() { var _this = this; if (typeof this._flush === 'function' && !this._readableState.destroyed) { this._flush(function (er, data) { done(_this, er, data); }); } else { done(this, null, null); } } Transform.prototype.push = function (chunk, encoding) { this._transformState.needTransform = false; return Duplex.prototype.push.call(this, chunk, encoding); }; // This is the part where you do stuff! // override this function in implementation classes. // 'chunk' is an input chunk. // // Call `push(newChunk)` to pass along transformed output // to the readable side. You may call 'push' zero or more times. // // Call `cb(err)` when you are done with this chunk. If you pass // an error, then that'll put the hurt on the whole operation. If you // never call cb(), then you'll never get another chunk. Transform.prototype._transform = function (chunk, encoding, cb) { cb(new ERR_METHOD_NOT_IMPLEMENTED('_transform()')); }; Transform.prototype._write = function (chunk, encoding, cb) { var ts = this._transformState; ts.writecb = cb; ts.writechunk = chunk; ts.writeencoding = encoding; if (!ts.transforming) { var rs = this._readableState; if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); } }; // Doesn't matter what the args are here. // _transform does all the work. // That we got here means that the readable side wants more data. Transform.prototype._read = function (n) { var ts = this._transformState; if (ts.writechunk !== null && !ts.transforming) { ts.transforming = true; this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); } else { // mark that we need a transform, so that any data that comes in // will get processed, now that we've asked for it. ts.needTransform = true; } }; Transform.prototype._destroy = function (err, cb) { Duplex.prototype._destroy.call(this, err, function (err2) { cb(err2); }); }; function done(stream, er, data) { if (er) return stream.emit('error', er); if (data != null) // single equals check for both `null` and `undefined` stream.push(data); // TODO(BridgeAR): Write a test for these two error cases // if there's nothing in the write buffer, then that means // that nothing more will ever be provided if (stream._writableState.length) throw new ERR_TRANSFORM_WITH_LENGTH_0(); if (stream._transformState.transforming) throw new ERR_TRANSFORM_ALREADY_TRANSFORMING(); return stream.push(null); } },{"../errors":80,"./_stream_duplex":81,"inherits":164}],85:[function(require,module,exports){ (function (process,global){(function (){ // Copyright Joyent, Inc. and other Node contributors. // // 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. // A bit simpler than readable streams. // Implement an async ._write(chunk, encoding, cb), and it'll handle all // the drain event emission and buffering. 'use strict'; module.exports = Writable; /* <replacement> */ function WriteReq(chunk, encoding, cb) { this.chunk = chunk; this.encoding = encoding; this.callback = cb; this.next = null; } // It seems a linked list but it is not // there will be only 2 of these for each stream function CorkedRequest(state) { var _this = this; this.next = null; this.entry = null; this.finish = function () { onCorkedFinish(_this, state); }; } /* </replacement> */ /*<replacement>*/ var Duplex; /*</replacement>*/ Writable.WritableState = WritableState; /*<replacement>*/ var internalUtil = { deprecate: require('util-deprecate') }; /*</replacement>*/ /*<replacement>*/ var Stream = require('./internal/streams/stream'); /*</replacement>*/ var Buffer = require('buffer').Buffer; var OurUint8Array = global.Uint8Array || function () {}; function _uint8ArrayToBuffer(chunk) { return Buffer.from(chunk); } function _isUint8Array(obj) { return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; } var destroyImpl = require('./internal/streams/destroy'); var _require = require('./internal/streams/state'), getHighWaterMark = _require.getHighWaterMark; var _require$codes = require('../errors').codes, ERR_INVALID_ARG_TYPE = _require$codes.ERR_INVALID_ARG_TYPE, ERR_METHOD_NOT_IMPLEMENTED = _require$codes.ERR_METHOD_NOT_IMPLEMENTED, ERR_MULTIPLE_CALLBACK = _require$codes.ERR_MULTIPLE_CALLBACK, ERR_STREAM_CANNOT_PIPE = _require$codes.ERR_STREAM_CANNOT_PIPE, ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED, ERR_STREAM_NULL_VALUES = _require$codes.ERR_STREAM_NULL_VALUES, ERR_STREAM_WRITE_AFTER_END = _require$codes.ERR_STREAM_WRITE_AFTER_END, ERR_UNKNOWN_ENCODING = _require$codes.ERR_UNKNOWN_ENCODING; var errorOrDestroy = destroyImpl.errorOrDestroy; require('inherits')(Writable, Stream); function nop() {} function WritableState(options, stream, isDuplex) { Duplex = Duplex || require('./_stream_duplex'); options = options || {}; // Duplex streams are both readable and writable, but share // the same options object. // However, some cases require setting options to different // values for the readable and the writable sides of the duplex stream, // e.g. options.readableObjectMode vs. options.writableObjectMode, etc. if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to indicate whether or not this stream // contains buffers or objects. this.objectMode = !!options.objectMode; if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at which write() starts returning false // Note: 0 is a valid value, means that we always return false if // the entire buffer is not flushed immediately on write() this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _final has been called this.finalCalled = false; // drain event flag. this.needDrain = false; // at the start of calling end() this.ending = false; // when end() has been called, and returned this.ended = false; // when 'finish' is emitted this.finished = false; // has it been destroyed this.destroyed = false; // should we decode strings into buffers before passing to _write? // this is here so that some node-core streams can optimize string // handling at a lower level. var noDecode = options.decodeStrings === false; this.decodeStrings = !noDecode; // Crypto is kind of old and crusty. Historically, its default string // encoding is 'binary' so we have to make this configurable. // Everything else in the universe uses 'utf8', though. this.defaultEncoding = options.defaultEncoding || 'utf8'; // not an actual buffer we keep track of, but a measurement // of how much we're waiting to get pushed to some underlying // socket or file. this.length = 0; // a flag to see when we're in the middle of a write. this.writing = false; // when true all writes will be buffered until .uncork() call this.corked = 0; // a flag to be able to tell if the onwrite cb is called immediately, // or on a later tick. We set this to true at first, because any // actions that shouldn't happen until "later" should generally also // not happen before the first write call. this.sync = true; // a flag to know if we're processing previously buffered items, which // may call the _write() callback in the same tick, so that we don't // end up in an overlapped onwrite situation. this.bufferProcessing = false; // the callback that's passed to _write(chunk,cb) this.onwrite = function (er) { onwrite(stream, er); }; // the callback that the user supplies to write(chunk,encoding,cb) this.writecb = null; // the amount that is being written when _write is called. this.writelen = 0; this.bufferedRequest = null; this.lastBufferedRequest = null; // number of pending user-supplied write callbacks // this must be 0 before 'finish' can be emitted this.pendingcb = 0; // emit prefinish if the only thing we're waiting for is _write cbs // This is relevant for synchronous Transform streams this.prefinished = false; // True if the error was already emitted and should not be thrown again this.errorEmitted = false; // Should close be emitted on destroy. Defaults to true. this.emitClose = options.emitClose !== false; // Should .destroy() be called after 'finish' (and potentially 'end') this.autoDestroy = !!options.autoDestroy; // count buffered requests this.bufferedRequestCount = 0; // allocate the first CorkedRequest, there is always // one allocated and free to use, and we maintain at most two this.corkedRequestsFree = new CorkedRequest(this); } WritableState.prototype.getBuffer = function getBuffer() { var current = this.bufferedRequest; var out = []; while (current) { out.push(current); current = current.next; } return out; }; (function () { try { Object.defineProperty(WritableState.prototype, 'buffer', { get: internalUtil.deprecate(function writableStateBufferGetter() { return this.getBuffer(); }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') }); } catch (_) {} })(); // Test _writableState for inheritance to account for Duplex streams, // whose prototype chain only points to Readable. var realHasInstance; if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { realHasInstance = Function.prototype[Symbol.hasInstance]; Object.defineProperty(Writable, Symbol.hasInstance, { value: function value(object) { if (realHasInstance.call(this, object)) return true; if (this !== Writable) return false; return object && object._writableState instanceof WritableState; } }); } else { realHasInstance = function realHasInstance(object) { return object instanceof this; }; } function Writable(options) { Duplex = Duplex || require('./_stream_duplex'); // Writable ctor is applied to Duplexes, too. // `realHasInstance` is necessary because using plain `instanceof` // would return false, as no `_writableState` property is attached. // Trying to use the custom `instanceof` for Writable here will also break the // Node.js LazyTransform implementation, which has a non-trivial getter for // `_writableState` that would lead to infinite recursion. // Checking for a Stream.Duplex instance is faster here instead of inside // the WritableState constructor, at least with V8 6.5 var isDuplex = this instanceof Duplex; if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options); this._writableState = new WritableState(options, this, isDuplex); // legacy. this.writable = true; if (options) { if (typeof options.write === 'function') this._write = options.write; if (typeof options.writev === 'function') this._writev = options.writev; if (typeof options.destroy === 'function') this._destroy = options.destroy; if (typeof options.final === 'function') this._final = options.final; } Stream.call(this); } // Otherwise people can pipe Writable streams, which is just wrong. Writable.prototype.pipe = function () { errorOrDestroy(this, new ERR_STREAM_CANNOT_PIPE()); }; function writeAfterEnd(stream, cb) { var er = new ERR_STREAM_WRITE_AFTER_END(); // TODO: defer error events consistently everywhere, not just the cb errorOrDestroy(stream, er); process.nextTick(cb, er); } // Checks that a user-supplied chunk is valid, especially for the particular // mode the stream is in. Currently this means that `null` is never accepted // and undefined/non-string values are only allowed in object mode. function validChunk(stream, state, chunk, cb) { var er; if (chunk === null) { er = new ERR_STREAM_NULL_VALUES(); } else if (typeof chunk !== 'string' && !state.objectMode) { er = new ERR_INVALID_ARG_TYPE('chunk', ['string', 'Buffer'], chunk); } if (er) { errorOrDestroy(stream, er); process.nextTick(cb, er); return false; } return true; } Writable.prototype.write = function (chunk, encoding, cb) { var state = this._writableState; var ret = false; var isBuf = !state.objectMode && _isUint8Array(chunk); if (isBuf && !Buffer.isBuffer(chunk)) { chunk = _uint8ArrayToBuffer(chunk); } if (typeof encoding === 'function') { cb = encoding; encoding = null; } if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; if (typeof cb !== 'function') cb = nop; if (state.ending) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { state.pendingcb++; ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb); } return ret; }; Writable.prototype.cork = function () { this._writableState.corked++; }; Writable.prototype.uncork = function () { var state = this._writableState; if (state.corked) { state.corked--; if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); } }; Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { // node::ParseEncoding() requires lower case. if (typeof encoding === 'string') encoding = encoding.toLowerCase(); if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new ERR_UNKNOWN_ENCODING(encoding); this._writableState.defaultEncoding = encoding; return this; }; Object.defineProperty(Writable.prototype, 'writableBuffer', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState && this._writableState.getBuffer(); } }); function decodeChunk(state, chunk, encoding) { if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { chunk = Buffer.from(chunk, encoding); } return chunk; } Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState.highWaterMark; } }); // if we're already writing something, then just put this // in the queue, and wait our turn. Otherwise, call _write // If we return false, then we need a drain event, so set that flag. function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { if (!isBuf) { var newChunk = decodeChunk(state, chunk, encoding); if (chunk !== newChunk) { isBuf = true; encoding = 'buffer'; chunk = newChunk; } } var len = state.objectMode ? 1 : chunk.length; state.length += len; var ret = state.length < state.highWaterMark; // we must ensure that previous needDrain will not be reset to false. if (!ret) state.needDrain = true; if (state.writing || state.corked) { var last = state.lastBufferedRequest; state.lastBufferedRequest = { chunk: chunk, encoding: encoding, isBuf: isBuf, callback: cb, next: null }; if (last) { last.next = state.lastBufferedRequest; } else { state.bufferedRequest = state.lastBufferedRequest; } state.bufferedRequestCount += 1; } else { doWrite(stream, state, false, len, chunk, encoding, cb); } return ret; } function doWrite(stream, state, writev, len, chunk, encoding, cb) { state.writelen = len; state.writecb = cb; state.writing = true; state.sync = true; if (state.destroyed) state.onwrite(new ERR_STREAM_DESTROYED('write'));else if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); state.sync = false; } function onwriteError(stream, state, sync, er, cb) { --state.pendingcb; if (sync) { // defer the callback if we are being called synchronously // to avoid piling up things on the stack process.nextTick(cb, er); // this can emit finish, and it will always happen // after error process.nextTick(finishMaybe, stream, state); stream._writableState.errorEmitted = true; errorOrDestroy(stream, er); } else { // the caller expect this to happen before if // it is async cb(er); stream._writableState.errorEmitted = true; errorOrDestroy(stream, er); // this can emit finish, but finish must // always follow error finishMaybe(stream, state); } } function onwriteStateUpdate(state) { state.writing = false; state.writecb = null; state.length -= state.writelen; state.writelen = 0; } function onwrite(stream, er) { var state = stream._writableState; var sync = state.sync; var cb = state.writecb; if (typeof cb !== 'function') throw new ERR_MULTIPLE_CALLBACK(); onwriteStateUpdate(state); if (er) onwriteError(stream, state, sync, er, cb);else { // Check if we're actually ready to finish, but don't emit yet var finished = needFinish(state) || stream.destroyed; if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { clearBuffer(stream, state); } if (sync) { process.nextTick(afterWrite, stream, state, finished, cb); } else { afterWrite(stream, state, finished, cb); } } } function afterWrite(stream, state, finished, cb) { if (!finished) onwriteDrain(stream, state); state.pendingcb--; cb(); finishMaybe(stream, state); } // Must force callback to be called on nextTick, so that we don't // emit 'drain' before the write() consumer gets the 'false' return // value, and has a chance to attach a 'drain' listener. function onwriteDrain(stream, state) { if (state.length === 0 && state.needDrain) { state.needDrain = false; stream.emit('drain'); } } // if there's something in the buffer waiting, then process it function clearBuffer(stream, state) { state.bufferProcessing = true; var entry = state.bufferedRequest; if (stream._writev && entry && entry.next) { // Fast case, write everything using _writev() var l = state.bufferedRequestCount; var buffer = new Array(l); var holder = state.corkedRequestsFree; holder.entry = entry; var count = 0; var allBuffers = true; while (entry) { buffer[count] = entry; if (!entry.isBuf) allBuffers = false; entry = entry.next; count += 1; } buffer.allBuffers = allBuffers; doWrite(stream, state, true, state.length, buffer, '', holder.finish); // doWrite is almost always async, defer these to save a bit of time // as the hot path ends with doWrite state.pendingcb++; state.lastBufferedRequest = null; if (holder.next) { state.corkedRequestsFree = holder.next; holder.next = null; } else { state.corkedRequestsFree = new CorkedRequest(state); } state.bufferedRequestCount = 0; } else { // Slow case, write chunks one-by-one while (entry) { var chunk = entry.chunk; var encoding = entry.encoding; var cb = entry.callback; var len = state.objectMode ? 1 : chunk.length; doWrite(stream, state, false, len, chunk, encoding, cb); entry = entry.next; state.bufferedRequestCount--; // if we didn't call the onwrite immediately, then // it means that we need to wait until it does. // also, that means that the chunk and cb are currently // being processed, so move the buffer counter past them. if (state.writing) { break; } } if (entry === null) state.lastBufferedRequest = null; } state.bufferedRequest = entry; state.bufferProcessing = false; } Writable.prototype._write = function (chunk, encoding, cb) { cb(new ERR_METHOD_NOT_IMPLEMENTED('_write()')); }; Writable.prototype._writev = null; Writable.prototype.end = function (chunk, encoding, cb) { var state = this._writableState; if (typeof chunk === 'function') { cb = chunk; chunk = null; encoding = null; } else if (typeof encoding === 'function') { cb = encoding; encoding = null; } if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); // .end() fully uncorks if (state.corked) { state.corked = 1; this.uncork(); } // ignore unnecessary end() calls. if (!state.ending) endWritable(this, state, cb); return this; }; Object.defineProperty(Writable.prototype, 'writableLength', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { return this._writableState.length; } }); function needFinish(state) { return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; } function callFinal(stream, state) { stream._final(function (err) { state.pendingcb--; if (err) { errorOrDestroy(stream, err); } state.prefinished = true; stream.emit('prefinish'); finishMaybe(stream, state); }); } function prefinish(stream, state) { if (!state.prefinished && !state.finalCalled) { if (typeof stream._final === 'function' && !state.destroyed) { state.pendingcb++; state.finalCalled = true; process.nextTick(callFinal, stream, state); } else { state.prefinished = true; stream.emit('prefinish'); } } } function finishMaybe(stream, state) { var need = needFinish(state); if (need) { prefinish(stream, state); if (state.pendingcb === 0) { state.finished = true; stream.emit('finish'); if (state.autoDestroy) { // In case of duplex streams we need a way to detect // if the readable side is ready for autoDestroy as well var rState = stream._readableState; if (!rState || rState.autoDestroy && rState.endEmitted) { stream.destroy(); } } } } return need; } function endWritable(stream, state, cb) { state.ending = true; finishMaybe(stream, state); if (cb) { if (state.finished) process.nextTick(cb);else stream.once('finish', cb); } state.ended = true; stream.writable = false; } function onCorkedFinish(corkReq, state, err) { var entry = corkReq.entry; corkReq.entry = null; while (entry) { var cb = entry.callback; state.pendingcb--; cb(err); entry = entry.next; } // reuse the free corkReq. state.corkedRequestsFree.next = corkReq; } Object.defineProperty(Writable.prototype, 'destroyed', { // making it explicit this property is not enumerable // because otherwise some prototype manipulation in // userland will fail enumerable: false, get: function get() { if (this._writableState === undefined) { return false; } return this._writableState.destroyed; }, set: function set(value) { // we ignore the value if the stream // has not been initialized yet if (!this._writableState) { return; } // backward compatibility, the user is explicitly // managing destroyed this._writableState.destroyed = value; } }); Writable.prototype.destroy = destroyImpl.destroy; Writable.prototype._undestroy = destroyImpl.undestroy; Writable.prototype._destroy = function (err, cb) { cb(err); }; }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{"../errors":80,"./_stream_duplex":81,"./internal/streams/destroy":88,"./internal/streams/state":92,"./internal/streams/stream":93,"_process":169,"buffer":94,"inherits":164,"util-deprecate":185}],86:[function(require,module,exports){ (function (process){(function (){ 'use strict'; var _Object$setPrototypeO; 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; } var finished = require('./end-of-stream'); var kLastResolve = Symbol('lastResolve'); var kLastReject = Symbol('lastReject'); var kError = Symbol('error'); var kEnded = Symbol('ended'); var kLastPromise = Symbol('lastPromise'); var kHandlePromise = Symbol('handlePromise'); var kStream = Symbol('stream'); function createIterResult(value, done) { return { value: value, done: done }; } function readAndResolve(iter) { var resolve = iter[kLastResolve]; if (resolve !== null) { var data = iter[kStream].read(); // we defer if data is null // we can be expecting either 'end' or // 'error' if (data !== null) { iter[kLastPromise] = null; iter[kLastResolve] = null; iter[kLastReject] = null; resolve(createIterResult(data, false)); } } } function onReadable(iter) { // we wait for the next tick, because it might // emit an error with process.nextTick process.nextTick(readAndResolve, iter); } function wrapForNext(lastPromise, iter) { return function (resolve, reject) { lastPromise.then(function () { if (iter[kEnded]) { resolve(createIterResult(undefined, true)); return; } iter[kHandlePromise](resolve, reject); }, reject); }; } var AsyncIteratorPrototype = Object.getPrototypeOf(function () {}); var ReadableStreamAsyncIteratorPrototype = Object.setPrototypeOf((_Object$setPrototypeO = { get stream() { return this[kStream]; }, next: function next() { var _this = this; // if we have detected an error in the meanwhile // reject straight away var error = this[kError]; if (error !== null) { return Promise.reject(error); } if (this[kEnded]) { return Promise.resolve(createIterResult(undefined, true)); } if (this[kStream].destroyed) { // We need to defer via nextTick because if .destroy(err) is // called, the error will be emitted via nextTick, and // we cannot guarantee that there is no error lingering around // waiting to be emitted. return new Promise(function (resolve, reject) { process.nextTick(function () { if (_this[kError]) { reject(_this[kError]); } else { resolve(createIterResult(undefined, true)); } }); }); } // if we have multiple next() calls // we will wait for the previous Promise to finish // this logic is optimized to support for await loops, // where next() is only called once at a time var lastPromise = this[kLastPromise]; var promise; if (lastPromise) { promise = new Promise(wrapForNext(lastPromise, this)); } else { // fast path needed to support multiple this.push() // without triggering the next() queue var data = this[kStream].read(); if (data !== null) { return Promise.resolve(createIterResult(data, false)); } promise = new Promise(this[kHandlePromise]); } this[kLastPromise] = promise; return promise; } }, _defineProperty(_Object$setPrototypeO, Symbol.asyncIterator, function () { return this; }), _defineProperty(_Object$setPrototypeO, "return", function _return() { var _this2 = this; // destroy(err, cb) is a private API // we can guarantee we have that here, because we control the // Readable class this is attached to return new Promise(function (resolve, reject) { _this2[kStream].destroy(null, function (err) { if (err) { reject(err); return; } resolve(createIterResult(undefined, true)); }); }); }), _Object$setPrototypeO), AsyncIteratorPrototype); var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator(stream) { var _Object$create; var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, { value: stream, writable: true }), _defineProperty(_Object$create, kLastResolve, { value: null, writable: true }), _defineProperty(_Object$create, kLastReject, { value: null, writable: true }), _defineProperty(_Object$create, kError, { value: null, writable: true }), _defineProperty(_Object$create, kEnded, { value: stream._readableState.endEmitted, writable: true }), _defineProperty(_Object$create, kHandlePromise, { value: function value(resolve, reject) { var data = iterator[kStream].read(); if (data) { iterator[kLastPromise] = null; iterator[kLastResolve] = null; iterator[kLastReject] = null; resolve(createIterResult(data, false)); } else { iterator[kLastResolve] = resolve; iterator[kLastReject] = reject; } }, writable: true }), _Object$create)); iterator[kLastPromise] = null; finished(stream, function (err) { if (err && err.code !== 'ERR_STREAM_PREMATURE_CLOSE') { var reject = iterator[kLastReject]; // reject if we are waiting for data in the Promise // returned by next() and store the error if (reject !== null) { iterator[kLastPromise] = null; iterator[kLastResolve] = null; iterator[kLastReject] = null; reject(err); } iterator[kError] = err; return; } var resolve = iterator[kLastResolve]; if (resolve !== null) { iterator[kLastPromise] = null; iterator[kLastResolve] = null; iterator[kLastReject] = null; resolve(createIterResult(undefined, true)); } iterator[kEnded] = true; }); stream.on('readable', onReadable.bind(null, iterator)); return iterator; }; module.exports = createReadableStreamAsyncIterator; }).call(this)}).call(this,require('_process')) },{"./end-of-stream":89,"_process":169}],87:[function(require,module,exports){ 'use strict'; function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); keys.push.apply(keys, symbols); } return keys; } function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; } 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 _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a 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); } } function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; } var _require = require('buffer'), Buffer = _require.Buffer; var _require2 = require('util'), inspect = _require2.inspect; var custom = inspect && inspect.custom || 'inspect'; function copyBuffer(src, target, offset) { Buffer.prototype.copy.call(src, target, offset); } module.exports = /*#__PURE__*/ function () { function BufferList() { _classCallCheck(this, BufferList); this.head = null; this.tail = null; this.length = 0; } _createClass(BufferList, [{ key: "push", value: function push(v) { var entry = { data: v, next: null }; if (this.length > 0) this.tail.next = entry;else this.head = entry; this.tail = entry; ++this.length; } }, { key: "unshift", value: function unshift(v) { var entry = { data: v, next: this.head }; if (this.length === 0) this.tail = entry; this.head = entry; ++this.length; } }, { key: "shift", value: function shift() { if (this.length === 0) return; var ret = this.head.data; if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; --this.length; return ret; } }, { key: "clear", value: function clear() { this.head = this.tail = null; this.length = 0; } }, { key: "join", value: function join(s) { if (this.length === 0) return ''; var p = this.head; var ret = '' + p.data; while (p = p.next) { ret += s + p.data; } return ret; } }, { key: "concat", value: function concat(n) { if (this.length === 0) return Buffer.alloc(0); var ret = Buffer.allocUnsafe(n >>> 0); var p = this.head; var i = 0; while (p) { copyBuffer(p.data, ret, i); i += p.data.length; p = p.next; } return ret; } // Consumes a specified amount of bytes or characters from the buffered data. }, { key: "consume", value: function consume(n, hasStrings) { var ret; if (n < this.head.data.length) { // `slice` is the same for buffers and strings. ret = this.head.data.slice(0, n); this.head.data = this.head.data.slice(n); } else if (n === this.head.data.length) { // First chunk is a perfect match. ret = this.shift(); } else { // Result spans more than one buffer. ret = hasStrings ? this._getString(n) : this._getBuffer(n); } return ret; } }, { key: "first", value: function first() { return this.head.data; } // Consumes a specified amount of characters from the buffered data. }, { key: "_getString", value: function _getString(n) { var p = this.head; var c = 1; var ret = p.data; n -= ret.length; while (p = p.next) { var str = p.data; var nb = n > str.length ? str.length : n; if (nb === str.length) ret += str;else ret += str.slice(0, n); n -= nb; if (n === 0) { if (nb === str.length) { ++c; if (p.next) this.head = p.next;else this.head = this.tail = null; } else { this.head = p; p.data = str.slice(nb); } break; } ++c; } this.length -= c; return ret; } // Consumes a specified amount of bytes from the buffered data. }, { key: "_getBuffer", value: function _getBuffer(n) { var ret = Buffer.allocUnsafe(n); var p = this.head; var c = 1; p.data.copy(ret); n -= p.data.length; while (p = p.next) { var buf = p.data; var nb = n > buf.length ? buf.length : n; buf.copy(ret, ret.length - n, 0, nb); n -= nb; if (n === 0) { if (nb === buf.length) { ++c; if (p.next) this.head = p.next;else this.head = this.tail = null; } else { this.head = p; p.data = buf.slice(nb); } break; } ++c; } this.length -= c; return ret; } // Make sure the linked list only shows the minimal necessary information. }, { key: custom, value: function value(_, options) { return inspect(this, _objectSpread({}, options, { // Only inspect one level. depth: 0, // It should not recurse. customInspect: false })); } }]); return BufferList; }(); },{"buffer":94,"util":75}],88:[function(require,module,exports){ (function (process){(function (){ 'use strict'; // undocumented cb() API, needed for core, not for public API function destroy(err, cb) { var _this = this; var readableDestroyed = this._readableState && this._readableState.destroyed; var writableDestroyed = this._writableState && this._writableState.destroyed; if (readableDestroyed || writableDestroyed) { if (cb) { cb(err); } else if (err) { if (!this._writableState) { process.nextTick(emitErrorNT, this, err); } else if (!this._writableState.errorEmitted) { this._writableState.errorEmitted = true; process.nextTick(emitErrorNT, this, err); } } return this; } // we set destroyed to true before firing error callbacks in order // to make it re-entrance safe in case destroy() is called within callbacks if (this._readableState) { this._readableState.destroyed = true; } // if this is a duplex stream mark the writable part as destroyed as well if (this._writableState) { this._writableState.destroyed = true; } this._destroy(err || null, function (err) { if (!cb && err) { if (!_this._writableState) { process.nextTick(emitErrorAndCloseNT, _this, err); } else if (!_this._writableState.errorEmitted) { _this._writableState.errorEmitted = true; process.nextTick(emitErrorAndCloseNT, _this, err); } else { process.nextTick(emitCloseNT, _this); } } else if (cb) { process.nextTick(emitCloseNT, _this); cb(err); } else { process.nextTick(emitCloseNT, _this); } }); return this; } function emitErrorAndCloseNT(self, err) { emitErrorNT(self, err); emitCloseNT(self); } function emitCloseNT(self) { if (self._writableState && !self._writableState.emitClose) return; if (self._readableState && !self._readableState.emitClose) return; self.emit('close'); } function undestroy() { if (this._readableState) { this._readableState.destroyed = false; this._readableState.reading = false; this._readableState.ended = false; this._readableState.endEmitted = false; } if (this._writableState) { this._writableState.destroyed = false; this._writableState.ended = false; this._writableState.ending = false; this._writableState.finalCalled = false; this._writableState.prefinished = false; this._writableState.finished = false; this._writableState.errorEmitted = false; } } function emitErrorNT(self, err) { self.emit('error', err); } function errorOrDestroy(stream, err) { // We have tests that rely on errors being emitted // in the same tick, so changing this is semver major. // For now when you opt-in to autoDestroy we allow // the error to be emitted nextTick. In a future // semver major update we should change the default to this. var rState = stream._readableState; var wState = stream._writableState; if (rState && rState.autoDestroy || wState && wState.autoDestroy) stream.destroy(err);else stream.emit('error', err); } module.exports = { destroy: destroy, undestroy: undestroy, errorOrDestroy: errorOrDestroy }; }).call(this)}).call(this,require('_process')) },{"_process":169}],89:[function(require,module,exports){ // Ported from https://github.com/mafintosh/end-of-stream with // permission from the author, Mathias Buus (@mafintosh). 'use strict'; var ERR_STREAM_PREMATURE_CLOSE = require('../../../errors').codes.ERR_STREAM_PREMATURE_CLOSE; function once(callback) { var called = false; return function () { if (called) return; called = true; for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } callback.apply(this, args); }; } function noop() {} function isRequest(stream) { return stream.setHeader && typeof stream.abort === 'function'; } function eos(stream, opts, callback) { if (typeof opts === 'function') return eos(stream, null, opts); if (!opts) opts = {}; callback = once(callback || noop); var readable = opts.readable || opts.readable !== false && stream.readable; var writable = opts.writable || opts.writable !== false && stream.writable; var onlegacyfinish = function onlegacyfinish() { if (!stream.writable) onfinish(); }; var writableEnded = stream._writableState && stream._writableState.finished; var onfinish = function onfinish() { writable = false; writableEnded = true; if (!readable) callback.call(stream); }; var readableEnded = stream._readableState && stream._readableState.endEmitted; var onend = function onend() { readable = false; readableEnded = true; if (!writable) callback.call(stream); }; var onerror = function onerror(err) { callback.call(stream, err); }; var onclose = function onclose() { var err; if (readable && !readableEnded) { if (!stream._readableState || !stream._readableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); return callback.call(stream, err); } if (writable && !writableEnded) { if (!stream._writableState || !stream._writableState.ended) err = new ERR_STREAM_PREMATURE_CLOSE(); return callback.call(stream, err); } }; var onrequest = function onrequest() { stream.req.on('finish', onfinish); }; if (isRequest(stream)) { stream.on('complete', onfinish); stream.on('abort', onclose); if (stream.req) onrequest();else stream.on('request', onrequest); } else if (writable && !stream._writableState) { // legacy streams stream.on('end', onlegacyfinish); stream.on('close', onlegacyfinish); } stream.on('end', onend); stream.on('finish', onfinish); if (opts.error !== false) stream.on('error', onerror); stream.on('close', onclose); return function () { stream.removeListener('complete', onfinish); stream.removeListener('abort', onclose); stream.removeListener('request', onrequest); if (stream.req) stream.req.removeListener('finish', onfinish); stream.removeListener('end', onlegacyfinish); stream.removeListener('close', onlegacyfinish); stream.removeListener('finish', onfinish); stream.removeListener('end', onend); stream.removeListener('error', onerror); stream.removeListener('close', onclose); }; } module.exports = eos; },{"../../../errors":80}],90:[function(require,module,exports){ module.exports = function () { throw new Error('Readable.from is not available in the browser') }; },{}],91:[function(require,module,exports){ // Ported from https://github.com/mafintosh/pump with // permission from the author, Mathias Buus (@mafintosh). 'use strict'; var eos; function once(callback) { var called = false; return function () { if (called) return; called = true; callback.apply(void 0, arguments); }; } var _require$codes = require('../../../errors').codes, ERR_MISSING_ARGS = _require$codes.ERR_MISSING_ARGS, ERR_STREAM_DESTROYED = _require$codes.ERR_STREAM_DESTROYED; function noop(err) { // Rethrow the error if it exists to avoid swallowing it if (err) throw err; } function isRequest(stream) { return stream.setHeader && typeof stream.abort === 'function'; } function destroyer(stream, reading, writing, callback) { callback = once(callback); var closed = false; stream.on('close', function () { closed = true; }); if (eos === undefined) eos = require('./end-of-stream'); eos(stream, { readable: reading, writable: writing }, function (err) { if (err) return callback(err); closed = true; callback(); }); var destroyed = false; return function (err) { if (closed) return; if (destroyed) return; destroyed = true; // request.destroy just do .end - .abort is what we want if (isRequest(stream)) return stream.abort(); if (typeof stream.destroy === 'function') return stream.destroy(); callback(err || new ERR_STREAM_DESTROYED('pipe')); }; } function call(fn) { fn(); } function pipe(from, to) { return from.pipe(to); } function popCallback(streams) { if (!streams.length) return noop; if (typeof streams[streams.length - 1] !== 'function') return noop; return streams.pop(); } function pipeline() { for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) { streams[_key] = arguments[_key]; } var callback = popCallback(streams); if (Array.isArray(streams[0])) streams = streams[0]; if (streams.length < 2) { throw new ERR_MISSING_ARGS('streams'); } var error; var destroys = streams.map(function (stream, i) { var reading = i < streams.length - 1; var writing = i > 0; return destroyer(stream, reading, writing, function (err) { if (!error) error = err; if (err) destroys.forEach(call); if (reading) return; destroys.forEach(call); callback(error); }); }); return streams.reduce(pipe); } module.exports = pipeline; },{"../../../errors":80,"./end-of-stream":89}],92:[function(require,module,exports){ 'use strict'; var ERR_INVALID_OPT_VALUE = require('../../../errors').codes.ERR_INVALID_OPT_VALUE; function highWaterMarkFrom(options, isDuplex, duplexKey) { return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : null; } function getHighWaterMark(state, options, duplexKey, isDuplex) { var hwm = highWaterMarkFrom(options, isDuplex, duplexKey); if (hwm != null) { if (!(isFinite(hwm) && Math.floor(hwm) === hwm) || hwm < 0) { var name = isDuplex ? duplexKey : 'highWaterMark'; throw new ERR_INVALID_OPT_VALUE(name, hwm); } return Math.floor(hwm); } // Default value return state.objectMode ? 16 : 16 * 1024; } module.exports = { getHighWaterMark: getHighWaterMark }; },{"../../../errors":80}],93:[function(require,module,exports){ module.exports = require('events').EventEmitter; },{"events":77}],94:[function(require,module,exports){ (function (Buffer){(function (){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <https://feross.org> * @license MIT */ /* eslint-disable no-proto */ 'use strict' var base64 = require('base64-js') var ieee754 = require('ieee754') exports.Buffer = Buffer exports.SlowBuffer = SlowBuffer exports.INSPECT_MAX_BYTES = 50 var K_MAX_LENGTH = 0x7fffffff exports.kMaxLength = K_MAX_LENGTH /** * If `Buffer.TYPED_ARRAY_SUPPORT`: * === true Use Uint8Array implementation (fastest) * === false Print warning and recommend using `buffer` v4.x which has an Object * implementation (most compatible, even IE6) * * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+, * Opera 11.6+, iOS 4.2+. * * We report that the browser does not support typed arrays if the are not subclassable * using __proto__. Firefox 4-29 lacks support for adding new properties to `Uint8Array` * (See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438). IE 10 lacks support * for __proto__ and has a buggy typed array implementation. */ Buffer.TYPED_ARRAY_SUPPORT = typedArraySupport() if (!Buffer.TYPED_ARRAY_SUPPORT && typeof console !== 'undefined' && typeof console.error === 'function') { console.error( 'This browser lacks typed array (Uint8Array) support which is required by ' + '`buffer` v5.x. Use `buffer` v4.x if you require old browser support.' ) } function typedArraySupport () { // Can typed array instances can be augmented? try { var arr = new Uint8Array(1) arr.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } } return arr.foo() === 42 } catch (e) { return false } } Object.defineProperty(Buffer.prototype, 'parent', { enumerable: true, get: function () { if (!Buffer.isBuffer(this)) return undefined return this.buffer } }) Object.defineProperty(Buffer.prototype, 'offset', { enumerable: true, get: function () { if (!Buffer.isBuffer(this)) return undefined return this.byteOffset } }) function createBuffer (length) { if (length > K_MAX_LENGTH) { throw new RangeError('The value "' + length + '" is invalid for option "size"') } // Return an augmented `Uint8Array` instance var buf = new Uint8Array(length) buf.__proto__ = Buffer.prototype return buf } /** * The Buffer constructor returns instances of `Uint8Array` that have their * prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of * `Uint8Array`, so the returned instances will have all the node `Buffer` methods * and the `Uint8Array` methods. Square bracket notation works as expected -- it * returns a single octet. * * The `Uint8Array` prototype remains unmodified. */ function Buffer (arg, encodingOrOffset, length) { // Common case. if (typeof arg === 'number') { if (typeof encodingOrOffset === 'string') { throw new TypeError( 'The "string" argument must be of type string. Received type number' ) } return allocUnsafe(arg) } return from(arg, encodingOrOffset, length) } // Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97 if (typeof Symbol !== 'undefined' && Symbol.species != null && Buffer[Symbol.species] === Buffer) { Object.defineProperty(Buffer, Symbol.species, { value: null, configurable: true, enumerable: false, writable: false }) } Buffer.poolSize = 8192 // not used by this implementation function from (value, encodingOrOffset, length) { if (typeof value === 'string') { return fromString(value, encodingOrOffset) } if (ArrayBuffer.isView(value)) { return fromArrayLike(value) } if (value == null) { throw TypeError( 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' + 'or Array-like Object. Received type ' + (typeof value) ) } if (isInstance(value, ArrayBuffer) || (value && isInstance(value.buffer, ArrayBuffer))) { return fromArrayBuffer(value, encodingOrOffset, length) } if (typeof value === 'number') { throw new TypeError( 'The "value" argument must not be of type number. Received type number' ) } var valueOf = value.valueOf && value.valueOf() if (valueOf != null && valueOf !== value) { return Buffer.from(valueOf, encodingOrOffset, length) } var b = fromObject(value) if (b) return b if (typeof Symbol !== 'undefined' && Symbol.toPrimitive != null && typeof value[Symbol.toPrimitive] === 'function') { return Buffer.from( value[Symbol.toPrimitive]('string'), encodingOrOffset, length ) } throw new TypeError( 'The first argument must be one of type string, Buffer, ArrayBuffer, Array, ' + 'or Array-like Object. Received type ' + (typeof value) ) } /** * Functionally equivalent to Buffer(arg, encoding) but throws a TypeError * if value is a number. * Buffer.from(str[, encoding]) * Buffer.from(array) * Buffer.from(buffer) * Buffer.from(arrayBuffer[, byteOffset[, length]]) **/ Buffer.from = function (value, encodingOrOffset, length) { return from(value, encodingOrOffset, length) } // Note: Change prototype *after* Buffer.from is defined to workaround Chrome bug: // https://github.com/feross/buffer/pull/148 Buffer.prototype.__proto__ = Uint8Array.prototype Buffer.__proto__ = Uint8Array function assertSize (size) { if (typeof size !== 'number') { throw new TypeError('"size" argument must be of type number') } else if (size < 0) { throw new RangeError('The value "' + size + '" is invalid for option "size"') } } function alloc (size, fill, encoding) { assertSize(size) if (size <= 0) { return createBuffer(size) } if (fill !== undefined) { // Only pay attention to encoding if it's a string. This // prevents accidentally sending in a number that would // be interpretted as a start offset. return typeof encoding === 'string' ? createBuffer(size).fill(fill, encoding) : createBuffer(size).fill(fill) } return createBuffer(size) } /** * Creates a new filled Buffer instance. * alloc(size[, fill[, encoding]]) **/ Buffer.alloc = function (size, fill, encoding) { return alloc(size, fill, encoding) } function allocUnsafe (size) { assertSize(size) return createBuffer(size < 0 ? 0 : checked(size) | 0) } /** * Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance. * */ Buffer.allocUnsafe = function (size) { return allocUnsafe(size) } /** * Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance. */ Buffer.allocUnsafeSlow = function (size) { return allocUnsafe(size) } function fromString (string, encoding) { if (typeof encoding !== 'string' || encoding === '') { encoding = 'utf8' } if (!Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } var length = byteLength(string, encoding) | 0 var buf = createBuffer(length) var actual = buf.write(string, encoding) if (actual !== length) { // Writing a hex string, for example, that contains invalid characters will // cause everything after the first invalid character to be ignored. (e.g. // 'abxxcd' will be treated as 'ab') buf = buf.slice(0, actual) } return buf } function fromArrayLike (array) { var length = array.length < 0 ? 0 : checked(array.length) | 0 var buf = createBuffer(length) for (var i = 0; i < length; i += 1) { buf[i] = array[i] & 255 } return buf } function fromArrayBuffer (array, byteOffset, length) { if (byteOffset < 0 || array.byteLength < byteOffset) { throw new RangeError('"offset" is outside of buffer bounds') } if (array.byteLength < byteOffset + (length || 0)) { throw new RangeError('"length" is outside of buffer bounds') } var buf if (byteOffset === undefined && length === undefined) { buf = new Uint8Array(array) } else if (length === undefined) { buf = new Uint8Array(array, byteOffset) } else { buf = new Uint8Array(array, byteOffset, length) } // Return an augmented `Uint8Array` instance buf.__proto__ = Buffer.prototype return buf } function fromObject (obj) { if (Buffer.isBuffer(obj)) { var len = checked(obj.length) | 0 var buf = createBuffer(len) if (buf.length === 0) { return buf } obj.copy(buf, 0, 0, len) return buf } if (obj.length !== undefined) { if (typeof obj.length !== 'number' || numberIsNaN(obj.length)) { return createBuffer(0) } return fromArrayLike(obj) } if (obj.type === 'Buffer' && Array.isArray(obj.data)) { return fromArrayLike(obj.data) } } function checked (length) { // Note: cannot use `length < K_MAX_LENGTH` here because that fails when // length is NaN (which is otherwise coerced to zero.) if (length >= K_MAX_LENGTH) { throw new RangeError('Attempt to allocate Buffer larger than maximum ' + 'size: 0x' + K_MAX_LENGTH.toString(16) + ' bytes') } return length | 0 } function SlowBuffer (length) { if (+length != length) { // eslint-disable-line eqeqeq length = 0 } return Buffer.alloc(+length) } Buffer.isBuffer = function isBuffer (b) { return b != null && b._isBuffer === true && b !== Buffer.prototype // so Buffer.isBuffer(Buffer.prototype) will be false } Buffer.compare = function compare (a, b) { if (isInstance(a, Uint8Array)) a = Buffer.from(a, a.offset, a.byteLength) if (isInstance(b, Uint8Array)) b = Buffer.from(b, b.offset, b.byteLength) if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) { throw new TypeError( 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array' ) } if (a === b) return 0 var x = a.length var y = b.length for (var i = 0, len = Math.min(x, y); i < len; ++i) { if (a[i] !== b[i]) { x = a[i] y = b[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } Buffer.isEncoding = function isEncoding (encoding) { switch (String(encoding).toLowerCase()) { case 'hex': case 'utf8': case 'utf-8': case 'ascii': case 'latin1': case 'binary': case 'base64': case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return true default: return false } } Buffer.concat = function concat (list, length) { if (!Array.isArray(list)) { throw new TypeError('"list" argument must be an Array of Buffers') } if (list.length === 0) { return Buffer.alloc(0) } var i if (length === undefined) { length = 0 for (i = 0; i < list.length; ++i) { length += list[i].length } } var buffer = Buffer.allocUnsafe(length) var pos = 0 for (i = 0; i < list.length; ++i) { var buf = list[i] if (isInstance(buf, Uint8Array)) { buf = Buffer.from(buf) } if (!Buffer.isBuffer(buf)) { throw new TypeError('"list" argument must be an Array of Buffers') } buf.copy(buffer, pos) pos += buf.length } return buffer } function byteLength (string, encoding) { if (Buffer.isBuffer(string)) { return string.length } if (ArrayBuffer.isView(string) || isInstance(string, ArrayBuffer)) { return string.byteLength } if (typeof string !== 'string') { throw new TypeError( 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. ' + 'Received type ' + typeof string ) } var len = string.length var mustMatch = (arguments.length > 2 && arguments[2] === true) if (!mustMatch && len === 0) return 0 // Use a for loop to avoid recursion var loweredCase = false for (;;) { switch (encoding) { case 'ascii': case 'latin1': case 'binary': return len case 'utf8': case 'utf-8': return utf8ToBytes(string).length case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return len * 2 case 'hex': return len >>> 1 case 'base64': return base64ToBytes(string).length default: if (loweredCase) { return mustMatch ? -1 : utf8ToBytes(string).length // assume utf8 } encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.byteLength = byteLength function slowToString (encoding, start, end) { var loweredCase = false // No need to verify that "this.length <= MAX_UINT32" since it's a read-only // property of a typed array. // This behaves neither like String nor Uint8Array in that we set start/end // to their upper/lower bounds if the value passed is out of range. // undefined is handled specially as per ECMA-262 6th Edition, // Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization. if (start === undefined || start < 0) { start = 0 } // Return early if start > this.length. Done here to prevent potential uint32 // coercion fail below. if (start > this.length) { return '' } if (end === undefined || end > this.length) { end = this.length } if (end <= 0) { return '' } // Force coersion to uint32. This will also coerce falsey/NaN values to 0. end >>>= 0 start >>>= 0 if (end <= start) { return '' } if (!encoding) encoding = 'utf8' while (true) { switch (encoding) { case 'hex': return hexSlice(this, start, end) case 'utf8': case 'utf-8': return utf8Slice(this, start, end) case 'ascii': return asciiSlice(this, start, end) case 'latin1': case 'binary': return latin1Slice(this, start, end) case 'base64': return base64Slice(this, start, end) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return utf16leSlice(this, start, end) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = (encoding + '').toLowerCase() loweredCase = true } } } // This property is used by `Buffer.isBuffer` (and the `is-buffer` npm package) // to detect a Buffer instance. It's not possible to use `instanceof Buffer` // reliably in a browserify context because there could be multiple different // copies of the 'buffer' package in use. This method works even for Buffer // instances that were created from another copy of the `buffer` package. // See: https://github.com/feross/buffer/issues/154 Buffer.prototype._isBuffer = true function swap (b, n, m) { var i = b[n] b[n] = b[m] b[m] = i } Buffer.prototype.swap16 = function swap16 () { var len = this.length if (len % 2 !== 0) { throw new RangeError('Buffer size must be a multiple of 16-bits') } for (var i = 0; i < len; i += 2) { swap(this, i, i + 1) } return this } Buffer.prototype.swap32 = function swap32 () { var len = this.length if (len % 4 !== 0) { throw new RangeError('Buffer size must be a multiple of 32-bits') } for (var i = 0; i < len; i += 4) { swap(this, i, i + 3) swap(this, i + 1, i + 2) } return this } Buffer.prototype.swap64 = function swap64 () { var len = this.length if (len % 8 !== 0) { throw new RangeError('Buffer size must be a multiple of 64-bits') } for (var i = 0; i < len; i += 8) { swap(this, i, i + 7) swap(this, i + 1, i + 6) swap(this, i + 2, i + 5) swap(this, i + 3, i + 4) } return this } Buffer.prototype.toString = function toString () { var length = this.length if (length === 0) return '' if (arguments.length === 0) return utf8Slice(this, 0, length) return slowToString.apply(this, arguments) } Buffer.prototype.toLocaleString = Buffer.prototype.toString Buffer.prototype.equals = function equals (b) { if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer') if (this === b) return true return Buffer.compare(this, b) === 0 } Buffer.prototype.inspect = function inspect () { var str = '' var max = exports.INSPECT_MAX_BYTES str = this.toString('hex', 0, max).replace(/(.{2})/g, '$1 ').trim() if (this.length > max) str += ' ... ' return '<Buffer ' + str + '>' } Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) { if (isInstance(target, Uint8Array)) { target = Buffer.from(target, target.offset, target.byteLength) } if (!Buffer.isBuffer(target)) { throw new TypeError( 'The "target" argument must be one of type Buffer or Uint8Array. ' + 'Received type ' + (typeof target) ) } if (start === undefined) { start = 0 } if (end === undefined) { end = target ? target.length : 0 } if (thisStart === undefined) { thisStart = 0 } if (thisEnd === undefined) { thisEnd = this.length } if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) { throw new RangeError('out of range index') } if (thisStart >= thisEnd && start >= end) { return 0 } if (thisStart >= thisEnd) { return -1 } if (start >= end) { return 1 } start >>>= 0 end >>>= 0 thisStart >>>= 0 thisEnd >>>= 0 if (this === target) return 0 var x = thisEnd - thisStart var y = end - start var len = Math.min(x, y) var thisCopy = this.slice(thisStart, thisEnd) var targetCopy = target.slice(start, end) for (var i = 0; i < len; ++i) { if (thisCopy[i] !== targetCopy[i]) { x = thisCopy[i] y = targetCopy[i] break } } if (x < y) return -1 if (y < x) return 1 return 0 } // Finds either the first index of `val` in `buffer` at offset >= `byteOffset`, // OR the last index of `val` in `buffer` at offset <= `byteOffset`. // // Arguments: // - buffer - a Buffer to search // - val - a string, Buffer, or number // - byteOffset - an index into `buffer`; will be clamped to an int32 // - encoding - an optional encoding, relevant is val is a string // - dir - true for indexOf, false for lastIndexOf function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) { // Empty buffer means no match if (buffer.length === 0) return -1 // Normalize byteOffset if (typeof byteOffset === 'string') { encoding = byteOffset byteOffset = 0 } else if (byteOffset > 0x7fffffff) { byteOffset = 0x7fffffff } else if (byteOffset < -0x80000000) { byteOffset = -0x80000000 } byteOffset = +byteOffset // Coerce to Number. if (numberIsNaN(byteOffset)) { // byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer byteOffset = dir ? 0 : (buffer.length - 1) } // Normalize byteOffset: negative offsets start from the end of the buffer if (byteOffset < 0) byteOffset = buffer.length + byteOffset if (byteOffset >= buffer.length) { if (dir) return -1 else byteOffset = buffer.length - 1 } else if (byteOffset < 0) { if (dir) byteOffset = 0 else return -1 } // Normalize val if (typeof val === 'string') { val = Buffer.from(val, encoding) } // Finally, search either indexOf (if dir is true) or lastIndexOf if (Buffer.isBuffer(val)) { // Special case: looking for empty string/buffer always fails if (val.length === 0) { return -1 } return arrayIndexOf(buffer, val, byteOffset, encoding, dir) } else if (typeof val === 'number') { val = val & 0xFF // Search for a byte value [0-255] if (typeof Uint8Array.prototype.indexOf === 'function') { if (dir) { return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset) } else { return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset) } } return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir) } throw new TypeError('val must be string, number or Buffer') } function arrayIndexOf (arr, val, byteOffset, encoding, dir) { var indexSize = 1 var arrLength = arr.length var valLength = val.length if (encoding !== undefined) { encoding = String(encoding).toLowerCase() if (encoding === 'ucs2' || encoding === 'ucs-2' || encoding === 'utf16le' || encoding === 'utf-16le') { if (arr.length < 2 || val.length < 2) { return -1 } indexSize = 2 arrLength /= 2 valLength /= 2 byteOffset /= 2 } } function read (buf, i) { if (indexSize === 1) { return buf[i] } else { return buf.readUInt16BE(i * indexSize) } } var i if (dir) { var foundIndex = -1 for (i = byteOffset; i < arrLength; i++) { if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) { if (foundIndex === -1) foundIndex = i if (i - foundIndex + 1 === valLength) return foundIndex * indexSize } else { if (foundIndex !== -1) i -= i - foundIndex foundIndex = -1 } } } else { if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength for (i = byteOffset; i >= 0; i--) { var found = true for (var j = 0; j < valLength; j++) { if (read(arr, i + j) !== read(val, j)) { found = false break } } if (found) return i } } return -1 } Buffer.prototype.includes = function includes (val, byteOffset, encoding) { return this.indexOf(val, byteOffset, encoding) !== -1 } Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, true) } Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) { return bidirectionalIndexOf(this, val, byteOffset, encoding, false) } function hexWrite (buf, string, offset, length) { offset = Number(offset) || 0 var remaining = buf.length - offset if (!length) { length = remaining } else { length = Number(length) if (length > remaining) { length = remaining } } var strLen = string.length if (length > strLen / 2) { length = strLen / 2 } for (var i = 0; i < length; ++i) { var parsed = parseInt(string.substr(i * 2, 2), 16) if (numberIsNaN(parsed)) return i buf[offset + i] = parsed } return i } function utf8Write (buf, string, offset, length) { return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length) } function asciiWrite (buf, string, offset, length) { return blitBuffer(asciiToBytes(string), buf, offset, length) } function latin1Write (buf, string, offset, length) { return asciiWrite(buf, string, offset, length) } function base64Write (buf, string, offset, length) { return blitBuffer(base64ToBytes(string), buf, offset, length) } function ucs2Write (buf, string, offset, length) { return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length) } Buffer.prototype.write = function write (string, offset, length, encoding) { // Buffer#write(string) if (offset === undefined) { encoding = 'utf8' length = this.length offset = 0 // Buffer#write(string, encoding) } else if (length === undefined && typeof offset === 'string') { encoding = offset length = this.length offset = 0 // Buffer#write(string, offset[, length][, encoding]) } else if (isFinite(offset)) { offset = offset >>> 0 if (isFinite(length)) { length = length >>> 0 if (encoding === undefined) encoding = 'utf8' } else { encoding = length length = undefined } } else { throw new Error( 'Buffer.write(string, encoding, offset[, length]) is no longer supported' ) } var remaining = this.length - offset if (length === undefined || length > remaining) length = remaining if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) { throw new RangeError('Attempt to write outside buffer bounds') } if (!encoding) encoding = 'utf8' var loweredCase = false for (;;) { switch (encoding) { case 'hex': return hexWrite(this, string, offset, length) case 'utf8': case 'utf-8': return utf8Write(this, string, offset, length) case 'ascii': return asciiWrite(this, string, offset, length) case 'latin1': case 'binary': return latin1Write(this, string, offset, length) case 'base64': // Warning: maxLength not taken into account in base64Write return base64Write(this, string, offset, length) case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return ucs2Write(this, string, offset, length) default: if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding) encoding = ('' + encoding).toLowerCase() loweredCase = true } } } Buffer.prototype.toJSON = function toJSON () { return { type: 'Buffer', data: Array.prototype.slice.call(this._arr || this, 0) } } function base64Slice (buf, start, end) { if (start === 0 && end === buf.length) { return base64.fromByteArray(buf) } else { return base64.fromByteArray(buf.slice(start, end)) } } function utf8Slice (buf, start, end) { end = Math.min(buf.length, end) var res = [] var i = start while (i < end) { var firstByte = buf[i] var codePoint = null var bytesPerSequence = (firstByte > 0xEF) ? 4 : (firstByte > 0xDF) ? 3 : (firstByte > 0xBF) ? 2 : 1 if (i + bytesPerSequence <= end) { var secondByte, thirdByte, fourthByte, tempCodePoint switch (bytesPerSequence) { case 1: if (firstByte < 0x80) { codePoint = firstByte } break case 2: secondByte = buf[i + 1] if ((secondByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F) if (tempCodePoint > 0x7F) { codePoint = tempCodePoint } } break case 3: secondByte = buf[i + 1] thirdByte = buf[i + 2] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F) if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) { codePoint = tempCodePoint } } break case 4: secondByte = buf[i + 1] thirdByte = buf[i + 2] fourthByte = buf[i + 3] if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) { tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F) if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) { codePoint = tempCodePoint } } } } if (codePoint === null) { // we did not generate a valid codePoint so insert a // replacement char (U+FFFD) and advance only 1 byte codePoint = 0xFFFD bytesPerSequence = 1 } else if (codePoint > 0xFFFF) { // encode to utf16 (surrogate pair dance) codePoint -= 0x10000 res.push(codePoint >>> 10 & 0x3FF | 0xD800) codePoint = 0xDC00 | codePoint & 0x3FF } res.push(codePoint) i += bytesPerSequence } return decodeCodePointsArray(res) } // Based on http://stackoverflow.com/a/22747272/680742, the browser with // the lowest limit is Chrome, with 0x10000 args. // We go 1 magnitude less, for safety var MAX_ARGUMENTS_LENGTH = 0x1000 function decodeCodePointsArray (codePoints) { var len = codePoints.length if (len <= MAX_ARGUMENTS_LENGTH) { return String.fromCharCode.apply(String, codePoints) // avoid extra slice() } // Decode in chunks to avoid "call stack size exceeded". var res = '' var i = 0 while (i < len) { res += String.fromCharCode.apply( String, codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH) ) } return res } function asciiSlice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i] & 0x7F) } return ret } function latin1Slice (buf, start, end) { var ret = '' end = Math.min(buf.length, end) for (var i = start; i < end; ++i) { ret += String.fromCharCode(buf[i]) } return ret } function hexSlice (buf, start, end) { var len = buf.length if (!start || start < 0) start = 0 if (!end || end < 0 || end > len) end = len var out = '' for (var i = start; i < end; ++i) { out += toHex(buf[i]) } return out } function utf16leSlice (buf, start, end) { var bytes = buf.slice(start, end) var res = '' for (var i = 0; i < bytes.length; i += 2) { res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256)) } return res } Buffer.prototype.slice = function slice (start, end) { var len = this.length start = ~~start end = end === undefined ? len : ~~end if (start < 0) { start += len if (start < 0) start = 0 } else if (start > len) { start = len } if (end < 0) { end += len if (end < 0) end = 0 } else if (end > len) { end = len } if (end < start) end = start var newBuf = this.subarray(start, end) // Return an augmented `Uint8Array` instance newBuf.__proto__ = Buffer.prototype return newBuf } /* * Need to make sure that buffer isn't trying to write out of bounds. */ function checkOffset (offset, ext, length) { if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint') if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length') } Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } return val } Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { checkOffset(offset, byteLength, this.length) } var val = this[offset + --byteLength] var mul = 1 while (byteLength > 0 && (mul *= 0x100)) { val += this[offset + --byteLength] * mul } return val } Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 1, this.length) return this[offset] } Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) return this[offset] | (this[offset + 1] << 8) } Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) return (this[offset] << 8) | this[offset + 1] } Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ((this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16)) + (this[offset + 3] * 0x1000000) } Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] * 0x1000000) + ((this[offset + 1] << 16) | (this[offset + 2] << 8) | this[offset + 3]) } Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var val = this[offset] var mul = 1 var i = 0 while (++i < byteLength && (mul *= 0x100)) { val += this[offset + i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) { offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) checkOffset(offset, byteLength, this.length) var i = byteLength var mul = 1 var val = this[offset + --i] while (i > 0 && (mul *= 0x100)) { val += this[offset + --i] * mul } mul *= 0x80 if (val >= mul) val -= Math.pow(2, 8 * byteLength) return val } Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 1, this.length) if (!(this[offset] & 0x80)) return (this[offset]) return ((0xff - this[offset] + 1) * -1) } Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset] | (this[offset + 1] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 2, this.length) var val = this[offset + 1] | (this[offset] << 8) return (val & 0x8000) ? val | 0xFFFF0000 : val } Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset]) | (this[offset + 1] << 8) | (this[offset + 2] << 16) | (this[offset + 3] << 24) } Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return (this[offset] << 24) | (this[offset + 1] << 16) | (this[offset + 2] << 8) | (this[offset + 3]) } Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, true, 23, 4) } Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 4, this.length) return ieee754.read(this, offset, false, 23, 4) } Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, true, 52, 8) } Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) { offset = offset >>> 0 if (!noAssert) checkOffset(offset, 8, this.length) return ieee754.read(this, offset, false, 52, 8) } function checkInt (buf, value, offset, ext, max, min) { if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance') if (value > max || value < min) throw new RangeError('"value" argument is out of bounds') if (offset + ext > buf.length) throw new RangeError('Index out of range') } Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var mul = 1 var i = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 byteLength = byteLength >>> 0 if (!noAssert) { var maxBytes = Math.pow(2, 8 * byteLength) - 1 checkInt(this, value, offset, byteLength, maxBytes, 0) } var i = byteLength - 1 var mul = 1 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { this[offset + i] = (value / mul) & 0xFF } return offset + byteLength } Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0) this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) return offset + 2 } Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0) this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) return offset + 2 } Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) this[offset + 3] = (value >>> 24) this[offset + 2] = (value >>> 16) this[offset + 1] = (value >>> 8) this[offset] = (value & 0xff) return offset + 4 } Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0) this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) return offset + 4 } Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { var limit = Math.pow(2, (8 * byteLength) - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = 0 var mul = 1 var sub = 0 this[offset] = value & 0xFF while (++i < byteLength && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { var limit = Math.pow(2, (8 * byteLength) - 1) checkInt(this, value, offset, byteLength, limit - 1, -limit) } var i = byteLength - 1 var mul = 1 var sub = 0 this[offset + i] = value & 0xFF while (--i >= 0 && (mul *= 0x100)) { if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) { sub = 1 } this[offset + i] = ((value / mul) >> 0) - sub & 0xFF } return offset + byteLength } Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80) if (value < 0) value = 0xff + value + 1 this[offset] = (value & 0xff) return offset + 1 } Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) return offset + 2 } Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) this[offset] = (value >>> 8) this[offset + 1] = (value & 0xff) return offset + 2 } Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) this[offset] = (value & 0xff) this[offset + 1] = (value >>> 8) this[offset + 2] = (value >>> 16) this[offset + 3] = (value >>> 24) return offset + 4 } Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000) if (value < 0) value = 0xffffffff + value + 1 this[offset] = (value >>> 24) this[offset + 1] = (value >>> 16) this[offset + 2] = (value >>> 8) this[offset + 3] = (value & 0xff) return offset + 4 } function checkIEEE754 (buf, value, offset, ext, max, min) { if (offset + ext > buf.length) throw new RangeError('Index out of range') if (offset < 0) throw new RangeError('Index out of range') } function writeFloat (buf, value, offset, littleEndian, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38) } ieee754.write(buf, value, offset, littleEndian, 23, 4) return offset + 4 } Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) { return writeFloat(this, value, offset, true, noAssert) } Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) { return writeFloat(this, value, offset, false, noAssert) } function writeDouble (buf, value, offset, littleEndian, noAssert) { value = +value offset = offset >>> 0 if (!noAssert) { checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308) } ieee754.write(buf, value, offset, littleEndian, 52, 8) return offset + 8 } Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) { return writeDouble(this, value, offset, true, noAssert) } Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) { return writeDouble(this, value, offset, false, noAssert) } // copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length) Buffer.prototype.copy = function copy (target, targetStart, start, end) { if (!Buffer.isBuffer(target)) throw new TypeError('argument should be a Buffer') if (!start) start = 0 if (!end && end !== 0) end = this.length if (targetStart >= target.length) targetStart = target.length if (!targetStart) targetStart = 0 if (end > 0 && end < start) end = start // Copy 0 bytes; we're done if (end === start) return 0 if (target.length === 0 || this.length === 0) return 0 // Fatal error conditions if (targetStart < 0) { throw new RangeError('targetStart out of bounds') } if (start < 0 || start >= this.length) throw new RangeError('Index out of range') if (end < 0) throw new RangeError('sourceEnd out of bounds') // Are we oob? if (end > this.length) end = this.length if (target.length - targetStart < end - start) { end = target.length - targetStart + start } var len = end - start if (this === target && typeof Uint8Array.prototype.copyWithin === 'function') { // Use built-in when available, missing from IE11 this.copyWithin(targetStart, start, end) } else if (this === target && start < targetStart && targetStart < end) { // descending copy from end for (var i = len - 1; i >= 0; --i) { target[i + targetStart] = this[i + start] } } else { Uint8Array.prototype.set.call( target, this.subarray(start, end), targetStart ) } return len } // Usage: // buffer.fill(number[, offset[, end]]) // buffer.fill(buffer[, offset[, end]]) // buffer.fill(string[, offset[, end]][, encoding]) Buffer.prototype.fill = function fill (val, start, end, encoding) { // Handle string cases: if (typeof val === 'string') { if (typeof start === 'string') { encoding = start start = 0 end = this.length } else if (typeof end === 'string') { encoding = end end = this.length } if (encoding !== undefined && typeof encoding !== 'string') { throw new TypeError('encoding must be a string') } if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) { throw new TypeError('Unknown encoding: ' + encoding) } if (val.length === 1) { var code = val.charCodeAt(0) if ((encoding === 'utf8' && code < 128) || encoding === 'latin1') { // Fast path: If `val` fits into a single byte, use that numeric value. val = code } } } else if (typeof val === 'number') { val = val & 255 } // Invalid ranges are not set to a default, so can range check early. if (start < 0 || this.length < start || this.length < end) { throw new RangeError('Out of range index') } if (end <= start) { return this } start = start >>> 0 end = end === undefined ? this.length : end >>> 0 if (!val) val = 0 var i if (typeof val === 'number') { for (i = start; i < end; ++i) { this[i] = val } } else { var bytes = Buffer.isBuffer(val) ? val : Buffer.from(val, encoding) var len = bytes.length if (len === 0) { throw new TypeError('The value "' + val + '" is invalid for argument "value"') } for (i = 0; i < end - start; ++i) { this[i + start] = bytes[i % len] } } return this } // HELPER FUNCTIONS // ================ var INVALID_BASE64_RE = /[^+/0-9A-Za-z-_]/g function base64clean (str) { // Node takes equal signs as end of the Base64 encoding str = str.split('=')[0] // Node strips out invalid characters like \n and \t from the string, base64-js does not str = str.trim().replace(INVALID_BASE64_RE, '') // Node converts strings with length < 2 to '' if (str.length < 2) return '' // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not while (str.length % 4 !== 0) { str = str + '=' } return str } function toHex (n) { if (n < 16) return '0' + n.toString(16) return n.toString(16) } function utf8ToBytes (string, units) { units = units || Infinity var codePoint var length = string.length var leadSurrogate = null var bytes = [] for (var i = 0; i < length; ++i) { codePoint = string.charCodeAt(i) // is surrogate component if (codePoint > 0xD7FF && codePoint < 0xE000) { // last char was a lead if (!leadSurrogate) { // no lead yet if (codePoint > 0xDBFF) { // unexpected trail if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } else if (i + 1 === length) { // unpaired lead if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) continue } // valid lead leadSurrogate = codePoint continue } // 2 leads in a row if (codePoint < 0xDC00) { if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) leadSurrogate = codePoint continue } // valid surrogate pair codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000 } else if (leadSurrogate) { // valid bmp char, but last char was a lead if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD) } leadSurrogate = null // encode utf8 if (codePoint < 0x80) { if ((units -= 1) < 0) break bytes.push(codePoint) } else if (codePoint < 0x800) { if ((units -= 2) < 0) break bytes.push( codePoint >> 0x6 | 0xC0, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x10000) { if ((units -= 3) < 0) break bytes.push( codePoint >> 0xC | 0xE0, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else if (codePoint < 0x110000) { if ((units -= 4) < 0) break bytes.push( codePoint >> 0x12 | 0xF0, codePoint >> 0xC & 0x3F | 0x80, codePoint >> 0x6 & 0x3F | 0x80, codePoint & 0x3F | 0x80 ) } else { throw new Error('Invalid code point') } } return bytes } function asciiToBytes (str) { var byteArray = [] for (var i = 0; i < str.length; ++i) { // Node's code seems to be doing this and not & 0x7F.. byteArray.push(str.charCodeAt(i) & 0xFF) } return byteArray } function utf16leToBytes (str, units) { var c, hi, lo var byteArray = [] for (var i = 0; i < str.length; ++i) { if ((units -= 2) < 0) break c = str.charCodeAt(i) hi = c >> 8 lo = c % 256 byteArray.push(lo) byteArray.push(hi) } return byteArray } function base64ToBytes (str) { return base64.toByteArray(base64clean(str)) } function blitBuffer (src, dst, offset, length) { for (var i = 0; i < length; ++i) { if ((i + offset >= dst.length) || (i >= src.length)) break dst[i + offset] = src[i] } return i } // ArrayBuffer or Uint8Array objects from other contexts (i.e. iframes) do not pass // the `instanceof` check but they should be treated as of that type. // See: https://github.com/feross/buffer/issues/166 function isInstance (obj, type) { return obj instanceof type || (obj != null && obj.constructor != null && obj.constructor.name != null && obj.constructor.name === type.name) } function numberIsNaN (obj) { // For IE11 support return obj !== obj // eslint-disable-line no-self-compare } }).call(this)}).call(this,require("buffer").Buffer) },{"base64-js":74,"buffer":94,"ieee754":163}],95:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var callBind = require('./'); var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); module.exports = function callBoundIntrinsic(name, allowMissing) { var intrinsic = GetIntrinsic(name, !!allowMissing); if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { return callBind(intrinsic); } return intrinsic; }; },{"./":96,"get-intrinsic":159}],96:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); var GetIntrinsic = require('get-intrinsic'); var $apply = GetIntrinsic('%Function.prototype.apply%'); var $call = GetIntrinsic('%Function.prototype.call%'); var $reflectApply = GetIntrinsic('%Reflect.apply%', true) || bind.call($call, $apply); var $gOPD = GetIntrinsic('%Object.getOwnPropertyDescriptor%', true); var $defineProperty = GetIntrinsic('%Object.defineProperty%', true); var $max = GetIntrinsic('%Math.max%'); if ($defineProperty) { try { $defineProperty({}, 'a', { value: 1 }); } catch (e) { // IE 8 has a broken defineProperty $defineProperty = null; } } module.exports = function callBind(originalFunction) { var func = $reflectApply(bind, $call, arguments); if ($gOPD && $defineProperty) { var desc = $gOPD(func, 'length'); if (desc.configurable) { // original length, plus the receiver, minus any additional arguments (after the receiver) $defineProperty( func, 'length', { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) } ); } } return func; }; var applyBind = function applyBind() { return $reflectApply(bind, $apply, arguments); }; if ($defineProperty) { $defineProperty(module.exports, 'apply', { value: applyBind }); } else { module.exports.apply = applyBind; } },{"function-bind":158,"get-intrinsic":159}],97:[function(require,module,exports){ var pSlice = Array.prototype.slice; var objectKeys = require('./lib/keys.js'); var isArguments = require('./lib/is_arguments.js'); var deepEqual = module.exports = function (actual, expected, opts) { if (!opts) opts = {}; // 7.1. All identical values are equivalent, as determined by ===. if (actual === expected) { return true; } else if (actual instanceof Date && expected instanceof Date) { return actual.getTime() === expected.getTime(); // 7.3. Other pairs that do not both pass typeof value == 'object', // equivalence is determined by ==. } else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') { return opts.strict ? actual === expected : actual == expected; // 7.4. For all other Object pairs, including Array objects, equivalence is // determined by having the same number of owned properties (as verified // with Object.prototype.hasOwnProperty.call), the same set of keys // (although not necessarily the same order), equivalent values for every // corresponding key, and an identical 'prototype' property. Note: this // accounts for both named and indexed properties on Arrays. } else { return objEquiv(actual, expected, opts); } } function isUndefinedOrNull(value) { return value === null || value === undefined; } function isBuffer (x) { if (!x || typeof x !== 'object' || typeof x.length !== 'number') return false; if (typeof x.copy !== 'function' || typeof x.slice !== 'function') { return false; } if (x.length > 0 && typeof x[0] !== 'number') return false; return true; } function objEquiv(a, b, opts) { var i, key; if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) return false; // an identical 'prototype' property. if (a.prototype !== b.prototype) return false; //~~~I've managed to break Object.keys through screwy arguments passing. // Converting to array solves the problem. if (isArguments(a)) { if (!isArguments(b)) { return false; } a = pSlice.call(a); b = pSlice.call(b); return deepEqual(a, b, opts); } if (isBuffer(a)) { if (!isBuffer(b)) { return false; } if (a.length !== b.length) return false; for (i = 0; i < a.length; i++) { if (a[i] !== b[i]) return false; } return true; } try { var ka = objectKeys(a), kb = objectKeys(b); } catch (e) {//happens when one is a string literal and the other isn't return false; } // having the same number of owned properties (keys incorporates // hasOwnProperty) if (ka.length != kb.length) return false; //the same set of keys (although not necessarily the same order), ka.sort(); kb.sort(); //~~~cheap key test for (i = ka.length - 1; i >= 0; i--) { if (ka[i] != kb[i]) return false; } //equivalent values for every corresponding key, and //~~~possibly expensive deep test for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; if (!deepEqual(a[key], b[key], opts)) return false; } return typeof a === typeof b; } },{"./lib/is_arguments.js":98,"./lib/keys.js":99}],98:[function(require,module,exports){ var supportsArgumentsClass = (function(){ return Object.prototype.toString.call(arguments) })() == '[object Arguments]'; exports = module.exports = supportsArgumentsClass ? supported : unsupported; exports.supported = supported; function supported(object) { return Object.prototype.toString.call(object) == '[object Arguments]'; }; exports.unsupported = unsupported; function unsupported(object){ return object && typeof object == 'object' && typeof object.length == 'number' && Object.prototype.hasOwnProperty.call(object, 'callee') && !Object.prototype.propertyIsEnumerable.call(object, 'callee') || false; }; },{}],99:[function(require,module,exports){ exports = module.exports = typeof Object.keys === 'function' ? Object.keys : shim; exports.shim = shim; function shim (obj) { var keys = []; for (var key in obj) keys.push(key); return keys; } },{}],100:[function(require,module,exports){ 'use strict'; var keys = require('object-keys'); var hasSymbols = typeof Symbol === 'function' && typeof Symbol('foo') === 'symbol'; var toStr = Object.prototype.toString; var concat = Array.prototype.concat; var origDefineProperty = Object.defineProperty; var isFunction = function (fn) { return typeof fn === 'function' && toStr.call(fn) === '[object Function]'; }; var arePropertyDescriptorsSupported = function () { var obj = {}; try { origDefineProperty(obj, 'x', { enumerable: false, value: obj }); // eslint-disable-next-line no-unused-vars, no-restricted-syntax for (var _ in obj) { // jscs:ignore disallowUnusedVariables return false; } return obj.x === obj; } catch (e) { /* this is IE 8. */ return false; } }; var supportsDescriptors = origDefineProperty && arePropertyDescriptorsSupported(); var defineProperty = function (object, name, value, predicate) { if (name in object && (!isFunction(predicate) || !predicate())) { return; } if (supportsDescriptors) { origDefineProperty(object, name, { configurable: true, enumerable: false, value: value, writable: true }); } else { object[name] = value; } }; var defineProperties = function (object, map) { var predicates = arguments.length > 2 ? arguments[2] : {}; var props = keys(map); if (hasSymbols) { props = concat.call(props, Object.getOwnPropertySymbols(map)); } for (var i = 0; i < props.length; i += 1) { defineProperty(object, props[i], map[props[i]], predicates[props[i]]); } }; defineProperties.supportsDescriptors = !!supportsDescriptors; module.exports = defineProperties; },{"object-keys":167}],101:[function(require,module,exports){ module.exports = function () { for (var i = 0; i < arguments.length; i++) { if (arguments[i] !== undefined) return arguments[i]; } }; },{}],102:[function(require,module,exports){ 'use strict'; var ToNumber = require('./ToNumber'); var ToPrimitive = require('./ToPrimitive'); var Type = require('./Type'); // https://262.ecma-international.org/5.1/#sec-11.9.3 module.exports = function AbstractEqualityComparison(x, y) { var xType = Type(x); var yType = Type(y); if (xType === yType) { return x === y; // ES6+ specified this shortcut anyways. } if (x == null && y == null) { return true; } if (xType === 'Number' && yType === 'String') { return AbstractEqualityComparison(x, ToNumber(y)); } if (xType === 'String' && yType === 'Number') { return AbstractEqualityComparison(ToNumber(x), y); } if (xType === 'Boolean') { return AbstractEqualityComparison(ToNumber(x), y); } if (yType === 'Boolean') { return AbstractEqualityComparison(x, ToNumber(y)); } if ((xType === 'String' || xType === 'Number') && yType === 'Object') { return AbstractEqualityComparison(x, ToPrimitive(y)); } if (xType === 'Object' && (yType === 'String' || yType === 'Number')) { return AbstractEqualityComparison(ToPrimitive(x), y); } return false; }; },{"./ToNumber":132,"./ToPrimitive":134,"./Type":139}],103:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $Number = GetIntrinsic('%Number%'); var $TypeError = GetIntrinsic('%TypeError%'); var $isNaN = require('../helpers/isNaN'); var $isFinite = require('../helpers/isFinite'); var isPrefixOf = require('../helpers/isPrefixOf'); var ToNumber = require('./ToNumber'); var ToPrimitive = require('./ToPrimitive'); var Type = require('./Type'); // https://262.ecma-international.org/5.1/#sec-11.8.5 // eslint-disable-next-line max-statements module.exports = function AbstractRelationalComparison(x, y, LeftFirst) { if (Type(LeftFirst) !== 'Boolean') { throw new $TypeError('Assertion failed: LeftFirst argument must be a Boolean'); } var px; var py; if (LeftFirst) { px = ToPrimitive(x, $Number); py = ToPrimitive(y, $Number); } else { py = ToPrimitive(y, $Number); px = ToPrimitive(x, $Number); } var bothStrings = Type(px) === 'String' && Type(py) === 'String'; if (!bothStrings) { var nx = ToNumber(px); var ny = ToNumber(py); if ($isNaN(nx) || $isNaN(ny)) { return undefined; } if ($isFinite(nx) && $isFinite(ny) && nx === ny) { return false; } if (nx === Infinity) { return false; } if (ny === Infinity) { return true; } if (ny === -Infinity) { return false; } if (nx === -Infinity) { return true; } return nx < ny; // by now, these are both nonzero, finite, and not equal } if (isPrefixOf(py, px)) { return false; } if (isPrefixOf(px, py)) { return true; } return px < py; // both strings, neither a prefix of the other. shortcut for steps c-f }; },{"../helpers/isFinite":148,"../helpers/isNaN":149,"../helpers/isPrefixOf":150,"./ToNumber":132,"./ToPrimitive":134,"./Type":139,"get-intrinsic":159}],104:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); // http://262.ecma-international.org/5.1/#sec-9.10 module.exports = function CheckObjectCoercible(value, optMessage) { if (value == null) { throw new $TypeError(optMessage || ('Cannot call method on ' + value)); } return value; }; },{"get-intrinsic":159}],105:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $EvalError = GetIntrinsic('%EvalError%'); var DayWithinYear = require('./DayWithinYear'); var InLeapYear = require('./InLeapYear'); var MonthFromTime = require('./MonthFromTime'); // https://262.ecma-international.org/5.1/#sec-15.9.1.5 module.exports = function DateFromTime(t) { var m = MonthFromTime(t); var d = DayWithinYear(t); if (m === 0) { return d + 1; } if (m === 1) { return d - 30; } var leap = InLeapYear(t); if (m === 2) { return d - 58 - leap; } if (m === 3) { return d - 89 - leap; } if (m === 4) { return d - 119 - leap; } if (m === 5) { return d - 150 - leap; } if (m === 6) { return d - 180 - leap; } if (m === 7) { return d - 211 - leap; } if (m === 8) { return d - 242 - leap; } if (m === 9) { return d - 272 - leap; } if (m === 10) { return d - 303 - leap; } if (m === 11) { return d - 333 - leap; } throw new $EvalError('Assertion failed: MonthFromTime returned an impossible value: ' + m); }; },{"./DayWithinYear":108,"./InLeapYear":112,"./MonthFromTime":122,"get-intrinsic":159}],106:[function(require,module,exports){ 'use strict'; var floor = require('./floor'); var msPerDay = require('../helpers/timeConstants').msPerDay; // https://262.ecma-international.org/5.1/#sec-15.9.1.2 module.exports = function Day(t) { return floor(t / msPerDay); }; },{"../helpers/timeConstants":154,"./floor":143}],107:[function(require,module,exports){ 'use strict'; var floor = require('./floor'); // https://262.ecma-international.org/5.1/#sec-15.9.1.3 module.exports = function DayFromYear(y) { return (365 * (y - 1970)) + floor((y - 1969) / 4) - floor((y - 1901) / 100) + floor((y - 1601) / 400); }; },{"./floor":143}],108:[function(require,module,exports){ 'use strict'; var Day = require('./Day'); var DayFromYear = require('./DayFromYear'); var YearFromTime = require('./YearFromTime'); // https://262.ecma-international.org/5.1/#sec-15.9.1.4 module.exports = function DayWithinYear(t) { return Day(t) - DayFromYear(YearFromTime(t)); }; },{"./Day":106,"./DayFromYear":107,"./YearFromTime":141}],109:[function(require,module,exports){ 'use strict'; var modulo = require('./modulo'); // https://262.ecma-international.org/5.1/#sec-15.9.1.3 module.exports = function DaysInYear(y) { if (modulo(y, 4) !== 0) { return 365; } if (modulo(y, 100) !== 0) { return 366; } if (modulo(y, 400) !== 0) { return 365; } return 366; }; },{"./modulo":144}],110:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var Type = require('./Type'); var IsDataDescriptor = require('./IsDataDescriptor'); var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var assertRecord = require('../helpers/assertRecord'); // https://262.ecma-international.org/5.1/#sec-8.10.4 module.exports = function FromPropertyDescriptor(Desc) { if (typeof Desc === 'undefined') { return Desc; } assertRecord(Type, 'Property Descriptor', 'Desc', Desc); if (IsDataDescriptor(Desc)) { return { value: Desc['[[Value]]'], writable: !!Desc['[[Writable]]'], enumerable: !!Desc['[[Enumerable]]'], configurable: !!Desc['[[Configurable]]'] }; } else if (IsAccessorDescriptor(Desc)) { return { get: Desc['[[Get]]'], set: Desc['[[Set]]'], enumerable: !!Desc['[[Enumerable]]'], configurable: !!Desc['[[Configurable]]'] }; } else { throw new $TypeError('FromPropertyDescriptor must be called with a fully populated Property Descriptor'); } }; },{"../helpers/assertRecord":147,"./IsAccessorDescriptor":113,"./IsDataDescriptor":115,"./Type":139,"get-intrinsic":159}],111:[function(require,module,exports){ 'use strict'; var floor = require('./floor'); var modulo = require('./modulo'); var timeConstants = require('../helpers/timeConstants'); var msPerHour = timeConstants.msPerHour; var HoursPerDay = timeConstants.HoursPerDay; // https://262.ecma-international.org/5.1/#sec-15.9.1.10 module.exports = function HourFromTime(t) { return modulo(floor(t / msPerHour), HoursPerDay); }; },{"../helpers/timeConstants":154,"./floor":143,"./modulo":144}],112:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $EvalError = GetIntrinsic('%EvalError%'); var DaysInYear = require('./DaysInYear'); var YearFromTime = require('./YearFromTime'); // https://262.ecma-international.org/5.1/#sec-15.9.1.3 module.exports = function InLeapYear(t) { var days = DaysInYear(YearFromTime(t)); if (days === 365) { return 0; } if (days === 366) { return 1; } throw new $EvalError('Assertion failed: there are not 365 or 366 days in a year, got: ' + days); }; },{"./DaysInYear":109,"./YearFromTime":141,"get-intrinsic":159}],113:[function(require,module,exports){ 'use strict'; var has = require('has'); var Type = require('./Type'); var assertRecord = require('../helpers/assertRecord'); // https://262.ecma-international.org/5.1/#sec-8.10.1 module.exports = function IsAccessorDescriptor(Desc) { if (typeof Desc === 'undefined') { return false; } assertRecord(Type, 'Property Descriptor', 'Desc', Desc); if (!has(Desc, '[[Get]]') && !has(Desc, '[[Set]]')) { return false; } return true; }; },{"../helpers/assertRecord":147,"./Type":139,"has":162}],114:[function(require,module,exports){ 'use strict'; // http://262.ecma-international.org/5.1/#sec-9.11 module.exports = require('is-callable'); },{"is-callable":165}],115:[function(require,module,exports){ 'use strict'; var has = require('has'); var Type = require('./Type'); var assertRecord = require('../helpers/assertRecord'); // https://262.ecma-international.org/5.1/#sec-8.10.2 module.exports = function IsDataDescriptor(Desc) { if (typeof Desc === 'undefined') { return false; } assertRecord(Type, 'Property Descriptor', 'Desc', Desc); if (!has(Desc, '[[Value]]') && !has(Desc, '[[Writable]]')) { return false; } return true; }; },{"../helpers/assertRecord":147,"./Type":139,"has":162}],116:[function(require,module,exports){ 'use strict'; var IsAccessorDescriptor = require('./IsAccessorDescriptor'); var IsDataDescriptor = require('./IsDataDescriptor'); var Type = require('./Type'); var assertRecord = require('../helpers/assertRecord'); // https://262.ecma-international.org/5.1/#sec-8.10.3 module.exports = function IsGenericDescriptor(Desc) { if (typeof Desc === 'undefined') { return false; } assertRecord(Type, 'Property Descriptor', 'Desc', Desc); if (!IsAccessorDescriptor(Desc) && !IsDataDescriptor(Desc)) { return true; } return false; }; },{"../helpers/assertRecord":147,"./IsAccessorDescriptor":113,"./IsDataDescriptor":115,"./Type":139}],117:[function(require,module,exports){ 'use strict'; // TODO, semver-major: delete this var isPropertyDescriptor = require('../helpers/isPropertyDescriptor'); var Type = require('./Type'); var IsDataDescriptor = require('./IsDataDescriptor'); var IsAccessorDescriptor = require('./IsAccessorDescriptor'); // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type module.exports = function IsPropertyDescriptor(Desc) { return isPropertyDescriptor({ IsDataDescriptor: IsDataDescriptor, IsAccessorDescriptor: IsAccessorDescriptor, Type: Type }, Desc); }; },{"../helpers/isPropertyDescriptor":151,"./IsAccessorDescriptor":113,"./IsDataDescriptor":115,"./Type":139}],118:[function(require,module,exports){ 'use strict'; var $isFinite = require('../helpers/isFinite'); var msPerDay = require('../helpers/timeConstants').msPerDay; // https://262.ecma-international.org/5.1/#sec-15.9.1.13 module.exports = function MakeDate(day, time) { if (!$isFinite(day) || !$isFinite(time)) { return NaN; } return (day * msPerDay) + time; }; },{"../helpers/isFinite":148,"../helpers/timeConstants":154}],119:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $DateUTC = GetIntrinsic('%Date.UTC%'); var $isFinite = require('../helpers/isFinite'); var DateFromTime = require('./DateFromTime'); var Day = require('./Day'); var floor = require('./floor'); var modulo = require('./modulo'); var MonthFromTime = require('./MonthFromTime'); var ToInteger = require('./ToInteger'); var YearFromTime = require('./YearFromTime'); // https://262.ecma-international.org/5.1/#sec-15.9.1.12 module.exports = function MakeDay(year, month, date) { if (!$isFinite(year) || !$isFinite(month) || !$isFinite(date)) { return NaN; } var y = ToInteger(year); var m = ToInteger(month); var dt = ToInteger(date); var ym = y + floor(m / 12); var mn = modulo(m, 12); var t = $DateUTC(ym, mn, 1); if (YearFromTime(t) !== ym || MonthFromTime(t) !== mn || DateFromTime(t) !== 1) { return NaN; } return Day(t) + dt - 1; }; },{"../helpers/isFinite":148,"./DateFromTime":105,"./Day":106,"./MonthFromTime":122,"./ToInteger":131,"./YearFromTime":141,"./floor":143,"./modulo":144,"get-intrinsic":159}],120:[function(require,module,exports){ 'use strict'; var $isFinite = require('../helpers/isFinite'); var timeConstants = require('../helpers/timeConstants'); var msPerSecond = timeConstants.msPerSecond; var msPerMinute = timeConstants.msPerMinute; var msPerHour = timeConstants.msPerHour; var ToInteger = require('./ToInteger'); // https://262.ecma-international.org/5.1/#sec-15.9.1.11 module.exports = function MakeTime(hour, min, sec, ms) { if (!$isFinite(hour) || !$isFinite(min) || !$isFinite(sec) || !$isFinite(ms)) { return NaN; } var h = ToInteger(hour); var m = ToInteger(min); var s = ToInteger(sec); var milli = ToInteger(ms); var t = (h * msPerHour) + (m * msPerMinute) + (s * msPerSecond) + milli; return t; }; },{"../helpers/isFinite":148,"../helpers/timeConstants":154,"./ToInteger":131}],121:[function(require,module,exports){ 'use strict'; var floor = require('./floor'); var modulo = require('./modulo'); var timeConstants = require('../helpers/timeConstants'); var msPerMinute = timeConstants.msPerMinute; var MinutesPerHour = timeConstants.MinutesPerHour; // https://262.ecma-international.org/5.1/#sec-15.9.1.10 module.exports = function MinFromTime(t) { return modulo(floor(t / msPerMinute), MinutesPerHour); }; },{"../helpers/timeConstants":154,"./floor":143,"./modulo":144}],122:[function(require,module,exports){ 'use strict'; var DayWithinYear = require('./DayWithinYear'); var InLeapYear = require('./InLeapYear'); // https://262.ecma-international.org/5.1/#sec-15.9.1.4 module.exports = function MonthFromTime(t) { var day = DayWithinYear(t); if (0 <= day && day < 31) { return 0; } var leap = InLeapYear(t); if (31 <= day && day < (59 + leap)) { return 1; } if ((59 + leap) <= day && day < (90 + leap)) { return 2; } if ((90 + leap) <= day && day < (120 + leap)) { return 3; } if ((120 + leap) <= day && day < (151 + leap)) { return 4; } if ((151 + leap) <= day && day < (181 + leap)) { return 5; } if ((181 + leap) <= day && day < (212 + leap)) { return 6; } if ((212 + leap) <= day && day < (243 + leap)) { return 7; } if ((243 + leap) <= day && day < (273 + leap)) { return 8; } if ((273 + leap) <= day && day < (304 + leap)) { return 9; } if ((304 + leap) <= day && day < (334 + leap)) { return 10; } if ((334 + leap) <= day && day < (365 + leap)) { return 11; } }; },{"./DayWithinYear":108,"./InLeapYear":112}],123:[function(require,module,exports){ 'use strict'; var $isNaN = require('../helpers/isNaN'); // http://262.ecma-international.org/5.1/#sec-9.12 module.exports = function SameValue(x, y) { if (x === y) { // 0 === -0, but they are not identical. if (x === 0) { return 1 / x === 1 / y; } return true; } return $isNaN(x) && $isNaN(y); }; },{"../helpers/isNaN":149}],124:[function(require,module,exports){ 'use strict'; var floor = require('./floor'); var modulo = require('./modulo'); var timeConstants = require('../helpers/timeConstants'); var msPerSecond = timeConstants.msPerSecond; var SecondsPerMinute = timeConstants.SecondsPerMinute; // https://262.ecma-international.org/5.1/#sec-15.9.1.10 module.exports = function SecFromTime(t) { return modulo(floor(t / msPerSecond), SecondsPerMinute); }; },{"../helpers/timeConstants":154,"./floor":143,"./modulo":144}],125:[function(require,module,exports){ 'use strict'; var Type = require('./Type'); // https://262.ecma-international.org/5.1/#sec-11.9.6 module.exports = function StrictEqualityComparison(x, y) { var xType = Type(x); var yType = Type(y); if (xType !== yType) { return false; } if (xType === 'Undefined' || xType === 'Null') { return true; } return x === y; // shortcut for steps 4-7 }; },{"./Type":139}],126:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $Date = GetIntrinsic('%Date%'); var $Number = GetIntrinsic('%Number%'); var $isFinite = require('../helpers/isFinite'); var abs = require('./abs'); var ToNumber = require('./ToNumber'); // https://262.ecma-international.org/5.1/#sec-15.9.1.14 module.exports = function TimeClip(time) { if (!$isFinite(time) || abs(time) > 8.64e15) { return NaN; } return $Number(new $Date(ToNumber(time))); }; },{"../helpers/isFinite":148,"./ToNumber":132,"./abs":142,"get-intrinsic":159}],127:[function(require,module,exports){ 'use strict'; var msPerDay = require('../helpers/timeConstants').msPerDay; var DayFromYear = require('./DayFromYear'); // https://262.ecma-international.org/5.1/#sec-15.9.1.3 module.exports = function TimeFromYear(y) { return msPerDay * DayFromYear(y); }; },{"../helpers/timeConstants":154,"./DayFromYear":107}],128:[function(require,module,exports){ 'use strict'; var modulo = require('./modulo'); var msPerDay = require('../helpers/timeConstants').msPerDay; // https://262.ecma-international.org/5.1/#sec-15.9.1.2 module.exports = function TimeWithinDay(t) { return modulo(t, msPerDay); }; },{"../helpers/timeConstants":154,"./modulo":144}],129:[function(require,module,exports){ 'use strict'; // http://262.ecma-international.org/5.1/#sec-9.2 module.exports = function ToBoolean(value) { return !!value; }; },{}],130:[function(require,module,exports){ 'use strict'; var ToNumber = require('./ToNumber'); // http://262.ecma-international.org/5.1/#sec-9.5 module.exports = function ToInt32(x) { return ToNumber(x) >> 0; }; },{"./ToNumber":132}],131:[function(require,module,exports){ 'use strict'; var abs = require('./abs'); var floor = require('./floor'); var ToNumber = require('./ToNumber'); var $isNaN = require('../helpers/isNaN'); var $isFinite = require('../helpers/isFinite'); var $sign = require('../helpers/sign'); // http://262.ecma-international.org/5.1/#sec-9.4 module.exports = function ToInteger(value) { var number = ToNumber(value); if ($isNaN(number)) { return 0; } if (number === 0 || !$isFinite(number)) { return number; } return $sign(number) * floor(abs(number)); }; },{"../helpers/isFinite":148,"../helpers/isNaN":149,"../helpers/sign":153,"./ToNumber":132,"./abs":142,"./floor":143}],132:[function(require,module,exports){ 'use strict'; var ToPrimitive = require('./ToPrimitive'); // http://262.ecma-international.org/5.1/#sec-9.3 module.exports = function ToNumber(value) { var prim = ToPrimitive(value, Number); if (typeof prim !== 'string') { return +prim; // eslint-disable-line no-implicit-coercion } // eslint-disable-next-line no-control-regex var trimmed = prim.replace(/^[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+|[ \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u0085]+$/g, ''); if ((/^0[ob]|^[+-]0x/).test(trimmed)) { return NaN; } return +trimmed; // eslint-disable-line no-implicit-coercion }; },{"./ToPrimitive":134}],133:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $Object = GetIntrinsic('%Object%'); var CheckObjectCoercible = require('./CheckObjectCoercible'); // http://262.ecma-international.org/5.1/#sec-9.9 module.exports = function ToObject(value) { CheckObjectCoercible(value); return $Object(value); }; },{"./CheckObjectCoercible":104,"get-intrinsic":159}],134:[function(require,module,exports){ 'use strict'; // http://262.ecma-international.org/5.1/#sec-9.1 module.exports = require('es-to-primitive/es5'); },{"es-to-primitive/es5":155}],135:[function(require,module,exports){ 'use strict'; var has = require('has'); var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var Type = require('./Type'); var ToBoolean = require('./ToBoolean'); var IsCallable = require('./IsCallable'); // https://262.ecma-international.org/5.1/#sec-8.10.5 module.exports = function ToPropertyDescriptor(Obj) { if (Type(Obj) !== 'Object') { throw new $TypeError('ToPropertyDescriptor requires an object'); } var desc = {}; if (has(Obj, 'enumerable')) { desc['[[Enumerable]]'] = ToBoolean(Obj.enumerable); } if (has(Obj, 'configurable')) { desc['[[Configurable]]'] = ToBoolean(Obj.configurable); } if (has(Obj, 'value')) { desc['[[Value]]'] = Obj.value; } if (has(Obj, 'writable')) { desc['[[Writable]]'] = ToBoolean(Obj.writable); } if (has(Obj, 'get')) { var getter = Obj.get; if (typeof getter !== 'undefined' && !IsCallable(getter)) { throw new $TypeError('getter must be a function'); } desc['[[Get]]'] = getter; } if (has(Obj, 'set')) { var setter = Obj.set; if (typeof setter !== 'undefined' && !IsCallable(setter)) { throw new $TypeError('setter must be a function'); } desc['[[Set]]'] = setter; } if ((has(desc, '[[Get]]') || has(desc, '[[Set]]')) && (has(desc, '[[Value]]') || has(desc, '[[Writable]]'))) { throw new $TypeError('Invalid property descriptor. Cannot both specify accessors and a value or writable attribute'); } return desc; }; },{"./IsCallable":114,"./ToBoolean":129,"./Type":139,"get-intrinsic":159,"has":162}],136:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $String = GetIntrinsic('%String%'); // http://262.ecma-international.org/5.1/#sec-9.8 module.exports = function ToString(value) { return $String(value); }; },{"get-intrinsic":159}],137:[function(require,module,exports){ 'use strict'; var abs = require('./abs'); var floor = require('./floor'); var modulo = require('./modulo'); var ToNumber = require('./ToNumber'); var $isNaN = require('../helpers/isNaN'); var $isFinite = require('../helpers/isFinite'); var $sign = require('../helpers/sign'); // http://262.ecma-international.org/5.1/#sec-9.7 module.exports = function ToUint16(value) { var number = ToNumber(value); if ($isNaN(number) || number === 0 || !$isFinite(number)) { return 0; } var posInt = $sign(number) * floor(abs(number)); return modulo(posInt, 0x10000); }; },{"../helpers/isFinite":148,"../helpers/isNaN":149,"../helpers/sign":153,"./ToNumber":132,"./abs":142,"./floor":143,"./modulo":144}],138:[function(require,module,exports){ 'use strict'; var ToNumber = require('./ToNumber'); // http://262.ecma-international.org/5.1/#sec-9.6 module.exports = function ToUint32(x) { return ToNumber(x) >>> 0; }; },{"./ToNumber":132}],139:[function(require,module,exports){ 'use strict'; // https://262.ecma-international.org/5.1/#sec-8 module.exports = function Type(x) { if (x === null) { return 'Null'; } if (typeof x === 'undefined') { return 'Undefined'; } if (typeof x === 'function' || typeof x === 'object') { return 'Object'; } if (typeof x === 'number') { return 'Number'; } if (typeof x === 'boolean') { return 'Boolean'; } if (typeof x === 'string') { return 'String'; } }; },{}],140:[function(require,module,exports){ 'use strict'; var Day = require('./Day'); var modulo = require('./modulo'); // https://262.ecma-international.org/5.1/#sec-15.9.1.6 module.exports = function WeekDay(t) { return modulo(Day(t) + 4, 7); }; },{"./Day":106,"./modulo":144}],141:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $Date = GetIntrinsic('%Date%'); var callBound = require('call-bind/callBound'); var $getUTCFullYear = callBound('Date.prototype.getUTCFullYear'); // https://262.ecma-international.org/5.1/#sec-15.9.1.3 module.exports = function YearFromTime(t) { // largest y such that this.TimeFromYear(y) <= t return $getUTCFullYear(new $Date(t)); }; },{"call-bind/callBound":95,"get-intrinsic":159}],142:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $abs = GetIntrinsic('%Math.abs%'); // http://262.ecma-international.org/5.1/#sec-5.2 module.exports = function abs(x) { return $abs(x); }; },{"get-intrinsic":159}],143:[function(require,module,exports){ 'use strict'; // var modulo = require('./modulo'); var $floor = Math.floor; // http://262.ecma-international.org/5.1/#sec-5.2 module.exports = function floor(x) { // return x - modulo(x, 1); return $floor(x); }; },{}],144:[function(require,module,exports){ 'use strict'; var mod = require('../helpers/mod'); // https://262.ecma-international.org/5.1/#sec-5.2 module.exports = function modulo(x, y) { return mod(x, y); }; },{"../helpers/mod":152}],145:[function(require,module,exports){ 'use strict'; var modulo = require('./modulo'); var msPerSecond = require('../helpers/timeConstants').msPerSecond; // https://262.ecma-international.org/5.1/#sec-15.9.1.10 module.exports = function msFromTime(t) { return modulo(t, msPerSecond); }; },{"../helpers/timeConstants":154,"./modulo":144}],146:[function(require,module,exports){ 'use strict'; /* eslint global-require: 0 */ // https://es5.github.io/#x9 module.exports = { 'Abstract Equality Comparison': require('./5/AbstractEqualityComparison'), 'Abstract Relational Comparison': require('./5/AbstractRelationalComparison'), 'Strict Equality Comparison': require('./5/StrictEqualityComparison'), abs: require('./5/abs'), CheckObjectCoercible: require('./5/CheckObjectCoercible'), DateFromTime: require('./5/DateFromTime'), Day: require('./5/Day'), DayFromYear: require('./5/DayFromYear'), DaysInYear: require('./5/DaysInYear'), DayWithinYear: require('./5/DayWithinYear'), floor: require('./5/floor'), FromPropertyDescriptor: require('./5/FromPropertyDescriptor'), HourFromTime: require('./5/HourFromTime'), InLeapYear: require('./5/InLeapYear'), IsAccessorDescriptor: require('./5/IsAccessorDescriptor'), IsCallable: require('./5/IsCallable'), IsDataDescriptor: require('./5/IsDataDescriptor'), IsGenericDescriptor: require('./5/IsGenericDescriptor'), IsPropertyDescriptor: require('./5/IsPropertyDescriptor'), MakeDate: require('./5/MakeDate'), MakeDay: require('./5/MakeDay'), MakeTime: require('./5/MakeTime'), MinFromTime: require('./5/MinFromTime'), modulo: require('./5/modulo'), MonthFromTime: require('./5/MonthFromTime'), msFromTime: require('./5/msFromTime'), SameValue: require('./5/SameValue'), SecFromTime: require('./5/SecFromTime'), TimeClip: require('./5/TimeClip'), TimeFromYear: require('./5/TimeFromYear'), TimeWithinDay: require('./5/TimeWithinDay'), ToBoolean: require('./5/ToBoolean'), ToInt32: require('./5/ToInt32'), ToInteger: require('./5/ToInteger'), ToNumber: require('./5/ToNumber'), ToObject: require('./5/ToObject'), ToPrimitive: require('./5/ToPrimitive'), ToPropertyDescriptor: require('./5/ToPropertyDescriptor'), ToString: require('./5/ToString'), ToUint16: require('./5/ToUint16'), ToUint32: require('./5/ToUint32'), Type: require('./5/Type'), WeekDay: require('./5/WeekDay'), YearFromTime: require('./5/YearFromTime') }; },{"./5/AbstractEqualityComparison":102,"./5/AbstractRelationalComparison":103,"./5/CheckObjectCoercible":104,"./5/DateFromTime":105,"./5/Day":106,"./5/DayFromYear":107,"./5/DayWithinYear":108,"./5/DaysInYear":109,"./5/FromPropertyDescriptor":110,"./5/HourFromTime":111,"./5/InLeapYear":112,"./5/IsAccessorDescriptor":113,"./5/IsCallable":114,"./5/IsDataDescriptor":115,"./5/IsGenericDescriptor":116,"./5/IsPropertyDescriptor":117,"./5/MakeDate":118,"./5/MakeDay":119,"./5/MakeTime":120,"./5/MinFromTime":121,"./5/MonthFromTime":122,"./5/SameValue":123,"./5/SecFromTime":124,"./5/StrictEqualityComparison":125,"./5/TimeClip":126,"./5/TimeFromYear":127,"./5/TimeWithinDay":128,"./5/ToBoolean":129,"./5/ToInt32":130,"./5/ToInteger":131,"./5/ToNumber":132,"./5/ToObject":133,"./5/ToPrimitive":134,"./5/ToPropertyDescriptor":135,"./5/ToString":136,"./5/ToUint16":137,"./5/ToUint32":138,"./5/Type":139,"./5/WeekDay":140,"./5/YearFromTime":141,"./5/abs":142,"./5/floor":143,"./5/modulo":144,"./5/msFromTime":145}],147:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var $TypeError = GetIntrinsic('%TypeError%'); var $SyntaxError = GetIntrinsic('%SyntaxError%'); var has = require('has'); var predicates = { // https://262.ecma-international.org/6.0/#sec-property-descriptor-specification-type 'Property Descriptor': function isPropertyDescriptor(Type, Desc) { if (Type(Desc) !== 'Object') { return false; } var allowed = { '[[Configurable]]': true, '[[Enumerable]]': true, '[[Get]]': true, '[[Set]]': true, '[[Value]]': true, '[[Writable]]': true }; for (var key in Desc) { // eslint-disable-line if (has(Desc, key) && !allowed[key]) { return false; } } var isData = has(Desc, '[[Value]]'); var IsAccessor = has(Desc, '[[Get]]') || has(Desc, '[[Set]]'); if (isData && IsAccessor) { throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); } return true; } }; module.exports = function assertRecord(Type, recordType, argumentName, value) { var predicate = predicates[recordType]; if (typeof predicate !== 'function') { throw new $SyntaxError('unknown record type: ' + recordType); } if (!predicate(Type, value)) { throw new $TypeError(argumentName + ' must be a ' + recordType); } }; },{"get-intrinsic":159,"has":162}],148:[function(require,module,exports){ 'use strict'; var $isNaN = Number.isNaN || function (a) { return a !== a; }; module.exports = Number.isFinite || function (x) { return typeof x === 'number' && !$isNaN(x) && x !== Infinity && x !== -Infinity; }; },{}],149:[function(require,module,exports){ 'use strict'; module.exports = Number.isNaN || function isNaN(a) { return a !== a; }; },{}],150:[function(require,module,exports){ 'use strict'; var $strSlice = require('call-bind/callBound')('String.prototype.slice'); module.exports = function isPrefixOf(prefix, string) { if (prefix === string) { return true; } if (prefix.length > string.length) { return false; } return $strSlice(string, 0, prefix.length) === prefix; }; },{"call-bind/callBound":95}],151:[function(require,module,exports){ 'use strict'; var GetIntrinsic = require('get-intrinsic'); var has = require('has'); var $TypeError = GetIntrinsic('%TypeError%'); module.exports = function IsPropertyDescriptor(ES, Desc) { if (ES.Type(Desc) !== 'Object') { return false; } var allowed = { '[[Configurable]]': true, '[[Enumerable]]': true, '[[Get]]': true, '[[Set]]': true, '[[Value]]': true, '[[Writable]]': true }; for (var key in Desc) { // eslint-disable-line no-restricted-syntax if (has(Desc, key) && !allowed[key]) { return false; } } if (ES.IsDataDescriptor(Desc) && ES.IsAccessorDescriptor(Desc)) { throw new $TypeError('Property Descriptors may not be both accessor and data descriptors'); } return true; }; },{"get-intrinsic":159,"has":162}],152:[function(require,module,exports){ 'use strict'; var $floor = Math.floor; module.exports = function mod(number, modulo) { var remain = number % modulo; return $floor(remain >= 0 ? remain : remain + modulo); }; },{}],153:[function(require,module,exports){ 'use strict'; module.exports = function sign(number) { return number >= 0 ? 1 : -1; }; },{}],154:[function(require,module,exports){ 'use strict'; var HoursPerDay = 24; var MinutesPerHour = 60; var SecondsPerMinute = 60; var msPerSecond = 1e3; var msPerMinute = msPerSecond * SecondsPerMinute; var msPerHour = msPerMinute * MinutesPerHour; var msPerDay = 86400000; module.exports = { HoursPerDay: HoursPerDay, MinutesPerHour: MinutesPerHour, SecondsPerMinute: SecondsPerMinute, msPerSecond: msPerSecond, msPerMinute: msPerMinute, msPerHour: msPerHour, msPerDay: msPerDay }; },{}],155:[function(require,module,exports){ 'use strict'; var toStr = Object.prototype.toString; var isPrimitive = require('./helpers/isPrimitive'); var isCallable = require('is-callable'); // http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 var ES5internalSlots = { '[[DefaultValue]]': function (O) { var actualHint; if (arguments.length > 1) { actualHint = arguments[1]; } else { actualHint = toStr.call(O) === '[object Date]' ? String : Number; } if (actualHint === String || actualHint === Number) { var methods = actualHint === String ? ['toString', 'valueOf'] : ['valueOf', 'toString']; var value, i; for (i = 0; i < methods.length; ++i) { if (isCallable(O[methods[i]])) { value = O[methods[i]](); if (isPrimitive(value)) { return value; } } } throw new TypeError('No default value'); } throw new TypeError('invalid [[DefaultValue]] hint supplied'); } }; // http://ecma-international.org/ecma-262/5.1/#sec-9.1 module.exports = function ToPrimitive(input) { if (isPrimitive(input)) { return input; } if (arguments.length > 1) { return ES5internalSlots['[[DefaultValue]]'](input, arguments[1]); } return ES5internalSlots['[[DefaultValue]]'](input); }; },{"./helpers/isPrimitive":156,"is-callable":165}],156:[function(require,module,exports){ 'use strict'; module.exports = function isPrimitive(value) { return value === null || (typeof value !== 'function' && typeof value !== 'object'); }; },{}],157:[function(require,module,exports){ 'use strict'; /* eslint no-invalid-this: 1 */ var ERROR_MESSAGE = 'Function.prototype.bind called on incompatible '; var slice = Array.prototype.slice; var toStr = Object.prototype.toString; var funcType = '[object Function]'; module.exports = function bind(that) { var target = this; if (typeof target !== 'function' || toStr.call(target) !== funcType) { throw new TypeError(ERROR_MESSAGE + target); } var args = slice.call(arguments, 1); var bound; var binder = function () { if (this instanceof bound) { var result = target.apply( this, args.concat(slice.call(arguments)) ); if (Object(result) === result) { return result; } return this; } else { return target.apply( that, args.concat(slice.call(arguments)) ); } }; var boundLength = Math.max(0, target.length - args.length); var boundArgs = []; for (var i = 0; i < boundLength; i++) { boundArgs.push('$' + i); } bound = Function('binder', 'return function (' + boundArgs.join(',') + '){ return binder.apply(this,arguments); }')(binder); if (target.prototype) { var Empty = function Empty() {}; Empty.prototype = target.prototype; bound.prototype = new Empty(); Empty.prototype = null; } return bound; }; },{}],158:[function(require,module,exports){ 'use strict'; var implementation = require('./implementation'); module.exports = Function.prototype.bind || implementation; },{"./implementation":157}],159:[function(require,module,exports){ 'use strict'; var undefined; var $SyntaxError = SyntaxError; var $Function = Function; var $TypeError = TypeError; // eslint-disable-next-line consistent-return var getEvalledConstructor = function (expressionSyntax) { try { return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); } catch (e) {} }; var $gOPD = Object.getOwnPropertyDescriptor; if ($gOPD) { try { $gOPD({}, ''); } catch (e) { $gOPD = null; // this is IE 8, which has a broken gOPD } } var throwTypeError = function () { throw new $TypeError(); }; var ThrowTypeError = $gOPD ? (function () { try { // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties arguments.callee; // IE 8 does not throw here return throwTypeError; } catch (calleeThrows) { try { // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') return $gOPD(arguments, 'callee').get; } catch (gOPDthrows) { return throwTypeError; } } }()) : throwTypeError; var hasSymbols = require('has-symbols')(); var getProto = Object.getPrototypeOf || function (x) { return x.__proto__; }; // eslint-disable-line no-proto var needsEval = {}; var TypedArray = typeof Uint8Array === 'undefined' ? undefined : getProto(Uint8Array); var INTRINSICS = { '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, '%Array%': Array, '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, '%ArrayIteratorPrototype%': hasSymbols ? getProto([][Symbol.iterator]()) : undefined, '%AsyncFromSyncIteratorPrototype%': undefined, '%AsyncFunction%': needsEval, '%AsyncGenerator%': needsEval, '%AsyncGeneratorFunction%': needsEval, '%AsyncIteratorPrototype%': needsEval, '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, '%Boolean%': Boolean, '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, '%Date%': Date, '%decodeURI%': decodeURI, '%decodeURIComponent%': decodeURIComponent, '%encodeURI%': encodeURI, '%encodeURIComponent%': encodeURIComponent, '%Error%': Error, '%eval%': eval, // eslint-disable-line no-eval '%EvalError%': EvalError, '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, '%Function%': $Function, '%GeneratorFunction%': needsEval, '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, '%isFinite%': isFinite, '%isNaN%': isNaN, '%IteratorPrototype%': hasSymbols ? getProto(getProto([][Symbol.iterator]())) : undefined, '%JSON%': typeof JSON === 'object' ? JSON : undefined, '%Map%': typeof Map === 'undefined' ? undefined : Map, '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols ? undefined : getProto(new Map()[Symbol.iterator]()), '%Math%': Math, '%Number%': Number, '%Object%': Object, '%parseFloat%': parseFloat, '%parseInt%': parseInt, '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, '%RangeError%': RangeError, '%ReferenceError%': ReferenceError, '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, '%RegExp%': RegExp, '%Set%': typeof Set === 'undefined' ? undefined : Set, '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols ? undefined : getProto(new Set()[Symbol.iterator]()), '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, '%String%': String, '%StringIteratorPrototype%': hasSymbols ? getProto(''[Symbol.iterator]()) : undefined, '%Symbol%': hasSymbols ? Symbol : undefined, '%SyntaxError%': $SyntaxError, '%ThrowTypeError%': ThrowTypeError, '%TypedArray%': TypedArray, '%TypeError%': $TypeError, '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, '%URIError%': URIError, '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet }; var doEval = function doEval(name) { var value; if (name === '%AsyncFunction%') { value = getEvalledConstructor('async function () {}'); } else if (name === '%GeneratorFunction%') { value = getEvalledConstructor('function* () {}'); } else if (name === '%AsyncGeneratorFunction%') { value = getEvalledConstructor('async function* () {}'); } else if (name === '%AsyncGenerator%') { var fn = doEval('%AsyncGeneratorFunction%'); if (fn) { value = fn.prototype; } } else if (name === '%AsyncIteratorPrototype%') { var gen = doEval('%AsyncGenerator%'); if (gen) { value = getProto(gen.prototype); } } INTRINSICS[name] = value; return value; }; var LEGACY_ALIASES = { '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], '%ArrayPrototype%': ['Array', 'prototype'], '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], '%ArrayProto_values%': ['Array', 'prototype', 'values'], '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], '%BooleanPrototype%': ['Boolean', 'prototype'], '%DataViewPrototype%': ['DataView', 'prototype'], '%DatePrototype%': ['Date', 'prototype'], '%ErrorPrototype%': ['Error', 'prototype'], '%EvalErrorPrototype%': ['EvalError', 'prototype'], '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], '%FunctionPrototype%': ['Function', 'prototype'], '%Generator%': ['GeneratorFunction', 'prototype'], '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], '%JSONParse%': ['JSON', 'parse'], '%JSONStringify%': ['JSON', 'stringify'], '%MapPrototype%': ['Map', 'prototype'], '%NumberPrototype%': ['Number', 'prototype'], '%ObjectPrototype%': ['Object', 'prototype'], '%ObjProto_toString%': ['Object', 'prototype', 'toString'], '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], '%PromisePrototype%': ['Promise', 'prototype'], '%PromiseProto_then%': ['Promise', 'prototype', 'then'], '%Promise_all%': ['Promise', 'all'], '%Promise_reject%': ['Promise', 'reject'], '%Promise_resolve%': ['Promise', 'resolve'], '%RangeErrorPrototype%': ['RangeError', 'prototype'], '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], '%RegExpPrototype%': ['RegExp', 'prototype'], '%SetPrototype%': ['Set', 'prototype'], '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], '%StringPrototype%': ['String', 'prototype'], '%SymbolPrototype%': ['Symbol', 'prototype'], '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], '%TypedArrayPrototype%': ['TypedArray', 'prototype'], '%TypeErrorPrototype%': ['TypeError', 'prototype'], '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], '%URIErrorPrototype%': ['URIError', 'prototype'], '%WeakMapPrototype%': ['WeakMap', 'prototype'], '%WeakSetPrototype%': ['WeakSet', 'prototype'] }; var bind = require('function-bind'); var hasOwn = require('has'); var $concat = bind.call(Function.call, Array.prototype.concat); var $spliceApply = bind.call(Function.apply, Array.prototype.splice); var $replace = bind.call(Function.call, String.prototype.replace); var $strSlice = bind.call(Function.call, String.prototype.slice); /* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ var stringToPath = function stringToPath(string) { var first = $strSlice(string, 0, 1); var last = $strSlice(string, -1); if (first === '%' && last !== '%') { throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); } else if (last === '%' && first !== '%') { throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); } var result = []; $replace(string, rePropName, function (match, number, quote, subString) { result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; }); return result; }; /* end adaptation */ var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { var intrinsicName = name; var alias; if (hasOwn(LEGACY_ALIASES, intrinsicName)) { alias = LEGACY_ALIASES[intrinsicName]; intrinsicName = '%' + alias[0] + '%'; } if (hasOwn(INTRINSICS, intrinsicName)) { var value = INTRINSICS[intrinsicName]; if (value === needsEval) { value = doEval(intrinsicName); } if (typeof value === 'undefined' && !allowMissing) { throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); } return { alias: alias, name: intrinsicName, value: value }; } throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); }; module.exports = function GetIntrinsic(name, allowMissing) { if (typeof name !== 'string' || name.length === 0) { throw new $TypeError('intrinsic name must be a non-empty string'); } if (arguments.length > 1 && typeof allowMissing !== 'boolean') { throw new $TypeError('"allowMissing" argument must be a boolean'); } var parts = stringToPath(name); var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); var intrinsicRealName = intrinsic.name; var value = intrinsic.value; var skipFurtherCaching = false; var alias = intrinsic.alias; if (alias) { intrinsicBaseName = alias[0]; $spliceApply(parts, $concat([0, 1], alias)); } for (var i = 1, isOwn = true; i < parts.length; i += 1) { var part = parts[i]; var first = $strSlice(part, 0, 1); var last = $strSlice(part, -1); if ( ( (first === '"' || first === "'" || first === '`') || (last === '"' || last === "'" || last === '`') ) && first !== last ) { throw new $SyntaxError('property names with quotes must have matching quotes'); } if (part === 'constructor' || !isOwn) { skipFurtherCaching = true; } intrinsicBaseName += '.' + part; intrinsicRealName = '%' + intrinsicBaseName + '%'; if (hasOwn(INTRINSICS, intrinsicRealName)) { value = INTRINSICS[intrinsicRealName]; } else if (value != null) { if (!(part in value)) { if (!allowMissing) { throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); } return void undefined; } if ($gOPD && (i + 1) >= parts.length) { var desc = $gOPD(value, part); isOwn = !!desc; // By convention, when a data property is converted to an accessor // property to emulate a data property that does not suffer from // the override mistake, that accessor's getter is marked with // an `originalValue` property. Here, when we detect this, we // uphold the illusion by pretending to see that original data // property, i.e., returning the value rather than the getter // itself. if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { value = desc.get; } else { value = value[part]; } } else { isOwn = hasOwn(value, part); value = value[part]; } if (isOwn && !skipFurtherCaching) { INTRINSICS[intrinsicRealName] = value; } } } return value; }; },{"function-bind":158,"has":162,"has-symbols":160}],160:[function(require,module,exports){ 'use strict'; var origSymbol = typeof Symbol !== 'undefined' && Symbol; var hasSymbolSham = require('./shams'); module.exports = function hasNativeSymbols() { if (typeof origSymbol !== 'function') { return false; } if (typeof Symbol !== 'function') { return false; } if (typeof origSymbol('foo') !== 'symbol') { return false; } if (typeof Symbol('bar') !== 'symbol') { return false; } return hasSymbolSham(); }; },{"./shams":161}],161:[function(require,module,exports){ 'use strict'; /* eslint complexity: [2, 18], max-statements: [2, 33] */ module.exports = function hasSymbols() { if (typeof Symbol !== 'function' || typeof Object.getOwnPropertySymbols !== 'function') { return false; } if (typeof Symbol.iterator === 'symbol') { return true; } var obj = {}; var sym = Symbol('test'); var symObj = Object(sym); if (typeof sym === 'string') { return false; } if (Object.prototype.toString.call(sym) !== '[object Symbol]') { return false; } if (Object.prototype.toString.call(symObj) !== '[object Symbol]') { return false; } // temp disabled per https://github.com/ljharb/object.assign/issues/17 // if (sym instanceof Symbol) { return false; } // temp disabled per https://github.com/WebReflection/get-own-property-symbols/issues/4 // if (!(symObj instanceof Symbol)) { return false; } // if (typeof Symbol.prototype.toString !== 'function') { return false; } // if (String(sym) !== Symbol.prototype.toString.call(sym)) { return false; } var symVal = 42; obj[sym] = symVal; for (sym in obj) { return false; } // eslint-disable-line no-restricted-syntax, no-unreachable-loop if (typeof Object.keys === 'function' && Object.keys(obj).length !== 0) { return false; } if (typeof Object.getOwnPropertyNames === 'function' && Object.getOwnPropertyNames(obj).length !== 0) { return false; } var syms = Object.getOwnPropertySymbols(obj); if (syms.length !== 1 || syms[0] !== sym) { return false; } if (!Object.prototype.propertyIsEnumerable.call(obj, sym)) { return false; } if (typeof Object.getOwnPropertyDescriptor === 'function') { var descriptor = Object.getOwnPropertyDescriptor(obj, sym); if (descriptor.value !== symVal || descriptor.enumerable !== true) { return false; } } return true; }; },{}],162:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty); },{"function-bind":158}],163:[function(require,module,exports){ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */ exports.read = function (buffer, offset, isLE, mLen, nBytes) { var e, m var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var nBits = -7 var i = isLE ? (nBytes - 1) : 0 var d = isLE ? -1 : 1 var s = buffer[offset + i] i += d e = s & ((1 << (-nBits)) - 1) s >>= (-nBits) nBits += eLen for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {} m = e & ((1 << (-nBits)) - 1) e >>= (-nBits) nBits += mLen for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {} if (e === 0) { e = 1 - eBias } else if (e === eMax) { return m ? NaN : ((s ? -1 : 1) * Infinity) } else { m = m + Math.pow(2, mLen) e = e - eBias } return (s ? -1 : 1) * m * Math.pow(2, e - mLen) } exports.write = function (buffer, value, offset, isLE, mLen, nBytes) { var e, m, c var eLen = (nBytes * 8) - mLen - 1 var eMax = (1 << eLen) - 1 var eBias = eMax >> 1 var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0) var i = isLE ? 0 : (nBytes - 1) var d = isLE ? 1 : -1 var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0 value = Math.abs(value) if (isNaN(value) || value === Infinity) { m = isNaN(value) ? 1 : 0 e = eMax } else { e = Math.floor(Math.log(value) / Math.LN2) if (value * (c = Math.pow(2, -e)) < 1) { e-- c *= 2 } if (e + eBias >= 1) { value += rt / c } else { value += rt * Math.pow(2, 1 - eBias) } if (value * c >= 2) { e++ c /= 2 } if (e + eBias >= eMax) { m = 0 e = eMax } else if (e + eBias >= 1) { m = ((value * c) - 1) * Math.pow(2, mLen) e = e + eBias } else { m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen) e = 0 } } for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {} e = (e << mLen) | m eLen += mLen for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {} buffer[offset + i - d] |= s * 128 } },{}],164:[function(require,module,exports){ if (typeof Object.create === 'function') { // implementation from standard node.js 'util' module module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor ctor.prototype = Object.create(superCtor.prototype, { constructor: { value: ctor, enumerable: false, writable: true, configurable: true } }) } }; } else { // old school shim for old browsers module.exports = function inherits(ctor, superCtor) { if (superCtor) { ctor.super_ = superCtor var TempCtor = function () {} TempCtor.prototype = superCtor.prototype ctor.prototype = new TempCtor() ctor.prototype.constructor = ctor } } } },{}],165:[function(require,module,exports){ 'use strict'; var fnToStr = Function.prototype.toString; var reflectApply = typeof Reflect === 'object' && Reflect !== null && Reflect.apply; var badArrayLike; var isCallableMarker; if (typeof reflectApply === 'function' && typeof Object.defineProperty === 'function') { try { badArrayLike = Object.defineProperty({}, 'length', { get: function () { throw isCallableMarker; } }); isCallableMarker = {}; // eslint-disable-next-line no-throw-literal reflectApply(function () { throw 42; }, null, badArrayLike); } catch (_) { if (_ !== isCallableMarker) { reflectApply = null; } } } else { reflectApply = null; } var constructorRegex = /^\s*class\b/; var isES6ClassFn = function isES6ClassFunction(value) { try { var fnStr = fnToStr.call(value); return constructorRegex.test(fnStr); } catch (e) { return false; // not a function } }; var tryFunctionObject = function tryFunctionToStr(value) { try { if (isES6ClassFn(value)) { return false; } fnToStr.call(value); return true; } catch (e) { return false; } }; var toStr = Object.prototype.toString; var fnClass = '[object Function]'; var genClass = '[object GeneratorFunction]'; var hasToStringTag = typeof Symbol === 'function' && !!Symbol.toStringTag; // better: use `has-tostringtag` /* globals document: false */ var documentDotAll = typeof document === 'object' && typeof document.all === 'undefined' && document.all !== undefined ? document.all : {}; module.exports = reflectApply ? function isCallable(value) { if (value === documentDotAll) { return true; } if (!value) { return false; } if (typeof value !== 'function' && typeof value !== 'object') { return false; } if (typeof value === 'function' && !value.prototype) { return true; } try { reflectApply(value, null, badArrayLike); } catch (e) { if (e !== isCallableMarker) { return false; } } return !isES6ClassFn(value); } : function isCallable(value) { if (value === documentDotAll) { return true; } if (!value) { return false; } if (typeof value !== 'function' && typeof value !== 'object') { return false; } if (typeof value === 'function' && !value.prototype) { return true; } if (hasToStringTag) { return tryFunctionObject(value); } if (isES6ClassFn(value)) { return false; } var strClass = toStr.call(value); return strClass === fnClass || strClass === genClass; }; },{}],166:[function(require,module,exports){ 'use strict'; var keysShim; if (!Object.keys) { // modified from https://github.com/es-shims/es5-shim var has = Object.prototype.hasOwnProperty; var toStr = Object.prototype.toString; var isArgs = require('./isArguments'); // eslint-disable-line global-require var isEnumerable = Object.prototype.propertyIsEnumerable; var hasDontEnumBug = !isEnumerable.call({ toString: null }, 'toString'); var hasProtoEnumBug = isEnumerable.call(function () {}, 'prototype'); var dontEnums = [ 'toString', 'toLocaleString', 'valueOf', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'constructor' ]; var equalsConstructorPrototype = function (o) { var ctor = o.constructor; return ctor && ctor.prototype === o; }; var excludedKeys = { $applicationCache: true, $console: true, $external: true, $frame: true, $frameElement: true, $frames: true, $innerHeight: true, $innerWidth: true, $onmozfullscreenchange: true, $onmozfullscreenerror: true, $outerHeight: true, $outerWidth: true, $pageXOffset: true, $pageYOffset: true, $parent: true, $scrollLeft: true, $scrollTop: true, $scrollX: true, $scrollY: true, $self: true, $webkitIndexedDB: true, $webkitStorageInfo: true, $window: true }; var hasAutomationEqualityBug = (function () { /* global window */ if (typeof window === 'undefined') { return false; } for (var k in window) { try { if (!excludedKeys['$' + k] && has.call(window, k) && window[k] !== null && typeof window[k] === 'object') { try { equalsConstructorPrototype(window[k]); } catch (e) { return true; } } } catch (e) { return true; } } return false; }()); var equalsConstructorPrototypeIfNotBuggy = function (o) { /* global window */ if (typeof window === 'undefined' || !hasAutomationEqualityBug) { return equalsConstructorPrototype(o); } try { return equalsConstructorPrototype(o); } catch (e) { return false; } }; keysShim = function keys(object) { var isObject = object !== null && typeof object === 'object'; var isFunction = toStr.call(object) === '[object Function]'; var isArguments = isArgs(object); var isString = isObject && toStr.call(object) === '[object String]'; var theKeys = []; if (!isObject && !isFunction && !isArguments) { throw new TypeError('Object.keys called on a non-object'); } var skipProto = hasProtoEnumBug && isFunction; if (isString && object.length > 0 && !has.call(object, 0)) { for (var i = 0; i < object.length; ++i) { theKeys.push(String(i)); } } if (isArguments && object.length > 0) { for (var j = 0; j < object.length; ++j) { theKeys.push(String(j)); } } else { for (var name in object) { if (!(skipProto && name === 'prototype') && has.call(object, name)) { theKeys.push(String(name)); } } } if (hasDontEnumBug) { var skipConstructor = equalsConstructorPrototypeIfNotBuggy(object); for (var k = 0; k < dontEnums.length; ++k) { if (!(skipConstructor && dontEnums[k] === 'constructor') && has.call(object, dontEnums[k])) { theKeys.push(dontEnums[k]); } } } return theKeys; }; } module.exports = keysShim; },{"./isArguments":168}],167:[function(require,module,exports){ 'use strict'; var slice = Array.prototype.slice; var isArgs = require('./isArguments'); var origKeys = Object.keys; var keysShim = origKeys ? function keys(o) { return origKeys(o); } : require('./implementation'); var originalKeys = Object.keys; keysShim.shim = function shimObjectKeys() { if (Object.keys) { var keysWorksWithArguments = (function () { // Safari 5.0 bug var args = Object.keys(arguments); return args && args.length === arguments.length; }(1, 2)); if (!keysWorksWithArguments) { Object.keys = function keys(object) { // eslint-disable-line func-name-matching if (isArgs(object)) { return originalKeys(slice.call(object)); } return originalKeys(object); }; } } else { Object.keys = keysShim; } return Object.keys || keysShim; }; module.exports = keysShim; },{"./implementation":166,"./isArguments":168}],168:[function(require,module,exports){ 'use strict'; var toStr = Object.prototype.toString; module.exports = function isArguments(value) { var str = toStr.call(value); var isArgs = str === '[object Arguments]'; if (!isArgs) { isArgs = str !== '[object Array]' && value !== null && typeof value === 'object' && typeof value.length === 'number' && value.length >= 0 && toStr.call(value.callee) === '[object Function]'; } return isArgs; }; },{}],169:[function(require,module,exports){ // shim for using process in browser var process = module.exports = {}; // cached from whatever global is present so that test runners that stub it // don't break things. But we need to wrap it in a try catch in case it is // wrapped in strict mode code which doesn't define any globals. It's inside a // function because try/catches deoptimize in certain engines. var cachedSetTimeout; var cachedClearTimeout; function defaultSetTimout() { throw new Error('setTimeout has not been defined'); } function defaultClearTimeout () { throw new Error('clearTimeout has not been defined'); } (function () { try { if (typeof setTimeout === 'function') { cachedSetTimeout = setTimeout; } else { cachedSetTimeout = defaultSetTimout; } } catch (e) { cachedSetTimeout = defaultSetTimout; } try { if (typeof clearTimeout === 'function') { cachedClearTimeout = clearTimeout; } else { cachedClearTimeout = defaultClearTimeout; } } catch (e) { cachedClearTimeout = defaultClearTimeout; } } ()) function runTimeout(fun) { if (cachedSetTimeout === setTimeout) { //normal enviroments in sane situations return setTimeout(fun, 0); } // if setTimeout wasn't available but was latter defined if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { cachedSetTimeout = setTimeout; return setTimeout(fun, 0); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedSetTimeout(fun, 0); } catch(e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedSetTimeout.call(null, fun, 0); } catch(e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error return cachedSetTimeout.call(this, fun, 0); } } } function runClearTimeout(marker) { if (cachedClearTimeout === clearTimeout) { //normal enviroments in sane situations return clearTimeout(marker); } // if clearTimeout wasn't available but was latter defined if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { cachedClearTimeout = clearTimeout; return clearTimeout(marker); } try { // when when somebody has screwed with setTimeout but no I.E. maddness return cachedClearTimeout(marker); } catch (e){ try { // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally return cachedClearTimeout.call(null, marker); } catch (e){ // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. // Some versions of I.E. have different rules for clearTimeout vs setTimeout return cachedClearTimeout.call(this, marker); } } } var queue = []; var draining = false; var currentQueue; var queueIndex = -1; function cleanUpNextTick() { if (!draining || !currentQueue) { return; } draining = false; if (currentQueue.length) { queue = currentQueue.concat(queue); } else { queueIndex = -1; } if (queue.length) { drainQueue(); } } function drainQueue() { if (draining) { return; } var timeout = runTimeout(cleanUpNextTick); draining = true; var len = queue.length; while(len) { currentQueue = queue; queue = []; while (++queueIndex < len) { if (currentQueue) { currentQueue[queueIndex].run(); } } queueIndex = -1; len = queue.length; } currentQueue = null; draining = false; runClearTimeout(timeout); } process.nextTick = function (fun) { var args = new Array(arguments.length - 1); if (arguments.length > 1) { for (var i = 1; i < arguments.length; i++) { args[i - 1] = arguments[i]; } } queue.push(new Item(fun, args)); if (queue.length === 1 && !draining) { runTimeout(drainQueue); } }; // v8 likes predictible objects function Item(fun, array) { this.fun = fun; this.array = array; } Item.prototype.run = function () { this.fun.apply(null, this.array); }; process.title = 'browser'; process.browser = true; process.env = {}; process.argv = []; process.version = ''; // empty string to avoid regexp issues process.versions = {}; function noop() {} process.on = noop; process.addListener = noop; process.once = noop; process.off = noop; process.removeListener = noop; process.removeAllListeners = noop; process.emit = noop; process.prependListener = noop; process.prependOnceListener = noop; process.listeners = function (name) { return [] } process.binding = function (name) { throw new Error('process.binding is not supported'); }; process.cwd = function () { return '/' }; process.chdir = function (dir) { throw new Error('process.chdir is not supported'); }; process.umask = function() { return 0; }; },{}],170:[function(require,module,exports){ (function (process,setImmediate){(function (){ var through = require('through'); var nextTick = typeof setImmediate !== 'undefined' ? setImmediate : process.nextTick ; module.exports = function (write, end) { var tr = through(write, end); tr.pause(); var resume = tr.resume; var pause = tr.pause; var paused = false; tr.pause = function () { paused = true; return pause.apply(this, arguments); }; tr.resume = function () { paused = false; return resume.apply(this, arguments); }; nextTick(function () { if (!paused) tr.resume(); }); return tr; }; }).call(this)}).call(this,require('_process'),require("timers").setImmediate) },{"_process":169,"through":183,"timers":184}],171:[function(require,module,exports){ /* eslint-disable node/no-deprecated-api */ var buffer = require('buffer') var Buffer = buffer.Buffer // alternative to using Object.keys for old browsers function copyProps (src, dst) { for (var key in src) { dst[key] = src[key] } } if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { module.exports = buffer } else { // Copy properties from require('buffer') copyProps(buffer, exports) exports.Buffer = SafeBuffer } function SafeBuffer (arg, encodingOrOffset, length) { return Buffer(arg, encodingOrOffset, length) } // Copy static methods from Buffer copyProps(Buffer, SafeBuffer) SafeBuffer.from = function (arg, encodingOrOffset, length) { if (typeof arg === 'number') { throw new TypeError('Argument must not be a number') } return Buffer(arg, encodingOrOffset, length) } SafeBuffer.alloc = function (size, fill, encoding) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } var buf = Buffer(size) if (fill !== undefined) { if (typeof encoding === 'string') { buf.fill(fill, encoding) } else { buf.fill(fill) } } else { buf.fill(0) } return buf } SafeBuffer.allocUnsafe = function (size) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } return Buffer(size) } SafeBuffer.allocUnsafeSlow = function (size) { if (typeof size !== 'number') { throw new TypeError('Argument must be a number') } return buffer.SlowBuffer(size) } },{"buffer":94}],172:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); var ES = require('es-abstract/es5'); var replace = bind.call(Function.call, String.prototype.replace); var leftWhitespace = /^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/; var rightWhitespace = /[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/; module.exports = function trim() { var S = ES.ToString(ES.CheckObjectCoercible(this)); return replace(replace(S, leftWhitespace, ''), rightWhitespace, ''); }; },{"es-abstract/es5":146,"function-bind":158}],173:[function(require,module,exports){ 'use strict'; var bind = require('function-bind'); var define = require('define-properties'); var implementation = require('./implementation'); var getPolyfill = require('./polyfill'); var shim = require('./shim'); var boundTrim = bind.call(Function.call, getPolyfill()); define(boundTrim, { getPolyfill: getPolyfill, implementation: implementation, shim: shim }); module.exports = boundTrim; },{"./implementation":172,"./polyfill":174,"./shim":175,"define-properties":100,"function-bind":158}],174:[function(require,module,exports){ 'use strict'; var implementation = require('./implementation'); var zeroWidthSpace = '\u200b'; module.exports = function getPolyfill() { if (String.prototype.trim && zeroWidthSpace.trim() === zeroWidthSpace) { return String.prototype.trim; } return implementation; }; },{"./implementation":172}],175:[function(require,module,exports){ 'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimStringTrim() { var polyfill = getPolyfill(); define(String.prototype, { trim: polyfill }, { trim: function () { return String.prototype.trim !== polyfill; } }); return polyfill; }; },{"./polyfill":174,"define-properties":100}],176:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // 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. 'use strict'; /*<replacement>*/ var Buffer = require('safe-buffer').Buffer; /*</replacement>*/ var isEncoding = Buffer.isEncoding || function (encoding) { encoding = '' + encoding; switch (encoding && encoding.toLowerCase()) { case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw': return true; default: return false; } }; function _normalizeEncoding(enc) { if (!enc) return 'utf8'; var retried; while (true) { switch (enc) { case 'utf8': case 'utf-8': return 'utf8'; case 'ucs2': case 'ucs-2': case 'utf16le': case 'utf-16le': return 'utf16le'; case 'latin1': case 'binary': return 'latin1'; case 'base64': case 'ascii': case 'hex': return enc; default: if (retried) return; // undefined enc = ('' + enc).toLowerCase(); retried = true; } } }; // Do not cache `Buffer.isEncoding` when checking encoding names as some // modules monkey-patch it to support additional encodings function normalizeEncoding(enc) { var nenc = _normalizeEncoding(enc); if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc); return nenc || enc; } // StringDecoder provides an interface for efficiently splitting a series of // buffers into a series of JS strings without breaking apart multi-byte // characters. exports.StringDecoder = StringDecoder; function StringDecoder(encoding) { this.encoding = normalizeEncoding(encoding); var nb; switch (this.encoding) { case 'utf16le': this.text = utf16Text; this.end = utf16End; nb = 4; break; case 'utf8': this.fillLast = utf8FillLast; nb = 4; break; case 'base64': this.text = base64Text; this.end = base64End; nb = 3; break; default: this.write = simpleWrite; this.end = simpleEnd; return; } this.lastNeed = 0; this.lastTotal = 0; this.lastChar = Buffer.allocUnsafe(nb); } StringDecoder.prototype.write = function (buf) { if (buf.length === 0) return ''; var r; var i; if (this.lastNeed) { r = this.fillLast(buf); if (r === undefined) return ''; i = this.lastNeed; this.lastNeed = 0; } else { i = 0; } if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i); return r || ''; }; StringDecoder.prototype.end = utf8End; // Returns only complete characters in a Buffer StringDecoder.prototype.text = utf8Text; // Attempts to complete a partial non-UTF-8 character using bytes from a Buffer StringDecoder.prototype.fillLast = function (buf) { if (this.lastNeed <= buf.length) { buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed); return this.lastChar.toString(this.encoding, 0, this.lastTotal); } buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length); this.lastNeed -= buf.length; }; // Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a // continuation byte. If an invalid byte is detected, -2 is returned. function utf8CheckByte(byte) { if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4; return byte >> 6 === 0x02 ? -1 : -2; } // Checks at most 3 bytes at the end of a Buffer in order to detect an // incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4) // needed to complete the UTF-8 character (if applicable) are returned. function utf8CheckIncomplete(self, buf, i) { var j = buf.length - 1; if (j < i) return 0; var nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) self.lastNeed = nb - 1; return nb; } if (--j < i || nb === -2) return 0; nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) self.lastNeed = nb - 2; return nb; } if (--j < i || nb === -2) return 0; nb = utf8CheckByte(buf[j]); if (nb >= 0) { if (nb > 0) { if (nb === 2) nb = 0;else self.lastNeed = nb - 3; } return nb; } return 0; } // Validates as many continuation bytes for a multi-byte UTF-8 character as // needed or are available. If we see a non-continuation byte where we expect // one, we "replace" the validated continuation bytes we've seen so far with // a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding // behavior. The continuation byte check is included three times in the case // where all of the continuation bytes for a character exist in the same buffer. // It is also done this way as a slight performance increase instead of using a // loop. function utf8CheckExtraBytes(self, buf, p) { if ((buf[0] & 0xC0) !== 0x80) { self.lastNeed = 0; return '\ufffd'; } if (self.lastNeed > 1 && buf.length > 1) { if ((buf[1] & 0xC0) !== 0x80) { self.lastNeed = 1; return '\ufffd'; } if (self.lastNeed > 2 && buf.length > 2) { if ((buf[2] & 0xC0) !== 0x80) { self.lastNeed = 2; return '\ufffd'; } } } } // Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer. function utf8FillLast(buf) { var p = this.lastTotal - this.lastNeed; var r = utf8CheckExtraBytes(this, buf, p); if (r !== undefined) return r; if (this.lastNeed <= buf.length) { buf.copy(this.lastChar, p, 0, this.lastNeed); return this.lastChar.toString(this.encoding, 0, this.lastTotal); } buf.copy(this.lastChar, p, 0, buf.length); this.lastNeed -= buf.length; } // Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a // partial character, the character's bytes are buffered until the required // number of bytes are available. function utf8Text(buf, i) { var total = utf8CheckIncomplete(this, buf, i); if (!this.lastNeed) return buf.toString('utf8', i); this.lastTotal = total; var end = buf.length - (total - this.lastNeed); buf.copy(this.lastChar, 0, end); return buf.toString('utf8', i, end); } // For UTF-8, a replacement character is added when ending on a partial // character. function utf8End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) return r + '\ufffd'; return r; } // UTF-16LE typically needs two bytes per character, but even if we have an even // number of bytes available, we need to check if we end on a leading/high // surrogate. In that case, we need to wait for the next two bytes in order to // decode the last character properly. function utf16Text(buf, i) { if ((buf.length - i) % 2 === 0) { var r = buf.toString('utf16le', i); if (r) { var c = r.charCodeAt(r.length - 1); if (c >= 0xD800 && c <= 0xDBFF) { this.lastNeed = 2; this.lastTotal = 4; this.lastChar[0] = buf[buf.length - 2]; this.lastChar[1] = buf[buf.length - 1]; return r.slice(0, -1); } } return r; } this.lastNeed = 1; this.lastTotal = 2; this.lastChar[0] = buf[buf.length - 1]; return buf.toString('utf16le', i, buf.length - 1); } // For UTF-16LE we do not explicitly append special replacement characters if we // end on a partial character, we simply let v8 handle that. function utf16End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) { var end = this.lastTotal - this.lastNeed; return r + this.lastChar.toString('utf16le', 0, end); } return r; } function base64Text(buf, i) { var n = (buf.length - i) % 3; if (n === 0) return buf.toString('base64', i); this.lastNeed = 3 - n; this.lastTotal = 3; if (n === 1) { this.lastChar[0] = buf[buf.length - 1]; } else { this.lastChar[0] = buf[buf.length - 2]; this.lastChar[1] = buf[buf.length - 1]; } return buf.toString('base64', i, buf.length - n); } function base64End(buf) { var r = buf && buf.length ? this.write(buf) : ''; if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed); return r; } // Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex) function simpleWrite(buf) { return buf.toString(this.encoding); } function simpleEnd(buf) { return buf && buf.length ? this.write(buf) : ''; } },{"safe-buffer":171}],177:[function(require,module,exports){ (function (process,setImmediate){(function (){ var defined = require('defined'); var createDefaultStream = require('./lib/default_stream'); var Test = require('./lib/test'); var createResult = require('./lib/results'); var through = require('through'); var canEmitExit = typeof process !== 'undefined' && process && typeof process.on === 'function' && process.browser !== true ; var canExit = typeof process !== 'undefined' && process && typeof process.exit === 'function' ; var nextTick = typeof setImmediate !== 'undefined' ? setImmediate : process.nextTick ; exports = module.exports = (function () { var harness; var lazyLoad = function () { return getHarness().apply(this, arguments); }; lazyLoad.only = function () { return getHarness().only.apply(this, arguments); }; lazyLoad.createStream = function (opts) { if (!opts) opts = {}; if (!harness) { var output = through(); getHarness({ stream: output, objectMode: opts.objectMode }); return output; } return harness.createStream(opts); }; lazyLoad.onFinish = function () { return getHarness().onFinish.apply(this, arguments); }; lazyLoad.getHarness = getHarness return lazyLoad function getHarness (opts) { if (!opts) opts = {}; opts.autoclose = !canEmitExit; if (!harness) harness = createExitHarness(opts); return harness; } })(); function createExitHarness (conf) { if (!conf) conf = {}; var harness = createHarness({ autoclose: defined(conf.autoclose, false) }); var stream = harness.createStream({ objectMode: conf.objectMode }); var es = stream.pipe(conf.stream || createDefaultStream()); if (canEmitExit) { es.on('error', function (err) { harness._exitCode = 1 }); } var ended = false; stream.on('end', function () { ended = true }); if (conf.exit === false) return harness; if (!canEmitExit || !canExit) return harness; var inErrorState = false; process.on('exit', function (code) { // let the process exit cleanly. if (code !== 0) { return } if (!ended) { var only = harness._results._only; for (var i = 0; i < harness._tests.length; i++) { var t = harness._tests[i]; if (only && t.name !== only) continue; t._exit(); } } harness.close(); process.exit(code || harness._exitCode); }); return harness; } exports.createHarness = createHarness; exports.Test = Test; exports.test = exports; // tap compat exports.test.skip = Test.skip; var exitInterval; function createHarness (conf_) { if (!conf_) conf_ = {}; var results = createResult(); if (conf_.autoclose !== false) { results.once('done', function () { results.close() }); } var test = function (name, conf, cb) { var t = new Test(name, conf, cb); test._tests.push(t); (function inspectCode (st) { st.on('test', function sub (st_) { inspectCode(st_); }); st.on('result', function (r) { if (!r.ok && typeof r !== 'string') test._exitCode = 1 }); })(t); results.push(t); return t; }; test._results = results; test._tests = []; test.createStream = function (opts) { return results.createStream(opts); }; test.onFinish = function (cb) { results.on('done', cb); }; var only = false; test.only = function (name) { if (only) throw new Error('there can only be one only test'); results.only(name); only = true; return test.apply(null, arguments); }; test._exitCode = 0; test.close = function () { results.close() }; return test; } }).call(this)}).call(this,require('_process'),require("timers").setImmediate) },{"./lib/default_stream":178,"./lib/results":180,"./lib/test":181,"_process":169,"defined":101,"through":183,"timers":184}],178:[function(require,module,exports){ (function (process){(function (){ var through = require('through'); var fs = require('fs'); module.exports = function () { var line = ''; var stream = through(write, flush); return stream; function write (buf) { for (var i = 0; i < buf.length; i++) { var c = typeof buf === 'string' ? buf.charAt(i) : String.fromCharCode(buf[i]) ; if (c === '\n') flush(); else line += c; } } function flush () { if (fs.writeSync && /^win/.test(process.platform)) { try { fs.writeSync(1, line + '\n'); } catch (e) { stream.emit('error', e) } } else { try { console.log(line) } catch (e) { stream.emit('error', e) } } line = ''; } }; }).call(this)}).call(this,require('_process')) },{"_process":169,"fs":76,"through":183}],179:[function(require,module,exports){ (function (process,setImmediate){(function (){ module.exports = typeof setImmediate !== 'undefined' ? setImmediate : process.nextTick ; }).call(this)}).call(this,require('_process'),require("timers").setImmediate) },{"_process":169,"timers":184}],180:[function(require,module,exports){ (function (process,setImmediate){(function (){ var EventEmitter = require('events').EventEmitter; var inherits = require('inherits'); var through = require('through'); var resumer = require('resumer'); var inspect = require('object-inspect'); var bind = require('function-bind'); var has = require('has'); var regexpTest = bind.call(Function.call, RegExp.prototype.test); var yamlIndicators = /\:|\-|\?/; var nextTick = typeof setImmediate !== 'undefined' ? setImmediate : process.nextTick ; module.exports = Results; inherits(Results, EventEmitter); function Results () { if (!(this instanceof Results)) return new Results; this.count = 0; this.fail = 0; this.pass = 0; this._stream = through(); this.tests = []; } Results.prototype.createStream = function (opts) { if (!opts) opts = {}; var self = this; var output, testId = 0; if (opts.objectMode) { output = through(); self.on('_push', function ontest (t, extra) { if (!extra) extra = {}; var id = testId++; t.once('prerun', function () { var row = { type: 'test', name: t.name, id: id }; if (has(extra, 'parent')) { row.parent = extra.parent; } output.queue(row); }); t.on('test', function (st) { ontest(st, { parent: id }); }); t.on('result', function (res) { res.test = id; res.type = 'assert'; output.queue(res); }); t.on('end', function () { output.queue({ type: 'end', test: id }); }); }); self.on('done', function () { output.queue(null) }); } else { output = resumer(); output.queue('TAP version 13\n'); self._stream.pipe(output); } nextTick(function next() { var t; while (t = getNextTest(self)) { t.run(); if (!t.ended) return t.once('end', function(){ nextTick(next); }); } self.emit('done'); }); return output; }; Results.prototype.push = function (t) { var self = this; self.tests.push(t); self._watch(t); self.emit('_push', t); }; Results.prototype.only = function (name) { this._only = name; }; Results.prototype._watch = function (t) { var self = this; var write = function (s) { self._stream.queue(s) }; t.once('prerun', function () { write('# ' + t.name + '\n'); }); t.on('result', function (res) { if (typeof res === 'string') { write('# ' + res + '\n'); return; } write(encodeResult(res, self.count + 1)); self.count ++; if (res.ok) self.pass ++ else self.fail ++ }); t.on('test', function (st) { self._watch(st) }); }; Results.prototype.close = function () { var self = this; if (self.closed) self._stream.emit('error', new Error('ALREADY CLOSED')); self.closed = true; var write = function (s) { self._stream.queue(s) }; write('\n1..' + self.count + '\n'); write('# tests ' + self.count + '\n'); write('# pass ' + self.pass + '\n'); if (self.fail) write('# fail ' + self.fail + '\n') else write('\n# ok\n') self._stream.queue(null); }; function encodeResult (res, count) { var output = ''; output += (res.ok ? 'ok ' : 'not ok ') + count; output += res.name ? ' ' + res.name.toString().replace(/\s+/g, ' ') : ''; if (res.skip) output += ' # SKIP'; else if (res.todo) output += ' # TODO'; output += '\n'; if (res.ok) return output; var outer = ' '; var inner = outer + ' '; output += outer + '---\n'; output += inner + 'operator: ' + res.operator + '\n'; if (has(res, 'expected') || has(res, 'actual')) { var ex = inspect(res.expected); var ac = inspect(res.actual); if (Math.max(ex.length, ac.length) > 65 || invalidYaml(ex) || invalidYaml(ac)) { output += inner + 'expected: |-\n' + inner + ' ' + ex + '\n'; output += inner + 'actual: |-\n' + inner + ' ' + ac + '\n'; } else { output += inner + 'expected: ' + ex + '\n'; output += inner + 'actual: ' + ac + '\n'; } } if (res.at) { output += inner + 'at: ' + res.at + '\n'; } if (res.operator === 'error' && res.actual && res.actual.stack) { var lines = String(res.actual.stack).split('\n'); output += inner + 'stack: |-\n'; for (var i = 0; i < lines.length; i++) { output += inner + ' ' + lines[i] + '\n'; } } output += outer + '...\n'; return output; } function getNextTest (results) { if (!results._only) { return results.tests.shift(); } do { var t = results.tests.shift(); if (!t) continue; if (results._only === t.name) { return t; } } while (results.tests.length !== 0) } function invalidYaml (str) { return regexpTest(yamlIndicators, str); } }).call(this)}).call(this,require('_process'),require("timers").setImmediate) },{"_process":169,"events":77,"function-bind":158,"has":162,"inherits":164,"object-inspect":182,"resumer":170,"through":183,"timers":184}],181:[function(require,module,exports){ (function (__dirname){(function (){ var deepEqual = require('deep-equal'); var defined = require('defined'); var path = require('path'); var inherits = require('inherits'); var EventEmitter = require('events').EventEmitter; var has = require('has'); var trim = require('string.prototype.trim'); var nextTick = require('./next_tick'); module.exports = Test; inherits(Test, EventEmitter); var getTestArgs = function (name_, opts_, cb_) { var name = '(anonymous)'; var opts = {}; var cb; for (var i = 0; i < arguments.length; i++) { var arg = arguments[i]; var t = typeof arg; if (t === 'string') { name = arg; } else if (t === 'object') { opts = arg || opts; } else if (t === 'function') { cb = arg; } } return { name: name, opts: opts, cb: cb }; }; function Test (name_, opts_, cb_) { if (! (this instanceof Test)) { return new Test(name_, opts_, cb_); } var args = getTestArgs(name_, opts_, cb_); this.readable = true; this.name = args.name || '(anonymous)'; this.assertCount = 0; this.pendingCount = 0; this._skip = args.opts.skip || false; this._timeout = args.opts.timeout; this._plan = undefined; this._cb = args.cb; this._progeny = []; this._ok = true; for (var prop in this) { this[prop] = (function bind(self, val) { if (typeof val === 'function') { return function bound() { return val.apply(self, arguments); }; } else return val; })(this, this[prop]); } } Test.prototype.run = function () { if (this._skip) { this.comment('SKIP ' + this.name); } if (!this._cb || this._skip) { return this._end(); } if (this._timeout != null) { this.timeoutAfter(this._timeout); } this.emit('prerun'); this._cb(this); this.emit('run'); }; Test.prototype.test = function (name, opts, cb) { var self = this; var t = new Test(name, opts, cb); this._progeny.push(t); this.pendingCount++; this.emit('test', t); t.on('prerun', function () { self.assertCount++; }) if (!self._pendingAsserts()) { nextTick(function () { self._end(); }); } nextTick(function() { if (!self._plan && self.pendingCount == self._progeny.length) { self._end(); } }); }; Test.prototype.comment = function (msg) { var that = this; trim(msg).split('\n').forEach(function (aMsg) { that.emit('result', trim(aMsg).replace(/^#\s*/, '')); }); }; Test.prototype.plan = function (n) { this._plan = n; this.emit('plan', n); }; Test.prototype.timeoutAfter = function(ms) { if (!ms) throw new Error('timeoutAfter requires a timespan'); var self = this; var timeout = setTimeout(function() { self.fail('test timed out after ' + ms + 'ms'); self.end(); }, ms); this.once('end', function() { clearTimeout(timeout); }); } Test.prototype.end = function (err) { var self = this; if (arguments.length >= 1 && !!err) { this.ifError(err); } if (this.calledEnd) { this.fail('.end() called twice'); } this.calledEnd = true; this._end(); }; Test.prototype._end = function (err) { var self = this; if (this._progeny.length) { var t = this._progeny.shift(); t.on('end', function () { self._end() }); t.run(); return; } if (!this.ended) this.emit('end'); var pendingAsserts = this._pendingAsserts(); if (!this._planError && this._plan !== undefined && pendingAsserts) { this._planError = true; this.fail('plan != count', { expected : this._plan, actual : this.assertCount }); } this.ended = true; }; Test.prototype._exit = function () { if (this._plan !== undefined && !this._planError && this.assertCount !== this._plan) { this._planError = true; this.fail('plan != count', { expected : this._plan, actual : this.assertCount, exiting : true }); } else if (!this.ended) { this.fail('test exited without ending', { exiting: true }); } }; Test.prototype._pendingAsserts = function () { if (this._plan === undefined) { return 1; } else { return this._plan - (this._progeny.length + this.assertCount); } }; Test.prototype._assert = function assert (ok, opts) { var self = this; var extra = opts.extra || {}; var res = { id : self.assertCount ++, ok : Boolean(ok), skip : defined(extra.skip, opts.skip), name : defined(extra.message, opts.message, '(unnamed assert)'), operator : defined(extra.operator, opts.operator) }; if (has(opts, 'actual') || has(extra, 'actual')) { res.actual = defined(extra.actual, opts.actual); } if (has(opts, 'expected') || has(extra, 'expected')) { res.expected = defined(extra.expected, opts.expected); } this._ok = Boolean(this._ok && ok); if (!ok) { res.error = defined(extra.error, opts.error, new Error(res.name)); } if (!ok) { var e = new Error('exception'); var err = (e.stack || '').split('\n'); var dir = path.dirname(__dirname) + '/'; for (var i = 0; i < err.length; i++) { var m = /^[^\s]*\s*\bat\s+(.+)/.exec(err[i]); if (!m) { continue; } var s = m[1].split(/\s+/); var filem = /(\/[^:\s]+:(\d+)(?::(\d+))?)/.exec(s[1]); if (!filem) { filem = /(\/[^:\s]+:(\d+)(?::(\d+))?)/.exec(s[2]); if (!filem) { filem = /(\/[^:\s]+:(\d+)(?::(\d+))?)/.exec(s[3]); if (!filem) { continue; } } } if (filem[1].slice(0, dir.length) === dir) { continue; } res.functionName = s[0]; res.file = filem[1]; res.line = Number(filem[2]); if (filem[3]) res.column = filem[3]; res.at = m[1]; break; } } self.emit('result', res); var pendingAsserts = self._pendingAsserts(); if (!pendingAsserts) { if (extra.exiting) { self._end(); } else { nextTick(function () { self._end(); }); } } if (!self._planError && pendingAsserts < 0) { self._planError = true; self.fail('plan != count', { expected : self._plan, actual : self._plan - pendingAsserts }); } }; Test.prototype.fail = function (msg, extra) { this._assert(false, { message : msg, operator : 'fail', extra : extra }); }; Test.prototype.pass = function (msg, extra) { this._assert(true, { message : msg, operator : 'pass', extra : extra }); }; Test.prototype.skip = function (msg, extra) { this._assert(true, { message : msg, operator : 'skip', skip : true, extra : extra }); }; Test.prototype.ok = Test.prototype['true'] = Test.prototype.assert = function (value, msg, extra) { this._assert(value, { message : msg, operator : 'ok', expected : true, actual : value, extra : extra }); }; Test.prototype.notOk = Test.prototype['false'] = Test.prototype.notok = function (value, msg, extra) { this._assert(!value, { message : msg, operator : 'notOk', expected : false, actual : value, extra : extra }); }; Test.prototype.error = Test.prototype.ifError = Test.prototype.ifErr = Test.prototype.iferror = function (err, msg, extra) { this._assert(!err, { message : defined(msg, String(err)), operator : 'error', actual : err, extra : extra }); }; Test.prototype.equal = Test.prototype.equals = Test.prototype.isEqual = Test.prototype.is = Test.prototype.strictEqual = Test.prototype.strictEquals = function (a, b, msg, extra) { this._assert(a === b, { message : defined(msg, 'should be equal'), operator : 'equal', actual : a, expected : b, extra : extra }); }; Test.prototype.notEqual = Test.prototype.notEquals = Test.prototype.notStrictEqual = Test.prototype.notStrictEquals = Test.prototype.isNotEqual = Test.prototype.isNot = Test.prototype.not = Test.prototype.doesNotEqual = Test.prototype.isInequal = function (a, b, msg, extra) { this._assert(a !== b, { message : defined(msg, 'should not be equal'), operator : 'notEqual', actual : a, notExpected : b, extra : extra }); }; Test.prototype.deepEqual = Test.prototype.deepEquals = Test.prototype.isEquivalent = Test.prototype.same = function (a, b, msg, extra) { this._assert(deepEqual(a, b, { strict: true }), { message : defined(msg, 'should be equivalent'), operator : 'deepEqual', actual : a, expected : b, extra : extra }); }; Test.prototype.deepLooseEqual = Test.prototype.looseEqual = Test.prototype.looseEquals = function (a, b, msg, extra) { this._assert(deepEqual(a, b), { message : defined(msg, 'should be equivalent'), operator : 'deepLooseEqual', actual : a, expected : b, extra : extra }); }; Test.prototype.notDeepEqual = Test.prototype.notEquivalent = Test.prototype.notDeeply = Test.prototype.notSame = Test.prototype.isNotDeepEqual = Test.prototype.isNotDeeply = Test.prototype.isNotEquivalent = Test.prototype.isInequivalent = function (a, b, msg, extra) { this._assert(!deepEqual(a, b, { strict: true }), { message : defined(msg, 'should not be equivalent'), operator : 'notDeepEqual', actual : a, notExpected : b, extra : extra }); }; Test.prototype.notDeepLooseEqual = Test.prototype.notLooseEqual = Test.prototype.notLooseEquals = function (a, b, msg, extra) { this._assert(!deepEqual(a, b), { message : defined(msg, 'should be equivalent'), operator : 'notDeepLooseEqual', actual : a, expected : b, extra : extra }); }; Test.prototype['throws'] = function (fn, expected, msg, extra) { if (typeof expected === 'string') { msg = expected; expected = undefined; } var caught = undefined; try { fn(); } catch (err) { caught = { error : err }; var message = err.message; delete err.message; err.message = message; } var passed = caught; if (expected instanceof RegExp) { passed = expected.test(caught && caught.error); expected = String(expected); } if (typeof expected === 'function' && caught) { passed = caught.error instanceof expected; caught.error = caught.error.constructor; } this._assert(typeof fn === 'function' && passed, { message : defined(msg, 'should throw'), operator : 'throws', actual : caught && caught.error, expected : expected, error: !passed && caught && caught.error, extra : extra }); }; Test.prototype.doesNotThrow = function (fn, expected, msg, extra) { if (typeof expected === 'string') { msg = expected; expected = undefined; } var caught = undefined; try { fn(); } catch (err) { caught = { error : err }; } this._assert(!caught, { message : defined(msg, 'should not throw'), operator : 'throws', actual : caught && caught.error, expected : expected, error : caught && caught.error, extra : extra }); }; Test.skip = function (name_, _opts, _cb) { var args = getTestArgs.apply(null, arguments); args.opts.skip = true; return Test(args.name, args.opts, args.cb); }; // vim: set softtabstop=4 shiftwidth=4: }).call(this)}).call(this,"/node_modules/tape/lib") },{"./next_tick":179,"deep-equal":97,"defined":101,"events":77,"has":162,"inherits":164,"path":78,"string.prototype.trim":173}],182:[function(require,module,exports){ var hasMap = typeof Map === 'function' && Map.prototype; var mapSizeDescriptor = Object.getOwnPropertyDescriptor && hasMap ? Object.getOwnPropertyDescriptor(Map.prototype, 'size') : null; var mapSize = hasMap && mapSizeDescriptor && typeof mapSizeDescriptor.get === 'function' ? mapSizeDescriptor.get : null; var mapForEach = hasMap && Map.prototype.forEach; var hasSet = typeof Set === 'function' && Set.prototype; var setSizeDescriptor = Object.getOwnPropertyDescriptor && hasSet ? Object.getOwnPropertyDescriptor(Set.prototype, 'size') : null; var setSize = hasSet && setSizeDescriptor && typeof setSizeDescriptor.get === 'function' ? setSizeDescriptor.get : null; var setForEach = hasSet && Set.prototype.forEach; module.exports = function inspect_ (obj, opts, depth, seen) { if (!opts) opts = {}; var maxDepth = opts.depth === undefined ? 5 : opts.depth; if (depth === undefined) depth = 0; if (depth >= maxDepth && maxDepth > 0 && obj && typeof obj === 'object') { return '[Object]'; } if (seen === undefined) seen = []; else if (indexOf(seen, obj) >= 0) { return '[Circular]'; } function inspect (value, from) { if (from) { seen = seen.slice(); seen.push(from); } return inspect_(value, opts, depth + 1, seen); } if (typeof obj === 'string') { return inspectString(obj); } else if (typeof obj === 'function') { var name = nameOf(obj); return '[Function' + (name ? ': ' + name : '') + ']'; } else if (obj === null) { return 'null'; } else if (isSymbol(obj)) { var symString = Symbol.prototype.toString.call(obj); return typeof obj === 'object' ? 'Object(' + symString + ')' : symString; } else if (isElement(obj)) { var s = '<' + String(obj.nodeName).toLowerCase(); var attrs = obj.attributes || []; for (var i = 0; i < attrs.length; i++) { s += ' ' + attrs[i].name + '="' + quote(attrs[i].value) + '"'; } s += '>'; if (obj.childNodes && obj.childNodes.length) s += '...'; s += '</' + String(obj.nodeName).toLowerCase() + '>'; return s; } else if (isArray(obj)) { if (obj.length === 0) return '[]'; var xs = Array(obj.length); for (var i = 0; i < obj.length; i++) { xs[i] = has(obj, i) ? inspect(obj[i], obj) : ''; } return '[ ' + xs.join(', ') + ' ]'; } else if (isError(obj)) { var parts = []; for (var key in obj) { if (!has(obj, key)) continue; if (/[^\w$]/.test(key)) { parts.push(inspect(key) + ': ' + inspect(obj[key])); } else { parts.push(key + ': ' + inspect(obj[key])); } } if (parts.length === 0) return '[' + obj + ']'; return '{ [' + obj + '] ' + parts.join(', ') + ' }'; } else if (typeof obj === 'object' && typeof obj.inspect === 'function') { return obj.inspect(); } else if (isMap(obj)) { var parts = []; mapForEach.call(obj, function (value, key) { parts.push(inspect(key, obj) + ' => ' + inspect(value, obj)); }); return 'Map (' + mapSize.call(obj) + ') {' + parts.join(', ') + '}'; } else if (isSet(obj)) { var parts = []; setForEach.call(obj, function (value ) { parts.push(inspect(value, obj)); }); return 'Set (' + setSize.call(obj) + ') {' + parts.join(', ') + '}'; } else if (typeof obj === 'object' && !isDate(obj) && !isRegExp(obj)) { var xs = [], keys = []; for (var key in obj) { if (has(obj, key)) keys.push(key); } keys.sort(); for (var i = 0; i < keys.length; i++) { var key = keys[i]; if (/[^\w$]/.test(key)) { xs.push(inspect(key) + ': ' + inspect(obj[key], obj)); } else xs.push(key + ': ' + inspect(obj[key], obj)); } if (xs.length === 0) return '{}'; return '{ ' + xs.join(', ') + ' }'; } else return String(obj); }; function quote (s) { return String(s).replace(/"/g, '&quot;'); } function isArray (obj) { return toStr(obj) === '[object Array]' } function isDate (obj) { return toStr(obj) === '[object Date]' } function isRegExp (obj) { return toStr(obj) === '[object RegExp]' } function isError (obj) { return toStr(obj) === '[object Error]' } function isSymbol (obj) { return toStr(obj) === '[object Symbol]' } var hasOwn = Object.prototype.hasOwnProperty || function (key) { return key in this; }; function has (obj, key) { return hasOwn.call(obj, key); } function toStr (obj) { return Object.prototype.toString.call(obj); } function nameOf (f) { if (f.name) return f.name; var m = f.toString().match(/^function\s*([\w$]+)/); if (m) return m[1]; } function indexOf (xs, x) { if (xs.indexOf) return xs.indexOf(x); for (var i = 0, l = xs.length; i < l; i++) { if (xs[i] === x) return i; } return -1; } function isMap (x) { if (!mapSize) { return false; } try { mapSize.call(x); return true; } catch (e) {} return false; } function isSet (x) { if (!setSize) { return false; } try { setSize.call(x); return true; } catch (e) {} return false; } function isElement (x) { if (!x || typeof x !== 'object') return false; if (typeof HTMLElement !== 'undefined' && x instanceof HTMLElement) { return true; } return typeof x.nodeName === 'string' && typeof x.getAttribute === 'function' ; } function inspectString (str) { var s = str.replace(/(['\\])/g, '\\$1').replace(/[\x00-\x1f]/g, lowbyte); return "'" + s + "'"; function lowbyte (c) { var n = c.charCodeAt(0); var x = { 8: 'b', 9: 't', 10: 'n', 12: 'f', 13: 'r' }[n]; if (x) return '\\' + x; return '\\x' + (n < 0x10 ? '0' : '') + n.toString(16); } } },{}],183:[function(require,module,exports){ (function (process){(function (){ var Stream = require('stream') // through // // a stream that does nothing but re-emit the input. // useful for aggregating a series of changing but not ending streams into one stream) exports = module.exports = through through.through = through //create a readable writable stream. function through (write, end, opts) { write = write || function (data) { this.queue(data) } end = end || function () { this.queue(null) } var ended = false, destroyed = false, buffer = [], _ended = false var stream = new Stream() stream.readable = stream.writable = true stream.paused = false // stream.autoPause = !(opts && opts.autoPause === false) stream.autoDestroy = !(opts && opts.autoDestroy === false) stream.write = function (data) { write.call(this, data) return !stream.paused } function drain() { while(buffer.length && !stream.paused) { var data = buffer.shift() if(null === data) return stream.emit('end') else stream.emit('data', data) } } stream.queue = stream.push = function (data) { // console.error(ended) if(_ended) return stream if(data === null) _ended = true buffer.push(data) drain() return stream } //this will be registered as the first 'end' listener //must call destroy next tick, to make sure we're after any //stream piped from here. //this is only a problem if end is not emitted synchronously. //a nicer way to do this is to make sure this is the last listener for 'end' stream.on('end', function () { stream.readable = false if(!stream.writable && stream.autoDestroy) process.nextTick(function () { stream.destroy() }) }) function _end () { stream.writable = false end.call(stream) if(!stream.readable && stream.autoDestroy) stream.destroy() } stream.end = function (data) { if(ended) return ended = true if(arguments.length) stream.write(data) _end() // will emit or queue return stream } stream.destroy = function () { if(destroyed) return destroyed = true ended = true buffer.length = 0 stream.writable = stream.readable = false stream.emit('close') return stream } stream.pause = function () { if(stream.paused) return stream.paused = true return stream } stream.resume = function () { if(stream.paused) { stream.paused = false stream.emit('resume') } drain() //may have become paused again, //as drain emits 'data'. if(!stream.paused) stream.emit('drain') return stream } return stream } }).call(this)}).call(this,require('_process')) },{"_process":169,"stream":79}],184:[function(require,module,exports){ (function (setImmediate,clearImmediate){(function (){ var nextTick = require('process/browser.js').nextTick; var apply = Function.prototype.apply; var slice = Array.prototype.slice; var immediateIds = {}; var nextImmediateId = 0; // DOM APIs, for completeness exports.setTimeout = function() { return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout); }; exports.setInterval = function() { return new Timeout(apply.call(setInterval, window, arguments), clearInterval); }; exports.clearTimeout = exports.clearInterval = function(timeout) { timeout.close(); }; function Timeout(id, clearFn) { this._id = id; this._clearFn = clearFn; } Timeout.prototype.unref = Timeout.prototype.ref = function() {}; Timeout.prototype.close = function() { this._clearFn.call(window, this._id); }; // Does not start the time, just sets up the members needed. exports.enroll = function(item, msecs) { clearTimeout(item._idleTimeoutId); item._idleTimeout = msecs; }; exports.unenroll = function(item) { clearTimeout(item._idleTimeoutId); item._idleTimeout = -1; }; exports._unrefActive = exports.active = function(item) { clearTimeout(item._idleTimeoutId); var msecs = item._idleTimeout; if (msecs >= 0) { item._idleTimeoutId = setTimeout(function onTimeout() { if (item._onTimeout) item._onTimeout(); }, msecs); } }; // That's not how node.js implements it but the exposed api is the same. exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) { var id = nextImmediateId++; var args = arguments.length < 2 ? false : slice.call(arguments, 1); immediateIds[id] = true; nextTick(function onNextTick() { if (immediateIds[id]) { // fn.call() is faster so we optimize for the common use-case // @see http://jsperf.com/call-apply-segu if (args) { fn.apply(null, args); } else { fn.call(null); } // Prevent ids from leaking exports.clearImmediate(id); } }); return id; }; exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) { delete immediateIds[id]; }; }).call(this)}).call(this,require("timers").setImmediate,require("timers").clearImmediate) },{"process/browser.js":169,"timers":184}],185:[function(require,module,exports){ (function (global){(function (){ /** * Module exports. */ module.exports = deprecate; /** * Mark that a method should not be used. * Returns a modified function which warns once by default. * * If `localStorage.noDeprecation = true` is set, then it is a no-op. * * If `localStorage.throwDeprecation = true` is set, then deprecated functions * will throw an Error when invoked. * * If `localStorage.traceDeprecation = true` is set, then deprecated functions * will invoke `console.trace()` instead of `console.error()`. * * @param {Function} fn - the function to deprecate * @param {String} msg - the string to print to the console when `fn` is invoked * @returns {Function} a new "deprecated" version of `fn` * @api public */ function deprecate (fn, msg) { if (config('noDeprecation')) { return fn; } var warned = false; function deprecated() { if (!warned) { if (config('throwDeprecation')) { throw new Error(msg); } else if (config('traceDeprecation')) { console.trace(msg); } else { console.warn(msg); } warned = true; } return fn.apply(this, arguments); } return deprecated; } /** * Checks `localStorage` for boolean values for the given `name`. * * @param {String} name * @returns {Boolean} * @api private */ function config (name) { // accessing global.localStorage can trigger a DOMException in sandboxed iframes try { if (!global.localStorage) return false; } catch (_) { return false; } var val = global.localStorage[name]; if (null == val) return false; return String(val).toLowerCase() === 'true'; } }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) },{}]},{},[56]);
51.343822
325,840
0.752094
b428de3760887f5af343e458a7c6a1619a000ef1
3,005
js
JavaScript
app/components/message_attachments/attachment_title.js
DigasNikas/mattermost-mobile
a659eb69d9675ab9f98c99189283708e64b5d9ba
[ "Apache-2.0" ]
1
2021-05-14T18:24:47.000Z
2021-05-14T18:24:47.000Z
app/components/message_attachments/attachment_title.js
DigasNikas/mattermost-mobile
a659eb69d9675ab9f98c99189283708e64b5d9ba
[ "Apache-2.0" ]
null
null
null
app/components/message_attachments/attachment_title.js
DigasNikas/mattermost-mobile
a659eb69d9675ab9f98c99189283708e64b5d9ba
[ "Apache-2.0" ]
null
null
null
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {PureComponent} from 'react'; import {Alert, Text, View} from 'react-native'; import {intlShape} from 'react-intl'; import PropTypes from 'prop-types'; import Markdown from '@components/markdown'; import {makeStyleSheetFromTheme} from '@utils/theme'; import {tryOpenURL} from '@utils/url'; export default class AttachmentTitle extends PureComponent { static propTypes = { link: PropTypes.string, theme: PropTypes.object.isRequired, value: PropTypes.string, }; static contextTypes = { intl: intlShape.isRequired, }; openLink = () => { const {link} = this.props; const {intl} = this.context; if (link) { const onError = () => { Alert.alert( intl.formatMessage({ id: 'mobile.link.error.title', defaultMessage: 'Error', }), intl.formatMessage({ id: 'mobile.link.error.text', defaultMessage: 'Unable to open the link.', }), ); }; tryOpenURL(link, onError); } }; render() { const { link, value, theme, } = this.props; if (!value) { return null; } const style = getStyleSheet(theme); let title; if (link) { title = ( <Text style={[style.title, Boolean(link) && style.link]} onPress={this.openLink} > {value} </Text> ); } else { title = ( <Markdown isEdited={false} isReplyPost={false} disableHashtags={true} disableAtMentions={true} disableChannelLink={true} disableGallery={true} autolinkedUrlSchemes={[]} mentionKeys={[]} theme={theme} value={value} baseTextStyle={style.title} textStyles={{link: style.link}} /> ); } return ( <View style={style.container}> {title} </View> ); } } const getStyleSheet = makeStyleSheetFromTheme((theme) => { return { container: { marginTop: 3, flex: 1, flexDirection: 'row', }, title: { color: theme.centerChannelColor, fontWeight: '600', marginBottom: 5, fontSize: 14, lineHeight: 20, }, link: { color: theme.linkColor, }, }; });
26.130435
70
0.445591
b429040220c4a1da169bb69f6573149f6eb2d202
37
js
JavaScript
composition/index.js
Gameghostify/vue-tippy
94f9584e9159689bfcb95b543f414025b92701dd
[ "MIT" ]
548
2017-04-30T15:21:25.000Z
2022-03-29T11:07:16.000Z
composition/index.js
Gameghostify/vue-tippy
94f9584e9159689bfcb95b543f414025b92701dd
[ "MIT" ]
213
2017-05-22T09:13:28.000Z
2022-03-22T23:56:29.000Z
composition/index.js
Gameghostify/vue-tippy
94f9584e9159689bfcb95b543f414025b92701dd
[ "MIT" ]
75
2017-06-28T08:28:46.000Z
2022-03-23T15:59:25.000Z
export { useTippy } from './useTippy'
37
37
0.702703
b42a4b98379001f1f621b97905b98cd4f7a05d9a
44,517
js
JavaScript
calls/ecoop/2016_files/platform.js
bhermann/artifact-survey
12807813c99f3d19a202fb0abadd785bd6156a3c
[ "CC-BY-4.0" ]
1
2020-10-25T21:37:42.000Z
2020-10-25T21:37:42.000Z
calls/ecoop/2016_files/platform.js
bhermann/artifact-survey
12807813c99f3d19a202fb0abadd785bd6156a3c
[ "CC-BY-4.0" ]
null
null
null
calls/ecoop/2016_files/platform.js
bhermann/artifact-survey
12807813c99f3d19a202fb0abadd785bd6156a3c
[ "CC-BY-4.0" ]
null
null
null
var gapi=window.gapi=window.gapi||{};gapi._bs=new Date().getTime();(function(){var m=this||self,aa=function(a,b,c){return a.call.apply(a.bind,arguments)},ba=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},ca=function(a,b,c){ca=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?aa:ba;return ca.apply(null,arguments)},da=function(a, b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.A=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h<arguments.length;h++)g[h-2]=arguments[h];return b.prototype[e].apply(d,g)}};var ea=function(){this.V=""};ea.prototype.toString=function(){return"SafeScript{"+this.V+"}"};ea.prototype.i=function(a){this.V=a};(new ea).i("");var fa=function(){this.X=""};fa.prototype.toString=function(){return"SafeStyle{"+this.X+"}"};fa.prototype.i=function(a){this.X=a};(new fa).i("");var ha=function(){this.W=""};ha.prototype.toString=function(){return"SafeStyleSheet{"+this.W+"}"};ha.prototype.i=function(a){this.W=a};(new ha).i("");var q=function(){this.U=""};q.prototype.toString=function(){return"SafeHtml{"+this.U+"}"};q.prototype.i=function(a){this.U=a};(new q).i("<!DOCTYPE html>");(new q).i("");(new q).i("<br>");/* gapi.loader.OBJECT_CREATE_TEST_OVERRIDE &&*/ var t=window,v=document,ia=t.location,ja=function(){},ka=/\[native code\]/,w=function(a,b,c){return a[b]=a[b]||c},la=function(a){for(var b=0;b<this.length;b++)if(this[b]===a)return b;return-1},ma=function(a){a=a.sort();for(var b=[],c=void 0,d=0;d<a.length;d++){var e=a[d];e!=c&&b.push(e);c=e}return b},na=/&/g,oa=/</g,pa=/>/g,ra=/"/g,sa=/'/g,ta=function(a){return String(a).replace(na,"&amp;").replace(oa,"&lt;").replace(pa,"&gt;").replace(ra,"&quot;").replace(sa,"&#39;")},x=function(){var a;if((a=Object.create)&& ka.test(a))a=a(null);else{a={};for(var b in a)a[b]=void 0}return a},z=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},ua=function(a){if(ka.test(Object.keys))return Object.keys(a);var b=[],c;for(c in a)z(a,c)&&b.push(c);return b},A=function(a,b){a=a||{};for(var c in a)z(a,c)&&(b[c]=a[c])},va=function(a){return function(){t.setTimeout(a,0)}},B=function(a,b){if(!a)throw Error(b||"");},C=w(t,"gapi",{});var D=function(a,b,c){var d=new RegExp("([#].*&|[#])"+b+"=([^&#]*)","g");b=new RegExp("([?#].*&|[?#])"+b+"=([^&#]*)","g");if(a=a&&(d.exec(a)||b.exec(a)))try{c=decodeURIComponent(a[2])}catch(e){}return c},wa=new RegExp(/^/.source+/([a-zA-Z][-+.a-zA-Z0-9]*:)?/.source+/(\/\/[^\/?#]*)?/.source+/([^?#]*)?/.source+/(\?([^#]*))?/.source+/(#((#|[^#])*))?/.source+/$/.source),xa=/[\ud800-\udbff][\udc00-\udfff]|[^!-~]/g,ya=new RegExp(/(%([^0-9a-fA-F%]|[0-9a-fA-F]([^0-9a-fA-F%])?)?)*/.source+/%($|[^0-9a-fA-F]|[0-9a-fA-F]($|[^0-9a-fA-F]))/.source, "g"),za=/%([a-f]|[0-9a-fA-F][a-f])/g,Aa=/^(https?|ftp|file|chrome-extension):$/i,F=function(a){a=String(a);a=a.replace(xa,function(e){try{return encodeURIComponent(e)}catch(f){return encodeURIComponent(e.replace(/^[^%]+$/g,"\ufffd"))}}).replace(ya,function(e){return e.replace(/%/g,"%25")}).replace(za,function(e){return e.toUpperCase()});a=a.match(wa)||[];var b=x(),c=function(e){return e.replace(/\\/g,"%5C").replace(/\^/g,"%5E").replace(/`/g,"%60").replace(/\{/g,"%7B").replace(/\|/g,"%7C").replace(/\}/g, "%7D")},d=!!(a[1]||"").match(Aa);b.A=c((a[1]||"")+(a[2]||"")+(a[3]||(a[2]&&d?"/":"")));d=function(e){return c(e.replace(/\?/g,"%3F").replace(/#/g,"%23"))};b.query=a[5]?[d(a[5])]:[];b.g=a[7]?[d(a[7])]:[];return b},Ba=function(a){return a.A+(0<a.query.length?"?"+a.query.join("&"):"")+(0<a.g.length?"#"+a.g.join("&"):"")},Ca=function(a,b){var c=[];if(a)for(var d in a)if(z(a,d)&&null!=a[d]){var e=b?b(a[d]):a[d];c.push(encodeURIComponent(d)+"="+encodeURIComponent(e))}return c},Da=function(a,b,c,d){a=F(a); a.query.push.apply(a.query,Ca(b,d));a.g.push.apply(a.g,Ca(c,d));return Ba(a)},Ea=new RegExp(/\/?\??#?/.source+"("+/[\/?#]/i.source+"|"+/[\uD800-\uDBFF]/i.source+"|"+/%[c-f][0-9a-f](%[89ab][0-9a-f]){0,2}(%[89ab]?)?/i.source+"|"+/%[0-9a-f]?/i.source+")$","i"),Fa=function(a,b){var c=F(b);b=c.A;c.query.length&&(b+="?"+c.query.join(""));c.g.length&&(b+="#"+c.g.join(""));var d="";2E3<b.length&&(c=b,b=b.substr(0,2E3),b=b.replace(Ea,""),d=c.substr(b.length));var e=a.createElement("div");a=a.createElement("a"); c=F(b);b=c.A;c.query.length&&(b+="?"+c.query.join(""));c.g.length&&(b+="#"+c.g.join(""));a.href=b;e.appendChild(a);e.innerHTML=e.innerHTML;b=String(e.firstChild.href);e.parentNode&&e.parentNode.removeChild(e);c=F(b+d);b=c.A;c.query.length&&(b+="?"+c.query.join(""));c.g.length&&(b+="#"+c.g.join(""));return b},Ga=/^https?:\/\/[^\/%\\?#\s]+\/[^\s]*$/i;var Ha=function(a,b,c,d){if(t[c+"EventListener"])t[c+"EventListener"](a,b,!1);else if(t[d+"tachEvent"])t[d+"tachEvent"]("on"+a,b)},Ja=function(){var a=v.readyState;return"complete"===a||"interactive"===a&&-1==navigator.userAgent.indexOf("MSIE")},Ma=function(a){var b=Ka;if(!Ja())try{b()}catch(c){}La(a)},La=function(a){if(Ja())a();else{var b=!1,c=function(){if(!b)return b=!0,a.apply(this,arguments)};t.addEventListener?(t.addEventListener("load",c,!1),t.addEventListener("DOMContentLoaded",c,!1)):t.attachEvent&& (t.attachEvent("onreadystatechange",function(){Ja()&&c.apply(this,arguments)}),t.attachEvent("onload",c))}},Na=function(a){for(;a.firstChild;)a.removeChild(a.firstChild)},Oa={button:!0,div:!0,span:!0};var G;G=w(t,"___jsl",x());w(G,"I",0);w(G,"hel",10);var Pa=function(a){return G.dpo?G.h:D(a,"jsh",G.h)},Qa=function(a){var b=w(G,"sws",[]);b.push.apply(b,a)},Ra=function(a){return w(G,"watt",x())[a]},Sa=function(a){var b=w(G,"PQ",[]);G.PQ=[];var c=b.length;if(0===c)a();else for(var d=0,e=function(){++d===c&&a()},f=0;f<c;f++)b[f](e)},Ta=function(a){return w(w(G,"H",x()),a,x())};var Ua=w(G,"perf",x()),Va=w(Ua,"g",x()),Wa=w(Ua,"i",x());w(Ua,"r",[]);x();x(); var Xa=function(a,b,c){var d=Ua.r;"function"===typeof d?d(a,b,c):d.push([a,b,c])},H=function(a,b,c){Va[a]=!b&&Va[a]||c||(new Date).getTime();Xa(a)},Za=function(a,b,c){b&&0<b.length&&(b=Ya(b),c&&0<c.length&&(b+="___"+Ya(c)),28<b.length&&(b=b.substr(0,28)+(b.length-28)),c=b,b=w(Wa,"_p",x()),w(b,c,x())[a]=(new Date).getTime(),Xa(a,"_p",c))},Ya=function(a){return a.join("__").replace(/\./g,"_").replace(/\-/g,"_").replace(/,/g,"_")};var $a=x(),J=[],L=function(a){throw Error("Bad hint"+(a?": "+a:""));};J.push(["jsl",function(a){for(var b in a)if(z(a,b)){var c=a[b];"object"==typeof c?G[b]=w(G,b,[]).concat(c):w(G,b,c)}if(b=a.u)a=w(G,"us",[]),a.push(b),(b=/^https:(.*)$/.exec(b))&&a.push("http:"+b[1])}]);var ab=/^(\/[a-zA-Z0-9_\-]+)+$/,bb=[/\/amp\//,/\/amp$/,/^\/amp$/],cb=/^[a-zA-Z0-9\-_\.,!]+$/,db=/^gapi\.loaded_[0-9]+$/,eb=/^[a-zA-Z0-9,._-]+$/,ib=function(a,b,c,d){var e=a.split(";"),f=e.shift(),g=$a[f],h=null;g?h=g(e,b,c,d):L("no hint processor for: "+f);h||L("failed to generate load url");b=h;c=b.match(fb);(d=b.match(gb))&&1===d.length&&hb.test(b)&&c&&1===c.length||L("failed sanity: "+a);return h},lb=function(a,b,c,d){a=jb(a);db.test(c)||L("invalid_callback");b=kb(b);d=d&&d.length?kb(d):null;var e= function(f){return encodeURIComponent(f).replace(/%2C/g,",")};return[encodeURIComponent(a.pathPrefix).replace(/%2C/g,",").replace(/%2F/g,"/"),"/k=",e(a.version),"/m=",e(b),d?"/exm="+e(d):"","/rt=j/sv=1/d=1/ed=1",a.M?"/am="+e(a.M):"",a.Y?"/rs="+e(a.Y):"",a.$?"/t="+e(a.$):"","/cb=",e(c)].join("")},jb=function(a){"/"!==a.charAt(0)&&L("relative path");for(var b=a.substring(1).split("/"),c=[];b.length;){a=b.shift();if(!a.length||0==a.indexOf("."))L("empty/relative directory");else if(0<a.indexOf("=")){b.unshift(a); break}c.push(a)}a={};for(var d=0,e=b.length;d<e;++d){var f=b[d].split("="),g=decodeURIComponent(f[0]),h=decodeURIComponent(f[1]);2==f.length&&g&&h&&(a[g]=a[g]||h)}b="/"+c.join("/");ab.test(b)||L("invalid_prefix");c=0;for(d=bb.length;c<d;++c)bb[c].test(b)&&L("invalid_prefix");c=mb(a,"k",!0);d=mb(a,"am");e=mb(a,"rs");a=mb(a,"t");return{pathPrefix:b,version:c,M:d,Y:e,$:a}},kb=function(a){for(var b=[],c=0,d=a.length;c<d;++c){var e=a[c].replace(/\./g,"_").replace(/-/g,"_");eb.test(e)&&b.push(e)}return b.join(",")}, mb=function(a,b,c){a=a[b];!a&&c&&L("missing: "+b);if(a){if(cb.test(a))return a;L("invalid: "+b)}return null},hb=/^https?:\/\/[a-z0-9_.-]+\.google(rs)?\.com(:\d+)?\/[a-zA-Z0-9_.,!=\-\/]+$/,gb=/\/cb=/g,fb=/\/\//g,nb=function(){var a=Pa(ia.href);if(!a)throw Error("Bad hint");return a};$a.m=function(a,b,c,d){(a=a[0])||L("missing_hint");return"https://apis.google.com"+lb(a,b,c,d)};var ob=decodeURI("%73cript"),pb=/^[-+_0-9\/A-Za-z]+={0,2}$/,qb=function(a,b){for(var c=[],d=0;d<a.length;++d){var e=a[d];e&&0>la.call(b,e)&&c.push(e)}return c},rb=function(){var a=G.nonce;return void 0!==a?a&&a===String(a)&&a.match(pb)?a:G.nonce=null:v.querySelector?(a=v.querySelector("script[nonce]"))?(a=a.nonce||a.getAttribute("nonce")||"",a&&a===String(a)&&a.match(pb)?G.nonce=a:G.nonce=null):null:null},tb=function(a){if("loading"!=v.readyState)sb(a);else{var b=rb(),c="";null!==b&&(c=' nonce="'+ b+'"');a="<"+ob+' src="'+encodeURI(a)+'"'+c+"></"+ob+">";v.write(a)}},sb=function(a){var b=v.createElement(ob);b.setAttribute("src",a);a=rb();null!==a&&b.setAttribute("nonce",a);b.async="true";(a=v.getElementsByTagName(ob)[0])?a.parentNode.insertBefore(b,a):(v.head||v.body||v.documentElement).appendChild(b)},ub=function(a,b){var c=b&&b._c;if(c)for(var d=0;d<J.length;d++){var e=J[d][0],f=J[d][1];f&&z(c,e)&&f(c[e],a,b)}},wb=function(a,b,c){vb(function(){var d=b===Pa(ia.href)?w(C,"_",x()):x();d=w(Ta(b), "_",d);a(d)},c)},M=function(a,b){var c=b||{};"function"==typeof b&&(c={},c.callback=b);ub(a,c);b=a?a.split(":"):[];var d=c.h||nb(),e=w(G,"ah",x());if(e["::"]&&b.length){a=[];for(var f=null;f=b.shift();){var g=f.split(".");g=e[f]||e[g[1]&&"ns:"+g[0]||""]||d;var h=a.length&&a[a.length-1]||null,k=h;h&&h.hint==g||(k={hint:g,P:[]},a.push(k));k.P.push(f)}var l=a.length;if(1<l){var n=c.callback;n&&(c.callback=function(){0==--l&&n()})}for(;b=a.shift();)xb(b.P,c,b.hint)}else xb(b||[],c,d)},xb=function(a,b, c){a=ma(a)||[];var d=b.callback,e=b.config,f=b.timeout,g=b.ontimeout,h=b.onerror,k=void 0;"function"==typeof h&&(k=h);var l=null,n=!1;if(f&&!g||!f&&g)throw"Timeout requires both the timeout parameter and ontimeout parameter to be set";h=w(Ta(c),"r",[]).sort();var p=w(Ta(c),"L",[]).sort(),r=[].concat(h),u=function(K,Y){if(n)return 0;t.clearTimeout(l);p.push.apply(p,y);var Z=((C||{}).config||{}).update;Z?Z(e):e&&w(G,"cu",[]).push(e);if(Y){Za("me0",K,r);try{wb(Y,c,k)}finally{Za("me1",K,r)}}return 1}; 0<f&&(l=t.setTimeout(function(){n=!0;g()},f));var y=qb(a,p);if(y.length){y=qb(a,h);var E=w(G,"CP",[]),I=E.length;E[I]=function(K){if(!K)return 0;Za("ml1",y,r);var Y=function(qa){E[I]=null;u(y,K)&&Sa(function(){d&&d();qa()})},Z=function(){var qa=E[I+1];qa&&qa()};0<I&&E[I-1]?E[I]=function(){Y(Z)}:Y(Z)};if(y.length){var Ia="loaded_"+G.I++;C[Ia]=function(K){E[I](K);C[Ia]=null};a=ib(c,y,"gapi."+Ia,h);h.push.apply(h,y);Za("ml0",y,r);b.sync||t.___gapisync?tb(a):sb(a)}else E[I](ja)}else u(y)&&d&&d()};var vb=function(a,b){if(G.hee&&0<G.hel)try{return a()}catch(c){b&&b(c),G.hel--,M("debug_error",function(){try{window.___jsl.hefn(c)}catch(d){throw c;}})}else try{return a()}catch(c){throw b&&b(c),c;}};C.load=function(a,b){return vb(function(){return M(a,b)})};var yb=function(a){var b=window.___jsl=window.___jsl||{};b[a]=b[a]||[];return b[a]},zb=function(a){var b=window.___jsl=window.___jsl||{};b.cfg=!a&&b.cfg||{};return b.cfg},Ab=function(a){return"object"===typeof a&&/\[native code\]/.test(a.push)},N=function(a,b,c){if(b&&"object"===typeof b)for(var d in b)!Object.prototype.hasOwnProperty.call(b,d)||c&&"___goc"===d&&"undefined"===typeof b[d]||(a[d]&&b[d]&&"object"===typeof a[d]&&"object"===typeof b[d]&&!Ab(a[d])&&!Ab(b[d])?N(a[d],b[d]):b[d]&&"object"=== typeof b[d]?(a[d]=Ab(b[d])?[]:{},N(a[d],b[d])):a[d]=b[d])},Bb=function(a){if(a&&!/^\s+$/.test(a)){for(;0==a.charCodeAt(a.length-1);)a=a.substring(0,a.length-1);try{var b=window.JSON.parse(a)}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ("+a+"\n)"))()}catch(c){}if("object"===typeof b)return b;try{b=(new Function("return ({"+a+"\n})"))()}catch(c){}return"object"===typeof b?b:{}}},Cb=function(a,b){var c={___goc:void 0};a.length&&a[a.length-1]&&Object.hasOwnProperty.call(a[a.length- 1],"___goc")&&"undefined"===typeof a[a.length-1].___goc&&(c=a.pop());N(c,b);a.push(c)},Db=function(a){zb(!0);var b=window.___gcfg,c=yb("cu"),d=window.___gu;b&&b!==d&&(Cb(c,b),window.___gu=b);b=yb("cu");var e=document.scripts||document.getElementsByTagName("script")||[];d=[];var f=[];f.push.apply(f,yb("us"));for(var g=0;g<e.length;++g)for(var h=e[g],k=0;k<f.length;++k)h.src&&0==h.src.indexOf(f[k])&&d.push(h);0==d.length&&0<e.length&&e[e.length-1].src&&d.push(e[e.length-1]);for(e=0;e<d.length;++e)d[e].getAttribute("gapi_processed")|| (d[e].setAttribute("gapi_processed",!0),(f=d[e])?(g=f.nodeType,f=3==g||4==g?f.nodeValue:f.textContent||f.innerText||f.innerHTML||""):f=void 0,(f=Bb(f))&&b.push(f));a&&Cb(c,a);d=yb("cd");a=0;for(b=d.length;a<b;++a)N(zb(),d[a],!0);d=yb("ci");a=0;for(b=d.length;a<b;++a)N(zb(),d[a],!0);a=0;for(b=c.length;a<b;++a)N(zb(),c[a],!0)},O=function(a){var b=zb();if(!a)return b;a=a.split("/");for(var c=0,d=a.length;b&&"object"===typeof b&&c<d;++c)b=b[a[c]];return c===a.length&&void 0!==b?b:void 0},Eb=function(a, b){var c;if("string"===typeof a){var d=c={};a=a.split("/");for(var e=0,f=a.length;e<f-1;++e){var g={};d=d[a[e]]=g}d[a[e]]=b}else c=a;Db(c)};var Fb=function(){var a=window.__GOOGLEAPIS;a&&(a.googleapis&&!a["googleapis.config"]&&(a["googleapis.config"]=a.googleapis),w(G,"ci",[]).push(a),window.__GOOGLEAPIS=void 0)};var Gb={callback:1,clientid:1,cookiepolicy:1,openidrealm:-1,includegrantedscopes:-1,requestvisibleactions:1,scope:1},Hb=!1,Ib=x(),Jb=function(){if(!Hb){for(var a=document.getElementsByTagName("meta"),b=0;b<a.length;++b){var c=a[b].name.toLowerCase();if(0==c.lastIndexOf("google-signin-",0)){c=c.substring(14);var d=a[b].content;Gb[c]&&d&&(Ib[c]=d)}}if(window.self!==window.top){a=document.location.toString();for(var e in Gb)0<Gb[e]&&(b=D(a,e,""))&&(Ib[e]=b)}Hb=!0}e=x();A(Ib,e);return e},Kb=function(a){return!!(a.clientid&& a.scope&&a.callback)};var Lb=window.console,Mb=function(a){Lb&&Lb.log&&Lb.log(a)};var Nb=function(){return!!G.oa},Ob=function(){};var P=w(G,"rw",x()),Pb=function(a){for(var b in P)a(P[b])},Qb=function(a,b){(a=P[a])&&a.state<b&&(a.state=b)};var Rb;var Sb=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/u\/(\d)\//,Tb=/^https?:\/\/(?:\w|[\-\.])+\.google\.(?:\w|[\-:\.])+(?:\/[^\?#]*)?\/b\/(\d{10,21})\//,Ub=function(a){var b=O("googleapis.config/sessionIndex");"string"===typeof b&&254<b.length&&(b=null);null==b&&(b=window.__X_GOOG_AUTHUSER);"string"===typeof b&&254<b.length&&(b=null);if(null==b){var c=window.google;c&&(b=c.authuser)}"string"===typeof b&&254<b.length&&(b=null);null==b&&(a=a||window.location.href,b=D(a,"authuser")|| null,null==b&&(b=(b=a.match(Sb))?b[1]:null));if(null==b)return null;b=String(b);254<b.length&&(b=null);return b},Vb=function(a){var b=O("googleapis.config/sessionDelegate");"string"===typeof b&&21<b.length&&(b=null);null==b&&(b=(a=(a||window.location.href).match(Tb))?a[1]:null);if(null==b)return null;b=String(b);21<b.length&&(b=null);return b};var Wb,Q,R=void 0,S=function(a){try{return m.JSON.parse.call(m.JSON,a)}catch(b){return!1}},T=function(a){return Object.prototype.toString.call(a)},Xb=T(0),Yb=T(new Date(0)),Zb=T(!0),$b=T(""),ac=T({}),bc=T([]),U=function(a,b){if(b)for(var c=0,d=b.length;c<d;++c)if(a===b[c])throw new TypeError("Converting circular structure to JSON");d=typeof a;if("undefined"!==d){c=Array.prototype.slice.call(b||[],0);c[c.length]=a;b=[];var e=T(a);if(null!=a&&"function"===typeof a.toJSON&&(Object.prototype.hasOwnProperty.call(a, "toJSON")||(e!==bc||a.constructor!==Array&&a.constructor!==Object)&&(e!==ac||a.constructor!==Array&&a.constructor!==Object)&&e!==$b&&e!==Xb&&e!==Zb&&e!==Yb))return U(a.toJSON.call(a),c);if(null==a)b[b.length]="null";else if(e===Xb)a=Number(a),isNaN(a)||isNaN(a-a)?a="null":-0===a&&0>1/a&&(a="-0"),b[b.length]=String(a);else if(e===Zb)b[b.length]=String(!!Number(a));else{if(e===Yb)return U(a.toISOString.call(a),c);if(e===bc&&T(a.length)===Xb){b[b.length]="[";var f=0;for(d=Number(a.length)>>0;f<d;++f)f&& (b[b.length]=","),b[b.length]=U(a[f],c)||"null";b[b.length]="]"}else if(e==$b&&T(a.length)===Xb){b[b.length]='"';f=0;for(c=Number(a.length)>>0;f<c;++f)d=String.prototype.charAt.call(a,f),e=String.prototype.charCodeAt.call(a,f),b[b.length]="\b"===d?"\\b":"\f"===d?"\\f":"\n"===d?"\\n":"\r"===d?"\\r":"\t"===d?"\\t":"\\"===d||'"'===d?"\\"+d:31>=e?"\\u"+(e+65536).toString(16).substr(1):32<=e&&65535>=e?d:"\ufffd";b[b.length]='"'}else if("object"===d){b[b.length]="{";d=0;for(f in a)Object.prototype.hasOwnProperty.call(a, f)&&(e=U(a[f],c),void 0!==e&&(d++&&(b[b.length]=","),b[b.length]=U(f),b[b.length]=":",b[b.length]=e));b[b.length]="}"}else return}return b.join("")}},cc=/[\0-\x07\x0b\x0e-\x1f]/,dc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*[\0-\x1f]/,ec=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\[^\\\/"bfnrtu]/,fc=/^([^"]*"([^\\"]|\\.)*")*[^"]*"([^"\\]|\\.)*\\u([0-9a-fA-F]{0,3}[^0-9a-fA-F])/,gc=/"([^\0-\x1f\\"]|\\[\\\/"bfnrt]|\\u[0-9a-fA-F]{4})*"/g,hc=/-?(0|[1-9][0-9]*)(\.[0-9]+)?([eE][-+]?[0-9]+)?/g,ic=/[ \t\n\r]+/g, jc=/[^"]:/,kc=/""/g,lc=/true|false|null/g,mc=/00/,nc=/[\{]([^0\}]|0[^:])/,oc=/(^|\[)[,:]|[,:](\]|\}|[,:]|$)/,pc=/[^\[,:][\[\{]/,qc=/^(\{|\}|\[|\]|,|:|0)+/,rc=/\u2028/g,sc=/\u2029/g,tc=function(a){a=String(a);if(cc.test(a)||dc.test(a)||ec.test(a)||fc.test(a))return!1;var b=a.replace(gc,'""');b=b.replace(hc,"0");b=b.replace(ic,"");if(jc.test(b))return!1;b=b.replace(kc,"0");b=b.replace(lc,"0");if(mc.test(b)||nc.test(b)||oc.test(b)||pc.test(b)||!b||(b=b.replace(qc,"")))return!1;a=a.replace(rc,"\\u2028").replace(sc, "\\u2029");b=void 0;try{b=R?[S(a)]:eval("(function (var_args) {\n return Array.prototype.slice.call(arguments, 0);\n})(\n"+a+"\n)")}catch(c){return!1}return b&&1===b.length?b[0]:!1},uc=function(){var a=((m.document||{}).scripts||[]).length;if((void 0===Wb||void 0===R||Q!==a)&&-1!==Q){Wb=R=!1;Q=-1;try{try{R=!!m.JSON&&'{"a":[3,true,"1970-01-01T00:00:00.000Z"]}'===m.JSON.stringify.call(m.JSON,{a:[3,!0,new Date(0)],c:function(){}})&&!0===S("true")&&3===S('[{"a":3}]')[0].a}catch(b){}Wb=R&&!S("[00]")&& !S('"\u0007"')&&!S('"\\0"')&&!S('"\\v"')}finally{Q=a}}},vc=function(a){if(-1===Q)return!1;uc();return(Wb?S:tc)(a)},wc=function(a){if(-1!==Q)return uc(),R?m.JSON.stringify.call(m.JSON,a):U(a)},xc=!Date.prototype.toISOString||"function"!==typeof Date.prototype.toISOString||"1970-01-01T00:00:00.000Z"!==(new Date(0)).toISOString(),yc=function(){var a=Date.prototype.getUTCFullYear.call(this);return[0>a?"-"+String(1E6-a).substr(1):9999>=a?String(1E4+a).substr(1):"+"+String(1E6+a).substr(1),"-",String(101+ Date.prototype.getUTCMonth.call(this)).substr(1),"-",String(100+Date.prototype.getUTCDate.call(this)).substr(1),"T",String(100+Date.prototype.getUTCHours.call(this)).substr(1),":",String(100+Date.prototype.getUTCMinutes.call(this)).substr(1),":",String(100+Date.prototype.getUTCSeconds.call(this)).substr(1),".",String(1E3+Date.prototype.getUTCMilliseconds.call(this)).substr(1),"Z"].join("")};Date.prototype.toISOString=xc?yc:Date.prototype.toISOString;var zc=function(){this.l=-1};var Ac=function(){this.l=64;this.b=[];this.G=[];this.aa=[];this.C=[];this.C[0]=128;for(var a=1;a<this.l;++a)this.C[a]=0;this.D=this.v=0;this.reset()};da(Ac,zc);Ac.prototype.reset=function(){this.b[0]=1732584193;this.b[1]=4023233417;this.b[2]=2562383102;this.b[3]=271733878;this.b[4]=3285377520;this.D=this.v=0}; var Bc=function(a,b,c){c||(c=0);var d=a.aa;if("string"==typeof b)for(var e=0;16>e;e++)d[e]=b.charCodeAt(c)<<24|b.charCodeAt(c+1)<<16|b.charCodeAt(c+2)<<8|b.charCodeAt(c+3),c+=4;else for(e=0;16>e;e++)d[e]=b[c]<<24|b[c+1]<<16|b[c+2]<<8|b[c+3],c+=4;for(e=16;80>e;e++){var f=d[e-3]^d[e-8]^d[e-14]^d[e-16];d[e]=(f<<1|f>>>31)&4294967295}b=a.b[0];c=a.b[1];var g=a.b[2],h=a.b[3],k=a.b[4];for(e=0;80>e;e++){if(40>e)if(20>e){f=h^c&(g^h);var l=1518500249}else f=c^g^h,l=1859775393;else 60>e?(f=c&g|h&(c|g),l=2400959708): (f=c^g^h,l=3395469782);f=(b<<5|b>>>27)+f+k+l+d[e]&4294967295;k=h;h=g;g=(c<<30|c>>>2)&4294967295;c=b;b=f}a.b[0]=a.b[0]+b&4294967295;a.b[1]=a.b[1]+c&4294967295;a.b[2]=a.b[2]+g&4294967295;a.b[3]=a.b[3]+h&4294967295;a.b[4]=a.b[4]+k&4294967295}; Ac.prototype.update=function(a,b){if(null!=a){void 0===b&&(b=a.length);for(var c=b-this.l,d=0,e=this.G,f=this.v;d<b;){if(0==f)for(;d<=c;)Bc(this,a,d),d+=this.l;if("string"==typeof a)for(;d<b;){if(e[f]=a.charCodeAt(d),++f,++d,f==this.l){Bc(this,e);f=0;break}}else for(;d<b;)if(e[f]=a[d],++f,++d,f==this.l){Bc(this,e);f=0;break}}this.v=f;this.D+=b}}; Ac.prototype.digest=function(){var a=[],b=8*this.D;56>this.v?this.update(this.C,56-this.v):this.update(this.C,this.l-(this.v-56));for(var c=this.l-1;56<=c;c--)this.G[c]=b&255,b/=256;Bc(this,this.G);for(c=b=0;5>c;c++)for(var d=24;0<=d;d-=8)a[b]=this.b[c]>>d&255,++b;return a};var Cc=function(){this.K=new Ac};Cc.prototype.reset=function(){this.K.reset()};var Dc=t.crypto,Ec=!1,Fc=0,Gc=0,Hc=1,Ic=0,Jc="",Kc=function(a){a=a||t.event;var b=a.screenX+a.clientX<<16;b+=a.screenY+a.clientY;b*=(new Date).getTime()%1E6;Hc=Hc*b%Ic;0<Fc&&++Gc==Fc&&Ha("mousemove",Kc,"remove","de")},Lc=function(a){var b=new Cc;a=unescape(encodeURIComponent(a));for(var c=[],d=0,e=a.length;d<e;++d)c.push(a.charCodeAt(d));b.K.update(c);b=b.K.digest();a="";for(c=0;c<b.length;c++)a+="0123456789ABCDEF".charAt(Math.floor(b[c]/16))+"0123456789ABCDEF".charAt(b[c]%16);return a}; Ec=!!Dc&&"function"==typeof Dc.getRandomValues;Ec||(Ic=1E6*(screen.width*screen.width+screen.height),Jc=Lc(v.cookie+"|"+v.location+"|"+(new Date).getTime()+"|"+Math.random()),Fc=O("random/maxObserveMousemove")||0,0!=Fc&&Ha("mousemove",Kc,"add","at"));var Mc=function(){var a=Hc;a+=parseInt(Jc.substr(0,20),16);Jc=Lc(Jc);return a/(Ic+Math.pow(16,20))},Nc=function(){var a=new t.Uint32Array(1);Dc.getRandomValues(a);return Number("0."+a[0])};var Oc=function(){var a=G.onl;if(!a){a=x();G.onl=a;var b=x();a.e=function(c){var d=b[c];d&&(delete b[c],d())};a.a=function(c,d){b[c]=d};a.r=function(c){delete b[c]}}return a},Pc=function(a,b){b=b.onload;return"function"===typeof b?(Oc().a(a,b),b):null},Qc=function(a){B(/^\w+$/.test(a),"Unsupported id - "+a);Oc();return'onload="window.___jsl.onl.e(&#34;'+a+'&#34;)"'},Rc=function(a){Oc().r(a)};var Sc={allowtransparency:"true",frameborder:"0",hspace:"0",marginheight:"0",marginwidth:"0",scrolling:"no",style:"",tabindex:"0",vspace:"0",width:"100%"},Tc={allowtransparency:!0,onload:!0},Uc=0,Vc=function(a){B(!a||Ga.test(a),"Illegal url for new iframe - "+a)},Wc=function(a,b,c,d,e){Vc(c.src);var f,g=Pc(d,c),h=g?Qc(d):"";try{document.all&&(f=a.createElement('<iframe frameborder="'+ta(String(c.frameborder))+'" scrolling="'+ta(String(c.scrolling))+'" '+h+' name="'+ta(String(c.name))+'"/>'))}catch(l){}finally{f|| (f=a.createElement("iframe"),g&&(f.onload=function(){f.onload=null;g.call(this)},Rc(d)))}f.setAttribute("ng-non-bindable","");for(var k in c)a=c[k],"style"===k&&"object"===typeof a?A(a,f.style):Tc[k]||f.setAttribute(k,String(a));(k=e&&e.beforeNode||null)||e&&e.dontclear||Na(b);b.insertBefore(f,k);f=k?k.previousSibling:b.lastChild;c.allowtransparency&&(f.allowTransparency=!0);return f};var Xc=/^:[\w]+$/,Yc=/:([a-zA-Z_]+):/g,Zc=function(){var a=Ub()||"0",b=Vb();var c=Ub(void 0)||a;var d=Vb(void 0),e="";c&&(e+="u/"+encodeURIComponent(String(c))+"/");d&&(e+="b/"+encodeURIComponent(String(d))+"/");c=e||null;(e=(d=!1===O("isLoggedIn"))?"_/im/":"")&&(c="");var f=O("iframes/:socialhost:"),g=O("iframes/:im_socialhost:");return Rb={socialhost:f,ctx_socialhost:d?g:f,session_index:a,session_delegate:b,session_prefix:c,im_prefix:e}},$c=function(a,b){return Zc()[b]||""},ad=function(a){return function(b, c){return a?Zc()[c]||a[c]||"":Zc()[c]||""}};var bd=function(a){var b;a.match(/^https?%3A/i)&&(b=decodeURIComponent(a));return Fa(document,b?b:a)},cd=function(a){a=a||"canonical";for(var b=document.getElementsByTagName("link"),c=0,d=b.length;c<d;c++){var e=b[c],f=e.getAttribute("rel");if(f&&f.toLowerCase()==a&&(e=e.getAttribute("href"))&&(e=bd(e))&&null!=e.match(/^https?:\/\/[\w\-_\.]+/i))return e}return window.location.href};var dd={se:"0"},ed={post:!0},fd={style:"position:absolute;top:-10000px;width:450px;margin:0px;border-style:none"},gd="onPlusOne _ready _close _open _resizeMe _renderstart oncircled drefresh erefresh".split(" "),hd=w(G,"WI",x()),id=function(a,b,c){var d;var e={};var f=d=a;"plus"==a&&b.action&&(d=a+"_"+b.action,f=a+"/"+b.action);(d=O("iframes/"+d+"/url"))||(d=":im_socialhost:/:session_prefix::im_prefix:_/widget/render/"+f+"?usegapi=1");for(var g in dd)e[g]=g+"/"+(b[g]||dd[g])+"/";e=Fa(v,d.replace(Yc, ad(e)));g="iframes/"+a+"/params/";f={};A(b,f);(d=O("lang")||O("gwidget/lang"))&&(f.hl=d);ed[a]||(f.origin=window.location.origin||window.location.protocol+"//"+window.location.host);f.exp=O(g+"exp");if(g=O(g+"location"))for(d=0;d<g.length;d++){var h=g[d];f[h]=t.location[h]}switch(a){case "plus":case "follow":g=f.href;d=b.action?void 0:"publisher";g=(g="string"==typeof g?g:void 0)?bd(g):cd(d);f.url=g;delete f.href;break;case "plusone":g=(g=b.href)?bd(g):cd();f.url=g;g=b.db;d=O();null==g&&d&&(g=d.db, null==g&&(g=d.gwidget&&d.gwidget.db));f.db=g||void 0;g=b.ecp;d=O();null==g&&d&&(g=d.ecp,null==g&&(g=d.gwidget&&d.gwidget.ecp));f.ecp=g||void 0;delete f.href;break;case "signin":f.url=cd()}G.ILI&&(f.iloader="1");delete f["data-onload"];delete f.rd;for(var k in dd)f[k]&&delete f[k];f.gsrc=O("iframes/:source:");k=O("inline/css");"undefined"!==typeof k&&0<c&&k>=c&&(f.ic="1");k=/^#|^fr-/;c={};for(var l in f)z(f,l)&&k.test(l)&&(c[l.replace(k,"")]=f[l],delete f[l]);l="q"==O("iframes/"+a+"/params/si")?f: c;k=Jb();for(var n in k)!z(k,n)||z(f,n)||z(c,n)||(l[n]=k[n]);n=[].concat(gd);(l=O("iframes/"+a+"/methods"))&&"object"===typeof l&&ka.test(l.push)&&(n=n.concat(l));for(var p in b)z(b,p)&&/^on/.test(p)&&("plus"!=a||"onconnect"!=p)&&(n.push(p),delete f[p]);delete f.callback;c._methods=n.join(",");return Da(e,f,c)},jd=["style","data-gapiscan"],ld=function(a){for(var b=x(),c=0!=a.nodeName.toLowerCase().indexOf("g:"),d=0,e=a.attributes.length;d<e;d++){var f=a.attributes[d],g=f.name,h=f.value;0<=la.call(jd, g)||c&&0!=g.indexOf("data-")||"null"===h||"specified"in f&&!f.specified||(c&&(g=g.substr(5)),b[g.toLowerCase()]=h)}a=a.style;(c=kd(a&&a.height))&&(b.height=String(c));(a=kd(a&&a.width))&&(b.width=String(a));return b},kd=function(a){var b=void 0;"number"===typeof a?b=a:"string"===typeof a&&(b=parseInt(a,10));return b},nd=function(){var a=G.drw;Pb(function(b){if(a!==b.id&&4!=b.state&&"share"!=b.type){var c=b.id,d=b.type,e=b.url;b=b.userParams;var f=v.getElementById(c);if(f){var g=id(d,b,0);g?(f=f.parentNode, e.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")!==g.replace(/#.*/,"").replace(/(\?|&)ic=1/,"")&&(b.dontclear=!0,b.rd=!0,b.ri=!0,b.type=d,md(f,b),(d=P[f.lastChild.id])&&(d.oid=c),Qb(c,4))):delete P[c]}else delete P[c]}})};var od,pd,V,qd,rd,sd=/(?:^|\s)g-((\S)*)(?:$|\s)/,td={plusone:!0,autocomplete:!0,profile:!0,signin:!0,signin2:!0};od=w(G,"SW",x());pd=w(G,"SA",x());V=w(G,"SM",x());qd=w(G,"FW",[]);rd=null; var vd=function(a,b){ud(void 0,!1,a,b)},ud=function(a,b,c,d){H("ps0",!0);c=("string"===typeof c?document.getElementById(c):c)||v;var e=v.documentMode;if(c.querySelectorAll&&(!e||8<e)){e=d?[d]:ua(od).concat(ua(pd)).concat(ua(V));for(var f=[],g=0;g<e.length;g++){var h=e[g];f.push(".g-"+h,"g\\:"+h)}e=c.querySelectorAll(f.join(","))}else e=c.getElementsByTagName("*");c=x();for(f=0;f<e.length;f++){g=e[f];var k=g;h=d;var l=k.nodeName.toLowerCase(),n=void 0;if(k.getAttribute("data-gapiscan"))h=null;else{var p= l.indexOf("g:");0==p?n=l.substr(2):(p=(p=String(k.className||k.getAttribute("class")))&&sd.exec(p))&&(n=p[1]);h=!n||!(od[n]||pd[n]||V[n])||h&&n!==h?null:n}h&&(td[h]||0==g.nodeName.toLowerCase().indexOf("g:")||0!=ua(ld(g)).length)&&(g.setAttribute("data-gapiscan",!0),w(c,h,[]).push(g))}if(b)for(var r in c)for(b=c[r],d=0;d<b.length;d++)b[d].setAttribute("data-onload",!0);for(var u in c)qd.push(u);H("ps1",!0);if((r=qd.join(":"))||a)try{C.load(r,a)}catch(E){Mb(E);return}if(wd(rd||{}))for(var y in c){a= c[y];u=0;for(b=a.length;u<b;u++)a[u].removeAttribute("data-gapiscan");xd(y)}else{d=[];for(y in c)for(a=c[y],u=0,b=a.length;u<b;u++)e=a[u],yd(y,e,ld(e),d,b);zd(r,d)}},Ad=function(a){var b=w(C,a,{});b.go||(b.go=function(c){return vd(c,a)},b.render=function(c,d){d=d||{};d.type=a;return md(c,d)})},Bd=function(a){od[a]=!0},Cd=function(a){pd[a]=!0},Dd=function(a){V[a]=!0};var xd=function(a,b){var c=Ra(a);b&&c?(c(b),(c=b.iframeNode)&&c.setAttribute("data-gapiattached",!0)):C.load(a,function(){var d=Ra(a),e=b&&b.iframeNode,f=b&&b.userParams;e&&d?(d(b),e.setAttribute("data-gapiattached",!0)):(d=C[a].go,"signin2"==a?d(e,f):d(e&&e.parentNode,f))})},wd=function(){return!1},zd=function(){},yd=function(a,b,c,d,e,f,g){switch(Ed(b,a,f)){case 0:a=V[a]?a+"_annotation":a;d={};d.iframeNode=b;d.userParams=c;xd(a,d);break;case 1:if(b.parentNode){for(var h in c){if(f=z(c,h))f=c[h], f=!!f&&"object"===typeof f&&(!f.toString||f.toString===Object.prototype.toString||f.toString===Array.prototype.toString);if(f)try{c[h]=wc(c[h])}catch(y){delete c[h]}}f=!0;c.dontclear&&(f=!1);delete c.dontclear;Ob();h=id(a,c,e);e=g||{};e.allowPost=1;e.attributes=fd;e.dontclear=!f;g={};g.userParams=c;g.url=h;g.type=a;if(c.rd)var k=b;else k=document.createElement("div"),b.setAttribute("data-gapistub",!0),k.style.cssText="position:absolute;width:450px;left:-10000px;",b.parentNode.insertBefore(k,b);g.siteElement= k;k.id||(b=k,w(hd,a,0),f="___"+a+"_"+hd[a]++,b.id=f);b=x();b[">type"]=a;A(c,b);f=h;c=k;h=e||{};b=h.attributes||{};B(!(h.allowPost||h.forcePost)||!b.onload,"onload is not supported by post iframe (allowPost or forcePost)");e=b=f;Xc.test(b)&&(e=O("iframes/"+e.substring(1)+"/url"),B(!!e,"Unknown iframe url config for - "+b));f=Fa(v,e.replace(Yc,$c));b=c.ownerDocument||v;k=0;do e=h.id||["I",Uc++,"_",(new Date).getTime()].join("");while(b.getElementById(e)&&5>++k);B(5>k,"Error creating iframe id");k={}; var l={};b.documentMode&&9>b.documentMode&&(k.hostiemode=b.documentMode);A(h.queryParams||{},k);A(h.fragmentParams||{},l);var n=h.pfname;var p=x();O("iframes/dropLegacyIdParam")||(p.id=e);p._gfid=e;p.parent=b.location.protocol+"//"+b.location.host;var r=D(b.location.href,"parent");n=n||"";!n&&r&&(r=D(b.location.href,"_gfid","")||D(b.location.href,"id",""),n=D(b.location.href,"pfname",""),n=r?n+"/"+r:"");n||(r=vc(D(b.location.href,"jcp","")))&&"object"==typeof r&&(n=(n=r.id)?r.pfname+"/"+n:"");p.pfname= n;h.connectWithJsonParam&&(r={},r.jcp=wc(p),p=r);r=D(f,"rpctoken")||k.rpctoken||l.rpctoken;r||(r=h.rpctoken||String(Math.round(1E8*(Ec?Nc():Mc()))),p.rpctoken=r);h.rpctoken=r;A(p,h.connectWithQueryParams?k:l);r=b.location.href;p=x();(n=D(r,"_bsh",G.bsh))&&(p._bsh=n);(r=Pa(r))&&(p.jsh=r);h.hintInFragment?A(p,l):A(p,k);f=Da(f,k,l,h.paramsSerializer);l=x();A(Sc,l);A(h.attributes,l);l.name=l.id=e;l.src=f;h.eurl=f;k=h||{};p=!!k.allowPost;if(k.forcePost||p&&2E3<f.length){k=F(f);l.src="";h.dropDataPostorigin|| (l["data-postorigin"]=f);f=Wc(b,c,l,e);if(-1!=navigator.userAgent.indexOf("WebKit")){var u=f.contentWindow.document;u.open();l=u.createElement("div");p={};r=e+"_inner";p.name=r;p.src="";p.style="display:none";Wc(b,l,p,r,h)}l=(h=k.query[0])?h.split("&"):[];h=[];for(p=0;p<l.length;p++)r=l[p].split("=",2),h.push([decodeURIComponent(r[0]),decodeURIComponent(r[1])]);k.query=[];l=Ba(k);B(Ga.test(l),"Invalid URL: "+l);k=b.createElement("form");k.action=l;k.method="POST";k.target=e;k.style.display="none"; for(e=0;e<h.length;e++)l=b.createElement("input"),l.type="hidden",l.name=h[e][0],l.value=h[e][1],k.appendChild(l);c.appendChild(k);k.submit();k.parentNode.removeChild(k);u&&u.close();u=f}else u=Wc(b,c,l,e,h);g.iframeNode=u;g.id=u.getAttribute("id");u=g.id;c=x();c.id=u;c.userParams=g.userParams;c.url=g.url;c.type=g.type;c.state=1;P[u]=c;u=g}else u=null;u&&((g=u.id)&&d.push(g),xd(a,u))}},Ed=function(a,b,c){if(a&&1===a.nodeType&&b){if(c)return 1;if(V[b]){if(Oa[a.nodeName.toLowerCase()])return(a=a.innerHTML)&& a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")?0:1}else{if(pd[b])return 0;if(od[b])return 1}}return null},md=function(a,b){var c=b.type;delete b.type;var d=("string"===typeof a?document.getElementById(a):a)||void 0;if(d){a={};for(var e in b)z(b,e)&&(a[e.toLowerCase()]=b[e]);a.rd=1;(b=!!a.ri)&&delete a.ri;e=[];yd(c,d,a,e,0,b,void 0);zd(c,e)}else Mb("string"==="gapi."+c+".render: missing element "+typeof a?a:"")};w(C,"platform",{}).go=vd;wd=function(a){for(var b=["_c","jsl","h"],c=0;c<b.length&&a;c++)a=a[b[c]];b=Pa(ia.href);return!a||0!=a.indexOf("n;")&&0!=b.indexOf("n;")&&a!==b};zd=function(a,b){Fd(a,b)};var Ka=function(a){ud(a,!0)},Gd=function(a,b){b=b||[];for(var c=0;c<b.length;++c)a(b[c]);for(a=0;a<b.length;a++)Ad(b[a])}; J.push(["platform",function(a,b,c){rd=c;b&&qd.push(b);Gd(Bd,a);Gd(Cd,c._c.annotation);Gd(Dd,c._c.bimodal);Fb();Db();if("explicit"!=O("parsetags")){Qa(a);Kb(Jb())&&!O("disableRealtimeCallback")&&Ob();if(c&&(a=c.callback)){var d=va(a);delete c.callback}Ma(function(){Ka(d)})}}]);C._pl=!0;var Hd=function(a){a=(a=P[a])?a.oid:void 0;if(a){var b=v.getElementById(a);b&&b.parentNode.removeChild(b);delete P[a];Hd(a)}};var Id=/^\{h:'/,Jd=/^!_/,Kd="",Fd=function(a,b){function c(){Ha("message",d,"remove","de")}function d(f){var g=f.data,h=f.origin;if(Ld(g,b)){var k=e;e=!1;k&&H("rqe");Md(a,function(){k&&H("rqd");c();for(var l=w(G,"RPMQ",[]),n=0;n<l.length;n++)l[n]({data:g,origin:h})})}}if(0!==b.length){Kd=D(ia.href,"pfname","");var e=!0;Ha("message",d,"add","at");M(a,c)}},Ld=function(a,b){a=String(a);if(Id.test(a))return!0;var c=!1;Jd.test(a)&&(c=!0,a=a.substr(2));if(!/^\{/.test(a))return!1;var d=vc(a);if(!d)return!1; a=d.f;if(d.s&&a&&-1!=la.call(b,a)){if("_renderstart"===d.s||d.s===Kd+"/"+a+"::_renderstart")if(d=d.a&&d.a[c?0:1],b=v.getElementById(a),Qb(a,2),d&&b&&d.width&&d.height){a:{c=b.parentNode;a=d||{};if(Nb()){var e=b.id;if(e){d=(d=P[e])?d.state:void 0;if(1===d||4===d)break a;Hd(e)}}(d=c.nextSibling)&&d.getAttribute&&d.getAttribute("data-gapistub")&&(c.parentNode.removeChild(d),c.style.cssText="");d=a.width;var f=a.height,g=c.style;g.textIndent="0";g.margin="0";g.padding="0";g.background="transparent";g.borderStyle= "none";g.cssFloat="none";g.styleFloat="none";g.lineHeight="normal";g.fontSize="1px";g.verticalAlign="baseline";c=c.style;c.display="inline-block";g=b.style;g.position="static";g.left="0";g.top="0";g.visibility="visible";d&&(c.width=g.width=d+"px");f&&(c.height=g.height=f+"px");a.verticalAlign&&(c.verticalAlign=a.verticalAlign);e&&Qb(e,3)}b["data-csi-wdt"]=(new Date).getTime()}return!0}return!1},Md=function(a,b){M(a,b)};var Nd=function(a,b){this.J=a;a=b||{};this.ca=Number(a.maxAge)||0;this.O=a.domain;this.S=a.path;this.da=!!a.secure},Od=/^[-+/_=.:|%&a-zA-Z0-9@]*$/,Pd=/^[A-Z_][A-Z0-9_]{0,63}$/;Nd.prototype.read=function(){for(var a=this.J+"=",b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c];if(0==d.indexOf(a))return d.substr(a.length)}}; Nd.prototype.write=function(a,b){if(!Pd.test(this.J))throw"Invalid cookie name";if(!Od.test(a))throw"Invalid cookie value";a=this.J+"="+a;this.O&&(a+=";domain="+this.O);this.S&&(a+=";path="+this.S);b="number"===typeof b?b:this.ca;if(0<=b){var c=new Date;c.setSeconds(c.getSeconds()+b);a+=";expires="+c.toUTCString()}this.da&&(a+=";secure");document.cookie=a;return!0};Nd.prototype.clear=function(){this.write("",0)}; Nd.iterate=function(a){for(var b=document.cookie.split(/;\s*/),c=0;c<b.length;++c){var d=b[c].split("="),e=d.shift();a(e,d.join("="))}};var Qd=function(a){this.B=a},W={};Qd.prototype.read=function(){if(W.hasOwnProperty(this.B))return W[this.B]};Qd.prototype.write=function(a){W[this.B]=a;return!0};Qd.prototype.clear=function(){delete W[this.B]};Qd.iterate=function(a){for(var b in W)W.hasOwnProperty(b)&&a(b,W[b])};var Rd="https:"===window.location.protocol,Sd=Rd||"http:"===window.location.protocol?Nd:Qd,Td=function(a){var b=a.substr(1),c="",d=window.location.hostname;if(""!==b){c=parseInt(b,10);if(isNaN(c))return null;b=d.split(".");if(b.length<c-1)return null;b.length==c-1&&(d="."+d)}else d="";return{j:"S"==a.charAt(0),domain:d,o:c}},Ud=function(){var a,b=null;Sd.iterate(function(c,d){0===c.indexOf("G_AUTHUSER_")&&(c=Td(c.substring(11)),!a||c.j&&!a.j||c.j==a.j&&c.o>a.o)&&(a=c,b=d)});return{ba:a,F:b}};var Vd=function(a){if(0!==a.indexOf("GCSC"))return null;var b={R:!1};a=a.substr(4);if(!a)return b;var c=a.charAt(0);a=a.substr(1);var d=a.lastIndexOf("_");if(-1==d)return b;var e=Td(a.substr(d+1));if(null==e)return b;a=a.substring(0,d);if("_"!==a.charAt(0))return b;d="E"===c&&e.j;return!d&&("U"!==c||e.j)||d&&!Rd?b:{R:!0,j:d,ga:a.substr(1),domain:e.domain,o:e.o}},Wd=function(a){if(!a)return[];a=a.split("=");return a[1]?a[1].split("|"):[]},Xd=function(a){a=a.split(":");return{clientId:a[0].split("=")[1], fa:Wd(a[1]),ia:Wd(a[2]),ha:Wd(a[3])}},Yd=function(){var a=Ud(),b=a.ba;a=a.F;if(null!==a){var c;Sd.iterate(function(f,g){(f=Vd(f))&&f.R&&f.j==b.j&&f.o==b.o&&(c=g)});if(c){var d=Xd(c),e=d&&d.fa[Number(a)];d=d&&d.clientId;if(e)return{F:a,ea:e,clientId:d}}}return null};var X=function(){this.N=Zd};X.prototype.w=0;X.prototype.L=2;X.prototype.N=null;X.prototype.H=!1;X.prototype.Z=function(){this.H||(this.w=0,this.H=!0,this.T())};X.prototype.T=function(){this.H&&(this.N()?this.w=this.L:this.w=Math.min(2*(this.w||this.L),120),window.setTimeout(ca(this.T,this),1E3*this.w))};for(var $d=0;64>$d;++$d);var ae=null;Nb=function(){return G.oa=!0};Ob=function(){G.oa=!0;var a=Yd();(a=a&&a.F)&&Eb("googleapis.config/sessionIndex",a);ae||(ae=w(G,"ss",new X));a=ae;a.Z&&a.Z()}; var Zd=function(){var a=Yd(),b=a&&a.ea||null,c=a&&a.clientId;M("auth",{callback:function(){var d=t.gapi.auth,e={client_id:c,session_state:b};d.checkSessionState(e,function(f){var g=e.session_state,h=O("isLoggedIn");f=O("debug/forceIm")?!1:g&&f||!g&&!f;if(h=h!=f)Eb("isLoggedIn",f),Ob(),nd(),f||((f=d.signOut)?f():(f=d.setToken)&&f(null));f=Jb();var k=O("savedUserState");g=d._guss(f.cookiepolicy);k=k!=g&&"undefined"!=typeof k;Eb("savedUserState",g);(h||k)&&Kb(f)&&!O("disableRealtimeCallback")&&d._pimf(f, !0)})}});return!0};H("bs0",!0,window.gapi._bs);H("bs1",!0);delete window.gapi._bs;}).call(this); gapi.load("",{callback:window["gapi_onload"],_c:{"jsl":{"ci":{"deviceType":"desktop","oauth-flow":{"authUrl":"https://accounts.google.com/o/oauth2/auth","proxyUrl":"https://accounts.google.com/o/oauth2/postmessageRelay","disableOpt":true,"idpIframeUrl":"https://accounts.google.com/o/oauth2/iframe","usegapi":false},"debug":{"reportExceptionRate":0.05,"forceIm":false,"rethrowException":false,"host":"https://apis.google.com"},"enableMultilogin":true,"googleapis.config":{"auth":{"useFirstPartyAuthV2":true}},"isPlusUser":false,"inline":{"css":1},"disableRealtimeCallback":false,"drive_share":{"skipInitCommand":true},"csi":{"rate":0.01},"client":{"cors":false},"isLoggedIn":true,"signInDeprecation":{"rate":0.0},"include_granted_scopes":true,"llang":"en","iframes":{"youtube":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/youtube?usegapi\u003d1","methods":["scroll","openwindow"]},"ytsubscribe":{"url":"https://www.youtube.com/subscribe_embed?usegapi\u003d1"},"plus_circle":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/plus/circle?usegapi\u003d1"},"plus_share":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/+1/sharebutton?plusShare\u003dtrue\u0026usegapi\u003d1"},"rbr_s":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/render/recobarsimplescroller"},":source:":"3p","playemm":{"url":"https://play.google.com/work/embedded/search?usegapi\u003d1\u0026usegapi\u003d1"},"savetoandroidpay":{"url":"https://pay.google.com/gp/v/widget/save"},"blogger":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/blogger?usegapi\u003d1","methods":["scroll","openwindow"]},"evwidget":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/events/widget?usegapi\u003d1"},"partnersbadge":{"url":"https://www.gstatic.com/partners/badge/templates/badge.html?usegapi\u003d1"},"dataconnector":{"url":"https://dataconnector.corp.google.com/:session_prefix:ui/widgetview?usegapi\u003d1"},"surveyoptin":{"url":"https://www.google.com/shopping/customerreviews/optin?usegapi\u003d1"},":socialhost:":"https://apis.google.com","shortlists":{"url":""},"hangout":{"url":"https://talkgadget.google.com/:session_prefix:talkgadget/_/widget"},"plus_followers":{"params":{"url":""},"url":":socialhost:/_/im/_/widget/render/plus/followers?usegapi\u003d1"},"post":{"params":{"url":""},"url":":socialhost:/:session_prefix::im_prefix:_/widget/render/post?usegapi\u003d1"},":gplus_url:":"https://plus.google.com","signin":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/signin?usegapi\u003d1","methods":["onauth"]},"rbr_i":{"params":{"url":""},"url":":socialhost:/:session_prefix::se:_/widget/render/recobarinvitation"},"donation":{"url":"https://onetoday.google.com/home/donationWidget?usegapi\u003d1"},"share":{"url":":socialhost:/:session_prefix::im_prefix:_/widget/render/share?usegapi\u003d1"},"plusone":{"params":{"count":"","size":"","url":""},"url":":socialhost:/:session_prefix::se:_/+1/fastbutton?usegapi\u003d1"},"comments":{"params":{"location":["search","hash"]},"url":":socialhost:/:session_prefix:_/widget/render/comments?usegapi\u003d1","methods":["scroll","openwindow"]},":im_socialhost:":"https://plus.googleapis.com","backdrop":{"url":"https://clients3.google.com/cast/chromecast/home/widget/backdrop?usegapi\u003d1"},"visibility":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/visibility?usegapi\u003d1"},"autocomplete":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/autocomplete"},"additnow":{"url":"https://apis.google.com/marketplace/button?usegapi\u003d1","methods":["launchurl"]},":signuphost:":"https://plus.google.com","ratingbadge":{"url":"https://www.google.com/shopping/customerreviews/badge?usegapi\u003d1"},"appcirclepicker":{"url":":socialhost:/:session_prefix:_/widget/render/appcirclepicker"},"follow":{"url":":socialhost:/:session_prefix:_/widget/render/follow?usegapi\u003d1"},"community":{"url":":ctx_socialhost:/:session_prefix::im_prefix:_/widget/render/community?usegapi\u003d1"},"sharetoclassroom":{"url":"https://www.gstatic.com/classroom/sharewidget/widget_stable.html?usegapi\u003d1"},"ytshare":{"params":{"url":""},"url":":socialhost:/:session_prefix:_/widget/render/ytshare?usegapi\u003d1"},"plus":{"url":":socialhost:/:session_prefix:_/widget/render/badge?usegapi\u003d1"},"family_creation":{"params":{"url":""},"url":"https://families.google.com/webcreation?usegapi\u003d1\u0026usegapi\u003d1"},"commentcount":{"url":":socialhost:/:session_prefix:_/widget/render/commentcount?usegapi\u003d1"},"configurator":{"url":":socialhost:/:session_prefix:_/plusbuttonconfigurator?usegapi\u003d1"},"zoomableimage":{"url":"https://ssl.gstatic.com/microscope/embed/"},"appfinder":{"url":"https://gsuite.google.com/:session_prefix:marketplace/appfinder?usegapi\u003d1"},"savetowallet":{"url":"https://pay.google.com/gp/v/widget/save"},"person":{"url":":socialhost:/:session_prefix:_/widget/render/person?usegapi\u003d1"},"savetodrive":{"url":"https://drive.google.com/savetodrivebutton?usegapi\u003d1","methods":["save"]},"page":{"url":":socialhost:/:session_prefix:_/widget/render/page?usegapi\u003d1"},"card":{"url":":socialhost:/:session_prefix:_/hovercard/card"}}},"h":"m;/_/scs/apps-static/_/js/k\u003doz.gapi.en.4CFxRrSvxq0.O/am\u003dwQE/d\u003d1/rs\u003dAGLTcCNk69adtZYbtfIwiKKtklVg1Iw-vg/m\u003d__features__","u":"https://apis.google.com/js/platform.js","hee":true,"fp":"63f6ff1402e22a9574616ad4524140870b22d8c8","dpo":false},"platform":["additnow","backdrop","blogger","comments","commentcount","community","donation","family_creation","follow","hangout","health","page","partnersbadge","person","playemm","playreview","plus","plusone","post","ratingbadge","savetoandroidpay","savetodrive","savetowallet","sharetoclassroom","shortlists","signin2","surveyoptin","visibility","youtube","ytsubscribe","zoomableimage"],"fp":"63f6ff1402e22a9574616ad4524140870b22d8c8","annotation":["interactivepost","recobar","signin2","autocomplete","profile"],"bimodal":["signin","share"]}});
718.016129
6,110
0.629288
b42bab88c3e1ff7c9cbb5b282cad97ce4d202854
547
js
JavaScript
amazon/amz-wishlist-title.user.js
exterrestris/userscripts
52202f06b064c9f9d6d331c4d7df9780e0e60d24
[ "CC0-1.0" ]
null
null
null
amazon/amz-wishlist-title.user.js
exterrestris/userscripts
52202f06b064c9f9d6d331c4d7df9780e0e60d24
[ "CC0-1.0" ]
null
null
null
amazon/amz-wishlist-title.user.js
exterrestris/userscripts
52202f06b064c9f9d6d331c4d7df9780e0e60d24
[ "CC0-1.0" ]
null
null
null
// ==UserScript== // @name Amazon Wish List Name in Page Title // @namespace https://github.com/exterrestris // @version 0.3.0 // @description Show the name of your Amazon Wish List in the page title to identify it // @author You // @match https://www.amazon.co.uk/hz/wishlist/* // @match https://www.amazon.com/hz/wishlist/* // @grant none // ==/UserScript== (function() { 'use strict'; document.title += ': ' + document.querySelector('#profile-list-name').innerText + ' Wish List'; })();
34.1875
99
0.606947
b42c7e755e5494ed70c5799fef7c964abba071b5
1,320
js
JavaScript
src/components/Auth/styles.js
linkwithabhay/todo-app-client
c5eec50ba85999ec53dedcb047c78d6d4835ebb5
[ "MIT" ]
null
null
null
src/components/Auth/styles.js
linkwithabhay/todo-app-client
c5eec50ba85999ec53dedcb047c78d6d4835ebb5
[ "MIT" ]
null
null
null
src/components/Auth/styles.js
linkwithabhay/todo-app-client
c5eec50ba85999ec53dedcb047c78d6d4835ebb5
[ "MIT" ]
null
null
null
import { makeStyles } from "@material-ui/core/styles"; export default makeStyles((theme) => ({ container: { display: "flex", alignItems: "center", justifyContent: "center", minHeight: "100vh", maxWidth: "480px", [theme.breakpoints.down("xs")]: { width: "100%", padding: "0", margin: "0", maxWidth: "100%", }, }, paper: { display: "flex", flexDirection: "column", alignItems: "center", padding: theme.spacing(6), [theme.breakpoints.down("xs")]: { width: "100%", minHeight: "100vh", }, }, root: { "& .MuiTextField-root": { margin: theme.spacing(1), }, }, avatar: { margin: theme.spacing(1), width: theme.spacing(7), height: theme.spacing(7), backgroundColor: theme.palette.secondary.main, }, form: { width: "100%", // Fix IE 11 issue. marginTop: theme.spacing(3), }, submit: { padding: theme.spacing(7, 0), }, button: { textTransform: "none", "& span a": { textDecoration: "none", }, }, snackbar: { zIndex: theme.zIndex.tooltip + 2, [theme.breakpoints.down("md")]: { margin: theme.spacing(3, 2), }, }, backdrop: { zIndex: theme.zIndex.tooltip + 1, }, googleButton: { marginBottom: theme.spacing(2), }, }));
20.625
54
0.550758
b42cddaf93320fe8ec6ea6304faf087a8588502a
439
js
JavaScript
lib/routers/default.js
smalldata-industries/starling-api
d417daf529cb0290b7a77450b6c8883102004be0
[ "MIT" ]
14
2020-02-20T18:59:45.000Z
2021-12-19T18:43:03.000Z
lib/routers/default.js
smalldata-industries/starling-api
d417daf529cb0290b7a77450b6c8883102004be0
[ "MIT" ]
5
2020-03-18T14:23:25.000Z
2022-01-22T10:41:58.000Z
lib/routers/default.js
smalldata-industries/starling-api
d417daf529cb0290b7a77450b6c8883102004be0
[ "MIT" ]
1
2020-06-12T11:14:23.000Z
2020-06-12T11:14:23.000Z
const express = require('express'); const bodyParser = require('body-parser'); const cors = require('cors'); const DefaultRouter = function() { const router = new express.Router(); router.use(cors()); router.use(bodyParser.urlencoded({ extended: true })); router.use(bodyParser.json()); router.use(bodyParser.json({ limit: '1mb' })); router.use(express.static('public')); return router; }; module.exports = DefaultRouter;
25.823529
56
0.694761
b42d66ea0bcf798d4a194892aead3b9ac4a8cd3b
66,746
js
JavaScript
js-test-suite/testsuite/7636c6e05eb29a0853e11bbbc1fd0777.js
hao-wang/Montage
d1c98ec7dbe20d0449f0d02694930cf1f69a5cea
[ "MIT" ]
16
2020-03-23T12:53:10.000Z
2021-10-11T02:31:50.000Z
js-test-suite/testsuite/7636c6e05eb29a0853e11bbbc1fd0777.js
hao-wang/Montage
d1c98ec7dbe20d0449f0d02694930cf1f69a5cea
[ "MIT" ]
null
null
null
js-test-suite/testsuite/7636c6e05eb29a0853e11bbbc1fd0777.js
hao-wang/Montage
d1c98ec7dbe20d0449f0d02694930cf1f69a5cea
[ "MIT" ]
1
2020-08-17T14:06:59.000Z
2020-08-17T14:06:59.000Z
load("8b38e12cab5de21ec5393724c0d9b7dd.js"); //------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //------------------------------------------------------------------------------------------------------- // ES6 Iterators Built-In APIs tests -- verifies the shape and basic behavior of the built-in iterators (Array, String, Map, Set) WScript.LoadScriptFile("dc12371bf414696a113c371a90d0997a.js"); function getNewMapWith12345() { var map = new Map(); map.set(1, 6); map.set(2, 7); map.set(3, 8); map.set(4, 9); map.set(5, 10); return map; } function getNewSetWith12345() { var set = new Set(); set.add(1); set.add(2); set.add(3); set.add(4); set.add(5); return set; } var tests = [ { name: "%IteratorPrototype% apis", body: function () { var iteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())); assert.isTrue(iteratorPrototype.hasOwnProperty(Symbol.iterator), "%IteratorPrototype% should have a @@iterator method"); assert.areEqual(0, iteratorPrototype[Symbol.iterator].length, "@@iterator method takes zero arguments"); } }, { name: "%IteratorPrototype% is the prototype of all built-in iterators", body: function () { var arrayIteratorPrototype = Object.getPrototypeOf([][Symbol.iterator]()); var mapIteratorPrototype = Object.getPrototypeOf((new Map())[Symbol.iterator]()); var setIteratorPrototype = Object.getPrototypeOf((new Set())[Symbol.iterator]()); var stringIteratorPrototype = Object.getPrototypeOf(""[Symbol.iterator]()); // The only way to get the $IteratorPrototype% object is indirectly so here // we just assume array is correct and get it from an array iterator. var iteratorPrototype = Object.getPrototypeOf(arrayIteratorPrototype); assert.areEqual(iteratorPrototype, Object.getPrototypeOf(mapIteratorPrototype), "%MapIteratorPrototype%'s prototype is %IteratorPrototype%"); assert.areEqual(iteratorPrototype, Object.getPrototypeOf(setIteratorPrototype), "%SetIteratorPrototype%'s prototype is %IteratorPrototype%"); assert.areEqual(iteratorPrototype, Object.getPrototypeOf(stringIteratorPrototype), "%StringIteratorPrototype%'s prototype is %IteratorPrototype%"); } }, { name: "Array.prototype should have iterator APIs (entries, keys, values, @@iterator)", body: function () { assert.isTrue(Array.prototype.hasOwnProperty('entries'), "Array.prototype should have an entries method"); assert.isTrue(Array.prototype.hasOwnProperty('keys'), "Array.prototype should have a keys method"); assert.isTrue(Array.prototype.hasOwnProperty('values'), "Array.prototype should have a values method"); assert.isTrue(Array.prototype.hasOwnProperty(Symbol.iterator), "Array.prototype should have an @@iterator method"); assert.areEqual(0, Array.prototype.entries.length, "entries method takes zero arguments"); assert.areEqual(0, Array.prototype.keys.length, "keys method takes zero arguments"); assert.areEqual(0, Array.prototype.values.length, "values method takes zero arguments"); assert.isTrue(Array.prototype.values === Array.prototype[Symbol.iterator], "Array.prototype's @@iterator is the same function as its values() method"); } }, { name: "Map.prototype should have iterator APIs (entries, keys, values, @@iterator)", body: function () { assert.isTrue(Map.prototype.hasOwnProperty('entries'), "Map.prototype should have an entries method"); assert.isTrue(Map.prototype.hasOwnProperty('keys'), "Map.prototype should have a keys method"); assert.isTrue(Map.prototype.hasOwnProperty('values'), "Map.prototype should have a values method"); assert.isTrue(Map.prototype.hasOwnProperty(Symbol.iterator), "Map.prototype should have an @@iterator method"); assert.areEqual(0, Map.prototype.entries.length, "entries method takes zero arguments"); assert.areEqual(0, Map.prototype.keys.length, "keys method takes zero arguments"); assert.areEqual(0, Map.prototype.values.length, "values method takes zero arguments"); assert.isTrue(Map.prototype.entries === Map.prototype[Symbol.iterator], "Map.prototype's @@iterator is the same function as its entries() method"); } }, { name: "Set.prototype should have iterator APIs (entries, keys, values, @@iterator)", body: function () { assert.isTrue(Set.prototype.hasOwnProperty('entries'), "Set.prototype should have an entries method"); assert.isTrue(Set.prototype.hasOwnProperty('keys'), "Set.prototype should have a keys method"); assert.isTrue(Set.prototype.hasOwnProperty('values'), "Set.prototype should have a values method"); assert.isTrue(Set.prototype.hasOwnProperty(Symbol.iterator), "Set.prototype should have an @@iterator method"); assert.areEqual(0, Set.prototype.entries.length, "entries method takes zero arguments"); assert.areEqual(0, Set.prototype.values.length, "values method takes zero arguments"); assert.isTrue(Set.prototype.values === Set.prototype.keys, "Set.prototype's keys property is the same function as its values() method"); assert.isTrue(Set.prototype.values === Set.prototype[Symbol.iterator], "Set.prototype's @@iterator is the same function as its values() method"); } }, { name: "String.prototype should have iterator APIs (@@iterator only)", body: function () { assert.isTrue(String.prototype.hasOwnProperty(Symbol.iterator), "String.prototype should have an @@iterator method"); assert.isFalse(String.prototype.hasOwnProperty('entries'), "String.prototype should not have an entries method"); assert.isFalse(String.prototype.hasOwnProperty('keys'), "String.prototype should not have a keys method"); assert.isFalse(String.prototype.hasOwnProperty('values'), "String.prototype should not have a values method"); } }, { name: "Array.prototype iterator APIs should throw when called with this equal to undefined or null", body: function () { assert.throws(function () { Array.prototype.entries.call(null); }, TypeError, "Array.prototype.entries throws if this is null", "Array.prototype.entries: 'this' is null or undefined"); assert.throws(function () { Array.prototype.entries.call(undefined); }, TypeError, "Array.prototype.entries throws if this is undefined", "Array.prototype.entries: 'this' is null or undefined"); assert.throws(function () { Array.prototype.keys.call(null); }, TypeError, "Array.prototype.keys throws if this is null", "Array.prototype.keys: 'this' is null or undefined"); assert.throws(function () { Array.prototype.keys.call(undefined); }, TypeError, "Array.prototype.keys throws if this is undefined", "Array.prototype.keys: 'this' is null or undefined"); assert.throws(function () { Array.prototype.values.call(null); }, TypeError, "Array.prototype.values throws if this is null", "Array.prototype.values: 'this' is null or undefined"); assert.throws(function () { Array.prototype.values.call(undefined); }, TypeError, "Array.prototype.values throws if this is undefined", "Array.prototype.values: 'this' is null or undefined"); } }, { name: "Map.prototype iterator APIs should throw when called with this equal to anything other than a Map object", body: function () { assert.throws(function () { Map.prototype.entries.call(null); }, TypeError, "Map.prototype.entries throws if this is null", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.entries.call(undefined); }, TypeError, "Map.prototype.entries throws if this is undefined", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.entries.call(123); }, TypeError, "Map.prototype.entries throws if this is a number", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.entries.call("abc"); }, TypeError, "Map.prototype.entries throws if this is a string", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.entries.call({ }); }, TypeError, "Map.prototype.entries throws if this is a non-Map object", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.entries.call(new Set()); }, TypeError, "Map.prototype.entries throws if this is a non-Map object (e.g. a Set)", "Map.prototype.entries: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call(null); }, TypeError, "Map.prototype.keys throws if this is null", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call(undefined); }, TypeError, "Map.prototype.keys throws if this is undefined", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call(123); }, TypeError, "Map.prototype.keys throws if this is a number", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call("abc"); }, TypeError, "Map.prototype.keys throws if this is a string", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call({ }); }, TypeError, "Map.prototype.keys throws if this is a non-Map object", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.keys.call(new Set()); }, TypeError, "Map.prototype.keys throws if this is a non-Map object (e.g. a Set)", "Map.prototype.keys: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call(null); }, TypeError, "Map.prototype.values throws if this is null", "Map.prototype.values: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call(undefined); }, TypeError, "Map.prototype.values throws if this is undefined", "Map.prototype.values: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call(123); }, TypeError, "Map.prototype.values throws if this is a number", "Map.prototype.values: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call("abc"); }, TypeError, "Map.prototype.values throws if this is a string", "Map.prototype.values: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call({ }); }, TypeError, "Map.prototype.values throws if this is a non-Map object", "Map.prototype.values: 'this' is not a Map object"); assert.throws(function () { Map.prototype.values.call(new Set()); }, TypeError, "Map.prototype.values throws if this is a non-Map object (e.g. a Set)", "Map.prototype.values: 'this' is not a Map object"); } }, { name: "Set.prototype iterator APIs should throw when called with this equal to anything other than a Set object", body: function () { assert.throws(function () { Set.prototype.entries.call(null); }, TypeError, "Set.prototype.entries throws if this is null", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.entries.call(undefined); }, TypeError, "Set.prototype.entries throws if this is undefined", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.entries.call(123); }, TypeError, "Set.prototype.entries throws if this is a number", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.entries.call("abc"); }, TypeError, "Set.prototype.entries throws if this is a string", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.entries.call({ }); }, TypeError, "Set.prototype.entries throws if this is a non-Set object", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.entries.call(new Map()); }, TypeError, "Set.prototype.entries throws if this is a non-Set object (e.g. a Map)", "Set.prototype.entries: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call(null); }, TypeError, "Set.prototype.values throws if this is null", "Set.prototype.values: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call(undefined); }, TypeError, "Set.prototype.values throws if this is undefined", "Set.prototype.values: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call(123); }, TypeError, "Set.prototype.values throws if this is a number", "Set.prototype.values: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call("abc"); }, TypeError, "Set.prototype.values throws if this is a string", "Set.prototype.values: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call({ }); }, TypeError, "Set.prototype.values throws if this is a non-Set object", "Set.prototype.values: 'this' is not a Set object"); assert.throws(function () { Set.prototype.values.call(new Map()); }, TypeError, "Set.prototype.values throws if this is a non-Set object (e.g. a Map)", "Set.prototype.values: 'this' is not a Set object"); } }, { name: "String.prototype iterator APIs should throw when called with this equal to undefined or null", body: function () { assert.throws(function () { String.prototype[Symbol.iterator].call(null); }, TypeError, "String.prototype[Symbol.iterator] throws if this is null", "String.prototype[Symbol.iterator]: 'this' is null or undefined"); assert.throws(function () { String.prototype[Symbol.iterator].call(undefined); }, TypeError, "String.prototype[Symbol.iterator] throws if this is undefined", "String.prototype[Symbol.iterator]: 'this' is null or undefined"); } }, { name: "%ArrayIteratorPrototype% should have next, @@iterator, and @@toStringTag properties", body: function () { var aip = Object.getPrototypeOf([].values()); assert.isTrue(aip.hasOwnProperty('next'), "%ArrayIteratorPrototype% should have a next method"); assert.isFalse(aip.hasOwnProperty(Symbol.iterator), "%ArrayIteratorPrototype% should not have a @@iterator method"); assert.isTrue(aip.hasOwnProperty(Symbol.toStringTag), "%ArrayIteratorPrototype% should have a @@toStringTag property"); assert.areEqual(0, aip.next.length, "next method takes zero arguments"); assert.areEqual("Array Iterator", aip[Symbol.toStringTag], "@@toStringTag is the string value 'Array Iterator'"); assert.throws(function () { aip.next.call(123); }, TypeError, "%ArrayIteratorPrototype%.next() throws if its 'this' is not an object", "Array Iterator.prototype.next: 'this' is not an Array Iterator object"); assert.throws(function () { aip.next.call("o"); }, TypeError, "%ArrayIteratorPrototype%.next() throws if its 'this' is not an object", "Array Iterator.prototype.next: 'this' is not an Array Iterator object"); assert.throws(function () { aip.next.call({ }); }, TypeError, "%ArrayIteratorPrototype%.next() throws if its 'this' is an object but not an Array Iterator object", "Array Iterator.prototype.next: 'this' is not an Array Iterator object"); } }, { name: "%MapIteratorPrototype% should have next, @@iterator, and @@toStringTag properties", body: function () { var mip = Object.getPrototypeOf((new Map()).values()); assert.isTrue(mip.hasOwnProperty('next'), "%MapIteratorPrototype% should have a next method"); assert.isFalse(mip.hasOwnProperty(Symbol.iterator), "%MapIteratorPrototype% should not have a @@iterator method"); assert.isTrue(mip.hasOwnProperty(Symbol.toStringTag), "%MapIteratorPrototype% should have a @@toStringTag property"); assert.areEqual(0, mip.next.length, "next method takes zero arguments"); assert.areEqual("Map Iterator", mip[Symbol.toStringTag], "@@toStringTag is the string value 'Map Iterator'"); assert.throws(function () { mip.next.call(123); }, TypeError, "%MapIteratorPrototype%.next() throws if its 'this' is not an object", "Map Iterator.prototype.next: 'this' is not a Map Iterator object"); assert.throws(function () { mip.next.call("o"); }, TypeError, "%MapIteratorPrototype%.next() throws if its 'this' is not an object", "Map Iterator.prototype.next: 'this' is not a Map Iterator object"); assert.throws(function () { mip.next.call({ }); }, TypeError, "%MapIteratorPrototype%.next() throws if its 'this' is an object but not a Map Iterator object", "Map Iterator.prototype.next: 'this' is not a Map Iterator object"); } }, { name: "%SetIteratorPrototype% should have next, @@iterator, and @@toStringTag properties", body: function () { var sip = Object.getPrototypeOf((new Set()).values()); assert.isTrue(sip.hasOwnProperty('next'), "%SetIteratorPrototype% should have a next method"); assert.isFalse(sip.hasOwnProperty(Symbol.iterator), "%SetIteratorPrototype% should not have a @@iterator method"); assert.isTrue(sip.hasOwnProperty(Symbol.toStringTag), "%SetIteratorPrototype% should have a @@toStringTag property"); assert.areEqual(0, sip.next.length, "next method takes zero arguments"); assert.areEqual("Set Iterator", sip[Symbol.toStringTag], "@@toStringTag is the string value 'Set Iterator'"); assert.throws(function () { sip.next.call(123); }, TypeError, "%SetIteratorPrototype%.next() throws if its 'this' is not an object", "Set Iterator.prototype.next: 'this' is not a Set Iterator object"); assert.throws(function () { sip.next.call("o"); }, TypeError, "%SetIteratorPrototype%.next() throws if its 'this' is not an object", "Set Iterator.prototype.next: 'this' is not a Set Iterator object"); assert.throws(function () { sip.next.call({ }); }, TypeError, "%SetIteratorPrototype%.next() throws if its 'this' is an object but not a Set Iterator object", "Set Iterator.prototype.next: 'this' is not a Set Iterator object"); } }, { name: "%StringIteratorPrototype% should have next, @@iterator, and @@toStringTag properties", body: function () { var sip = Object.getPrototypeOf(""[Symbol.iterator]()); assert.isTrue(sip.hasOwnProperty('next'), "%StringIteratorPrototype% should have a next method"); assert.isFalse(sip.hasOwnProperty(Symbol.iterator), "%StringIteratorPrototype% should not have a @@iterator method"); assert.isTrue(sip.hasOwnProperty(Symbol.toStringTag), "%StringIteratorPrototype% should have a @@toStringTag property"); assert.areEqual(0, sip.next.length, "next method takes zero arguments"); assert.areEqual("String Iterator", sip[Symbol.toStringTag], "@@toStringTag is the string value 'String Iterator'"); assert.throws(function () { sip.next.call(123); }, TypeError, "%StringIteratorPrototype%.next() throws if its 'this' is not an object", "String Iterator.prototype.next: 'this' is not a String Iterator object"); assert.throws(function () { sip.next.call("o"); }, TypeError, "%StringIteratorPrototype%.next() throws if its 'this' is not an object", "String Iterator.prototype.next: 'this' is not a String Iterator object"); assert.throws(function () { sip.next.call({ }); }, TypeError, "%StringIteratorPrototype%.next() throws if its 'this' is an object but not a String Iterator object", "String Iterator.prototype.next: 'this' is not a String Iterator object"); } }, { name: "Array iterator methods return new objects every time they are called but all have the same prototype", body: function () { var array = [ 'a', 'b', 'c', 'd', 'e' ]; var iters = [ array.entries(), array.entries(), array.keys(), array.keys(), array.values(), array.values() ]; for (var i = 0; i < iters.length; i++) { for (var j = i + 1; j < iters.length; j++) { assert.isTrue(iters[i] !== iters[j], "Each iterator is its own object"); } } for (var i = 0; i < iters.length - 1; i++) { assert.isTrue(Object.getPrototypeOf(iters[i]) === Object.getPrototypeOf(iters[i + 1]), "Each iterator has the same prototype object: %ArrayIteratorPrototype%"); } } }, { name: "Map iterator methods return new objects every time they are called but all have the same prototype", body: function () { var map = getNewMapWith12345(); var iters = [ map.entries(), map.entries(), map.keys(), map.keys(), map.values(), map.values() ]; for (var i = 0; i < iters.length; i++) { for (var j = i + 1; j < iters.length; j++) { assert.isTrue(iters[i] !== iters[j], "Each iterator is its own object"); } } for (var i = 0; i < iters.length - 1; i++) { assert.isTrue(Object.getPrototypeOf(iters[i]) === Object.getPrototypeOf(iters[i + 1]), "Each iterator has the same prototype object: %MapIteratorPrototype%"); } } }, { name: "Set iterator methods return new objects every time they are called but all have the same prototype", body: function () { var set = new Set(); set.add('a'); set.add('b'); set.add('c'); set.add('d'); set.add('e'); var iters = [ set.entries(), set.entries(), set.values(), set.values() ]; for (var i = 0; i < iters.length; i++) { for (var j = i + 1; j < iters.length; j++) { assert.isTrue(iters[i] !== iters[j], "Each iterator is its own object"); } } for (var i = 0; i < iters.length - 1; i++) { assert.isTrue(Object.getPrototypeOf(iters[i]) === Object.getPrototypeOf(iters[i + 1]), "Each iterator has the same prototype object: %MapIteratorPrototype%"); } } }, { name: "String iterator methods return new objects every time they are called but all have the same prototype", body: function () { var string = "abcde"; var iters = [ string[Symbol.iterator](), string[Symbol.iterator]() ]; for (var i = 0; i < iters.length; i++) { for (var j = i + 1; j < iters.length; j++) { assert.isTrue(iters[i] !== iters[j], "Each iterator is its own object"); } } for (var i = 0; i < iters.length - 1; i++) { assert.isTrue(Object.getPrototypeOf(iters[i]) === Object.getPrototypeOf(iters[i + 1]), "Each iterator has the same prototype object: %MapIteratorPrototype%"); } } }, { name: "Empty array or array-like objects give back iterators that are immediately complete", body: function () { var iter; var array = [ ]; var arraylike = { length: 0 }; iter = array.entries(); assert.areEqual({ done: true, value: undefined }, iter.next(), "array entries iterator is initially complete for empty arrays"); iter = array.keys(); assert.areEqual({ done: true, value: undefined }, iter.next(), "array keys iterator is initially complete for empty arrays"); iter = array.values(); assert.areEqual({ done: true, value: undefined }, iter.next(), "array values iterator is initially complete for empty arrays"); iter = Array.prototype.entries.call(arraylike); assert.areEqual({ done: true, value: undefined }, iter.next(), "array entries iterator is initially complete for empty array-like objects"); iter = Array.prototype.keys.call(arraylike); assert.areEqual({ done: true, value: undefined }, iter.next(), "array keys iterator is initially complete for empty array-like objects"); iter = Array.prototype.values.call(arraylike); assert.areEqual({ done: true, value: undefined }, iter.next(), "array values iterator is initially complete for empty array-like objects"); } }, { name: "Empty (new and cleared) Map objects give back iterators that are immediately complete", body: function () { var iter; var map = new Map(); iter = map.entries(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map entries iterator is initially complete for empty maps (new)"); iter = map.keys(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map keys iterator is initially complete for empty maps (new)"); iter = map.values(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map values iterator is initially complete for empty maps (new)"); map.set('z', 'a'); map.set('y', 'b'); map.set('x', 'c'); map.clear(); iter = map.entries(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map entries iterator is initially complete for empty maps (cleared)"); iter = map.keys(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map keys iterator is initially complete for empty maps (cleared)"); iter = map.values(); assert.areEqual({ done: true, value: undefined }, iter.next(), "map values iterator is initially complete for empty maps (cleared)"); } }, { name: "Empty (new and cleared) Set objects give back iterators that are immediately complete", body: function () { var iter; var set = new Set(); iter = set.entries(); assert.areEqual({ done: true, value: undefined }, iter.next(), "set entries iterator is initially complete for empty sets (new)"); iter = set.values(); assert.areEqual({ done: true, value: undefined }, iter.next(), "set values iterator is initially complete for empty sets (new)"); set.add('a'); set.add('b'); set.add('c'); set.clear(); iter = set.entries(); assert.areEqual({ done: true, value: undefined }, iter.next(), "set entries iterator is initially complete for empty sets (cleared)"); iter = set.values(); assert.areEqual({ done: true, value: undefined }, iter.next(), "set values iterator is initially complete for empty sets (cleared)"); } }, { name: "Empty strings give back iterators that are immediately complete", body: function () { var iter = ""[Symbol.iterator](); assert.areEqual({ done: true, value: undefined }, iter.next(), "string iterator is initially complete for empty strings"); } }, { name: "Array.prototype.entries gives back iterator over the index-element (key-value) pairs of an array in index order", body: function () { var array = [ 'a', 'b', 'c', 'd', 'e' ]; var iter = array.entries(); assert.areEqual({ done: false, value: [ 0, 'a' ] }, iter.next(), "1st result of entries iterator is index 0 and element 'a' as a two element array pair"); assert.areEqual({ done: false, value: [ 1, 'b' ] }, iter.next(), "2nd result of entries iterator is index 1 and element 'b' as a two element array pair"); assert.areEqual({ done: false, value: [ 2, 'c' ] }, iter.next(), "3rd result of entries iterator is index 2 and element 'c' as a two element array pair"); assert.areEqual({ done: false, value: [ 3, 'd' ] }, iter.next(), "4th result of entries iterator is index 3 and element 'd' as a two element array pair"); assert.areEqual({ done: false, value: [ 4, 'e' ] }, iter.next(), "5th result of entries iterator is index 4 and element 'e' as a two element array pair"); assert.areEqual({ done: true, value: undefined }, iter.next(), "entries iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Array.prototype.keys gives back iterator over the indices of an array in index order", body: function () { var array = [ 'a', 'b', 'c', 'd', 'e' ]; var iter = array.keys(); assert.areEqual({ done: false, value: 0 }, iter.next(), "1st result of keys iterator is index 0"); assert.areEqual({ done: false, value: 1 }, iter.next(), "2nd result of keys iterator is index 1"); assert.areEqual({ done: false, value: 2 }, iter.next(), "3rd result of keys iterator is index 2"); assert.areEqual({ done: false, value: 3 }, iter.next(), "4th result of keys iterator is index 3"); assert.areEqual({ done: false, value: 4 }, iter.next(), "5th result of keys iterator is index 4"); assert.areEqual({ done: true, value: undefined }, iter.next(), "keys iterator completes after all 5 keys"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Array.prototype.values gives back iterator over the elements of an array in index order", body: function () { var array = [ 'a', 'b', 'c', 'd', 'e' ]; var iter = array.values(); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of values iterator is element 'a'"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of values iterator is element 'b'"); assert.areEqual({ done: false, value: 'c' }, iter.next(), "3rd result of values iterator is element 'c'"); assert.areEqual({ done: false, value: 'd' }, iter.next(), "4th result of values iterator is element 'd'"); assert.areEqual({ done: false, value: 'e' }, iter.next(), "5th result of values iterator is element 'e'"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator completes after all 5 values"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any array iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Map.prototype.entries gives back iterator over the key-value pairs of a map in insertion order", body: function () { var map = getNewMapWith12345(); var iter = map.entries(); assert.areEqual({ done: false, value: [ 1, 6 ] }, iter.next(), "1st result of entries iterator is key 1 and value 6 as a two element array pair"); assert.areEqual({ done: false, value: [ 2, 7 ] }, iter.next(), "2nd result of entries iterator is key 2 and value 7 as a two element array pair"); assert.areEqual({ done: false, value: [ 3, 8 ] }, iter.next(), "3rd result of entries iterator is key 3 and value 8 as a two element array pair"); assert.areEqual({ done: false, value: [ 4, 9 ] }, iter.next(), "4th result of entries iterator is key 4 and value 9 as a two element array pair"); assert.areEqual({ done: false, value: [ 5, 10 ] }, iter.next(), "5th result of entries iterator is key 5 and value 10 as a two element array pair"); assert.areEqual({ done: true, value: undefined }, iter.next(), "entries iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Map.prototype.keys gives back iterator over the keys of a map in insertion order", body: function () { var map = getNewMapWith12345(); var iter = map.keys(); assert.areEqual({ done: false, value: 1 }, iter.next(), "1st result of keys iterator is key 1"); assert.areEqual({ done: false, value: 2 }, iter.next(), "2nd result of keys iterator is key 2"); assert.areEqual({ done: false, value: 3 }, iter.next(), "3rd result of keys iterator is key 3"); assert.areEqual({ done: false, value: 4 }, iter.next(), "4th result of keys iterator is key 4"); assert.areEqual({ done: false, value: 5 }, iter.next(), "5th result of keys iterator is key 5"); assert.areEqual({ done: true, value: undefined }, iter.next(), "keys iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Map.prototype.values gives back iterator over the values of a map in insertion order", body: function () { var map = getNewMapWith12345(); var iter = map.values(); assert.areEqual({ done: false, value: 6 }, iter.next(), "1st result of values iterator is value 6"); assert.areEqual({ done: false, value: 7 }, iter.next(), "2nd result of values iterator is value 7"); assert.areEqual({ done: false, value: 8 }, iter.next(), "3rd result of values iterator is value 8"); assert.areEqual({ done: false, value: 9 }, iter.next(), "4th result of values iterator is value 9"); assert.areEqual({ done: false, value: 10 }, iter.next(), "5th result of values iterator is value 10"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any map iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Set.prototype.entries gives back iterator over the 'key-value' pairs (i.e. the values twice) of a set in insertion order", body: function () { var set = getNewSetWith12345(); var iter = set.entries(); assert.areEqual({ done: false, value: [ 1, 1 ] }, iter.next(), "1st result of entries iterator is key 1 and value 1 as a two element array pair"); assert.areEqual({ done: false, value: [ 2, 2 ] }, iter.next(), "2nd result of entries iterator is key 2 and value 2 as a two element array pair"); assert.areEqual({ done: false, value: [ 3, 3 ] }, iter.next(), "3rd result of entries iterator is key 3 and value 3 as a two element array pair"); assert.areEqual({ done: false, value: [ 4, 4 ] }, iter.next(), "4th result of entries iterator is key 4 and value 4 as a two element array pair"); assert.areEqual({ done: false, value: [ 5, 5 ] }, iter.next(), "5th result of entries iterator is key 5 and value 5 as a two element array pair"); assert.areEqual({ done: true, value: undefined }, iter.next(), "entries iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any set iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any set iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "Set.prototype.values gives back iterator over the values of a set in insertion order", body: function () { var set = getNewSetWith12345(); var iter = set.values(); assert.areEqual({ done: false, value: 1 }, iter.next(), "1st result of values iterator is value 1"); assert.areEqual({ done: false, value: 2 }, iter.next(), "2nd result of values iterator is value 2"); assert.areEqual({ done: false, value: 3 }, iter.next(), "3rd result of values iterator is value 3"); assert.areEqual({ done: false, value: 4 }, iter.next(), "4th result of values iterator is value 4"); assert.areEqual({ done: false, value: 5 }, iter.next(), "5th result of values iterator is value 5"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator completes after all 5 entries"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any set iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling any set iterator's next method after it has completed yields the same undefined result value (checking twice)"); } }, { name: "String.prototype[Symbol.iterator] gives back iterator over the code points of a string in forward order", body: function () { var string = "abcde"; var iter = string[Symbol.iterator](); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of string iterator is string 'a'"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of string iterator is string 'b'"); assert.areEqual({ done: false, value: 'c' }, iter.next(), "3rd result of string iterator is string 'c'"); assert.areEqual({ done: false, value: 'd' }, iter.next(), "4th result of string iterator is string 'd'"); assert.areEqual({ done: false, value: 'e' }, iter.next(), "5th result of string iterator is string 'e'"); assert.areEqual({ done: true, value: undefined }, iter.next(), "string iterator completes after all 5 code points"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling string iterator's next method after it has completed yields the same undefined result value"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling string iterator's next method after it has completed yields the same undefined result value (checking twice)"); // a string with code points requiring surrogate pairs string = "ab\uD834\uDD1Ec\uD801\uDC27"; var iter = string[Symbol.iterator](); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of string iterator is string 'a' (surrogate pairs)"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of string iterator is string 'b' (surrogate pairs)"); assert.areEqual({ done: false, value: '\u{1D11E}' }, iter.next(), "3rd result of string iterator is string '\\u{1D11E}' (surrogate pairs)"); assert.areEqual({ done: false, value: 'c' }, iter.next(), "4th result of string iterator is string 'c' (surrogate pairs)"); assert.areEqual({ done: false, value: '\uD801\uDC27' }, iter.next(), "5th result of string iterator is string '\\uD801\\uDC27' (surrogate pairs)"); assert.areEqual({ done: true, value: undefined }, iter.next(), "string iterator completes after all 5 code points (surrogate pairs)"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling string iterator's next method after it has completed yields the same undefined result value (surrogate pairs)"); assert.areEqual({ done: true, value: undefined }, iter.next(), "calling string iterator's next method after it has completed yields the same undefined result value (checking twice) (surrogate pairs)"); } }, { name: "Array Iterator can be used on array-like objects; those that have length properties", body: function () { var o = { length: 5, 0: 'a', 1: 'b', 2: 'c', 3: 'd', 4: 'e' }; var iter = Array.prototype.values.call(o); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of values iterator on array-like object is element 'a'"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of values iterator on array-like object is element 'b'"); assert.areEqual({ done: false, value: 'c' }, iter.next(), "3rd result of values iterator on array-like object is element 'c'"); assert.areEqual({ done: false, value: 'd' }, iter.next(), "4th result of values iterator on array-like object is element 'd'"); assert.areEqual({ done: false, value: 'e' }, iter.next(), "5th result of values iterator on array-like object is element 'e'"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator on array-like object completes after all 5 values"); // Setting the length lower should be reflected by the iterator o.length = 2; iter = Array.prototype.values.call(o); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of values iterator on array-like object is element 'a'"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of values iterator on array-like object is element 'b'"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator on array-like object completes after 2 values"); // Setting the length higher should also be reflected, giving undefined for the non-existent properties o.length = 7; var iter = Array.prototype.values.call(o); assert.areEqual({ done: false, value: 'a' }, iter.next(), "1st result of values iterator on array-like object is element 'a'"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "2nd result of values iterator on array-like object is element 'b'"); assert.areEqual({ done: false, value: 'c' }, iter.next(), "3rd result of values iterator on array-like object is element 'c'"); assert.areEqual({ done: false, value: 'd' }, iter.next(), "4th result of values iterator on array-like object is element 'd'"); assert.areEqual({ done: false, value: 'e' }, iter.next(), "5th result of values iterator on array-like object is element 'e'"); assert.areEqual({ done: false, value: undefined }, iter.next(), "Sixth result of values iterator on array-like object is element undefined"); assert.areEqual({ done: false, value: undefined }, iter.next(), "Seventh result of values iterator on array-like object is element undefined"); assert.areEqual({ done: true, value: undefined }, iter.next(), "values iterator on array-like object completes after 7 values"); } }, { name: "Array Iterator created with an object whose length property is negative should be complete upon creation (and other funny values for length)", body: function () { var o = { length: -1, 0: 'a', 1: 'b' }; var iter = Array.prototype[Symbol.iterator].call(o); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator is initially complete for length = -1"); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator remains complete length = -1"); o.length = Number.NaN; iter = Array.prototype[Symbol.iterator].call(o); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator is initially complete for length = NaN"); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator remains complete length = NaN"); o.length = -0; iter = Array.prototype[Symbol.iterator].call(o); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator is initially complete for length = -0"); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator remains complete length = -0"); o.length = Number.NEGATIVE_INFINITY; iter = Array.prototype[Symbol.iterator].call(o); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator is initially complete for length = -Infinity"); assert.areEqual({ done: true, value: undefined }, iter.next(), "Iterator remains complete length = -Infinity"); o.length = Number.POSITIVE_INFINITY; iter = Array.prototype[Symbol.iterator].call(o); assert.areEqual({ done: false, value: 'a' }, iter.next(), "Iterator is not initially complete for length = +Infinity; length is capped at 2^53 - 1"); assert.areEqual({ done: false, value: 'b' }, iter.next(), "Iterator would take a long time to complete for length = +Infinity (capped at 2^53 - 1)"); } }, { name: "Map iterator should enumerate all map items if any deletes occur on items that have already been enumerated", body: function () { var i = 0; var map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; map.delete(key); i += 1; assert.isTrue(key == i, "map.entries() should enumerate keys 1, 2, 3, 4, 5 in that order"); assert.isTrue(val == i + 5, "map.entries() should enumerate values 6, 7, 8, 9, 10 in that order"); } for (var entry of map.entries()) { assert.fail("Shouldn't execute; map should be empty"); } i = 0; map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; if (key >= 3) { map.delete(key - 2); } i += 1; assert.isTrue(key == i, "map.entries() should enumerate keys 1, 2, 3, 4, 5 in that order"); assert.isTrue(val == i + 5, "map.entries() should enumerate values 6, 7, 8, 9, 10 in that order"); } i = 3; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate keys 4, 5 in that order"); assert.isTrue(val == i + 5, "map.entries() should enumerate values 9, 10 in that order"); } } }, { name: "Map iterator should not enumerate map items that are deleted during enumeration before being visited", body: function () { var i = 1; var map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; assert.isTrue(key == i, "map.entries() should enumerate keys 1, 3, 5 in that order"); assert.isTrue(val == i + 5, "map.entries() should enumerate values 6, 8, 10 in that order"); map.delete(key + 1); i += 2; } for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; assert.isTrue(key == 1, "map.entries() should enumerate key 1 only"); assert.isTrue(val == 6, "map.entries() should enumerate value 6 only"); map.delete(3); map.delete(5); } for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; assert.isTrue(key == 1, "map.entries() should enumerate 1 only again"); assert.isTrue(val == 6, "map.entries() should enumerate value 6 only again"); map.delete(1); } for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; assert.fail("Shouldn't execute, map should be empty"); } map = getNewMapWith12345(); i = 0; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; map.delete(6 - key); i += 1; assert.isTrue(key == i && key <= 3, "map.entries() should enumerate keys 1, 2, 3 in that order"); assert.isTrue(val == i + 5 && val <= 8, "map.entries() should enumerate values 6, 7, 8 in that order"); } i = 0; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i && key <= 2, "map.entries() should enumerate 1, 2 in that order"); assert.isTrue(val == i + 5 && val <= 7, "map.entries() should enumerate values 6, 7 in that order"); } } }, { name: "Map iterator should continue to enumerate items as long as they are added but only if they were not already in the map, and changing an existing key's value doesn't change its position", body: function () { var i = 0; var map = new Map(); map.set(1, 21); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate keys 1 through 20 in order"); assert.isTrue(val == i + 20, "map.entries() should enumerate values 21 through 40 in order"); if (key < 20) { map.set(key + 1, val + 1); } } assert.isTrue(i == 20, "map.entries() should have enumerated up to 20"); i = 0; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should only enumerate 1 through 20 in order once each, no duplicates"); if (key < 20) { map.set(key + 1, i); } } assert.isTrue(i == 20, "map.entries() should have enumerated up to 20 again"); } }, { name: "Map iterator should stop enumerating items if the map is cleared during enumeration", body: function () { var i = 0; var map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1 and stop"); if (key == 1) { map.clear(); } } assert.isTrue(i == 1, "map.entries() should have stopped after 1"); i = 0; map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1, 2 and stop"); if (key == 2) { map.clear(); } } assert.isTrue(i == 2, "map.entries() should have stopped after 1, 2"); i = 0; map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1, 2, 3 and stop"); if (key == 3) { map.clear(); } } assert.isTrue(i == 3, "map.entries() should have stopped after 1, 2, 3"); i = 0; map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1, 2, 3, 4 and stop"); if (key == 4) { map.clear(); } } assert.isTrue(i == 4, "map.entries() should have stopped after 1, 2, 3, 4"); i = 0; map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1, 2, 3, 4, 5 and stop"); if (key == 5) { map.clear(); } } assert.isTrue(i == 5, "map.entries() should have enumerated all 1, 2, 3, 4, 5"); assert.isTrue(map.size == 0, "map should be empty"); } }, { name: "Map iterator should revisit items if they are removed after being visited but re-added before enumeration stops", body: function () { var i = 0; var map = getNewMapWith12345(); for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; if (key == 3) { map.delete(2); map.delete(1); map.set(1); map.set(2); } i += 1; assert.isTrue(key == i, "map.entries() should enumerate 1, 2, 3, 4, 5, 1, 2 in that order"); if (key == 5) { i = 0; } } i = 2; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; i += 1; assert.isTrue(key == i, "map.entries() should enumerate 3, 4, 5, 1, 2 in that order"); if (key == 5) { i = 0; } } } }, { name: "Map iterator should continue enumeration indefinitely if items are repeatedly removed and re-added without end", body: function () { var map = new Map(); map.set(1, 0); map.set(2, 1); var keys = [ 1, 2, 1, 2, 1, 2, 1, 2, 1, 2 ]; var i = 0; for (var entry of map.entries()) { var key = entry[0]; var val = entry[1]; if (i < 9) { if (key == 1) { map.delete(1); map.set(2, i + 1); } else if (key == 2) { map.delete(2); map.set(1, i + 1); } } assert.isTrue(key == keys[i], "map.entries() should enumerate 1, 2, 1, 2, 1, 2, 1, 2, 1, 2"); assert.isTrue(val == i, "map.entries() should enumerate values 0, 1, 2, 3, 4, 5, 6, 7, 8, 9"); i += 1; } assert.isTrue(i == 10, "map.entries() should have called the callback 10 times"); } }, { name: "Set iterator should enumerate set items in insertion order and should not call the callback for empty sets", body: function () { var i = 0; var set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4, 5 in that order"); } // a second forEach should start at the beginning again i = 0; for (var val of set.values()) { i += 1; assert.isTrue(val == i, "Repeated set.values() should enumerate 1, 2, 3, 4, 5 in that order again"); } set.clear(); for (var val of set.values()) { assert.fail("Shouldn't execute; set should be empty"); } set = new Set(); for (var val of set.values()) { assert.fail("Shouldn't execute; set should be empty"); } } }, { name: "Set iterator should enumerate all set items if any deletes occur on items that have already been enumerated", body: function () { var i = 0; var set = getNewSetWith12345(); for (var val of set.values()) { set.delete(val); i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4, 5 in that order"); } for (var val of set.values()) { assert.fail("Shouldn't execute; set should be empty"); } i = 0; set = getNewSetWith12345(); for (var val of set.values()) { if (val >= 3) { set.delete(val - 2); } i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4, 5 in that order"); } i = 3; for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 4, 5 in that order"); } } }, { name: "Set iterator should not enumerate set items that are deleted during enumeration before being visited", body: function () { var i = 1; var set = getNewSetWith12345(); for (var val of set.values()) { assert.isTrue(val == i, "set.values() should enumerate 1, 3, 5 in that order"); set.delete(val + 1); i += 2; } for (var val of set.values()) { assert.isTrue(val == 1, "set.values() should enumerate 1 only"); set.delete(3); set.delete(5); } for (var val of set.values()) { assert.isTrue(val == 1, "set.values() should enumerate 1 only again"); set.delete(1); } for (var val of set.values()) { assert.fail("Shouldn't execute, set should be empty"); } set = getNewSetWith12345(); i = 0; for (var val of set.values()) { set.delete(6 - val); i += 1; assert.isTrue(val == i && val <= 3, "set.values() should enumerate 1, 2, 3 in that order"); } i = 0; for (var val of set.values()) { i += 1; assert.isTrue(val == i && val <= 2, "set.values() should enumerate 1, 2 in that order"); } } }, { name: "Set iterator should continue to enumerate items as long as they are added but only if they were not already in the set", body: function () { var i = 0; var set = new Set(); set.add(1); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1 through 20 in order"); if (val < 20) { set.add(val + 1); } } assert.isTrue(i == 20, "set.values() should have enumerated up to 20"); i = 0; for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should only enumerate 1 through 20 in order once each, no duplicates"); if (val < 20) { set.add(val + 1); } } assert.isTrue(i == 20, "set.values() should have enumerated up to 20 again"); } }, { name: "Set iterator should stop enumerating items if the set is cleared during enumeration", body: function () { var i = 0; var set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1 and stop"); if (val == 1) { set.clear(); } } assert.isTrue(i == 1, "set.values() should have stopped after 1"); i = 0; set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2 and stop"); if (val == 2) { set.clear(); } } assert.isTrue(i == 2, "set.values() should have stopped after 1, 2"); i = 0; set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3 and stop"); if (val == 3) { set.clear(); } } assert.isTrue(i == 3, "set.values() should have stopped after 1, 2, 3"); i = 0; set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4 and stop"); if (val == 4) { set.clear(); } } assert.isTrue(i == 4, "set.values() should have stopped after 1, 2, 3, 4"); i = 0; set = getNewSetWith12345(); for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4, 5 and stop"); if (val == 5) { set.clear(); } } assert.isTrue(i == 5, "set.values() should have enumerated all 1, 2, 3, 4, 5"); assert.isTrue(set.size == 0, "set should be empty"); } }, { name: "Set iterator should revisit items if they are removed after being visited but re-added before enumeration stops", body: function () { var i = 0; var set = getNewSetWith12345(); for (var val of set.values()) { if (val == 3) { set.delete(2); set.delete(1); set.add(1); set.add(2); } i += 1; assert.isTrue(val == i, "set.values() should enumerate 1, 2, 3, 4, 5, 1, 2 in that order"); if (val == 5) { i = 0; } } i = 2; for (var val of set.values()) { i += 1; assert.isTrue(val == i, "set.values() should enumerate 3, 4, 5, 1, 2 in that order"); if (val == 5) { i = 0; } } } }, { name: "Set iterator should continue enumeration indefinitely if items are repeatedly removed and re-added without end", body: function () { var set = new Set(); set.add(1); set.add(2); var vals = [ 1, 2, 1, 2, 1, 2, 1, 2, 1, 2 ]; var i = 0; for (var val of set.values()) { if (i < 9) { if (val == 1) { set.delete(1); set.add(2); } else if (val == 2) { set.delete(2); set.add(1); } } assert.isTrue(val == vals[i], "set.values() should enumerate 1, 2, 1, 2, 1, 2, 1, 2, 1, 2"); i += 1; } assert.isTrue(i == 10, "set.values() should have called the callback 10 times"); } }, ]; testRunner.runTests(tests, { verbose: WScript.Arguments[0] != "summary" });
54.889803
251
0.573473
b42e606a6a2bc2c87537039d3fdaef21e5c5809e
326
js
JavaScript
src/format/image/multiColor.js
Sembiance/dexvert
3e1ce592bcfab39a3ce46fe26fba2243cc060a30
[ "MIT" ]
10
2020-08-11T04:37:06.000Z
2022-01-02T15:43:12.000Z
src/format/image/multiColor.js
Sembiance/dexvert
3e1ce592bcfab39a3ce46fe26fba2243cc060a30
[ "MIT" ]
1
2020-12-18T17:48:48.000Z
2020-12-18T17:48:48.000Z
src/format/image/multiColor.js
Sembiance/dexvert
3e1ce592bcfab39a3ce46fe26fba2243cc060a30
[ "MIT" ]
null
null
null
import {Format} from "../../Format.js"; export class multiColor extends Format { name = "ZX Spectrum Multicolor"; website = "http://fileformats.archiveteam.org/wiki/Multicolor_(ZX_Spectrum)"; ext = [".ifl", ".mc", ".mlt"]; fileSize = {".ifl" : 9216, ".mc,.mlt" : 12288}; converters = ["recoil2png"]; }
29.636364
81
0.613497
b42f27c77dd0e0247806dbcdde8de70febba7b9c
913
js
JavaScript
web/ddt-platform/dictionary_entity/tests/test2.test.js
vitaliy-pashkov/ddt-platform
8219ba6d5aad518c3ac64c25c273a4233c05662f
[ "BSD-3-Clause" ]
null
null
null
web/ddt-platform/dictionary_entity/tests/test2.test.js
vitaliy-pashkov/ddt-platform
8219ba6d5aad518c3ac64c25c273a4233c05662f
[ "BSD-3-Clause" ]
null
null
null
web/ddt-platform/dictionary_entity/tests/test2.test.js
vitaliy-pashkov/ddt-platform
8219ba6d5aad518c3ac64c25c273a4233c05662f
[ "BSD-3-Clause" ]
null
null
null
window.app.pages.tests = Class( { extends: DDTPlatform.TestPage, constructor: function tests() { //DDTPlatform.Page.prototype.constructor.apply(this); }, initEntity: function () { this.entity = new MKWidgets.Dictionary1({ element: $('#element'), dataSource: 'local', data: [ { id: 1, text: 'qwe' }, { id: 2, text: 'asd' }, { id: 3, text: 'zxc' }, ] }); }, checkTestResult: function () { var sample = { test: 'qwe', test1: 1, arrayTest: [ { test2: 2, test3: 3, }, { test2: 4, test3: 5, }, ] }; var audit = this.entity.jsonTest; var compareResult = this.compareJson(sample, audit); this.printCompareResult(compareResult); }, }, { url: ['/tests/test'] } );
15.741379
57
0.465498
b42fb5ff0eb6710fc783f0f55c829eaf53da8464
2,318
js
JavaScript
src/components/Profile/Challenges/index.js
arslansajid/rank-page
06ea7fe75ca7573219a374bc784cbffb7145cf9c
[ "MIT" ]
null
null
null
src/components/Profile/Challenges/index.js
arslansajid/rank-page
06ea7fe75ca7573219a374bc784cbffb7145cf9c
[ "MIT" ]
null
null
null
src/components/Profile/Challenges/index.js
arslansajid/rank-page
06ea7fe75ca7573219a374bc784cbffb7145cf9c
[ "MIT" ]
null
null
null
import React, {useState, useEffect} from "react"; import { Typography, Grid } from "@material-ui/core"; import { makeStyles } from '@material-ui/core/styles'; import PostCard from "../../PostCard"; import { connect } from "react-redux"; import LoadingSpinner from "../../Common/LoadingSpinner" import {getChallenges} from "./actions" const Challenges = (props) => { const classes = useStyles(); const [challenges, setChallenges] = useState([]); const [isLoading, setIsLoading] = useState(true); const { user, userId } = props; useEffect(() => { if(!!userId) { getChallenges({ 'user_id': userId }) .then((res) => { console.log('res', res) setChallenges(res.data.data.users_own_challenges) setIsLoading(false); }) .catch((err) => { console.log('err', err); setIsLoading(false); }) } else if (!!user) { getChallenges({ 'user_id': user.id }) .then((res) => { console.log('res', res) setChallenges(res.data.data.users_own_challenges) setIsLoading(false); }) .catch((err) => { console.log('err', err); setIsLoading(false); }) } }, [user]) return ( <> { isLoading && ( <LoadingSpinner loading={isLoading} text="Fetching Challenges..." size="large" /> ) } {challenges.length ? challenges.map((challenge, index) => { return ( <Grid key={index}> <PostCard post={challenge} /> </Grid> ) }) : "No Pools Present" } </> ) } const useStyles = makeStyles((theme) => ({ moreText: { margin: theme.spacing(6, 0, 6, 0), textAlign: 'center' } }) ) function mapStateToProps(state) { return { user: state.user, }; } export default connect(mapStateToProps)(Challenges);
27.270588
69
0.45384
b4307f61cc7d27df2e011be42a37cb3470f0ce6b
23,309
js
JavaScript
Alloy/commands/compile/index.js
riccardod/alloy
f03db8387a79c07419a900fabdc2661b3ba9c5c8
[ "Apache-2.0" ]
null
null
null
Alloy/commands/compile/index.js
riccardod/alloy
f03db8387a79c07419a900fabdc2661b3ba9c5c8
[ "Apache-2.0" ]
null
null
null
Alloy/commands/compile/index.js
riccardod/alloy
f03db8387a79c07419a900fabdc2661b3ba9c5c8
[ "Apache-2.0" ]
null
null
null
var path = require('path'), colors = require('colors'), fs = require('fs'), wrench = require('wrench'), util = require('util'), vm = require('vm'), jsonlint = require('jsonlint'), jsp = require("../../uglify-js/uglify-js").parser, _ = require("../../lib/alloy/underscore")._, logger = require('../../common/logger'), CompilerMakeFile = require('./CompilerMakeFile'), U = require('../../utils'), CU = require('./compilerUtils'), CONST = require('../../common/constants'); var alloyRoot = path.join(__dirname,'..','..'), viewRegex = new RegExp('\\.' + CONST.FILE_EXT.VIEW + '$'), controllerRegex = new RegExp('\\.' + CONST.FILE_EXT.CONTROLLER + '$'), modelRegex = new RegExp('\\.' + CONST.FILE_EXT.MODEL + '$'), buildPlatform, compileConfig = {}, theme; var times = { first: null, last: null, msgs: [] }; function tiSdkVersionNumber(tiVersion) { var parts = tiVersion.split && tiVersion.split('.'); return parts[0]*100 + parts[1]*10 + parts[2]*1; // *1 is to cast it to an integer } ////////////////////////////////////// ////////// command function ////////// ////////////////////////////////////// module.exports = function(args, program) { // BENCHMARK(); var paths = U.getAndValidateProjectPaths(program.outputPath || args[0] || process.cwd()); // Parse the tiapp.xml and make sure the sdk-version is at least 3.0.0 var tiVersion = U.tiapp.getTitaniumSdkVersion(U.tiapp.parse(paths.project)); if (tiVersion === null) { logger.warn('Unable to determine Titanium SDK version from tiapp.xml.'); logger.warn('Your app may have unexpected behavior. Make sure your tiapp.xml is valid.'); } else if (tiSdkVersionNumber(tiVersion) < tiSdkVersionNumber(CONST.MINIMUM_TI_SDK)) { logger.error('Alloy 1.0.0+ requires Titanium SDK ' + CONST.MINIMUM_TI_SDK + ' or higher.'); logger.error('Version "' + tiVersion + '" was found in the "sdk-version" field of your tiapp.xml.'); logger.error('If you are building with the old titanium.py script and are specifying an SDK version '); logger.error('as a CLI argument that is different than the one in your tiapp.xml, please change the'); logger.error('version in your tiapp.xml file. '); process.exit(1); } // BENCHMARK('getAndValidateProjectPaths'); var alloyConfig = {}, compilerMakeFile; logger.debug('Cleaning "Resources/alloy/' + CONST.DIR.COMPONENT + '" folder...'); U.rmdirContents(path.join(paths.resourcesAlloy,CONST.DIR.COMPONENT), ['BaseController.js']); logger.debug('Cleaning "Resources/alloy/' + CONST.DIR.MODEL + '" folder...'); U.rmdirContents(path.join(paths.resourcesAlloy,CONST.DIR.MODEL)); logger.debug('Cleaning "Resources/alloy/' + CONST.DIR.WIDGET + '" folder...'); U.rmdirContents(path.join(paths.resourcesAlloy,CONST.DIR.WIDGET)); logger.debug(' '); // GET RID OF ORPHAN FILES U.deleteOrphanFiles( paths.resources, [ path.join(alloyRoot,'lib'), path.join(paths.app,CONST.DIR.ASSETS), path.join(paths.app,CONST.DIR.LIB), path.join(paths.app,'vendor'), ], [ path.join('alloy','CFG.js'), path.join('alloy','widgets'), path.join('alloy','models') ] ); logger.trace(' '); // create generated controllers folder in resources logger.debug('----- BASE RUNTIME FILES -----'); U.installPlugin(path.join(alloyRoot,'..'), paths.project); // BENCHMARK('install Alloy plugins/hooks'); // Copy in all assets, libs, and Alloy runtime files U.updateFiles(path.join(alloyRoot, 'lib'), paths.resources); wrench.mkdirSyncRecursive(path.join(paths.resourcesAlloy, CONST.DIR.COMPONENT), 0777); wrench.mkdirSyncRecursive(path.join(paths.resourcesAlloy, CONST.DIR.WIDGET), 0777); U.updateFiles(path.join(paths.app,CONST.DIR.ASSETS), paths.resources); U.updateFiles(path.join(paths.app,CONST.DIR.LIB), paths.resources); U.updateFiles(path.join(paths.app,'vendor'), paths.resources); logger.debug(''); // BENCHMARK('Copy Alloy libs and assets into project'); // construct compiler config from command line config parameters if (program.config && _.isString(program.config)) { _.each(program.config.split(','), function(v) { var parts = v.split('='); alloyConfig[parts[0]] = parts[1]; }); } alloyConfig.deploytype = alloyConfig.deploytype || 'development'; alloyConfig.beautify = alloyConfig.beautify || alloyConfig.deploytype === 'development'; logger.debug('----- CONFIGURATION -----'); _.each(alloyConfig, function(v,k) { if (k) { logger.debug(k + ' = ' + v); } }); logger.debug('project path = ' + paths.project); logger.debug('app path = ' + paths.app); // create compile config from paths and various alloy config files compileConfig = CU.createCompileConfig(paths.app, paths.project, alloyConfig); buildPlatform = compileConfig.alloyConfig.platform; theme = compileConfig.theme; logger.debug('platform = ' + buildPlatform); logger.debug('theme = ' + theme); // BENCHMARK('generate Alloy configurations'); // check theme for assets if (theme) { var themeAssetsPath = path.join(paths.app,'themes',theme,'assets'); if (path.existsSync(themeAssetsPath)) { wrench.copyDirSyncRecursive(themeAssetsPath, paths.resources, {preserve:true}); } } logger.debug(''); // BENCHMARK('copy theme assets'); // process project makefiles compilerMakeFile = new CompilerMakeFile(); var alloyJMK = path.resolve(path.join(paths.app,"alloy.jmk")); if (path.existsSync(alloyJMK)) { logger.debug('Loading "alloy.jmk" compiler hooks...'); var script = vm.createScript(fs.readFileSync(alloyJMK), 'alloy.jmk'); // process alloy.jmk compile file try { script.runInNewContext(compilerMakeFile); compilerMakeFile.isActive = true; } catch(e) { logger.error(e.stack); U.die('Project build at "' + alloyJMK.yellow + '" generated an error during load.'); } compilerMakeFile.trigger("pre:compile",_.clone(compileConfig)); logger.debug(''); } // BENCHMARK('process Alloy jmk file'); // TODO: https://jira.appcelerator.org/browse/ALOY-477 if (buildPlatform === 'android') { U.tiapp.upStackSizeForRhino(paths.project); } // BENCHMARK('install android modules and tiapp fixes'); logger.info('----- MVC GENERATION -----'); // create the global style, if it exists loadGlobalStyles(paths.app, theme); // BENCHMARK('load global styles'); // Process all models var widgetDirs = U.getWidgetDirectories(paths.project, paths.app); var viewCollection = widgetDirs; viewCollection.push({ dir: path.join(paths.project,CONST.ALLOY_DIR) }); var models = processModels(viewCollection); // BENCHMARK('process models'); // create a regex for determining which platform-specific // folders should be used in the compile process var filteredPlatforms = _.reject(CONST.PLATFORM_FOLDERS_ALLOY, function(p) { return p === buildPlatform; }); filteredPlatforms = _.map(filteredPlatforms, function(p) { return p + '[\\\\\\/]'; }); var filterRegex = new RegExp('^(?:(?!' + filteredPlatforms.join('|') + '))'); // Process all views, including all those belonging to widgets // var viewCollection = widgetDirs; // viewCollection.push({ dir: path.join(paths.project,CONST.ALLOY_DIR) }); var tracker = {}; _.each(viewCollection, function(collection) { // generate runtime controllers from views _.each(wrench.readdirSyncRecursive(path.join(collection.dir,CONST.DIR.VIEW)), function(view) { if (viewRegex.test(view) && filterRegex.test(view)) { // make sure this controller is only generated once var fp = path.join(collection.dir,view.substring(0,view.lastIndexOf('.'))); if (tracker[fp]) { return; } // generate runtime controller logger.info('[' + view + '] ' + (collection.manifest ? collection.manifest.id + ' ' : '') + 'view processing...'); parseAlloyComponent(view, collection.dir, collection.manifest); tracker[fp] = true; } }); // generate runtime controllers from any controller code that has no // corresponding view markup _.each(wrench.readdirSyncRecursive(path.join(collection.dir,CONST.DIR.CONTROLLER)), function(controller) { if (controllerRegex.test(controller) && filterRegex.test(controller)) { // make sure this controller is only generated once var fp = path.join(collection.dir,controller.substring(0,controller.lastIndexOf('.'))); if (tracker[fp]) { return; } // generate runtime controller logger.info('[' + controller + '] ' + (collection.manifest ? collection.manifest.id + ' ' : '') + 'controller processing...'); parseAlloyComponent(controller, collection.dir, collection.manifest, true); tracker[fp] = true; } }); }); logger.info(''); // BENCHMARK('process all controllers'); // generate app.js var alloyJsPath = path.join(paths.app,'alloy.js'); var alloyJs = path.existsSync(alloyJsPath) ? fs.readFileSync(alloyJsPath,'utf8') : ''; var appJS = path.join(compileConfig.dir.resources,"app.js"); var code = _.template( fs.readFileSync(path.join(alloyRoot,'template','app.js'),'utf8'), {alloyJs:alloyJs} ); // trigger our custom compiler makefile var njs = compilerMakeFile.trigger("compile:app.js",_.extend(_.clone(compileConfig), {"code":code, "appJSFile" : path.resolve(appJS)})); if (njs) { code = njs; } fs.writeFileSync(appJS,code); logger.info("Compiling alloy to " + appJS.yellow); // BENCHMARK('generate app.js'); // optimize code optimizeCompiledCode(alloyConfig, paths); // BENCHMARK('optimize runtime code') // trigger our custom compiler makefile if (compilerMakeFile.isActive) { compilerMakeFile.trigger("post:compile",_.clone(compileConfig)); } // BENCHMARK('post:compile'); // // BENCHMARK('TOTAL', true); }; /////////////////////////////////////// ////////// private functions ////////// /////////////////////////////////////// function parseAlloyComponent(view,dir,manifest,noView) { var parseType = noView ? 'controller' : 'view'; // validate parameters if (!view) { U.die('Undefined ' + parseType + ' passed to parseAlloyComponent()'); } if (!dir) { U.die('Failed to parse ' + parseType + ' "' + view + '", no directory given'); } var basename = path.basename(view, '.' + CONST.FILE_EXT[parseType.toUpperCase()]); dirname = path.dirname(view).replace(/^(?:android|ios|mobileweb)[\\\/]*/,''), viewName = basename, template = { viewCode: '', controllerCode: '', modelVariable: CONST.BIND_MODEL_VAR, preCode: '', postCode: '', Widget: !manifest ? '' : "var " + CONST.WIDGET_OBJECT + " = new (require('alloy/widget'))('" + manifest.id + "');", WPATH: !manifest ? '' : _.template(fs.readFileSync(path.join(alloyRoot,'template','wpath.js'),'utf8'),{WIDGETID:manifest.id}) }, widgetDir = dirname ? path.join(CONST.DIR.COMPONENT,dirname) : CONST.DIR.COMPONENT, state = { parent: {} }, files = {}; // reset the bindings map CU.bindingsMap = {}; CU.destroyCode = ''; CU.postCode = ''; CU.currentManifest = manifest; // create a list of file paths searchPaths = noView ? ['CONTROLLER'] : ['VIEW','STYLE','CONTROLLER']; _.each(searchPaths, function(fileType) { // get the path values for the file var fileTypeRoot = path.join(dir,CONST.DIR[fileType]); var filename = viewName+'.'+CONST.FILE_EXT[fileType]; var filepath = dirname ? path.join(dirname,filename) : filename; // check for platform-specific versions of the file var baseFile = path.join(fileTypeRoot,filepath); if (buildPlatform) { var platformSpecificFile = path.join(fileTypeRoot,buildPlatform,filepath); if (path.existsSync(platformSpecificFile)) { files[fileType] = platformSpecificFile; return; } } files[fileType] = baseFile; }); files.COMPONENT = path.join(compileConfig.dir.resourcesAlloy,CONST.DIR.COMPONENT); if (dirname) { files.COMPONENT = path.join(files.COMPONENT,dirname); } files.COMPONENT = path.join(files.COMPONENT,viewName+'.js'); // we are processing a view, not just a controller if (!noView) { // validate view if (!path.existsSync(files.VIEW)) { logger.warn('No ' + CONST.FILE_EXT.VIEW + ' view file found for view ' + files.VIEW); return; } // Load the style and update the state if (path.existsSync(files.STYLE)) { logger.info(' style: "' + path.relative(path.join(dir,CONST.DIR.STYLE),files.STYLE) + '"'); } state.styles = CU.loadAndSortStyle(files.STYLE,manifest); if (theme && !manifest) { var themeStylesDir = path.join(compileConfig.dir.themes,theme,'styles'); var theStyle = dirname ? path.join(dirname,viewName+'.tss') : viewName+'.tss'; var themeStylesFile = path.join(themeStylesDir,theStyle); var psThemeStylesFile = path.join(themeStylesDir,buildPlatform,theStyle); if (path.existsSync(psThemeStylesFile)) { logger.info(' theme: "' + path.join(theme.toUpperCase(),buildPlatform,theStyle) + '"'); _.extend(state.styles, CU.loadAndSortStyle(psThemeStylesFile,manifest)); } else if (path.existsSync(themeStylesFile)) { logger.info(' theme: "' + path.join(theme.toUpperCase(),theStyle) + '"'); _.extend(state.styles, CU.loadAndSortStyle(themeStylesFile,manifest)); } } // Load view from file into an XML document root node try { logger.info(' view: "' + path.relative(path.join(dir,CONST.DIR.VIEW),files.VIEW)+ '"'); var docRoot = U.XML.getAlloyFromFile(files.VIEW); } catch (e) { U.die([ e.stack, 'Error parsing XML for view "' + view + '"' ]); } // make sure we have a Window, TabGroup, or SplitWindow var rootChildren = U.XML.getElementsFromNodes(docRoot.childNodes); if (viewName === 'index') { valid = [ 'Ti.UI.Window', 'Ti.UI.iPad.SplitWindow', 'Ti.UI.TabGroup', ].concat(CONST.MODEL_ELEMENTS); _.each(rootChildren, function(node) { var found = true; var args = CU.getParserArgs(node, {}, { doSetId: false }); if (args.fullname === 'Alloy.Require') { var inspect = CU.inspectRequireNode(node); for (var j = 0; j < inspect.names.length; j++) { if (!_.contains(valid, inspect.names[j])) { found = false; break; } } } else { found = _.contains(valid, args.fullname); } if (!found) { U.die([ 'Compile failed. index.xml must have a top-level container element.', 'Valid elements: [' + valid.join(',') + ']' ]); } }); } // process any model/collection nodes _.each(rootChildren, function(node, i) { var fullname = CU.getNodeFullname(node); var isModelElement = _.contains(CONST.MODEL_ELEMENTS,fullname); if (isModelElement) { var vCode = CU.generateNode(node, state, undefined, false, true); template.viewCode += vCode.content; template.preCode += vCode.pre; // remove the model/collection nodes when done docRoot.removeChild(node); } }); // rebuild the children list since model elements have been removed rootChildren = U.XML.getElementsFromNodes(docRoot.childNodes); // process the UI nodes var assignedDefaultId = false; _.each(rootChildren, function(node, i) { var defaultId = undefined; var fullname = CU.getNodeFullname(node); if (!assignedDefaultId) { assignedDefaultId = true; defaultId = viewName; } template.viewCode += CU.generateNode(node, createNewState(state.styles), defaultId, true); }); } // process the controller code if (path.existsSync(files.CONTROLLER)) { logger.info(' controller: "' + path.relative(path.join(dir,CONST.DIR.CONTROLLER),files.CONTROLLER) + '"'); } var cCode = CU.loadController(files.CONTROLLER); template.parentController = (cCode.parentControllerName != '') ? cCode.parentControllerName : "'BaseController'"; template.controllerCode += cCode.controller; template.preCode += cCode.pre; // process the bindingsMap, if it contains any data bindings var bTemplate = "$.<%= id %>.<%= prop %>=_.isFunction(<%= model %>.transform)?"; bTemplate += "<%= model %>.transform()['<%= attr %>']:<%= model %>.get('<%= attr %>');"; // for each model variable in the bindings map... _.each(CU.bindingsMap, function(mapping,modelVar) { // open the model binding handler var handlerVar = CU.generateUniqueId(); template.viewCode += 'var ' + handlerVar + '=function() {'; CU.destroyCode += modelVar + ".off('" + CONST.MODEL_BINDING_EVENTS + "'," + handlerVar + ");"; // for each specific conditional within the bindings map.... _.each(_.groupBy(mapping, function(b) { return b.condition; }), function(bindings,condition) { var bCode = ''; // for each binding belonging to this model/conditional pair... _.each(bindings, function(binding) { bCode += _.template(bTemplate, { id: binding.id, prop: binding.prop, model: modelVar, attr: binding.attr }); }); // if this is a legit conditional, wrap the binding code in it if (typeof condition !== 'undefined' && condition !== 'undefined') { bCode = 'if(' + condition + '){' + bCode + '}'; } template.viewCode += bCode; }); template.viewCode += "};"; template.viewCode += modelVar + ".on('" + CONST.MODEL_BINDING_EVENTS + "'," + handlerVar + ");"; }); // add destroy() function to view for cleaning up bindings template.viewCode += 'exports.destroy=function(){' + CU.destroyCode + '};'; // add any postCode after the controller code template.postCode += CU.postCode; // create generated controller module code for this view/controller or widget var code = _.template(fs.readFileSync(path.join(compileConfig.dir.template, 'component.js'), 'utf8'), template); // Write the view or widget to its runtime file if (manifest) { wrench.mkdirSyncRecursive(path.join(compileConfig.dir.resourcesAlloy, CONST.DIR.WIDGET, manifest.id, widgetDir), 0777); CU.copyWidgetResources( [path.join(dir,CONST.DIR.ASSETS), path.join(dir,CONST.DIR.LIB)], compileConfig.dir.resources, manifest.id ); fs.writeFileSync(path.join(compileConfig.dir.resourcesAlloy, CONST.DIR.WIDGET, manifest.id, widgetDir, viewName + '.js'), code); } else { wrench.mkdirSyncRecursive(path.dirname(files.COMPONENT), 0777); fs.writeFileSync(files.COMPONENT, code); } } function createNewState(styles) { return { parent: {}, styles: styles } } function findModelMigrations(name, inDir) { try { var migrationsDir = inDir || compileConfig.dir.migrations; var files = fs.readdirSync(migrationsDir); var part = '_'+name+'.'+CONST.FILE_EXT.MIGRATION; // look for our model files = _.reject(files,function(f) { return f.indexOf(part)==-1}); // sort them in the oldest order first files = files.sort(function(a,b){ var x = a.substring(0,a.length - part.length -1); var y = b.substring(0,b.length - part.length -1); if (x<y) return -1; if (x>y) return 1; return 0; }); var codes = []; _.each(files,function(f) { var mf = path.join(migrationsDir,f); var m = fs.readFileSync(mf,'utf8'); var code = "(function(migration){\n "+ "migration.name = '" + name + "';\n" + "migration.id = '" + f.substring(0,f.length-part.length).replace(/_/g,'') + "';\n" + m + "})"; codes.push(code); }); logger.info("Found " + codes.length + " migrations for model: "+name.yellow); return codes; } catch(E) { return []; } } function processModels(dirs) { var models = []; var modelTemplateFile = path.join(alloyRoot,'template','model.js'); _.each(dirs, function(dirObj) { var modelDir = path.join(dirObj.dir,CONST.DIR.MODEL); if (!fs.existsSync(modelDir)) { return; } var migrationDir = path.join(dirObj.dir,CONST.DIR.MIGRATION); var manifest = dirObj.manifest; var isWidget = typeof manifest !== 'undefined' && manifest !== null; var pathPrefix = isWidget ? 'widgets/' + manifest.id + '/': ''; _.each(fs.readdirSync(modelDir), function(file) { if (!modelRegex.test(file)) { logger.warn('Non-model file "' + file + '" in ' + pathPrefix + 'models directory'); return; } logger.info('[' + pathPrefix + 'models/' + file + '] model processing...'); var fullpath = path.join(modelDir,file); var basename = path.basename(fullpath, '.'+CONST.FILE_EXT.MODEL); // generate model code based on model.js template and migrations var code = _.template(fs.readFileSync(modelTemplateFile,'utf8'), { basename: basename, modelJs: fs.readFileSync(fullpath,'utf8'), migrations: findModelMigrations(basename, migrationDir) }); // write the model to the runtime file var casedBasename = U.properCase(basename); var modelRuntimeDir = path.join(compileConfig.dir.resourcesAlloy,'models'); if (isWidget) { modelRuntimeDir = path.join(compileConfig.dir.resourcesAlloy,'widgets',manifest.id,'models'); } wrench.mkdirSyncRecursive(modelRuntimeDir, 0777); fs.writeFileSync(path.join(modelRuntimeDir,casedBasename+'.js'), code); models.push(casedBasename); }); }); return models; }; function loadGlobalStyles(appPath, theme) { var appGlobal = path.join(appPath,CONST.DIR.STYLE,CONST.GLOBAL_STYLE); var themeGlobal = path.join(appPath,'themes',theme,CONST.DIR.STYLE,CONST.GLOBAL_STYLE); compileConfig.globalStyle = {}; if (path.existsSync(appGlobal)) { logger.info('[app.tss] global style processing...'); compileConfig.globalStyle = _.extend(compileConfig.globalStyle, CU.loadStyle(appGlobal)); } if (theme && path.existsSync(themeGlobal)) { logger.info('[app.tss (theme:' + theme + ')] global style processing...'); compileConfig.globalStyle = _.extend(compileConfig.globalStyle, CU.loadStyle(themeGlobal)); } } function optimizeCompiledCode() { var mods = [ 'builtins', 'mangle', 'optimizer', 'squeeze' ], modLocation = './ast/'; report = {}; function getJsFiles() { return _.filter(wrench.readdirSyncRecursive(compileConfig.dir.resources), function(f) { return /\.js\s*$/.test(f); }); } var lastFiles = [], files; while((files = _.difference(getJsFiles(),lastFiles)).length > 0) { _.each(files, function(file) { // generate AST from file var fullpath = path.join(compileConfig.dir.resources,file); logger.info('Parsing AST for "' + file + '"...'); try { var ast = jsp.parse(fs.readFileSync(fullpath,'utf8')); } catch (e) { U.die('Error generating AST for "' + fullpath + '"', e); } // process all AST operations _.each(mods, function(mod) { //logger.debug('- Processing "' + mod + '" module...'); ast = require(modLocation+mod).process(ast, compileConfig, report) || ast; }); fs.writeFileSync(fullpath, CU.generateCode(ast)); }); // Combine lastFiles and files, so on the next iteration we can make sure that the // list of files to be processed has not grown, like in the case of builtins. lastFiles = _.union(lastFiles, files); } } function BENCHMARK(desc, isFinished) { var places = Math.pow(10,5); desc || (desc = '<no description>'); if (times.first === null) { times.first = process.hrtime(); return; } function hrtimeInSeconds(t) { return t[0] + (t[1] / 1000000000); } var total = process.hrtime(times.first); var current = hrtimeInSeconds(total) - (times.last ? hrtimeInSeconds(times.last) : 0); times.last = total; times.msgs.push('[' + Math.round((isFinished ? hrtimeInSeconds(total) : current)*places)/places + 's] ' + desc); if (isFinished) { logger.trace(' '); logger.trace('Benchmarking'); logger.trace('------------'); logger.trace(times.msgs); } }
35.58626
137
0.670814
b430ac1e0cfe230c24642cf3a04c14c116ce46ec
1,784
js
JavaScript
documentation/js/lazy-load-graphs.js
neerajsonii/nestjs-mysql-codebase
6e1317f7bf0deb785e43705a2d92705a5528afb2
[ "MIT" ]
4
2021-06-10T13:19:10.000Z
2021-08-18T08:32:01.000Z
documentation/js/lazy-load-graphs.js
neerajsonii/nestjs-mysql-codebase
6e1317f7bf0deb785e43705a2d92705a5528afb2
[ "MIT" ]
null
null
null
documentation/js/lazy-load-graphs.js
neerajsonii/nestjs-mysql-codebase
6e1317f7bf0deb785e43705a2d92705a5528afb2
[ "MIT" ]
null
null
null
document.addEventListener('DOMContentLoaded', function() { var lazyGraphs = [].slice.call(document.querySelectorAll('[lazy]')); var active = false; var lazyLoad = function() { if (active === false) { active = true; setTimeout(function() { lazyGraphs.forEach(function(lazyGraph) { if ( lazyGraph.getBoundingClientRect().top <= window.innerHeight && lazyGraph.getBoundingClientRect().bottom >= 0 && getComputedStyle(lazyGraph).display !== 'none' ) { lazyGraph.data = lazyGraph.getAttribute('lazy'); lazyGraph.removeAttribute('lazy'); lazyGraphs = lazyGraphs.filter(function(image) { return image !== lazyGraph; }); if (lazyGraphs.length === 0) { document.removeEventListener('scroll', lazyLoad); window.removeEventListener('resize', lazyLoad); window.removeEventListener( 'orientationchange', lazyLoad ); } } }); active = false; }, 200); } }; // initial load lazyLoad(); var container = document.querySelector('.container-fluid.modules'); if (container) { container.addEventListener('scroll', lazyLoad); window.addEventListener('resize', lazyLoad); window.addEventListener('orientationchange', lazyLoad); } });
35.68
77
0.462444
b430ac2ef0a2aa9e74cf999cd24b4cdbbb5bc4e9
453
js
JavaScript
server/apollo/index.js
MeinLieblingsmensch/Encora
3d273e138d10fd67503da3cbfc6c99f40832c313
[ "MIT" ]
2
2020-01-26T01:57:21.000Z
2020-04-15T18:08:43.000Z
server/apollo/index.js
MeinLieblingsmensch/Encora
3d273e138d10fd67503da3cbfc6c99f40832c313
[ "MIT" ]
10
2021-03-01T20:53:11.000Z
2022-02-26T01:46:33.000Z
server/apollo/index.js
itsezc/Encora
3d273e138d10fd67503da3cbfc6c99f40832c313
[ "MIT" ]
null
null
null
// @flow import { ApolloServer } from 'apollo-server' export const init = (resolvers: ?Object, typeDefs: ?Object, schema: ?Object) => { return new ApolloServer({ resolvers, typeDefs, context: ({ req }) => req, cacheControl: { defaultMaxAge: 1 } }) } export const start = (server, port: ?number = 8086) => { return server .listen(port) .then(( info ) => console.log(`ENCORA - Apollo GraphQL server started on port ${info.port}`)) }
22.65
95
0.646799
b430b98dca6557617b9f07b2817f3cddf98db9d7
3,440
js
JavaScript
frontend/src/lib/components/PropertyFilters/components/FilterRow.js
FarazPatankar/posthog
dddf2644376d0fd6836ed96c139f6a825c74202f
[ "MIT" ]
1
2020-07-20T17:32:05.000Z
2020-07-20T17:32:05.000Z
frontend/src/lib/components/PropertyFilters/components/FilterRow.js
FarazPatankar/posthog
dddf2644376d0fd6836ed96c139f6a825c74202f
[ "MIT" ]
1
2021-10-13T10:05:26.000Z
2021-10-13T10:05:26.000Z
frontend/src/lib/components/PropertyFilters/components/FilterRow.js
FarazPatankar/posthog
dddf2644376d0fd6836ed96c139f6a825c74202f
[ "MIT" ]
null
null
null
import React, { useState } from 'react' import { PropertyFilter } from './PropertyFilter' import { Button } from 'antd' import { useActions } from 'kea' import { Popover, Row } from 'antd' import { CloseButton } from 'lib/components/CloseButton' import PropertyFilterButton from './PropertyFilterButton' import 'scenes/actions/Actions.scss' export const FilterRow = React.memo(function FilterRow({ item, index, filters, logic, pageKey, showConditionBadge, totalCount, disablePopover = false, // use bare PropertyFilter without popover popoverPlacement, }) { const { remove } = useActions(logic) let [open, setOpen] = useState(false) const { key } = item let handleVisibleChange = (visible) => { if (!visible && Object.keys(item).length >= 0 && !item[Object.keys(item)[0]]) { remove(index) } setOpen(visible) } const propertyFilterCommonProps = { key: index, index, onComplete: () => setOpen(false), logic, selectProps: { delayBeforeAutoOpen: 150, }, } return ( <Row align="middle" className="mt-05 mb-05" data-attr={'property-filter-' + index} style={{ maxWidth: '90vw', margin: '0.25rem 0', padding: '0.25rem 0', }} wrap={false} > {disablePopover ? ( <> <PropertyFilter {...propertyFilterCommonProps} variant="unified" /> {!!Object.keys(filters[index]).length && ( <CloseButton onClick={() => remove(index)} style={{ cursor: 'pointer', float: 'none', paddingLeft: 8 }} /> )} </> ) : ( <> <Popover trigger="click" onVisibleChange={handleVisibleChange} destroyTooltipOnHide={true} defaultVisible={false} visible={open} placement={popoverPlacement || 'bottomLeft'} content={<PropertyFilter {...propertyFilterCommonProps} variant="tabs" />} > {key ? ( <PropertyFilterButton onClick={() => setOpen(!open)} item={item} /> ) : ( <Button type="default" shape="round" data-attr={'new-prop-filter-' + pageKey}> Add filter </Button> )} </Popover> {!!Object.keys(filters[index]).length && ( <CloseButton className="ml-1" onClick={() => remove(index)} style={{ cursor: 'pointer', float: 'none', marginLeft: 5 }} /> )} </> )} {key && showConditionBadge && index + 1 < totalCount && ( <span style={{ marginLeft: 16, right: 16, position: 'absolute' }} className="stateful-badge and"> AND </span> )} </Row> ) })
34.4
113
0.444477
b4312e4d7b1cd224ab756f158ad7124c683d9fa7
30,653
js
JavaScript
src/store/reducers/workPeriods.js
MadOPcode/micro-frontends-taas-admin-app
233fbbbb18f9424b01cb941359c24995dfcf7314
[ "MIT" ]
null
null
null
src/store/reducers/workPeriods.js
MadOPcode/micro-frontends-taas-admin-app
233fbbbb18f9424b01cb941359c24995dfcf7314
[ "MIT" ]
77
2021-06-01T10:00:10.000Z
2021-09-03T05:50:20.000Z
src/store/reducers/workPeriods.js
MadOPcode/micro-frontends-taas-admin-app
233fbbbb18f9424b01cb941359c24995dfcf7314
[ "MIT" ]
7
2021-05-29T12:33:29.000Z
2021-08-12T16:45:53.000Z
import moment from "moment"; import * as ACTION_TYPE from "store/actionTypes/workPeriods"; import { BILLING_ACCOUNTS_NONE, BILLING_ACCOUNTS_LOADING, BILLING_ACCOUNTS_ERROR, PAYMENT_STATUS, SORT_BY, SORT_BY_DEFAULT, SORT_ORDER, SORT_ORDER_DEFAULT, URL_QUERY_PARAM_MAP, REASON_DISABLED, ALERT, DAYS_WORKED_HARD_LIMIT, } from "constants/workPeriods"; import { filterPeriodsByStartDate, getWeekByDate, updateOptionMap, } from "utils/misc"; import { addValueImmutable, computeDaysWorkedMax, createPeriodAlerts, createAssignedBillingAccountOption, findReasonsDisabled, removeValueImmutable, } from "utils/workPeriods"; const cancelSourceDummy = { cancel: () => {} }; const PAGE_SIZES = [10, 20, 50, 100]; const initPagination = () => ({ totalCount: 0, pageCount: 0, pageNumber: 1, pageSize: +sessionStorage.getItem("workPeriods.pagination.pageSize") || 10, }); const initFilters = () => ({ dateRange: getWeekByDate(moment()), onlyFailedPayments: false, paymentStatuses: {}, // all disabled by default alertOptions: {}, userHandle: "", }); const initPeriodData = (period) => { const data = period.data; data.cancelSource = null; data.daysWorkedIsUpdated = false; return data; }; const initPeriodDetails = ( billingAccountId = 0, cancelSource = cancelSourceDummy ) => ({ cancelSource, billingAccounts: [ { value: billingAccountId, label: BILLING_ACCOUNTS_LOADING }, ], billingAccountsError: null, billingAccountsIsDisabled: true, billingAccountsIsLoading: true, hidePastPeriods: false, periods: [], periodsVisible: [], periodsIsLoading: true, }); const initialState = updateStateFromQuery(window.location.search, { cancelSource: cancelSourceDummy, error: null, filters: initFilters(), isProcessingPayments: false, isSelectedPeriodsAll: false, isSelectedPeriodsVisible: false, pagination: initPagination(), periods: [], periodsAlerts: {}, periodsById: {}, periodsData: [{}], periodsDetails: {}, periodsDisabled: [new Map()], periodsFailed: {}, periodsSelected: [new Set()], sorting: { criteria: SORT_BY_DEFAULT, order: SORT_ORDER_DEFAULT, }, }); const reducer = (state = initialState, action) => { if (action.type in actionHandlers) { return actionHandlers[action.type](state, action.payload); } return state; }; const actionHandlers = { [ACTION_TYPE.WP_LOAD_PAGE_PENDING]: (state, cancelSource) => ({ ...state, cancelSource, error: null, isSelectedPeriodsAll: false, isSelectedPeriodsVisible: false, periods: [], periodsAlerts: {}, periodsById: {}, periodsData: [{}], periodsDetails: {}, periodsDisabled: [new Map()], periodsFailed: {}, periodsSelected: [new Set()], }), [ACTION_TYPE.WP_LOAD_PAGE_SUCCESS]: ( state, { periods, totalCount, pageCount } ) => { const oldPagination = state.pagination; const pagination = oldPagination.totalCount !== totalCount || oldPagination.pageCount !== pageCount ? { ...oldPagination, totalCount, pageCount } : oldPagination; const periodsAlerts = {}; const periodsById = {}; const periodsData = {}; const periodsDisabledMap = new Map(); const dateRange = state.filters.dateRange; const periodStart = dateRange[0]; const periodEnd = dateRange[1]; for (let period of periods) { periodsById[period.id] = true; let periodData = initPeriodData(period); let daysWorkedMax = computeDaysWorkedMax( period.bookingStart, period.bookingEnd, periodStart, periodEnd ); periodData.daysWorkedAllowExtra = periodData.daysWorked > daysWorkedMax; periodData.daysWorkedMax = daysWorkedMax; periodsData[period.id] = periodData; let reasonsDisabled = findReasonsDisabled(period, dateRange); if (reasonsDisabled) { periodsDisabledMap.set(period.id, reasonsDisabled); } let alerts = createPeriodAlerts(period, periodEnd); if (alerts) { periodsAlerts[period.id] = alerts; } delete period.data; } return { ...state, cancelSource: null, error: null, pagination, periods, periodsAlerts, periodsById, periodsData: [periodsData], periodsDisabled: [periodsDisabledMap], }; }, [ACTION_TYPE.WP_LOAD_PAGE_ERROR]: (state, error) => { console.error(error.message); return { ...state, cancelSource: null, error: error.message, }; }, [ACTION_TYPE.WP_HIDE_PERIOD_DETAILS]: (state, periodId) => { const periodsDetails = { ...state.periodsDetails }; delete periodsDetails[periodId]; return { ...state, periodsDetails, }; }, [ACTION_TYPE.WP_HIGHLIGHT_FAILED_PERIODS]: (state, periods) => { const periodIds = Object.keys(periods); if (!periodIds.length) { return state; } const periodsFailed = {}; const periodsSelectedSet = state.periodsSelected[0]; const oldPeriodsSelectedCount = periodsSelectedSet.size; for (let periodId of periodIds) { let error = periods[periodId]; if (error) { periodsFailed[periodId] = error; periodsSelectedSet.add(periodId); } else { periodsSelectedSet.delete(periodId); } } state = { ...state, periodsFailed, }; if (periodsSelectedSet.size !== oldPeriodsSelectedCount) { state.periodsSelected = [periodsSelectedSet]; updateSelectedPeriodsFlags(state); } return state; }, [ACTION_TYPE.WP_LOAD_PERIOD_DETAILS_PENDING]: ( state, { period, cancelSource } ) => { const periodsDetails = { ...state.periodsDetails }; periodsDetails[period.id] = initPeriodDetails( period.billingAccountId, cancelSource ); return { ...state, periodsDetails, }; }, [ACTION_TYPE.WP_LOAD_PERIOD_DETAILS_SUCCESS]: ( state, { periodId, details } ) => { const periodsDetails = state.periodsDetails; let periodDetails = periodsDetails[periodId]; // period details object must already be initialized if (!periodDetails) { // This branch should not be reachable but just in case. return state; } const periods = state.periods; let period = null; for (let i = 0, len = periods.length; i < len; i++) { period = periods[i]; if (period.id === periodId) { break; } } const { bookingStart, bookingEnd } = period; const periodsData = state.periodsData[0]; for (let period of details.periods) { let periodData = initPeriodData(period); let daysWorkedMax = computeDaysWorkedMax( bookingStart, bookingEnd, period.start, period.end ); periodData.daysWorkedAllowExtra = periodData.daysWorked > daysWorkedMax; periodData.daysWorkedMax = daysWorkedMax; periodsData[period.id] = periodData; delete period.data; } periodDetails = { ...periodDetails, periods: details.periods, periodsIsLoading: false, }; if (!periodDetails.billingAccountsIsLoading) { periodDetails.cancelSource = null; } if (periodDetails.hidePastPeriods) { periodDetails.periodsVisible = filterPeriodsByStartDate( periodDetails.periods, state.filters.dateRange[0] ); } else { periodDetails.periodsVisible = periodDetails.periods; } periodsDetails[periodId] = periodDetails; return { ...state, periodsData: [periodsData], periodsDetails: { ...periodsDetails }, }; }, [ACTION_TYPE.WP_LOAD_PERIOD_DETAILS_ERROR]: ( state, { periodId, message } ) => { const periodsDetails = { ...state.periodsDetails }; // No periods to show so we just hide period details. delete periodsDetails[periodId]; console.error(message); return { ...state, periodsDetails, }; }, [ACTION_TYPE.WP_LOAD_BILLING_ACCOUNTS_SUCCESS]: ( state, { period, accounts } ) => { const periodsDetails = state.periodsDetails; let periodDetails = periodsDetails[period.id]; if (!periodDetails) { // Period details may be removed at this point so we must handle this case. return state; } let accountId = period.billingAccountId; let hasAssignedAccount = false; for (let account of accounts) { if (account.value === accountId) { hasAssignedAccount = true; break; } } if (accountId > 0 && !hasAssignedAccount) { accounts.unshift(createAssignedBillingAccountOption(accountId)); } let billingAccountsIsDisabled = false; if (!accounts.length) { accounts.push({ value: accountId, label: BILLING_ACCOUNTS_NONE }); billingAccountsIsDisabled = true; } periodDetails = { ...periodDetails, billingAccounts: accounts, billingAccountsError: null, billingAccountsIsDisabled, billingAccountsIsLoading: false, }; if (!periodDetails.periodsIsLoading) { periodDetails.cancelSource = null; } periodsDetails[period.id] = periodDetails; return { ...state, periodsDetails: { ...periodsDetails }, }; }, [ACTION_TYPE.WP_LOAD_BILLING_ACCOUNTS_ERROR]: ( state, { period, message } ) => { const periodsDetails = state.periodsDetails; let periodDetails = periodsDetails[period.id]; if (!periodDetails) { return state; } let billingAccounts = []; let billingAccountsIsDisabled = true; let accountId = period.billingAccountId; if (accountId) { billingAccounts.push(createAssignedBillingAccountOption(accountId)); billingAccountsIsDisabled = false; } else { billingAccounts.push({ value: accountId, label: BILLING_ACCOUNTS_ERROR }); } periodDetails = { ...periodDetails, billingAccounts, billingAccountsError: message, billingAccountsIsDisabled, billingAccountsIsLoading: false, }; if (!periodDetails.periodsIsLoading) { periodDetails.cancelSource = null; } periodsDetails[period.id] = periodDetails; return { ...state, periodsDetails: { ...periodsDetails }, }; }, [ACTION_TYPE.WP_SET_BILLING_ACCOUNT]: (state, { periodId, accountId }) => { const periods = state.periods; for (let i = 0, len = periods.length; i < len; i++) { let period = periods[i]; if (period.id === periodId) { periods[i] = { ...period, billingAccountId: accountId }; break; } } state = { ...state, periods: [...periods], }; // updating reasons for which the period's selection may be disabled const periodsDisabledMap = state.periodsDisabled[0]; const oldReasonsDisabled = periodsDisabledMap.get(periodId); const reasonsDisabled = removeValueImmutable( oldReasonsDisabled, REASON_DISABLED.NO_BILLING_ACCOUNT ); if (oldReasonsDisabled !== reasonsDisabled) { if (reasonsDisabled) { periodsDisabledMap.set(periodId, reasonsDisabled); } else { periodsDisabledMap.delete(periodId); } state.periodsDisabled = [periodsDisabledMap]; updateSelectedPeriodsFlags(state); } // updating period's alerts const periodsAlerts = state.periodsAlerts; const oldAlerts = periodsAlerts[periodId]; const alerts = removeValueImmutable(oldAlerts, ALERT.BA_NOT_ASSIGNED); if (oldAlerts !== alerts) { if (alerts) { periodsAlerts[periodId] = alerts; } else { delete periodsAlerts[periodId]; } state.periodsAlerts = { ...periodsAlerts }; } return state; }, [ACTION_TYPE.WP_SET_DETAILS_HIDE_PAST_PERIODS]: ( state, { periodId, hide } ) => { const periodsDetails = { ...state.periodsDetails }; let periodDetails = periodsDetails[periodId]; if (!periodDetails) { return state; } periodDetails = { ...periodDetails, hidePastPeriods: hide }; if (hide) { periodDetails.periodsVisible = filterPeriodsByStartDate( periodDetails.periods, state.filters.dateRange[0] ); } else { periodDetails.periodsVisible = periodDetails.periods; } periodsDetails[periodId] = periodDetails; return { ...state, periodsDetails, }; }, [ACTION_TYPE.WP_SET_DETAILS_WORKING_DAYS]: ( state, { periodId, daysWorked } ) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } daysWorked = Math.min( Math.max(daysWorked, periodData.daysPaid), DAYS_WORKED_HARD_LIMIT ); if (daysWorked === periodData.daysWorked) { return state; } periodsData[periodId] = { ...periodData, daysWorked, daysWorkedAllowExtra: daysWorked <= periodData.daysWorkedMax ? false : periodData.daysWorkedAllowExtra, }; state = { ...state, periodsData: [periodsData], }; return periodId in state.periodsById ? updateStateAfterWorkingDaysChange(periodId, state) : state; }, [ACTION_TYPE.WP_RESET_FILTERS]: (state) => ({ ...state, filters: initFilters(), pagination: { ...state.pagination, pageNumber: 1, }, }), [ACTION_TYPE.WP_SET_DATE_RANGE]: (state, date) => { const oldRange = state.filters.dateRange; const range = getWeekByDate(date); if (range[0].isSame(oldRange[0]) && range[1].isSame(oldRange[1])) { return state; } return { ...state, filters: { ...state.filters, dateRange: range, }, pagination: { ...state.pagination, pageNumber: 1, }, }; }, [ACTION_TYPE.WP_SELECT_PERIODS]: (state, periods) => { const periodsSelectedSet = state.periodsSelected[0]; for (let periodId in periods) { if (periods[periodId] === true) { periodsSelectedSet.add(periodId); } else { periodsSelectedSet.delete(periodId); } } state = { ...state, periodsSelected: [periodsSelectedSet], }; return updateSelectedPeriodsFlags(state); }, [ACTION_TYPE.WP_SET_PAGE_NUMBER]: (state, pageNumber) => ({ ...state, pagination: pageNumber === state.pagination.pageNumber ? state.pagination : { ...state.pagination, pageNumber }, }), [ACTION_TYPE.WP_SET_PAGE_SIZE]: (state, pageSize) => ({ ...state, pagination: pageSize === state.pagination.pageSize ? state.pagination : { ...state.pagination, pageSize, pageNumber: 1 }, }), [ACTION_TYPE.WP_SET_SORT_BY]: (state, criteria) => ({ ...state, pagination: { ...state.pagination, pageNumber: 1, }, sorting: { ...state.sorting, criteria, }, }), [ACTION_TYPE.WP_SET_SORTING]: (state, { sortBy, sortOrder }) => { if (!sortOrder) { sortOrder = SORT_ORDER_DEFAULT; sortBy = SORT_BY_DEFAULT; } if (!sortBy) { sortBy = SORT_BY_DEFAULT; } return { ...state, pagination: { ...state.pagination, pageNumber: 1, }, sorting: { criteria: sortBy, order: sortOrder, }, }; }, [ACTION_TYPE.WP_SET_PAYMENT_STATUSES]: (state, paymentStatuses) => ({ ...state, filters: { ...state.filters, paymentStatuses: updateOptionMap( state.filters.paymentStatuses, paymentStatuses ), }, pagination: { ...state.pagination, pageNumber: 1, }, }), [ACTION_TYPE.WP_SET_ALERT_OPTION]: (state, alertOptions) => ({ ...state, filters: { ...state.filters, alertOptions: updateOptionMap(state.filters.alertOptions, alertOptions), }, pagination: { ...state.pagination, pageNumber: 1, }, }), [ACTION_TYPE.WP_SET_USER_HANDLE]: (state, userHandle) => { if (userHandle === state.filters.userHandle) { return state; } return { ...state, filters: { ...state.filters, userHandle, }, pagination: { ...state.pagination, pageNumber: 1, }, }; }, [ACTION_TYPE.WP_SET_PERIOD_DATA_PENDING]: ( state, { periodId, cancelSource } ) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, cancelSource, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_SET_PERIOD_DATA_SUCCESS]: (state, { periodId, data }) => { const periodsData = state.periodsData[0]; let periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, ...data, cancelSource: null, }; state = { ...state, periodsData: [periodsData], }; return periodId in state.periodsById ? updateStateAfterWorkingDaysChange(periodId, state) : state; }, [ACTION_TYPE.WP_SET_PERIOD_DATA_ERROR]: (state, { periodId, message }) => { console.error(message); const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, cancelSource: null, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_SET_PERIOD_PAYMENTS]: (state, { periodId, payments }) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, payments, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_SET_PAYMENT_DATA]: (state, paymentData) => { const periodId = paymentData.workPeriodId; const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } const paymentId = paymentData.id; const payments = periodData.payments; let lastFailedPayment = null; for (let i = 0, len = payments.length; i < len; i++) { let payment = payments[i]; if (payment.id === paymentId) { payments[i] = paymentData; periodData.payments = [...payments]; } if (payment.status === PAYMENT_STATUS.FAILED) { lastFailedPayment = payment; } } periodsData[periodId] = { ...periodData, paymentErrorLast: lastFailedPayment?.statusDetails, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_SET_WORKING_DAYS]: (state, { periodId, daysWorked }) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } daysWorked = Math.min( Math.max(daysWorked, periodData.daysPaid), DAYS_WORKED_HARD_LIMIT ); if (daysWorked === periodData.daysWorked) { return state; } periodsData[periodId] = { ...periodData, daysWorked, daysWorkedAllowExtra: daysWorked <= periodData.daysWorkedMax ? false : periodData.daysWorkedAllowExtra, }; return updateStateAfterWorkingDaysChange(periodId, { ...state, periodsData: [periodsData], }); }, [ACTION_TYPE.WP_SET_WORKING_DAYS_PENDING]: ( state, { periodId, cancelSource } ) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, cancelSource, daysWorkedIsUpdated: false, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_SET_WORKING_DAYS_SUCCESS]: (state, { periodId, data }) => { const periodsData = state.periodsData[0]; let periodData = periodsData[periodId]; if (!periodData) { return state; } periodData = periodsData[periodId] = { ...periodData, ...data, cancelSource: null, daysWorkedIsUpdated: true, }; state = { ...state, periodsData: [periodsData], }; return periodId in state.periodsById ? updateStateAfterWorkingDaysChange(periodId, state) : state; }, [ACTION_TYPE.WP_SET_WORKING_DAYS_ERROR]: (state, { periodId, message }) => { console.error(message); const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData) { return state; } periodsData[periodId] = { ...periodData, cancelSource: null, daysWorkedIsUpdated: false, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_TOGGLE_ONLY_FAILED_PAYMENTS]: (state, on) => { const filters = state.filters; on = on === null ? !filters.onlyFailedPayments : on; if (on === filters.onlyFailedPayments) { return state; } return { ...state, filters: { ...filters, onlyFailedPayments: on, }, pagination: { ...state.pagination, pageNumber: 1, }, }; }, [ACTION_TYPE.WP_TOGGLE_PERIOD]: (state, periodId) => { const periodsSelectedSet = state.periodsSelected[0]; if (periodsSelectedSet.has(periodId)) { periodsSelectedSet.delete(periodId); } else { periodsSelectedSet.add(periodId); } return updateSelectedPeriodsFlags({ ...state, periodsSelected: [periodsSelectedSet], }); }, [ACTION_TYPE.WP_TOGGLE_PERIODS_ALL]: (state, on) => { const periodsSelectedSet = new Set(); const isSelected = on === null ? !state.isSelectedPeriodsAll : on; if (isSelected) { const periodsDisabledMap = state.periodsDisabled[0]; for (let period of state.periods) { let periodId = period.id; if (!periodsDisabledMap.has(periodId)) { periodsSelectedSet.add(periodId); } } } return { ...state, periodsSelected: [periodsSelectedSet], isSelectedPeriodsAll: isSelected, isSelectedPeriodsVisible: isSelected, }; }, [ACTION_TYPE.WP_TOGGLE_PERIODS_VISIBLE]: (state, on) => { const periodsSelectedSet = new Set(); let isSelectedPeriodsAll = false; const isSelectedPeriodsVisible = on === null ? !state.isSelectedPeriodsVisible : on; if (isSelectedPeriodsVisible) { const periodsDisabledMap = state.periodsDisabled[0]; for (let period of state.periods) { let periodId = period.id; if (!periodsDisabledMap.has(periodId)) { periodsSelectedSet.add(periodId); } } isSelectedPeriodsAll = state.periods.length === state.pagination.totalCount; } return { ...state, periodsSelected: [periodsSelectedSet], isSelectedPeriodsAll, isSelectedPeriodsVisible, }; }, [ACTION_TYPE.WP_TOGGLE_WORKING_DAYS_EXTRA]: (state, { periodId, on }) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; on = on === null ? !periodData.daysWorkedAllowExtra : on; if (!periodData || periodData.daysWorkedAllowExtra === on) { return state; } periodsData[periodId] = { ...periodData, daysWorkedAllowExtra: on, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_TOGGLE_WORKING_DAYS_UPDATED]: (state, { periodId, on }) => { const periodsData = state.periodsData[0]; const periodData = periodsData[periodId]; if (!periodData || periodData.daysWorkedIsUpdated === on) { return state; } periodsData[periodId] = { ...periodData, daysWorkedIsUpdated: on, }; return { ...state, periodsData: [periodsData], }; }, [ACTION_TYPE.WP_TOGGLE_PROCESSING_PAYMENTS]: (state, on) => { let periodsFailed = state.periodsFailed; let isProcessingPayments = on === null ? !state.isProcessingPayments : on; if (isProcessingPayments) { periodsFailed = {}; } return { ...state, periodsFailed, isProcessingPayments, }; }, [ACTION_TYPE.WP_UPDATE_STATE_FROM_QUERY]: (state, query) => updateStateFromQuery(query, state), }; function updateStateAfterWorkingDaysChange(periodId, state) { const periodData = state.periodsData[0][periodId]; const periodsDisabledMap = state.periodsDisabled[0]; const oldReasonsDisabled = periodsDisabledMap.get(periodId); let reasonsDisabled = periodData.daysWorked === periodData.daysPaid ? addValueImmutable( oldReasonsDisabled, REASON_DISABLED.NO_DAYS_TO_PAY_FOR ) : removeValueImmutable( oldReasonsDisabled, REASON_DISABLED.NO_DAYS_TO_PAY_FOR ); if (oldReasonsDisabled !== reasonsDisabled) { const periodsSelectedSet = state.periodsSelected[0]; const oldPeriodsSelectedCount = periodsSelectedSet.size; if (reasonsDisabled) { periodsDisabledMap.set(periodId, reasonsDisabled); periodsSelectedSet.delete(periodId); } else { periodsDisabledMap.delete(periodId); } state.periodsDisabled = [periodsDisabledMap]; if (periodsSelectedSet.size !== oldPeriodsSelectedCount) { state.periodsSelected = [periodsSelectedSet]; } updateSelectedPeriodsFlags(state); } return state; } function updateSelectedPeriodsFlags(state) { let isSelectedPeriodsAll = state.isSelectedPeriodsAll; let isSelectedPeriodsVisible = state.isSelectedPeriodsVisible; const selectedCount = state.periodsSelected[0].size; const pageSize = state.pagination.pageSize; const totalCount = state.pagination.totalCount; const maxSelectedOnPageCount = Math.min(pageSize, totalCount) - state.periodsDisabled[0].size; if (totalCount > pageSize) { if (selectedCount === maxSelectedOnPageCount) { isSelectedPeriodsVisible = true; } else { isSelectedPeriodsAll = false; isSelectedPeriodsVisible = false; } } else if (selectedCount === maxSelectedOnPageCount) { isSelectedPeriodsAll = true; isSelectedPeriodsVisible = true; } else { isSelectedPeriodsAll = false; isSelectedPeriodsVisible = false; } state.isSelectedPeriodsAll = isSelectedPeriodsAll; state.isSelectedPeriodsVisible = isSelectedPeriodsVisible; return state; } /** * Updates state from current URL's query. * * @param {string} queryStr query string * @param {Object} state working periods' state slice * @returns {Object} initial state */ function updateStateFromQuery(queryStr, state) { const params = {}; const query = new URLSearchParams(queryStr); for (let [stateKey, queryKey] of URL_QUERY_PARAM_MAP) { let value = query.get(queryKey); if (value) { params[stateKey] = value; } } let updateFilters = false; let updatePagination = false; let updateSorting = false; const { filters, pagination, sorting } = state; const { dateRange } = filters; // checking start date let range = getWeekByDate(moment(params.startDate)); if (!range[0].isSame(dateRange[0])) { filters.dateRange = range; updateFilters = true; } // checking payment statuses let hasSameStatuses = true; const filtersPaymentStatuses = filters.paymentStatuses; const queryPaymentStatuses = {}; const paymentStatusesStr = params.paymentStatuses; if (paymentStatusesStr) { for (let status of paymentStatusesStr.split(",")) { status = status.toUpperCase(); if (status in PAYMENT_STATUS) { queryPaymentStatuses[status] = true; if (!filtersPaymentStatuses[status]) { hasSameStatuses = false; } } } } for (let status in filtersPaymentStatuses) { if (!queryPaymentStatuses[status]) { hasSameStatuses = false; break; } } if (!hasSameStatuses) { filters.paymentStatuses = queryPaymentStatuses; updateFilters = true; } // checking alert option let hasSameOption = true; const filtersAlertOptions = filters.alertOptions; const queryAlertOptions = {}; const alertOptionsStr = params.alertOptions; if (alertOptionsStr) { for (let option of alertOptionsStr.split(",")) { option = option.toUpperCase(); if (option in ALERT) { queryAlertOptions[option] = true; if (!filtersAlertOptions[option]) { hasSameOption = false; } } } } for (let option in filtersAlertOptions) { if (!filtersAlertOptions[option]) { hasSameOption = false; break; } } if (!hasSameOption) { filters.alertOptions = queryAlertOptions; updateFilters = true; } // chacking only failed payments flag const onlyFailedFlag = params.onlyFailedPayments?.slice(0, 1); const onlyFailedPayments = onlyFailedFlag === "y"; if (onlyFailedPayments !== filters.onlyFailedPayments) { filters.onlyFailedPayments = onlyFailedPayments; updateFilters = true; } // checking user handle const userHandle = params.userHandle?.slice(0, 256) || ""; if (userHandle !== filters.userHandle) { filters.userHandle = userHandle; updateFilters = true; } // checking sorting criteria let criteria = params.criteria?.toUpperCase(); criteria = criteria in SORT_BY ? criteria : SORT_BY_DEFAULT; if (criteria !== sorting.criteria) { sorting.criteria = criteria; updateSorting = true; } // checking sorting order let order = params.order; order = order && order.toUpperCase() in SORT_ORDER ? order : SORT_ORDER_DEFAULT; if (order !== sorting.order) { sorting.order = order; updateSorting = true; } // checking page number const pageNumber = +params.pageNumber; if (pageNumber && pageNumber !== pagination.pageNumber) { pagination.pageNumber = pageNumber; updatePagination = true; } // checking page size const pageSize = +params.pageSize; if (PAGE_SIZES.includes(pageSize) && pageSize !== pagination.pageSize) { pagination.pageSize = pageSize; updatePagination = true; } if (updateFilters || updatePagination || updateSorting) { state = { ...state }; if (updateFilters) { state.filters = { ...filters }; } if (updatePagination) { state.pagination = { ...pagination }; } if (updateSorting) { state.sorting = { ...sorting }; } } return state; } export default reducer;
28.044831
81
0.639154
b4321d7638a1a62a3edfdc6a74485462f86f81db
7,851
js
JavaScript
test/browser-tests/events/method-calls.js
sping/ractive
244c16a0d98e39855674a55c5ae8401345b10d6f
[ "MIT" ]
null
null
null
test/browser-tests/events/method-calls.js
sping/ractive
244c16a0d98e39855674a55c5ae8401345b10d6f
[ "MIT" ]
null
null
null
test/browser-tests/events/method-calls.js
sping/ractive
244c16a0d98e39855674a55c5ae8401345b10d6f
[ "MIT" ]
null
null
null
/*global window */ import { test } from 'qunit'; import { fire } from 'simulant'; import { initModule } from '../test-config'; export default function() { initModule( 'events/method-calls.js' ); test( 'Calling a builtin method', t => { const ractive = new Ractive({ el: fixture, template: `<button on-click='set("foo",foo+1)'>{{foo}}</button>`, data: { foo: 0 } }); fire( ractive.find( 'button' ), 'click' ); t.equal( ractive.get( 'foo' ), 1 ); t.htmlEqual( fixture.innerHTML, '<button>1</button>' ); }); test( 'Calling a custom method', t => { t.expect( 2 ); const Widget = Ractive.extend({ template: `<button on-click='activate()'>{{foo}}</button>`, activate () { t.ok( true ); t.equal( this, ractive ); } }); const ractive = new Widget({ el: fixture }); fire( ractive.find( 'button' ), 'click' ); }); test( 'Calling an unknown method', t => { t.expect( 1 ); const Widget = Ractive.extend({ template: `<button on-click='activate()'>{{foo}}</button>` }); const ractive = new Widget({ el: fixture }); // Catching errors inside handlers for programmatically-fired events // is a world of facepalm http://jsfiddle.net/geoz2tks/ const onerror = window.onerror; window.onerror = function ( err ) { // since expression events, the exception varies based on browser // so we'll say that if it throws, it was good t.ok( true, `${err.message} - ${err.toString()}` ); return true; }; fire( ractive.find( 'button' ), 'click' ); window.onerror = onerror; }); test( 'Passing the event object to a method', t => { t.expect( 1 ); const Widget = Ractive.extend({ template: `<button on-click='activate(event)'>{{foo}}</button>`, activate ( event ) { t.equal( event.original.type, 'click' ); } }); const ractive = new Widget({ el: fixture }); fire( ractive.find( 'button' ), 'click' ); }); test( 'Passing a child of the event object to a method', t => { t.expect( 1 ); const Widget = Ractive.extend({ template: `<button on-click='activate(event.original.type)'>{{foo}}</button>`, activate ( type ) { t.equal( type, 'click' ); } }); const ractive = new Widget({ el: fixture }); fire( ractive.find( 'button' ), 'click' ); }); // Bit of a cheeky workaround... test( 'Passing a reference to this.event', t => { t.expect( 1 ); const Widget = Ractive.extend({ template: `<button on-click='activate(.event)'>{{foo}}</button>`, activate ( event ) { t.equal( event, 'Christmas' ); } }); const ractive = new Widget({ el: fixture, data: { event: 'Christmas' } }); fire( ractive.find( 'button' ), 'click' ); }); test( 'Current event is available to method handler as this.event (#1403)', t => { t.expect( 2 ); const ractive = new Ractive({ el: fixture, template: '<button on-click="test(event)"></button>', test ( event ) { t.equal( event, this.event ); t.equal( ractive, this ); } }); fire( ractive.find( 'button' ), 'click' ); }); test( 'component "on-" can call methods', t => { t.expect( 2 ); const Component = Ractive.extend({ template: `<span id="test" on-click="foo:'foo'">click me</span>` }); const ractive = new Ractive({ el: fixture, template: '<Component on-foo="foo(1)" on-bar="bar(2)"/>', components: { Component }, foo ( num ) { t.equal( num, 1 ); }, bar ( num ) { t.equal( num, 2 ); } }); const component = ractive.findComponent( 'Component' ); fire( component.nodes.test, 'click' ); component.fire( 'bar', 'bar' ); }); test( 'component "on-" with ...arguments', t => { t.expect( 5 ); const Component = Ractive.extend({ template: `<span id="test" on-click="foo:'foo', 42">click me</span>` }); const ractive = new Ractive({ el: fixture, template: '<Component on-foo="foo(...arguments)" on-bar="bar(...arguments)"/>', components: { Component }, foo ( e, arg1, arg2 ) { t.equal( e.original.type, 'click' ); t.equal( arg1, 'foo' ); t.equal( arg2, 42 ); }, bar ( arg1, arg2 ) { t.equal( arg1, 'bar' ); t.equal( arg2, 100 ); } }); const component = ractive.findComponent( 'Component' ); fire( component.nodes.test, 'click' ); component.fire( 'bar', 'bar', 100 ); }); test( 'component "on-" with additive ...arguments', t => { t.expect( 7 ); const Component = Ractive.extend({ template: `<span id="test" on-click="foo:'foo', 42">click me</span>` }); const ractive = new Ractive({ el: fixture, template: `<Component on-foo="foo('fooarg', ...arguments)" on-bar="bar('bararg', ...arguments)"/>`, components: { Component }, foo ( arg1, e, arg2, arg3 ) { t.equal( arg1, 'fooarg' ); t.equal( e.original.type, 'click' ); t.equal( arg2, 'foo' ); t.equal( arg3, 42 ); }, bar ( arg1, arg2, arg3 ) { t.equal( arg1, 'bararg' ); t.equal( arg2, 'bar' ); t.equal( arg3, 100 ); } }); const component = ractive.findComponent( 'Component' ); fire( component.nodes.test, 'click' ); component.fire( 'bar', 'bar', 100 ); }); test( 'component "on-" with arguments[n]', t => { t.expect( 5 ); const Component = Ractive.extend({ template: `<span id="test" on-click="foo:'foo', 42">click me</span>` }); const ractive = new Ractive({ el: fixture, template: `<Component on-foo="foo(arguments[2], 'qux', arguments[0])" on-bar="bar(arguments[0], 100)"/>`, components: { Component }, foo ( arg1, arg2, arg3 ) { t.equal( arg1, 42 ); t.equal( arg2, 'qux' ); t.equal( arg3.original.type, 'click' ); }, bar ( arg1, arg2 ) { t.equal( arg1, 'bar' ); t.equal( arg2, 100 ); } }); const component = ractive.findComponent( 'Component' ); fire( component.nodes.test, 'click' ); component.fire( 'bar', 'bar' ); }); test( 'component "on-" with $n', t => { t.expect( 5 ); const Component = Ractive.extend({ template: '<span id="test" on-click="foo:\'foo\', 42">click me</span>' }); const ractive = new Ractive({ el: fixture, template: '<Component on-foo="foo($3, \'qux\', $1)" on-bar="bar($1, 100)"/>', components: { Component }, foo ( arg1, arg2, arg3 ) { t.equal( arg1, 42 ); t.equal( arg2, 'qux' ); t.equal( arg3.original.type, 'click' ); }, bar ( arg1, arg2 ) { t.equal( arg1, 'bar' ); t.equal( arg2, 100 ); } }); const component = ractive.findComponent( 'Component' ); fire( component.nodes.test, 'click' ); component.fire( 'bar', 'bar' ); }); test( 'preventDefault and stopPropagation if method returns false', t => { t.expect( 6 ); const ractive = new Ractive({ el: fixture, template: ` <span id="return_false" on-click="returnFalse()">click me</span> <span id="return_undefined" on-click="returnUndefined()">click me</span> <span id="return_zero" on-click="returnZero()">click me</span>`, returnFalse () { t.ok( true ); mockOriginalEvent( this.event.original ); return false; }, returnUndefined () { t.ok( true ); mockOriginalEvent( this.event.original ); }, returnZero () { t.ok( true ); mockOriginalEvent( this.event.original ); return 0; } }); let preventedDefault = false; let stoppedPropagation = false; function mockOriginalEvent ( original ) { preventedDefault = stoppedPropagation = false; original.preventDefault = () => preventedDefault = true; original.stopPropagation = () => stoppedPropagation = true; } fire( ractive.nodes.return_false, 'click' ); t.ok( preventedDefault && stoppedPropagation ); fire( ractive.nodes.return_undefined, 'click' ); t.ok( !preventedDefault && !stoppedPropagation ); fire( ractive.nodes.return_zero, 'click' ); t.ok( !preventedDefault && !stoppedPropagation ); }); }
24.844937
108
0.59088
b432889903069d33f394fa11b78fbde6296b1bf2
2,318
js
JavaScript
app/storage/s3ResourceHandlerTest.js
michael-topchiev/Razeedash-api
aa4d8441024dd38c65619d6a6131345a7c9c8146
[ "Apache-2.0" ]
7
2019-05-22T08:03:11.000Z
2021-06-06T07:15:23.000Z
app/storage/s3ResourceHandlerTest.js
michael-topchiev/Razeedash-api
aa4d8441024dd38c65619d6a6131345a7c9c8146
[ "Apache-2.0" ]
594
2019-05-16T22:49:34.000Z
2022-03-29T14:05:51.000Z
app/storage/s3ResourceHandlerTest.js
michael-topchiev/Razeedash-api
aa4d8441024dd38c65619d6a6131345a7c9c8146
[ "Apache-2.0" ]
47
2019-06-08T08:48:13.000Z
2021-10-08T09:29:51.000Z
'use strict'; /* Real test to manually test COS storage type Configure variables in .env file S3_LOCATIONS="WDC" S3_WDC_ENDPOINT S3_WDC_ACCESS_KEY_ID S3_WDC_SECRET_ACCESS_KEY S3_WDC_LOCATION_CONSTRAINT and then run this file: node -r dotenv/config app/storage/s3ResourceHandlerTest.js */ const storageFactory = require('./storageFactory'); async function test() { const orgKey = 'orgApiKey-63fe2b3a-8c07-45ee-9b34-8eb5ecf27edf'; const resource = 'my awesome resource'; const path = 'my-resource-name'; const bucketName = 'my-bucket-223432r32e'; const location = 'WDC'; // Write resource into bucket const handler = storageFactory().newResourceHandler(path, bucketName, location); const ivText = await handler.setDataAndEncrypt(resource, orgKey); const encodedResource = handler.serialize(); console.log(encodedResource, ivText); if (encodedResource.metadata.type !== 's3') throw new Error('Incorrect handler type'); // Read resource from the bucket const getHandler = storageFactory().deserialize(encodedResource); const decryptedResource = await getHandler.getDataAndDecrypt(orgKey, ivText); console.log(decryptedResource); if (resource !== decryptedResource) throw new Error('Resources do not match'); // Now delete the bucket const delHandler = storageFactory().deserialize(encodedResource); await delHandler.deleteData(); const emptyEncodedResource = delHandler.serialize(); // Delete the bucket again - should not throw exceptions const delHandlerToo = storageFactory().deserialize(encodedResource); await delHandlerToo.deleteData(); const emptyHandler = storageFactory().deserialize(emptyEncodedResource); try { await emptyHandler.getDataAndDecrypt(orgKey, ivText); throw new Error('Should not reach this point'); } catch (error) { console.log(error.message); } // Async write resource into bucket without encryption const longString = 'x'.repeat(10*1024*1024); const handler2 = storageFactory().newResourceHandler(path, bucketName, location); const promise = handler2.setData(longString); console.log('Waiting on promise...' + new Date()); await promise; console.log('Promise settled ' + new Date()); await handler2.deleteData(); console.log('All done!'); } test().catch(console.log);
34.088235
88
0.743745
b432d4fdfed5cb72ee4a9b2c0b2776830dce3cbc
2,020
js
JavaScript
src/reducers/BusinessOwnerReducer.js
StampsCard/stamps-card-app
da973b81cf1f62314282b0d26b96c3f680dcdcfe
[ "Apache-2.0" ]
null
null
null
src/reducers/BusinessOwnerReducer.js
StampsCard/stamps-card-app
da973b81cf1f62314282b0d26b96c3f680dcdcfe
[ "Apache-2.0" ]
null
null
null
src/reducers/BusinessOwnerReducer.js
StampsCard/stamps-card-app
da973b81cf1f62314282b0d26b96c3f680dcdcfe
[ "Apache-2.0" ]
null
null
null
import { MY_CUSTOMERS_FETCH_SUCCESS, LAST_PURCHASES_FETCH_SUCCESS, BUSINESS_STAMPS_CARDS_FETCH_SUCCESS, STAMP_PRICE_CHANGED, TOTAL_STAMPS_CHANGED, DISCOUNT_CHANGED, STAMPS_CARD_CREATION_FAIL, STAMPS_CARD_CREATION_SUCCESS, STAMPS_CARD_CREATION_STARTS } from '../actions/types'; const INITIAL_STATE = { error: '', loading: false, stampsCard: null, stampPrice: '', totalStamps: '', discount: '', showToast: false }; export default(state = INITIAL_STATE, action) => { switch (action.type) { case MY_CUSTOMERS_FETCH_SUCCESS: return { myCustomers: action.payload.myCustomers }; case LAST_PURCHASES_FETCH_SUCCESS: return { lastPurchases: action.payload.lastPurchases }; case BUSINESS_STAMPS_CARDS_FETCH_SUCCESS: return { stampsCards: action.payload.stampsCards }; case STAMP_PRICE_CHANGED: return { ...state, loading: true, error: '', showToast: false, stampPrice: action.payload }; case TOTAL_STAMPS_CHANGED: return { ...state, loading: true, error: '', showToast: false, totalStamps: action.payload }; case DISCOUNT_CHANGED: return { ...state, loading: true, error: '', showToast: false, discount: action.payload }; case STAMPS_CARD_CREATION_STARTS: return { ...state, loading: true, error: '', showToast: false }; case STAMPS_CARD_CREATION_FAIL: return { ...state, error: 'The stamps card could not be created.', loading: false, showToast: true }; case STAMPS_CARD_CREATION_SUCCESS: return { ...state, stampsCard: action.payload, loading: false, error: '', showToast: false }; default: return state; } };
24.938272
63
0.576238
b433009cafd22da8ed34f1af02acbdd5224c4cfb
2,789
js
JavaScript
client/src/containers/PracticeInfoView/PracticeInfoView.js
ankushptl22/pegasus
cd512e343770d801eeaddaf97a629f43362cf407
[ "MIT" ]
null
null
null
client/src/containers/PracticeInfoView/PracticeInfoView.js
ankushptl22/pegasus
cd512e343770d801eeaddaf97a629f43362cf407
[ "MIT" ]
null
null
null
client/src/containers/PracticeInfoView/PracticeInfoView.js
ankushptl22/pegasus
cd512e343770d801eeaddaf97a629f43362cf407
[ "MIT" ]
null
null
null
import React, { Component } from "react"; import { Grid, Icon, Divider } from 'semantic-ui-react'; import { Link } from 'react-router-dom'; import MasterPracticeGrid from "../../components/MasterPracticeGrid/MasterPracticeGrid"; import practiceGridData from "../../json/MasterPracticeGridData.json"; import MasterTabProp from '../../json/MasterTabProp.json' import MasterTab from "../../components/MasterTab/MasterTab"; import ListExport from "../../components/ListExport/ListExport" import MasterPracticeGridprops from "../../json/MasterPracticeGridData.json" class PracticeInfoView extends Component { constructor(props) { super(props); this.state = { practiceadmin: MasterPracticeGridprops.practiceadmin, practicetin: MasterPracticeGridprops.practicetin, masterTabProp: MasterTabProp.masterTabProp }; } render() { console.log(this.props.location.props); return ( <Grid> <Grid.Row> <Grid.Column floated='left' width={2}> <Link to="/landingPage/MasterFIGmdListView" ><Icon name='angle left'></Icon></Link> </Grid.Column> <Grid.Column floated='left' width={13}> </Grid.Column> <Grid.Column floated='right' width={1}> <Icon name='share square outline'></Icon> <ListExport /> </Grid.Column> </Grid.Row> <Divider /> <Grid.Row> <Grid.Column> <MasterTab {...this.state} {...this.props} /> </Grid.Column> </Grid.Row> </Grid>) } } // Specifies the default values for props: PracticeInfoView.defaultProps = { masterTabProp: [ { menuItem: "PRACTICE INFO", cssClass: "", activeIndex: 1, icon: "users", defaultActiveIndex: true, router: "PracticeInfoGrid", iconUrl: "../../assets/svg/practice.svg" }, { menuItem: "CLINICIANS", cssClass: "", activeIndex: 2, icon: "users", defaultActiveIndex: false, router: "PracticeClinicianGrid", iconUrl: "../../assets/svg/clinician.svg" }, { menuItem: "LOCATIONS", cssClass: "", activeIndex: 3, icon: "users", defaultActiveIndex: false, router: "PracticeListView", iconUrl: "../../assets/svg/location.svg" }, { menuItem: "EHR INFO", cssClass: "", activeIndex: 4, icon: "users", defaultActiveIndex: false, router: "PracticeListView", iconUrl: "../../assets/svg/ehr.svg" }, { menuItem: "CUSTOM INFO", cssClass: "", activeIndex: 5, icon: "users", defaultActiveIndex: false, router: "PracticeListView", iconUrl: "../../assets/svg/custom.svg" } ] }; export default PracticeInfoView;
28.171717
95
0.601649
b43337b93f13602d850e51163da983cc234913bb
2,088
js
JavaScript
packages/react-jsx-highcharts/test/components/Series/SeriesTypes.spec.js
rowebrandon/react-jsx-highcharts
f4d3acbb7e5e3ae2d094149b9ce8febcb706a8df
[ "MIT" ]
null
null
null
packages/react-jsx-highcharts/test/components/Series/SeriesTypes.spec.js
rowebrandon/react-jsx-highcharts
f4d3acbb7e5e3ae2d094149b9ce8febcb706a8df
[ "MIT" ]
null
null
null
packages/react-jsx-highcharts/test/components/Series/SeriesTypes.spec.js
rowebrandon/react-jsx-highcharts
f4d3acbb7e5e3ae2d094149b9ce8febcb706a8df
[ "MIT" ]
null
null
null
import * as React from 'react'; import Highcharts from 'highcharts'; import * as all from '../../../src'; import Series from '../../../src/components/Series'; const skippedSeries = ['BarSeries']; const noAxisSeries = [ 'FunnelSeries', 'PackedBubbleSeries', 'PieSeries', 'PyramidSeries', 'VariablePieSeries', 'VennSeries' ]; const needParentSeries = ['BellCurveSeries', 'HistogramSeries', 'ParetoSeries']; Object.keys(all) .filter(name => /^[A-Z].*Series$/.test(name)) .forEach(seriesName => { if (skippedSeries.includes(seriesName)) return; const seriesType = seriesName .substring(0, seriesName.indexOf('Series')) .toLowerCase(); const SeriesComponent = all[seriesName]; // eslint-disable-line import/namespace let props = {}; if (needParentSeries.includes(seriesName)) { props.baseSeries = 'myBaseSeries'; } describe(`<${seriesName} />`, () => { it('renders a <Series />', () => { const wrapper = shallow(<SeriesComponent id="mySeries" {...props} />); expect(wrapper.type()).toBe(Series); }); it(`renders a <Series type="${seriesType}" />`, () => { const wrapper = shallow(<SeriesComponent id="mySeries" {...props} />); expect(wrapper).toHaveProp('type', seriesType); }); it('passes Data props through to <Series />', () => { const wrapper = shallow( <SeriesComponent id="myOtherSeries" data={[1, 2, 3, 4]} {...props} /> ); expect(wrapper).toHaveProp('data', [1, 2, 3, 4]); }); it('passes other props through to <Series />', () => { const wrapper = shallow( <SeriesComponent id="myThirdSeries" zIndex={-1} {...props} /> ); expect(wrapper).toHaveProp('zIndex', -1); }); if (noAxisSeries.includes(seriesName)) { it('does not require an axis', () => { const wrapper = shallow( <SeriesComponent id="myFourthSeries" {...props} /> ); expect(wrapper).toHaveProp('requiresAxis', false); }); } }); });
32.123077
84
0.581897
b433424e5f1e61b9ecfb3681c613cfe42fc4a75c
227
js
JavaScript
sidebars.js
valentinewallace/lightningdevkit.org
87db72e07c3839997c6ec5b49c5102ae348dbd7e
[ "MIT" ]
null
null
null
sidebars.js
valentinewallace/lightningdevkit.org
87db72e07c3839997c6ec5b49c5102ae348dbd7e
[ "MIT" ]
null
null
null
sidebars.js
valentinewallace/lightningdevkit.org
87db72e07c3839997c6ec5b49c5102ae348dbd7e
[ "MIT" ]
null
null
null
module.exports = { someSidebar: { 'Lightning Development Kit': ['overview', 'getting_started', 'use_cases', 'references'], Guides: ['build_node', 'open_channel', 'key_mgmt', 'blockdata', 'onchain_funds'], }, };
32.428571
94
0.647577
b433b289332e1cd0872e02a70d486f8cfb0ae7e4
1,404
js
JavaScript
tests/valid/object.js
ognjenjevremovic/pretty-easy-rgb-to-hex
c25692ac505320b897009a98f5ff4e28997331d8
[ "MIT" ]
4
2017-03-18T17:32:44.000Z
2021-02-19T20:50:26.000Z
tests/valid/object.js
ognjenjevremovic/pretty-easy-rgb-to-hex
c25692ac505320b897009a98f5ff4e28997331d8
[ "MIT" ]
null
null
null
tests/valid/object.js
ognjenjevremovic/pretty-easy-rgb-to-hex
c25692ac505320b897009a98f5ff4e28997331d8
[ "MIT" ]
null
null
null
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); // Dependancies var validate_1 = require("./validate"); // RGB Object - IRGB interface function rgbObject() { describe('RGB Object', function () { // More info var info = 'from RGB Object'; validate_1.validRGBValue_returnsString(info, '007E8C', { red: 0, green: 126, blue: 140 }); validate_1.validRGBValue_returnsString(info, '7DE818', { red: 125, green: 232, blue: 24 }); validate_1.validRGBValue_returnsString(info, '441090', { red: 68, green: 16, blue: 144 }); validate_1.validRGBValue_returnsString(info, 'CC0000', { red: 204, green: 0, blue: 0 }); }); } exports.rgbObject = rgbObject; // RGBA Object - IRGB interface function rgbaObject() { describe('RGBA Object', function () { // More info var info = 'from RGBA Object'; validate_1.validRGBValue_returnsString(info, '007E8C', { red: 0, green: 126, blue: 140, alpha: .5 }); validate_1.validRGBValue_returnsString(info, '7DE818', { red: 125, green: 232, blue: 24, alpha: 0.75 }); validate_1.validRGBValue_returnsString(info, '441090', { red: 68, green: 16, blue: 144, alpha: 42 }); validate_1.validRGBValue_returnsString(info, 'CC0000', { red: 204, green: 0, blue: 0, alpha: 90 }); }); } exports.rgbaObject = rgbaObject; //# sourceMappingURL=object.js.map
48.413793
112
0.652422
b434129d5e0b87de320dcaf00555b865c44b8d9b
4,514
js
JavaScript
static/js/local-solutions.js
jarv/cmdchallenge-site
6e474d63c8b85899a957a65d5b0ef5312836b9d3
[ "MIT" ]
14
2017-08-20T20:33:55.000Z
2019-03-09T05:29:44.000Z
static/js/local-solutions.js
jarv/cmdchallenge-site
6e474d63c8b85899a957a65d5b0ef5312836b9d3
[ "MIT" ]
1
2017-08-28T21:14:18.000Z
2017-08-28T21:14:18.000Z
static/js/local-solutions.js
jarv/cmdchallenge-site
6e474d63c8b85899a957a65d5b0ef5312836b9d3
[ "MIT" ]
2
2017-08-28T19:06:58.000Z
2020-08-04T22:34:42.000Z
/*global document: false*/ /*global window: false*/ /*global FigletBreakout: false*/ /*global routie: false*/ /*global decodeURIComponent: false*/ /*global $: false*/ /*jslint devel: true*/ /*global XMLHttpRequest: false*/ /*global document: false*/ /*global Awesomplete: false*/ /*global localStorage: false*/ /*global XDomainRequest: false*/ /*global _: false*/ /*global hljs: false*/ (function() { var get_slug, create_cors_request, escape_html, get_challenges, date_delta; document.getElementById("header").style.display = 'block'; date_delta = function(last_updated) { var time_disp = ""; var cur_time = (new Date()).getTime() / 1000; var delta = Math.round(cur_time - last_updated); var minutes_delta = Math.floor(delta / 60); var seconds_delta = delta % 60; if (minutes_delta) { if (minutes_delta === 1) { time_disp += minutes_delta + " minute "; } else { time_disp += minutes_delta + " minutes "; } } if (seconds_delta === 1) { time_disp += seconds_delta + " second"; } else { time_disp += seconds_delta + " seconds"; } return time_disp; }; create_cors_request = function(method, url) { var xhr = new XMLHttpRequest(); if (xhr.withCredentials !== undefined) { // Check if the XMLHttpRequest object has a "withCredentials" property. // "withCredentials" only exists on XMLHTTPRequest2 objects. xhr.open(method, url, true); } else if (XDomainRequest !== "undefined") { // Otherwise, check if XDomainRequest. // XDomainRequest only exists in IE, and is IE's way of making CORS requests. xhr = new XDomainRequest(); xhr.open(method, url); } else { // Otherwise, CORS is not supported by the browser. xhr = null; } return xhr; }; escape_html = function(unsafe) { return unsafe .replace(/&/g, "&amp;") .replace(/</g, "&lt;") .replace(/>/g, "&gt;") .replace(/"/g, "&quot;") .replace(/'/g, "&#039;") .replace(/\n/g, "\n "); }; get_slug = function(challenge) { var data, request, desc_el, cmds_el, name_el, title, date_el; request = create_cors_request("GET", "/s/solutions/" + challenge.slug + ".json"); request.onload = function() { if (request.status >= 200 && request.status < 400) { data = JSON.parse(request.responseText); name_el = document.getElementById("name"); date_el = document.getElementById("date"); cmds_el = document.getElementById("cmds"); desc_el = document.getElementById("desc"); if (challenge.disp_title) { title = challenge.disp_title; } else { title = challenge.slug.replace(/_/g, " ").replace(/\b\w/g, function(l) { return l.toUpperCase(); }); } name_el.innerHTML = '<a href="/#/' + challenge.slug + '">' + title + '</a>'; date_el.innerHTML = "Updated " + date_delta(data.ts) + " ago"; name_el.style.display = 'block'; cmds_el.innerHTML = data.cmds.map(escape_html).join("\n"); desc_el.innerHTML = challenge.description; hljs.highlightBlock(cmds_el); } }; request.send(); }; get_challenges = function(callback) { var request, challenges; request = create_cors_request("GET", "/challenges/challenges.json"); request.onload = function() { if (request.status >= 200 && request.status < 400) { challenges = JSON.parse(request.responseText); if (typeof callback === 'function') { callback(challenges); } } }; request.send(); }; /* create routes */ get_challenges(function(challenges) { var ul_el = document.getElementById('challenges'); var ul_user_el = document.getElementById('user-challenges'); var routes = {}; challenges.forEach(function(challenge) { var a = document.createElement('a'); a.id = challenge.slug; a.href = "#/" + challenge.slug; a.title = challenge.slug; var ltext = document.createTextNode(challenge.slug + "/"); a.appendChild(ltext); var li_el = document.createElement('li'); li_el.appendChild(a); if (challenge.author && challenge.author !== "cmdchallenge") { ul_user_el.appendChild(li_el); } else { ul_el.appendChild(li_el); } routes["/" + challenge.slug] = function() { get_slug(challenge); }; }); routie(routes); // get_slug(challenges[0]); }); }(window));
32.014184
110
0.606114
b434d734a9b745608586beae0037ddfb0e637ec8
3,307
js
JavaScript
apps/music/elements/music-search-results.js
JonHylands/gaia
fdb66f75963fa9255f707af87f405d54892e5e7d
[ "Apache-2.0" ]
null
null
null
apps/music/elements/music-search-results.js
JonHylands/gaia
fdb66f75963fa9255f707af87f405d54892e5e7d
[ "Apache-2.0" ]
null
null
null
apps/music/elements/music-search-results.js
JonHylands/gaia
fdb66f75963fa9255f707af87f405d54892e5e7d
[ "Apache-2.0" ]
null
null
null
(function(window) { /*jshint maxlen:false*/ 'use strict'; var proto = Object.create(HTMLElement.prototype); proto.createdCallback = function() { var shadowRoot = this.createShadowRoot(); shadowRoot.innerHTML = `<style> [data-icon]:before { /* Copied from /components/gaia-icons/gaia-icons.css */ font-family: "gaia-icons"; content: attr(data-icon); display: inline-block; font-weight: 500; font-style: normal; text-decoration: inherit; text-transform: none; text-rendering: optimizeLegibility; font-size: 30px; -webkit-font-smoothing: antialiased; } music-search-results { opacity: 0; visibility: hidden; transition: opacity 0.2s linear, visibility 0s linear 0.2s; pointer-events: none; } music-search-results[active] { opacity: 1; visibility: visible; transition-delay: 0s, 0s; pointer-events: auto; } #list { background: var(--background); position: relative; width: 100%; height: 100%; z-index: 99999; } #list a { color: var(--text-color); text-decoration: none; padding: 9px 0; width: 100%; } #list li { padding: 0; } #list h3, #list p { background: none !important; padding-right: 60px; } #list img { right: 0; left: auto !important; object-fit: cover; } </style> <gaia-fast-list id="list"> <template> <li> <a href="\${url}" data-file-path="\${name}" data-section="\${section}"> <div class="image"><img></div> <h3>\${title}</h3> <p>\${subtitle}</p> </a> </li> </template> </gaia-fast-list>`; var $id = shadowRoot.getElementById.bind(shadowRoot); this.els = { list: $id('list') }; this.els.list.configure({ getSectionName: (item) => { return item.section; }, getItemImageSrc: (item) => { return this.getItemImageSrc(item); } }); this.els.list.addEventListener('click', (evt) => { var link = evt.target.closest('a'); if (link) { evt.preventDefault(); this.close().then(() => { this.dispatchEvent(new CustomEvent('resultclick', { detail: link })); }); } }); }; proto.getItemImageSrc = function() {}; proto.open = function() { return new Promise((resolve) => { window.requestAnimationFrame(() => { this.setAttribute('active', true); resolve(); }); this.dispatchEvent(new CustomEvent('open')); }); }; proto.close = function() { return new Promise((resolve) => { window.requestAnimationFrame(() => { this.removeAttribute('active'); resolve(); }); this.dispatchEvent(new CustomEvent('close')); }); }; proto.setResults = function(results) { if (results.length === 0) { document.l10n.formatValue('search-no-result').then((noResult) => { this.els.list.model = [{ title: noResult, subtitle: '' }]; }); return; } this.els.list.model = results; return this.els.list.model; }; proto.clearResults = function() { this.els.list.model = []; return this.els.list.model; }; try { window.MusicSearchResults = document.registerElement('music-search-results', { prototype: proto }); } catch (e) { if (e.name !== 'NotSupportedError') { throw e; } } })(window);
20.41358
80
0.59238
b4354277ab89c1e7bd0ac0d061cc33b69cafb989
1,478
js
JavaScript
routes/doctor_login.js
Theracon/patientinvoice
15c8ca7383dd12a74334393d4a35cdab2c8737a4
[ "MIT" ]
2
2021-06-19T10:54:00.000Z
2021-07-16T08:18:22.000Z
routes/doctor_login.js
Theracon/patientinvoice
15c8ca7383dd12a74334393d4a35cdab2c8737a4
[ "MIT" ]
null
null
null
routes/doctor_login.js
Theracon/patientinvoice
15c8ca7383dd12a74334393d4a35cdab2c8737a4
[ "MIT" ]
null
null
null
var express = require("express"), passport = require("passport"), router = express.Router(), User = require("../models/user"); // INDEX(GET): LOGIN PAGE/ALL router.get("/accounts/doctors/login", function(req, res) { return res.render("doctors/login"); }); // LOGIN(POST): DOCTOR LOGIN LOGIC router.post("/accounts/referrers/login", function(req, res) { // Check if username exists in the database User.findOne({ typeOfUser: "doctor", username: req.body.username }, function(err, user) { if (!err) { if (user) { // Check if entered password matches password in the database user.comparePassword(req.body.password, function(err, isMatch) { if (err) throw err; if (isMatch) { passport.authenticate("local")(req, res, function() { return res.redirect('/doctors/' + user.username + "/dashboard"); }); } else { req.flash("error", "Incorrect password. Try again."); return res.redirect("back"); } }); return; } req.flash("error", "Incorrect username. Try again.") return res.redirect("back"); } req.flash("error", "Oops! Something isn't quite right.") res.redirect("back"); }); }); module.exports = router;
37.897436
93
0.519621
b435432b6c539b348a55817dbaf046bb19ca0408
857
js
JavaScript
src/angular-zxcvbn.js
GabLeRoux/angular-zxcvbn
2bacf206895a3de5173f72bc3b24910515b3d30b
[ "MIT" ]
52
2015-02-19T22:49:19.000Z
2019-08-14T01:24:22.000Z
src/angular-zxcvbn.js
GabLeRoux/angular-zxcvbn
2bacf206895a3de5173f72bc3b24910515b3d30b
[ "MIT" ]
17
2015-12-31T05:36:22.000Z
2017-09-20T18:12:04.000Z
src/angular-zxcvbn.js
GabLeRoux/angular-zxcvbn
2bacf206895a3de5173f72bc3b24910515b3d30b
[ "MIT" ]
17
2015-12-16T15:36:50.000Z
2020-10-21T10:10:53.000Z
(function () { 'use strict'; angular.module('zxcvbn', []) .directive('zxcvbn', function () { return { scope: { password: '=', extras: '=?', data: '=?' }, restrict: 'E', template: '{{ display.crack_times_display }}', link: function (scope, element, attrs) { scope.$watch('password', function (newVal) { if (angular.isString(newVal)) { if (scope.extras) scope.timeToCrack = zxcvbn(newVal, scope.extras); else scope.timeToCrack = zxcvbn(newVal); if (('data' in attrs) && scope.timeToCrack) scope.data = angular.copy(scope.timeToCrack); scope.display = angular.copy(scope.timeToCrack); } }); } }; }); })();
25.969697
65
0.470245
b4355928afd1f14a5aa5f8c40cdb1667a4b0843f
84
js
JavaScript
test/function/samples/respect-synthetic-export-reexporter-side-effects/reexporter-chain-2.js
dnalborczyk/rollup
ae674c9edde5efb8ce6d8ef845598a805938178c
[ "0BSD", "MIT" ]
23,201
2015-05-27T20:13:57.000Z
2022-03-31T18:07:42.000Z
test/function/samples/respect-synthetic-export-reexporter-side-effects/reexporter-chain-2.js
dnalborczyk/rollup
ae674c9edde5efb8ce6d8ef845598a805938178c
[ "0BSD", "MIT" ]
3,981
2015-05-26T16:24:14.000Z
2022-03-31T09:52:35.000Z
test/function/samples/respect-synthetic-export-reexporter-side-effects/reexporter-chain-2.js
dnalborczyk/rollup
ae674c9edde5efb8ce6d8ef845598a805938178c
[ "0BSD", "MIT" ]
1,557
2015-05-26T21:30:26.000Z
2022-03-31T03:58:14.000Z
import foo from './reexporter-chain-3.js'; foo.chain2 = 'modified'; export { foo };
21
42
0.678571
b435834855089a8b72a2a73f3e0080ef3537f3df
813
js
JavaScript
test/candlestick/ThreeBlackCrows.js
flashup/technicalindicators
ec42a91da7110d94b895c4b38fe28b7121178d0f
[ "MIT" ]
1,793
2016-05-06T04:08:56.000Z
2022-03-26T19:56:08.000Z
test/candlestick/ThreeBlackCrows.js
flashup/technicalindicators
ec42a91da7110d94b895c4b38fe28b7121178d0f
[ "MIT" ]
217
2016-05-22T00:15:06.000Z
2022-03-20T16:23:46.000Z
test/candlestick/ThreeBlackCrows.js
flashup/technicalindicators
ec42a91da7110d94b895c4b38fe28b7121178d0f
[ "MIT" ]
507
2016-05-12T22:37:23.000Z
2022-03-21T11:45:54.000Z
var ThreeBlackCrows = require('../../lib/candlestick/ThreeBlackCrows').default; var assert = require('assert'); var drawCandleStick = require('draw-candlestick'); var fs = require('fs'); var input = { open: [21.65,21.48,21.25], high: [21.82,21.57,21.35], close: [21.32,21.10,20.70], low: [21.25,20.97,20.60] } describe('ThreeBlackCrows : ', function() { before(function() { var imageBuffer = drawCandleStick(input); fs.writeFileSync(__dirname+'/images/ThreeBlackCrows.png',imageBuffer); }); it('Check whether the supplied data has ThreeBlackCrows pattern', function() { var threeBlackCrows = new ThreeBlackCrows (); var result = threeBlackCrows.hasPattern(input); assert.deepEqual(result, true, 'Invalid result for ThreeBlackCrows'); }); })
30.111111
80
0.664207
b4360892822f6a9df8e3cc70a4a4b4b6946ddb3f
740
js
JavaScript
platform/server/routes/deployment_type.js
HIOTio/original_HIOT
3794d8681880a3a53991c7add18fcbe1ed987409
[ "Apache-2.0" ]
null
null
null
platform/server/routes/deployment_type.js
HIOTio/original_HIOT
3794d8681880a3a53991c7add18fcbe1ed987409
[ "Apache-2.0" ]
null
null
null
platform/server/routes/deployment_type.js
HIOTio/original_HIOT
3794d8681880a3a53991c7add18fcbe1ed987409
[ "Apache-2.0" ]
null
null
null
var express = require('express') var router = express.Router() var cors = require('cors') var deploymentTypeController = require('../controllers/deployment_type.js') router.all('*', cors({ origin: 'http://localhost:4200', method: 'GET,PUT,POST,DELETE,OPTIONS', preflightContinue: true, allowedHeaders: 'Content-Type,Authorization', credentials: true })) router.options('*', cors()) router.get('/', deploymentTypeController.deploymentTypeList) router.get('/:id', deploymentTypeController.deploymentTypeDetail) router.post('/', deploymentTypeController.deploymentTypeCreate) router.delete('/', deploymentTypeController.deploymentTypeDelete) router.put('/', deploymentTypeController.deploymentTypeUpdate) module.exports = router
32.173913
75
0.77027
b4360cb08ee28679bb6d7c859c98131bcd99bd83
5,433
js
JavaScript
Build/Cesium/Workers/createVectorTileGeometries.js
AzYamashita/Cesium_Utsunomiya
0703ac5ab39dd647ca8c3aa89f2bdc8ecfde8c73
[ "Apache-2.0" ]
null
null
null
Build/Cesium/Workers/createVectorTileGeometries.js
AzYamashita/Cesium_Utsunomiya
0703ac5ab39dd647ca8c3aa89f2bdc8ecfde8c73
[ "Apache-2.0" ]
null
null
null
Build/Cesium/Workers/createVectorTileGeometries.js
AzYamashita/Cesium_Utsunomiya
0703ac5ab39dd647ca8c3aa89f2bdc8ecfde8c73
[ "Apache-2.0" ]
null
null
null
define(["./Transforms-0becfc64","./BoxGeometry-0310fe42","./Matrix2-860854d4","./Color-6e8680c8","./CylinderGeometry-fc2b24b4","./when-4bbc8319","./EllipsoidGeometry-ed3fa3da","./IndexDatatype-1d853600","./createTaskProcessorWorker","./RuntimeError-1349fdaf","./ComponentDatatype-8f55628c","./WebGLConstants-508b9636","./combine-e9466e32","./GeometryOffsetAttribute-24539cee","./GeometryAttribute-4590b388","./GeometryAttributes-7827a6c2","./VertexFormat-b8b51b88","./CylinderGeometryLibrary-31943ac1"],(function(e,t,n,r,i,a,o,s,c,d,l,f,u,h,b,p,y,x){"use strict";function g(e){this.offset=e.offset,this.count=e.count,this.color=e.color,this.batchIds=e.batchIds}const m=new n.Cartesian3,C=n.Matrix4.packedLength+n.Cartesian3.packedLength,I=n.Matrix4.packedLength+2,k=n.Matrix4.packedLength+n.Cartesian3.packedLength,M=n.Cartesian3.packedLength+1,B={modelMatrix:new n.Matrix4,boundingVolume:new e.BoundingSphere};function w(e,t){let r=t*C;const i=n.Cartesian3.unpack(e,r,m);r+=n.Cartesian3.packedLength;const a=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(a,i,a);const o=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=Math.sqrt(3),B}function A(e,t){let r=t*I;const i=e[r++],a=e[r++],o=n.Cartesian3.fromElements(i,i,a,m),s=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(s,o,s);const c=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,c.center),c.radius=Math.sqrt(2),B}function O(e,t){let r=t*k;const i=n.Cartesian3.unpack(e,r,m);r+=n.Cartesian3.packedLength;const a=n.Matrix4.unpack(e,r,B.modelMatrix);n.Matrix4.multiplyByScale(a,i,a);const o=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,o.center),o.radius=1,B}function L(e,t){let r=t*M;const i=e[r++],a=n.Cartesian3.unpack(e,r,m),o=n.Matrix4.fromTranslation(a,B.modelMatrix);n.Matrix4.multiplyByUniformScale(o,i,o);const s=B.boundingVolume;return n.Cartesian3.clone(n.Cartesian3.ZERO,s.center),s.radius=1,B}const v=new n.Cartesian3;function E(t,i,o,s,c){if(!a.defined(i))return;const d=o.length,l=s.attributes.position.values,f=s.indices,u=t.positions,h=t.vertexBatchIds,b=t.indices,p=t.batchIds,y=t.batchTableColors,x=t.batchedIndices,m=t.indexOffsets,C=t.indexCounts,I=t.boundingVolumes,k=t.modelMatrix,M=t.center;let B=t.positionOffset,w=t.batchIdIndex,A=t.indexOffset;const O=t.batchedIndicesOffset;for(let t=0;t<d;++t){const a=c(i,t),s=a.modelMatrix;n.Matrix4.multiply(k,s,s);const d=o[t],L=l.length;for(let e=0;e<L;e+=3){const t=n.Cartesian3.unpack(l,e,v);n.Matrix4.multiplyByPoint(s,t,t),n.Cartesian3.subtract(t,M,t),n.Cartesian3.pack(t,u,3*B+e),h[w++]=d}const E=f.length;for(let e=0;e<E;++e)b[A+e]=f[e]+B;const U=t+O;x[U]=new g({offset:A,count:E,color:r.Color.fromRgba(y[d]),batchIds:[d]}),p[U]=d,m[U]=A,C[U]=E,I[U]=e.BoundingSphere.transform(a.boundingVolume,s),B+=L/3,A+=E}t.positionOffset=B,t.batchIdIndex=w,t.indexOffset=A,t.batchedIndicesOffset+=d}const U=new n.Cartesian3,G=new n.Matrix4;function S(t,n,i){const a=i.length,o=2+a*e.BoundingSphere.packedLength+1+function(e){const t=e.length;let n=0;for(let i=0;i<t;++i)n+=r.Color.packedLength+3+e[i].batchIds.length;return n}(n),s=new Float64Array(o);let c=0;s[c++]=t,s[c++]=a;for(let t=0;t<a;++t)e.BoundingSphere.pack(i[t],s,c),c+=e.BoundingSphere.packedLength;const d=n.length;s[c++]=d;for(let e=0;e<d;++e){const t=n[e];r.Color.pack(t.color,s,c),c+=r.Color.packedLength,s[c++]=t.offset,s[c++]=t.count;const i=t.batchIds,a=i.length;s[c++]=a;for(let e=0;e<a;++e)s[c++]=i[e]}return s}return c((function(e,r){const c=a.defined(e.boxes)?new Float32Array(e.boxes):void 0,d=a.defined(e.boxBatchIds)?new Uint16Array(e.boxBatchIds):void 0,l=a.defined(e.cylinders)?new Float32Array(e.cylinders):void 0,f=a.defined(e.cylinderBatchIds)?new Uint16Array(e.cylinderBatchIds):void 0,u=a.defined(e.ellipsoids)?new Float32Array(e.ellipsoids):void 0,h=a.defined(e.ellipsoidBatchIds)?new Uint16Array(e.ellipsoidBatchIds):void 0,b=a.defined(e.spheres)?new Float32Array(e.spheres):void 0,p=a.defined(e.sphereBatchIds)?new Uint16Array(e.sphereBatchIds):void 0,y=a.defined(c)?d.length:0,x=a.defined(l)?f.length:0,g=a.defined(u)?h.length:0,m=a.defined(b)?p.length:0,C=t.BoxGeometry.getUnitBox(),I=i.CylinderGeometry.getUnitCylinder(),k=o.EllipsoidGeometry.getUnitEllipsoid(),M=C.attributes.position.values,B=I.attributes.position.values,v=k.attributes.position.values;let T=M.length*y;T+=B.length*x,T+=v.length*(g+m);const V=C.indices,F=I.indices,R=k.indices;let Z=V.length*y;Z+=F.length*x,Z+=R.length*(g+m);const D=new Float32Array(T),P=new Uint16Array(T/3),q=s.IndexDatatype.createTypedArray(T/3,Z),W=y+x+g+m,_=new Uint16Array(W),N=new Array(W),Y=new Uint32Array(W),j=new Uint32Array(W),z=new Array(W);!function(e){const t=new Float64Array(e);let r=0;n.Cartesian3.unpack(t,r,U),r+=n.Cartesian3.packedLength,n.Matrix4.unpack(t,r,G)}(e.packedBuffer);const H={batchTableColors:new Uint32Array(e.batchTableColors),positions:D,vertexBatchIds:P,indices:q,batchIds:_,batchedIndices:N,indexOffsets:Y,indexCounts:j,boundingVolumes:z,positionOffset:0,batchIdIndex:0,indexOffset:0,batchedIndicesOffset:0,modelMatrix:G,center:U};E(H,c,d,C,w),E(H,l,f,I,A),E(H,u,h,k,O),E(H,b,p,k,L);const J=S(q.BYTES_PER_ELEMENT,N,z);return r.push(D.buffer,P.buffer,q.buffer),r.push(_.buffer,Y.buffer,j.buffer),r.push(J.buffer),{positions:D.buffer,vertexBatchIds:P.buffer,indices:q.buffer,indexOffsets:Y.buffer,indexCounts:j.buffer,batchIds:_.buffer,packedBuffer:J.buffer}}))}));
2,716.5
5,432
0.757777
b436384737bb7f497781ec1d3e4d127132a39ac2
3,561
js
JavaScript
src/components/NavBar/nav-bar.js
prabakaran1407/praba-portfolio
c0531c8c4850006c273259c269f8b88a611f5587
[ "MIT" ]
null
null
null
src/components/NavBar/nav-bar.js
prabakaran1407/praba-portfolio
c0531c8c4850006c273259c269f8b88a611f5587
[ "MIT" ]
null
null
null
src/components/NavBar/nav-bar.js
prabakaran1407/praba-portfolio
c0531c8c4850006c273259c269f8b88a611f5587
[ "MIT" ]
null
null
null
import React, { useState } from 'react'; import { NavLink } from 'react-router-dom'; import styled from 'styled-components'; import { MdClose, MdMenu } from 'react-icons/md'; const NavMenuStyle = styled.div` position: fixed; z-index: 100; top: 0; left: 0; width: 100%; padding: 1rem 0; background: var(--dark-bg); ul { max-width: 1200px; margin: 0 auto; width: 90%; text-align: center; } li { display: inline-block; border-radius: 8px; transition: 0.3s ease background-color; &:hover { background-color: var(--deep-dark); } } a { display: inline-block; font-family: 'RobotoMono Regular'; padding: 1rem 3rem; font-size: 2rem; color: var(--gary-1); outline: none; } .active { color: var(--white); } .mobile-menu-icon { position: absolute; top: 1rem; right: 1rem; width: 4rem; cursor: pointer; display: none; outline: none; } .close-icon { display: none; } @media only screen and (max-width: 768px) { padding: 0; .mobile-menu-icon { display: block; } .hide-item { transform: translateY(calc(-100% - var(--top))); } .navItems { --top: 1rem; transition: 0.3s ease transform; background-color: var(--deep-dark); padding: 2rem; width: 90%; border-radius: 12px; max-width: 300px; position: absolute; top: var(--top); right: 1rem; .close-icon { display: block; width: 3rem; margin: 0 0 0 auto; cursor: pointer; * { pointer-events: none; } } li { display: block; margin-bottom: 1rem; } } } `; function NavBar() { const [showNav, setShowNav] = useState(false); console.log('shownav', showNav); return ( <NavMenuStyle> <div className="mobile-menu-icon" onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > <MdMenu /> </div> <ul className={!showNav ? 'navItems hide-item' : 'navItems'}> <div className="close-icon" onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > <MdClose /> </div> <li> <NavLink to="/" exact onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > Home </NavLink> </li> <li> <NavLink to="/about" onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > About </NavLink> </li> <li> <NavLink to="/projects" onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > Projects </NavLink> </li> <li> <NavLink to="/contact" onClick={() => setShowNav(!showNav)} role="button" onKeyDown={() => setShowNav(!showNav)} tabIndex={0} > Contact </NavLink> </li> </ul> </NavMenuStyle> ); } export default NavBar;
21.981481
67
0.484695
b43680a1e71ccf88a73158f8817c7803b71d6d80
598
js
JavaScript
src/api/upkeep/stat.js
waterFamily1/waterhaha
89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff
[ "MIT" ]
null
null
null
src/api/upkeep/stat.js
waterFamily1/waterhaha
89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff
[ "MIT" ]
null
null
null
src/api/upkeep/stat.js
waterFamily1/waterhaha
89acf8808cbb71c95f6b65a4bb511f8c6dfac2ff
[ "MIT" ]
null
null
null
import request from '@/plugins/request'; //查询组织 export function getOrg () { return request({ url: 'uaa/api/organizations' }) } //执行人员 export function getUsers (id) { return request({ url: 'uaa/api/users/select?orgId='+id, method:'get' }) } // 统计列表 export function statList (start,end,state,executeUserId,orgId,page) { return request({ url: 'equipment/api/maintains/statistics?startDate='+start+'&endDate='+end+'&state='+state+'&executeUserId='+executeUserId+'&orgId='+orgId+'&currentPage='+page+'&pageSize=10', method:'get' }) }
24.916667
183
0.633779
b436facd40098bafadb1e108ee36d698901d7a86
2,183
js
JavaScript
platforms/browser/www/js/myaccount/myaccountController.js
NgKhanh/ssc
8c10c6aca9cb0fc05f06410209f02cf8863a62f8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
platforms/browser/www/js/myaccount/myaccountController.js
NgKhanh/ssc
8c10c6aca9cb0fc05f06410209f02cf8863a62f8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
platforms/browser/www/js/myaccount/myaccountController.js
NgKhanh/ssc
8c10c6aca9cb0fc05f06410209f02cf8863a62f8
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
define(["app", "js/myaccount/myaccountView", "js/userModel", "js/panel-left/panel-leftController", "js/pubsubModel"], function (app, MyaccountView, UserModel, panelLeftCtrl, pubSubModel) { var $ = Framework7.$; var user = UserModel.isUserLogin(); var bindings = [ { element: '.update-user', event: 'click', handler: updateUser } ]; pubSubModel.on("userLogout", function () { app.mainView.router.load({ url: 'index.html', ignoreCache: true }) }); function init() { app.f7.onPageBeforeRemove("myaccount", function () { user = UserModel.isUserLogin(); }) MyaccountView.render({ user: user[0], bindings: bindings }); } function updateUser() { var formInput = app.f7.formToJSON('#my-account-form'); if (formInput.name.trim() == "" || formInput.contact.trim() == "") { app.f7.alert("Please don't send blank text", "Update Fail"); } else { app.f7.modalPassword('Your password please:', "UPDATE INFO", function (value) { $.get(app.mainSite + '/api/account/updateuser', {id: user[0].id, name: formInput.name, contact: formInput.contact, password: value}, function (data) { data = JSON.parse(data); if (data == "update success") { UserModel.updateUser(formInput); panelLeftCtrl.init(); app.f7.addNotification({ message: 'UPDATE SUCCESS', hold: 2000, onClose: backFunction, closeIcon: false }); } else { app.f7.alert("Wrong Password", "Update Fail"); } }); }); } } function backFunction(){ app.mainView.router.back(); } return { init: init }; });
33.075758
167
0.459459
b4373b230739adf904a639bc7196e3e5f3e8f834
1,403
js
JavaScript
public/flipper/js/props/book.js
kjayru/revistadigital
7041aa8622978b74533c85fd8e9b764019954ecb
[ "MIT" ]
null
null
null
public/flipper/js/props/book.js
kjayru/revistadigital
7041aa8622978b74533c85fd8e9b764019954ecb
[ "MIT" ]
2
2020-02-11T11:27:56.000Z
2021-05-06T19:11:11.000Z
public/flipper/js/props/book.js
kjayru/revistadigital
7041aa8622978b74533c85fd8e9b764019954ecb
[ "MIT" ]
null
null
null
export function props() { // const props = { // height, // width, // gravity, // injector, // cachedPages, // renderInactivePages, // renderWhileFlipping, // pagesForPredicting, // preloadPages, // sheet: { // startVelocity, // cornerDeviation, // flexibility, // flexibleCorner, // bending, // wave, // shape, // widthTexels, // heightTexels, // color, // sideTexture // }, // cover: { // ...sheet, // padding, // binderTexture, // depth, // mass // }, // page: { // ...sheet, // depth, // mass // } // }; return { height: 0.297, width: 0.21, gravity: 1, cachedPages: 50, renderInactivePages: true, renderInactivePagesOnMobile: false, renderWhileFlipping: false, pagesForPredicting: 5, preloadPages: 5, rtl: false, sheet: { startVelocity: 0.9, cornerDeviation: 0.25, flexibility: 10, flexibleCorner: 0.5, bending: 11, wave: 0.5, shape: 0, widthTexels: 5*210, heightTexels: 5*297, color: 0xFFFFFF }, cover: { binderTexture: '', depth: 0.0003, padding: 0, mass: 0.003 }, page: { depth: 0.0001, mass: 0.001 }, cssLayerProps: { width: 1024 } }; };
17.987179
39
0.490378
b4383739b7f719a4eebf4462cd8c958a70500866
1,248
js
JavaScript
controllers/admin/uploadRepositoryBuild.js
aytch/stampede-server
cc048fd64629eef826f8a88557df0df4de99f0ce
[ "MIT" ]
null
null
null
controllers/admin/uploadRepositoryBuild.js
aytch/stampede-server
cc048fd64629eef826f8a88557df0df4de99f0ce
[ "MIT" ]
null
null
null
controllers/admin/uploadRepositoryBuild.js
aytch/stampede-server
cc048fd64629eef826f8a88557df0df4de99f0ce
[ "MIT" ]
null
null
null
const yaml = require("js-yaml"); /** * path this handler will serve */ function path() { return "/admin/uploadRepositoryBuild"; } /** * http method this handler will serve */ function method() { return "post"; } /** * if the route requires admin */ function requiresAdmin() { return true; } /** * handle index * @param {*} req * @param {*} res * @param {*} dependencies */ async function handle(req, res, dependencies) { const owner = req.body.owner; const repository = req.body.repository; let repositoryAdminURL = "/admin/repositoryAdmin?owner=" + owner + "&repository=" + repository; if (req.files != null) { const uploadData = req.files.uploadFile; try { const buildInfo = yaml.safeLoad(uploadData.data); if (buildInfo != null) { await dependencies.cache.repositoryBuilds.updateRepositoryBuild( owner, repository, buildInfo ); } } catch (e) { repositoryAdminURL += "&uploadError=Invalid build file"; } } res.writeHead(301, { Location: repositoryAdminURL, }); res.end(); } module.exports.path = path; module.exports.method = method; module.exports.requiresAdmin = requiresAdmin; module.exports.handle = handle;
20.129032
74
0.641026
b4388852499ed171a1eddebe94c56c4b33922370
7,261
js
JavaScript
node-v5.6.0/test/parallel/test-querystring.js
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
null
null
null
node-v5.6.0/test/parallel/test-querystring.js
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
null
null
null
node-v5.6.0/test/parallel/test-querystring.js
galeniumsysdev/g-order2
960796bbcec62e2df375d74ddc97d4cf49573ca8
[ "MIT" ]
1
2020-01-22T23:05:38.000Z
2020-01-22T23:05:38.000Z
'use strict'; require('../common'); var assert = require('assert'); // test using assert var qs = require('querystring'); // folding block, commented to pass gjslint // {{{ // [ wonkyQS, canonicalQS, obj ] var qsTestCases = [ ['foo=918854443121279438895193', 'foo=918854443121279438895193', {'foo': '918854443121279438895193'}], ['foo=bar', 'foo=bar', {'foo': 'bar'}], ['foo=bar&foo=quux', 'foo=bar&foo=quux', {'foo': ['bar', 'quux']}], ['foo=1&bar=2', 'foo=1&bar=2', {'foo': '1', 'bar': '2'}], ['my+weird+field=q1%212%22%27w%245%267%2Fz8%29%3F', 'my%20weird%20field=q1!2%22\'w%245%267%2Fz8)%3F', {'my weird field': 'q1!2"\'w$5&7/z8)?' }], ['foo%3Dbaz=bar', 'foo%3Dbaz=bar', {'foo=baz': 'bar'}], ['foo=baz=bar', 'foo=baz%3Dbar', {'foo': 'baz=bar'}], ['str=foo&arr=1&arr=2&arr=3&somenull=&undef=', 'str=foo&arr=1&arr=2&arr=3&somenull=&undef=', { 'str': 'foo', 'arr': ['1', '2', '3'], 'somenull': '', 'undef': ''}], [' foo = bar ', '%20foo%20=%20bar%20', {' foo ': ' bar '}], ['foo=%zx', 'foo=%25zx', {'foo': '%zx'}], ['foo=%EF%BF%BD', 'foo=%EF%BF%BD', {'foo': '\ufffd' }], // See: https://github.com/joyent/node/issues/1707 ['hasOwnProperty=x&toString=foo&valueOf=bar&__defineGetter__=baz', 'hasOwnProperty=x&toString=foo&valueOf=bar&__defineGetter__=baz', { hasOwnProperty: 'x', toString: 'foo', valueOf: 'bar', __defineGetter__: 'baz' }], // See: https://github.com/joyent/node/issues/3058 ['foo&bar=baz', 'foo=&bar=baz', { foo: '', bar: 'baz' }], [null, '', {}], [undefined, '', {}] ]; // [ wonkyQS, canonicalQS, obj ] var qsColonTestCases = [ ['foo:bar', 'foo:bar', {'foo': 'bar'}], ['foo:bar;foo:quux', 'foo:bar;foo:quux', {'foo': ['bar', 'quux']}], ['foo:1&bar:2;baz:quux', 'foo:1%26bar%3A2;baz:quux', {'foo': '1&bar:2', 'baz': 'quux'}], ['foo%3Abaz:bar', 'foo%3Abaz:bar', {'foo:baz': 'bar'}], ['foo:baz:bar', 'foo:baz%3Abar', {'foo': 'baz:bar'}] ]; // [wonkyObj, qs, canonicalObj] var extendedFunction = function() {}; extendedFunction.prototype = {a: 'b'}; var qsWeirdObjects = [ [{regexp: /./g}, 'regexp=', {'regexp': ''}], [{regexp: new RegExp('.', 'g')}, 'regexp=', {'regexp': ''}], [{fn: function() {}}, 'fn=', {'fn': ''}], [{fn: new Function('')}, 'fn=', {'fn': ''}], [{math: Math}, 'math=', {'math': ''}], [{e: extendedFunction}, 'e=', {'e': ''}], [{d: new Date()}, 'd=', {'d': ''}], [{d: Date}, 'd=', {'d': ''}], [{f: new Boolean(false), t: new Boolean(true)}, 'f=&t=', {'f': '', 't': ''}], [{f: false, t: true}, 'f=false&t=true', {'f': 'false', 't': 'true'}], [{n: null}, 'n=', {'n': ''}], [{nan: NaN}, 'nan=', {'nan': ''}], [{inf: Infinity}, 'inf=', {'inf': ''}], [{a: [], b: []}, '', {}] ]; // }}} var vm = require('vm'); var foreignObject = vm.runInNewContext('({"foo": ["bar", "baz"]})'); var qsNoMungeTestCases = [ ['', {}], ['foo=bar&foo=baz', {'foo': ['bar', 'baz']}], ['foo=bar&foo=baz', foreignObject], ['blah=burp', {'blah': 'burp'}], ['gragh=1&gragh=3&goo=2', {'gragh': ['1', '3'], 'goo': '2'}], ['frappucino=muffin&goat%5B%5D=scone&pond=moose', {'frappucino': 'muffin', 'goat[]': 'scone', 'pond': 'moose'}], ['trololol=yes&lololo=no', {'trololol': 'yes', 'lololo': 'no'}] ]; assert.strictEqual('918854443121279438895193', qs.parse('id=918854443121279438895193').id); // test that the canonical qs is parsed properly. qsTestCases.forEach(function(testCase) { assert.deepEqual(testCase[2], qs.parse(testCase[0])); }); // test that the colon test cases can do the same qsColonTestCases.forEach(function(testCase) { assert.deepEqual(testCase[2], qs.parse(testCase[0], ';', ':')); }); // test the weird objects, that they get parsed properly qsWeirdObjects.forEach(function(testCase) { assert.deepEqual(testCase[2], qs.parse(testCase[1])); }); qsNoMungeTestCases.forEach(function(testCase) { assert.deepEqual(testCase[0], qs.stringify(testCase[1], '&', '=')); }); // test the nested qs-in-qs case (function() { var f = qs.parse('a=b&q=x%3Dy%26y%3Dz'); f.q = qs.parse(f.q); assert.deepEqual(f, { a: 'b', q: { x: 'y', y: 'z' } }); })(); // nested in colon (function() { var f = qs.parse('a:b;q:x%3Ay%3By%3Az', ';', ':'); f.q = qs.parse(f.q, ';', ':'); assert.deepEqual(f, { a: 'b', q: { x: 'y', y: 'z' } }); })(); // now test stringifying // basic qsTestCases.forEach(function(testCase) { assert.equal(testCase[1], qs.stringify(testCase[2])); }); qsColonTestCases.forEach(function(testCase) { assert.equal(testCase[1], qs.stringify(testCase[2], ';', ':')); }); qsWeirdObjects.forEach(function(testCase) { assert.equal(testCase[1], qs.stringify(testCase[0])); }); // coerce numbers to string assert.strictEqual('foo=0', qs.stringify({ foo: 0 })); assert.strictEqual('foo=0', qs.stringify({ foo: -0 })); assert.strictEqual('foo=3', qs.stringify({ foo: 3 })); assert.strictEqual('foo=-72.42', qs.stringify({ foo: -72.42 })); assert.strictEqual('foo=', qs.stringify({ foo: NaN })); assert.strictEqual('foo=', qs.stringify({ foo: Infinity })); // nested { const f = qs.stringify({ a: 'b', q: qs.stringify({ x: 'y', y: 'z' }) }); assert.equal(f, 'a=b&q=x%3Dy%26y%3Dz'); } assert.doesNotThrow(function() { qs.parse(undefined); }); // nested in colon { const f = qs.stringify({ a: 'b', q: qs.stringify({ x: 'y', y: 'z' }, ';', ':') }, ';', ':'); assert.equal(f, 'a:b;q:x%3Ay%3By%3Az'); } assert.deepEqual({}, qs.parse()); // Test limiting assert.equal( Object.keys(qs.parse('a=1&b=1&c=1', null, null, { maxKeys: 1 })).length, 1); // Test removing limit function testUnlimitedKeys() { const query = {}; for (var i = 0; i < 2000; i++) query[i] = i; const url = qs.stringify(query); assert.equal( Object.keys(qs.parse(url, null, null, { maxKeys: 0 })).length, 2000); } testUnlimitedKeys(); var b = qs.unescapeBuffer('%d3%f2Ug%1f6v%24%5e%98%cb' + '%0d%ac%a2%2f%9d%eb%d8%a2%e6'); // <Buffer d3 f2 55 67 1f 36 76 24 5e 98 cb 0d ac a2 2f 9d eb d8 a2 e6> assert.equal(0xd3, b[0]); assert.equal(0xf2, b[1]); assert.equal(0x55, b[2]); assert.equal(0x67, b[3]); assert.equal(0x1f, b[4]); assert.equal(0x36, b[5]); assert.equal(0x76, b[6]); assert.equal(0x24, b[7]); assert.equal(0x5e, b[8]); assert.equal(0x98, b[9]); assert.equal(0xcb, b[10]); assert.equal(0x0d, b[11]); assert.equal(0xac, b[12]); assert.equal(0xa2, b[13]); assert.equal(0x2f, b[14]); assert.equal(0x9d, b[15]); assert.equal(0xeb, b[16]); assert.equal(0xd8, b[17]); assert.equal(0xa2, b[18]); assert.equal(0xe6, b[19]); // Test custom decode function demoDecode(str) { return str + str; } assert.deepEqual( qs.parse('a=a&b=b&c=c', null, null, { decodeURIComponent: demoDecode }), { aa: 'aa', bb: 'bb', cc: 'cc' }); // Test custom encode function demoEncode(str) { return str[0]; } var obj = { aa: 'aa', bb: 'bb', cc: 'cc' }; assert.equal( qs.stringify(obj, null, null, { encodeURIComponent: demoEncode }), 'a=a&b=b&c=c'); // test overriding .unescape var prevUnescape = qs.unescape; qs.unescape = function(str) { return str.replace(/o/g, '_'); }; assert.deepEqual(qs.parse('foo=bor'), {f__: 'b_r'}); qs.unescape = prevUnescape;
28.928287
79
0.575678
b4390e4c9d7db5bbab593b63e9bdba8dd401c239
2,340
js
JavaScript
src/foam/u2/FoamTagLoader.js
nanoNeel/foam2
4a4d3f4e60392a8dc47868fffe54d4a0e98a5ed6
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/foam/u2/FoamTagLoader.js
nanoNeel/foam2
4a4d3f4e60392a8dc47868fffe54d4a0e98a5ed6
[ "ECL-2.0", "Apache-2.0" ]
1
2021-05-11T10:00:08.000Z
2021-05-11T10:00:08.000Z
src/foam/u2/FoamTagLoader.js
nanoNeel/foam2
4a4d3f4e60392a8dc47868fffe54d4a0e98a5ed6
[ "ECL-2.0", "Apache-2.0" ]
1
2020-05-09T20:33:42.000Z
2020-05-09T20:33:42.000Z
/** * @license * Copyright 2016 Google Inc. All Rights Reserved. * Copyright 2018 The FOAM Authors. All Rights Reserved. * http://www.apache.org/licenses/LICENSE-2.0 */ foam.CLASS({ package: 'foam.u2', name: 'FoamTagLoader', documentation: 'Converts <foam> tags in document into Views.', imports: [ 'classloader', 'document', 'window' ], methods: [ function init() { this.window.addEventListener('load', this.onLoad, false); }, function findPropertyIC(cls, name) { var ps = cls.getAxiomsByClass(foam.core.Property); for ( var i = 0 ; i < ps.length ; i++ ) { if ( name == ps[i].name.toLowerCase() ) return ps[i]; } }, function loadTag(el) { var clsName = el.getAttribute('class'); this.classloader.load(clsName).then(function(cls) { var obj = cls.create(null, foam.__context__); this.setAttributes(el, obj); if ( obj.promiseE ) { obj.promiseE().then(function(view) { this.installView(el, view); }); } else if ( obj.toE ) { this.installView(el, obj.toE({}, obj)); } else if ( ! foam.u2.Element.isInstance(view) ) { installView(el, foam.u2.DetailView.create({data: view, showActions: true})); } }.bind(this), function(e) { console.error(e); console.error('Failed to load class: ', clsName); }); }, function installView(el, view) { var id = el.id; // this.setAttributes(el, view); el.outerHTML = view.outerHTML; view.load(); // Store view in global variable if named. Useful for testing. if ( id ) global[id] = view; }, function setAttributes(el, obj) { for ( var j = 0 ; j < el.attributes.length ; j++ ) { var attr = el.attributes[j]; var p = this.findPropertyIC(obj.cls_, attr.name); if ( p ) p.set(obj, attr.value); } } ], listeners: [ function onLoad() { var els = Array.from(this.document.getElementsByTagName('foam')); this.window.removeEventListener('load', this.onLoad); els.forEach(this.loadTag.bind(this)); } ] }); foam.SCRIPT({ package: 'foam.u2', name: 'FoamTagLoaderScript', requires: [ 'foam.u2.FoamTagLoader' ], flags: [ 'web' ], code: function() { foam.u2.FoamTagLoader.create(); } });
26.590909
86
0.586325
b43964e06a3fa0fac6580ca0c930e08c63090608
2,574
js
JavaScript
WebRTCapp/index.js
dinhphu290998/openvidu
ca74a04ee94fb8bba398a20f40f839932bd68e4f
[ "Apache-2.0" ]
21
2018-06-15T00:53:19.000Z
2021-12-11T23:51:51.000Z
WebRTCapp/index.js
dinhphu290998/openvidu
ca74a04ee94fb8bba398a20f40f839932bd68e4f
[ "Apache-2.0" ]
4
2019-08-29T13:44:37.000Z
2020-10-14T11:13:32.000Z
WebRTCapp/index.js
dinhphu290998/openvidu
ca74a04ee94fb8bba398a20f40f839932bd68e4f
[ "Apache-2.0" ]
12
2019-07-23T19:02:46.000Z
2021-09-23T18:40:21.000Z
var WebSocketServer = require('websocket').server; var http = require('http'); var clients = [ ]; var offer; var server = http.createServer(function(request, response) { // process HTTP request. Since we're writing just WebSockets // server we don't have to implement anything. }); server.listen(1337, function() { }); // create the server wsServer = new WebSocketServer({ httpServer: server }); // WebSocket server wsServer.on('request', function(request) { var connection = request.accept(null, request.origin); var index = clients.push(connection) - 1; console.log('Index: ' + index) // This is the most important callback for us, we'll handle // all messages from users here. connection.on('message', function(message) { var json = JSON.stringify(message, null, 4); var type = JSON.parse(message['utf8Data'])['type']; console.log(type); console.log(clients.length) if ((type == 'OFFER') && (clients.length == 2)) { console.log(clients.length) clients[1].send(JSON.stringify(message)) console.log('OFFER!') } else if (type == 'ANSWER') { clients[0].send(JSON.stringify(message)) console.log('ANSWER!') } else if (type != 'OFFER'){ for (var i=0; i<clients.length; i++) { // console.log(clients[i]) clients[i].send(JSON.stringify(message)); } } if ((type == 'OFFER') && (clients.length < 2)) { console.log("offer saved") offer = message; } if (clients.length >= 2) { clients[1].send(JSON.stringify(offer)) console.log('OFFER!') } }); connection.on('close', function(connection) { console.log('Close: ' + connection) clients = [ ] }); });
43.627119
91
0.41453
b4396530cf96081992019e8cb7b473227cbf90d5
591
js
JavaScript
routes/pageRoutes.js
luminisward/nodebb-plugin-amaurot
2e061cee0de481ba234f6edab3d7b321aecdf24e
[ "MIT" ]
null
null
null
routes/pageRoutes.js
luminisward/nodebb-plugin-amaurot
2e061cee0de481ba234f6edab3d7b321aecdf24e
[ "MIT" ]
null
null
null
routes/pageRoutes.js
luminisward/nodebb-plugin-amaurot
2e061cee0de481ba234f6edab3d7b321aecdf24e
[ "MIT" ]
null
null
null
'use strict'; const acpControllers = require('../controllers/acpControllers'); const totemControllers = require('../controllers/totemControllers'); const { setupPageRoute } = require.main.require('./src/routes/helpers'); const addRoutes = async ({ router, middleware }) => { router.get('/admin/plugins/amaurot', middleware.admin.buildHeader, acpControllers.renderAdminPage); router.get('/api/admin/plugins/amaurot', acpControllers.renderAdminPage); setupPageRoute(router, '/amaurot/category/:cid/totems', middleware, [], totemControllers.totemList); }; module.exports = addRoutes;
39.4
102
0.756345
b4396a512847eff163fa3795093e6cc5d57fa06a
485
js
JavaScript
src/createElementsDom/createExpandDom.js
yunying1/jokerTree
5a3fa52343386f431fad42354a048deb7928ca71
[ "MIT" ]
2
2021-09-03T15:31:23.000Z
2021-11-16T13:25:57.000Z
src/createElementsDom/createExpandDom.js
yunying1/jokerTree
5a3fa52343386f431fad42354a048deb7928ca71
[ "MIT" ]
null
null
null
src/createElementsDom/createExpandDom.js
yunying1/jokerTree
5a3fa52343386f431fad42354a048deb7928ca71
[ "MIT" ]
null
null
null
import domNode from "../domNode"; import { expandClickEventListener } from "../event"; /** * @author YX * @desc create dom for expand symbol */ function createExpandDom(dataValue){ let expandDom = domNode("button"); expandDom.innerHTML = "+"; if (dataValue == "{}" || dataValue == "[]") { expandDom.innerHTML = "-"; } expandDom.className = "expand-symbol"; expandClickEventListener(expandDom); return expandDom; } export default createExpandDom;
26.944444
52
0.65567
b439fc65d673b3aa856ff6869d76345333f78d77
1,508
js
JavaScript
Gruntfile.js
xurizaemon/hubot-pingdom-tools
550e5c6e7fdabda4a95c4e5e074e92d660358bd8
[ "MIT" ]
3
2015-03-22T02:02:30.000Z
2018-10-29T18:37:32.000Z
Gruntfile.js
xurizaemon/hubot-pingdom-tools
550e5c6e7fdabda4a95c4e5e074e92d660358bd8
[ "MIT" ]
4
2015-03-21T06:03:04.000Z
2018-08-26T21:53:16.000Z
Gruntfile.js
xurizaemon/hubot-pingdom-tools
550e5c6e7fdabda4a95c4e5e074e92d660358bd8
[ "MIT" ]
1
2018-10-29T18:37:35.000Z
2018-10-29T18:37:35.000Z
'use strict'; module.exports = function(grunt) { grunt.loadNpmTasks('grunt-mocha-test'); grunt.loadNpmTasks('grunt-release'); grunt.loadNpmTasks('grunt-bump'); grunt.initConfig({ mochaTest: { test: { options: { reporter: 'spec', require: 'coffee-script' }, src: ['test/**/*.coffee'] } }, release: { options: { tagName: 'v<%= version %>', commitMessage: 'Prepared to release <%= version %>.' } }, watch: { files: ['Gruntfile.js', 'test/**/*.coffee'], tasks: ['test'] }, bump: { options: { files: ['package.json'], updateConfigs: [], commit: true, commitMessage: 'Release v%VERSION%', commitFiles: ['package.json'], createTag: true, tagName: 'v%VERSION%', tagMessage: 'Version %VERSION%', push: true, pushTo: 'origin', gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d', globalReplace: false, prereleaseName: false, metadata: '', regExp: false } } }); grunt.event.on('watch', function(action, filepath, target) { grunt.log.writeln(target + ': ' + filepath + ' has ' + action); }); // load all grunt tasks require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); grunt.registerTask('test', ['mochaTest']); grunt.registerTask('test:watch', ['watch']); grunt.registerTask('default', ['test']); };
24.721311
71
0.541777
b43a0c52f026972a67daafbc2e578da007c3b2ea
3,272
js
JavaScript
src/modules/store/components/StoreInformation.js
vuminhtriet/coffee-user
eb7a5091d0fcda058dcaaff256814ee42d150655
[ "MIT" ]
null
null
null
src/modules/store/components/StoreInformation.js
vuminhtriet/coffee-user
eb7a5091d0fcda058dcaaff256814ee42d150655
[ "MIT" ]
null
null
null
src/modules/store/components/StoreInformation.js
vuminhtriet/coffee-user
eb7a5091d0fcda058dcaaff256814ee42d150655
[ "MIT" ]
null
null
null
import React, { Component } from 'react' import { ScrollView, View, Modal } from 'react-native' import DefaultPage from '../../../common/hocs/defaultPage' import StoreImages from './StoreImages' import StoreTitle from './StoreTitle' import StoreContact from './StoreContact' import StoreSummary from './StoreSummary' import StorePayment from './StorePayment' import StoreShipping from './StoreShipping' import StoreRatingAndComment from './StoreRatingAndComment' import StoreSubMenu from '../../store/containers/StoreSubMenu' import WriteReview from '../../store/containers/WriteReview' export default class StoreInformation extends Component { constructor(props) { super(props) this.state = { showWriteReview: false, } } onToggleWriteReview = () => { const { getStoreInformation } = this.props const { showWriteReview } = this.state this.setState({ showWriteReview: !showWriteReview }) } onToggleBackWriteReview = () => { const { getStoreInformation, detail } = this.props const { showWriteReview } = this.state getStoreInformation(detail.id) this.setState({ showWriteReview: !showWriteReview }) } render () { const { detail, shippingTypes, paymentTypes, navigation } = this.props const { showWriteReview } = this.state return ( <DefaultPage blocking={false} style={{ flexDirection: 'column' }} > <View style={{ flex: 1 }}> {/* {detail && */} <ScrollView style={{ marginBottom: 70 }}> <StoreImages images={detail.shopFeaturedImages} /> <StoreTitle shop={detail} /> <StoreContact shop={detail} /> <StoreSummary shop={detail} /> <StoreRatingAndComment ratings={detail.reviewShops} totalRatingValue={detail.avgRating} totalUserRating={detail.numRating} newestRatings={detail.reviewShops && detail.reviewShops.sort(function(a,b){ return new Date(b.date) - new Date(a.date); }).slice(0, 2)} shopId={detail && detail.id} images={detail.shopFeaturedImages} shopName={detail.shopName} navigation={navigation} /> {/* <StoreReview shop={detail} /> */} {/* <StorePayment shop={detail} paymentTypes={paymentTypes} /> <StoreShipping shop={detail} shippingTypes={shippingTypes} /> */} </ScrollView> {/* } */} <StoreSubMenu onToggleWriteReview={this.onToggleWriteReview} navigation={navigation} shopInfo={detail} /> <Modal animationType='slide' transparent={true} visible={showWriteReview} > <WriteReview shopId={detail && detail.id} onBack={this.onToggleBackWriteReview} onButtonBack={this.onToggleWriteReview} images={detail.shopFeaturedImages} shopName={detail.shopName} ratings={detail.reviewShops} shop={detail} /> </Modal> </View> </DefaultPage> ) } }
32.72
91
0.586797
b43a23e7244479082d28a640db6ad335695bcd27
3,682
js
JavaScript
packages/scalable-form-editor/src/popover/baseConfig/index.js
baiheinet/scalable-form-platform
7ebabbb73186981d9bc37a1dbb9ada14f1c1e925
[ "MIT" ]
121
2020-01-07T05:40:55.000Z
2022-02-12T14:39:07.000Z
packages/scalable-form-editor/src/popover/baseConfig/index.js
licop/scalable-form-platform
f1390f331b3ac57784f82713eedc31ccdd54d625
[ "MIT" ]
8
2020-04-06T16:48:39.000Z
2021-05-24T08:14:57.000Z
packages/scalable-form-editor/src/popover/baseConfig/index.js
licop/scalable-form-platform
f1390f331b3ac57784f82713eedc31ccdd54d625
[ "MIT" ]
22
2020-03-09T08:38:59.000Z
2021-10-11T18:39:39.000Z
/** * 表单基本信息浮层(目前是标题和描述) * @props: visible(popover是否显示) formData(当前的配置数据) formDataChangeHandler(数据变换处理回调方法) visibleChangeHandler(popover的onVisibleChange处理器) */ import React, {PureComponent} from 'react'; import PropTypes from 'prop-types'; import {Popover} from 'antd'; import XForm from 'scalable-form-antd'; import './index.less'; import {getMessageId} from '../../i18n/localeMessages'; export default class BaseFormConfigPopover extends PureComponent { static propTypes = { messages: PropTypes.object.isRequired, popupContainer: PropTypes.func.isRequired, children: PropTypes.element.isRequired, visible: PropTypes.bool.isRequired, formData: PropTypes.shape({ formTitle: PropTypes.string, formDesc: PropTypes.string }).isRequired, formDataChangeHandler: PropTypes.func.isRequired, visibleChangeHandler: PropTypes.func.isRequired }; constructor(props) { super(props); this.renderPopoverContent = this.renderPopoverContent.bind(this); } renderPopoverContent() { const {messages, formData, formDataChangeHandler} = this.props; return ( <div className="base-config-wrapper"> <p className="popover-title">{messages[getMessageId('xformBaseConfigPopoverTitle')]}</p> <XForm formItemLayout={{ labelCol: {span: 3}, wrapperCol: {span: 21} }} alignType="vertical" onChange={(formData) => { formDataChangeHandler(formData); }} jsonSchema={{ type: 'object', title: '', properties: { formTitle: { title: messages[getMessageId('xformBaseConfigFormTitleLabel')], type: 'string', maxLength: 20 }, formDesc: { title: messages[getMessageId('xformBaseConfigFormDescLabel')], type: 'string', maxLength: 200 } } }} uiSchema={{ formTitle: { 'ui:options': { placeholder: messages[getMessageId('xformBaseConfigFormTitlePlaceholder')] } }, formDesc: { 'ui:widget': 'textarea', 'ui:options': { placeholder: messages[getMessageId('xformBaseConfigFormDescPlaceholder')] } } }} formData={{...formData}} /> </div> ); } render() { const {children, visible, visibleChangeHandler, popupContainer} = this.props; return ( <Popover title="" content={this.renderPopoverContent()} visible={visible} onVisibleChange={visibleChangeHandler} trigger="click" placement="bottomLeft" overlayClassName="app-xform-builder-base-config-popover" getPopupContainer={popupContainer} > {children} </Popover> ); } }
36.455446
132
0.473656
b43a35bd6d127f4fc0f1076e9e9f1e931ce3ce3a
496
js
JavaScript
client/src/i18n.js
uk-gov-mirror/UKHomeOffice.cop-ui
3441826208ec114aef8e1d29251e20bfec3168e8
[ "MIT" ]
4
2020-06-13T18:07:04.000Z
2022-03-11T13:57:23.000Z
client/src/i18n.js
uk-gov-mirror/UKHomeOffice.cop-ui
3441826208ec114aef8e1d29251e20bfec3168e8
[ "MIT" ]
33
2020-10-26T12:53:37.000Z
2022-03-15T20:58:50.000Z
client/src/i18n.js
uk-gov-mirror/UKHomeOffice.cop-ui
3441826208ec114aef8e1d29251e20bfec3168e8
[ "MIT" ]
4
2020-09-28T12:38:55.000Z
2022-03-12T09:55:33.000Z
import i18n from 'i18next'; import Backend from 'i18next-xhr-backend'; import LanguageDetector from 'i18next-browser-languagedetector'; import { initReactI18next } from 'react-i18next'; const instance = i18n.createInstance(); instance .use(Backend) .use(LanguageDetector) .use(initReactI18next) .init({ lng: 'en-GB', fallbackLng: 'en', react: { wait: true, }, debug: false, interpolation: { escapeValue: false, }, }); export default instance;
19.84
64
0.671371
b43a87042ed3f0e743e0259cb0a3c79f3ba94076
1,016
js
JavaScript
src/move-to-contact.js
Widdershin/cycle-conf-talk
6dbacf368df85aa2570e6a0883cec375e334bf64
[ "MIT" ]
null
null
null
src/move-to-contact.js
Widdershin/cycle-conf-talk
6dbacf368df85aa2570e6a0883cec375e334bf64
[ "MIT" ]
null
null
null
src/move-to-contact.js
Widdershin/cycle-conf-talk
6dbacf368df85aa2570e6a0883cec375e334bf64
[ "MIT" ]
null
null
null
import collide from 'box-collide'; export default function moveToContact (movingEntity, entityToCollideWith, deltaTime) { let amountMoved = { h: 0, v: 0 }; function move () { if (Math.abs(amountMoved.h) >= Math.abs(movingEntity.hSpeed) && Math.abs(amountMoved.v) >= Math.abs(movingEntity.vSpeed)) { return movingEntity; } const normalMax = Math.abs(movingEntity.hSpeed) + Math.abs(movingEntity.vSpeed); const normalHSpeed = movingEntity.hSpeed / normalMax; const normalVSpeed = movingEntity.vSpeed / normalMax; const nextPosition = Object.assign( {}, movingEntity, { x: movingEntity.x + normalHSpeed, y: movingEntity.y + normalVSpeed } ); if (collide(nextPosition, entityToCollideWith)) { return movingEntity; } movingEntity.x += normalHSpeed; movingEntity.y += normalVSpeed; amountMoved.h += normalHSpeed; amountMoved.v += normalVSpeed; return move(); } return move(); }
23.090909
86
0.649606
b43a9c439a63eecdcab86283e1c79da6f030de44
6,262
js
JavaScript
static/javascripts/controllers/book_page.controller.js
Stanford-PERTS/bele-library
ad2bbda6e7a03d3579b52b5de30771d9990cabac
[ "CC0-1.0" ]
null
null
null
static/javascripts/controllers/book_page.controller.js
Stanford-PERTS/bele-library
ad2bbda6e7a03d3579b52b5de30771d9990cabac
[ "CC0-1.0" ]
null
null
null
static/javascripts/controllers/book_page.controller.js
Stanford-PERTS/bele-library
ad2bbda6e7a03d3579b52b5de30771d9990cabac
[ "CC0-1.0" ]
null
null
null
// Angular controller for handling practice search page angular.module('mskApp') .controller('BookPageCtrl', ['$scope', '$window', 'Api', 'User', 'Share', 'Engagement', function ($scope, $window, Api, User, Share, Engagement) { 'use strict'; $scope.liked = false; $scope.pageId = $window.location.pathname.split('/').pop().split('?')[0]; $scope.bookId = $window.location.pathname.split('/')[1]; $scope.chapterId = $window.location.pathname.split('/')[2]; $scope.showTranscription = false; var trackParams = { 'Content Type': 'BookPage', 'Content Id': $scope.pageId, 'Chapter Id': $scope.chapterId, 'Book Id': $scope.bookId }; // Track content view mixpanel.track('View Content', trackParams); // Track time spent on pages Engagement.trackViewDurations([15, 30, 60, 120], trackParams); // Get share counts Share.getShareCount().then(function (response) { $scope.shareCount = response; }, function (error) { $scope.shareCount = 0; }); // Update user once it's been fetched. $scope.$on('user:updated', function(event, data) { $scope.user = User.currentUser(); // Fetch practices if a user is found. if ($scope.user) { Api.votes.fetch($scope.bookId, 'book') .then(function (response) { if (response.data && response.data.length > 0) { $scope.liked = response.data[0].vote_for; $scope.voteId = response.data[0].uid; } else { // None found... } $scope.voteFound = true; }); } }); $scope.init = function(bookId) { $scope.bookId = bookId; }; $scope.toggleLike = function() { if ($scope.user && !$scope.loading) { if ($scope.liked) { $scope.unlikeBook(); } else { $scope.likeBook(); } } else { // Error. } }; $scope.likeBook = function() { $scope.liked = true; $scope.loading = true; mixpanel.track('Like Content', trackParams); Api.votes.create($scope.bookId, 'book') .then(function (response) { // @todo: catch response.error $scope.loading = false; if (response.data) { $scope.voteId = response.data.uid; } }); }; $scope.unlikeBook = function() { $scope.liked = false; $scope.loading = true; Api.votes.delete($scope.voteId) .then(function (response) { // @todo: catch response.error $scope.loading = false; }); }; $scope.toggleTranscription = function() { $scope.showTranscription = !$scope.showTranscription; if ($scope.showTranscription) { mixpanel.track('View Transcript', trackParams); } }; $scope.trackDownload = function (fileName) { mixpanel.track('File Download', { 'Content Type': 'BookPage', 'Content Id': $scope.pageId, 'Chapter Id': $scope.chapterId, 'Book Id': $scope.bookId, 'File Name': fileName }); }; // Function to send form on reflection exercises $scope.emailReflection = function () { $scope.emailErrorMessage = ''; $scope.emailProcessing = true; var emailTo = $scope.emailTo || $scope.user.email; if ($scope.emailBody && $scope.emailBody.length > 5 && emailTo) { // Send reflection to email via API Api.sendReflectionEmail({ 'to_address': emailTo, 'questions': $scope.emailQuestions, 'reflection': $scope.emailBody }).then( function (response) { $scope.emailProcessing = false; $scope.emailSuccessMessage = true; }); // Track 'Email Reflection' mixpanel.track('Email Reflection', { 'Content Type': 'BookPage', 'Content Id': $scope.pageId, 'Chapter Id': $scope.chapterId, 'Book Id': $scope.bookId }); } else { $scope.emailErrorMessage = 'Reflection is too short.'; $scope.emailProcessing = false; } }; $scope.goTo = function(url) { window.location.href = url; }; $scope.openAuthorsModal = function() { $('#authorsModal').modal('show'); }; $scope.handleClickRemoveAuthor = function (authorId, displayName) { $scope.authorPendingRemoval = { uid: authorId, name: displayName }; $scope.$root.redirect = null; $('#authorsModal').modal('hide'); $('#removeAuthorModal').modal('show'); }; $scope.handleConfirmRemoveAuthor = function (author) { $scope.removingAuthor = true; $scope.$root.redirect = null; Api.books.removeAuthor($scope.bookId, author.uid) .then(function (response) { if (response.data) { // The author modal is rendered server-side, so now we have to // reload. $window.location.reload(); } else { throw new Error("Unable to remove author from page: " + author.uid); } }); }; $scope.handleCloseRemove = function() { $scope.openRemoveAuthorModal = false; $('#removeAuthorModal').modal('hide'); }; $scope.handleClickInviteAuthors = function() { console.log('handleClickInviteAuthors'); $scope.$root.redirect = null; $scope.openAuthorshipModal = true; $('#authorsModal').modal('hide'); }; $scope.handleClickCloseAuthors = function() { $scope.openAuthorshipModal = false; $('#authorsModal').modal('hide'); }; // Hacks to deal with nested bootstrap modals $('#authorsModal').on('hidden.bs.modal', function () { if ($scope.openAuthorshipModal === true) { $('#authorshipModal').modal('show'); let node = document.createElement("DIV"); node.id = 'custom-backdrop'; node.className = 'modal-backdrop fade in'; document.body.appendChild(node); } }); $(document).on('hidden.bs.modal', '#authorshipModal', function () { const node = document.getElementById('custom-backdrop'); if (node) { document.body.removeChild(node); } }); }]);
27.226087
148
0.566113
b43aa7fa65bf01ef435d00e64e350ab786993aeb
539
js
JavaScript
deprecated/service-express-device/src/lib/graphql/queries/device.query.js
forrestjs/forrestjs
82039261e01656cfab9b20995f186300c05b1f09
[ "MIT" ]
37
2019-05-18T07:41:41.000Z
2022-03-21T11:41:21.000Z
deprecated/service-express-device/src/lib/graphql/queries/device.query.js
forrestjs/forrestjs
82039261e01656cfab9b20995f186300c05b1f09
[ "MIT" ]
28
2019-05-16T09:31:10.000Z
2022-02-06T13:41:05.000Z
deprecated/service-express-device/src/lib/graphql/queries/device.query.js
forrestjs/forrestjs
82039261e01656cfab9b20995f186300c05b1f09
[ "MIT" ]
4
2019-05-16T13:56:56.000Z
2019-09-11T01:52:02.000Z
import { GraphQLObjectType, GraphQLNonNull } from 'graphql' import { GraphQLID } from 'graphql' // @TODO: let extensions enrich the selection of fields export const deviceQuery = ({ attributeName }, ctx) => ({ description: 'Provides the current device informations', type: new GraphQLNonNull(new GraphQLObjectType({ name: 'DeviceQuery', fields: { id: { type: GraphQLID, }, }, })), resolve: (_, args, { req }) => ({ id: req[attributeName], }), })
28.368421
60
0.57885
b43c0278dc1d7f71d6db108647882fc136688c56
155
js
JavaScript
js/main.js
hafezdeldaffa/bundesliga-id
18f8d857f80ce6d5d044fdc8852669240d096a68
[ "MIT" ]
1
2021-04-22T18:34:57.000Z
2021-04-22T18:34:57.000Z
js/main.js
hafezdeldaffa/bundesliga-id
18f8d857f80ce6d5d044fdc8852669240d096a68
[ "MIT" ]
null
null
null
js/main.js
hafezdeldaffa/bundesliga-id
18f8d857f80ce6d5d044fdc8852669240d096a68
[ "MIT" ]
null
null
null
import regis from './regis.js' regis.registration(); regis.notification(); document.addEventListener('DOMContentLoaded', () => { getTeams() })
19.375
54
0.670968
b43c1b777a05baaccbac1d4abcc584fcd8c15e98
2,790
js
JavaScript
web/frontend/node_modules/rxjs/internal/operators/scan.js
atesbilgin/ENELPI---Soru-Cevap-Sistemi
ac839d0445863ac4735d05d03d4e8bea78f51c5b
[ "MIT" ]
12,278
2015-01-29T17:11:33.000Z
2022-03-31T21:12:00.000Z
web/frontend/node_modules/rxjs/internal/operators/scan.js
atesbilgin/ENELPI---Soru-Cevap-Sistemi
ac839d0445863ac4735d05d03d4e8bea78f51c5b
[ "MIT" ]
9,469
2015-01-30T05:33:07.000Z
2022-03-31T16:17:21.000Z
web/frontend/node_modules/rxjs/internal/operators/scan.js
atesbilgin/ENELPI---Soru-Cevap-Sistemi
ac839d0445863ac4735d05d03d4e8bea78f51c5b
[ "MIT" ]
892
2015-01-29T16:26:19.000Z
2022-03-20T07:44:30.000Z
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); } return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var Subscriber_1 = require("../Subscriber"); function scan(accumulator, seed) { var hasSeed = false; if (arguments.length >= 2) { hasSeed = true; } return function scanOperatorFunction(source) { return source.lift(new ScanOperator(accumulator, seed, hasSeed)); }; } exports.scan = scan; var ScanOperator = (function () { function ScanOperator(accumulator, seed, hasSeed) { if (hasSeed === void 0) { hasSeed = false; } this.accumulator = accumulator; this.seed = seed; this.hasSeed = hasSeed; } ScanOperator.prototype.call = function (subscriber, source) { return source.subscribe(new ScanSubscriber(subscriber, this.accumulator, this.seed, this.hasSeed)); }; return ScanOperator; }()); var ScanSubscriber = (function (_super) { __extends(ScanSubscriber, _super); function ScanSubscriber(destination, accumulator, _seed, hasSeed) { var _this = _super.call(this, destination) || this; _this.accumulator = accumulator; _this._seed = _seed; _this.hasSeed = hasSeed; _this.index = 0; return _this; } Object.defineProperty(ScanSubscriber.prototype, "seed", { get: function () { return this._seed; }, set: function (value) { this.hasSeed = true; this._seed = value; }, enumerable: true, configurable: true }); ScanSubscriber.prototype._next = function (value) { if (!this.hasSeed) { this.seed = value; this.destination.next(value); } else { return this._tryNext(value); } }; ScanSubscriber.prototype._tryNext = function (value) { var index = this.index++; var result; try { result = this.accumulator(this.seed, value, index); } catch (err) { this.destination.error(err); } this.seed = result; this.destination.next(result); }; return ScanSubscriber; }(Subscriber_1.Subscriber)); //# sourceMappingURL=scan.js.map
33.614458
107
0.583513
b43cfafd10bc2f779c35b4821242be681ec14f0f
5,560
js
JavaScript
specs/forecast/forecast.js
LunchBadger/lunchbadger-e2e-tests
731dc29911d00bf2fbccfc3ffde6908eedabcee8
[ "Apache-2.0" ]
1
2020-07-27T18:44:27.000Z
2020-07-27T18:44:27.000Z
specs/forecast/forecast.js
LunchBadger/lunchbadger-e2e-tests
731dc29911d00bf2fbccfc3ffde6908eedabcee8
[ "Apache-2.0" ]
null
null
null
specs/forecast/forecast.js
LunchBadger/lunchbadger-e2e-tests
731dc29911d00bf2fbccfc3ffde6908eedabcee8
[ "Apache-2.0" ]
null
null
null
var page; var apiSelector = '.quadrant:nth-child(4) .canvas-element.API'; var forecasterSelector = '.panel:nth-child(3) .panel__container .panel__body'; var apiForecastSelector = forecasterSelector + ' .api-forecast'; var moment = require('moment'); module.exports = { // '@disabled': true, before: function (browser) { page = browser.page.lunchBadger(); // first close forecaster if already exists browser.element('css selector', apiForecastSelector + ' .api-forecast__header__nav li:nth-child(1) > a', function (result) { if (result.status > -1) { browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(1) > a'); } }); page.open(); // Create an API page.addElement('.api.tool'); browser.click(apiSelector + ' .canvas-element__button'); browser.pause(500); }, 'Forecast: create': function (browser) { page.click('@forecaster'); browser.pause(1500); page.dragDropElement( apiSelector, forecasterSelector ); browser.expect.element(apiForecastSelector).to.be.present; browser.getText(apiSelector + ' .canvas-element__name', function (result) { browser.expect.element(apiForecastSelector + ' .api-forecast__header__title').text.to.contain(result.value); }); browser.element('css selector', apiForecastSelector + '.expanded', function (result) { if (result.status > -1) { browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(2) > a'); } }); browser.pause(2000); }, 'Forecast: expand': function (browser) { browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(2) > a'); browser.expect.element(apiForecastSelector + '.expanded').to.be.present; browser.pause(2000); }, 'Forecast: collapse': function (browser) { browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(2) > a'); browser.expect.element(apiForecastSelector + '.expanded').to.not.be.present; browser.pause(2000); }, 'Forecast: forecast next month': function (browser) { var markWidth = 0; browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(2) > a'); browser.expect.element(apiForecastSelector + '.expanded').to.be.present; browser.pause(500); browser.expect.element(apiForecastSelector + ' .date-slider__mark.current').text.to.equal(moment().format('MMM')[0]); browser.getElementSize(apiForecastSelector + ' .date-slider__mark.current', function (result) { markWidth = result.value.width; }); browser .pause(500) .useCss() .moveToElement(apiForecastSelector + ' .rc-slider-handle:first-child', 10, 10) .mouseButtonDown(0) .moveToElement(apiForecastSelector + ' .date-slider__mark.current + .date-slider__mark', 10, 10) .mouseButtonUp(0) .pause(500); browser.elements('css selector', apiForecastSelector + ' .barlayer .trace:nth-child(3) .points path', function (result) { browser.assert.equal(result.value.length, parseInt(moment().add(1, 'months').format('M'), 10)); }); browser.pause(2000); }, 'Forecast: change current month': function (browser) { browser .pause(500) .useCss() .moveToElement(apiForecastSelector + ' .barlayer .trace:nth-child(3) .points path:last-child', 10, 10) .mouseButtonClick(0) .pause(500); browser.expect.element(apiForecastSelector + ' .date-slider__mark.selected').text.to.equal(moment().add(1, 'months').format('MMM')[0]); browser.pause(2000); }, 'Forecast: change date range': function (browser) { var startDate; var endDate; var startEndDiff = 1; // start date browser.click(apiForecastSelector + ' .react-datepicker__input-container:first-child > input'); browser.click('.react-datepicker__navigation--next'); browser.click('.react-datepicker__month .react-datepicker__week:nth-child(3) .react-datepicker__day:first-child'); browser.getValue(apiForecastSelector + ' .react-datepicker__input-container:first-child > input', function(result) { startDate = moment(result.value, 'D MMM YYYY'); }); // end date browser.click(apiForecastSelector + ' .react-datepicker__input-container:nth-child(3) > input'); browser.click('.react-datepicker__navigation--previous'); browser.click('.react-datepicker__navigation--previous'); browser.click('.react-datepicker__month .react-datepicker__week:nth-child(3) .react-datepicker__day:first-child'); browser.getValue(apiForecastSelector + ' .react-datepicker__input-container:nth-child(3) > input', function(result) { endDate = moment(result.value, 'D MMM YYYY'); }); browser.elements('css selector', apiForecastSelector + ' .barlayer .trace:nth-child(3) .points path', function (result) { browser.assert.equal(result.value.length, endDate.diff(startDate, 'months') + startEndDiff); }); browser.expect.element(apiForecastSelector + ' .date-slider__mark.selected').text.to.equal(moment().subtract(1, 'months').format('MMM')[0]); browser.pause(2000); }, 'Forecast: remove': function (browser) { browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(2) > a'); browser.click(apiForecastSelector + ' .api-forecast__header__nav li:nth-child(1) > a'); browser.pause(500); browser.expect.element(apiForecastSelector).to.not.be.present; browser.pause(1500); }, after: function () { page.close(); } };
35.189873
144
0.683273
b43d0666a102d77783ab9a1b1acb490937621e53
452
js
JavaScript
fusioncharts-dist-develop/vendors/fc-features/src/annotation/annotation-animation.js
DeroMal/SmartSepticTank
6a9abd4cdbf13af29eaeb88b1d8bf2fa84377e43
[ "MIT" ]
2
2021-08-03T07:52:16.000Z
2021-09-30T10:29:14.000Z
fusioncharts-dist-develop/vendors/fc-features/src/annotation/annotation-animation.js
DeroMal/SmartSepticTank
6a9abd4cdbf13af29eaeb88b1d8bf2fa84377e43
[ "MIT" ]
null
null
null
fusioncharts-dist-develop/vendors/fc-features/src/annotation/annotation-animation.js
DeroMal/SmartSepticTank
6a9abd4cdbf13af29eaeb88b1d8bf2fa84377e43
[ "MIT" ]
1
2021-08-06T09:48:49.000Z
2021-08-06T09:48:49.000Z
let elementAnimationObject=()=>[{initialAttr:{opacity:0},finalAttr:{opacity:1},slot:'initial'}];export default{"initial.extension.annotation":()=>({"polypath.appearing":elementAnimationObject,"text.appearing":elementAnimationObject,"image.appearing":elementAnimationObject,"ellipse.appearing":elementAnimationObject,"ringpath.appearing":elementAnimationObject,"path.appearing":elementAnimationObject,"rect.appearing":elementAnimationObject,"*":null})};
452
452
0.823009
b43ee41869142b19ebd085e4a989cdb764b9f15c
12,669
js
JavaScript
public/18.js
fatihgozenc/heineproductmanager
ed54a0fab7130c3ed93c05a0fa275ea261745a5a
[ "MIT" ]
null
null
null
public/18.js
fatihgozenc/heineproductmanager
ed54a0fab7130c3ed93c05a0fa275ea261745a5a
[ "MIT" ]
null
null
null
public/18.js
fatihgozenc/heineproductmanager
ed54a0fab7130c3ed93c05a0fa275ea261745a5a
[ "MIT" ]
null
null
null
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[18],{ /***/ "./node_modules/@ionic/core/dist/esm-es5/ion-chip.entry.js": /*!*****************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm-es5/ion-chip.entry.js ***! \*****************************************************************/ /*! exports provided: ion_chip */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ion_chip", function() { return Chip; }); /* harmony import */ var _index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./index-821f9ab1.js */ "./node_modules/@ionic/core/dist/esm-es5/index-821f9ab1.js"); /* harmony import */ var _ionic_global_f538b4cf_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./ionic-global-f538b4cf.js */ "./node_modules/@ionic/core/dist/esm-es5/ionic-global-f538b4cf.js"); /* harmony import */ var _theme_3f0b0c04_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./theme-3f0b0c04.js */ "./node_modules/@ionic/core/dist/esm-es5/theme-3f0b0c04.js"); var chipIosCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"; var chipMdCss = ":host{--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);--color:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.87);border-radius:16px;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;margin-left:4px;margin-right:4px;margin-top:4px;margin-bottom:4px;padding-left:12px;padding-right:12px;padding-top:7px;padding-bottom:7px;display:-ms-inline-flexbox;display:inline-flex;position:relative;-ms-flex-align:center;align-items:center;height:32px;background:var(--background);color:var(--color);font-family:var(--ion-font-family, inherit);font-size:14px;line-height:1;cursor:pointer;overflow:hidden;vertical-align:middle;-webkit-box-sizing:border-box;box-sizing:border-box}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{margin-left:unset;margin-right:unset;-webkit-margin-start:4px;margin-inline-start:4px;-webkit-margin-end:4px;margin-inline-end:4px}}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:12px;padding-inline-start:12px;-webkit-padding-end:12px;padding-inline-end:12px}}:host(.ion-color){background:rgba(var(--ion-color-base-rgb), 0.08);color:var(--ion-color-shade)}:host(.ion-color:focus){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.ion-color.ion-activated){background:rgba(var(--ion-color-base-rgb), 0.16)}:host(.chip-outline){border-width:1px;border-style:solid}:host(.chip-outline){border-color:rgba(0, 0, 0, 0.32);background:transparent}:host(.chip-outline.ion-color){border-color:rgba(var(--ion-color-base-rgb), 0.32)}:host(.chip-outline:not(.ion-color):focus){background:rgba(0, 0, 0, 0.04)}:host(.chip-outline.ion-activated:not(.ion-color)){background:rgba(0, 0, 0, 0.08)}::slotted(ion-icon){font-size:20px}:host(:not(.ion-color)) ::slotted(ion-icon){color:rgba(0, 0, 0, 0.54)}::slotted(ion-icon:first-child){margin-left:-4px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-4px;margin-inline-start:-4px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-icon:last-child){margin-left:8px;margin-right:-4px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-icon:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-4px;margin-inline-end:-4px}}::slotted(ion-avatar){width:24px;height:24px}::slotted(ion-avatar:first-child){margin-left:-8px;margin-right:8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:first-child){margin-left:unset;margin-right:unset;-webkit-margin-start:-8px;margin-inline-start:-8px;-webkit-margin-end:8px;margin-inline-end:8px}}::slotted(ion-avatar:last-child){margin-left:8px;margin-right:-8px;margin-top:-4px;margin-bottom:-4px}@supports ((-webkit-margin-start: 0) or (margin-inline-start: 0)) or (-webkit-margin-start: 0){::slotted(ion-avatar:last-child){margin-left:unset;margin-right:unset;-webkit-margin-start:8px;margin-inline-start:8px;-webkit-margin-end:-8px;margin-inline-end:-8px}}:host(:focus){outline:none}:host(:focus){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-activated){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.2)}@media (any-hover: hover){:host(:hover){--background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.16)}:host(.ion-color:hover){background:rgba(var(--ion-color-base-rgb), 0.12)}:host(.chip-outline:not(.ion-color):hover){background:rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.04)}}"; var Chip = /** @class */ (function () { function Chip(hostRef) { Object(_index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__["r"])(this, hostRef); /** * Display an outline style button. */ this.outline = false; } Chip.prototype.render = function () { var _a; var mode = Object(_ionic_global_f538b4cf_js__WEBPACK_IMPORTED_MODULE_1__["b"])(this); return (Object(_index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__["h"])(_index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__["H"], { class: Object.assign(Object.assign({}, Object(_theme_3f0b0c04_js__WEBPACK_IMPORTED_MODULE_2__["c"])(this.color)), (_a = {}, _a[mode] = true, _a['chip-outline'] = this.outline, _a['ion-activatable'] = true, _a)) }, Object(_index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__["h"])("slot", null), mode === 'md' && Object(_index_821f9ab1_js__WEBPACK_IMPORTED_MODULE_0__["h"])("ion-ripple-effect", null))); }; return Chip; }()); Chip.style = { ios: chipIosCss, md: chipMdCss }; /***/ }), /***/ "./node_modules/@ionic/core/dist/esm-es5/theme-3f0b0c04.js": /*!*****************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm-es5/theme-3f0b0c04.js ***! \*****************************************************************/ /*! exports provided: c, g, h, o */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "c", function() { return createColorClasses; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "g", function() { return getClassMap; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "h", function() { return hostContext; }); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "o", function() { return openURL; }); /* harmony import */ var tslib__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! tslib */ "./node_modules/tslib/tslib.es6.js"); var hostContext = function (selector, el) { return el.closest(selector) !== null; }; /** * Create the mode and color classes for the component based on the classes passed in */ var createColorClasses = function (color) { var _a; return (typeof color === 'string' && color.length > 0) ? (_a = { 'ion-color': true }, _a["ion-color-" + color] = true, _a) : undefined; }; var getClassList = function (classes) { if (classes !== undefined) { var array = Array.isArray(classes) ? classes : classes.split(' '); return array .filter(function (c) { return c != null; }) .map(function (c) { return c.trim(); }) .filter(function (c) { return c !== ''; }); } return []; }; var getClassMap = function (classes) { var map = {}; getClassList(classes).forEach(function (c) { return map[c] = true; }); return map; }; var SCHEME = /^[a-z][a-z0-9+\-.]*:/; var openURL = function (url, ev, direction, animation) { return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__awaiter"])(void 0, void 0, void 0, function () { var router; return Object(tslib__WEBPACK_IMPORTED_MODULE_0__["__generator"])(this, function (_a) { if (url != null && url[0] !== '#' && !SCHEME.test(url)) { router = document.querySelector('ion-router'); if (router) { if (ev != null) { ev.preventDefault(); } return [2 /*return*/, router.push(url, direction, animation)]; } } return [2 /*return*/, false]; }); }); }; /***/ }) }]);
115.172727
3,868
0.693741
b43ef3250de0713f74436820a34abf1c7ddd9eca
8,710
js
JavaScript
node_modules/@react-stately/numberfield/dist/module.js
SlipFil/DeleteBG
59528cfe22477aeb6f9eadec3068e99b0f42e595
[ "Apache-2.0" ]
null
null
null
node_modules/@react-stately/numberfield/dist/module.js
SlipFil/DeleteBG
59528cfe22477aeb6f9eadec3068e99b0f42e595
[ "Apache-2.0" ]
null
null
null
node_modules/@react-stately/numberfield/dist/module.js
SlipFil/DeleteBG
59528cfe22477aeb6f9eadec3068e99b0f42e595
[ "Apache-2.0" ]
null
null
null
import {useControlledState as $vhjCi$useControlledState, clamp as $vhjCi$clamp, snapValueToStep as $vhjCi$snapValueToStep} from "@react-stately/utils"; import {NumberFormatter as $vhjCi$NumberFormatter, NumberParser as $vhjCi$NumberParser} from "@internationalized/number"; import {useState as $vhjCi$useState, useMemo as $vhjCi$useMemo, useCallback as $vhjCi$useCallback, useRef as $vhjCi$useRef} from "react"; function $parcel$export(e, n, v, s) { Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); } var $de67e98908f0c6ee$exports = {}; $parcel$export($de67e98908f0c6ee$exports, "useNumberFieldState", () => $de67e98908f0c6ee$export$7f629e9dc1ecf37c); function $de67e98908f0c6ee$export$7f629e9dc1ecf37c(props) { let { minValue: minValue , maxValue: maxValue , step: step , formatOptions: formatOptions , value: value1 , defaultValue: defaultValue , onChange: onChange , locale: locale , isDisabled: isDisabled , isReadOnly: isReadOnly } = props; let [numberValue, setNumberValue] = $vhjCi$useControlledState(value1, isNaN(defaultValue) ? NaN : defaultValue, onChange); let [inputValue, setInputValue] = $vhjCi$useState(()=>isNaN(numberValue) ? '' : new $vhjCi$NumberFormatter(locale, formatOptions).format(numberValue) ); let numberParser = $vhjCi$useMemo(()=>new $vhjCi$NumberParser(locale, formatOptions) , [ locale, formatOptions ]); let numberingSystem = $vhjCi$useMemo(()=>numberParser.getNumberingSystem(inputValue) , [ numberParser, inputValue ]); let formatter = $vhjCi$useMemo(()=>new $vhjCi$NumberFormatter(locale, { ...formatOptions, numberingSystem: numberingSystem }) , [ locale, formatOptions, numberingSystem ]); let intlOptions = $vhjCi$useMemo(()=>formatter.resolvedOptions() , [ formatter ]); let format = $vhjCi$useCallback((value)=>isNaN(value) ? '' : formatter.format(value) , [ formatter ]); let clampStep = !isNaN(step) ? step : 1; if (intlOptions.style === 'percent' && isNaN(step)) clampStep = 0.01; // Update the input value when the number value or format options change. This is done // in a useEffect so that the controlled behavior is correct and we only update the // textfield after prop changes. let prevValue = $vhjCi$useRef(numberValue); let prevLocale = $vhjCi$useRef(locale); let prevFormatOptions = $vhjCi$useRef(formatOptions); if (!Object.is(numberValue, prevValue.current) || locale !== prevLocale.current || formatOptions !== prevFormatOptions.current) { setInputValue(format(numberValue)); prevValue.current = numberValue; prevLocale.current = locale; prevFormatOptions.current = formatOptions; } // Store last parsed value in a ref so it can be used by increment/decrement below let parsedValue = $vhjCi$useMemo(()=>numberParser.parse(inputValue) , [ numberParser, inputValue ]); let parsed = $vhjCi$useRef(0); parsed.current = parsedValue; let commit = ()=>{ // Set to empty state if input value is empty if (!inputValue.length) { setNumberValue(NaN); setInputValue(value1 === undefined ? '' : format(numberValue)); return; } // if it failed to parse, then reset input to formatted version of current number if (isNaN(parsed.current)) { setInputValue(format(numberValue)); return; } // Clamp to min and max, round to the nearest step, and round to specified number of digits let clampedValue; if (isNaN(step)) clampedValue = $vhjCi$clamp(parsed.current, minValue, maxValue); else clampedValue = $vhjCi$snapValueToStep(parsed.current, minValue, maxValue, step); clampedValue = numberParser.parse(format(clampedValue)); setNumberValue(clampedValue); // in a controlled state, the numberValue won't change, so we won't go back to our old input without help setInputValue(format(value1 === undefined ? clampedValue : numberValue)); }; let safeNextStep = (operation, minMax)=>{ let prev = parsed.current; if (isNaN(prev)) { // if the input is empty, start from the min/max value when incrementing/decrementing, // or zero if there is no min/max value defined. let newValue = isNaN(minMax) ? 0 : minMax; return $vhjCi$snapValueToStep(newValue, minValue, maxValue, clampStep); } else { // otherwise, first snap the current value to the nearest step. if it moves in the direction // we're going, use that value, otherwise add the step and snap that value. let newValue = $vhjCi$snapValueToStep(prev, minValue, maxValue, clampStep); if (operation === '+' && newValue > prev || operation === '-' && newValue < prev) return newValue; return $vhjCi$snapValueToStep($de67e98908f0c6ee$var$handleDecimalOperation(operation, prev, clampStep), minValue, maxValue, clampStep); } }; let increment = ()=>{ let newValue = safeNextStep('+', minValue); // if we've arrived at the same value that was previously in the state, the // input value should be updated to match // ex type 4, press increment, highlight the number in the input, type 4 again, press increment // you'd be at 5, then incrementing to 5 again, so no re-render would happen and 4 would be left in the input if (newValue === numberValue) setInputValue(format(newValue)); setNumberValue(newValue); }; let decrement = ()=>{ let newValue = safeNextStep('-', maxValue); if (newValue === numberValue) setInputValue(format(newValue)); setNumberValue(newValue); }; let incrementToMax = ()=>{ if (maxValue != null) setNumberValue($vhjCi$snapValueToStep(maxValue, minValue, maxValue, clampStep)); }; let decrementToMin = ()=>{ if (minValue != null) setNumberValue(minValue); }; let canIncrement = $vhjCi$useMemo(()=>!isDisabled && !isReadOnly && (isNaN(parsedValue) || isNaN(maxValue) || $vhjCi$snapValueToStep(parsedValue, minValue, maxValue, clampStep) > parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation('+', parsedValue, clampStep) <= maxValue) , [ isDisabled, isReadOnly, minValue, maxValue, clampStep, parsedValue ]); let canDecrement = $vhjCi$useMemo(()=>!isDisabled && !isReadOnly && (isNaN(parsedValue) || isNaN(minValue) || $vhjCi$snapValueToStep(parsedValue, minValue, maxValue, clampStep) < parsedValue || $de67e98908f0c6ee$var$handleDecimalOperation('-', parsedValue, clampStep) >= minValue) , [ isDisabled, isReadOnly, minValue, maxValue, clampStep, parsedValue ]); let validate = (value)=>numberParser.isValidPartialNumber(value, minValue, maxValue) ; return { validate: validate, increment: increment, incrementToMax: incrementToMax, decrement: decrement, decrementToMin: decrementToMin, canIncrement: canIncrement, canDecrement: canDecrement, minValue: minValue, maxValue: maxValue, numberValue: parsedValue, setInputValue: setInputValue, inputValue: inputValue, commit: commit }; } function $de67e98908f0c6ee$var$handleDecimalOperation(operator, value1, value2) { let result = operator === '+' ? value1 + value2 : value1 - value2; // Check if we have decimals if (value1 % 1 !== 0 || value2 % 1 !== 0) { const value1Decimal = value1.toString().split('.'); const value2Decimal = value2.toString().split('.'); const value1DecimalLength = value1Decimal[1] && value1Decimal[1].length || 0; const value2DecimalLength = value2Decimal[1] && value2Decimal[1].length || 0; const multiplier = Math.pow(10, Math.max(value1DecimalLength, value2DecimalLength)); // Transform the decimals to integers based on the precision value1 = Math.round(value1 * multiplier); value2 = Math.round(value2 * multiplier); // Perform the operation on integers values to make sure we don't get a fancy decimal value result = operator === '+' ? value1 + value2 : value1 - value2; // Transform the integer result back to decimal result /= multiplier; } return result; } export {$de67e98908f0c6ee$export$7f629e9dc1ecf37c as useNumberFieldState}; //# sourceMappingURL=module.js.map
47.081081
284
0.657176
b43f249962b5ac68537e0095cd03317da1217f91
11,936
js
JavaScript
.next/static/webpack/pages/index.7597fbf71ebe16824afc.hot-update.js
ChebotarevKonstantin/igooods
55e46ef865ce74bd981b8fe5917dd110699b5486
[ "MIT" ]
null
null
null
.next/static/webpack/pages/index.7597fbf71ebe16824afc.hot-update.js
ChebotarevKonstantin/igooods
55e46ef865ce74bd981b8fe5917dd110699b5486
[ "MIT" ]
null
null
null
.next/static/webpack/pages/index.7597fbf71ebe16824afc.hot-update.js
ChebotarevKonstantin/igooods
55e46ef865ce74bd981b8fe5917dd110699b5486
[ "MIT" ]
null
null
null
webpackHotUpdate_N_E("pages/index",{ /***/ "./node_modules/css-loader/dist/cjs.js?!./node_modules/next/dist/compiled/postcss-loader/cjs.js?!./componens/Form/Form.module.css": /*!**************************************************************************************************************************************************************************!*\ !*** ./node_modules/css-loader/dist/cjs.js??ref--5-oneOf-2-1!./node_modules/next/dist/compiled/postcss-loader/cjs.js??ref--5-oneOf-2-2!./componens/Form/Form.module.css ***! \**************************************************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { eval("// Imports\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \"./node_modules/css-loader/dist/runtime/api.js\");\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.i, \".Form_div__n37Fp {\\n display: -webkit-flex;\\n display: -moz-box;\\n display: flex;\\n -webkit-justify-content: flex-end;\\n -moz-box-pack: end;\\n justify-content: flex-end;\\n -webkit-align-items: center;\\n -moz-box-align: center;\\n align-items: center;\\n /* background-color: rgba(177, 162, 162, 0.486); */\\n height: 60px;\\n width: 600px;\\n padding: 5px;\\n}\\n.Form_div2__3NrAc {\\n display: -webkit-flex;\\n display: -moz-box;\\n display: flex;\\n -webkit-align-items: top;\\n -moz-box-align: top;\\n align-items: top;\\n height: 30px;\\n width: 600px;\\n padding: 5px;\\n}\\n.Form_price__3T1X8 {\\n display: -webkit-flex;\\n display: -moz-box;\\n display: flex;\\n -webkit-justify-content: flex-end;\\n -moz-box-pack: end;\\n justify-content: flex-end;\\n}\\n.Form_btn__3jFL0 {\\n display: -webkit-flex;\\n display: -moz-box;\\n display: flex;\\n -webkit-justify-content: flex-end;\\n -moz-box-pack: end;\\n justify-content: flex-end;\\n}\\n\\n.Form_cart__yx38s {\\n display: -webkit-flex;\\n display: -moz-box;\\n display: flex;\\n -webkit-flex-direction: column;\\n -moz-box-orient: vertical;\\n -moz-box-direction: normal;\\n flex-direction: column;\\n -webkit-justify-content: flex-end;\\n -moz-box-pack: end;\\n justify-content: flex-end;\\n /* align-items: top; */\\n\\n height: 60px;\\n width: 150px;\\n padding: 5px;\\n}\\n\\n.Form_div__n37Fp div button {\\n display: none;\\n}\\n\\n.Form_div__n37Fp:hover {\\n background-color: rgba(160, 17, 17, 0.486);\\n}\\n\\n.Form_div__n37Fp:hover button {\\n display: block;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://componens/Form/Form.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,qBAAa;EAAb,iBAAa;EAAb,aAAa;EACb,iCAAyB;KAAzB,kBAAyB;UAAzB,yBAAyB;EACzB,2BAAmB;KAAnB,sBAAmB;UAAnB,mBAAmB;EACnB,kDAAkD;EAClD,YAAY;EACZ,YAAY;EACZ,YAAY;AACd;AACA;EACE,qBAAa;EAAb,iBAAa;EAAb,aAAa;EACb,wBAAgB;KAAhB,mBAAgB;UAAhB,gBAAgB;EAChB,YAAY;EACZ,YAAY;EACZ,YAAY;AACd;AACA;EACE,qBAAa;EAAb,iBAAa;EAAb,aAAa;EACb,iCAAyB;KAAzB,kBAAyB;UAAzB,yBAAyB;AAC3B;AACA;EACE,qBAAa;EAAb,iBAAa;EAAb,aAAa;EACb,iCAAyB;KAAzB,kBAAyB;UAAzB,yBAAyB;AAC3B;;AAEA;EACE,qBAAa;EAAb,iBAAa;EAAb,aAAa;EACb,8BAAsB;KAAtB,yBAAsB;KAAtB,0BAAsB;UAAtB,sBAAsB;EACtB,iCAAyB;KAAzB,kBAAyB;UAAzB,yBAAyB;EACzB,sBAAsB;;EAEtB,YAAY;EACZ,YAAY;EACZ,YAAY;AACd;;AAEA;EACE,aAAa;AACf;;AAEA;EACE,0CAA0C;AAC5C;;AAEA;EACE,cAAc;AAChB\",\"sourcesContent\":[\".div {\\n display: flex;\\n justify-content: flex-end;\\n align-items: center;\\n /* background-color: rgba(177, 162, 162, 0.486); */\\n height: 60px;\\n width: 600px;\\n padding: 5px;\\n}\\n.div2 {\\n display: flex;\\n align-items: top;\\n height: 30px;\\n width: 600px;\\n padding: 5px;\\n}\\n.price {\\n display: flex;\\n justify-content: flex-end;\\n}\\n.btn {\\n display: flex;\\n justify-content: flex-end;\\n}\\n\\n.cart {\\n display: flex;\\n flex-direction: column;\\n justify-content: flex-end;\\n /* align-items: top; */\\n\\n height: 60px;\\n width: 150px;\\n padding: 5px;\\n}\\n\\n.div div button {\\n display: none;\\n}\\n\\n.div:hover {\\n background-color: rgba(160, 17, 17, 0.486);\\n}\\n\\n.div:hover button {\\n display: block;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"div\": \"Form_div__n37Fp\",\n\t\"div2\": \"Form_div2__3NrAc\",\n\t\"price\": \"Form_price__3T1X8\",\n\t\"btn\": \"Form_btn__3jFL0\",\n\t\"cart\": \"Form_cart__yx38s\"\n};\nmodule.exports = ___CSS_LOADER_EXPORT___;\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9fTl9FLy4vY29tcG9uZW5zL0Zvcm0vRm9ybS5tb2R1bGUuY3NzPzRiMDciXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSxrQ0FBa0MsbUJBQU8sQ0FBQyx3R0FBbUQ7QUFDN0Y7QUFDQTtBQUNBLDhCQUE4QixRQUFTLHFCQUFxQiwwQkFBMEIsc0JBQXNCLGtCQUFrQixzQ0FBc0MsMEJBQTBCLHNDQUFzQyxnQ0FBZ0MsOEJBQThCLGdDQUFnQyxvREFBb0Qsb0JBQW9CLGlCQUFpQixpQkFBaUIsR0FBRyxxQkFBcUIsMEJBQTBCLHNCQUFzQixrQkFBa0IsNkJBQTZCLDJCQUEyQiw2QkFBNkIsaUJBQWlCLGlCQUFpQixpQkFBaUIsR0FBRyxzQkFBc0IsMEJBQTBCLHNCQUFzQixrQkFBa0Isc0NBQXNDLDBCQUEwQixzQ0FBc0MsR0FBRyxvQkFBb0IsMEJBQTBCLHNCQUFzQixrQkFBa0Isc0NBQXNDLDBCQUEwQixzQ0FBc0MsR0FBRyx1QkFBdUIsMEJBQTBCLHNCQUFzQixrQkFBa0IsbUNBQW1DLGlDQUFpQyxrQ0FBa0MsbUNBQW1DLHNDQUFzQywwQkFBMEIsc0NBQXNDLHdCQUF3QixzQkFBc0IsaUJBQWlCLGlCQUFpQixHQUFHLGlDQUFpQyxrQkFBa0IsR0FBRyw0QkFBNEIsK0NBQStDLEdBQUcsbUNBQW1DLG1CQUFtQixHQUFHLFNBQVMsK0ZBQStGLFdBQVcsV0FBVyxVQUFVLFlBQVksYUFBYSxhQUFhLGFBQWEsYUFBYSxhQUFhLGFBQWEsV0FBVyxVQUFVLFVBQVUsS0FBSyxLQUFLLFdBQVcsV0FBVyxVQUFVLFlBQVksYUFBYSxhQUFhLFdBQVcsVUFBVSxVQUFVLEtBQUssS0FBSyxXQUFXLFdBQVcsVUFBVSxZQUFZLGFBQWEsYUFBYSxNQUFNLEtBQUssV0FBVyxXQUFXLFVBQVUsWUFBWSxhQUFhLGFBQWEsT0FBTyxLQUFLLFdBQVcsV0FBVyxVQUFVLFlBQVksYUFBYSxhQUFhLGFBQWEsYUFBYSxhQUFhLGFBQWEsY0FBYyxXQUFXLFVBQVUsVUFBVSxNQUFNLEtBQUssVUFBVSxNQUFNLEtBQUssWUFBWSxPQUFPLEtBQUssVUFBVSxnQ0FBZ0Msa0JBQWtCLDhCQUE4Qix3QkFBd0Isb0RBQW9ELG9CQUFvQixpQkFBaUIsaUJBQWlCLEdBQUcsU0FBUyxrQkFBa0IscUJBQXFCLGlCQUFpQixpQkFBaUIsaUJBQWlCLEdBQUcsVUFBVSxrQkFBa0IsOEJBQThCLEdBQUcsUUFBUSxrQkFBa0IsOEJBQThCLEdBQUcsV0FBVyxrQkFBa0IsMkJBQTJCLDhCQUE4Qix3QkFBd0Isc0JBQXNCLGlCQUFpQixpQkFBaUIsR0FBRyxxQkFBcUIsa0JBQWtCLEdBQUcsZ0JBQWdCLCtDQUErQyxHQUFHLHVCQUF1QixtQkFBbUIsR0FBRyxxQkFBcUI7QUFDem5HO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsImZpbGUiOiIuL25vZGVfbW9kdWxlcy9jc3MtbG9hZGVyL2Rpc3QvY2pzLmpzPyEuL25vZGVfbW9kdWxlcy9uZXh0L2Rpc3QvY29tcGlsZWQvcG9zdGNzcy1sb2FkZXIvY2pzLmpzPyEuL2NvbXBvbmVucy9Gb3JtL0Zvcm0ubW9kdWxlLmNzcy5qcyIsInNvdXJjZXNDb250ZW50IjpbIi8vIEltcG9ydHNcbnZhciBfX19DU1NfTE9BREVSX0FQSV9JTVBPUlRfX18gPSByZXF1aXJlKFwiLi4vLi4vbm9kZV9tb2R1bGVzL2Nzcy1sb2FkZXIvZGlzdC9ydW50aW1lL2FwaS5qc1wiKTtcbnZhciBfX19DU1NfTE9BREVSX0VYUE9SVF9fXyA9IF9fX0NTU19MT0FERVJfQVBJX0lNUE9SVF9fXyh0cnVlKTtcbi8vIE1vZHVsZVxuX19fQ1NTX0xPQURFUl9FWFBPUlRfX18ucHVzaChbbW9kdWxlLmlkLCBcIi5Gb3JtX2Rpdl9fbjM3RnAge1xcbiAgZGlzcGxheTogLXdlYmtpdC1mbGV4O1xcbiAgZGlzcGxheTogLW1vei1ib3g7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAgLXdlYmtpdC1qdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgICAgLW1vei1ib3gtcGFjazogZW5kO1xcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgLXdlYmtpdC1hbGlnbi1pdGVtczogY2VudGVyO1xcbiAgICAgLW1vei1ib3gtYWxpZ246IGNlbnRlcjtcXG4gICAgICAgICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcXG4gIC8qIGJhY2tncm91bmQtY29sb3I6IHJnYmEoMTc3LCAxNjIsIDE2MiwgMC40ODYpOyAqL1xcbiAgaGVpZ2h0OiA2MHB4O1xcbiAgd2lkdGg6IDYwMHB4O1xcbiAgcGFkZGluZzogNXB4O1xcbn1cXG4uRm9ybV9kaXYyX18zTnJBYyB7XFxuICBkaXNwbGF5OiAtd2Via2l0LWZsZXg7XFxuICBkaXNwbGF5OiAtbW96LWJveDtcXG4gIGRpc3BsYXk6IGZsZXg7XFxuICAtd2Via2l0LWFsaWduLWl0ZW1zOiB0b3A7XFxuICAgICAtbW96LWJveC1hbGlnbjogdG9wO1xcbiAgICAgICAgICBhbGlnbi1pdGVtczogdG9wO1xcbiAgaGVpZ2h0OiAzMHB4O1xcbiAgd2lkdGg6IDYwMHB4O1xcbiAgcGFkZGluZzogNXB4O1xcbn1cXG4uRm9ybV9wcmljZV9fM1QxWDgge1xcbiAgZGlzcGxheTogLXdlYmtpdC1mbGV4O1xcbiAgZGlzcGxheTogLW1vei1ib3g7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAgLXdlYmtpdC1qdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgICAgLW1vei1ib3gtcGFjazogZW5kO1xcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbn1cXG4uRm9ybV9idG5fXzNqRkwwIHtcXG4gIGRpc3BsYXk6IC13ZWJraXQtZmxleDtcXG4gIGRpc3BsYXk6IC1tb3otYm94O1xcbiAgZGlzcGxheTogZmxleDtcXG4gIC13ZWJraXQtanVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcXG4gICAgIC1tb3otYm94LXBhY2s6IGVuZDtcXG4gICAgICAgICAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcXG59XFxuXFxuLkZvcm1fY2FydF9feXgzOHMge1xcbiAgZGlzcGxheTogLXdlYmtpdC1mbGV4O1xcbiAgZGlzcGxheTogLW1vei1ib3g7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAgLXdlYmtpdC1mbGV4LWRpcmVjdGlvbjogY29sdW1uO1xcbiAgICAgLW1vei1ib3gtb3JpZW50OiB2ZXJ0aWNhbDtcXG4gICAgIC1tb3otYm94LWRpcmVjdGlvbjogbm9ybWFsO1xcbiAgICAgICAgICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xcbiAgLXdlYmtpdC1qdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgICAgLW1vei1ib3gtcGFjazogZW5kO1xcbiAgICAgICAgICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgLyogYWxpZ24taXRlbXM6IHRvcDsgKi9cXG5cXG4gIGhlaWdodDogNjBweDtcXG4gIHdpZHRoOiAxNTBweDtcXG4gIHBhZGRpbmc6IDVweDtcXG59XFxuXFxuLkZvcm1fZGl2X19uMzdGcCBkaXYgYnV0dG9uIHtcXG4gIGRpc3BsYXk6IG5vbmU7XFxufVxcblxcbi5Gb3JtX2Rpdl9fbjM3RnA6aG92ZXIge1xcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNjAsIDE3LCAxNywgMC40ODYpO1xcbn1cXG5cXG4uRm9ybV9kaXZfX24zN0ZwOmhvdmVyIGJ1dHRvbiB7XFxuICBkaXNwbGF5OiBibG9jaztcXG59XFxuXCIsIFwiXCIse1widmVyc2lvblwiOjMsXCJzb3VyY2VzXCI6W1wid2VicGFjazovL2NvbXBvbmVucy9Gb3JtL0Zvcm0ubW9kdWxlLmNzc1wiXSxcIm5hbWVzXCI6W10sXCJtYXBwaW5nc1wiOlwiQUFBQTtFQUNFLHFCQUFhO0VBQWIsaUJBQWE7RUFBYixhQUFhO0VBQ2IsaUNBQXlCO0tBQXpCLGtCQUF5QjtVQUF6Qix5QkFBeUI7RUFDekIsMkJBQW1CO0tBQW5CLHNCQUFtQjtVQUFuQixtQkFBbUI7RUFDbkIsa0RBQWtEO0VBQ2xELFlBQVk7RUFDWixZQUFZO0VBQ1osWUFBWTtBQUNkO0FBQ0E7RUFDRSxxQkFBYTtFQUFiLGlCQUFhO0VBQWIsYUFBYTtFQUNiLHdCQUFnQjtLQUFoQixtQkFBZ0I7VUFBaEIsZ0JBQWdCO0VBQ2hCLFlBQVk7RUFDWixZQUFZO0VBQ1osWUFBWTtBQUNkO0FBQ0E7RUFDRSxxQkFBYTtFQUFiLGlCQUFhO0VBQWIsYUFBYTtFQUNiLGlDQUF5QjtLQUF6QixrQkFBeUI7VUFBekIseUJBQXlCO0FBQzNCO0FBQ0E7RUFDRSxxQkFBYTtFQUFiLGlCQUFhO0VBQWIsYUFBYTtFQUNiLGlDQUF5QjtLQUF6QixrQkFBeUI7VUFBekIseUJBQXlCO0FBQzNCOztBQUVBO0VBQ0UscUJBQWE7RUFBYixpQkFBYTtFQUFiLGFBQWE7RUFDYiw4QkFBc0I7S0FBdEIseUJBQXNCO0tBQXRCLDBCQUFzQjtVQUF0QixzQkFBc0I7RUFDdEIsaUNBQXlCO0tBQXpCLGtCQUF5QjtVQUF6Qix5QkFBeUI7RUFDekIsc0JBQXNCOztFQUV0QixZQUFZO0VBQ1osWUFBWTtFQUNaLFlBQVk7QUFDZDs7QUFFQTtFQUNFLGFBQWE7QUFDZjs7QUFFQTtFQUNFLDBDQUEwQztBQUM1Qzs7QUFFQTtFQUNFLGNBQWM7QUFDaEJcIixcInNvdXJjZXNDb250ZW50XCI6W1wiLmRpdiB7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcXG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XFxuICAvKiBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDE3NywgMTYyLCAxNjIsIDAuNDg2KTsgKi9cXG4gIGhlaWdodDogNjBweDtcXG4gIHdpZHRoOiA2MDBweDtcXG4gIHBhZGRpbmc6IDVweDtcXG59XFxuLmRpdjIge1xcbiAgZGlzcGxheTogZmxleDtcXG4gIGFsaWduLWl0ZW1zOiB0b3A7XFxuICBoZWlnaHQ6IDMwcHg7XFxuICB3aWR0aDogNjAwcHg7XFxuICBwYWRkaW5nOiA1cHg7XFxufVxcbi5wcmljZSB7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcXG59XFxuLmJ0biB7XFxuICBkaXNwbGF5OiBmbGV4O1xcbiAganVzdGlmeS1jb250ZW50OiBmbGV4LWVuZDtcXG59XFxuXFxuLmNhcnQge1xcbiAgZGlzcGxheTogZmxleDtcXG4gIGZsZXgtZGlyZWN0aW9uOiBjb2x1bW47XFxuICBqdXN0aWZ5LWNvbnRlbnQ6IGZsZXgtZW5kO1xcbiAgLyogYWxpZ24taXRlbXM6IHRvcDsgKi9cXG5cXG4gIGhlaWdodDogNjBweDtcXG4gIHdpZHRoOiAxNTBweDtcXG4gIHBhZGRpbmc6IDVweDtcXG59XFxuXFxuLmRpdiBkaXYgYnV0dG9uIHtcXG4gIGRpc3BsYXk6IG5vbmU7XFxufVxcblxcbi5kaXY6aG92ZXIge1xcbiAgYmFja2dyb3VuZC1jb2xvcjogcmdiYSgxNjAsIDE3LCAxNywgMC40ODYpO1xcbn1cXG5cXG4uZGl2OmhvdmVyIGJ1dHRvbiB7XFxuICBkaXNwbGF5OiBibG9jaztcXG59XFxuXCJdLFwic291cmNlUm9vdFwiOlwiXCJ9XSk7XG4vLyBFeHBvcnRzXG5fX19DU1NfTE9BREVSX0VYUE9SVF9fXy5sb2NhbHMgPSB7XG5cdFwiZGl2XCI6IFwiRm9ybV9kaXZfX24zN0ZwXCIsXG5cdFwiZGl2MlwiOiBcIkZvcm1fZGl2Ml9fM05yQWNcIixcblx0XCJwcmljZVwiOiBcIkZvcm1fcHJpY2VfXzNUMVg4XCIsXG5cdFwiYnRuXCI6IFwiRm9ybV9idG5fXzNqRkwwXCIsXG5cdFwiY2FydFwiOiBcIkZvcm1fY2FydF9feXgzOHNcIlxufTtcbm1vZHVsZS5leHBvcnRzID0gX19fQ1NTX0xPQURFUl9FWFBPUlRfX187XG4iXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/css-loader/dist/cjs.js?!./node_modules/next/dist/compiled/postcss-loader/cjs.js?!./componens/Form/Form.module.css\n"); /***/ }) })
852.571429
11,131
0.846347
b43f30ebb0a6bea0c2847b4c32891ba3ebb73f90
1,406
js
JavaScript
src/containers/Home.js
jessicafarias/Restaurant-app
494ea93fd9642358347d5adc99d33fc58c3fddc2
[ "MIT" ]
1
2021-03-23T04:23:28.000Z
2021-03-23T04:23:28.000Z
src/containers/Home.js
jessicafarias/restaurant_app
494ea93fd9642358347d5adc99d33fc58c3fddc2
[ "MIT" ]
null
null
null
src/containers/Home.js
jessicafarias/restaurant_app
494ea93fd9642358347d5adc99d33fc58c3fddc2
[ "MIT" ]
null
null
null
import '../styles/home.css'; import { useEffect } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { fetchRestaurantsAction } from '../actions/index'; import getRestaurantsList from '../request.js/getRestaurantsList'; import Preview from '../components/Preview'; const Home = ({ RestaurantList, fetch }) => { useEffect(() => { getRestaurantsList().then(res => { fetch(res); }); }, []); return ( <div className="w-100"> <h1 className="text-center mt-5"> HOME </h1> <div className="home_content row"> {RestaurantList.map(obj => ( <div className="col-lg-3 col-md-4 col-sm-12 mt-3" key={obj.id} > <Preview restaurant={obj} /> </div> ))} </div> </div> ); }; Home.propTypes = { RestaurantList: PropTypes.arrayOf(PropTypes.shape({ id: PropTypes.number, title: PropTypes.string, cover: PropTypes.string, description: PropTypes.string, })).isRequired, }; const mapStateToProps = state => ({ RestaurantList: state.restaurants, }); const mapDispatchToProps = dispatch => ({ fetch: restaurants => { dispatch(fetchRestaurantsAction(restaurants)); }, }); Home.propTypes = { fetch: PropTypes.func.isRequired, }; export default connect(mapStateToProps, mapDispatchToProps)(Home);
23.830508
66
0.613087
b43f58053bd6c2a1f30f10ba6341dde071bfb4e3
126
js
JavaScript
src/pages/XWinFirstRow.test.js
wolfmann123/JestTestingTTT
3d2dcaf2d64dbc2bbbb9c919d56faad62295618e
[ "RSA-MD" ]
null
null
null
src/pages/XWinFirstRow.test.js
wolfmann123/JestTestingTTT
3d2dcaf2d64dbc2bbbb9c919d56faad62295618e
[ "RSA-MD" ]
null
null
null
src/pages/XWinFirstRow.test.js
wolfmann123/JestTestingTTT
3d2dcaf2d64dbc2bbbb9c919d56faad62295618e
[ "RSA-MD" ]
null
null
null
const game = require('./game.js'); test('Testing X win first row', () => { calculateWinner(('X,X,X,,,,,,')).toBe('X'); });
21
45
0.539683
b440556dee2689835c507f413df1fee6c79e66af
2,453
js
JavaScript
src/views/History/components/HistorySection/index.js
amzrk2/pouni-calculation-tester
b0a5873dc20b94d35ad97b5a5735d5c9b5beb324
[ "Apache-2.0" ]
null
null
null
src/views/History/components/HistorySection/index.js
amzrk2/pouni-calculation-tester
b0a5873dc20b94d35ad97b5a5735d5c9b5beb324
[ "Apache-2.0" ]
null
null
null
src/views/History/components/HistorySection/index.js
amzrk2/pouni-calculation-tester
b0a5873dc20b94d35ad97b5a5735d5c9b5beb324
[ "Apache-2.0" ]
1
2021-10-30T02:44:49.000Z
2021-10-30T02:44:49.000Z
import React from 'react'; // antd import { Table } from 'antd'; import { CheckCircleTwoTone, CloseCircleTwoTone, CheckOutlined, CloseOutlined, } from '@ant-design/icons'; /** * status render * @param {boolean} status */ const renderStatus = (status) => status ? ( <CheckCircleTwoTone twoToneColor="#52c41a" /> ) : ( <CloseCircleTwoTone twoToneColor="#ff7875" /> ); /** * answer render * fix: prevent null rendered as CloseOutlined * @param {boolean} ans */ const renderAnswer = (ans) => { if (ans === null || ans === undefined) { return ''; } else { return ans === false ? <CloseOutlined /> : <CheckOutlined />; } }; /** * gen a history selection * @param {object} questions question array * @param {object} questionType question type of this array */ function HistorySection(props) { // get props const { questions, questionType } = props; // check question type let columnTitle = ''; let ansRender = null; let userAnsRender = null; // gen different columns if (questionType === 'fillBlank') { columnTitle = '填空题目'; ansRender = 'ans'; userAnsRender = 'userAns'; } else if (questionType === 'judge') { columnTitle = '判断题目'; ansRender = (record) => renderAnswer(record.ans); userAnsRender = (record) => renderAnswer(record.userAns); } else { columnTitle = '选择题目'; ansRender = (record) => record.selections[record.ans]; userAnsRender = (record) => record.selections[record.userAns]; } return ( <Table dataSource={questions} rowKey={(record) => record.index} pagination={false} size="small" tableLayout="fixed" > <Table.Column title={columnTitle} dataIndex="exp" key="exp" align="center" width="50%" /> <Table.Column title="正确答案" key="ans" align="center" dataIndex={typeof ansRender === 'string' ? ansRender : null} render={typeof ansRender === 'function' ? ansRender : null} /> <Table.Column title="你的答案" key="userAns" align="center" dataIndex={typeof userAnsRender === 'string' ? userAnsRender : null} render={typeof userAnsRender === 'function' ? userAnsRender : null} /> <Table.Column title="状态" key="status" align="center" render={(record) => renderStatus(record.status)} width="10%" /> </Table> ); } export default HistorySection;
25.28866
95
0.60905
b440c8e25e4e56dab02102db794337961c3e144c
64
js
JavaScript
index.js
shinycolors/imassc-translations
ab7147524c322b8a461fe4d358b7d2615365e528
[ "MIT" ]
1
2020-12-23T17:01:32.000Z
2020-12-23T17:01:32.000Z
index.js
shinycolors/sc3-translations
ab7147524c322b8a461fe4d358b7d2615365e528
[ "MIT" ]
35
2018-05-14T02:40:45.000Z
2018-06-14T03:03:51.000Z
index.js
shinycolors/sc3-translations
ab7147524c322b8a461fe4d358b7d2615365e528
[ "MIT" ]
null
null
null
import enUS from './en_us' export default { 'en_us': enUS }
9.142857
26
0.640625
b441343b380af9fc37307a6455713863e8c5fa0c
1,093
js
JavaScript
src/front_end/src/src/intl/en.js
handy-projects/ecommerce
38cf1feea4e50ce92f7699efab8fdb4dc8f9b515
[ "MIT" ]
1
2015-09-06T07:34:19.000Z
2015-09-06T07:34:19.000Z
src/front_end/src/src/intl/en.js
handy-projects/ecommerce
38cf1feea4e50ce92f7699efab8fdb4dc8f9b515
[ "MIT" ]
null
null
null
src/front_end/src/src/intl/en.js
handy-projects/ecommerce
38cf1feea4e50ce92f7699efab8fdb4dc8f9b515
[ "MIT" ]
null
null
null
// jscs:disable disallowQuotedKeysInObjects export default { locales: ["en"], messages: { "meta": { "title": "React E-Commerce", "description": "E-Commerce platform for bootstrapping small business", "loadingTitle": "Loading…", "errorTitle": "Error displaying this page", "notFoundTitle": "Page not found" }, "features": { "popular": "Most Popular", "highest_rated": "Highest Rated", "upcoming": "Upcoming", "editors": "Editors picks", "fresh_today": "Fresh Today", "fresh_yesterday": "Fresh Yesterday", "fresh_week": "Fresh This Week" }, "featured": { "documentTitle": "{feature} on 500px" }, "home": { "welcome": "Welcome to react ecommerce. Now explore some products..." }, "photo": { "documentTitle": "{name} – by {user}", "documentDescription": "{name} is a photo by {user} published on 500px", "attribution": "Photo by {userLink}", "rating": "Rating {rating}" }, "navbar": { "products": "Products List" } } };
23.255319
78
0.572736
b4417d50dc707b55f8058a2cd4ca3609806f6d52
6,656
js
JavaScript
code/DPSite/dept/static/lib/django_ajax/js/jquery.ajax.js
shen427/dept
fdccb1020eedc44d0486aed6317e98c72dbb897a
[ "MIT" ]
null
null
null
code/DPSite/dept/static/lib/django_ajax/js/jquery.ajax.js
shen427/dept
fdccb1020eedc44d0486aed6317e98c72dbb897a
[ "MIT" ]
null
null
null
code/DPSite/dept/static/lib/django_ajax/js/jquery.ajax.js
shen427/dept
fdccb1020eedc44d0486aed6317e98c72dbb897a
[ "MIT" ]
null
null
null
/* ======================================================================== * Django Ajax v2.2.10 * https://github.com/yceruto/django-ajax/ * Copyright 2014 Abalt * ======================================================================== */ function getCookie(name) { var cookieValue = null; if (document.cookie && document.cookie != '') { var cookies = document.cookie.split(';'); for (var i = 0; i < cookies.length; i++) { var cookie = jQuery.trim(cookies[i]); // Does this cookie string begin with the name we want? if (cookie.substring(0, name.length + 1) == (name + '=')) { cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); break; } } } return cookieValue; } $.ajaxSetup({ crossDomain: false // obviates need for sameOrigin test }); var ajax = function (url, options) { // If url is an object, simulate pre-1.5 signature if ( typeof url === "object" ) { options = url; url = options.url; } // Force options to be an object if (!$.isPlainObject(options)) options = {}; options = $.extend({}, ajax.DEFAULTS, options); var onSuccess = $.isFunction(options.onSuccess) ? options.onSuccess : ajax.DEFAULTS['onSuccess'], onRedirect = $.isFunction(options.onRedirect) ? options.onRedirect : ajax.DEFAULTS['onRedirect'], onError = $.isFunction(options.onError) ? options.onError : ajax.DEFAULTS['onError'], onComplete = $.isFunction(options.onComplete) ? options.onComplete : ajax.DEFAULTS['onComplete'], onBeforeSend = $.isFunction(options.onBeforeSend) ? options.onBeforeSend : ajax.DEFAULTS['onBeforeSend']; $.ajax({ url: url, type: options.method || 'get', data: options.data, beforeSend: function (xhr, settings) { if (!csrfSafeMethod(settings.type) && sameOrigin(settings.url)) { // Send the token to same-origin, relative URLs only. // Send the token only if the method warrants CSRF protection // Using the CSRFToken value acquired earlier xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken')); } onBeforeSend && onBeforeSend(xhr, settings); }, success: function( response ){ switch (response.status) { case 200: options['process-fragments'] && response.content && process_fragments(response.content); onSuccess && onSuccess(response); break; case 301: case 302: if (onRedirect) onRedirect(response.content); //location else window.location.href = response.content; break; default: if (onError) onError(response); else alert(options.method.toUpperCase() + ' ' + url + ' ' + response.status + ' ' + response.statusText + '\n' + response.content); break; } }, error: function(response) { if (onError) onError(response); else alert(options.method.toUpperCase() + ' ' + url + ' ' + response.status + ' ' + response.statusText + '\n' + response.content) }, complete: function(response) { onComplete && onComplete(response); } }); function csrfSafeMethod(method) { // these HTTP methods do not require CSRF protection return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method)); } function sameOrigin(url) { // test that a given url is a same-origin URL // url could be relative or scheme relative or absolute var host = document.location.host; // host + port var protocol = document.location.protocol; var sr_origin = '//' + host; var origin = protocol + sr_origin; // Allow absolute or scheme relative URLs to same origin return (url == origin || url.slice(0, origin.length + 1) == origin + '/') || (url == sr_origin || url.slice(0, sr_origin.length + 1) == sr_origin + '/') || // or any other URL that isn't scheme relative or absolute i.e relative. !(/^(\/\/|http:|https:).*/.test(url)); } function process_fragments(content) { //process fragments if (content.fragments) { for (var s in content.fragments) { $(s).replaceWith(content.fragments[s]) } } if (content['inner-fragments']) { for (var i in content['inner-fragments']) { $(i).html(content['inner-fragments'][i]) } } if (content['append-fragments']) { for (var a in content['append-fragments']) { $(a).append(content['append-fragments'][a]) } } if (content['prepend-fragments']) { for (var p in content['prepend-fragments']) { $(p).prepend(content['prepend-fragments'][p]) } } } }; ajax.DEFAULTS = { "process-fragments": true, onSuccess: null, onError: null, onBeforeSend: null, onComplete: null, onRedirect: null }; /** * Ajax Method * * @param {String} method * @param {String} url * @param {Null|Object|Function} data * @param {Null|Object|Function} onSuccess * @param {Object} options */ function ajaxMethod(method, url, data, onSuccess, options) { if ($.isFunction(data)) { if ($.isPlainObject(onSuccess)) { options = onSuccess; } onSuccess = data; data = null; } options = $.extend({}, options, { url: url, method: method, data: data, onSuccess: function(response){ $.isFunction(onSuccess) && onSuccess(response.content); } }); ajax(options); } /** * Ajax Post Method * * @param {String} url * @param {Null|Object|Function} data * @param {Null|Object|Function} onSuccess * @param {Object} options */ function ajaxPost(url, data, onSuccess, options) { ajaxMethod('post', url, data, onSuccess, options); } /** * Ajax Get Method * * @param {String} url * @param {Null|Object|Function} data * @param {Null|Object|Function} onSuccess * @param {Object} options */ function ajaxGet(url, data, onSuccess, options) { ajaxMethod('get', url, data, onSuccess, options); }
32.788177
152
0.538462
b441dfeedcbc1925b38dc4aeb4a5c1820066ca01
8,746
js
JavaScript
src/components/sidebar/nineline.js
EthereumCN/-ecn_gatsby_eth2
d70cf4c0eff0929fa91895b64570aaf091b20151
[ "MIT" ]
null
null
null
src/components/sidebar/nineline.js
EthereumCN/-ecn_gatsby_eth2
d70cf4c0eff0929fa91895b64570aaf091b20151
[ "MIT" ]
null
null
null
src/components/sidebar/nineline.js
EthereumCN/-ecn_gatsby_eth2
d70cf4c0eff0929fa91895b64570aaf091b20151
[ "MIT" ]
1
2021-12-20T07:36:14.000Z
2021-12-20T07:36:14.000Z
import React from "react" import { Accordion, AccordionItem, AccordionHeader, AccordionPanel, Box, PseudoBox, Icon, } from "@chakra-ui/core" import { Link } from "gatsby" const Eightline = () => { return ( <> <AccordionItem border="0"> {({ isExpanded }) => ( <> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px"> <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/smart-contract-testing-and-deployment" style={{ display: "block", width: "100%", }} > 智能合约测试&部署 </Link> </Box> <Icon fontSize="1.3rem" name={isExpanded ? "chevron-down" : "chevron-right"} /> </PseudoBox> </AccordionHeader> {/* 子项 */} <AccordionPanel py="0"> <Accordion defaultIndex={[0]} allowMultiple> {/* 第一栏 */} <AccordionItem border="0"> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px" > <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/truffle-suite" style={{ color: "rgb(99,100,104)", fontSize: "0.9rem", display: "block", width: "100%", }} > Truffle Suite </Link> </Box> </PseudoBox> </AccordionHeader> </AccordionItem> {/* 第二栏 */} <AccordionItem border="0"> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px" > <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/waffle" style={{ color: "rgb(99,100,104)", fontSize: "0.9rem", display: "block", width: "100%", }} > Waffle </Link> </Box> </PseudoBox> </AccordionHeader> </AccordionItem> {/* 第三栏 */} <AccordionItem border="0"> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px" > <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/embark" style={{ color: "rgb(99,100,104)", fontSize: "0.9rem", display: "block", width: "100%", }} > Embark </Link> </Box> </PseudoBox> </AccordionHeader> </AccordionItem> {/* 第四栏 */} <AccordionItem border="0"> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px" > <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/brownie-python" style={{ color: "rgb(99,100,104)", fontSize: "0.9rem", display: "block", width: "100%", }} > Brownie (Python) </Link> </Box> </PseudoBox> </AccordionHeader> </AccordionItem> {/* 第五栏 */} <AccordionItem border="0"> <AccordionHeader p={0} borderRadius="0.3rem" _focus="boxShadow:0px" > <PseudoBox borderRadius="0.3rem" flex="1" display="flex" cursor="pointer" py="8px" px="16px" textAlign="left" _hover={{ color: "orange.300", paddingLeft: "25px", transition: " all 0.1s linear", bg: "rgb(233,233,233)", }} > <Box flex="1" textAlign="left"> <Link to="/etherlime-ethers.js" style={{ color: "rgb(99,100,104)", fontSize: "0.9rem", display: "block", width: "100%", }} > Etherlime (ethers.js) </Link> </Box> </PseudoBox> </AccordionHeader> </AccordionItem> </Accordion> </AccordionPanel> </> )} </AccordionItem> </> ) } export default Eightline
33.003774
80
0.289161
b441f416207470283aa609280795b3d8bf477c14
2,075
js
JavaScript
public/assets/js/main.js
pkbox/webserver
7f02d69dece3c81c3abf3a8479b91145d33f74b3
[ "MIT" ]
null
null
null
public/assets/js/main.js
pkbox/webserver
7f02d69dece3c81c3abf3a8479b91145d33f74b3
[ "MIT" ]
null
null
null
public/assets/js/main.js
pkbox/webserver
7f02d69dece3c81c3abf3a8479b91145d33f74b3
[ "MIT" ]
null
null
null
/* Snapshot by TEMPLATED templated.co @templatedco Released for free under the Creative Commons Attribution 3.0 license (templated.co/license) */ (function($) { skel.breakpoints({ xlarge: '(max-width: 1680px)', large: '(max-width: 1280px)', medium: '(max-width: 980px)', small: '(max-width: 736px)', xsmall: '(max-width: 480px)' }); $(function() { var $window = $(window), $body = $('body'); // Disable animations/transitions until the page has loaded. $body.addClass('is-loading'); $window.on('load', function() { window.setTimeout(function() { $body.removeClass('is-loading'); }, 100); }); // Fix: Placeholder polyfill. $('form').placeholder(); // Prioritize "important" elements on medium. skel.on('+medium -medium', function() { $.prioritize( '.important\\28 medium\\29', skel.breakpoint('medium').active ); }); // Scrolly. $('.scrolly').scrolly(); // Gallery. $('.gallery').each(function() { var $gallery = $(this), $content = $gallery.find('.content'); // // Poptrox. // $content.poptrox({ // usePopupCaption: true // }); // Tabs. $gallery.each( function() { var $this = $(this), $tabs = $this.find('.tabs a'), $media = $this.find('.media'); $tabs.on('click', function(e) { var $this = $(this), tag = $this.data('tag'); // Prevent default. e.preventDefault(); // Remove active class from all tabs. $tabs.removeClass('active'); // Reapply active class to current tab. $this.addClass('active'); // Hide media that do not have the same class as the clicked tab. $media .fadeOut('fast') .each(function() { var $this = $(this); if ($this.hasClass(tag)) $this .fadeOut('fast') .delay(200) .queue(function(next) { $this.fadeIn(); next(); }); }); }); }); }); }); })(jQuery);
19.761905
92
0.525783
b4425460438a15a31d78972699d0b0d9a286cf26
5,290
js
JavaScript
src/special/eslint.js
edsrzf/depcheck
5cbeb68bfc3ad38c167bf2046fcb4c6e349dd4cc
[ "MIT" ]
null
null
null
src/special/eslint.js
edsrzf/depcheck
5cbeb68bfc3ad38c167bf2046fcb4c6e349dd4cc
[ "MIT" ]
null
null
null
src/special/eslint.js
edsrzf/depcheck
5cbeb68bfc3ad38c167bf2046fcb4c6e349dd4cc
[ "MIT" ]
null
null
null
import path from 'path'; import lodash from 'lodash'; import requirePackageName from 'require-package-name'; import { loadModuleData, wrapToArray } from '../utils'; import { loadConfig } from '../utils/linters'; function resolveConfigModule(preset, rootDir, includedDeps) { const presetParts = preset.split('/'); let moduleName = presetParts.shift(); if (moduleName.startsWith('@')) { moduleName += `/${presetParts.shift()}`; } const moduleData = loadModuleData(moduleName, rootDir); if ( moduleData.metadata && moduleData.metadata.dependencies && typeof moduleData.metadata.dependencies === 'object' ) { includedDeps.push(...Object.keys(moduleData.metadata.dependencies)); } return moduleData.path && path.resolve(moduleData.path, ...presetParts); } function requireConfig(preset, rootDir, includedDeps) { const presetPath = path.isAbsolute(preset) ? preset : resolveConfigModule(preset, rootDir, includedDeps); try { return require(presetPath); // eslint-disable-line global-require } catch (error) { return {}; // silently return nothing } } /** * Brings package name to correct format based on prefix * @param {string} name The name of the package. * @param {string} prefix Can be either "eslint-plugin", "eslint-config" or "eslint-formatter" * @returns {string} Normalized name of the package * @private * @see {@link https://github.com/eslint/eslint/blob/faf3c4eda0d27323630d0bc103a99dd0ecffe842/lib/util/naming.js#L25 ESLint} */ function normalizePackageName(name, prefix) { let normalizedName = name; const convertPathToPosix = (p) => path.normalize(p).replace(/\\/g, '/'); /** * On Windows, name can come in with Windows slashes instead of Unix slashes. * Normalize to Unix first to avoid errors later on. * https://github.com/eslint/eslint/issues/5644 */ if (normalizedName.indexOf('\\') > -1) { normalizedName = convertPathToPosix(normalizedName); } if (normalizedName.charAt(0) === '@') { /** * it's a scoped package * package name is the prefix, or just a username */ const scopedPackageShortcutRegex = new RegExp( `^(@[^/]+)(?:/(?:${prefix})?)?$`, ); const scopedPackageNameRegex = new RegExp(`^${prefix}(-|$)`); if (scopedPackageShortcutRegex.test(normalizedName)) { normalizedName = normalizedName.replace( scopedPackageShortcutRegex, `$1/${prefix}`, ); } else if (!scopedPackageNameRegex.test(normalizedName.split('/')[1])) { /** * for scoped packages, insert the prefix after the first / unless * the path is already @scope/eslint or @scope/eslint-xxx-yyy */ normalizedName = normalizedName.replace( /^@([^/]+)\/(.*)$/, `@$1/${prefix}-$2`, ); } } else if (normalizedName.indexOf(`${prefix}-`) !== 0) { normalizedName = `${prefix}-${normalizedName}`; } return normalizedName; } function resolvePresetPackage(preset, rootDir) { // inspired from https://github.com/eslint/eslint/blob/5b4a94e26d0ef247fe222dacab5749805d9780dd/lib/config/config-file.js#L347 if (path.isAbsolute(preset)) { return preset; } if (preset.startsWith('./') || preset.startsWith('../')) { return path.resolve(rootDir, preset); } if (preset.startsWith('plugin:')) { const pluginName = preset.slice(7, preset.lastIndexOf('/')); return normalizePackageName(pluginName, 'eslint-plugin'); } return normalizePackageName(preset, 'eslint-config'); } function checkConfig(config, rootDir) { const parser = wrapToArray(config.parser); const plugins = wrapToArray(config.plugins).map((plugin) => normalizePackageName(plugin, 'eslint-plugin'), ); const extendsArray = wrapToArray(config.extends); const presets = extendsArray .filter((preset) => !['eslint:recommended', 'eslint:all'].includes(preset)) .map((preset) => resolvePresetPackage(preset, rootDir)); // prettier/recommended extends eslint-config-prettier // https://github.com/prettier/eslint-plugin-prettier#recommended-configuration if (extendsArray.includes('plugin:prettier/recommended')) { presets.push('eslint-config-prettier'); } const presetPackages = presets .filter((preset) => !path.isAbsolute(preset)) .map(requirePackageName); const includedDeps = []; const presetDeps = lodash(presets) .map((preset) => requireConfig(preset, rootDir, includedDeps)) .map((presetConfig) => checkConfig(presetConfig, rootDir)) .flatten() .value(); return lodash .union(parser, plugins, presetPackages, presetDeps) .filter((dep) => !includedDeps.includes(dep)); } const configNameRegex = /^\.eslintrc(\.(json|js|yml|yaml))?$/; export default function parseESLint(content, filename, deps, rootDir) { const config = loadConfig( 'eslint', configNameRegex, filename, content, rootDir, ); if (config) { return checkConfig(config, rootDir); } const packageJsonPath = path.resolve(rootDir, 'package.json'); const resolvedFilePath = path.resolve(rootDir, filename); if (resolvedFilePath === packageJsonPath) { const parsed = JSON.parse(content); if (parsed.eslintConfig) { return checkConfig(parsed.eslintConfig, rootDir); } } return []; }
31.86747
128
0.679773
b4435fffd923412f784bc97b4c775742e0cbd82a
898
js
JavaScript
build/dev.js
ixymn/workingon-vue-weex-app-demo
fb01031f147912d6c5be0c19a3da571cc1d4e9ba
[ "MIT" ]
null
null
null
build/dev.js
ixymn/workingon-vue-weex-app-demo
fb01031f147912d6c5be0c19a3da571cc1d4e9ba
[ "MIT" ]
null
null
null
build/dev.js
ixymn/workingon-vue-weex-app-demo
fb01031f147912d6c5be0c19a3da571cc1d4e9ba
[ "MIT" ]
null
null
null
var webpack = require('webpack') var devServer = require('webpack-dev-server') var base = require('./base') var webConfig = base('vue', true) var weexConfig = base('weex', true) var port = process.env.PORT | 8080 webConfig.entry = { app: [ './src/render.js', './src/app.js', 'webpack/hot/dev-server', 'webpack-dev-server/client/?http://0.0.0.0:' + port ] } webConfig.plugins.push(new webpack.HotModuleReplacementPlugin()) // weex 版跑在 playground,里不需要热替换 weexConfig.entry = { app: ['./src/app.js'] } new devServer(webpack([webConfig, weexConfig]), { port: port, host: '0.0.0.0', // disable host check to avoid `Invalid Host header` issue // see: https://github.com/webpack/webpack-dev-server/issues/882 disableHostCheck: true, hot: true, stats: { colors: true } }).listen('' + port, '0.0.0.0') console.log('Project is running at http://0.0.0.0:' + port + '/')
26.411765
66
0.655902
b4436c5bd061b6cbf71780a544eed8e9f23c3079
858
js
JavaScript
docs/.vuepress/plugins/aplayer/index.js
vivien0818/vivien0818.github.io
7a2cbab23511b2cf14ee0e771708df1d1c9d3c23
[ "MIT" ]
7
2019-04-25T06:21:46.000Z
2019-11-25T08:56:33.000Z
docs/.vuepress/plugins/aplayer/index.js
vivien0818/vivien0818.github.io
7a2cbab23511b2cf14ee0e771708df1d1c9d3c23
[ "MIT" ]
3
2019-11-23T15:23:26.000Z
2019-11-25T08:31:32.000Z
docs/.vuepress/plugins/aplayer/index.js
vivien0818/vivien0818.github.io
7a2cbab23511b2cf14ee0e771708df1d1c9d3c23
[ "MIT" ]
null
null
null
const { resolve } = require('path') module.exports = (options, context) => ({ define () { const { audio, mini, autoplay, volume, listFolded, listMaxHeight, lrcType} = options return { AUDIO: audio || [ { name: '장가갈 수 있을까', artist: '咖啡少年', url: 'https://assets.smallsunnyfox.com/music/1.mp3', cover: 'https://assets.smallsunnyfox.com/music/1.jpg?param=300y300', } ], MINI: mini || true, // 控制播放器展开或收起 AUTOPLAY: autoplay || true, // 是否开启自动播放 VOLUME: volume || 0.7, // 设置播放器的音量 LIST_FOLDED: listFolded || true, // 是否折叠播放列表 LIST_MAX_HEIGHT: listMaxHeight || 250, LRC_TYPE: lrcType || 3 } }, name: '@vuepress-reco/vuepress-plugin-aplayer', enhanceAppFiles: resolve(__dirname, './bin/enhanceAppFile.js'), globalUIComponents: 'APlayer' })
33
88
0.599068
b444ef5ec448ee3590eca7e3e7eafa3848e2475c
626
js
JavaScript
vizhub-v2/packages/controllers/src/apiController/visualizationAPIController/getForksController.js
pravalliyaram/vizhub
106363f1d57cc0f32439065b02ecbf8261d48aa2
[ "MIT" ]
29
2021-12-10T20:50:43.000Z
2022-03-23T13:10:49.000Z
vizhub-v2/packages/controllers/src/apiController/visualizationAPIController/getForksController.js
pravalliyaram/vizhub
106363f1d57cc0f32439065b02ecbf8261d48aa2
[ "MIT" ]
7
2021-12-09T21:24:00.000Z
2022-01-27T17:32:47.000Z
vizhub-v2/packages/controllers/src/apiController/visualizationAPIController/getForksController.js
pravalliyaram/vizhub
106363f1d57cc0f32439065b02ecbf8261d48aa2
[ "MIT" ]
20
2021-12-13T14:12:40.000Z
2022-03-29T02:04:45.000Z
import { GetForksPageData } from 'vizhub-use-cases'; import { userIdFromReq } from '../../userIdFromReq'; export const getForksController = (expressApp, gateways) => { const getForksPageData = new GetForksPageData(gateways); expressApp.get('/api/visualization/get/:id/forks', async (req, res) => { try { const requestModel = { id: req.params.id, offset: req.query.offset, owner: userIdFromReq(req), }; const data = await getForksPageData.execute(requestModel); res.json(data); } catch (error) { console.log(error); res.json({ error }); } }); };
27.217391
74
0.626198
b4466a958edc6d628eaf350d86b9c537f18bc326
6,485
js
JavaScript
src/views/users/index.js
Nightmaregodss/frontend
c9f0b3fc78c39c11af8e4c5408ab2b123c07783b
[ "MIT" ]
7
2015-10-27T13:18:20.000Z
2022-01-24T10:06:36.000Z
src/views/users/index.js
Nightmaregodss/frontend
c9f0b3fc78c39c11af8e4c5408ab2b123c07783b
[ "MIT" ]
null
null
null
src/views/users/index.js
Nightmaregodss/frontend
c9f0b3fc78c39c11af8e4c5408ab2b123c07783b
[ "MIT" ]
4
2016-02-16T18:33:33.000Z
2022-02-17T12:15:38.000Z
require('./style.css'); module.exports = { template: require('./template.html'), replace: true, data: function () { return { users: [], usersRes: this.$resource('/api/users/:id'), user: { username: '', password: '' }, checkbox: { general: [ { "name": "Użytkownicy (Wyświetlanie, dodawanie i usuwanie użytkowników)", checked: false, perm: "USERS" }, {"name": "Hosty (Wyświetlanie, dodawanie i usuwanie hostów", checked: false, perm: "HOSTS"} ], hosts: [], minecraft: [] }, empty: true } }, ready: function () { this.$root.checkPerm('USERS'); this.$root.$set('title', 'Lista użytkowników'); setTimeout(function () { jQuery('.collapsible').collapsible(); }, 1); //get all hosts this.getUsers(); this.getHosts(); //init tooltips jQuery('.tooltipped').tooltip({delay: 50}); }, methods: { addUser1: function () { jQuery('#addUser2').closeModal(); jQuery('#addUser1').openModal(); }, addUser2: function () { jQuery('#addUser1').closeModal(); jQuery('#addUser2').openModal(); }, getUsers: function () { var self = this; this.$http.get(window.baseurl + '/api/v1/user', function (data, status) { self.$set("users", data); }).error(function (data, status) { this.$root.checkSession(data, status); }); }, getHosts: function () { var self = this; //get all hosts this.$http.get('/api/hosts', function (data) { if (data.error === false) { var hosts = data.data; hosts.forEach(function (host) { var el = {}; el[host.name] = [ {name: "Lista serwerów MC", checked: false, perm: "HOST_" + host.id + "_MC_LIST", host_id: host.id} ]; self.checkbox.hosts.push(el); //get all servers for specific host self.$http.get('/api/host/' + host.id + '/mc/list', function (data) { var srvs = data.data; for (var key in srvs) { var value = srvs[key]; var el2 = {}; el2[value.name] = [ { "name": "Konsola", checked: false, mc_slug: value.name_slug, perm: "HOST_" + host.id + "_MC_" + value.name_slug + "_CONSOLE" }, { "name": "Kontrola (włączenie, wyłączenie, restartowanie i wysyłanie komend)", checked: false, mc_slug: value.name_slug, perm: "HOST_" + host.id + "_MC_" + value.name_slug + "_CONTROL" }, { "name": "Menadźer plików", checked: false, mc_slug: value.name_slug, perm: "HOST_" + host.id + "_MC_" + value.name_slug + "_FILES" } ] self.checkbox.minecraft.push(el2) } }); }); } }); }, addUser: function () { var perms = []; //general for (var key in this.checkbox.general) { var value = this.checkbox.general[key]; if (value.checked === true) { perms.push({perm: value.perm}); console.log(perms); } } //hosts /* for (var key in this.checkbox.hosts) { var value = this.checkbox.hosts[key]; for (var key2 in value) { var value2 = value[key2]; for (var key3 in value2) { var value3 = value2[key3] if (value3.checked === true) { perms.push({perm: value3.perm}); } } } } */ //minecraft for (var key in this.checkbox.minecraft) { var value = this.checkbox.minecraft[key]; for (var key2 in value) { var value2 = value[key2]; for (var key3 in value2) { var value3 = value2[key3] if (value3.checked === true) { perms.push({perm: value3.perm}); } } } } this.usersRes.save({}, { username: this.user.username, password: this.user.password, permissions: perms }, function (data) { jQuery('#addUser2').closeModal(); Materialize.toast('Dodano użytkownika pomyślnie', 4000) this.getUsers(); }) }, showKey: function (id) { jQuery('#key_' + id).openModal(); }, deleteUser: function (id) { this.usersRes.delete({id: id}, function (item) { if (item.error === false) { Materialize.toast('Usunięto użytkownika pomyślnie', 4000) this.getUsers() } }) }, toggleCheckbox: function (checkbox, event) { var checked = event.target.checked; if (checked) { checkbox.checked = true; } } } }
36.638418
127
0.375173
b446a4340d8c4ec550c73aa194215e57e48f69f7
36,257
js
JavaScript
bot/messages.js
sholomit/p2plnbot
dff7dd36d22a27a8ce2b8b24d2ed1a6782d9ecaa
[ "MIT" ]
null
null
null
bot/messages.js
sholomit/p2plnbot
dff7dd36d22a27a8ce2b8b24d2ed1a6782d9ecaa
[ "MIT" ]
null
null
null
bot/messages.js
sholomit/p2plnbot
dff7dd36d22a27a8ce2b8b24d2ed1a6782d9ecaa
[ "MIT" ]
null
null
null
const { TelegramError } = require('telegraf'); const { getCurrency } = require('../util'); const startMessage = async (ctx) => { try { const orderExpiration = parseInt(process.env.ORDER_EXPIRATION_WINDOW) / 60; let message = ctx.i18n.t('start', { orderExpiration, channel: process.env.CHANNEL }); await ctx.reply(message); } catch (error) { console.log(error); } }; const initBotErrorMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('init_bot_error')); } catch (error) { // Ignore TelegramError - Forbidden request if (!(error instanceof TelegramError && error.response.error_code == 403)) { console.log(error); } } }; const nonHandleErrorMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('non_handle_error')); } catch (error) { console.log(error); } }; const invoicePaymentRequestMessage = async (ctx, bot, user, request, order) => { try { const currency = getCurrency(order.fiat_code); const expirationTime = parseInt(process.env.HOLD_INVOICE_EXPIRATION_WINDOW) / 60; let message = ctx.i18n.t('invoice_payment_request', { currency, order, expirationTime, }); await bot.telegram.sendMessage(user.tg_id, message); await bot.telegram.sendMessage(user.tg_id, request); } catch (error) { console.log(error); } }; const pendingSellMessage = async (bot, user, order, i18n) => { try { let orderExpirationWindow = process.env.ORDER_PUBLISHED_EXPIRATION_WINDOW / 60 / 60; await bot.telegram.sendMessage(user.tg_id, i18n.t('pending_sell', { channel: process.env.CHANNEL, orderExpirationWindow: Math.round(orderExpirationWindow), })); await bot.telegram.sendMessage(user.tg_id, i18n.t('cancel_order_cmd', { orderId: order._id })); } catch (error) { console.log(error); } }; const pendingBuyMessage = async (bot, user, order, i18n) => { try { let orderExpirationWindow = process.env.ORDER_PUBLISHED_EXPIRATION_WINDOW / 60 / 60; await bot.telegram.sendMessage(user.tg_id, i18n.t('pending_buy', { channel: process.env.CHANNEL, orderExpirationWindow: Math.round(orderExpirationWindow), })); await bot.telegram.sendMessage(user.tg_id, i18n.t('cancel_order_cmd', { orderId: order._id })); } catch (error) { console.log(error); } }; const mustBeIntMessage = async (ctx, fieldName) => { try { await ctx.reply(ctx.i18n.t('must_be_int', { fieldName })); } catch (error) { console.log(error); } }; const sellOrderCorrectFormatMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('sell_correct_format'), { parse_mode: "MarkdownV2" }); } catch (error) { console.log(error); } }; const buyOrderCorrectFormatMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('buy_correct_format'), { parse_mode: "MarkdownV2" }); } catch (error) { console.log(error); } }; const minimunAmountInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('min_invoice_amount', { minPaymentAmount: process.env.MIN_PAYMENT_AMT})); } catch (error) { console.log(error); } }; const minimunExpirationTimeInvoiceMessage = async (ctx) => { try { const expirationTime = parseInt(INVOICE_EXPIRATION_WINDOW) / 60 / 1000; await ctx.reply(ctx.i18n.t('min_expiration_time', { expirationTime })); } catch (error) { console.log(error); } }; const expiredInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_expired')); } catch (error) { console.log(error); } }; const expiredInvoiceOnPendingMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('invoice_expired_long')); await bot.telegram.sendMessage(user.tg_id, i18n.t('setinvoice_cmd_order', { orderId: order._id })); } catch (error) { console.log(error); } }; const requiredAddressInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_require_destination')); } catch (error) { console.log(error); } }; const requiredHashInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_require_hash')); } catch (error) { console.log(error); } }; const invalidOrderMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('order_id_invalid')); } catch (error) { console.log(error); } }; const invalidTypeOrderMessage = async (ctx, bot, user, type) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('order_invalid_type', { type })); } catch (error) { console.log(error); } }; const alreadyTakenOrderMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('order_already_taken')); } catch (error) { console.log(error); } }; const invalidDataMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('invalid_data')); } catch (error) { console.log(error); } }; const genericErrorMessage = async (bot, user, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('generic_error')); } catch (error) { console.log(error); } }; const beginTakeBuyMessage = async (ctx, bot, seller, order) => { try { const expirationTime = parseInt(process.env.HOLD_INVOICE_EXPIRATION_WINDOW) / 60; await bot.telegram.sendMessage(seller.tg_id, ctx.i18n.t('begin_take_buy', { expirationTime })); await bot.telegram.sendMessage(seller.tg_id, order._id, { reply_markup: { inline_keyboard: [ [ {text: ctx.i18n.t('continue'), callback_data: 'showHoldInvoiceBtn'}, {text: ctx.i18n.t('cancel'), callback_data: 'cancelShowHoldInvoiceBtn'}, ], ], }, }); } catch (error) { console.log(error); } }; const showHoldInvoiceMessage = async (ctx, request) => { try { await ctx.reply(ctx.i18n.t('pay_invoice')); await ctx.reply(request); } catch (error) { console.log(error); } }; const onGoingTakeBuyMessage = async (bot, seller, buyer, order, i18n) => { try { await bot.telegram.sendMessage(seller.tg_id, i18n.t('payment_received')); await bot.telegram.sendMessage(buyer.tg_id, i18n.t('someone_took_your_order')); await bot.telegram.sendMessage(buyer.tg_id, order._id, { reply_markup: { inline_keyboard: [ [{text: i18n.t('continue'), callback_data: 'addInvoiceBtn'}], ], }, }); } catch (error) { console.log(error); } }; const beginTakeSellMessage = async (ctx, bot, buyer, order) => { try { await bot.telegram.sendMessage(buyer.tg_id, ctx.i18n.t('you_took_someone_order')); await bot.telegram.sendMessage(buyer.tg_id, order._id, { reply_markup: { inline_keyboard: [ [ {text: ctx.i18n.t('continue'), callback_data: 'addInvoiceBtn'}, {text: ctx.i18n.t('cancel'), callback_data: 'cancelAddInvoiceBtn'}, ], ], }, }); } catch (error) { console.log(error); } }; const onGoingTakeSellMessage = async (bot, sellerUser, buyerUser, order, i18n) => { try { let currency = getCurrency(order.fiat_code); currency = (!!currency && !!currency.symbol_native) ? currency.symbol_native : order.fiat_code; await bot.telegram.sendMessage(buyerUser.tg_id, i18n.t('get_in_touch_with_seller', { currency, sellerUsername: sellerUser.username, fiatAmount: order.fiat_amount, paymentMethod: order.payment_method, })); await bot.telegram.sendMessage(buyerUser.tg_id, i18n.t('fiatsent_order_cmd', { orderId: order._id })); await bot.telegram.sendMessage(sellerUser.tg_id, i18n.t('buyer_took_your_order', { fiatAmount: order.fiat_amount, paymentMethod: order.payment_method, currency, buyerUsername: buyerUser.username, })); } catch (error) { console.log(error); } }; const takeSellWaitingSellerToPayMessage = async (ctx, bot, buyerUser, order) => { try { await bot.telegram.sendMessage(buyerUser.tg_id, ctx.i18n.t('waiting_seller_to_pay', { orderId: order._id })); } catch (error) { console.log(error); } }; const releasedSatsMessage = async (bot, sellerUser, buyerUser, i18n) => { try { await bot.telegram.sendMessage(sellerUser.tg_id, i18n.t('sell_success', { buyerUsername: buyerUser.username })); await bot.telegram.sendMessage(buyerUser.tg_id, i18n.t('funds_released', { sellerUsername: sellerUser.username })); } catch (error) { console.log(error); } }; const rateUserMessage = async (bot, caller, order, i18n) => { try { const starButtons = [] for (let num = 5; num > 0; num--) { starButtons.push([{text: '⭐'.repeat(num), callback_data: `showStarBtn(${num},${order._id})`}]) } await bot.telegram.sendMessage(caller.tg_id, i18n.t('rate_counterpart'), { reply_markup: { inline_keyboard: starButtons, }, }); } catch (error) { console.log(error); } }; const notActiveOrderMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('cant_process_order')); } catch (error) { console.log(error); } }; const waitingForBuyerOrderMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('cant_release_order')); } catch (error) { console.log(error); } }; const notOrderMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('no_id_related')); } catch (error) { console.log(error); } }; const publishBuyOrderMessage = async (bot, order, i18n) => { try { let publishMessage = `⚡️🍊⚡️\n${order.description}\n`; publishMessage += `:${order._id}:`; // Mensaje al canal const message1 = await bot.telegram.sendMessage(process.env.CHANNEL, publishMessage, { reply_markup: { inline_keyboard: [ [{text: i18n.t('sell_sats'), callback_data: 'takebuy'}], ], }, }); // Mensaje al canal order.tg_channel_message1 = message1 && message1.message_id ? message1.message_id : null; await order.save(); } catch (error) { console.log(error); } }; const publishSellOrderMessage = async (bot, order, i18n) => { try { let publishMessage = `⚡️🍊⚡️\n${order.description}\n`; publishMessage += `:${order._id}:`; const message1 = await bot.telegram.sendMessage(process.env.CHANNEL, publishMessage, { reply_markup: { inline_keyboard: [ [{text: i18n.t('buy_sats'), callback_data: 'takesell'}], ], }, }); // Mensaje al canal order.tg_channel_message1 = message1 && message1.message_id ? message1.message_id : null; await order.save(); } catch (error) { console.log(error); } }; const getDetailedOrder = (i18n, order, buyer, seller) => { try { const buyerUsername = buyer ? buyer.username : ''; const sellerUsername = seller ? seller.username : ''; const buyerId = buyer ? buyer._id : ''; const creator = order.creator_id == buyerId ? buyerUsername : sellerUsername; let message = i18n.t('order_detail', { order, creator, buyerUsername, sellerUsername, }); return message; } catch (error) { console.log(error); } }; const beginDisputeMessage = async (bot, buyer, seller, order, initiator, i18n) => { try { const type = initiator === 'seller' ? i18n.t('seller') : i18n.t('buyer'); let initiatorUser = buyer; let counterPartyUser = seller; if (initiator === 'seller') { initiatorUser = seller; counterPartyUser = buyer; } let detailedOrder = getDetailedOrder(i18n, order, buyer, seller); await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('dispute_started_channel', { order, initiator, initiatorUser, counterPartyUser, detailedOrder, type, })); if (initiator === 'buyer') { await bot.telegram.sendMessage(initiatorUser.tg_id, i18n.t('you_started_dispute_to_buyer')); await bot.telegram.sendMessage(counterPartyUser.tg_id, i18n.t('buyer_started_dispute_to_seller', { orderId: order._id })); } else { await bot.telegram.sendMessage(initiatorUser.tg_id, i18n.t('you_started_dispute_to_seller')); await bot.telegram.sendMessage(counterPartyUser.tg_id, i18n.t('seller_started_dispute_to_buyer', { orderId: order._id })); } } catch (error) { console.log(error); } }; const customMessage = async (bot, user, message) => { try { await bot.telegram.sendMessage(user.tg_id, message, { parse_mode: "MarkdownV2"}); } catch (error) { console.log(error); } }; const checkOrderMessage = async (ctx, order, buyer, seller) => { try { let message = getDetailedOrder(ctx.i18n, order, buyer, seller); message += `\n\n`; await ctx.reply(message); } catch (error) { console.log(error); } }; const mustBeValidCurrency = async (ctx) => { try { await ctx.reply(ctx.i18n.t('must_be_valid_currency')); } catch (error) { console.log(error); } }; const mustBeANumberOrRange = async (ctx) => { try { await ctx.reply(ctx.i18n.t('must_be_number_or_range')); } catch (error) { console.log(error); } }; const invalidLightningAddress = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invalid_lightning_address')); } catch (error) { console.log(error); } }; const unavailableLightningAddress = async (ctx, bot, user,la) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('unavailable_lightning_address', { la })); } catch (error) { console.log(error); } }; const helpMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('help'), { parse_mode: 'Markdown' }); } catch (error) { console.log(error); } }; const mustBeGreatherEqThan = async (ctx, fieldName, qty) => { try { await ctx.reply(ctx.i18n.t('must_be_gt_or_eq', { fieldName, qty, })); } catch (error) { console.log(error); } }; const bannedUserErrorMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('you_have_been_banned')); } catch (error) { console.log(error); } }; const fiatSentMessages = async (ctx, bot, buyer, seller, order) => { try { await bot.telegram.sendMessage(buyer.tg_id, ctx.i18n.t('I_told_seller_you_sent_fiat', { sellerUsername: seller.username })); await bot.telegram.sendMessage(seller.tg_id, ctx.i18n.t('buyer_told_me_that_sent_fiat', { buyerUsername: buyer.username })); await bot.telegram.sendMessage(seller.tg_id, ctx.i18n.t('release_order_cmd', { orderId: order._id })); } catch (error) { console.log(error); } }; const orderOnfiatSentStatusMessages = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('you_have_orders_waiting')); } catch (error) { console.log(error); } }; const userBannedMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('user_banned')); } catch (error) { console.log(error); } }; const notFoundUserMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('user_not_found')); } catch (error) { console.log(error); } }; const errorParsingInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('parse_invoice_error')); } catch (error) { console.log(error); } }; const notValidIdMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('invalid_id')); } catch (error) { console.log(error); } }; const addInvoiceMessage = async (ctx, bot, buyer, seller, order) => { try { let currency = getCurrency(order.fiat_code); currency = (!!currency && !!currency.symbol_native) ? currency.symbol_native : order.fiat_code; await bot.telegram.sendMessage(buyer.tg_id, ctx.i18n.t('get_in_touch_with_seller', { currency, sellerUsername: seller.username, fiatAmount: order.fiat_amount, paymentMethod: order.payment_method, })); await bot.telegram.sendMessage(buyer.tg_id, ctx.i18n.t('fiatsent_order_cmd', { orderId: order._id })); } catch (error) { console.log(error); } }; const sendBuyerInfo2SellerMessage = async (ctx, bot, buyer, seller, order) => { try { let currency = getCurrency(order.fiat_code); currency = (!!currency && !!currency.symbol_native) ? currency.symbol_native : order.fiat_code; await bot.telegram.sendMessage(seller.tg_id, ctx.i18n.t('get_in_touch_with_buyer', { currency, buyerUsername: buyer.username, fiatAmount: order.fiat_amount, paymentMethod: order.payment_method, })); } catch (error) { console.log(error); } }; const cantTakeOwnOrderMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('cant_take_own_order')); } catch (error) { console.log(error); } }; const notLightningInvoiceMessage = async (ctx, order) => { try { await ctx.reply(ctx.i18n.t('send_me_a_ln_invoice', { amount: order.amount })); await ctx.reply(ctx.i18n.t('setinvoice_cmd_order', { orderId: order._id })); } catch (error) { console.log(error); } }; const notOrdersMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('you_have_no_orders')); } catch (error) { console.log(error); } }; const listOrdersResponse = async (bot, user, orders) => { try { let response = `. Id | Status | amount (sats) | fiat amt | fiat\n`; orders.forEach(order => { let fiatAmount = '-'; let amount = '-'; if (typeof order.fiat_amount != 'undefined') fiatAmount = order.fiat_amount; if (typeof order.amount != 'undefined') amount = order.amount; response += `${order._id} | ${order.status} | ${amount} | ${fiatAmount} | ${order.fiat_code}\n`; }); await bot.telegram.sendMessage(user.tg_id, response); } catch (error) { console.log(error); } }; const notRateForCurrency = async (bot, user, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('not_rate_for_currency', { fiatRateProvider: process.env.FIAT_RATE_NAME })); } catch (error) { console.log(error); } }; const incorrectAmountInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_with_incorrect_amount')); } catch (error) { console.log(error); } }; const invoiceUpdatedMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_updated')); } catch (error) { console.log(error); } }; const invoiceUpdatedPaymentWillBeSendMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_updated_and_will_be_paid')); } catch (error) { console.log(error); } }; const invoiceAlreadyUpdatedMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invoice_already_being_paid')); } catch (error) { console.log(error); } }; const successSetAddress = async (ctx) => { try { await ctx.reply(ctx.i18n.t('lightning_address_saved')); } catch (error) { console.log(error); } }; const badStatusOnCancelOrderMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('cancel_error')); } catch (error) { console.log(error); } }; const successCancelOrderMessage = async (ctx, bot, user, order, sendRefundMessage) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('cancel_success', { orderId: order._id })); if (order.seller_id == user._id && !!sendRefundMessage) { await refundCooperativeCancelMessage(ctx, bot, user); } } catch (error) { console.log(error); } }; const successCancelAllOrdersMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('cancelall_success')); } catch (error) { console.log(error); } }; const successCancelOrderByAdminMessage = async (ctx, bot, user, order) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('order_cancelled_by_admin', { orderId: order._id })); } catch (error) { console.log(error); } }; const successCompleteOrderMessage = async (ctx, order) => { try { await ctx.reply(ctx.i18n.t('order_completed', { orderId: order._id })); } catch (error) { console.log(error); } }; const successCompleteOrderByAdminMessage = async (ctx, bot, user, order) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('order_completed_by_admin', { orderId: order._id })); } catch (error) { console.log(error); } }; const shouldWaitCooperativeCancelMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('have_to_wait_for_counterpart')); } catch (error) { console.log(error); } }; const okCooperativeCancelMessage = async (ctx, bot, user, order) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('ok_cooperativecancel', { orderId: order._id })); if (order.seller_id == user._id) { await refundCooperativeCancelMessage(ctx, bot, user); } } catch (error) { console.log(error); } }; const refundCooperativeCancelMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('refund_cooperativecancel')); } catch (error) { console.log(error); } }; const initCooperativeCancelMessage = async (ctx, order) => { try { await ctx.reply(ctx.i18n.t('init_cooperativecancel', { orderId: order._id })); } catch (error) { console.log(error); } }; const counterPartyWantsCooperativeCancelMessage = async (ctx, bot, user, order) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('counterparty_wants_cooperativecancel', { orderId: order._id })); await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('cancel_order_cmd', { orderId: order._id })); } catch (error) { console.log(error); } }; const invoicePaymentFailedMessage = async (bot, user, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('invoice_payment_failed', { pendingPaymentWindow: process.env.PENDING_PAYMENT_WINDOW, })); } catch (error) { console.log(error); } }; const userCantTakeMoreThanOneWaitingOrderMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('cant_take_more_orders')); } catch (error) { console.log(error); } }; const sellerPaidHoldMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('seller_released')); } catch (error) { console.log(error); } }; const showInfoMessage = async (bot, user, info) => { try { const status = !!info.public_key; const statusEmoji = status ? '🟢' : '🔴'; let fee = (process.env.FEE * 100).toString(); fee = fee.replace('.', '\\.'); await bot.telegram.sendMessage(user.tg_id, `*Node status*: ${statusEmoji}\n*Bot fee*: ${fee}%`, { parse_mode: "MarkdownV2" }); if (status) { await bot.telegram.sendMessage(user.tg_id, `*Node pubkey*: ${info.public_key}\n`, { parse_mode: "MarkdownV2" }); } } catch (error) { console.log(error); } }; const buyerReceivedSatsMessage = async (bot, buyerUser, sellerUser, i18n) => { try { await bot.telegram.sendMessage(buyerUser.tg_id, i18n.t('your_purchase_is_completed', { sellerUsername: sellerUser.username, })); } catch (error) { console.log(error); } }; const listCurrenciesResponse = async (ctx, currencies) => { try { let response = `Code | Name |\n`; currencies.forEach(currency => { response += `${currency.code} | ${currency.name} | ${currency.emoji}\n`; }); await ctx.reply(response); } catch (error) { console.log(error); } }; const priceApiFailedMessage = async (ctx, bot, user) => { try { await bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('problem_getting_price')); } catch (error) { console.log(error); } }; const updateUserSettingsMessage = async (ctx, field, newState) => { try { await ctx.reply(ctx.i18n.t('update_user_setting', { field, newState, })); } catch (error) { console.log(error); } }; const disableLightningAddress = async (ctx) => { try { await ctx.reply(ctx.i18n.t('lightning_address_disabled')); } catch (error) { console.log(error); } }; const invalidRangeWithAmount = async (ctx) => { try { await ctx.reply(ctx.i18n.t('invalid_range_with_amount')); } catch (error) { console.log(error); } }; const tooManyPendingOrdersMessage = async (bot, user, i18n) => { try { bot.telegram.sendMessage(user.tg_id, ctx.i18n.t('too_many_pending_orders')); } catch (error) { console.log(error); } }; const listCommunitiesMessage = async (ctx, communities) => { try { let message = ''; communities.forEach(community => { message += `ID: ${community.id}\n`; message += ctx.i18n.t('name') +`: ${community.name}\n`; message += ctx.i18n.t('group') + `: ${community.group}\n`; community.order_channels.forEach(channel => { message += ctx.i18n.t('channel') + ` ${channel.type}: ${channel.name}\n`; }); community.solvers.forEach(solver => { message += ctx.i18n.t('solver') + `: ${solver.username}\n`; }); message += ctx.i18n.t('published') + `: ${community.public ? ctx.i18n.t('yes') : ctx.i18n.t('no')}\n`; message += ctx.i18n.t('created') + `: ${community.created_at}\n\n`; }); await ctx.reply(message); } catch (error) { console.log(error); } }; const wizardAddInvoiceInitMessage = async (ctx, order, currency, expirationTime) => { try { await ctx.reply(ctx.i18n.t('wizard_add_invoice_init', { expirationTime, satsAmount: order.amount, currency, fiatAmount: order.fiat_amount, })); } catch (error) { console.log(error); } }; const wizardAddInvoiceExitMessage = async (ctx, order) => { try { await ctx.reply(ctx.i18n.t('wizard_add_invoice_exit', { amount: order.amount, orderId: order._id, })); } catch (error) { console.log(error); } }; const wizardCommunityEnterNameMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_enter_name')); } catch (error) { console.log(error); } }; const wizardExitMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_exit')); } catch (error) { console.log(error); } }; const orderExpiredMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('order_expired')); } catch (error) { console.log(error); } }; const cantAddInvoiceMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('cant_add_invoice')); } catch (error) { console.log(error); } }; const wizardCommunityTooLongNameMessage = async (ctx, length) => { try { await ctx.reply(ctx.i18n.t('wizard_community_too_long_name', { length })); } catch (error) { console.log(error); } }; const wizardCommunityEnterGroupMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_enter_group')); } catch (error) { console.log(error); } }; const wizardCommunityEnterOrderChannelsMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_enter_order_channels')); } catch (error) { console.log(error); } }; const wizardCommunityOneOrTwoChannelsMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_one_or_two_channels')); } catch (error) { console.log(error); } }; const wizardCommunityEnterSolversMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_enter_solvers')); } catch (error) { console.log(error); } }; const wizardCommunityMustEnterNamesSeparatedMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_must_enter_names')); } catch (error) { console.log(error); } }; const wizardCommunityEnterSolversChannelMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_enter_solvers_channel')); } catch (error) { console.log(error); } }; const wizardCommunityCreatedMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('wizard_community_success')); } catch (error) { console.log(error); } }; const wizardCommunityWrongPermission = () => { return `You are not admin on this group or channel.`; }; const wizardAddFiatAmountMessage = async (ctx, currency, action, order) => { try { await ctx.reply(ctx.i18n.t('wizard_add_fiat_amount', { action, currency, fiatAmount: order.fiat_amount, minAmount: order.min_amount, maxAmount: order.max_amount, })); } catch (error) { console.log(error); } }; const wizardAddFiatAmountWrongAmountMessage = async (ctx, order) => { try { await ctx.reply(ctx.i18n.t('wizard_add_fiat_wrong_amount', { minAmount: order.min_amount, maxAmount: order.max_amount, })); } catch (error) { console.log(error); } }; const wizardAddFiatAmountCorrectMessage = async (ctx, currency, fiatAmount) => { try { await ctx.reply(ctx.i18n.t('wizard_add_fiat_correct_amount', { currency: currency.symbol_native, fiatAmount, })); } catch (error) { console.log(error); } }; const expiredOrderMessage = async (bot, order, buyerUser, sellerUser, i18n) => { try { const detailedOrder = getDetailedOrder(i18n, order, buyerUser, sellerUser); await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('expired_order', { detailedOrder, buyerUser, sellerUser, })); } catch (error) { console.log(error); } }; const toBuyerDidntAddInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('didnt_add_invoice', { orderId: order._id })); } catch (error) { console.log(error); } }; const toSellerBuyerDidntAddInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('buyer_havent_add_invoice', { orderId: order._id })); } catch (error) { console.log(error); } }; const toAdminChannelBuyerDidntAddInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('buyer_havent_add_invoice_to_admin_channel', { orderId: order._id, username: user.username, })); } catch (error) { console.log(error); } }; const toSellerDidntPayInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('havent_paid_invoice', { orderId: order._id })); } catch (error) { console.log(error); } }; const toBuyerSellerDidntPayInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('seller_havent_paid_invoice', { orderId: order._id })); } catch (error) { console.log(error); } }; const toAdminChannelSellerDidntPayInvoiceMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('seller_havent_add_invoice_to_admin_channel', { orderId: order._id, username: user.username, })); } catch (error) { console.log(error); } }; const userCantDoMessage = async (ctx) => { try { await ctx.reply(ctx.i18n.t('user_cant_do')); } catch (error) { console.log(error); } }; const toAdminChannelPendingPaymentSuccessMessage = async (bot, user, order, pending, payment, i18n) => { try { await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('pending_payment_success_to_admin', { orderId: order._id, username: user.username, attempts: pending.attempts, amount: order.amount, paymentSecret: payment.secret, })); } catch (error) { console.log(error); } }; const toBuyerPendingPaymentSuccessMessage = async (bot, user, order, payment, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('pending_payment_success', { orderId: order._id, amount: order.amount, paymentSecret: payment.secret, })); } catch (error) { console.log(error); } }; const toBuyerPendingPaymentFailedMessage = async (bot, user, order, i18n) => { try { await bot.telegram.sendMessage(user.tg_id, i18n.t('pending_payment_failed')); await bot.telegram.sendMessage(user.tg_id, i18n.t('setinvoice_cmd_order', { orderId: order._id })); } catch (error) { console.log(error); } }; const toAdminChannelPendingPaymentFailedMessage = async (bot, user, order, pending, i18n) => { try { await bot.telegram.sendMessage(process.env.ADMIN_CHANNEL, i18n.t('pending_payment_failed_to_admin', { attempts: pending.attempts, orderId: order._id, username: user.username, })); } catch (error) { console.log(error); } }; module.exports = { startMessage, initBotErrorMessage, invoicePaymentRequestMessage, sellOrderCorrectFormatMessage, buyOrderCorrectFormatMessage, minimunAmountInvoiceMessage, minimunExpirationTimeInvoiceMessage, expiredInvoiceMessage, requiredAddressInvoiceMessage, requiredHashInvoiceMessage, publishBuyOrderMessage, invalidOrderMessage, invalidTypeOrderMessage, alreadyTakenOrderMessage, onGoingTakeSellMessage, invalidDataMessage, beginTakeBuyMessage, notActiveOrderMessage, publishSellOrderMessage, onGoingTakeBuyMessage, pendingSellMessage, pendingBuyMessage, mustBeIntMessage, beginDisputeMessage, notOrderMessage, customMessage, nonHandleErrorMessage, checkOrderMessage, mustBeValidCurrency, mustBeANumberOrRange, unavailableLightningAddress, invalidLightningAddress, helpMessage, mustBeGreatherEqThan, bannedUserErrorMessage, fiatSentMessages, orderOnfiatSentStatusMessages, takeSellWaitingSellerToPayMessage, userBannedMessage, notFoundUserMessage, errorParsingInvoiceMessage, notValidIdMessage, addInvoiceMessage, cantTakeOwnOrderMessage, notLightningInvoiceMessage, notOrdersMessage, listOrdersResponse, notRateForCurrency, incorrectAmountInvoiceMessage, beginTakeSellMessage, invoiceUpdatedMessage, counterPartyWantsCooperativeCancelMessage, initCooperativeCancelMessage, okCooperativeCancelMessage, shouldWaitCooperativeCancelMessage, successCompleteOrderByAdminMessage, successCompleteOrderMessage, successCancelOrderByAdminMessage, successCancelOrderMessage, badStatusOnCancelOrderMessage, invoicePaymentFailedMessage, userCantTakeMoreThanOneWaitingOrderMessage, buyerReceivedSatsMessage, releasedSatsMessage, rateUserMessage, listCurrenciesResponse, priceApiFailedMessage, showHoldInvoiceMessage, waitingForBuyerOrderMessage, invoiceUpdatedPaymentWillBeSendMessage, invoiceAlreadyUpdatedMessage, successSetAddress, sellerPaidHoldMessage, showInfoMessage, sendBuyerInfo2SellerMessage, updateUserSettingsMessage, expiredInvoiceOnPendingMessage, successCancelAllOrdersMessage, disableLightningAddress, invalidRangeWithAmount, tooManyPendingOrdersMessage, listCommunitiesMessage, wizardAddInvoiceInitMessage, wizardAddInvoiceExitMessage, orderExpiredMessage, cantAddInvoiceMessage, wizardCommunityEnterNameMessage, wizardExitMessage, wizardCommunityTooLongNameMessage, wizardCommunityEnterGroupMessage, wizardCommunityEnterOrderChannelsMessage, wizardCommunityOneOrTwoChannelsMessage, wizardCommunityEnterSolversMessage, wizardCommunityMustEnterNamesSeparatedMessage, wizardCommunityEnterSolversChannelMessage, wizardCommunityCreatedMessage, wizardCommunityWrongPermission, wizardAddFiatAmountMessage, wizardAddFiatAmountWrongAmountMessage, wizardAddFiatAmountCorrectMessage, expiredOrderMessage, toBuyerDidntAddInvoiceMessage, toSellerBuyerDidntAddInvoiceMessage, toAdminChannelBuyerDidntAddInvoiceMessage, toSellerDidntPayInvoiceMessage, toBuyerSellerDidntPayInvoiceMessage, toAdminChannelSellerDidntPayInvoiceMessage, userCantDoMessage, toAdminChannelPendingPaymentSuccessMessage, toBuyerPendingPaymentSuccessMessage, toBuyerPendingPaymentFailedMessage, toAdminChannelPendingPaymentFailedMessage, genericErrorMessage, };
28.084431
130
0.670739
b4473ff5ec33f93ecbcd58495b99d91d4f11bfb4
41
js
JavaScript
js/app.js
MagnumMonk/LNDNG
793fd90d79fc1e124dde88442495196166ca6c00
[ "MIT" ]
null
null
null
js/app.js
MagnumMonk/LNDNG
793fd90d79fc1e124dde88442495196166ca6c00
[ "MIT" ]
null
null
null
js/app.js
MagnumMonk/LNDNG
793fd90d79fc1e124dde88442495196166ca6c00
[ "MIT" ]
null
null
null
var app = angular.module('prodApp', []);
20.5
40
0.634146
b44775d74461fae0e3bf815cf14ea44968906c60
444
js
JavaScript
webpack.dev.js
TrueMoein/TruePlayer
01b7430747a20cee525dea2382ccf3a3c7040b8b
[ "MIT" ]
1
2020-09-12T14:02:10.000Z
2020-09-12T14:02:10.000Z
webpack.dev.js
TrueMoein/TruePlayer
01b7430747a20cee525dea2382ccf3a3c7040b8b
[ "MIT" ]
null
null
null
webpack.dev.js
TrueMoein/TruePlayer
01b7430747a20cee525dea2382ccf3a3c7040b8b
[ "MIT" ]
null
null
null
const { merge } = require('webpack-merge'); const HtmlWebpackPlugin = require('html-webpack-plugin'); const common = require('./webpack.common.js'); module.exports = merge(common, { entry: { playground: './playground/app.ts', }, plugins: [ new HtmlWebpackPlugin({ title: 'TruePlayer...', template: './playground/index.html', favicon: './playground/favicon.png', }), ], devtool: 'inline-source-map', });
24.666667
57
0.630631
b447973f572e421cba2aa028b5a6b3f52f777765
12,172
js
JavaScript
reviewboard/static/rb/js/views/tests/commentIssueBarViewTests.es6.js
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
921
2015-01-01T15:26:28.000Z
2022-03-29T11:30:38.000Z
reviewboard/static/rb/js/views/tests/commentIssueBarViewTests.es6.js
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
5
2015-03-17T18:57:47.000Z
2020-10-02T13:24:31.000Z
reviewboard/static/rb/js/views/tests/commentIssueBarViewTests.es6.js
amalik2/reviewboard
676aa2dce38ce619a74f2d4cb3cfae9bce21416e
[ "MIT" ]
285
2015-01-12T06:24:36.000Z
2022-03-29T11:03:50.000Z
suite('rb/views/CommentIssueBarView', function() { let commentIssueManager; let view; let $dropButton; let $reopenButton; let $fixedButton; let $verifyFixedButton; let $verifyDroppedButton; beforeEach(function() { commentIssueManager = new RB.CommentIssueManager({ reviewRequest: new RB.ReviewRequest(), }); view = new RB.CommentIssueBarView({ commentIssueManager: commentIssueManager, issueStatus: 'open', reviewID: 1, commentID: 2, commentType: 'diff_comments', interactive: true, canVerify: true, }); view.render().$el.appendTo($testsScratch); $dropButton = view._$buttons.filter('.drop'); $reopenButton = view._$buttons.filter('.reopen'); $fixedButton = view._$buttons.filter('.resolve'); $verifyFixedButton = view._$buttons.filter('.verify-resolved'); $verifyDroppedButton = view._$buttons.filter('.verify-dropped'); }); describe('Actions', function() { let comment; beforeEach(function() { spyOn(commentIssueManager, 'setCommentState'); expect(view._$buttons.prop('disabled')).toBe(false); comment = commentIssueManager.getComment(1, 2, 'diff_comments'); spyOn(comment, 'ready').and.callFake(options => { if (_.isFunction(options.ready)) { options.ready.call(comment); } }); spyOn(comment, 'getAuthorUsername').and.returnValue('doc'); }); it('Resolving as fixed', function() { $fixedButton.click(); expect(view._$buttons.prop('disabled')).toBe(true); expect(commentIssueManager.setCommentState) .toHaveBeenCalledWith(1, 2, 'diff_comments', 'resolved'); }); it('Dropping', function() { $dropButton.click(); expect(view._$buttons.prop('disabled')).toBe(true); expect(commentIssueManager.setCommentState) .toHaveBeenCalledWith(1, 2, 'diff_comments', 'dropped'); }); it('Re-opening', function() { view._showStatus(RB.BaseComment.STATE_RESOLVED); $reopenButton.click(); expect(view._$buttons.prop('disabled')).toBe(true); expect(commentIssueManager.setCommentState) .toHaveBeenCalledWith(1, 2, 'diff_comments', 'open'); }); it('Resolving with verification', function() { comment.get('extraData').require_verification = true; $fixedButton.click(); expect(view._$buttons.prop('disabled')).toBe(true); expect(commentIssueManager.setCommentState) .toHaveBeenCalledWith(1, 2, 'diff_comments', 'verifying-resolved'); }); it('Dropping with verification', function() { comment.get('extraData').require_verification = true; $dropButton.click(); expect(view._$buttons.prop('disabled')).toBe(true); expect(commentIssueManager.setCommentState) .toHaveBeenCalledWith(1, 2, 'diff_comments', 'verifying-dropped'); }); }); describe('Event handling', function() { describe('CommentIssueManager.issueStatusUpdated', function() { beforeEach(function() { spyOn(view, '_showStatus'); }); it('When comment updated', function() { const comment = new RB.DiffComment({ id: 2, issueStatus: 'resolved', }); commentIssueManager.trigger('issueStatusUpdated', comment); expect(view._showStatus).toHaveBeenCalledWith('resolved'); }); it('When different comment updated', function() { const comment = new RB.DiffComment({ id: 10, issueStatus: 'resolved', }); commentIssueManager.trigger('issueStatusUpdated', comment); expect(view._showStatus).not.toHaveBeenCalled(); }); }); }); describe('Issue states', function() { describe('Open', function() { beforeEach(function() { view._showStatus(RB.BaseComment.STATE_OPEN); }); it('CSS class', function() { expect(view._$state.hasClass('open')).toBe(true); expect(view._$state.hasClass('resolved')).toBe(false); expect(view._$state.hasClass('dropped')).toBe(false); expect(view._$state.hasClass('verifying-resolved')).toBe(false); expect(view._$state.hasClass('verifying-dropped')).toBe(false); }); it('Text', function() { expect(view._$message.text()).toBe('An issue was opened.'); }); describe('Button visibility', function() { it('"Drop" shown', function() { expect($dropButton.is(':visible')).toBe(true); }); it('"Fixed" shown', function() { expect($fixedButton.is(':visible')).toBe(true); }); it('"Re-open" hidden', function() { expect($reopenButton.is(':visible')).toBe(false); }); it('"Verify Fixed" hidden', function() { expect($verifyFixedButton.is(':visible')).toBe(false); }); it('"Verify Dropped" hidden', function() { expect($verifyDroppedButton.is(':visible')).toBe(false); }); }); }); describe('Fixed', function() { beforeEach(function() { view._showStatus(RB.BaseComment.STATE_RESOLVED); }); it('CSS class', function() { expect(view._$state.hasClass('open')).toBe(false); expect(view._$state.hasClass('resolved')).toBe(true); expect(view._$state.hasClass('dropped')).toBe(false); expect(view._$state.hasClass('verifying-resolved')).toBe(false); expect(view._$state.hasClass('verifying-dropped')).toBe(false); }); it('Text', function() { expect(view._$message.text()).toBe( 'The issue has been resolved.'); }); describe('Button visibility', function() { it('"Drop" hidden', function() { expect($dropButton.is(':visible')).toBe(false); }); it('"Fixed" hidden', function() { expect($fixedButton.is(':visible')).toBe(false); }); it('"Re-open" shown', function() { expect($reopenButton.is(':visible')).toBe(true); }); it('"Verify Fixed" hidden', function() { expect($verifyFixedButton.is(':visible')).toBe(false); }); it('"Verify Dropped" hidden', function() { expect($verifyDroppedButton.is(':visible')).toBe(false); }); }); }); describe('Dropped', function() { beforeEach(function() { view._showStatus(RB.BaseComment.STATE_DROPPED); }); it('CSS class', function() { expect(view._$state.hasClass('open')).toBe(false); expect(view._$state.hasClass('resolved')).toBe(false); expect(view._$state.hasClass('dropped')).toBe(true); expect(view._$state.hasClass('verifying-resolved')).toBe(false); expect(view._$state.hasClass('verifying-dropped')).toBe(false); }); it('Text', function() { expect(view._$message.text()).toBe( 'The issue has been dropped.'); }); describe('Button visibility', function() { it('"Drop" hidden', function() { expect($dropButton.is(':visible')).toBe(false); }); it('"Fixed" hidden', function() { expect($fixedButton.is(':visible')).toBe(false); }); it('"Re-open" shown', function() { expect($reopenButton.is(':visible')).toBe(true); }); it('"Verify Fixed" hidden', function() { expect($verifyFixedButton.is(':visible')).toBe(false); }); it('"Verify Dropped" hidden', function() { expect($verifyDroppedButton.is(':visible')).toBe(false); }); }); }); describe('Verifying Fixed', function() { beforeEach(function() { view._showStatus(RB.BaseComment.STATE_VERIFYING_RESOLVED); }); it('CSS class', function() { expect(view._$state.hasClass('open')).toBe(false); expect(view._$state.hasClass('resolved')).toBe(false); expect(view._$state.hasClass('dropped')).toBe(false); expect(view._$state.hasClass('verifying-resolved')).toBe(true); expect(view._$state.hasClass('verifying-dropped')).toBe(false); }); it('Text', function() { expect(view._$message.text()).toBe( 'Waiting for verification before resolving...'); }); describe('Button visibility', function() { it('"Drop" hidden', function() { expect($dropButton.is(':visible')).toBe(false); }); it('"Fixed" hidden', function() { expect($fixedButton.is(':visible')).toBe(false); }); it('"Re-open" shown', function() { expect($reopenButton.is(':visible')).toBe(true); }); it('"Verify Fixed" shown', function() { expect($verifyFixedButton.is(':visible')).toBe(true); }); it('"Verify Dropped" hidden', function() { expect($verifyDroppedButton.is(':visible')).toBe(false); }); }); }); describe('Verifying Dropped', function() { beforeEach(function() { view._showStatus(RB.BaseComment.STATE_VERIFYING_DROPPED); }); it('CSS class', function() { expect(view._$state.hasClass('open')).toBe(false); expect(view._$state.hasClass('resolved')).toBe(false); expect(view._$state.hasClass('dropped')).toBe(false); expect(view._$state.hasClass('verifying-resolved')).toBe(false); expect(view._$state.hasClass('verifying-dropped')).toBe(true); }); it('Text', function() { expect(view._$message.text()).toBe( 'Waiting for verification before dropping...'); }); describe('Button visibility', function() { it('"Drop" hidden', function() { expect($dropButton.is(':visible')).toBe(false); }); it('"Fixed" hidden', function() { expect($fixedButton.is(':visible')).toBe(false); }); it('"Re-open" shown', function() { expect($reopenButton.is(':visible')).toBe(true); }); it('"Verify Fixed" hidden', function() { expect($verifyFixedButton.is(':visible')).toBe(false); }); it('"Verify Dropped" shown', function() { expect($verifyDroppedButton.is(':visible')).toBe(true); }); }); }); }); });
36.011834
80
0.495235
b4483d15e3376a46d6f95ed38ec83c9faa165687
840
js
JavaScript
src/component/landingPage/project/Projects.js
navy87/beautiful-portfolio
32ac3ecaa0798bcd677fd9bf3244d3962de4ca30
[ "MIT" ]
null
null
null
src/component/landingPage/project/Projects.js
navy87/beautiful-portfolio
32ac3ecaa0798bcd677fd9bf3244d3962de4ca30
[ "MIT" ]
null
null
null
src/component/landingPage/project/Projects.js
navy87/beautiful-portfolio
32ac3ecaa0798bcd677fd9bf3244d3962de4ca30
[ "MIT" ]
null
null
null
import React from "react"; import "../../../style/projects/project.css"; import ProjectItem from "./ProjectItem"; import blog from "../../../svg/Blog.svg"; import helio from "../../../svg/HelioIMS.svg"; import octopus from "../../../svg/Octopus.svg"; import hanan from "../../../svg/Hanan.svg"; const Projects = () => { return ( <div id="projectSection"> <h2> So you wanna see my previous <strong>Projects</strong> </h2> <div className="projectList"> <ProjectItem icon={helio} title="Helio IMS"/> <ProjectItem icon={blog} title="LetMeTalk"/> <ProjectItem icon={octopus} title="Octopus"/> <ProjectItem icon={hanan} title="Hanan SAT Helper"/> </div> </div> ); }; export default Projects;
32.307692
70
0.552381
b448cd137a38d87ee12127359af2484789a7cf36
24,934
js
JavaScript
tryps.js
shubh1m/Rotating-Cube
8aefde25e76f95707b54286f53791092c60273d4
[ "MIT" ]
1
2017-06-18T13:34:38.000Z
2017-06-18T13:34:38.000Z
tryps.js
shubh1m/Rotating-Cube
8aefde25e76f95707b54286f53791092c60273d4
[ "MIT" ]
null
null
null
tryps.js
shubh1m/Rotating-Cube
8aefde25e76f95707b54286f53791092c60273d4
[ "MIT" ]
null
null
null
// Generated by psc-bundle 0.11.4 var PS = {}; (function(exports) { // Generated by purs version 0.11.4 "use strict"; var Control_Category = PS["Control.Category"]; var $$const = function (a) { return function (v) { return a; }; }; exports["const"] = $$const; })(PS["Data.Function"] = PS["Data.Function"] || {}); (function(exports) { "use strict"; exports.unit = {}; })(PS["Data.Unit"] = PS["Data.Unit"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Data.Unit"]; var Data_Show = PS["Data.Show"]; exports["unit"] = $foreign.unit; })(PS["Data.Unit"] = PS["Data.Unit"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Data.Functor"]; var Control_Semigroupoid = PS["Control.Semigroupoid"]; var Data_Function = PS["Data.Function"]; var Data_Unit = PS["Data.Unit"]; var Functor = function (map) { this.map = map; }; var map = function (dict) { return dict.map; }; var $$void = function (dictFunctor) { return map(dictFunctor)(Data_Function["const"](Data_Unit.unit)); }; exports["Functor"] = Functor; exports["map"] = map; exports["void"] = $$void; })(PS["Data.Functor"] = PS["Data.Functor"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Control.Apply"]; var Control_Category = PS["Control.Category"]; var Data_Function = PS["Data.Function"]; var Data_Functor = PS["Data.Functor"]; var Apply = function (Functor0, apply) { this.Functor0 = Functor0; this.apply = apply; }; var apply = function (dict) { return dict.apply; }; exports["Apply"] = Apply; exports["apply"] = apply; })(PS["Control.Apply"] = PS["Control.Apply"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var Control_Apply = PS["Control.Apply"]; var Data_Functor = PS["Data.Functor"]; var Data_Unit = PS["Data.Unit"]; var Applicative = function (Apply0, pure) { this.Apply0 = Apply0; this.pure = pure; }; var pure = function (dict) { return dict.pure; }; var liftA1 = function (dictApplicative) { return function (f) { return function (a) { return Control_Apply.apply(dictApplicative.Apply0())(pure(dictApplicative)(f))(a); }; }; }; exports["Applicative"] = Applicative; exports["liftA1"] = liftA1; exports["pure"] = pure; })(PS["Control.Applicative"] = PS["Control.Applicative"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Control.Bind"]; var Control_Applicative = PS["Control.Applicative"]; var Control_Apply = PS["Control.Apply"]; var Control_Category = PS["Control.Category"]; var Data_Function = PS["Data.Function"]; var Data_Functor = PS["Data.Functor"]; var Data_Unit = PS["Data.Unit"]; var Bind = function (Apply0, bind) { this.Apply0 = Apply0; this.bind = bind; }; var bind = function (dict) { return dict.bind; }; exports["Bind"] = Bind; exports["bind"] = bind; })(PS["Control.Bind"] = PS["Control.Bind"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var Control_Applicative = PS["Control.Applicative"]; var Control_Apply = PS["Control.Apply"]; var Control_Bind = PS["Control.Bind"]; var Data_Functor = PS["Data.Functor"]; var Data_Unit = PS["Data.Unit"]; var Monad = function (Applicative0, Bind1) { this.Applicative0 = Applicative0; this.Bind1 = Bind1; }; var ap = function (dictMonad) { return function (f) { return function (a) { return Control_Bind.bind(dictMonad.Bind1())(f)(function (v) { return Control_Bind.bind(dictMonad.Bind1())(a)(function (v1) { return Control_Applicative.pure(dictMonad.Applicative0())(v(v1)); }); }); }; }; }; exports["Monad"] = Monad; exports["ap"] = ap; })(PS["Control.Monad"] = PS["Control.Monad"] || {}); (function(exports) { "use strict"; exports.pureE = function (a) { return function () { return a; }; }; exports.bindE = function (a) { return function (f) { return function () { return f(a())(); }; }; }; })(PS["Control.Monad.Eff"] = PS["Control.Monad.Eff"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Control.Monad.Eff"]; var Control_Applicative = PS["Control.Applicative"]; var Control_Apply = PS["Control.Apply"]; var Control_Bind = PS["Control.Bind"]; var Control_Monad = PS["Control.Monad"]; var Data_Functor = PS["Data.Functor"]; var Data_Unit = PS["Data.Unit"]; var monadEff = new Control_Monad.Monad(function () { return applicativeEff; }, function () { return bindEff; }); var bindEff = new Control_Bind.Bind(function () { return applyEff; }, $foreign.bindE); var applyEff = new Control_Apply.Apply(function () { return functorEff; }, Control_Monad.ap(monadEff)); var applicativeEff = new Control_Applicative.Applicative(function () { return applyEff; }, $foreign.pureE); var functorEff = new Data_Functor.Functor(Control_Applicative.liftA1(applicativeEff)); exports["functorEff"] = functorEff; exports["applyEff"] = applyEff; exports["applicativeEff"] = applicativeEff; exports["bindEff"] = bindEff; exports["monadEff"] = monadEff; })(PS["Control.Monad.Eff"] = PS["Control.Monad.Eff"] || {}); (function(exports) { "use strict"; exports.newRef = function (val) { return function () { return { value: val }; }; }; exports.readRef = function (ref) { return function () { return ref.value; }; }; exports.writeRef = function (ref) { return function (val) { return function () { ref.value = val; return {}; }; }; }; })(PS["Control.Monad.Eff.Ref"] = PS["Control.Monad.Eff.Ref"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Control.Monad.Eff.Ref"]; var Control_Monad_Eff = PS["Control.Monad.Eff"]; var Data_Unit = PS["Data.Unit"]; var Prelude = PS["Prelude"]; exports["newRef"] = $foreign.newRef; exports["readRef"] = $foreign.readRef; exports["writeRef"] = $foreign.writeRef; })(PS["Control.Monad.Eff.Ref"] = PS["Control.Monad.Eff.Ref"] || {}); (function(exports) { /* global window */ "use strict"; exports.window = function () { return window; }; })(PS["DOM.HTML"] = PS["DOM.HTML"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["DOM.HTML"]; var Control_Monad_Eff = PS["Control.Monad.Eff"]; var DOM = PS["DOM"]; var DOM_HTML_Types = PS["DOM.HTML.Types"]; exports["window"] = $foreign.window; })(PS["DOM.HTML"] = PS["DOM.HTML"] || {}); (function(exports) { "use strict"; exports._requestAnimationFrame = function(fn) { return function(window) { return function() { return window.requestAnimationFrame(fn); }; }; }; })(PS["DOM.HTML.Window"] = PS["DOM.HTML.Window"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var Control_Alt = PS["Control.Alt"]; var Control_Alternative = PS["Control.Alternative"]; var Control_Applicative = PS["Control.Applicative"]; var Control_Apply = PS["Control.Apply"]; var Control_Bind = PS["Control.Bind"]; var Control_Category = PS["Control.Category"]; var Control_Extend = PS["Control.Extend"]; var Control_Monad = PS["Control.Monad"]; var Control_MonadZero = PS["Control.MonadZero"]; var Control_Plus = PS["Control.Plus"]; var Data_Bounded = PS["Data.Bounded"]; var Data_Eq = PS["Data.Eq"]; var Data_Function = PS["Data.Function"]; var Data_Functor = PS["Data.Functor"]; var Data_Functor_Invariant = PS["Data.Functor.Invariant"]; var Data_Monoid = PS["Data.Monoid"]; var Data_Ord = PS["Data.Ord"]; var Data_Ordering = PS["Data.Ordering"]; var Data_Semigroup = PS["Data.Semigroup"]; var Data_Show = PS["Data.Show"]; var Data_Unit = PS["Data.Unit"]; var Prelude = PS["Prelude"]; var Nothing = (function () { function Nothing() { }; Nothing.value = new Nothing(); return Nothing; })(); var Just = (function () { function Just(value0) { this.value0 = value0; }; Just.create = function (value0) { return new Just(value0); }; return Just; })(); exports["Nothing"] = Nothing; exports["Just"] = Just; })(PS["Data.Maybe"] = PS["Data.Maybe"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["DOM.HTML.Window"]; var Control_Monad_Eff = PS["Control.Monad.Eff"]; var Control_Semigroupoid = PS["Control.Semigroupoid"]; var DOM = PS["DOM"]; var DOM_HTML_Types = PS["DOM.HTML.Types"]; var DOM_WebStorage_Types = PS["DOM.WebStorage.Types"]; var Data_Eq = PS["Data.Eq"]; var Data_Functor = PS["Data.Functor"]; var Data_Maybe = PS["Data.Maybe"]; var Data_Newtype = PS["Data.Newtype"]; var Data_Nullable = PS["Data.Nullable"]; var Data_Ord = PS["Data.Ord"]; var Prelude = PS["Prelude"]; var RequestAnimationFrameId = function (x) { return x; }; var requestAnimationFrame = function (fn) { return function ($31) { return Data_Functor.map(Control_Monad_Eff.functorEff)(RequestAnimationFrameId)($foreign._requestAnimationFrame(fn)($31)); }; }; exports["requestAnimationFrame"] = requestAnimationFrame; })(PS["DOM.HTML.Window"] = PS["DOM.HTML.Window"] || {}); (function(exports) { /* global exports */ "use strict"; exports.getCanvasElementByIdImpl = function(id, Just, Nothing) { return function() { var el = document.getElementById(id); if (el && el instanceof HTMLCanvasElement) { return Just(el); } else { return Nothing; } }; }; exports.getContext2D = function(c) { return function() { return c.getContext('2d'); }; }; exports.getCanvasWidth = function(canvas) { return function() { return canvas.width; }; }; exports.getCanvasHeight = function(canvas) { return function() { return canvas.height; }; }; exports.setFillStyle = function(style) { return function(ctx) { return function() { ctx.fillStyle = style; return ctx; }; }; }; exports.setStrokeStyle = function(style) { return function(ctx) { return function() { ctx.strokeStyle = style; return ctx; }; }; }; exports.beginPath = function(ctx) { return function() { ctx.beginPath(); return ctx; }; }; exports.stroke = function(ctx) { return function() { ctx.stroke(); return ctx; }; }; exports.lineTo = function(ctx) { return function(x) { return function(y) { return function() { ctx.lineTo(x, y); return ctx; }; }; }; }; exports.moveTo = function(ctx) { return function(x) { return function(y) { return function() { ctx.moveTo(x, y); return ctx; }; }; }; }; exports.closePath = function(ctx) { return function() { ctx.closePath(); return ctx; }; }; exports.fillRect = function(ctx) { return function(r) { return function() { ctx.fillRect(r.x, r.y, r.w, r.h); return ctx; }; }; }; exports.clearRect = function(ctx) { return function(r) { return function() { ctx.clearRect(r.x, r.y, r.w, r.h); return ctx; }; }; }; exports.save = function(ctx) { return function() { ctx.save(); return ctx; }; }; exports.restore = function(ctx) { return function() { ctx.restore(); return ctx; }; }; })(PS["Graphics.Canvas"] = PS["Graphics.Canvas"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Graphics.Canvas"]; var Control_Applicative = PS["Control.Applicative"]; var Control_Bind = PS["Control.Bind"]; var Control_Monad_Eff = PS["Control.Monad.Eff"]; var Control_Monad_Eff_Exception_Unsafe = PS["Control.Monad.Eff.Exception.Unsafe"]; var Control_Semigroupoid = PS["Control.Semigroupoid"]; var Data_ArrayBuffer_Types = PS["Data.ArrayBuffer.Types"]; var Data_Function = PS["Data.Function"]; var Data_Function_Uncurried = PS["Data.Function.Uncurried"]; var Data_Functor = PS["Data.Functor"]; var Data_Maybe = PS["Data.Maybe"]; var Data_Semigroup = PS["Data.Semigroup"]; var Data_Show = PS["Data.Show"]; var Prelude = PS["Prelude"]; var withContext = function (ctx) { return function (action) { return function __do() { var v = $foreign.save(ctx)(); var v1 = action(); var v2 = $foreign.restore(ctx)(); return v1; }; }; }; var getCanvasElementById = function (elId) { return $foreign.getCanvasElementByIdImpl(elId, Data_Maybe.Just.create, Data_Maybe.Nothing.value); }; exports["getCanvasElementById"] = getCanvasElementById; exports["withContext"] = withContext; exports["beginPath"] = $foreign.beginPath; exports["clearRect"] = $foreign.clearRect; exports["closePath"] = $foreign.closePath; exports["fillRect"] = $foreign.fillRect; exports["getCanvasHeight"] = $foreign.getCanvasHeight; exports["getCanvasWidth"] = $foreign.getCanvasWidth; exports["getContext2D"] = $foreign.getContext2D; exports["lineTo"] = $foreign.lineTo; exports["moveTo"] = $foreign.moveTo; exports["setFillStyle"] = $foreign.setFillStyle; exports["setStrokeStyle"] = $foreign.setStrokeStyle; exports["stroke"] = $foreign.stroke; })(PS["Graphics.Canvas"] = PS["Graphics.Canvas"] || {}); (function(exports) { "use strict"; exports.cos = Math.cos; exports.sin = Math.sin; exports.pi = Math.PI; })(PS["Math"] = PS["Math"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var $foreign = PS["Math"]; exports["cos"] = $foreign.cos; exports["pi"] = $foreign.pi; exports["sin"] = $foreign.sin; })(PS["Math"] = PS["Math"] || {}); (function(exports) { // Generated by purs version 0.11.4 "use strict"; var Control_Applicative = PS["Control.Applicative"]; var Control_Bind = PS["Control.Bind"]; var Control_Monad_Eff = PS["Control.Monad.Eff"]; var Control_Monad_Eff_Ref = PS["Control.Monad.Eff.Ref"]; var DOM = PS["DOM"]; var DOM_HTML = PS["DOM.HTML"]; var DOM_HTML_Types = PS["DOM.HTML.Types"]; var DOM_HTML_Window = PS["DOM.HTML.Window"]; var Data_EuclideanRing = PS["Data.EuclideanRing"]; var Data_Function = PS["Data.Function"]; var Data_Functor = PS["Data.Functor"]; var Data_Maybe = PS["Data.Maybe"]; var Data_Ring = PS["Data.Ring"]; var Data_Semiring = PS["Data.Semiring"]; var Data_Unit = PS["Data.Unit"]; var Graphics_Canvas = PS["Graphics.Canvas"]; var $$Math = PS["Math"]; var Prelude = PS["Prelude"]; var Point3D = function (x) { return x; }; var Point2D = function (x) { return x; }; var Cube = function (x) { return x; }; var Angle3D = function (x) { return x; }; var withStroke = function (ctx) { return function (color) { return function (draw) { return Graphics_Canvas.withContext(ctx)(function __do() { var v = Graphics_Canvas.setStrokeStyle(color)(ctx)(); var v1 = Graphics_Canvas.beginPath(v)(); var v2 = draw(v1)(); var v3 = Graphics_Canvas.closePath(v2)(); return Graphics_Canvas.stroke(v3)(); }); }; }; }; var project = function (v) { return function (v1) { var yRotQz = v.y * $$Math.cos(v1.qz) - v.x * $$Math.sin(v1.qz); var yRotQzQx = yRotQz * $$Math.cos(v1.qx) + v.z * $$Math.sin(v1.qx); var zRotQzQx = v.z * $$Math.cos(v1.qx) - yRotQz * $$Math.sin(v1.qx); var xRotQz = v.x * $$Math.cos(v1.qz) + v.y * $$Math.sin(v1.qz); var xRotQzQxQy = xRotQz * $$Math.cos(v1.qy) + zRotQzQx * $$Math.sin(v1.qy); return { x: xRotQzQxQy, y: yRotQzQx }; }; }; var loopAnimation = function (window) { return function (ref) { return function (state) { return function (step) { return Data_Functor["void"](Control_Monad_Eff.functorEff)(DOM_HTML_Window.requestAnimationFrame(function __do() { loopAnimation(window)(ref)(state)(step)(); var v = Control_Monad_Eff_Ref.readRef(ref)(); var v1 = step(v)(); return Control_Monad_Eff_Ref.writeRef(ref)(v1)(); })(window)); }; }; }; }; var withAnimation = function (state) { return function (step) { return function __do() { var v = DOM_HTML.window(); var v1 = Control_Monad_Eff_Ref.newRef(state)(); return loopAnimation(v)(v1)(state)(step)(); }; }; }; var drawLine = function (ctx) { return function (v) { return function (v1) { return function __do() { var v2 = Graphics_Canvas.moveTo(ctx)(v.x)(v.y)(); return Graphics_Canvas.lineTo(v2)(v1.x)(v1.y)(); }; }; }; }; var drawCube = function (ctx) { return function (v) { return function (v1) { var half = v.size / 2.0; var v11 = project({ x: v.x - half, y: v.y - half, z: v.z - half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v2 = project({ x: v.x - half, y: v.y + half, z: v.z - half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v3 = project({ x: v.x - half, y: v.y - half, z: v.z + half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v4 = project({ x: v.x - half, y: v.y + half, z: v.z + half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v5 = project({ x: v.x + half, y: v.y - half, z: v.z - half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v6 = project({ x: v.x + half, y: v.y + half, z: v.z - half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v7 = project({ x: v.x + half, y: v.y - half, z: v.z + half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); var v8 = project({ x: v.x + half, y: v.y + half, z: v.z + half })({ qx: v1.qx, qy: v1.qy, qz: v1.qz }); return withStroke(ctx)(v.color)(function (ctx2) { return function __do() { var v9 = drawLine(ctx2)(v11)(v5)(); var v10 = drawLine(v9)(v5)(v6)(); var v12 = drawLine(v10)(v6)(v2)(); var v13 = drawLine(v12)(v2)(v11)(); var v14 = drawLine(v13)(v3)(v7)(); var v15 = drawLine(v14)(v7)(v8)(); var v16 = drawLine(v15)(v8)(v4)(); var v17 = drawLine(v16)(v4)(v3)(); var v18 = drawLine(v17)(v11)(v3)(); var v19 = drawLine(v18)(v5)(v7)(); var v20 = drawLine(v19)(v6)(v8)(); return drawLine(v20)(v2)(v4)(); }; }); }; }; }; var drawBackground = function (ctx) { return function __do() { var v = Graphics_Canvas.setFillStyle("rgb(122,230,232)")(ctx)(); return Graphics_Canvas.fillRect(v)({ x: 0.0, y: 0.0, w: 500.0, h: 400.0 })(); }; }; var clearCanvas = function (canvas) { return function __do() { var v = Graphics_Canvas.getCanvasWidth(canvas)(); var v1 = Graphics_Canvas.getCanvasHeight(canvas)(); var v2 = Graphics_Canvas.getContext2D(canvas)(); return Data_Functor["void"](Control_Monad_Eff.functorEff)(Graphics_Canvas.clearRect(v2)({ x: 0.0, y: 0.0, w: v, h: v1 }))(); }; }; var withAnimateContext = function (name) { return function (state) { return function (draw) { return function __do() { var v = Graphics_Canvas.getCanvasElementById(name)(); if (v instanceof Data_Maybe.Just) { var v1 = Graphics_Canvas.getContext2D(v.value0)(); return withAnimation(state)(function (state1) { return function __do() { clearCanvas(v.value0)(); return draw(v1)(state1)(); }; })(); }; if (v instanceof Data_Maybe.Nothing) { return Data_Unit.unit; }; throw new Error("Failed pattern match at Main line 148, column 3 - line 154, column 25: " + [ v.constructor.name ]); }; }; }; }; var main = (function () { var state = { x: 300.0, y: 600.0, qx: $$Math.pi / 4.0, qy: $$Math.pi / 3.0, qz: $$Math.pi / 4.0, acc: 0.998, drag: false }; var canvas = Graphics_Canvas.getCanvasElementById("thecanvas"); return withAnimateContext("thecanvas")(state)(function (ctx) { return function (state1) { return function __do() { var v = drawBackground(ctx)(); Data_Functor["void"](Control_Monad_Eff.functorEff)(drawCube(v)({ x: state1.x, y: state1.y, z: 0.0, size: 200.0, color: "rgb(0,0,0)" })({ qx: state1.qx, qy: state1.qy, qz: state1.qz }))(); var $85 = {}; for (var $86 in state1) { if ({}.hasOwnProperty.call(state1, $86)) { $85[$86] = state1[$86]; }; }; $85.x = state1.x; $85.y = state1.y; $85.qx = state1.qx + 5.0e-3; $85.qy = state1.qy + 5.0e-3; $85.qz = state1.qz + 5.0e-3; return $85; }; }; }); })(); exports["Angle3D"] = Angle3D; exports["Cube"] = Cube; exports["Point2D"] = Point2D; exports["Point3D"] = Point3D; exports["clearCanvas"] = clearCanvas; exports["drawBackground"] = drawBackground; exports["drawCube"] = drawCube; exports["drawLine"] = drawLine; exports["loopAnimation"] = loopAnimation; exports["main"] = main; exports["project"] = project; exports["withAnimateContext"] = withAnimateContext; exports["withAnimation"] = withAnimation; exports["withStroke"] = withStroke; })(PS["Main"] = PS["Main"] || {}); PS["Main"].main();
31.442623
134
0.522259