• Programming Languages

  • Python

    Python is a strongly-typed, dynamically typed multi-paradigm language created by Guido Van Rossum.

  • JavaScript

    Javascript is a dynamic, untyped, object-oriented prototypal language created by Brendan Eich.

  • R

  • Swift

    Swift is a general-purpose, multi-paradigm, compiled programming language developed by Apple.

  • Software Development

  • Requirements Checklist

  • Functions

    Functions look like this:

    
    def aFunction(params):
        print "Do something"
        return 1
    

    All functions return a value.

  • Code Blocks/Indentation

    Code blocks are denoted by indentation. PEP8 specifies that indents should be 4 spaces.

  • Objects

    Everything, including functions, are objects in Python.

  • List Comprehensions


    [aFunction(elem) for elem in aList]

    Will return a new list:

    “It is safe to assign the result of a list comprehension to the variable that you’re mapping. Python constructs the new list in memory, and when the list comprehension is complete, it assigns the result to the variable.”

  • String Methods

    .lower( )

    .upper( )

    .join(aList ) - join any list of strings into a single string. Handy when used in conjunction with list comprehensions.

    .split(aDelimiter, timesToSplit) - splits a string into a list given a delimeter

  • Dicts

    keys() - returns list of all keys (in a particular order, but not necessarily order of definition)
    values() - returns list of all values: same order as keys()
    items() - returns a list of tuples of the form (key,value)

  • Speaking JavaScript

  • Professional: JavaScript for Web Developers

    Nicholas C. Zakas

  • Notes

    Function expressions are not hoisted, so order matters!

    The return value of a constructor will be the value returned when called by new

  • swirl : R Programming

  • The Swift Programming Language (Swift 3.1)

  • Functional Requirements

  • Quality Requirements

  • Requirements Quality

  • Completeness

  • Built-In Functions

    type( ) - returns datatype of an object. Possible types are listed in the types module.

    str( ) - coerces data into a string
    Gotchas: string representation of modules includes the pathname of the module on disk.

    dir( ) - returns list of attributes and methods of any object

    callable( ) - returns True if object is callable as a function, False if not. Functions, methods, and classes count as callable.

    getattr(object, callablename, defaultvalue) - returns a reference to a function or method. Works on functions and methods from modules, and on lists and dicts, but not tuples (which have no methods).

  • Doc Strings

    A function’s doc strings are accessible as str types via the __doc__ attribute.

    print aFunction.__doc__
    
  • Search Path

    The library search path is defined in sys.path as a list.

  • Modules

    You can get the module name with the __name__ attribute. This is commonly used to check if the current script is running as a standalone program:

    
    if __name__ == "__main__"
    

    This is good to use for writing/running test suites for a class or script.

  • 3. The Nature of JavaScript

    Dynamic.
    Dynamically typed.
    Functional and object oriented.
    Fails silently.
    Deployed as source code.
    Part of the web platform.

    Quirks

    No block-scoped variables
    No built-in modules
    No support for subclassing
    No integers (engines optimize this)
    Arrays too flexible (engines optimize this)

    Elegant Parts

    First class functions
    Closures
    Prototypes
    Object literals
    Array literals

    Influences

    Java - syntax
    AWK - functions
    Scheme - first-class functions and closures
    Self - prototypal inheritance
    Perl/Python - strings, arrays, regex
    HyperTalk - integration into web browsers, event handling attributes in HTML

  • Netscape originally hired Brandan Eich to implement Scheme in the browser. But then Netscape partnered with Sun to bring Java to the browser. Because of that, JavaScript needed to have syntax similar to Java.

    JavaScript’s first name was Mocha. It was renamed to LiveScript before the final name, JavaScript was adopted.

  • 7.JavaScript’s Syntax

    Basic expressions and statements
    Comments
    Expressions versus statements
    Control flow statements and blocks
    Rules for using semicolons
    Legal identifiers
    Invoking methods on number literals
    Strict mode

  • 8. Values

    JavaScript’s Type System
    Primitive Values Versus Objects
    Primitive Values
    Objects
    undefined and null
    Wrapper Objects for Primitives
    Type Coercion

  • 9. Operators

    Operators and Objects
    Assignment Operators
    Equality Operators: === Versus ===
    Ordering Operators
    Plus Operator +
    Operators for Booleans and Numbers
    Special Operators
    Categorizing Values via typeof and instanceof
    Object Operators

  • 10. Booleans

    Converting to Boolean
    Logical Operators
    Equality Operators, Ordering Operators
    The Function Boolean

  • 11. Numbers

    JavaScript treats all numbers as 64-bit IEEE-754 numbers. JavaScript engines may optimize for integers internally.

    Number Literals
    Converting to Number
    Special Number Values
    The Internal Representation of Numbers
    Handling Rounding Errors
    Integers in JavaScript
    Converting to Integer
    Arithmetic Operators
    Bitwise Operators
    The Function Number
    Number Constructor Properties
    Number Prototype Methods
    Functions for Numbers

  • 12. Strings

    String Literals
    Escaping in String Literals
    Character Access
    Converting to String
    Comparing Strings
    Concatenating Strings
    The Function String
    String Constructor Method
    String Instance Property length
    String Prototype Methods

  • 13. Statements

    Declaring and Assigning Variables
    The Bodies of Loops and Conditionals
    Loops
    Conditionals
    The with Statement
    The debugger Statement

  • 14. Exception Handling

    What is Exception Handling?
    Exception Handling in JavaScript
    Error Constructors
    Stack Traces
    Implementing Your Own Error Constructor

  • 15. Functions

    The Three Roles of Functions in JavaScript
    Terminology: “Parameter” Versus “Argument”
    Defining Functions
    Hoisting
    The Name of a Function
    Which Is Better: A Function Declaration or a Function Expression?
    More Control over Function Calls: call(), apply(), and bind()
    Handling Missing or Extra Parameters
    Named Parameters

  • 16. Variables: Scopes, Environments, and Closures

    Declaring a Variable
    Background: Static Versus Dynamic
    Background: The Scope of a Variable
    Variables Are Function-Scoped
    Variable Declarations Are Hoisted
    Introducing a New Scope via an IIFE
    Global Variables
    The Global Object
    Environments: Managing Variables
    Closures: Functions Stay Connected to Their Birth Scopes

  • 17. Objects and Inheritance

    Layer 1: Object-orientation with single objects
    Layer 2: Prototype chains of objects
    Layer 3: Constructors as factories for instances
    Layer 5: Subclassing & Subconstructors

  • 18. Arrays

    Overview
    Creating Arrays
    Array Indices
    length
    Holes in Arrays
    Array Constructor Method
    Array Prototype Methods
    Adding and Removing Elements (Destructive)
    Sorting and Reversing Elements (Destructive)
    Concatenating, Slicing, Joining (Nondestructive)
    Searching for Values (Nondestructive)
    Iteration (Nondestructive)
    Best Practices: Iterating over Arrays

  • 2. JavaScript in HTML - Review Questions

    • What are the six attributes for the script element?
      • Which ones are optional, required, or depreciated?
      • Which ones are valid for inline scripts?
      • What does each one do?
    • What is an inline script?
      • What are restricted character strings in an inline script? What’s the workaround?
      • How does an inline script affect display/interpretation of the rest of the page content in a browser?
    • What is an external script?
      • What attributes are required for an external script?
      • What is the syntax for an external script?
      • JavaScript files need a .js extension?
    • In what order are script elements executed by default?
      • How do defer and async affect script execution?
    • What was the rationale for putting script elements in the <head> part of the document, and what are the drawbacks?
    • Where do modern webapps commonly put script elements, and why?
    • According to the HTML specification, when (in what order & before and after what DOM elements) are deferred scripts executed?
    • How do you specify a defer attribute in an XHTML tag?
    • What steps should you take when you embed inline scripts in XHTML documents?
    • When is XHTML mode triggered in a browser?
    • What are the three main arguments for primarily using external files?
    • What document modes exist for most browsers?
    • When is Quirks Mode triggered?
    • What is the difference between Standards Mode and Almost Standards Mode?
    • When is content contained in a <noscript> element displayed?
  • 3. Language Basics Review Questions

    Syntax

    • JavaScript is specified (syntax, operators, data types, built-ins) in what standard? What is the name of the pseudolanguage description used in the standard?
    • What is the latest standard for JavaScript?
    • What versions of the JavaScript standard do the following engines support? Which one(s) support the most advanced features?
      • Chakra
      • JavaScriptCore (Nitro)
      • JScript 9.0
      • KJS
      • Spider Monkey
      • V8
    • True or false: an identifier in JavaScript that is an uppercase or lowercase version of a reserved word cannot be used.
    • What are valid first characters of an identifier?
    • What are valid subsequent characters for an identifier?
    • What kinds of comments does JavaScript support?
  • 3. Language Basics

    • Syntax
    • Keywords and Reserved Words
    • Variables
    • Data Types
    • Operators
    • Statements
    • Functions
  • 4. Variables, Scope, and Memory

    • Primitive and Reference Values
    • Execution Context and Scope
    • Garbage Collection
  • 5. Reference Types

    Objects are instances of a particular reference type. Reference types are also sometimes called object definitions.

    Reference types are not classes. JavaScript does not have classes. A new object instance is created with the new operator.

    var butt = new Thing();
    

    ECMAScript provides a bunch of built-in reference classes.

    • The Object Type
    • The Array Type
    • The Date Type
    • The Regexp Type
    • The Function Type
    • Primitive Wrapper Types
    • Singleton Built-In Objects
  • 6. Object-Oriented Programming

  • Basic Building Blocks

  • Workspace and Files

    getwd
    setwd
    list.files / dir
    args
    dir.create
    file.create
    file.exists
    file.info
    file.rename
    file.copy
    file.path
    dir.create
    unlink

  • Sequences of Numbers

    ?
    :
    length
    seq
    seq(along.with = ... )
    seq_along
    rep(n, times = ..., each = ...)

  • 4. Vectors

  • 5. Missing Values

    NA
    NaN
    is.na
    rnorm
    rep
    sample

  • 6. Subsetting Vectors

    x[is.na(x)]
    x[-2]
    x[c(-2,-10)]
    x[-c(2,10)]
    vect <- c(foo = 11, bar = 2, norf = NA)
    names(vect)
    vect2 <- c(11, 2, NA)
    names(vect) <- c("foo", "bar", "norf")
    identical(vect, vect2)
    vect["bar"]
    vect[c("foo", "bar")]
  • 7. Matrices and Data Frames

    my_vector <- 1:20
    dim(my_vector)
    length(my_vector)
    dim(my_vector) <- c(4,5)
    attributes(my_vector)
    class(my_vector)
    my_matrix2 <- matrix(1:20, nrow = 4, ncol = 5)
    patients <- c("Bill", "Gina", "Kelly", "Sean")
    cbind(patients, my_matrix)
    my_data <- data.frame(patients, my_matrix)
    cnames <- c("patient", "age", "weight", "bp", "rating", "test")
    colnames(my_data) <- cnames
  • 8. Logic

  • 9. Functions

  • 10. lapply and sapply

  • 11. vapply and tapply

  • 12. Looking at Data

  • 13. Simulation

  • 14. Dates and Times

  • 15. Base Graphics

  • The Basics

    Constants and Variables
    Comments
    Semicolons
    Integers
    Floating-Point Numbers
    Type Safety and Type Inference
    Numeric Literals
    Numeric Type Conversion
    Type Aliases
    Booleans
    Tuples
    Optionals
    Error Handling
    Assertions

  • Basic Operators

    Assignment Operator
    Arithmetic Operator
    Compound Assignment Operators
    Comparison Operators
    Ternary Conditional Operator
    Nil-Coalescing Operator
    Range Operators
    Logical Operators

  • Strings and Characters

    String Literals
    Initializing an Empty String
    String Mutability
    Strings Are Value Types
    Working with Characters
    Concatenating Strings and Characters
    String Interpolation
    Unicode
    Counting Characters
    Accessing and Modifying a String
    Comparing Strings
    Unicode Representations of Strings

  • Collection Types

    Mutability of Collections
    Arrays
    Sets
    Performing Set Operations
    Dictionaries

  • Control Flow

    For-In Loops
    While Loops
    Conditional Statements
    Control Transfer Statements
    Early Exit
    Checking API Availability

  • Functions

    Defining and Calling Functions
    Function Parameters and Return Values
    Function Argument Labels and Parameter Names

  • Closures

    Closure Expressions
    Trailing Closures
    Capturing Values
    Closures Are Reference Types
    Escaping Closures
    Autoclosures

  • Enumerations

    Enumeration Syntax
    Matching Enumeration Values with a Switch Statement
    Associated Values
    Raw Values
    Recursive Enumerations

  • Classes and Structures

    Comparing Classes and Structures
    Structures and Enumerations Are Value Types
    Classes Are Reference Types
    Choosing Between Classes and Structures
    Assignment and Copy Behavior for Strings, Arrays, and Dictionaries

  • Properties

    Stored Properties
    Computed Properties
    Property Observers
    Global and Local Variables
    Type Properties

  • Methods

    Instance Methods
    Type Methods

  • Subscripts

    Subscript Syntax
    Subscript Usage
    Subscript Options

  • Inheritance

    Defining a Base Class
    Subclassing
    Overriding
    Preventing Overrides

  • Initialization

    Setting Initial Values for Stored Properties
    Customizing Initialization
    Default Initializers
    Initializer Delegation for Value Types
    Class Inheritance and Initialization
    Failable Initializers
    Setting a Default Property Value with a Closure or Function

  • Deinitialization

    How Deinitialization Works
    Deinitializers in Action

  • Automatic Reference Counting

    How ARC Works
    ARC in Action
    Strong Reference Cycles Between Class Instances
    Resolving Strong Reference Cycles Between Class Instances
    Strong Reference Cycles for Closures
    Resolving Strong Reference Cycles for Closures

  • Optional Chaining

    Optional Chaining as an Alternative to Forced Unwrapping
    Defining Model Classes for Optional Chaining
    Accessing Properties Through Optional Chaining
    Calling Methods Through Optional Chaining
    Accessing Subscripts Through Optional Chaining
    Linking Multiple Levels of Chaining
    Chaining on Methods with Optional Return Values

  • Error Handling

    Representing and Throwing Errors
    Handing Errors
    Specifying Cleanup Actions

  • Type Casting

    Defining a Class Hierarchy for Type Casting
    Checking Type
    Downcasting
    Type Casting for Any and AnyObject

  • Nested Types

    Nested Types in Action
    Referring to Nested Types

  • Extensions

    Extension Syntax
    Computed Properties
    Initializers
    Methods
    Subscripts
    Nested Types

  • Protocols

    Protocol Syntax
    Property Requirements
    Method Requirements
    Mutating Method Requirements
    Initializer Requirements
    Protocols as Types
    Delegation
    Adding Protocol Conformance with an Extension
    Collections of Protocol Types
    Protocol Inheritance
    Class-Only Protocols
    Protocol Composition
    Checking for Protocol Conformance
    Optional Protocol Requirements
    Protocol Extensions

  • Generics

    The Problem That Generics Solve
    Generic Functions
    Type Parameters
    Naming Type Parameters
    Generic Types
    Extending a Generic Type
    Type Constraints
    Associated Types
    Generic Where Clauses
    Extensions with a Generic Where Clause

  • Access Control

    Module and Source Files
    Access Levels
    Access Control Syntax
    Custom Types
    Subclassing
    Constants, Variables, Properties, and Subscripts
    Initializers
    Protocols
    Extensions
    Generics
    Type Aliases

  • Advanced Operators

    Bitwise Operators
    Overflow Operators
    Precedence and Associativity
    Operator Methods
    Custom Operators

  • Basic expressions and statements

  • Comments

  • Expressions versus statements

  • Control flow statements and blocks

  • Rules for using semicolons

  • Invoking methods on number literals

  • Strict mode

    Switching on strict mode
    Caveats on using strict mode
    Functions in strict mode
    Setting and deleting immutable properties fails with an exception in strict mode
    Unqualified identifiers can’t be deleted in strict mode
    Features that are forbidden in strict mode

  • JavaScript’s Type System

    JavaScript’s Types - JavaScript has six types: undefined, null, Boolean, Number, String, and Object.

    Static Typing Versus Dynamic Typing/Type Checking - JavaScript is dynamically typed (types not known until runtime). It only does dynamic type checking when trying to use a property of null or undefined.

    Coercion - most operands convert operands to a primitive type — Boolean, Number, String, and Object.

  • Primitive Values Versus Objects

    booleans, numbers, strings, null, and undefined are primitive types. Everything else in JavaScript is an object. Objects are only strictly equal (===) to themselves. All primitive types are equal if they contain the same value.

  • Primitive Values

    Booleans: true, false
    Numbers: IEEE-754 floating point, 64-but
    Strings: Unicode characters surrounded by quotes
    Undefined: undefined
    Null: null (typeof returns Object)

    Primitives are compared by value and are immutable. You cannot define new primitive types.

  • Objects

    All nonprimitive values are Objects. The most common kinds of objects are plain objects, arrays, and regular expressions.

    Objects are compared by reference, mutable by default, and extensible by the user.

  • undefined and null

    undefined means no value, and uninitialized variables, missing parameters/properties have this value. Functions return undefined by default.

    null means no object. It is the last element in the prototype chain and gets returns if there is no match for a regular expression.

    You can check for them specifically by strict inequality or by implicit conversion to Boolean in a control statement.

    Trying to access properties for either leads to an exception (this is the only case).

    undefined can be changed in ECMAScript 3 and earlier. It is read-only in ES5+.

  • Wrapper Objects for Primitives

    Boolean, Number, and String have wrapper objects. Primitive values borrow methods from these wrapper objects.

    Wrapper objects are usually only used implicitly, or for conversion. Creating new wrapper objects with a constructor should especially be avoided.

  • Type Coercion

    JavaScript operators force a implicit conversion of operands to an expected primitive type. JavaScript uses an internal function, ToPrimitive() to do the conversion.

    To perform conversion to a different type, use Boolean(), Number(), String(), and Object().

  • Operators and Objects

    All operators in JavaScript coerce operands to expected primitive types. This conversion sometimes causes unexpected behavior for programmers familiar with other languages—notably, arrays cannot be concatenated via operator because they are coerced to strings first. You cannot define or overload the behavior of operators in JavaScript.

  • Equality Operators: === Versus ==

    When testing for equality, always use === over ==.

    NaN is the only value that is never equal to itself.

  • Special Operators

    The void operator is a unary operator that always evaluates an expression to undefined. It’s notably used for javascript: URLs in the browser. It can also be used for IIFEs.

  • Number Literals

    Integer, float, or hexadecimal.

  • Converting to Number

    Manually convert with Number(value) or +value.

    parseFloat(str, radix?) extracts the first valid floating point numeric string it finds from a string, ignoring whitespace. It parses '' as NaN. It is usually better to use Number().

  • Special Number Values

    NaN is a number value that is not equal to anything, including itself. It gets produced when number conversions/operations fail. You can check for NaN with isNaN( ), but you should also do a type check since isNaN( ) will coerce non-numbers.

    Infinity: Infinity and -Infinity. Numbers outside the range Number.MAX_VALUE and Number.MIN_VALUE, as well as values divided by zero become +/- Infinity. Check for Infinity with strict equality and isFinite( ).

    JS has both positive and negative zero, in accordance with IEEE-754. In most cases, they are indistinguishable. Numbers that approach zero beyond the precision supported become +/- 0 depending on their previous value. Math.pow(x, -1), `Math.atan(x, -1), and division by the zero reveal the sign of the zero.

  • The Internal Representation of Numbers

    64-bit precision:

    • bits[53] sign
    • bits[62-52]
    • bits[51-0] fraction
  • Handling Rounding Errors

    Decimal (non-binary) fractions create rounding errors. To compare non-integers, determine equality using an epsilon. The standard machine epsilon is 2^-53

  • Integers in JavaScript

    Safe signed integers: (-2^53, 2^53) or (Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER)

    Array indices: [0, 2^32-1]
    UTF-16 codes: 16 bits, unsigned

    For a binary operator on integers, you must check both integers and the result to determine if it is safe.

  • Converting to Integer

    Math.floor() Math.ceil() Math.round()

    Convert to 32-bit integers via bitwise |0 and shift operators.

    parseInt(str, radix?) gets

  • Arithmetic Operators

  • Bitwise Operators

  • The Function Number

  • Number Constructor Properties

  • Number Prototype Methods

  • Functions for Numbers

  • String Literals

    Single quoted and double quoted strings are equivalent.

  • Escaping in String Literals

    Line continuations - backslash and plus operator

    Character escape sequences
    NUL character
    Hexadecimal escape sequences for characters
    Unicode escape sequences

  • Character Access

    String.charAt(i)

  • Converting to String

    String( )
    ''+value
    value.toString()
    JSON.stringify(value, replacer?, space?)

  • Comparing Strings

    comparison operators
    String.prototype.localeCompare( )

  • Concatenating Strings

    +
    Adding to array then joining

  • The Function String

    String( v )

  • String Constructor Method

    String.fromCharCode( c1, c2, ... )
    String.prototype.charCodeAt( i )

  • String Instance Property length

    Number of characters in string. Immutable. Characters represented by escape codes are counted as one character.

  • String Prototype Methods

    Extract Substrings
    Transform
    Search and Compare
    Test, Match, and Replace with Regular Expressions

  • Declaring and Assigning Variables

    var declares a variable. Variable declarations are hoisted. = assigns. They can be combined.

  • Loops

    Loop body is a single statement or a code block.

    [label]:
    break continue

    while
    do-while
    for
    for-in (use Array.prototype.forEach( ) for Arrays)
    for-each-in (Firefox only)

  • Conditionals

    if-then-else
    switch

  • The with Statement

    Depreciated!

  • The debugger Statement

    debugger;

  • Exception Handling in JavaScript

    throw
    try-catch-finally

    At least throw a new Error( ... ) instead of a string. Environments may provide a stack trace with the error object.

  • Error Constructors & Properties

    Error
    EvalError - not used
    RangeError
    ReferenceError
    SyntaxError
    TypeError
    URIError

    Properties
    message
    name
    stack

  • Stack Traces

    You can set the message property of the error. Engines may support the stack property.

  • Implementing Your Own Error Constructor

  • The Three Roles of Functions in JavaScript

    Nonmethod function (“normal function”)
    Constructor
    Method

  • Terminology: “Parameter” Versus “Argument”

    parameters - (formal parameters/arguments) used in the function definition

    arguments - (actual parameters/arguments) in the function invocation

  • Defining Functions

    Function Expressions - anonymous or named
    Function Declarations - hoisted
    The Function Constructor - Similar to eval. Don’t use this in general.

  • Hoisting

    Only function declarations are completely hoisted. var is hoisted, but assigning a function expression is not.

  • The Name of a Function

    Most JS engines support the property name, which is useful for debugging.

  • Which Is Better: A Function Declaration or a Function Expression?

  • More Control over Function Calls: call(), apply(), and bind()

    func.apply(thisValue, argArray)
    func.bind(thisValue, arg1, ..., argN)

  • Handling Missing or Extra Parameters

    More actual parameters than formal parameters - extra parameters ignored but are still in arguments

    Fewer actual parameters than formal parameters - missing parameters get undefined

    arguments - array-like object—has length and can access elements with [] but no other array methods.

    Strict vs Sloppy mode: callee property is depreciated and is not allowed in strict mode. In sloppy mode, arguments change when parameters change, but not in strict mode. Strict mode prevents assigning to arguments.

    Mandatory Parameters, Enforcing a Minimum Arity

    Optional Parameters

    Simulating Pass-by-Reference Parameters - enclose in an array.

    Pitfall: Unexpected Optional Parameters

  • Named Parameters

    JavaScript doesn’t support named parameters directly. Simulate by passing in an object.

  • Declaring a Variable

  • Background: Static Versus Dynamic

    Statically (or lexically)
    Dynamically

  • Background: The Scope of a Variable

    The scope of a variable
    Lexical scoping
    Nested scopes
    Shadowing

  • Variables Are Function-Scoped

  • Variable Declarations Are Hoisted

  • Introducing a New Scope via an IIFE

    It is immediately invoked
    It must be an expression
    The trailing semicolon is required

    IIFE Variation: Prefix Operators
    IIFE Variation: Already Inside Expression Context
    IIFE Variation: An IIFE with Parameters
    IIFE Applications

  • Global Variables

    PITFALL: ASSIGNING TO AN UNDECLARED VARIABLE MAKES IT GLOBAL

  • The Global Object

    Brandon Eich considers the global object one of his biggest regrets.

    Browsers - window - standardized as part of the DOM, not ES5
    Node.js - global

    Use Cases for window

  • Environments: Managing Variables

    Dynamic dimension: invoking functions - stack of execution contexts

    Lexical (static) dimension: staying connected to your surrounding scopes - chain of environments

  • Closures: Functions Stay Connected to Their Birth Scopes

    Handling Closures via Environments

  • Cheat Sheet: Working With Objects

  • Layer 1. Object-orientation with single objects

    Kinds of Properties
    Object Literals
    Dot Operator
    Unusual Property Keys
    Bracket Operator
    Converting Any Value to an Object

  • this as an Implicit Parameter of Function and Methods

    call( ), apply( ), bind( )
    apply( ) for constructors
    pitfall: losing this when extracting a method
    pitfall: functions inside methods shadow this

  • Layer 2. Prototype chains of objects

    Inheritance. Overriding. Sharing data between objects via a prototype. Getting and setting the prototype. __proto__. Setting and deleting affects only own properties.

    Iteration and Detection of Properties. Listing own property keys. Listing all property keys. Checking whether a property exists.

    Best Practices: Iterating over Own Properties.

    Accessors (Getters and Setters). Defining accessors via an object literal. Defining accessors via property
    descriptors. Accessors and inheritance.

    Property Attributes and Property Descriptors. Property Attributes. Property Descriptors. Getting and Defining Properties via descriptors. Copying an object. Properties: definition versus assignment. Inherited read-only properties can’t be assigned to. Enumerability: best practices.

    Protecting Objects. Preventing extensions. Sealing. Freezing. Pitfall: protection is shallow.

  • Layer 3. Constructors as factories for instances

    What is a constructor in JavaScript? The new operator implemented in JavaScript. Terminology: the two prototypes. The constructor property of instances. The instanceof operator. Tips for implementing constructors.

    Data in Prototype Properties. Avoid prototype properties with initial values for instance properties. Avoid nonpolymorphic prototype properties. Polymorphic prototype properties.

    Keeping Data Private. Private data in the environment of a constructor (Crockford Privacy Pattern). Private data in properties with marked keys. Private data in properties with reified keys. Keeping global data private via IIFEs.

  • Layer 4. Subconstructors

    Overview

    Inheriting Instance Properties
    Inheriting Prototype Properties
    Ensuring That instanceof Works
    Overriding a Method
    Making a Supercall
    Avoiding Hardcoding the Name of the Superconstructor
    Example: Constructor Inheritance in Use
    Example: The Inheritance Hierarchy of Built-in Constructors
    Antipattern: The Prototype Is an Instance of the Superconstructor

    Methods of All Objects

    Conversion to Primitive
    Object.prototype.toLocaleString()
    Prototypal Inheritance and Properties

    Generic Methods: Borrowing Methods from Prototypes

    Accessing Object.prototype and Array.prototype via Literals
    Examples of Calling Methods Generically
    Array-Like Objects and Generic Methods
    A List of All Generic Methods

    Pitfalls: Using an Object as a Map

    Pitfall 1: Inheritance Affects Reading Properties
    Pitfall 2: Overriding Affects Invoking Methods
    Pitfall 3: The Special Property __proto__
    The dict Pattern: Objects Without Prototypes Are Better Maps
    Best Practices

  • Overview

    Array syntax
    Arrays Are Maps, Not Tuples
    Arrays Can Also Have Properties

  • Creating Arrays

    Array Literals/The Array Constructor
    Multidimensional Arrays

  • Array Indices

    indices i go from 0 ≤ i < 2^32−1
    max length is 2^32-1

    Indices out of range are treated as string property keys.

    The in Operator and Indices
    Deleting Array Elements
    Array Indices in Detail

  • length

    length only keeps track of the highest index. It doesn’t count nonholes.

    Trying to construct an array with length > 2^32-1 will cause a RangeError: Invalid array length.

    Manually Increasing the Length of an Array
    Decreasing the Length of an Array

  • Holes in Arrays

    Creating Holes
    Sparse Arrays Versus Dense Arrays
    Which Operations Ignore Holes, and Which Consider Them?
    Removing Holes from Arrays

  • Array Constructor Method

    Use Array.isArray(obj) instead of instanceof to detect Arrays.

  • Adding and Removing Elements (Destructive)

    Array.prototype.shift()
    Array.prototype.unshift(elem1?, elem2?, ...)
    Array.prototype.pop()

    Array.prototype.push(elem1?, elem2?, ...)
    Array.prototype.push.apply(thisValue, argArray)

    Array.prototype.splice(start, deleteCount?, elem1?, elem2?, ...)

    ``

  • Sorting and Reversing Elements (Destructive)

    Array.prototype.reverse()
    Array.prototype.sort(compareFunction?)

    Comparison functions should return the following:

    Result Return Value
    less than -1
    equal 0
    greater than 1

    Comparing Numbers

    Use conditional statements. Subtracting can cause overflow.

    Comparing Strings

    Use String.prototype.localeCompare

  • Concatenating, Slicing, Joining (Nondestructive)

    Array.prototype.concat(arr1?, arr2?, ...)

    Array.prototype.slice(begin?, end?)
    Will copy the array if no indices are provided.

    Array.prototype.join(separator?)
    Uses , as a default separator.

  • Searching for Values (Nondestructive)

    Array.prototype.indexOf(searchValue, startIndex?)
    Returns index of first match, or -1 if not found. Uses strict equality.

    Array.prototype.lastIndexOf(searchElement, startIndex?)
    Searches from startIndex to the beginning of the array.

  • Iteration (Nondestructive)

    Examination - forEach( ) every( ), some( )

    Transformation - map( ) filter( )

    Reduction - reduce( ) reduceRight( )

  • Best Practices: Iterating over Arrays

    1. Use a for loop
    2. Use array iteration methods (forEach(), some(), every(), map(), filter(), reduce(), reduceRight())

    Don’t use for-in, since that will iterate over all properties, not elements.

  • Data Types

    Data Type typeof( ) Description
    Undefined 'undefined' undefined; uninitialized/undeclared variables
    Null 'object' null
    Boolean 'boolean' true false
    Number 'number' integers, floating point, +/-Infinity, NaN
    String 'string' characters, character literals, empty strings
    Object 'object' JavaScript objects
  • Operators

    • Unary + -
    • Increment/Decrement ++ --
    • Bitwise ~ & | ^
    • Bitwise Shift << >> >>>
    • Logical (Boolean) ! && ||
    • Multiplicative * / %
    • Additive + -
    • Relational < > <= >=
    • Equality == != === !===
    • Assignment = *= /= += -= %= <<= >>= >>>=
    • Comma ,
  • Statements

    • if
    • do-while
    • while
    • for
    • for-in
    • break
    • continue
    • with
    • switch
  • Functions

    • Can be assigned to variables
    • Always return values. Default value is undefined
    • No function signatures
    • No overloading (last declared function overrides previous ones)

    Strict Mode

    • Functions and parameters cannot be named eval or arguments
    • No named parameters with the same name

    Arguments

    • Acts similar to argv
    • Interpreter won’t complain if function called with a different number of arguments than the declaration
    • Named parameter not passes in function call is assigned undefined
    • arguments object: acts like an array, but is not instance of Array
    var beets = function(){
      if (arguments) {
        if (arguments.length >= 3) {
          for (x in arguments) {
            console.log(x);
          }
        } else if (arguments.length === 2) {
          console.log('1. ' + arguments[0]);
          console.log('2. ' + arguments[1]);
        } else {
          console.log('only argument: ' + arguments[0]);
        }
      }
    }

    Arguments stay in sync with named parameters:

    • Change to named parameter will change corresponding argument
    • Not the other way around
  • Primitive and Reference Values

    Primitive values are accessed by value.

    Objects are accessed by reference.

    Dynamic Properties

    You can add properties to reference values at any time.
    Trying to add properties to primitive values won’t work, but also won’t cause an error.

    Copying Values

    Assigning a primitive value creates a new copy.
    Assigning a reference value passes the reference to the same object instance.

    Argument Passing

    Always passed by value—value is copied into a local variable. Passing by reference is not possible in JS. This functionality is replaced by closures.

    Determining Type

    typeof( ) returns the type of primitive values.
    variable instanceof Constructor returns true if X is an instance of reference type with constructor Constructor.

  • Execution Context and Scope

    Execution Context - defines access and behavior for a variable or function—what other data it can access. This is not accessible directly by code.

    An inner context can access variables in an outer context, but not the other way around.

    In web browsers, the global execution context is the window object. Each function has its own local execution context.

    The other primary type of context is the function execution context.

    Scope Chain provides access to all variables and functions in the execution context.

    The Variable Object is the front of the Scope Chain.

    In Functions the Activation Object is used as the variable object.

    Each context can search up the scope chain, but not down.

    • Scope Chain Augmentation - temporary addition to front of the scope chain, caused by catch and with
    • No Block-Level Scopes
  • Garbage Collection

    • Mark-and-Sweep - variables flagged in context when entering, flagged as out of context when leaving
    • Reference Counting - count references to an object/variable and deallocate when zero. Vulnerable to cyclic references. IE8 and earlier had non-native JS objects (DOM/BOM/COM) that used reference counting.
    • Performance -
    • Managing Memory - dereferencing global values by setting to null helps minimize memory usage
  • The Object Type

    Two ways to create an Object instance explicitly

    Object literal notation, and when it is used

    Expression context, statement context, how context affects interpretation of {

    Property names in object literal notation

    Creating an empty object

    Way to access object properties

    When bracket notation is favored

  • The Array Type

    Arrays can hold any data type at any index. (They are more similar to lists in Python than Arrays in Java.)

    There are two main ways to create arrays: the Array constructor and an Array literal.

    Array elements are accessed via index and square bracket.

    ben[1] = "helicopter";

    The number of elements in an array is given by the length property.

    The length property is mutable: decreasing length truncates elements from the end of the Array. Increasing length appends elements with the value of undefined to the end of the array.

    colors[colors.length] = "butt brown"; // appends value to end of array
    • Detecting Arrays
    • Conversion Methods
    • Stack/Queue Methods
    • Reordering Methods
    • Manipulation Methods
    • Location Methods
    • Iterative Methods
    • Reduction Methods
  • The Date Type

    ECMAScript Date represents dates as the number of milliseconds since midnight 1970-01-01 UTC.

    Create a new Date object with the new operator and the Date() constructor.

    Without arguments, the object is set to the current date and time.

    var now = new Date();

    Reference type methods

    Date.parse( dateString )

    Parses strings containing a date, returning the UTC date in milliseconds. The Date( ) constructor calls parse( ) if passed a string. Supports several formats as defined by ECMA-262 Fifth Ed.:

    • mm/dd/yyyy
    • Month_name dd, yyyy
    • Day_of_week Month_name dd yyyy hh:mm:ss Time_zone
    • yyyy-mm-ddThh:mm:ss.sssZ (ECMAScript 5 compliant implementations only)

    Returns NaN if the string can’t be parsed as a date (this happens when the date string doesn’t exactly match one of the supported patterns.)

    Date.UTC( y, m[, d, h, m, s, ms] )

    Returns the local timezone’s date in milliseconds for a specified UTC year, month, day, hour, minute, seconds, and milliseconds.

  • The Regexp Type

    Regular Expression literal:

    var exp = /{pattern}/{flags}

    Supported flags:

    • g : global
    • i : case insensitive
    • m : multiline

    RegEx Metacharacters

    ( [ { \ ^ $ | ) ] } ? * + .

    Metacharacters need to be escaped with \ if they are part of the pattern.

    RegEx Constructor

    var expression = /\$\( +\)\./gm;
    var equivExpression = new RegEx("\\$\\( +\\)\\.","gm");

    Note how metacharacters need to be double-escaped in the string.

    Differences between literal and constructor creation patterns

    In ECMAScript versions before 5, regular expression created as a literal will always reference the same RegExp instance (the instance properties remain in the same state.)

    A regular expression created with a constructor will always create a new RegEx instance.

    In ECMAScript 5, the literal pattern creates a new instance, like the RegEx constructor.

    input $_
    lastMatch $&
    lastParen $+
    leftContext $`
    multiline $*
    rightContext $'
  • The Function Type

    There are three main ways to define a function:

    Function-Declaration Syntax
    function f(args, bargs, dargs) {
    }
    Function Expression
    var f = function(args, bargs, dargs){
    };

    Note the need of a semicolon, since this is an expression and not a code block.

    Function Constructor
    var f = new Function('args', bargs', 'return args+bargs");

    Don’t use this. It causes double interpretation of code.

    Function names are pointers to function objects.

    This is why there is no overloading—declaring two functions with the same name just overwrites the earlier one with the later one.

    • Function Declarations versus Function Expressions
    • Functions as Values
    • Function Internals
    • Function Properties and Methods
  • Primitive Wrapper Types

    Allows primitive values to be treated as objects with methods.

    When a boolean, number, or string primitive value is accessed in read mode and a method is called, the following steps occur:

    1. Create instance of wrapper type
    2. Call method on instance
    3. Destroy instance

    Automatically created primitive wrapper types are destroyed immediately after use. This means that you cannot add properties or new methods to primitive types.

    Primitive wrappers can be explicitly created with constructors, but this should only be done in rare need. Any values created with the new operator and constructor will return typeof “object”.

    The Object constructor can return an instance of a primitive wrapper by passing in the primitive.

    var obj = new Object("a blah");
    console.log(obj instanceof String); // true
    • The Boolean Wrapper Type
    • The Number Wrapper Type
    • The String Wrapper Type
  • Singleton Built-In Objects

    • Global object
    • URI-encoding methods
    • eval()
    • Math
  • Understanding Objects

    • Types of Properties
    • Defining Multiple Properties
    • Reading Property Attributes
  • Object Creation

    • The Factory Pattern
    • The Constructor Pattern
    • The Prototype Pattern
    • Combination Constructor/Prototype Pattern
    • Dynamic Prototype Pattern
    • Parasitic Constructor Pattern
    • Durable Constructor Pattern
  • Inheritance

    • Prototype Chaining
    • Constructor Stealing
    • Combination Inheritance
    • Parasitic Inheritance
    • Parasitic Combination Inheritance
    • Constants and Variables

      let var

      Declaring Constants and Variables

      All constants need to be initialized. All variables also need to be either initialized or type annotated.

      
      let chessBoardMaxRank = 8 // constant
      var currentRank = 1 // variable
      

      Type Annotations

      
      var lastName: String
      var heightM: Double
      var year: Int
      var elements: Array
      

      You can declare and annotate variables of the same type on a single line, separated by commas.

      Naming Constants and Variables

      Printing Constants and Variables

    • Comments

      Single-line comment: //

      Multi-line comment: /* */
      Multi-line comments can be nested.

    • Semicolons

      Semicolons are only required to separate two or more statements on a single line.

    • Integers

      Integer Bounds
      Int
      UInt

    • Floating-Point Numbers

      Double: 64-bit floating-point number
      Float: 32-bit floating-point number

    • Type Safety and Type Inference

      Swift is a type-safe language and performs type checks during compilation.

      Swift uses type inference to determine the types of not-explicitly declared variables and constants.

    • Numeric Literals

      • decimal: no prefix
      • binary: 0b prefix
      • octal: 0o prefix
      • hexadecimal: 0x prefix

      Floating-point literals can be either decimal or hexadecimal. Decimal floating points can have an optional exponent, indicated with e or E. Hexadecimal floating point numbers need an exponent, indicated with p or P.

    • Numeric Type Conversion

      Integer Conversion

      Use the Int type for general purpose integer constants and variables.

      Integer and Floating-Point Conversion

    • Type Aliases

      typealias

    • Booleans

      Bool

      Booleans can be one of two constant values: true or false.

      Attempting to substitute non-Boolean values for Bool will cause an error.

    • Tuples

      ( value, ...)

      Group multiple values into a compound value. The values can be of any (and mixed) types.

      Decompose a tuple’s contents by assigning to a tuple. Underscore ignores contents.

      let (realNum, imagNum) = z
      let (_, imaginaryPortion) = z

      You can access a tuple’s elements using index numbers (starting at 0) or element names.


      print(“Latitude is (coord.y)”)
      print(“Longitude is (coord.x)”)
      let altitude = coord.2

      Tuples can be return values of functions with multiple return values[1].

    • Optionals

      Use when a value may be absent: an optional either has no value, or wraps the actual variable.

      nil

      Set an optional to nil to give it no value. If an optional is defined but not initialized, it is automatically set to nil.

      Note: nil is not a pointer to a null object. Even non-object optionals can be set to nil.

      If Statements and Forced Unwrapping

      ! unwraps an optional’s value. But it will cause a runtime error if the optional is nil.

      Optional Binding

      Check if an optional has a value before entering a code block (if or while).


      if let number = Int(input) {
      return(number^2)
      }

      Separate a series of optional bindings (and booleans) with commas — if any is nil, the statement will evaluate to false.

      Implicitly Unwrapped Optionals

      Unwrap the optional automatically.

    • Error Handling

      throws do try catch

      Swift propagates errors out of the current score until a catch clause handles it.

    • Assertions

      Debugging with Assertions
      When to Use Assertions

    • ToPrimitive(input, PreferredType?)

      1. If input is primitive, return it
      2. Depending if input is a number or string:
        • if a number first call input.valueOf() and return if primitive
        • if a string, first call input.toString() and return if primitive
      3. Call the other of input.valueOf() or input.toString() and return if primitive
      4. Throw a TypeError
    • Boolean() - Truthy/Falsy

      Falsy values - converted to false:

      • undefined, null
      • false
      • 0,NaN
      • '' (empty/zero-length string)

      All other values are converted to true.

    • Object literals

    • Dot operator

    • Bracket operator

    • Getting and setting the prototype

    • Iteration and detection of properties

    • Getting and defining properties via descriptors

    • Protecting objects

    • Methods of all objects

    • Overview

      Inheritance
      Overriding
      Sharing data between objects via a prototype
      Getting and setting the prototype
      __proto__
      Setting and deleting affects only own properties

      Iteration and Detection of Properties

      Listing own property keys
      Listing all property keys
      Checking whether a property exists

      Best Practices: Iterating over Own Properties

      Accessors (Getters and Setters)

      Defining Accessors via an Object Literal
      Defining Accessors via Property Descriptors
      Accessors and Inheritance

      Property Attributes and Property Descriptors

      Property Attributes
      Property Descriptors
      Getting and Defining Properties via Descriptors
      Copying an Object
      Properties: Definition Versus Assignment
      Inherited Read-Only Properties Can’t Be Assigned To
      Enumerability: Best Practices

      Protecting Objects

      Preventing Extensions
      Sealing
      Freezing
      Pitfall: Protection Is Shallow

    • Constructor overview

      .prototype
      .constructor
      instanceof

      The instanceof operator

      • syntax: value instanceof Constr
      • Identical to: Constr.prototype.isPrototypeOf(value)
      • Pitfall: objects that are not instances of Object
      • Pitfall: crossing realms (frames or windows)

      Tips for implementing constructors:

      • use strict mode to protect against forgetting new
      • Constructors can return arbitrary objects
    • Data in Prototype Properties

      Why you usually shouldn’t put data in prototype properties.

      Why avoid prototype properties with initial values for instance properties: mutating the value on the instance before it’s overwritten with an own property will change the prototype default value!

      Avoid nonpolymorphic prototype properties, like constants. Use variables instead.

      Polymorphic prototype properties can be used for tagging instances across realms.

    • Keeping Data Private

      JavaScript doesn’t have a built-in means for data privacy. There are three main patterns for using data privacy:

      Private data in the environment of a constructor (Crockford privacy pattern) - functions created as part of a constructor are part of that constructor’s closure. They can act as privileged methods that access data that is part of the constructor’s environment. Not very elegant, may be slower, consumes more memory, but it’s completely secure.

      Private data in properties with marked keys (private by convention) - usually with a naming convention like an underscore. This offers a more natural coding style, but it pollutes the property namespace because they’ll show up as normal properties. It can also lead to key clashes. They can be accessed normally, which can be flexible for unit tests and stuff.

      Private data in properties with reified keys - storing the key value in a variable. This avoids key clashes and lets you use UUIDs that can have unique values at runtime.

      You can keep global data private via IIFEs: attaching it to a singleton object, keeping it private to a constructor, attaching it to a method

    • Subconstructor Howto

      For two constructors Super and Sub we want:

      • Inheriting instance properties.
      • Inheriting prototype properties.
      • instanceof to work for instances
      • Overridding of methods
      • Being able to call an original from an overridden method
    • Object.prototype methods

      Conversion to Primitive

      Object.prototype.toString()
      Object.prototype.valueOf()
      Object.prototype.toLocaleString()

      Prototypal Inheritance and Properties

      Object.prototype.isPrototypeOf(obj)
      Object.prototype.hasOwnProperty(key)
      Object.prototype.propertyIsEnumerable(propKey)
    • Generic Methods

    • Pitfalls: Using an Object as a Map

      Pitfall 1: Inheritance Affects Reading Properties
      Pitfall 2: Overriding Affects Invoking Methods
      Pitfall 3: The Special Property proto

      Creating an object without a prototype (Object.create(null)) avoids all of these pitfalls.

    • Array Syntax

      var arr = ['a', 'b', 'c'];
      arr.length;
      arr.length = 2;
      arr[arr.length] = 'd';
      arr.push('e');
      var e = arr.pop();
    • Arrays are Maps, Not Tuples

      The Array type is an object with properties that have integer indices as names.

      The elements of an Array are not necessarily contiguous, and Arrays can have “holes”, or missing indices.

    • Arrays Can Also Have Properties

      Arrays work like any other object. You can add arbitrary properties to them. These new properties are not considered array elements by array methods.

    • Array Literals/Array Constructor

      // Array literal
      var arr = ['a', 'b', 'c']

      Array Constructor

      Why the Array( ) constructor is problematic:

      Creating an empty array with a given length

      // creates an array object with length 2
      var arr = new Array(2);
      // elements at indices are still undefined

      Initializing an array with elements via constructor
      Array( ) will try to parse a numeric argument as a length

      // Array with two holes, not [2]
      var arr = new Array(2);
      // RangeError: Invalid array length
      arr = new Array(9.9);
    • Multidimensional Arrays

      Create multidimensional arrays by nesting arrays. Make sure to create the rows (outer arrays). You have to do this with a loop (since a constructor will just set the length of the outer array)

    • The in Operator and Indices

    • Deleting Array Elements

      delete works on array elements but doesn’t update length or shift elements. It creates a hole.

      To delete elements without leaving a hole, use Array.prototype.splice()

      // remove i
      arr.splice(i, 1);
      // remove j through k
      arr.splice(j,k-j+1);
      // remove m up to but not including n
      arr.splice(m, n-m);
      // remove the third last element and after
      arr.splice(-3);
    • Array Indices in Detail

      Indices aren’t numbers, but string property keys.

      For a key P that is a valid array index:

      • ToString(ToUint32(P)) === P is true
      • ToUint32(P) !== Math.pow(2,32)-1
    • Manually Increasing the Length of an Array

      Changing length only creates holes (doesn’t create new, empty array elements).

    • Decreasing the Length of an Array

      This does actually delete elements (trying to access afterwards will return undefined)

      You can clear an array by setting length to 0. This clears the array for all variables accessing the object. But this operation can be slow and it is easier to create a new, empty array.

    • Creating Holes / Sparse Arrays

      You can create holes by omitting values in literals and assigning to nonconsecutive indices.

      Trying to access a hole returns undefined. Unlike an actual undefined at that index, it’s not detected by the in operator. Array iteration methods also ignore them.

    • Which Operations Ignore Holes, and Which Consider Them?

      Array iteration methods

      Method Behavior
      forEach() ignores
      every() ignores
      map() skips but preserves
      filter() eliminates
      Method Behavior
      join() converts holes, undefined, null to ''
      sort() preserves while sorting

      Function.prototype.apply()

      When apply() accepts an otherwise empty array with holes, it turns them to undefined.

      You can create an array with undefined as values with Array.apply. But apply wont’ necessarily replace holes with undefined in nonempty arrays.

    • Removing Holes from Arrays

      filter( ) removes holes.

      To replace holes with undefined, use a loop that assigns each array element to itself.

    • Comparing Numbers

    • Examination Methods

      Array.prototype.forEach(callback, thisValue?) - iterates over all elements. Doesn’t support break—use some( ) instead

      Array.prototype.every(callback, thisValue?) - true if true for every element; stops as soon as it gets false

      Array.prototype.some(callback, thisValue?) - returns true if the callback returns true for at least one element. Stops iteration once it gets a true

    • Transformation Methods

      function callback(element, index, array)

      Array.prototype.map(callback, thisValue?) - return an array with callback applied to each element

      Array.prototype.filter(callback, thisValue?) - return a new array containing only elements for which callback returned true

    • Reduction Methods

      function callback(previousValue,
       currentElement, currentIndex, array)

      Array.prototype.reduce(callback, initialValue?)
      Array.prototype.reduceRight(callback, initialValue?)

      If initial value is not provided, previousValue is the first element and currentElement is the second element.

    • Undefined type

      • Superficially equal to null
    • Null type

      • Superficially equal to undefined
    • Number

      Integers (dec, octal, hex)

      55
      070
      0xA

      Floating Point (IEEE 754)

      301.001
      2.91E23

      Range: Number.MIN_VALUE Number.MAX_VALUE

      Infinity -Infinity - can’t be used in further calculations. Check with isFinite( ).

      NaN - detect with isNaN( )

      Cast to number type with Number( )

    • String

      Characters, character strings, character literals.

      • Can be enclosed in single '' or double "" quotes.
      • Character literals (\n\t\\, unicode, etc) are counted as single characters, not by the number of characters in their ascii escape sequence.
      • Are immutable.
      • Other types can be type cast using toString( )
    • Object

      _JavaScript objects

      All objects have the following methods:

      • hasOwnProperty( prop )
      • isPrototypeOf( obj )
      • propertyISEnumerable( prop )
      • toLocaleString() - return string representation of object that is appropriate for locale
      • toString() - string representation of object
      • valueOf() - string, number, or Boolean representation of object
    • Unary + -

      • + does nothing to a number type variable, casts the variable using Number()
      • - negates a number type variable, and returns the negation of a non-numeric value after its converstion with Number()
    • Logical ! && ||

      Operand !
      true false
      false true
      object false
      empty string true
      nonempty string false
      0 true
      nonzero number false
      null true
      NaN true
      `undefined true

      && will always short circuit to false if the first operand is false.

      || will always short circuit to true if the first argument is true

      Operand1 Operand2 && OR
      true true true true
      true false false true
      false * short circuit false Operand2
      true false false short circuit true
      Object * Operand2 Operand1
      true Object Operand2 short circuit true
      Object Object Operand2 Operand1
      null * null null if Operand2===null
      NaN * NaN NaN if Operand2===NaN
      undefined * undefined undefined if Operand2===undefined
      undeclared * error error
      true undeclared error short circuit true
      false undeclared short circuit false error
    • Comma

      Allows execution of more than one operation in a single statement.

      Usually used for variable declaration.

      var a1=1,
        a2=2,
        a3=3;

      When used to assign values, returns the last item in the expression.

      var num = (5, 1, 4, 8, 0); // num = 0
    • Labeled statements

      butts: for (var i=0; i < count; i++) {
         console.log(i*i);
      }
    • break and continue

      break exits a loop immediately, and the next statement after the loop is executed.

      continue exits a loop iteration, but execution resumes the beginning of the loop.

      You can specify a labeled statement as the target of break or continue. This is powerful but can cause debugging problems.

    • with

      Not allowed in strict mode. Don’t use in production code.

      var qs = location.search.substring(1);
      var hostName = location.hostname;
      var url = location.href;

      is equivalent to:

      with(location){
        var qs = search.substring(1);
        var hostName = hostname;
        var url = href;
      }
    • switch

      Matches similar to ==. Works with all data types, including strings and objects. Case values do not need to be constants.

    • Dynamic Properties

    • Copying Values

    • Activation Object of a Function

      Starts with arguments.

      Next variable object is from the containing context.

      Each subsequent variable object in the chain is that of the next immediately enclosing scope.

      The last variable object in the chain belongs to the global scope.

    • Scope Chain Augmentation

      A catch block in a *try-catch statement and a with statement both add a variable object to the front of a scope chain.

      with

      with (aThing) {
        /* ... */
      }

      aThing is added to the scope chain.

      try-catch

      try {
      } catch (e) {
         /* ... */
      }

      The catch statement will create a new variable object containing e, the error object that was thrown.

    • No-Block Level Scoping

      Variables declared in blocks, such as in if statements and in the initialization part of for statements are available in the rest of the enclosing function scope.

    • Variable Declaration

      Declaring a variable with var will add it to the immediate context.

      ! - A variable that gets initialized without being declared gets added to the global context: it will continue to exist until execution exits the global scope.

      Always declare variables before initializing this to avoid problems.

    • Resolving Identifiers

      Identifiers get resolved by navigating the scope chain from beginning to end.

      A variable is accessible as long as it can be found in the scope chain.

      The search may also search each object’s prototype chain.

      The first match in the identifier search gets returned.

      var name = "Khyr ad-Din";
      function getName() {
        var name = "Edmund Harvey";
        return name;
      }
      console.log(getName()); // "Edmund Harvey"

      In this case the name variable in the parent context of getName can’t be accessed.

    • Reference Counting

      Cyclic References Example

      function thing() {
        var objA = new Object();
        var objB = new Object();
      
        objA.friend = objB;
        objB.friend = objA;
      }

      Even once browsers switched to mark-and-sweep GC, non-native JavaScript objects (COM, DOM, BOM) in IE8 and earlier were still vulnerable to cyclic references because they were still implemented with reference counting.

      ! - Make sure to break the connection between native JS and DOM elements by setting cross-references to null.

    • Performance Issues

      IE6 and earlier ran GC when threshold of 256 variable allocations, 4096 object/array literals/array slots, or 64kb of strings was reached.

      Scripts with a lot of variables/strings kept the GC running really frequency, leading to performance issues.

      IE7 instead had dynamic thresholds based on how many allocations were reclaimed per sweep.

    • Creating Arrays, best practices

      There are two main ways to create an array:

      1. Array constructor

      2. Array literal

      var anEmptyArray = []; // creates an empty array
      var numbersAgain = [1,2,]; // don't do this
      var numbersOrWhat = [,,,,,] // don't do this either

      Creating empty arrays with commas, or leaving the last element blank causes inconsistent behavior. In IE8 and earlier, the last, hanging comma will create an additional index with the value undefined (this is a bug). Other browsers will not create an additional index giving a hanging comma.

      Array literal notation doesn’t call the Array() constructor except in Firefox 2.x and earlier.

    • Detecting Arrays

      x instanceof Array will not correctly identify x as an Array if it was passed from a different frame or page, and x‘s array type has a different constructor.

      Instead, ECMAScript 5 provides Array.isArray( anObject ) to detect arrays.

    • Conversion Methods

      .toString() .valueOf()

      Returns a comma delimited list of each element’s .toString() values.

      .toLocaleString()

      Returns a comma delimited list of each element’s .toLocaleString() values.

      .join(sep)

      Returns a list separated by the string specified by sep.

      If sep is not provided or undefined, it uses a comma. IE 7 and before has a bug that uses undefined as the delimiter.

    • Stack Methods

      push(itemTachi, ...)

      Appends any number of elements to the end of an array.

      pop()

      Returns the last element of the array and decrements the length property.

    • Queue Methods

      shift()

      Returns the first element of the array removes it from the array (shifting all the indicies downward).

      unshift(elemTachi, ...)

      Prepends any number of elements to an array.

    • Reordering Methods

      .reverse() - reverses the elements in the array.

      .sort( comparator )

      Sorts the elements of the array based on a comparison function. For each pair of elements in an array, the comparison function should basically do this:

      function comparator(v1, v2) {
        if ( /* v1 < v2 */) {
          return -1;
        } else if (/* v1 > v2 */) {
          return 1;
        } else {
          return 0;
        }
      }

      If no comparison function is provided, sort() will return the elements in sorted in ascending order of their String() values by default.

    • Manipulation Methods

      .concat( elementsOrArraysTachi, ... )

      Returns a new array with specified elements appended to the end of the original array. Will append the elements of any arrays passed into it. If no elements or arrays are passed in, it will clone the original array.

      .slice( startIndex, stopIndex )

      Returns a new array containing elements between startIndex and up to but not including stopIndex. stopIndex is optional and if it is not specified, slice( ) will just return elements from startIndex up to the end of the array.

      .splice(startIndex, replaceCount, elem[,...] )

      Splice can delete, insert, or replace items in the middle (or at any point) of an array.

      Deletion - specify two arguments: startIndex is the first item to delete, and replaceCount is the number elements to delete.

      Insertion - specify three or more arguments: startIndex is the insertion point, have replaceCount=0, and then specify any number of elements to insert.

      Replacement - specify three or more arguments: startIndex is the replacement point, replaceCount is the number of elements to delete, and elem[…] are the items to insert.

    • Location Methods

      Each of these uses the === operator to find a match:

      .indexOf()

      .lastIndexOf()

    • Iterative Methods

      Let f( ) be a function that takes the following arguments (all optional):

      function f(elem, i, array)

      Each of the following methods run f( ) for each element in the array. The current element is passed as elem, the index as i, and the array itself as array.

      Method return value
      .every(f) true if f( ) returns true for every element in the array, false otherwise
      .filter(f) array of all items for which f( ) returns true
      .forEach(f) no return value
      .map(f) result of each call to f( ), as an array
      .some(f) true if f( ) returns true for any item
    • Reduction Methods

      .reduce(f, iv) .reduceRight(f, iv)

      Iterates through all elements of an array, either from the first element (reduce) or from the last element reduceRight.

      function f(prev, cur, index, theArray) {
        /* ... */
        return val;
      }

      iv (optional) is passed in as prev on the first iteration (when cur is set to element 0).

      The return value of the function (val in f) is passed in as prev on the next iteration.

      e.g. sequences, series, iterative algorithms

    • Function Declarations versus Function Expressions

      Function Declarations are available in an execution context before any code is executed. This is called function declaration hoisting. The engine takes any Javascript function it finds and brings it to the top of the source tree.

      Function Expressions aren’t available until the line of code (usually assigning a function to a variable) gets executed. If a function gets called before it’s assigned in a function expression, it will cause an “unidentified identifier” error.

    • Functions as Values

      Functions can be used any place any other value can be used.

      It’s possible to:

      • Pass a function into another function
      • Return a function as a result of another function

      This is important—you can use this to create a comparison function to use with sort() that knows what properties of objects to compare.

    • Function Internals

      A function contains three special objects:

      arguments - Contains arguments passed to the function and a property callee which is a pointer to the function that owns the arguments object. This can be important for decoupling arguments from the function’s label, such as in recursive functions.

      • Strict mode: trying to access arguments.callee results in an error.
      • ECMAScript 5 also has arguments.caller. Accessing arguments.caller in strict mode causes an error.

      Example: write a recursive function (recursive merge sort, factorial) that still works even the name of the function gets changed.

      this - a reference to the context object the function is operating on. The value of this is not determined until the function is called. It is set to the global context by default.

      • Strict mode: when a function is called without a context object, this is set to undefined unless apply() or call() are used.

      Example: write a function that uses this to produce different output depending on the object that is the context (e.g. window vs. an object).

      caller - (ECMAScript 5) contains a reference to the calling function, or null if the function was called in the global scope.

      • Strict mode: trying to assign a value to caller causes an error.
    • Function Properties and Methods

      Properties

      length - the number of named arguments that the function expects

      prototype - prototype for reference types. Not enumerable in ECMAScript 5.

      Methods

      apply(valueOfThis, argsArray) call(valueOfThis, arg1[,...] )

      Execute the function with a particular this context. apply accepts an array of arguments (either an Array type or the arguments object) and call accepts any number of arguments directly.

      window.color = "red";
      var o = { color: "blue" };
      
      function sayColor() {
        console.log(this.color);
      }
      
      sayColor(); // red
      sayColor.call(this); // red
      sayColor.call(window); // red
      sayColor.call(o); // blue

      bind(thisValue) (ECMAScript 5)

      Creates a new function object instance with the this value set to the specified value.

      window.color = "Aquamarine";
      var o = { color: "CornflowerBlue" };
      
      function sayColor() {
        console.log(this.color);
      }
      var objectSayColor = sayColor.bind(o);
      objectSayColor(); // CornflowerBlue

      toString() toLocaleString()

      Returns the function’s code.

    • The Boolean Wrapper Type

      valueOf() - Returns true or false

      toString() toLocaleString() - Returns 'true' or 'false' (string values)

      Don’t use Boolean types in boolean expressions! They are treated and evaluated as objects.

    • The Number Wrapper Type

      valueOf() - Returns the primitive numeric value.

      toString() toLocaleString() - Return the string representation of the numeric value.

      toFixed(places) - string representation of a number with a specified number of decimal points, rounded.

      Rounding is bugged in IE 8 and earlier: it rounds numbers in (-0.94,-0.5] [0.5,0.94) when precision is 0. It will round numbers in these ranges to 0 when they should be rounded to 1 or -1.

      toExponential(places) - string representation in e-notation.

      var num = 10;
      console.log(num.toExponential(1)); // '1.0e+1'

      toPrecision(precision) - returns string representation of number in either fixed or exponential notation with precision number of digits, rounding when appropriate. Can typically represent numbers with 1 through 21 decimal places.

    • The String Wrapper Type

      String Character Methods

      charAt(i) - returns character at position in string

      charCodeAt(i) - returns character code at position in string

      ECMAScript 5 allows bracket notation.

      var s = “My Butt”;
      console.log(s[3]); // ‘B’

      String-Manipulation Methods

      concat( ) - return concatenation of one or more strings

      slice(startPos, stopPos)

      • Negative arguments treated as length+arg.

      substring(startPos, stopPos)

      • Negative arguments converted to 0.

      substr(startPos, count)

      • Negative startPos treated as length+arg.
      • Negative count converted to 0.

      String Location Methods

      indexOf(s)
      lastIndexOf(s)

      The trim() Method

      trim() - Returns a copy of a string with leading and trailing white space removed.

      trimLeft() trimRight() - Nonstandard methods supported in Firefox 3.5+, Safari 5+, Chrome 8+.

      String Case Methods
      toLowerCase() toLocaleLowerCase()
      toUpperCase() toLocaleUpperCase()

      String Pattern Matching Methods
      match( regEx ) - returns an array where the first element is the string that matches the entire pattern, and then capturing groups

      search( regEx ) - returns index of substring matching regular expression or -1 if not found

      replace( searchText, r ) - matches based on a regular expression or a string. r can be string or a function. If r is a string, it supports special codes for replacement text. If r is a function, it gets passed three arguments: the string match, the position of the match, and the whole string. Additional capturing groups can get passed in as an argument. The only way to replace all occurrences is to pass in a RegEx type with the g flag set.

      • When r is a string, you can insert regular expression operation values. (See table).

      split(sep, arrayLimit) - separates a string into an array of substrings based on separator sep, which may be a string or RegEx

      • Capturing group behavior differs widely across browsers
      • IE8 and earlier ignore capturing groups
      • Firefox 3.6 includes empty strings in the results array when a capturing group has no match

      localeCompare(s) - comparator method that returns different values based on whether a string comes before another alphabetically (return values vary slightly by implementation)

      • before s: negative number (usually -1)
      • equal to s: 0
      • after s: positive number (usually 1)

      String.fromCharCode( num[,...], ) - creates a string from character codes

    • Global object

      Properties
      undefined NaN Infinity Object Array Function Boolean String Number Date RegExp Error EvalError RangeError ReferenceError SyntaxError TypeError URIError

      Window Object

      In browsers, the window object acts as the global object’t delegate, and it gets all the variables and functions declared in the global scope.

    • URI-Encoding Methods

      encodeURI(s) - encodes a string into a valid URI. Meant to be used on an entire URI, so does not encode valid URI components, such as colons, forward slashes, question marks, and percent signs.

      encodeURIComponent(s) - encodes all nonstandard characters

      decodeURI(s) - decodes the characters of a URI into a string. Only decodes characters that would have been replaced by encodeURI()

      decodeURIComponents(s) - decodes a URI into a string

    • The eval() method

      • Strict Mode: variables and functions created in eval are not accessible outside.
    • Math Object

      Properties (constants)

      Math.E
      MathLN10
      Math.LN2
      Math.LOG2E - base 2 log of e
      Math.LOG10E - base 10 log of e
      Math.PI
      Math.SQRT1_2 - square root of 1/2
      Math.SQRT2

      Methods

      Math.min(x1[, ...] ) - returns the smallest number in a group of numbers. Accepts any number of parameters.

      Math.max(x1[, ...] ) - returns the largest number in a group of numbers.

      Math.ceil(x) - ceiling function

      Math.floor(x) - floor function

      Math.round(x) - rounds number up if decimal component is >= 0.5, or down if not.

      Math.random() - generates a random number in (0,1)

      Other methods:

      Math.abs(x)
      Math.exp(x) - e^x
      Math.log(x)
      Math.pow(x, t) - x^tMath.sqrt(x)`Math.acos(x) - arc cosine of x
      Math.asin(x) - arc sine of x
      Math.atan(x) - arc tan of x
      Math.atan2(y,x) - arc tangent of y/x
      Math.cos(x) - cosine x
      Math.sin(x) - sine x
      Math.tan(x) - tan x

      The precision of results may vary from implementation to implementation.

    • Types of Properties

      Data properties and Accessor properties are the two types of properties in JavaScript.

      Data Properties - single location for a data value

      Accessor Properties - combination of getter/setter functions

      • What the new operator actually does

      • constructor property of instances

        Use cases for the constructor property:

        • Identifying/taking different action on an object based on its constructor (only works on direct instances of a constructor)
        • Determining the name of an object’s constructor with .constructor.name. (Not all JS engines support function property name.)
        • Creating a new object with the same constructor
        • Referring to a superconstructor

        Best practice: make sure that for a constructor C, C.prototype.constructor === C is true. Functions have this set up correctly by default. Avoid replacing the prototype object, and if you do, manually assign the right value to constructor.

      • The instanceof operator

        value instanceof Constr

        Checks the whole prototype chain. Always returns false for primitive operands. Throws an exception if rhs operand isn’t a function.

        Identical to:

        Constr.prototype.isPrototypeOf(value)

        Pitfall: objects that aren’t instances of Object don’t get identified as an object by instanceof.

        Pitfall: instanceof might not work across different frames and windows, which each have their own global variables.

        Workarounds:

        • Use special methods like Array.isArray()
        • Avoid crossing realms (windows/frames) by using postMessage( ) to copy over objects
        • Compare the .constructor.name
        • Use a property on the prototype to mark instances
      • Tips for implementing constuctors

        Use strict mode to protect against forgetting to use new. Strict mode will raise an exception:

        TypeError: Cannot set property 'name' of undefined

        Returning arbitrary objects from a constructor. JavaScript can return arbitrary objects, allowing you to use them as factory methods.

        function Expression(str) {
            if (...) {
                return new Addition(..);
            } else if (...) {
                return new Multiplication(...);
            } else {
                throw new ExpressionException(...);
            }
        }
        ...
        var expr = new Expression(someStr);
      • Avoid prototype properties with initial values

        Do this instead to create a new property on the instance with a default value:

        function Names(data) {
            this.data = data || [];
        }

        When you might use prototype property with an initial value:

        Lazy instantiation of properties

        function Names(data) {
            if (data) this.data = data;
        }
        Names.prototype = {
            constructor: Names, // (1)
            get data() {
                // Define, don’t assign
                // => avoid calling the (nonexistent) setter
                Object.defineProperty(this, 'data', {
                    value: [],
                    enumerable: true,
                    configurable: false,
                    writable: false
                });
                return this.data;
            }
        };
      • Private Data in the Environment of a Constructor (Crockford Privacy Pattern)

        Public properties

        Constr.prototype.publicMethod = ...;
        function Constr(...) {
            this.publicData = ...;
            ...
        }

        Private values

        function Constr(...) {
            ...
            var that = this; // make accessible to private functions
        
            var privateData = ...;
        
            function privateFunction(...) {
                // Access everything
                privateData = ...;
        
                that.publicData = ...;
                that.publicMethod(...);
            }
            ...
        }

        Privileged methods

        function Constr(...) {
            ...
            this.privilegedMethod = function (...) {
                // Access everything
                privateData = ...;
                privateFunction(...);
        
                this.publicData = ...;
                this.publicMethod(...);
            };
        }
      • Private Data in Properties with Reified Keys

        var StringBuilder = function () {
            var KEY_BUFFER = '_StringBuilder_buffer';
        
            function StringBuilder() {
                this[KEY_BUFFER] = [];
            }
            StringBuilder.prototype = {
                constructor: StringBuilder,
                add: function (str) {
                    this[KEY_BUFFER].push(str);
                },
                toString: function () {
                    return this[KEY_BUFFER].join('');
                }
            };
            return StringBuilder;
        }();

        Note the IIFE.

      • Keeping Global Data Private via IIFEs

        Attaching private global data to a singleton object

        var obj = function () {  // open IIFE
        
            // public
            var self = {
                publicMethod: function (...) {
                    privateData = ...;
                    privateFunction(...);
                },
                publicData: ...
            };
        
            // private
            var privateData = ...;
            function privateFunction(...) {
                privateData = ...;
                self.publicData = ...;
                self.publicMethod(...);
            }
        
            return self;
        }(); // close IIFE

        Keeping global data private to all of a constructor

        var StringBuilder = function () { // open IIFE
            var KEY_BUFFER = '_StringBuilder_buffer_' + uuid.v4();
        
            function StringBuilder() {
                this[KEY_BUFFER] = [];
            }
            StringBuilder.prototype = {
                // Omitted: methods accessing this[KEY_BUFFER]
            };
            return StringBuilder;
        }(); // close IIFE

        Attaching global data to a method

        var obj = {
            method: function () {  // open IIFE
        
                // method-private data
                var invocCount = 0;
        
                return function () {
                    invocCount++;
                    console.log('Invocation #'+invocCount);
                    return 'result';
                };
            }()  // close IIFE
        };
      • Utility function

        function subclasses(SubC, SuperC) {
            var subProto = Object.create(SuperC.prototype);
            // Save `constructor` and, possibly, other methods
            copyOwnPropertiesFrom(subProto, SubC.prototype);
            SubC.prototype = subProto;
            SubC._super = SuperC.prototype;
        };
      • Inheriting Instance Properties

        function Sub(prop1, prop2, prop3, prop4) {
            Sub._super.call(this, prop1, prop2);  // (1)
            this.prop3 = prop3;  // (2)
            this.prop4 = prop4;  // (3)
        }

        The trick is to not invoke Super via new.

      • Inheriting Prototype Properties / making instanceof work for instances

        Give sub.prototype the prototype super.prototype.

        Sub.prototype = Object.create(Sub._super.prototype);
        Sub.prototype.constructor = Sub;
        Sub.prototype.methodB = ...;
        Sub.prototype.methodC = ...;
      • Overriding a Method vs. Making a Supercall

        Methods added to Sub.prototype will override methods with the same name in Super.prototype.

        A home object of a method is the object that owns the property that contains the method.

        To call a supermethod, skip the home object of the current method, search for a method with that name, and invoke with the current this.

        Sub.prototype.methodB = function (x, y) {
            var superResult = Sub._super.prototype.methodB.call(this, x, y); // (1)
            return this.prop3 + ' ' + superResult;
        }
      • Example

        Superconstructor

        function Person(name) {
            this.name = name;
        }
        Person.prototype.describe = function () {
            return 'Person called '+this.name;
        };

        Subconstructor

        function Employee(name, title) {
            Person.call(this, name);
            this.title = title;
        }
        Employee.prototype = Object.create(Person.prototype);
        Employee.prototype.constructor = Employee;
        Employee.prototype.describe = function () {
            return Person.prototype.describe.call(this)+' ('+this.title+')';
        };
      • Accessing Object.prototype and Array.prototype via Literals

        Just use the empty object {} instead of Object.prototype and [] instead of Array.prototype.

      • Examples

        > var arr1 = [ 'a', 'b' ];
        > var arr2 = [ 'c', 'd' ];
        
        > [].push.apply(arr1, arr2)
        4
        > arr1
        [ 'a', 'b', 'c', 'd' ]
        > Array.prototype.join.call('abc', '-')
        'a-b-c'
        > [].map.call('abc', function (x) { return x.toUpperCase() })
        [ 'A', 'B', 'C' ]
        > 'abc'.split('').map(function (x) { return x.toUpperCase() })
        [ 'A', 'B', 'C' ]
        > String.prototype.toUpperCase.call(true)
        'TRUE'
        > String.prototype.toUpperCase.call(['a','b','c'])
        'A,B,C'
        > var fakeArray = { 0: 'a', 1: 'b', length: 2 };
        > Array.prototype.join.call(fakeArray, '-')
        'a-b'
        > var obj = {};
        > Array.prototype.push.call(obj, 'hello');
        1
        > obj
        { '0': 'hello', length: 1 }
        function logArgs() {
            Array.prototype.forEach.call(arguments, function (elem, i) {
                console.log(i+'. '+elem);
            });
        }
      • Array-Like Objects and Generic Methods

        arguments
        DOM node lists - returned by document.getElementsBy*()
        Strings

        Array-like objects need elements accessible by integer indices and a length property. Array methods need these to be readable, and sometimes writable.

      • isNaN( x )

        • false if value can be converted into a number
        • true if it cannot

        When applied to objects, calls valueOf( ) method.

      • Number( x )

        Input Output
        Boolean true->1; false->0
        Number (passes through)
        null 0
        undefined NaN

        Strings

        String Output
        numeric strings, no decimal decimal integer
        floating point format floating point
        hex format hex
        empty 0
        anything else NaN
      • parseInt( x, radix )

        Returns the first contiguous numeral string’s numerical value, ignoring the rest of the string.

      • parseFloat( x )

        Will return the value of the the first valid contiguous numerical string in floating point format.

      • Trivia: bind(con) will keep the new function bound to con even when you attempt to use apply or call with a different context!

      • String Type Trivia

        • concat( ) will convert any non-string type into a string. For example, an Array ['a', 'b'] will be converted to 'a,b'
      • replace( ) character sequences

        Sequence Replacement Text
        $$ $
        $& Substring matching entire pattern
        $' Right context
        $` Left context
        $n n th capture (0-9)
        $nn nn th capture (01-99)
      • Data Properties

        Attributes

        [[Configurable]]
        [[Enumerable]]
        [[Writable]]
        [[Value]]

      {"cards":[{"_id":"6233fff7781cf6071600010f","treeId":"6233ffe7781cf6071600010d","seq":10440748,"position":1,"parentId":null,"content":"# Programming Languages\n<script>/* http://prismjs.com/download.html?themes=prism-solarizedlight&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bro+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+jade+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+nasm+nginx+nim+nix+nsis+objectivec+ocaml+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+puppet+pure+python+q+qore+r+jsx+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml&plugins=line-numbers+remove-initial-line-feed */\nvar _self=\"undefined\"!=typeof window?window:\"undefined\"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\\blang(?:uage)?-(\\w+)\\b/i,t=0,n=_self.Prism={manual:_self.Prism&&_self.Prism.manual,util:{encode:function(e){return e instanceof a?new a(e.type,n.util.encode(e.content),e.alias):\"Array\"===n.util.type(e)?e.map(n.util.encode):e.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/\\u00a0/g,\" \")},type:function(e){return Object.prototype.toString.call(e).match(/\\[object (\\w+)\\]/)[1]},objId:function(e){return e.__id||Object.defineProperty(e,\"__id\",{value:++t}),e.__id},clone:function(e){var t=n.util.type(e);switch(t){case\"Object\":var a={};for(var r in e)e.hasOwnProperty(r)&&(a[r]=n.util.clone(e[r]));return a;case\"Array\":return e.map&&e.map(function(e){return n.util.clone(e)})}return e}},languages:{extend:function(e,t){var a=n.util.clone(n.languages[e]);for(var r in t)a[r]=t[r];return a},insertBefore:function(e,t,a,r){r=r||n.languages;var i=r[e];if(2==arguments.length){a=arguments[1];for(var l in a)a.hasOwnProperty(l)&&(i[l]=a[l]);return i}var o={};for(var s in i)if(i.hasOwnProperty(s)){if(s==t)for(var l in a)a.hasOwnProperty(l)&&(o[l]=a[l]);o[s]=i[s]}return n.languages.DFS(n.languages,function(t,n){n===r[e]&&t!=e&&(this[t]=o)}),r[e]=o},DFS:function(e,t,a,r){r=r||{};for(var i in e)e.hasOwnProperty(i)&&(t.call(e,i,e[i],a||i),\"Object\"!==n.util.type(e[i])||r[n.util.objId(e[i])]?\"Array\"!==n.util.type(e[i])||r[n.util.objId(e[i])]||(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,i,r)):(r[n.util.objId(e[i])]=!0,n.languages.DFS(e[i],t,null,r)))}},plugins:{},highlightAll:function(e,t){var a={callback:t,selector:'code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code'};n.hooks.run(\"before-highlightall\",a);for(var r,i=a.elements||document.querySelectorAll(a.selector),l=0;r=i[l++];)n.highlightElement(r,e===!0,a.callback)},highlightElement:function(t,a,r){for(var i,l,o=t;o&&!e.test(o.className);)o=o.parentNode;o&&(i=(o.className.match(e)||[,\"\"])[1].toLowerCase(),l=n.languages[i]),t.className=t.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+i,o=t.parentNode,/pre/i.test(o.nodeName)&&(o.className=o.className.replace(e,\"\").replace(/\\s+/g,\" \")+\" language-\"+i);var s=t.textContent,u={element:t,language:i,grammar:l,code:s};if(n.hooks.run(\"before-sanity-check\",u),!u.code||!u.grammar)return u.code&&(n.hooks.run(\"before-highlight\",u),u.element.textContent=u.code,n.hooks.run(\"after-highlight\",u)),n.hooks.run(\"complete\",u),void 0;if(n.hooks.run(\"before-highlight\",u),a&&_self.Worker){var g=new Worker(n.filename);g.onmessage=function(e){u.highlightedCode=e.data,n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(u.element),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},g.postMessage(JSON.stringify({language:u.language,code:u.code,immediateClose:!0}))}else u.highlightedCode=n.highlight(u.code,u.grammar,u.language),n.hooks.run(\"before-insert\",u),u.element.innerHTML=u.highlightedCode,r&&r.call(t),n.hooks.run(\"after-highlight\",u),n.hooks.run(\"complete\",u)},highlight:function(e,t,r){var i=n.tokenize(e,t);return a.stringify(n.util.encode(i),r)},matchGrammar:function(e,t,a,r,i,l,o){var s=n.Token;for(var u in a)if(a.hasOwnProperty(u)&&a[u]){if(u==o)return;var g=a[u];g=\"Array\"===n.util.type(g)?g:[g];for(var c=0;c<g.length;++c){var h=g[c],f=h.inside,d=!!h.lookbehind,m=!!h.greedy,p=0,y=h.alias;if(m&&!h.pattern.global){var v=h.pattern.toString().match(/[imuy]*$/)[0];h.pattern=RegExp(h.pattern.source,v+\"g\")}h=h.pattern||h;for(var b=r,k=i;b<t.length;k+=t[b].length,++b){var w=t[b];if(t.length>e.length)return;if(!(w instanceof s)){h.lastIndex=0;var _=h.exec(w),P=1;if(!_&&m&&b!=t.length-1){if(h.lastIndex=k,_=h.exec(e),!_)break;for(var A=_.index+(d?_[1].length:0),j=_.index+_[0].length,x=b,O=k,S=t.length;S>x&&(j>O||!t[x].type&&!t[x-1].greedy);++x)O+=t[x].length,A>=O&&(++b,k=O);if(t[b]instanceof s||t[x-1].greedy)continue;P=x-b,w=e.slice(k,O),_.index-=k}if(_){d&&(p=_[1].length);var A=_.index+p,_=_[0].slice(p),j=A+_.length,N=w.slice(0,A),C=w.slice(j),E=[b,P];N&&(++b,k+=N.length,E.push(N));var L=new s(u,f?n.tokenize(_,f):_,y,_,m);if(E.push(L),C&&E.push(C),Array.prototype.splice.apply(t,E),1!=P&&n.matchGrammar(e,t,a,b,k,!0,u),l)break}else if(l)break}}}}},tokenize:function(e,t){var a=[e],r=t.rest;if(r){for(var i in r)t[i]=r[i];delete t.rest}return n.matchGrammar(e,a,t,0,0,!1),a},hooks:{all:{},add:function(e,t){var a=n.hooks.all;a[e]=a[e]||[],a[e].push(t)},run:function(e,t){var a=n.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(t)}}},a=n.Token=function(e,t,n,a,r){this.type=e,this.content=t,this.alias=n,this.length=0|(a||\"\").length,this.greedy=!!r};if(a.stringify=function(e,t,r){if(\"string\"==typeof e)return e;if(\"Array\"===n.util.type(e))return e.map(function(n){return a.stringify(n,t,e)}).join(\"\");var i={type:e.type,content:a.stringify(e.content,t,r),tag:\"span\",classes:[\"token\",e.type],attributes:{},language:t,parent:r};if(\"comment\"==i.type&&(i.attributes.spellcheck=\"true\"),e.alias){var l=\"Array\"===n.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}n.hooks.run(\"wrap\",i);var o=Object.keys(i.attributes).map(function(e){return e+'=\"'+(i.attributes[e]||\"\").replace(/\"/g,\"&quot;\")+'\"'}).join(\" \");return\"<\"+i.tag+' class=\"'+i.classes.join(\" \")+'\"'+(o?\" \"+o:\"\")+\">\"+i.content+\"</\"+i.tag+\">\"},!_self.document)return _self.addEventListener?(_self.addEventListener(\"message\",function(e){var t=JSON.parse(e.data),a=t.language,r=t.code,i=t.immediateClose;_self.postMessage(n.highlight(r,n.languages[a],a)),i&&_self.close()},!1),_self.Prism):_self.Prism;var r=document.currentScript||[].slice.call(document.getElementsByTagName(\"script\")).pop();return r&&(n.filename=r.src,!document.addEventListener||n.manual||r.hasAttribute(\"data-manual\")||(\"loading\"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(n.highlightAll):window.setTimeout(n.highlightAll,16):document.addEventListener(\"DOMContentLoaded\",n.highlightAll))),_self.Prism}();\"undefined\"!=typeof module&&module.exports&&(module.exports=Prism),\"undefined\"!=typeof global&&(global.Prism=Prism);\nPrism.languages.markup={comment:/<!--[\\s\\S]*?-->/,prolog:/<\\?[\\s\\S]+?\\?>/,doctype:/<!DOCTYPE[\\s\\S]+?>/i,cdata:/<!\\[CDATA\\[[\\s\\S]*?]]>/i,tag:{pattern:/<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,inside:{tag:{pattern:/^<\\/?[^\\s>\\/]+/i,inside:{punctuation:/^<\\/?/,namespace:/^[^\\s>\\/:]+:/}},\"attr-value\":{pattern:/=(?:('|\")[\\s\\S]*?(\\1)|[^\\s>]+)/i,inside:{punctuation:/[=>\"']/}},punctuation:/\\/?>/,\"attr-name\":{pattern:/[^\\s>\\/]+/,inside:{namespace:/^[^\\s>\\/:]+:/}}}},entity:/&#?[\\da-z]{1,8};/i},Prism.hooks.add(\"wrap\",function(a){\"entity\"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,\"&\"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;\nPrism.languages.css={comment:/\\/\\*[\\s\\S]*?\\*\\//,atrule:{pattern:/@[\\w-]+?.*?(;|(?=\\s*\\{))/i,inside:{rule:/@[\\w-]+/}},url:/url\\((?:([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,selector:/[^\\{\\}\\s][^\\{\\};]*?(?=\\s*\\{)/,string:{pattern:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},property:/(\\b|\\B)[\\w-]+(?=\\s*:)/i,important:/\\B!important\\b/i,\"function\":/[-a-z0-9]+(?=\\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore(\"markup\",\"tag\",{style:{pattern:/(<style[\\s\\S]*?>)[\\s\\S]*?(?=<\\/style>)/i,lookbehind:!0,inside:Prism.languages.css,alias:\"language-css\"}}),Prism.languages.insertBefore(\"inside\",\"attr-value\",{\"style-attr\":{pattern:/\\s*style=(\"|').*?\\1/i,inside:{\"attr-name\":{pattern:/^\\s*style/i,inside:Prism.languages.markup.tag.inside},punctuation:/^\\s*=\\s*['\"]|['\"]\\s*$/,\"attr-value\":{pattern:/.+/i,inside:Prism.languages.css}},alias:\"language-css\"}},Prism.languages.markup.tag));\nPrism.languages.clike={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"class-name\":{pattern:/((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[a-z0-9_\\.\\\\]+/i,lookbehind:!0,inside:{punctuation:/(\\.|\\\\)/}},keyword:/\\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\"boolean\":/\\b(true|false)\\b/,\"function\":/[a-z0-9_]+(?=\\()/i,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.javascript=Prism.languages.extend(\"clike\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,number:/\\b-?(0x[\\dA-Fa-f]+|0b[01]+|0o[0-7]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|Infinity)\\b/,\"function\":/[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\()/i,operator:/-[-=]?|\\+[+=]?|!=?=?|<<?=?|>>?>?=?|=(?:==?|>)?|&[&=]?|\\|[|=]?|\\*\\*?=?|\\/=?|~|\\^=?|%=?|\\?|\\.{3}/}),Prism.languages.insertBefore(\"javascript\",\"keyword\",{regex:{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0}}),Prism.languages.insertBefore(\"javascript\",\"string\",{\"template-string\":{pattern:/`(?:\\\\\\\\|\\\\?[^\\\\])*?`/,greedy:!0,inside:{interpolation:{pattern:/\\$\\{[^}]+\\}/,inside:{\"interpolation-punctuation\":{pattern:/^\\$\\{|\\}$/,alias:\"punctuation\"},rest:Prism.languages.javascript}},string:/[\\s\\S]+/}}}),Prism.languages.markup&&Prism.languages.insertBefore(\"markup\",\"tag\",{script:{pattern:/(<script[\\s\\S]*?>)[\\s\\S]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.javascript,alias:\"language-javascript\"}}),Prism.languages.js=Prism.languages.javascript;\nPrism.languages.abap={comment:/^\\*.*/m,string:/(`|')(\\\\?.)*?\\1/m,\"string-template\":{pattern:/(\\||\\})(\\\\?.)*?(?=\\||\\{)/,lookbehind:!0,alias:\"string\"},\"eol-comment\":{pattern:/(^|\\s)\".*/m,lookbehind:!0,alias:\"comment\"},keyword:{pattern:/(\\s|\\.|^)(?:SCIENTIFIC_WITH_LEADING_ZERO|SCALE_PRESERVING_SCIENTIFIC|RMC_COMMUNICATION_FAILURE|END-ENHANCEMENT-SECTION|MULTIPLY-CORRESPONDING|SUBTRACT-CORRESPONDING|VERIFICATION-MESSAGE|DIVIDE-CORRESPONDING|ENHANCEMENT-SECTION|CURRENCY_CONVERSION|RMC_SYSTEM_FAILURE|START-OF-SELECTION|MOVE-CORRESPONDING|RMC_INVALID_STATUS|CUSTOMER-FUNCTION|END-OF-DEFINITION|ENHANCEMENT-POINT|SYSTEM-EXCEPTIONS|ADD-CORRESPONDING|SCALE_PRESERVING|SELECTION-SCREEN|CURSOR-SELECTION|END-OF-SELECTION|LOAD-OF-PROGRAM|SCROLL-BOUNDARY|SELECTION-TABLE|EXCEPTION-TABLE|IMPLEMENTATIONS|PARAMETER-TABLE|RIGHT-JUSTIFIED|UNIT_CONVERSION|AUTHORITY-CHECK|LIST-PROCESSING|SIGN_AS_POSTFIX|COL_BACKGROUND|IMPLEMENTATION|INTERFACE-POOL|TRANSFORMATION|IDENTIFICATION|ENDENHANCEMENT|LINE-SELECTION|INITIALIZATION|LEFT-JUSTIFIED|SELECT-OPTIONS|SELECTION-SETS|COMMUNICATION|CORRESPONDING|DECIMAL_SHIFT|PRINT-CONTROL|VALUE-REQUEST|CHAIN-REQUEST|FUNCTION-POOL|FIELD-SYMBOLS|FUNCTIONALITY|INVERTED-DATE|SELECTION-SET|CLASS-METHODS|OUTPUT-LENGTH|CLASS-CODING|COL_NEGATIVE|ERRORMESSAGE|FIELD-GROUPS|HELP-REQUEST|NO-EXTENSION|NO-TOPOFPAGE|REDEFINITION|DISPLAY-MODE|ENDINTERFACE|EXIT-COMMAND|FIELD-SYMBOL|NO-SCROLLING|SHORTDUMP-ID|ACCESSPOLICY|CLASS-EVENTS|COL_POSITIVE|DECLARATIONS|ENHANCEMENTS|FILTER-TABLE|SWITCHSTATES|SYNTAX-CHECK|TRANSPORTING|ASYNCHRONOUS|SYNTAX-TRACE|TOKENIZATION|USER-COMMAND|WITH-HEADING|ABAP-SOURCE|BREAK-POINT|CHAIN-INPUT|COMPRESSION|FIXED-POINT|NEW-SECTION|NON-UNICODE|OCCURRENCES|RESPONSIBLE|SYSTEM-CALL|TRACE-TABLE|ABBREVIATED|CHAR-TO-HEX|END-OF-FILE|ENDFUNCTION|ENVIRONMENT|ASSOCIATION|COL_HEADING|EDITOR-CALL|END-OF-PAGE|ENGINEERING|IMPLEMENTED|INTENSIFIED|RADIOBUTTON|SYSTEM-EXIT|TOP-OF-PAGE|TRANSACTION|APPLICATION|CONCATENATE|DESTINATION|ENHANCEMENT|IMMEDIATELY|NO-GROUPING|PRECOMPILED|REPLACEMENT|TITLE-LINES|ACTIVATION|BYTE-ORDER|CLASS-POOL|CONNECTION|CONVERSION|DEFINITION|DEPARTMENT|EXPIRATION|INHERITING|MESSAGE-ID|NO-HEADING|PERFORMING|QUEUE-ONLY|RIGHTSPACE|SCIENTIFIC|STATUSINFO|STRUCTURES|SYNCPOINTS|WITH-TITLE|ATTRIBUTES|BOUNDARIES|CLASS-DATA|COL_NORMAL|DD\\/MM\\/YYYY|DESCENDING|INTERFACES|LINE-COUNT|MM\\/DD\\/YYYY|NON-UNIQUE|PRESERVING|SELECTIONS|STATEMENTS|SUBROUTINE|TRUNCATION|TYPE-POOLS|ARITHMETIC|BACKGROUND|ENDPROVIDE|EXCEPTIONS|IDENTIFIER|INDEX-LINE|OBLIGATORY|PARAMETERS|PERCENTAGE|PUSHBUTTON|RESOLUTION|COMPONENTS|DEALLOCATE|DISCONNECT|DUPLICATES|FIRST-LINE|HEAD-LINES|NO-DISPLAY|OCCURRENCE|RESPECTING|RETURNCODE|SUBMATCHES|TRACE-FILE|ASCENDING|BYPASSING|ENDMODULE|EXCEPTION|EXCLUDING|EXPORTING|INCREMENT|MATCHCODE|PARAMETER|PARTIALLY|PREFERRED|REFERENCE|REPLACING|RETURNING|SELECTION|SEPARATED|SPECIFIED|STATEMENT|TIMESTAMP|TYPE-POOL|ACCEPTING|APPENDAGE|ASSIGNING|COL_GROUP|COMPARING|CONSTANTS|DANGEROUS|IMPORTING|INSTANCES|LEFTSPACE|LOG-POINT|QUICKINFO|READ-ONLY|SCROLLING|SQLSCRIPT|STEP-LOOP|TOP-LINES|TRANSLATE|APPENDING|AUTHORITY|CHARACTER|COMPONENT|CONDITION|DIRECTORY|DUPLICATE|MESSAGING|RECEIVING|SUBSCREEN|ACCORDING|COL_TOTAL|END-LINES|ENDMETHOD|ENDSELECT|EXPANDING|EXTENSION|INCLUDING|INFOTYPES|INTERFACE|INTERVALS|LINE-SIZE|PF-STATUS|PROCEDURE|PROTECTED|REQUESTED|RESUMABLE|RIGHTPLUS|SAP-SPOOL|SECONDARY|STRUCTURE|SUBSTRING|TABLEVIEW|NUMOFCHAR|ADJACENT|ANALYSIS|ASSIGNED|BACKWARD|CHANNELS|CHECKBOX|CONTINUE|CRITICAL|DATAINFO|DD\\/MM\\/YY|DURATION|ENCODING|ENDCLASS|FUNCTION|LEFTPLUS|LINEFEED|MM\\/DD\\/YY|OVERFLOW|RECEIVED|SKIPPING|SORTABLE|STANDARD|SUBTRACT|SUPPRESS|TABSTRIP|TITLEBAR|TRUNCATE|UNASSIGN|WHENEVER|ANALYZER|COALESCE|COMMENTS|CONDENSE|DECIMALS|DEFERRED|ENDWHILE|EXPLICIT|KEYWORDS|MESSAGES|POSITION|PRIORITY|RECEIVER|RENAMING|TIMEZONE|TRAILING|ALLOCATE|CENTERED|CIRCULAR|CONTROLS|CURRENCY|DELETING|DESCRIBE|DISTANCE|ENDCATCH|EXPONENT|EXTENDED|GENERATE|IGNORING|INCLUDES|INTERNAL|MAJOR-ID|MODIFIER|NEW-LINE|OPTIONAL|PROPERTY|ROLLBACK|STARTING|SUPPLIED|ABSTRACT|CHANGING|CONTEXTS|CREATING|CUSTOMER|DATABASE|DAYLIGHT|DEFINING|DISTINCT|DIVISION|ENABLING|ENDCHAIN|ESCAPING|HARMLESS|IMPLICIT|INACTIVE|LANGUAGE|MINOR-ID|MULTIPLY|NEW-PAGE|NO-TITLE|POS_HIGH|SEPARATE|TEXTPOOL|TRANSFER|SELECTOR|DBMAXLEN|ITERATOR|SELECTOR|ARCHIVE|BIT-XOR|BYTE-CO|COLLECT|COMMENT|CURRENT|DEFAULT|DISPLAY|ENDFORM|EXTRACT|LEADING|LISTBOX|LOCATOR|MEMBERS|METHODS|NESTING|POS_LOW|PROCESS|PROVIDE|RAISING|RESERVE|SECONDS|SUMMARY|VISIBLE|BETWEEN|BIT-AND|BYTE-CS|CLEANUP|COMPUTE|CONTROL|CONVERT|DATASET|ENDCASE|FORWARD|HEADERS|HOTSPOT|INCLUDE|INVERSE|KEEPING|NO-ZERO|OBJECTS|OVERLAY|PADDING|PATTERN|PROGRAM|REFRESH|SECTION|SUMMING|TESTING|VERSION|WINDOWS|WITHOUT|BIT-NOT|BYTE-CA|BYTE-NA|CASTING|CONTEXT|COUNTRY|DYNAMIC|ENABLED|ENDLOOP|EXECUTE|FRIENDS|HANDLER|HEADING|INITIAL|\\*-INPUT|LOGFILE|MAXIMUM|MINIMUM|NO-GAPS|NO-SIGN|PRAGMAS|PRIMARY|PRIVATE|REDUCED|REPLACE|REQUEST|RESULTS|UNICODE|WARNING|ALIASES|BYTE-CN|BYTE-NS|CALLING|COL_KEY|COLUMNS|CONNECT|ENDEXEC|ENTRIES|EXCLUDE|FILTERS|FURTHER|HELP-ID|LOGICAL|MAPPING|MESSAGE|NAMETAB|OPTIONS|PACKAGE|PERFORM|RECEIVE|STATICS|VARYING|BINDING|CHARLEN|GREATER|XSTRLEN|ACCEPT|APPEND|DETAIL|ELSEIF|ENDING|ENDTRY|FORMAT|FRAMES|GIVING|HASHED|HEADER|IMPORT|INSERT|MARGIN|MODULE|NATIVE|OBJECT|OFFSET|REMOTE|RESUME|SAVING|SIMPLE|SUBMIT|TABBED|TOKENS|UNIQUE|UNPACK|UPDATE|WINDOW|YELLOW|ACTUAL|ASPECT|CENTER|CURSOR|DELETE|DIALOG|DIVIDE|DURING|ERRORS|EVENTS|EXTEND|FILTER|HANDLE|HAVING|IGNORE|LITTLE|MEMORY|NO-GAP|OCCURS|OPTION|PERSON|PLACES|PUBLIC|REDUCE|REPORT|RESULT|SINGLE|SORTED|SWITCH|SYNTAX|TARGET|VALUES|WRITER|ASSERT|BLOCKS|BOUNDS|BUFFER|CHANGE|COLUMN|COMMIT|CONCAT|COPIES|CREATE|DDMMYY|DEFINE|ENDIAN|ESCAPE|EXPAND|KERNEL|LAYOUT|LEGACY|LEVELS|MMDDYY|NUMBER|OUTPUT|RANGES|READER|RETURN|SCREEN|SEARCH|SELECT|SHARED|SOURCE|STABLE|STATIC|SUBKEY|SUFFIX|TABLES|UNWIND|YYMMDD|ASSIGN|BACKUP|BEFORE|BINARY|BIT-OR|BLANKS|CLIENT|CODING|COMMON|DEMAND|DYNPRO|EXCEPT|EXISTS|EXPORT|FIELDS|GLOBAL|GROUPS|LENGTH|LOCALE|MEDIUM|METHOD|MODIFY|NESTED|OTHERS|REJECT|SCROLL|SUPPLY|SYMBOL|ENDFOR|STRLEN|ALIGN|BEGIN|BOUND|ENDAT|ENTRY|EVENT|FINAL|FLUSH|GRANT|INNER|SHORT|USING|WRITE|AFTER|BLACK|BLOCK|CLOCK|COLOR|COUNT|DUMMY|EMPTY|ENDDO|ENDON|GREEN|INDEX|INOUT|LEAVE|LEVEL|LINES|MODIF|ORDER|OUTER|RANGE|RESET|RETRY|RIGHT|SMART|SPLIT|STYLE|TABLE|THROW|UNDER|UNTIL|UPPER|UTF-8|WHERE|ALIAS|BLANK|CLEAR|CLOSE|EXACT|FETCH|FIRST|FOUND|GROUP|LLANG|LOCAL|OTHER|REGEX|SPOOL|TITLE|TYPES|VALID|WHILE|ALPHA|BOXED|CATCH|CHAIN|CHECK|CLASS|COVER|ENDIF|EQUIV|FIELD|FLOOR|FRAME|INPUT|LOWER|MATCH|NODES|PAGES|PRINT|RAISE|ROUND|SHIFT|SPACE|SPOTS|STAMP|STATE|TASKS|TIMES|TRMAC|ULINE|UNION|VALUE|WIDTH|EQUAL|LOG10|TRUNC|BLOB|CASE|CEIL|CLOB|COND|EXIT|FILE|GAPS|HOLD|INCL|INTO|KEEP|KEYS|LAST|LINE|LONG|LPAD|MAIL|MODE|OPEN|PINK|READ|ROWS|TEST|THEN|ZERO|AREA|BACK|BADI|BYTE|CAST|EDIT|EXEC|FAIL|FIND|FKEQ|FONT|FREE|GKEQ|HIDE|INIT|ITNO|LATE|LOOP|MAIN|MARK|MOVE|NEXT|NULL|RISK|ROLE|UNIT|WAIT|ZONE|BASE|CALL|CODE|DATA|DATE|FKGE|GKGE|HIGH|KIND|LEFT|LIST|MASK|MESH|NAME|NODE|PACK|PAGE|POOL|SEND|SIGN|SIZE|SOME|STOP|TASK|TEXT|TIME|USER|VARY|WITH|WORD|BLUE|CONV|COPY|DEEP|ELSE|FORM|FROM|HINT|ICON|JOIN|LIKE|LOAD|ONLY|PART|SCAN|SKIP|SORT|TYPE|UNIX|VIEW|WHEN|WORK|ACOS|ASIN|ATAN|COSH|EACH|FRAC|LESS|RTTI|SINH|SQRT|TANH|AVG|BIT|DIV|ISO|LET|OUT|PAD|SQL|ALL|CI_|CPI|END|LOB|LPI|MAX|MIN|NEW|OLE|RUN|SET|\\?TO|YES|ABS|ADD|AND|BIG|FOR|HDB|JOB|LOW|NOT|SAP|TRY|VIA|XML|ANY|GET|IDS|KEY|MOD|OFF|PUT|RAW|RED|REF|SUM|TAB|XSD|CNT|COS|EXP|LOG|SIN|TAN|XOR|AT|CO|CP|DO|GT|ID|IF|NS|OR|BT|CA|CS|GE|NA|NB|EQ|IN|LT|NE|NO|OF|ON|PF|TO|AS|BY|CN|IS|LE|NP|UP|E|I|M|O|Z|C|X)\\b/i,lookbehind:!0},number:/\\b\\d+\\b/,operator:{pattern:/(\\s)(?:\\*\\*?|<[=>]?|>=?|\\?=|[-+\\/=])(?=\\s)/,lookbehind:!0},\"string-operator\":{pattern:/(\\s)&&?(?=\\s)/,lookbehind:!0,alias:\"keyword\"},\"token-operator\":[{pattern:/(\\w)(?:->?|=>|[~|{}])(?=\\w)/,lookbehind:!0,alias:\"punctuation\"},{pattern:/[|{}]/,alias:\"punctuation\"}],punctuation:/[,.:()]/};\nPrism.languages.actionscript=Prism.languages.extend(\"javascript\",{keyword:/\\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\\b/,operator:/\\+\\+|--|(?:[+\\-*\\/%^]|&&?|\\|\\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/}),Prism.languages.actionscript[\"class-name\"].alias=\"function\",Prism.languages.markup&&Prism.languages.insertBefore(\"actionscript\",\"string\",{xml:{pattern:/(^|[^.])<\\/?\\w+(?:\\s+[^\\s>\\/=]+=(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\2)*\\s*\\/?>/,lookbehind:!0,inside:{rest:Prism.languages.markup}}});\nPrism.languages.ada={comment:/--.*/,string:/\"(?:\"\"|[^\"\\r\\f\\n])*\"/i,number:[{pattern:/\\b\\d(?:_?\\d)*#[0-9A-F](?:_?[0-9A-F])*(?:\\.[0-9A-F](?:_?[0-9A-F])*)?#(?:E[+-]?\\d(?:_?\\d)*)?/i},{pattern:/\\b\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:E[+-]?\\d(?:_?\\d)*)?\\b/i}],\"attr-name\":/\\b'\\w+/i,keyword:/\\b(?:abort|abs|abstract|accept|access|aliased|all|and|array|at|begin|body|case|constant|declare|delay|delta|digits|do|else|new|return|elsif|end|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|not|null|of|others|out|overriding|package|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,operator:/<[=>]?|>=?|=>?|:=|\\/=?|\\*\\*?|[&+-]/,punctuation:/\\.\\.?|[,;():]/,\"char\":/'.'/,variable:/\\b[a-z](?:[_a-z\\d])*\\b/i};\nPrism.languages.apacheconf={comment:/#.*/,\"directive-inline\":{pattern:/^(\\s*)\\b(AcceptFilter|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding|AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch|Allow|AllowCONNECT|AllowEncodedSlashes|AllowMethods|AllowOverride|AllowOverrideList|Anonymous|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID|Anonymous_VerifyEmail|AsyncRequestWorkerFactor|AuthBasicAuthoritative|AuthBasicFake|AuthBasicProvider|AuthBasicUseDigestAlgorithm|AuthDBDUserPWQuery|AuthDBDUserRealmQuery|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm|AuthDigestDomain|AuthDigestNonceLifetime|AuthDigestProvider|AuthDigestQop|AuthDigestShmemSize|AuthFormAuthoritative|AuthFormBody|AuthFormDisableNoStore|AuthFormFakeBasicAuth|AuthFormLocation|AuthFormLoginRequiredLocation|AuthFormLoginSuccessLocation|AuthFormLogoutLocation|AuthFormMethod|AuthFormMimetype|AuthFormPassword|AuthFormProvider|AuthFormSitePassphrase|AuthFormSize|AuthFormUsername|AuthGroupFile|AuthLDAPAuthorizePrefix|AuthLDAPBindAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareAsUser|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPInitialBindAsUser|AuthLDAPInitialBindPattern|AuthLDAPMaxSubGroupDepth|AuthLDAPRemoteUserAttribute|AuthLDAPRemoteUserIsDN|AuthLDAPSearchAsUser|AuthLDAPSubGroupAttribute|AuthLDAPSubGroupClass|AuthLDAPUrl|AuthMerging|AuthName|AuthnCacheContext|AuthnCacheEnable|AuthnCacheProvideFor|AuthnCacheSOCache|AuthnCacheTimeout|AuthnzFcgiCheckAuthnProvider|AuthnzFcgiDefineProvider|AuthType|AuthUserFile|AuthzDBDLoginToReferer|AuthzDBDQuery|AuthzDBDRedirectQuery|AuthzDBMType|AuthzSendForbiddenOnFailure|BalancerGrowth|BalancerInherit|BalancerMember|BalancerPersist|BrowserMatch|BrowserMatchNoCase|BufferedLogs|BufferSize|CacheDefaultExpire|CacheDetailHeader|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheFile|CacheHeader|CacheIgnoreCacheControl|CacheIgnoreHeaders|CacheIgnoreNoLastMod|CacheIgnoreQueryString|CacheIgnoreURLSessionIdentifiers|CacheKeyBaseURL|CacheLastModifiedFactor|CacheLock|CacheLockMaxAge|CacheLockPath|CacheMaxExpire|CacheMaxFileSize|CacheMinExpire|CacheMinFileSize|CacheNegotiatedDocs|CacheQuickHandler|CacheReadSize|CacheReadTime|CacheRoot|CacheSocache|CacheSocacheMaxSize|CacheSocacheMaxTime|CacheSocacheMinTime|CacheSocacheReadSize|CacheSocacheReadTime|CacheStaleOnError|CacheStoreExpired|CacheStoreNoStore|CacheStorePrivate|CGIDScriptTimeout|CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckCaseOnly|CheckSpelling|ChrootDir|ContentDigest|CookieDomain|CookieExpires|CookieName|CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavGenericLockDB|DavLockDB|DavMinTimeout|DBDExptime|DBDInitSQL|DBDKeep|DBDMax|DBDMin|DBDParams|DBDPersist|DBDPrepareSQL|DBDriver|DefaultIcon|DefaultLanguage|DefaultRuntimeDir|DefaultType|Define|DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateInflateLimitRequestBody|DeflateInflateRatioBurst|DeflateInflateRatioLimit|DeflateMemLevel|DeflateWindowSize|Deny|DirectoryCheckHandler|DirectoryIndex|DirectoryIndexRedirect|DirectorySlash|DocumentRoot|DTracePrivileges|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|Error|ErrorDocument|ErrorLog|ErrorLogFormat|Example|ExpiresActive|ExpiresByType|ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FallbackResource|FileETag|FilterChain|FilterDeclare|FilterProtocol|FilterProvider|FilterTrace|ForceLanguagePriority|ForceType|ForensicLog|GprofDir|GracefulShutdownTimeout|Group|Header|HeaderName|HeartbeatAddress|HeartbeatListen|HeartbeatMaxServers|HeartbeatStorage|HeartbeatStorage|HostnameLookups|IdentityCheck|IdentityCheckTimeout|ImapBase|ImapDefault|ImapMenu|Include|IncludeOptional|IndexHeadInsert|IndexIgnore|IndexIgnoreReset|IndexOptions|IndexOrderDefault|IndexStyleSheet|InputSed|ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout|KeptBodySize|LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionPoolTTL|LDAPConnectionTimeout|LDAPLibraryDebug|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPReferralHopLimit|LDAPReferrals|LDAPRetries|LDAPRetryDelay|LDAPSharedCacheFile|LDAPSharedCacheSize|LDAPTimeout|LDAPTrustedClientCert|LDAPTrustedGlobalCert|LDAPTrustedMode|LDAPVerifyServerCert|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine|LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|LogFormat|LogLevel|LogMessage|LuaAuthzProvider|LuaCodeCache|LuaHookAccessChecker|LuaHookAuthChecker|LuaHookCheckUserID|LuaHookFixups|LuaHookInsertFilter|LuaHookLog|LuaHookMapToStorage|LuaHookTranslateName|LuaHookTypeChecker|LuaInherit|LuaInputFilter|LuaMapHandler|LuaOutputFilter|LuaPackageCPath|LuaPackagePath|LuaQuickHandler|LuaRoot|LuaScope|MaxConnectionsPerChild|MaxKeepAliveRequests|MaxMemFree|MaxRangeOverlaps|MaxRangeReversals|MaxRanges|MaxRequestWorkers|MaxSpareServers|MaxSpareThreads|MaxThreads|MergeTrailers|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads|MMapFile|ModemStandard|ModMimeUsePathInfo|MultiviewsMatch|Mutex|NameVirtualHost|NoProxy|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|OutputSed|PassEnv|PidFile|PrivilegesMode|Protocol|ProtocolEcho|ProxyAddHeaders|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyExpressDBMFile|ProxyExpressDBMType|ProxyExpressEnable|ProxyFtpDirCharset|ProxyFtpEscapeWildcards|ProxyFtpListOnWildcard|ProxyHTMLBufSize|ProxyHTMLCharsetOut|ProxyHTMLDocType|ProxyHTMLEnable|ProxyHTMLEvents|ProxyHTMLExtended|ProxyHTMLFixups|ProxyHTMLInterp|ProxyHTMLLinks|ProxyHTMLMeta|ProxyHTMLStripComments|ProxyHTMLURLMap|ProxyIOBufferSize|ProxyMaxForwards|ProxyPass|ProxyPassInherit|ProxyPassInterpolateEnv|ProxyPassMatch|ProxyPassReverse|ProxyPassReverseCookieDomain|ProxyPassReverseCookiePath|ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxySCGIInternalRedirect|ProxySCGISendfile|ProxySet|ProxySourceAddress|ProxyStatus|ProxyTimeout|ProxyVia|ReadmeName|ReceiveBufferSize|Redirect|RedirectMatch|RedirectPermanent|RedirectTemp|ReflectorHeader|RemoteIPHeader|RemoteIPInternalProxy|RemoteIPInternalProxyList|RemoteIPProxiesHeader|RemoteIPTrustedProxy|RemoteIPTrustedProxyList|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader|RequestReadTimeout|Require|RewriteBase|RewriteCond|RewriteEngine|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC|Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen|SeeRequestTail|SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|Session|SessionCookieName|SessionCookieName2|SessionCookieRemove|SessionCryptoCipher|SessionCryptoDriver|SessionCryptoPassphrase|SessionCryptoPassphraseFile|SessionDBDCookieName|SessionDBDCookieName2|SessionDBDCookieRemove|SessionDBDDeleteLabel|SessionDBDInsertLabel|SessionDBDPerUser|SessionDBDSelectLabel|SessionDBDUpdateLabel|SessionEnv|SessionExclude|SessionHeader|SessionInclude|SessionMaxAge|SetEnv|SetEnvIf|SetEnvIfExpr|SetEnvIfNoCase|SetHandler|SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIETag|SSILastModified|SSILegacyExprParser|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath|SSLCADNRequestFile|SSLCADNRequestPath|SSLCARevocationCheck|SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLCompression|SSLCryptoDevice|SSLEngine|SSLFIPS|SSLHonorCipherOrder|SSLInsecureRenegotiation|SSLOCSPDefaultResponder|SSLOCSPEnable|SSLOCSPOverrideResponder|SSLOCSPResponderTimeout|SSLOCSPResponseMaxAge|SSLOCSPResponseTimeSkew|SSLOCSPUseRequestNonce|SSLOpenSSLConfCmd|SSLOptions|SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationCheck|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCheckPeerCN|SSLProxyCheckPeerExpire|SSLProxyCheckPeerName|SSLProxyCipherSuite|SSLProxyEngine|SSLProxyMachineCertificateChainFile|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRenegBufferSize|SSLRequire|SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLSessionTicketKeyFile|SSLSRPUnknownUserSeed|SSLSRPVerifierFile|SSLStaplingCache|SSLStaplingErrorCacheTimeout|SSLStaplingFakeTryLater|SSLStaplingForceURL|SSLStaplingResponderTimeout|SSLStaplingResponseMaxAge|SSLStaplingResponseTimeSkew|SSLStaplingReturnResponderErrors|SSLStaplingStandardCacheTimeout|SSLStrictSNIVHostCheck|SSLUserName|SSLUseStapling|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|Substitute|Suexec|SuexecUserGroup|ThreadLimit|ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnDefine|UndefMacro|UnsetEnv|Use|UseCanonicalName|UseCanonicalPhysicalPort|User|UserDir|VHostCGIMode|VHostCGIPrivs|VHostGroup|VHostPrivs|VHostSecure|VHostUser|VirtualDocumentRoot|VirtualDocumentRootIP|VirtualScriptAlias|VirtualScriptAliasIP|WatchdogInterval|XBitHack|xml2EncAlias|xml2EncDefault|xml2StartParse)\\b/im,lookbehind:!0,alias:\"property\"},\"directive-block\":{pattern:/<\\/?\\b(AuthnProviderAlias|AuthzProviderAlias|Directory|DirectoryMatch|Else|ElseIf|Files|FilesMatch|If|IfDefine|IfModule|IfVersion|Limit|LimitExcept|Location|LocationMatch|Macro|Proxy|RequireAll|RequireAny|RequireNone|VirtualHost)\\b *.*>/i,inside:{\"directive-block\":{pattern:/^<\\/?\\w+/,inside:{punctuation:/^<\\/?/},alias:\"tag\"},\"directive-block-parameter\":{pattern:/.*[^>]/,inside:{punctuation:/:/,string:{pattern:/(\"|').*\\1/,inside:{variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/}}},alias:\"attr-value\"},punctuation:/>/},alias:\"tag\"},\"directive-flags\":{pattern:/\\[(\\w,?)+\\]/,alias:\"keyword\"},string:{pattern:/(\"|').*\\1/,inside:{variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/}},variable:/(\\$|%)\\{?(\\w\\.?(\\+|\\-|:)?)+\\}?/,regex:/\\^?.*\\$|\\^.*\\$?/};\nPrism.languages.apl={comment:/(?:⍝|#[! ]).*$/m,string:{pattern:/'(?:[^'\\r\\n]|'')*'/,greedy:!0},number:/¯?(?:\\d*\\.?\\d+(?:e[+¯]?\\d+)?|¯|∞)(?:j¯?(?:\\d*\\.?\\d+(?:e[\\+¯]?\\d+)?|¯|∞))?/i,statement:/:[A-Z][a-z][A-Za-z]*\\b/,\"system-function\":{pattern:/⎕[A-Z]+/i,alias:\"function\"},constant:/[⍬⌾#⎕⍞]/,\"function\":/[-+×÷⌈⌊∣|⍳⍸?*⍟○!⌹<≤=>≥≠≡≢∊⍷∪∩~∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⊆⊇⌷⍋⍒⊤⊥⍕⍎⊣⊢⍁⍂≈⍯↗¤→]/,\"monadic-operator\":{pattern:/[\\\\\\/⌿⍀¨⍨⌶&∥]/,alias:\"operator\"},\"dyadic-operator\":{pattern:/[.⍣⍠⍤∘⌸@⌺]/,alias:\"operator\"},assignment:{pattern:/←/,alias:\"keyword\"},punctuation:/[\\[;\\]()◇⋄]/,dfn:{pattern:/[{}⍺⍵⍶⍹∇⍫:]/,alias:\"builtin\"}};\nPrism.languages.applescript={comment:[/\\(\\*(?:\\(\\*[\\s\\S]*?\\*\\)|[\\s\\S])*?\\*\\)/,/--.+/,/#.+/],string:/\"(?:\\\\?.)*?\"/,number:/\\b-?\\d*\\.?\\d+([Ee]-?\\d+)?\\b/,operator:[/[&=≠≤≥*+\\-\\/÷^]|[<>]=?/,/\\b(?:(?:start|begin|end)s? with|(?:(?:does not|doesn't) contain|contains?)|(?:is|isn't|is not) (?:in|contained by)|(?:(?:is|isn't|is not) )?(?:greater|less) than(?: or equal)?(?: to)?|(?:(?:does not|doesn't) come|comes) (?:before|after)|(?:is|isn't|is not) equal(?: to)?|(?:(?:does not|doesn't) equal|equals|equal to|isn't|is not)|(?:a )?(?:ref(?: to)?|reference to)|(?:and|or|div|mod|as|not))\\b/],keyword:/\\b(?:about|above|after|against|apart from|around|aside from|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|continue|copy|does|eighth|else|end|equal|error|every|exit|false|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|instead of|into|is|it|its|last|local|me|middle|my|ninth|of|on|onto|out of|over|prop|property|put|repeat|return|returning|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|true|try|until|where|while|whose|with|without)\\b/,\"class\":{pattern:/\\b(?:alias|application|boolean|class|constant|date|file|integer|list|number|POSIX file|real|record|reference|RGB color|script|text|centimetres|centimeters|feet|inches|kilometres|kilometers|metres|meters|miles|yards|square feet|square kilometres|square kilometers|square metres|square meters|square miles|square yards|cubic centimetres|cubic centimeters|cubic feet|cubic inches|cubic metres|cubic meters|cubic yards|gallons|litres|liters|quarts|grams|kilograms|ounces|pounds|degrees Celsius|degrees Fahrenheit|degrees Kelvin)\\b/,alias:\"builtin\"},punctuation:/[{}():,¬«»《》]/};\n!function(a){var i={pattern:/(^[ \\t]*)\\[(?!\\[)(?:([\"'$`])(?:(?!\\2)[^\\\\]|\\\\.)*\\2|\\[(?:[^\\]\\\\]|\\\\.)*\\]|[^\\]\\\\]|\\\\.)*\\]/m,lookbehind:!0,inside:{quoted:{pattern:/([$`])(?:(?!\\1)[^\\\\]|\\\\.)*\\1/,inside:{punctuation:/^[$`]|[$`]$/}},interpreted:{pattern:/'(?:[^'\\\\]|\\\\.)*'/,inside:{punctuation:/^'|'$/}},string:/\"(?:[^\"\\\\]|\\\\.)*\"/,variable:/\\w+(?==)/,punctuation:/^\\[|\\]$|,/,operator:/=/,\"attr-value\":/(?!^\\s+$).+/}};a.languages.asciidoc={\"comment-block\":{pattern:/^(\\/{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1/m,alias:\"comment\"},table:{pattern:/^\\|={3,}(?:(?:\\r?\\n|\\r).*)*?(?:\\r?\\n|\\r)\\|={3,}$/m,inside:{specifiers:{pattern:/(?!\\|)(?:(?:(?:\\d+(?:\\.\\d+)?|\\.\\d+)[+*])?(?:[<^>](?:\\.[<^>])?|\\.[<^>])?[a-z]*)(?=\\|)/,alias:\"attr-value\"},punctuation:{pattern:/(^|[^\\\\])[|!]=*/,lookbehind:!0}}},\"passthrough-block\":{pattern:/^(\\+{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^\\++|\\++$/}},\"literal-block\":{pattern:/^(-{4,}|\\.{4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^(?:-+|\\.+)|(?:-+|\\.+)$/}},\"other-block\":{pattern:/^(--|\\*{4,}|_{4,}|={4,})(?:\\r?\\n|\\r)(?:[\\s\\S]*(?:\\r?\\n|\\r))??\\1$/m,inside:{punctuation:/^(?:-+|\\*+|_+|=+)|(?:-+|\\*+|_+|=+)$/}},\"list-punctuation\":{pattern:/(^[ \\t]*)(?:-|\\*{1,5}|\\.{1,5}|(?:[a-z]|\\d+)\\.|[xvi]+\\))(?= )/im,lookbehind:!0,alias:\"punctuation\"},\"list-label\":{pattern:/(^[ \\t]*)[a-z\\d].+(?::{2,4}|;;)(?=\\s)/im,lookbehind:!0,alias:\"symbol\"},\"indented-block\":{pattern:/((\\r?\\n|\\r)\\2)([ \\t]+)\\S.*(?:(?:\\r?\\n|\\r)\\3.+)*(?=\\2{2}|$)/,lookbehind:!0},comment:/^\\/\\/.*/m,title:{pattern:/^.+(?:\\r?\\n|\\r)(?:={3,}|-{3,}|~{3,}|\\^{3,}|\\+{3,})$|^={1,5} +.+|^\\.(?![\\s.]).*/m,alias:\"important\",inside:{punctuation:/^(?:\\.|=+)|(?:=+|-+|~+|\\^+|\\++)$/}},\"attribute-entry\":{pattern:/^:[^:\\r\\n]+:(?: .*?(?: \\+(?:\\r?\\n|\\r).*?)*)?$/m,alias:\"tag\"},attributes:i,hr:{pattern:/^'{3,}$/m,alias:\"punctuation\"},\"page-break\":{pattern:/^<{3,}$/m,alias:\"punctuation\"},admonition:{pattern:/^(?:TIP|NOTE|IMPORTANT|WARNING|CAUTION):/m,alias:\"keyword\"},callout:[{pattern:/(^[ \\t]*)<?\\d*>/m,lookbehind:!0,alias:\"symbol\"},{pattern:/<\\d+>/,alias:\"symbol\"}],macro:{pattern:/\\b[a-z\\d][a-z\\d-]*::?(?:(?:\\S+)??\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1|\\\\.)*\\])/,inside:{\"function\":/^[a-z\\d-]+(?=:)/,punctuation:/^::?/,attributes:{pattern:/(?:\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*\\1|\\\\.)*\\])/,inside:i.inside}}},inline:{pattern:/(^|[^\\\\])(?:(?:\\B\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\2)[^\\\\]|\\\\.)*\\2|\\\\.)*\\])?(?:\\b_(?!\\s)(?: _|[^_\\\\\\r\\n]|\\\\.)+(?:(?:\\r?\\n|\\r)(?: _|[^_\\\\\\r\\n]|\\\\.)+)*_\\b|\\B``(?!\\s).+?(?:(?:\\r?\\n|\\r).+?)*''\\B|\\B`(?!\\s)(?: ['`]|.)+?(?:(?:\\r?\\n|\\r)(?: ['`]|.)+?)*['`]\\B|\\B(['*+#])(?!\\s)(?: \\3|(?!\\3)[^\\\\\\r\\n]|\\\\.)+(?:(?:\\r?\\n|\\r)(?: \\3|(?!\\3)[^\\\\\\r\\n]|\\\\.)+)*\\3\\B)|(?:\\[(?:[^\\]\\\\\"]|([\"'])(?:(?!\\4)[^\\\\]|\\\\.)*\\4|\\\\.)*\\])?(?:(__|\\*\\*|\\+\\+\\+?|##|\\$\\$|[~^]).+?(?:(?:\\r?\\n|\\r).+?)*\\5|\\{[^}\\r\\n]+\\}|\\[\\[\\[?.+?(?:(?:\\r?\\n|\\r).+?)*\\]?\\]\\]|<<.+?(?:(?:\\r?\\n|\\r).+?)*>>|\\(\\(\\(?.+?(?:(?:\\r?\\n|\\r).+?)*\\)?\\)\\)))/m,lookbehind:!0,inside:{attributes:i,url:{pattern:/^(?:\\[\\[\\[?.+?\\]?\\]\\]|<<.+?>>)$/,inside:{punctuation:/^(?:\\[\\[\\[?|<<)|(?:\\]\\]\\]?|>>)$/}},\"attribute-ref\":{pattern:/^\\{.+\\}$/,inside:{variable:{pattern:/(^\\{)[a-z\\d,+_-]+/,lookbehind:!0},operator:/^[=?!#%@$]|!(?=[:}])/,punctuation:/^\\{|\\}$|::?/}},italic:{pattern:/^(['_])[\\s\\S]+\\1$/,inside:{punctuation:/^(?:''?|__?)|(?:''?|__?)$/}},bold:{pattern:/^\\*[\\s\\S]+\\*$/,inside:{punctuation:/^\\*\\*?|\\*\\*?$/}},punctuation:/^(?:``?|\\+{1,3}|##?|\\$\\$|[~^]|\\(\\(\\(?)|(?:''?|\\+{1,3}|##?|\\$\\$|[~^`]|\\)?\\)\\))$/}},replacement:{pattern:/\\((?:C|TM|R)\\)/,alias:\"builtin\"},entity:/&#?[\\da-z]{1,8};/i,\"line-continuation\":{pattern:/(^| )\\+$/m,lookbehind:!0,alias:\"punctuation\"}},i.inside.interpreted.inside.rest={macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity},a.languages.asciidoc[\"passthrough-block\"].inside.rest={macro:a.languages.asciidoc.macro},a.languages.asciidoc[\"literal-block\"].inside.rest={callout:a.languages.asciidoc.callout},a.languages.asciidoc.table.inside.rest={\"comment-block\":a.languages.asciidoc[\"comment-block\"],\"passthrough-block\":a.languages.asciidoc[\"passthrough-block\"],\"literal-block\":a.languages.asciidoc[\"literal-block\"],\"other-block\":a.languages.asciidoc[\"other-block\"],\"list-punctuation\":a.languages.asciidoc[\"list-punctuation\"],\"indented-block\":a.languages.asciidoc[\"indented-block\"],comment:a.languages.asciidoc.comment,title:a.languages.asciidoc.title,\"attribute-entry\":a.languages.asciidoc[\"attribute-entry\"],attributes:a.languages.asciidoc.attributes,hr:a.languages.asciidoc.hr,\"page-break\":a.languages.asciidoc[\"page-break\"],admonition:a.languages.asciidoc.admonition,\"list-label\":a.languages.asciidoc[\"list-label\"],callout:a.languages.asciidoc.callout,macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity,\"line-continuation\":a.languages.asciidoc[\"line-continuation\"]},a.languages.asciidoc[\"other-block\"].inside.rest={table:a.languages.asciidoc.table,\"list-punctuation\":a.languages.asciidoc[\"list-punctuation\"],\"indented-block\":a.languages.asciidoc[\"indented-block\"],comment:a.languages.asciidoc.comment,\"attribute-entry\":a.languages.asciidoc[\"attribute-entry\"],attributes:a.languages.asciidoc.attributes,hr:a.languages.asciidoc.hr,\"page-break\":a.languages.asciidoc[\"page-break\"],admonition:a.languages.asciidoc.admonition,\"list-label\":a.languages.asciidoc[\"list-label\"],macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity,\"line-continuation\":a.languages.asciidoc[\"line-continuation\"]},a.languages.asciidoc.title.inside.rest={macro:a.languages.asciidoc.macro,inline:a.languages.asciidoc.inline,replacement:a.languages.asciidoc.replacement,entity:a.languages.asciidoc.entity},a.hooks.add(\"wrap\",function(a){\"entity\"===a.type&&(a.attributes.title=a.content.replace(/&amp;/,\"&\"))})}(Prism);\nPrism.languages.aspnet=Prism.languages.extend(\"markup\",{\"page-directive tag\":{pattern:/<%\\s*@.*%>/i,inside:{\"page-directive tag\":/<%\\s*@\\s*(?:Assembly|Control|Implements|Import|Master(?:Type)?|OutputCache|Page|PreviousPageType|Reference|Register)?|%>/i,rest:Prism.languages.markup.tag.inside}},\"directive tag\":{pattern:/<%.*%>/i,inside:{\"directive tag\":/<%\\s*?[$=%#:]{0,2}|%>/i,rest:Prism.languages.csharp}}}),Prism.languages.aspnet.tag.pattern=/<(?!%)\\/?[^\\s>\\/]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,Prism.languages.insertBefore(\"inside\",\"punctuation\",{\"directive tag\":Prism.languages.aspnet[\"directive tag\"]},Prism.languages.aspnet.tag.inside[\"attr-value\"]),Prism.languages.insertBefore(\"aspnet\",\"comment\",{\"asp comment\":/<%--[\\s\\S]*?--%>/}),Prism.languages.insertBefore(\"aspnet\",Prism.languages.javascript?\"script\":\"tag\",{\"asp script\":{pattern:/(<script(?=.*runat=['\"]?server['\"]?)[\\s\\S]*?>)[\\s\\S]*?(?=<\\/script>)/i,lookbehind:!0,inside:Prism.languages.csharp||{}}});\nPrism.languages.autoit={comment:[/;.*/,{pattern:/(^\\s*)#(?:comments-start|cs)[\\s\\S]*?^\\s*#(?:comments-end|ce)/m,lookbehind:!0}],url:{pattern:/(^\\s*#include\\s+)(?:<[^\\r\\n>]+>|\"[^\\r\\n\"]+\")/m,lookbehind:!0},string:{pattern:/([\"'])(?:\\1\\1|(?!\\1)[^\\r\\n])*\\1/,greedy:!0,inside:{variable:/([%$@])\\w+\\1/}},directive:{pattern:/(^\\s*)#\\w+/m,lookbehind:!0,alias:\"keyword\"},\"function\":/\\b\\w+(?=\\()/,variable:/[$@]\\w+/,keyword:/\\b(?:Case|Const|Continue(?:Case|Loop)|Default|Dim|Do|Else(?:If)?|End(?:Func|If|Select|Switch|With)|Enum|Exit(?:Loop)?|For|Func|Global|If|In|Local|Next|Null|ReDim|Select|Static|Step|Switch|Then|To|Until|Volatile|WEnd|While|With)\\b/i,number:/\\b(?:0x[\\da-f]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)\\b/i,\"boolean\":/\\b(?:True|False)\\b/i,operator:/<[=>]?|[-+*\\/=&>]=?|[?^]|\\b(?:And|Or|Not)\\b/i,punctuation:/[\\[\\]().,:]/};\nPrism.languages.autohotkey={comment:{pattern:/(^[^\";\\n]*(\"[^\"\\n]*?\"[^\"\\n]*?)*)(;.*$|^\\s*\\/\\*[\\s\\S]*\\n\\*\\/)/m,lookbehind:!0},string:/\"(([^\"\\n\\r]|\"\")*)\"/m,\"function\":/[^\\(\\); \\t,\\n\\+\\*\\-=\\?>:\\\\\\/<&%\\[\\]]+?(?=\\()/m,tag:/^[ \\t]*[^\\s:]+?(?=:(?:[^:]|$))/m,variable:/%\\w+%/,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee]-?\\d+)?)\\b/,operator:/\\?|\\/\\/?=?|:=|\\|[=|]?|&[=&]?|\\+[=+]?|-[=-]?|\\*[=*]?|<(?:<=?|>|=)?|>>?=?|[.^!=~]=?|\\b(?:AND|NOT|OR)\\b/,punctuation:/[\\{}[\\]\\(\\):,]/,\"boolean\":/\\b(true|false)\\b/,selector:/\\b(AutoTrim|BlockInput|Break|Click|ClipWait|Continue|Control|ControlClick|ControlFocus|ControlGet|ControlGetFocus|ControlGetPos|ControlGetText|ControlMove|ControlSend|ControlSendRaw|ControlSetText|CoordMode|Critical|DetectHiddenText|DetectHiddenWindows|Drive|DriveGet|DriveSpaceFree|EnvAdd|EnvDiv|EnvGet|EnvMult|EnvSet|EnvSub|EnvUpdate|Exit|ExitApp|FileAppend|FileCopy|FileCopyDir|FileCreateDir|FileCreateShortcut|FileDelete|FileEncoding|FileGetAttrib|FileGetShortcut|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileMoveDir|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileRemoveDir|FileSelectFile|FileSelectFolder|FileSetAttrib|FileSetTime|FormatTime|GetKeyState|Gosub|Goto|GroupActivate|GroupAdd|GroupClose|GroupDeactivate|Gui|GuiControl|GuiControlGet|Hotkey|ImageSearch|IniDelete|IniRead|IniWrite|Input|InputBox|KeyWait|ListHotkeys|ListLines|ListVars|Loop|Menu|MouseClick|MouseClickDrag|MouseGetPos|MouseMove|MsgBox|OnExit|OutputDebug|Pause|PixelGetColor|PixelSearch|PostMessage|Process|Progress|Random|RegDelete|RegRead|RegWrite|Reload|Repeat|Return|Run|RunAs|RunWait|Send|SendEvent|SendInput|SendMessage|SendMode|SendPlay|SendRaw|SetBatchLines|SetCapslockState|SetControlDelay|SetDefaultMouseSpeed|SetEnv|SetFormat|SetKeyDelay|SetMouseDelay|SetNumlockState|SetScrollLockState|SetStoreCapslockMode|SetTimer|SetTitleMatchMode|SetWinDelay|SetWorkingDir|Shutdown|Sleep|Sort|SoundBeep|SoundGet|SoundGetWaveVolume|SoundPlay|SoundSet|SoundSetWaveVolume|SplashImage|SplashTextOff|SplashTextOn|SplitPath|StatusBarGetText|StatusBarWait|StringCaseSense|StringGetPos|StringLeft|StringLen|StringLower|StringMid|StringReplace|StringRight|StringSplit|StringTrimLeft|StringTrimRight|StringUpper|Suspend|SysGet|Thread|ToolTip|Transform|TrayTip|URLDownloadToFile|WinActivate|WinActivateBottom|WinClose|WinGet|WinGetActiveStats|WinGetActiveTitle|WinGetClass|WinGetPos|WinGetText|WinGetTitle|WinHide|WinKill|WinMaximize|WinMenuSelectItem|WinMinimize|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinRestore|WinSet|WinSetTitle|WinShow|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\\b/i,constant:/\\b(a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|programfiles|a_programfiles|a_programs|a_programscommon|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel)\\b/i,builtin:/\\b(abs|acos|asc|asin|atan|ceil|chr|class|cos|dllcall|exp|fileexist|Fileopen|floor|il_add|il_create|il_destroy|instr|substr|isfunc|islabel|IsObject|ln|log|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|registercallback|regexmatch|regexreplace|round|sin|tan|sqrt|strlen|sb_seticon|sb_setparts|sb_settext|strsplit|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist|__New|__Call|__Get|__Set)\\b/i,symbol:/\\b(alt|altdown|altup|appskey|backspace|browser_back|browser_favorites|browser_forward|browser_home|browser_refresh|browser_search|browser_stop|bs|capslock|ctrl|ctrlbreak|ctrldown|ctrlup|del|delete|down|end|enter|esc|escape|f1|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f2|f20|f21|f22|f23|f24|f3|f4|f5|f6|f7|f8|f9|home|ins|insert|joy1|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy2|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy3|joy30|joy31|joy32|joy4|joy5|joy6|joy7|joy8|joy9|joyaxes|joybuttons|joyinfo|joyname|joypov|joyr|joyu|joyv|joyx|joyy|joyz|lalt|launch_app1|launch_app2|launch_mail|launch_media|lbutton|lcontrol|lctrl|left|lshift|lwin|lwindown|lwinup|mbutton|media_next|media_play_pause|media_prev|media_stop|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadadd|numpadclear|numpaddel|numpaddiv|numpaddot|numpaddown|numpadend|numpadenter|numpadhome|numpadins|numpadleft|numpadmult|numpadpgdn|numpadpgup|numpadright|numpadsub|numpadup|pgdn|pgup|printscreen|ralt|rbutton|rcontrol|rctrl|right|rshift|rwin|rwindown|rwinup|scrolllock|shift|shiftdown|shiftup|space|tab|up|volume_down|volume_mute|volume_up|wheeldown|wheelleft|wheelright|wheelup|xbutton1|xbutton2)\\b/i,important:/#\\b(AllowSameLineComments|ClipboardTimeout|CommentFlag|ErrorStdOut|EscapeChar|HotkeyInterval|HotkeyModifierTimeout|Hotstring|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Include|IncludeAgain|InstallKeybdHook|InstallMouseHook|KeyHistory|LTrim|MaxHotkeysPerInterval|MaxMem|MaxThreads|MaxThreadsBuffer|MaxThreadsPerHotkey|NoEnv|NoTrayIcon|Persistent|SingleInstance|UseHook|WinActivateForce)\\b/i,keyword:/\\b(Abort|AboveNormal|Add|ahk_class|ahk_group|ahk_id|ahk_pid|All|Alnum|Alpha|AltSubmit|AltTab|AltTabAndMenu|AltTabMenu|AltTabMenuDismiss|AlwaysOnTop|AutoSize|Background|BackgroundTrans|BelowNormal|between|BitAnd|BitNot|BitOr|BitShiftLeft|BitShiftRight|BitXOr|Bold|Border|Button|ByRef|Checkbox|Checked|CheckedGray|Choose|ChooseString|Close|Color|ComboBox|Contains|ControlList|Count|Date|DateTime|Days|DDL|Default|DeleteAll|Delimiter|Deref|Destroy|Digit|Disable|Disabled|DropDownList|Edit|Eject|Else|Enable|Enabled|Error|Exist|Expand|ExStyle|FileSystem|First|Flash|Float|FloatFast|Focus|Font|for|global|Grid|Group|GroupBox|GuiClose|GuiContextMenu|GuiDropFiles|GuiEscape|GuiSize|Hdr|Hidden|Hide|High|HKCC|HKCR|HKCU|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_LOCAL_MACHINE|HKEY_USERS|HKLM|HKU|Hours|HScroll|Icon|IconSmall|ID|IDLast|If|IfEqual|IfExist|IfGreater|IfGreaterOrEqual|IfInString|IfLess|IfLessOrEqual|IfMsgBox|IfNotEqual|IfNotExist|IfNotInString|IfWinActive|IfWinExist|IfWinNotActive|IfWinNotExist|Ignore|ImageList|in|Integer|IntegerFast|Interrupt|is|italic|Join|Label|LastFound|LastFoundExist|Limit|Lines|List|ListBox|ListView|local|Lock|Logoff|Low|Lower|Lowercase|MainWindow|Margin|Maximize|MaximizeBox|MaxSize|Minimize|MinimizeBox|MinMax|MinSize|Minutes|MonthCal|Mouse|Move|Multi|NA|No|NoActivate|NoDefault|NoHide|NoIcon|NoMainWindow|norm|Normal|NoSort|NoSortHdr|NoStandard|Not|NoTab|NoTimers|Number|Off|Ok|On|OwnDialogs|Owner|Parse|Password|Picture|Pixel|Pos|Pow|Priority|ProcessName|Radio|Range|Read|ReadOnly|Realtime|Redraw|REG_BINARY|REG_DWORD|REG_EXPAND_SZ|REG_MULTI_SZ|REG_SZ|Region|Relative|Rename|Report|Resize|Restore|Retry|RGB|Screen|Seconds|Section|Serial|SetLabel|ShiftAltTab|Show|Single|Slider|SortDesc|Standard|static|Status|StatusBar|StatusCD|strike|Style|Submit|SysMenu|Tab2|TabStop|Text|Theme|Tile|ToggleCheck|ToggleEnable|ToolWindow|Top|Topmost|TransColor|Transparent|Tray|TreeView|TryAgain|Type|UnCheck|underline|Unicode|Unlock|UpDown|Upper|Uppercase|UseErrorLevel|Vis|VisFirst|Visible|VScroll|Wait|WaitClose|WantCtrlA|WantF2|WantReturn|While|Wrap|Xdigit|xm|xp|xs|Yes|ym|yp|ys)\\b/i};\n!function(e){var t={variable:[{pattern:/\\$?\\(\\([\\s\\S]+?\\)\\)/,inside:{variable:[{pattern:/(^\\$\\(\\([\\s\\S]+)\\)\\)/,lookbehind:!0},/^\\$\\(\\(/],number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee]-?\\d+)?)\\b/,operator:/--?|-=|\\+\\+?|\\+=|!=?|~|\\*\\*?|\\*=|\\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\\^=?|\\|\\|?|\\|=|\\?|:/,punctuation:/\\(\\(?|\\)\\)?|,|;/}},{pattern:/\\$\\([^)]+\\)|`[^`]+`/,inside:{variable:/^\\$\\(|^`|\\)$|`$/}},/\\$(?:[a-z0-9_#\\?\\*!@]+|\\{[^}]+\\})/i]};e.languages.bash={shebang:{pattern:/^#!\\s*\\/bin\\/bash|^#!\\s*\\/bin\\/sh/,alias:\"important\"},comment:{pattern:/(^|[^\"{\\\\])#.*/,lookbehind:!0},string:[{pattern:/((?:^|[^<])<<\\s*)(?:\"|')?(\\w+?)(?:\"|')?\\s*\\r?\\n(?:[\\s\\S])*?\\r?\\n\\2/g,lookbehind:!0,greedy:!0,inside:t},{pattern:/([\"'])(?:\\\\\\\\|\\\\?[^\\\\])*?\\1/g,greedy:!0,inside:t}],variable:t.variable,\"function\":{pattern:/(^|\\s|;|\\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|npm|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\\s|;|\\||&)/,lookbehind:!0},keyword:{pattern:/(^|\\s|;|\\||&)(?:let|:|\\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\\s|;|\\||&)/,lookbehind:!0},\"boolean\":{pattern:/(^|\\s|;|\\||&)(?:true|false)(?=$|\\s|;|\\||&)/,lookbehind:!0},operator:/&&?|\\|\\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,punctuation:/\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];]/};var a=t.variable[1].inside;a[\"function\"]=e.languages.bash[\"function\"],a.keyword=e.languages.bash.keyword,a.boolean=e.languages.bash.boolean,a.operator=e.languages.bash.operator,a.punctuation=e.languages.bash.punctuation}(Prism);\nPrism.languages.basic={string:/\"(?:\"\"|[!#$%&'()*,\\/:;<=>?^_ +\\-.A-Z\\d])*\"/i,comment:{pattern:/(?:!|REM\\b).+/i,inside:{keyword:/^REM/i}},number:/(?:\\b|\\B[.-])(?:\\d+\\.?\\d*)(?:E[+-]?\\d+)?/i,keyword:/\\b(?:AS|BEEP|BLOAD|BSAVE|CALL(?: ABSOLUTE)?|CASE|CHAIN|CHDIR|CLEAR|CLOSE|CLS|COM|COMMON|CONST|DATA|DECLARE|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DIM|DO|DOUBLE|ELSE|ELSEIF|END|ENVIRON|ERASE|ERROR|EXIT|FIELD|FILES|FOR|FUNCTION|GET|GOSUB|GOTO|IF|INPUT|INTEGER|IOCTL|KEY|KILL|LINE INPUT|LOCATE|LOCK|LONG|LOOP|LSET|MKDIR|NAME|NEXT|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPEN|OPTION BASE|OUT|POKE|PUT|READ|REDIM|REM|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SHARED|SINGLE|SELECT CASE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|SUB|SWAP|SYSTEM|THEN|TIMER|TO|TROFF|TRON|TYPE|UNLOCK|UNTIL|USING|VIEW PRINT|WAIT|WEND|WHILE|WRITE)(?:\\$|\\b)/i,\"function\":/\\b(?:ABS|ACCESS|ACOS|ANGLE|AREA|ARITHMETIC|ARRAY|ASIN|ASK|AT|ATN|BASE|BEGIN|BREAK|CAUSE|CEIL|CHR|CLIP|COLLATE|COLOR|CON|COS|COSH|COT|CSC|DATE|DATUM|DEBUG|DECIMAL|DEF|DEG|DEGREES|DELETE|DET|DEVICE|DISPLAY|DOT|ELAPSED|EPS|ERASABLE|EXLINE|EXP|EXTERNAL|EXTYPE|FILETYPE|FIXED|FP|GO|GRAPH|HANDLER|IDN|IMAGE|IN|INT|INTERNAL|IP|IS|KEYED|LBOUND|LCASE|LEFT|LEN|LENGTH|LET|LINE|LINES|LOG|LOG10|LOG2|LTRIM|MARGIN|MAT|MAX|MAXNUM|MID|MIN|MISSING|MOD|NATIVE|NUL|NUMERIC|OF|OPTION|ORD|ORGANIZATION|OUTIN|OUTPUT|PI|POINT|POINTER|POINTS|POS|PRINT|PROGRAM|PROMPT|RAD|RADIANS|RANDOMIZE|RECORD|RECSIZE|RECTYPE|RELATIVE|REMAINDER|REPEAT|REST|RETRY|REWRITE|RIGHT|RND|ROUND|RTRIM|SAME|SEC|SELECT|SEQUENTIAL|SET|SETTER|SGN|SIN|SINH|SIZE|SKIP|SQR|STANDARD|STATUS|STR|STREAM|STYLE|TAB|TAN|TANH|TEMPLATE|TEXT|THERE|TIME|TIMEOUT|TRACE|TRANSFORM|TRUNCATE|UBOUND|UCASE|USE|VAL|VARIABLE|VIEWPORT|WHEN|WINDOW|WITH|ZER|ZONEWIDTH)(?:\\$|\\b)/i,operator:/<[=>]?|>=?|[+\\-*\\/^=&]|\\b(?:AND|EQV|IMP|NOT|OR|XOR)\\b/i,punctuation:/[,;:()]/};\n!function(e){var r=/%%?[~:\\w]+%?|!\\S+!/,t={pattern:/\\/[a-z?]+(?=[ :]|$):?|-[a-z]\\b|--[a-z-]+\\b/im,alias:\"attr-name\",inside:{punctuation:/:/}},n=/\"[^\"]*\"/,i=/(?:\\b|-)\\d+\\b/;e.languages.batch={comment:[/^::.*/m,{pattern:/((?:^|[&(])[ \\t]*)rem\\b(?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0}],label:{pattern:/^:.*/m,alias:\"property\"},command:[{pattern:/((?:^|[&(])[ \\t]*)for(?: ?\\/[a-z?](?:[ :](?:\"[^\"]*\"|\\S+))?)* \\S+ in \\([^)]+\\) do/im,lookbehind:!0,inside:{keyword:/^for\\b|\\b(?:in|do)\\b/i,string:n,parameter:t,variable:r,number:i,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \\t]*)if(?: ?\\/[a-z?](?:[ :](?:\"[^\"]*\"|\\S+))?)* (?:not )?(?:cmdextversion \\d+|defined \\w+|errorlevel \\d+|exist \\S+|(?:\"[^\"]*\"|\\S+)?(?:==| (?:equ|neq|lss|leq|gtr|geq) )(?:\"[^\"]*\"|\\S+))/im,lookbehind:!0,inside:{keyword:/^if\\b|\\b(?:not|cmdextversion|defined|errorlevel|exist)\\b/i,string:n,parameter:t,variable:r,number:i,operator:/\\^|==|\\b(?:equ|neq|lss|leq|gtr|geq)\\b/i}},{pattern:/((?:^|[&()])[ \\t]*)else\\b/im,lookbehind:!0,inside:{keyword:/^else\\b/i}},{pattern:/((?:^|[&(])[ \\t]*)set(?: ?\\/[a-z](?:[ :](?:\"[^\"]*\"|\\S+))?)* (?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,inside:{keyword:/^set\\b/i,string:n,parameter:t,variable:[r,/\\w+(?=(?:[*\\/%+\\-&^|]|<<|>>)?=)/],number:i,operator:/[*\\/%+\\-&^|]=?|<<=?|>>=?|[!~_=]/,punctuation:/[()',]/}},{pattern:/((?:^|[&(])[ \\t]*@?)\\w+\\b(?:[^^&)\\r\\n]|\\^(?:\\r\\n|[\\s\\S]))*/im,lookbehind:!0,inside:{keyword:/^\\w+\\b/i,string:n,parameter:t,label:{pattern:/(^\\s*):\\S+/m,lookbehind:!0,alias:\"property\"},variable:r,number:i,operator:/\\^/}}],operator:/[&@]/,punctuation:/[()']/}}(Prism);\nPrism.languages.c=Prism.languages.extend(\"clike\",{keyword:/\\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\\b/,operator:/\\-[>-]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|?\\||[~^%?*\\/]/,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)[ful]*\\b/i}),Prism.languages.insertBefore(\"c\",\"string\",{macro:{pattern:/(^\\s*)#\\s*[a-z]+([^\\r\\n\\\\]|\\\\.|\\\\(?:\\r\\n?|\\n))*/im,lookbehind:!0,alias:\"property\",inside:{string:{pattern:/(#\\s*include\\s*)(<.+?>|(\"|')(\\\\?.)+?\\3)/,lookbehind:!0},directive:{pattern:/(#\\s*)\\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\\b/,lookbehind:!0,alias:\"keyword\"}}},constant:/\\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\\b/}),delete Prism.languages.c[\"class-name\"],delete Prism.languages.c[\"boolean\"];\nPrism.languages.brainfuck={pointer:{pattern:/<|>/,alias:\"keyword\"},increment:{pattern:/\\+/,alias:\"inserted\"},decrement:{pattern:/-/,alias:\"deleted\"},branching:{pattern:/\\[|\\]/,alias:\"important\"},operator:/[.,]/,comment:/\\S+/};\nPrism.languages.bro={comment:{pattern:/(^|[^\\\\$])#.*/,lookbehind:!0,inside:{italic:/\\b(TODO|FIXME|XXX)\\b/}},string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},\"boolean\":/\\b(T|F)\\b/,\"function\":{pattern:/(?:function|hook|event) [a-zA-Z0-9_]+(::[a-zA-Z0-9_]+)?/,inside:{keyword:/^(?:function|hook|event)/}},variable:{pattern:/(?:global|local) [a-zA-Z0-9_]+/i,inside:{keyword:/(?:global|local)/}},builtin:/(@(load(-(sigs|plugin))?|unload|prefixes|ifn?def|else|(end)?if|DIR|FILENAME))|(&?(redef|priority|log|optional|default|add_func|delete_func|expire_func|read_expire|write_expire|create_expire|synchronized|persistent|rotate_interval|rotate_size|encrypt|raw_output|mergeable|group|error_handler|type_column))/,constant:{pattern:/const [a-zA-Z0-9_]+/i,inside:{keyword:/const/}},keyword:/\\b(break|next|continue|alarm|using|of|add|delete|export|print|return|schedule|when|timeout|addr|any|bool|count|double|enum|file|int|interval|pattern|opaque|port|record|set|string|subnet|table|time|vector|for|if|else|in|module|function)\\b/,operator:/--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,number:/\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.bison=Prism.languages.extend(\"c\",{}),Prism.languages.insertBefore(\"bison\",\"comment\",{bison:{pattern:/^[\\s\\S]*?%%[\\s\\S]*?%%/,inside:{c:{pattern:/%\\{[\\s\\S]*?%\\}|\\{(?:\\{[^}]*\\}|[^{}])*\\}/,inside:{delimiter:{pattern:/^%?\\{|%?\\}$/,alias:\"punctuation\"},\"bison-variable\":{pattern:/[$@](?:<[^\\s>]+>)?[\\w$]+/,alias:\"variable\",inside:{punctuation:/<|>/}},rest:Prism.languages.c}},comment:Prism.languages.c.comment,string:Prism.languages.c.string,property:/\\S+(?=:)/,keyword:/%\\w+/,number:{pattern:/(^|[^@])\\b(?:0x[\\da-f]+|\\d+)/i,lookbehind:!0},punctuation:/%[%?]|[|:;\\[\\]<>]/}}});\nPrism.languages.csharp=Prism.languages.extend(\"clike\",{keyword:/\\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\\b/,string:[{pattern:/@(\"|')(\\1\\1|\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1/,greedy:!0},{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0}],number:/\\b-?(0x[\\da-f]+|\\d*\\.?\\d+f?)\\b/i}),Prism.languages.insertBefore(\"csharp\",\"keyword\",{\"generic-method\":{pattern:/[a-z0-9_]+\\s*<[^>\\r\\n]+?>\\s*(?=\\()/i,alias:\"function\",inside:{keyword:Prism.languages.csharp.keyword,punctuation:/[<>(),.:]/}},preprocessor:{pattern:/(^\\s*)#.*/m,lookbehind:!0,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,lookbehind:!0,alias:\"keyword\"}}}});\nPrism.languages.cpp=Prism.languages.extend(\"c\",{keyword:/\\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,\"boolean\":/\\b(true|false)\\b/,operator:/[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\\->|:{1,2}|={1,2}|\\^|~|%|&{1,2}|\\|?\\||\\?|\\*|\\/|\\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/}),Prism.languages.insertBefore(\"cpp\",\"keyword\",{\"class-name\":{pattern:/(class\\s+)[a-z0-9_]+/i,lookbehind:!0}});\n!function(e){var t=/#(?!\\{).+/,n={pattern:/#\\{[^}]+\\}/,alias:\"variable\"};e.languages.coffeescript=e.languages.extend(\"javascript\",{comment:t,string:[{pattern:/'(?:\\\\?[^\\\\])*?'/,greedy:!0},{pattern:/\"(?:\\\\?[^\\\\])*?\"/,greedy:!0,inside:{interpolation:n}}],keyword:/\\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\"class-member\":{pattern:/@(?!\\d)\\w+/,alias:\"variable\"}}),e.languages.insertBefore(\"coffeescript\",\"comment\",{\"multiline-comment\":{pattern:/###[\\s\\S]+?###/,alias:\"comment\"},\"block-regex\":{pattern:/\\/{3}[\\s\\S]*?\\/{3}/,alias:\"regex\",inside:{comment:t,interpolation:n}}}),e.languages.insertBefore(\"coffeescript\",\"string\",{\"inline-javascript\":{pattern:/`(?:\\\\?[\\s\\S])*?`/,inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"},rest:e.languages.javascript}},\"multiline-string\":[{pattern:/'''[\\s\\S]*?'''/,greedy:!0,alias:\"string\"},{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0,alias:\"string\",inside:{interpolation:n}}]}),e.languages.insertBefore(\"coffeescript\",\"keyword\",{property:/(?!\\d)\\w+(?=\\s*:(?!:))/}),delete e.languages.coffeescript[\"template-string\"]}(Prism);\n!function(e){e.languages.ruby=e.languages.extend(\"clike\",{comment:[/#(?!\\{[^\\r\\n]*?\\}).*/,/^=begin(?:\\r?\\n|\\r)(?:.*(?:\\r?\\n|\\r))*?=end/m],keyword:/\\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\\b/});var n={pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"tag\"},rest:e.util.clone(e.languages.ruby)}};e.languages.insertBefore(\"ruby\",\"keyword\",{regex:[{pattern:/%r([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\][gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/%r<(?:[^<>\\\\]|\\\\[\\s\\S])*>[gim]{0,3}/,greedy:!0,inside:{interpolation:n}},{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gim]{0,3}(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0}],variable:/[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/,symbol:/:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/}),e.languages.insertBefore(\"ruby\",\"number\",{builtin:/\\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\\b/,constant:/\\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\\b)/}),e.languages.ruby.string=[{pattern:/%[qQiIwWxs]?([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]/,greedy:!0,inside:{interpolation:n}},{pattern:/%[qQiIwWxs]?<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,greedy:!0,inside:{interpolation:n}},{pattern:/(\"|')(#\\{[^}]+\\}|\\\\(?:\\r?\\n|\\r)|\\\\?.)*?\\1/,greedy:!0,inside:{interpolation:n}}]}(Prism);\nPrism.languages.css.selector={pattern:/[^\\{\\}\\s][^\\{\\}]*(?=\\s*\\{)/,inside:{\"pseudo-element\":/:(?:after|before|first-letter|first-line|selection)|::[-\\w]+/,\"pseudo-class\":/:[-\\w]+(?:\\(.*\\))?/,\"class\":/\\.[-:\\.\\w]+/,id:/#[-:\\.\\w]+/,attribute:/\\[[^\\]]+\\]/}},Prism.languages.insertBefore(\"css\",\"function\",{hexcode:/#[\\da-f]{3,6}/i,entity:/\\\\[\\da-f]{1,8}/i,number:/[\\d%\\.]+/});\nPrism.languages.d=Prism.languages.extend(\"clike\",{string:[/\\b[rx]\"(\\\\.|[^\\\\\"])*\"[cwd]?/,/\\bq\"(?:\\[[\\s\\S]*?\\]|\\([\\s\\S]*?\\)|<[\\s\\S]*?>|\\{[\\s\\S]*?\\})\"/,/\\bq\"([_a-zA-Z][_a-zA-Z\\d]*)(?:\\r?\\n|\\r)[\\s\\S]*?(?:\\r?\\n|\\r)\\1\"/,/\\bq\"(.)[\\s\\S]*?\\1\"/,/'(?:\\\\'|\\\\?[^']+)'/,/([\"`])(\\\\.|(?!\\1)[^\\\\])*\\1[cwd]?/],number:[/\\b0x\\.?[a-f\\d_]+(?:(?!\\.\\.)\\.[a-f\\d_]*)?(?:p[+-]?[a-f\\d_]+)?[ulfi]*/i,{pattern:/((?:\\.\\.)?)(?:\\b0b\\.?|\\b|\\.)\\d[\\d_]*(?:(?!\\.\\.)\\.[\\d_]*)?(?:e[+-]?\\d[\\d_]*)?[ulfi]*/i,lookbehind:!0}],keyword:/\\$|\\b(?:abstract|alias|align|asm|assert|auto|body|bool|break|byte|case|cast|catch|cdouble|cent|cfloat|char|class|const|continue|creal|dchar|debug|default|delegate|delete|deprecated|do|double|else|enum|export|extern|false|final|finally|float|for|foreach|foreach_reverse|function|goto|idouble|if|ifloat|immutable|import|inout|int|interface|invariant|ireal|lazy|long|macro|mixin|module|new|nothrow|null|out|override|package|pragma|private|protected|public|pure|real|ref|return|scope|shared|short|static|struct|super|switch|synchronized|template|this|throw|true|try|typedef|typeid|typeof|ubyte|ucent|uint|ulong|union|unittest|ushort|version|void|volatile|wchar|while|with|__(?:(?:FILE|MODULE|LINE|FUNCTION|PRETTY_FUNCTION|DATE|EOF|TIME|TIMESTAMP|VENDOR|VERSION)__|gshared|traits|vector|parameters)|string|wstring|dstring|size_t|ptrdiff_t)\\b/,operator:/\\|[|=]?|&[&=]?|\\+[+=]?|-[-=]?|\\.?\\.\\.|=[>=]?|!(?:i[ns]\\b|<>?=?|>=?|=)?|\\bi[ns]\\b|(?:<[<>]?|>>?>?|\\^\\^|[*\\/%^~])=?/}),Prism.languages.d.comment=[/^\\s*#!.+/,{pattern:/(^|[^\\\\])\\/\\+(?:\\/\\+[\\s\\S]*?\\+\\/|[\\s\\S])*?\\+\\//,lookbehind:!0}].concat(Prism.languages.d.comment),Prism.languages.insertBefore(\"d\",\"comment\",{\"token-string\":{pattern:/\\bq\\{(?:|\\{[^}]*\\}|[^}])*\\}/,alias:\"string\"}}),Prism.languages.insertBefore(\"d\",\"keyword\",{property:/\\B@\\w*/}),Prism.languages.insertBefore(\"d\",\"function\",{register:{pattern:/\\b(?:[ABCD][LHX]|E[ABCD]X|E?(?:BP|SP|DI|SI)|[ECSDGF]S|CR[0234]|DR[012367]|TR[3-7]|X?MM[0-7]|R[ABCD]X|[BS]PL|R[BS]P|[DS]IL|R[DS]I|R(?:[89]|1[0-5])[BWD]?|XMM(?:[89]|1[0-5])|YMM(?:1[0-5]|\\d))\\b|\\bST(?:\\([0-7]\\)|\\b)/,alias:\"variable\"}});\nPrism.languages.dart=Prism.languages.extend(\"clike\",{string:[{pattern:/r?(\"\"\"|''')[\\s\\S]*?\\1/,greedy:!0},{pattern:/r?(\"|')(\\\\?.)*?\\1/,greedy:!0}],keyword:[/\\b(?:async|sync|yield)\\*/,/\\b(?:abstract|assert|async|await|break|case|catch|class|const|continue|default|deferred|do|dynamic|else|enum|export|external|extends|factory|final|finally|for|get|if|implements|import|in|library|new|null|operator|part|rethrow|return|set|static|super|switch|this|throw|try|typedef|var|void|while|with|yield)\\b/],operator:/\\bis!|\\b(?:as|is)\\b|\\+\\+|--|&&|\\|\\||<<=?|>>=?|~(?:\\/=?)?|[+\\-*\\/%&^|=!<>]=?|\\?/}),Prism.languages.insertBefore(\"dart\",\"function\",{metadata:{pattern:/@\\w+/,alias:\"symbol\"}});\nvar _django_template={property:{pattern:/(?:{{|{%)[\\s\\S]*?(?:%}|}})/g,greedy:!0,inside:{string:{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0},keyword:/\\b(?:\\||load|verbatim|widthratio|ssi|firstof|for|url|ifchanged|csrf_token|lorem|ifnotequal|autoescape|now|templatetag|debug|cycle|ifequal|regroup|comment|filter|endfilter|if|spaceless|with|extends|block|include|else|empty|endif|endfor|as|endblock|endautoescape|endverbatim|trans|endtrans|[Tt]rue|[Ff]alse|[Nn]one|in|is|static|macro|endmacro|call|endcall|set|endset|raw|endraw)\\b/,operator:/[-+=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,\"function\":/\\b(?:_|abs|add|addslashes|attr|batch|callable|capfirst|capitalize|center|count|cut|d|date|default|default_if_none|defined|dictsort|dictsortreversed|divisibleby|e|equalto|escape|escaped|escapejs|even|filesizeformat|first|float|floatformat|force_escape|forceescape|format|get_digit|groupby|indent|int|iriencode|iterable|join|last|length|length_is|linebreaks|linebreaksbr|linenumbers|list|ljust|lower|make_list|map|mapping|number|odd|phone2numeric|pluralize|pprint|random|reject|rejectattr|removetags|replace|reverse|rjust|round|safe|safeseq|sameas|select|selectattr|sequence|slice|slugify|sort|string|stringformat|striptags|sum|time|timesince|timeuntil|title|trim|truncate|truncatechars|truncatechars_html|truncatewords|truncatewords_html|undefined|unordered_list|upper|urlencode|urlize|urlizetrunc|wordcount|wordwrap|xmlattr|yesno)\\b/,important:/\\b-?\\d+(?:\\.\\d+)?\\b/,variable:/\\b\\w+?\\b/,punctuation:/[[\\];(),.:]/}}};Prism.languages.django=Prism.languages.extend(\"markup\",{comment:/(?:<!--|{#)[\\s\\S]*?(?:#}|-->)/}),Prism.languages.django.tag.pattern=/<\\/?(?!\\d)[^\\s>\\/=$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^>=]+))?)*\\s*\\/?>/i,Prism.languages.insertBefore(\"django\",\"entity\",_django_template),Prism.languages.insertBefore(\"inside\",\"tag\",_django_template,Prism.languages.django.tag),Prism.languages.javascript&&(Prism.languages.insertBefore(\"inside\",\"string\",_django_template,Prism.languages.django.script),Prism.languages.django.script.inside.string.inside=_django_template),Prism.languages.css&&(Prism.languages.insertBefore(\"inside\",\"atrule\",{tag:_django_template.property},Prism.languages.django.style),Prism.languages.django.style.inside.string.inside=_django_template),Prism.languages.jinja2=Prism.languages.django;\nPrism.languages.diff={coord:[/^(?:\\*{3}|-{3}|\\+{3}).*$/m,/^@@.*@@$/m,/^\\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:\"important\"}};\nPrism.languages.docker={keyword:{pattern:/(^\\s*)(?:ONBUILD|FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|COPY|VOLUME|USER|WORKDIR|CMD|LABEL|ENTRYPOINT)(?=\\s)/im,lookbehind:!0},string:/(\"|')(?:(?!\\1)[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*?\\1/,comment:/#.*/,punctuation:/---|\\.\\.\\.|[:[\\]{}\\-,|>?]/};\nPrism.languages.eiffel={string:[/\"([^[]*)\\[[\\s\\S]+?\\]\\1\"/,/\"([^{]*)\\{[\\s\\S]+?\\}\\1\"/,/\"(?:%\\s+%|%\"|.)*?\"/],comment:/--.*/,\"char\":/'(?:%'|.)+?'/,keyword:/\\b(?:across|agent|alias|all|and|attached|as|assign|attribute|check|class|convert|create|Current|debug|deferred|detachable|do|else|elseif|end|ensure|expanded|export|external|feature|from|frozen|if|implies|inherit|inspect|invariant|like|local|loop|not|note|obsolete|old|once|or|Precursor|redefine|rename|require|rescue|Result|retry|select|separate|some|then|undefine|until|variant|Void|when|xor)\\b/i,\"boolean\":/\\b(?:True|False)\\b/i,number:[/\\b0[xcb][\\da-f](?:_*[\\da-f])*\\b/i,/(?:\\d(?:_*\\d)*)?\\.(?:(?:\\d(?:_*\\d)*)?[eE][+-]?)?\\d(?:_*\\d)*|\\d(?:_*\\d)*\\.?/],punctuation:/:=|<<|>>|\\(\\||\\|\\)|->|\\.(?=\\w)|[{}[\\];(),:?]/,operator:/\\\\\\\\|\\|\\.\\.\\||\\.\\.|\\/[~\\/=]?|[><]=?|[-+*^=~]/};\nPrism.languages.elixir={comment:{pattern:/(^|[^#])#(?![{#]).*/m,lookbehind:!0},regex:/~[rR](?:(\"\"\"|'''|[\\/|\"'])(?:\\\\.|(?!\\1)[^\\\\])+\\1|\\((?:\\\\\\)|[^)])+\\)|\\[(?:\\\\\\]|[^\\]])+\\]|\\{(?:\\\\\\}|[^}])+\\}|<(?:\\\\>|[^>])+>)[uismxfr]*/,string:[{pattern:/~[cCsSwW](?:(\"\"\"|'''|[\\/|\"'])(?:\\\\.|(?!\\1)[^\\\\])+\\1|\\((?:\\\\\\)|[^)])+\\)|\\[(?:\\\\\\]|[^\\]])+\\]|\\{(?:\\\\\\}|#\\{[^}]+\\}|[^}])+\\}|<(?:\\\\>|[^>])+>)[csa]?/,greedy:!0,inside:{}},{pattern:/(\"\"\"|''')[\\s\\S]*?\\1/,greedy:!0,inside:{}},{pattern:/(\"|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0,inside:{}}],atom:{pattern:/(^|[^:]):\\w+/,lookbehind:!0,alias:\"symbol\"},\"attr-name\":/\\w+:(?!:)/,capture:{pattern:/(^|[^&])&(?:[^&\\s\\d()][^\\s()]*|(?=\\())/,lookbehind:!0,alias:\"function\"},argument:{pattern:/(^|[^&])&\\d+/,lookbehind:!0,alias:\"variable\"},attribute:{pattern:/@[\\S]+/,alias:\"variable\"},number:/\\b(?:0[box][a-f\\d_]+|\\d[\\d_]*)(?:\\.[\\d_]+)?(?:e[+-]?[\\d_]+)?\\b/i,keyword:/\\b(?:after|alias|and|case|catch|cond|def(?:callback|exception|impl|module|p|protocol|struct)?|do|else|end|fn|for|if|import|not|or|require|rescue|try|unless|use|when)\\b/,\"boolean\":/\\b(?:true|false|nil)\\b/,operator:[/\\bin\\b|&&?|\\|[|>]?|\\\\\\\\|::|\\.\\.\\.?|\\+\\+?|-[->]?|<[-=>]|>=|!==?|\\B!|=(?:==?|[>~])?|[*\\/^]/,{pattern:/([^<])<(?!<)/,lookbehind:!0},{pattern:/([^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,%\\[\\]{}()]/},Prism.languages.elixir.string.forEach(function(e){e.inside={interpolation:{pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"punctuation\"},rest:Prism.util.clone(Prism.languages.elixir)}}}});\nPrism.languages.erlang={comment:/%.+/,string:{pattern:/\"(?:\\\\?.)*?\"/,greedy:!0},\"quoted-function\":{pattern:/'(?:\\\\.|[^'\\\\])+'(?=\\()/,alias:\"function\"},\"quoted-atom\":{pattern:/'(?:\\\\.|[^'\\\\])+'/,alias:\"atom\"},\"boolean\":/\\b(?:true|false)\\b/,keyword:/\\b(?:fun|when|case|of|end|if|receive|after|try|catch)\\b/,number:[/\\$\\\\?./,/\\d+#[a-z0-9]+/i,/(?:\\b|-)\\d*\\.?\\d+([Ee][+-]?\\d+)?\\b/],\"function\":/\\b[a-z][\\w@]*(?=\\()/,variable:{pattern:/(^|[^@])(?:\\b|\\?)[A-Z_][\\w@]*/,lookbehind:!0},operator:[/[=\\/<>:]=|=[:\\/]=|\\+\\+?|--?|[=*\\/!]|\\b(?:bnot|div|rem|band|bor|bxor|bsl|bsr|not|and|or|xor|orelse|andalso)\\b/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],atom:/\\b[a-z][\\w@]*/,punctuation:/[()[\\]{}:;,.#|]|<<|>>/};\nPrism.languages.fsharp=Prism.languages.extend(\"clike\",{comment:[{pattern:/(^|[^\\\\])\\(\\*[\\s\\S]*?\\*\\)/,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],keyword:/\\b(?:let|return|use|yield)(?:!\\B|\\b)|\\b(abstract|and|as|assert|base|begin|class|default|delegate|do|done|downcast|downto|elif|else|end|exception|extern|false|finally|for|fun|function|global|if|in|inherit|inline|interface|internal|lazy|match|member|module|mutable|namespace|new|not|null|of|open|or|override|private|public|rec|select|static|struct|then|to|true|try|type|upcast|val|void|when|while|with|asr|land|lor|lsl|lsr|lxor|mod|sig|atomic|break|checked|component|const|constraint|constructor|continue|eager|event|external|fixed|functor|include|method|mixin|object|parallel|process|protected|pure|sealed|tailcall|trait|virtual|volatile)\\b/,string:{pattern:/(?:\"\"\"[\\s\\S]*?\"\"\"|@\"(?:\"\"|[^\"])*\"|(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1)B?/,greedy:!0},number:[/\\b-?0x[\\da-fA-F]+(un|lf|LF)?\\b/,/\\b-?0b[01]+(y|uy)?\\b/,/\\b-?(\\d*\\.?\\d+|\\d+\\.)([fFmM]|[eE][+-]?\\d+)?\\b/,/\\b-?\\d+(y|uy|s|us|l|u|ul|L|UL|I)?\\b/]}),Prism.languages.insertBefore(\"fsharp\",\"keyword\",{preprocessor:{pattern:/^[^\\r\\n\\S]*#.*/m,alias:\"property\",inside:{directive:{pattern:/(\\s*#)\\b(else|endif|if|light|line|nowarn)\\b/,lookbehind:!0,alias:\"keyword\"}}}});\nPrism.languages.fortran={\"quoted-number\":{pattern:/[BOZ](['\"])[A-F0-9]+\\1/i,alias:\"number\"},string:{pattern:/(?:\\w+_)?(['\"])(?:\\1\\1|&(?:\\r\\n?|\\n)(?:\\s*!.+(?:\\r\\n?|\\n))?|(?!\\1).)*(?:\\1|&)/,inside:{comment:{pattern:/(&(?:\\r\\n?|\\n)\\s*)!.*/,lookbehind:!0}}},comment:/!.*/,\"boolean\":/\\.(?:TRUE|FALSE)\\.(?:_\\w+)?/i,number:/(?:\\b|[+-])(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[ED][+-]?\\d+)?(?:_\\w+)?/i,keyword:[/\\b(?:INTEGER|REAL|DOUBLE ?PRECISION|COMPLEX|CHARACTER|LOGICAL)\\b/i,/\\b(?:END ?)?(?:BLOCK ?DATA|DO|FILE|FORALL|FUNCTION|IF|INTERFACE|MODULE(?! PROCEDURE)|PROGRAM|SELECT|SUBROUTINE|TYPE|WHERE)\\b/i,/\\b(?:ALLOCATABLE|ALLOCATE|BACKSPACE|CALL|CASE|CLOSE|COMMON|CONTAINS|CONTINUE|CYCLE|DATA|DEALLOCATE|DIMENSION|DO|END|EQUIVALENCE|EXIT|EXTERNAL|FORMAT|GO ?TO|IMPLICIT(?: NONE)?|INQUIRE|INTENT|INTRINSIC|MODULE PROCEDURE|NAMELIST|NULLIFY|OPEN|OPTIONAL|PARAMETER|POINTER|PRINT|PRIVATE|PUBLIC|READ|RETURN|REWIND|SAVE|SELECT|STOP|TARGET|WHILE|WRITE)\\b/i,/\\b(?:ASSIGNMENT|DEFAULT|ELEMENTAL|ELSE|ELSEWHERE|ELSEIF|ENTRY|IN|INCLUDE|INOUT|KIND|NULL|ONLY|OPERATOR|OUT|PURE|RECURSIVE|RESULT|SEQUENCE|STAT|THEN|USE)\\b/i],operator:[/\\*\\*|\\/\\/|=>|[=\\/]=|[<>]=?|::|[+\\-*=%]|\\.(?:EQ|NE|LT|LE|GT|GE|NOT|AND|OR|EQV|NEQV)\\.|\\.[A-Z]+\\./i,{pattern:/(^|(?!\\().)\\/(?!\\))/,lookbehind:!0}],punctuation:/\\(\\/|\\/\\)|[(),;:&]/};\nPrism.languages.gherkin={pystring:{pattern:/(\"\"\"|''')[\\s\\S]+?\\1/,alias:\"string\"},comment:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)#.*/,lookbehind:!0},tag:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)@\\S*/,lookbehind:!0},feature:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)(Ability|Ahoy matey!|Arwedd|Aspekt|Besigheid Behoefte|Business Need|Caracteristica|Característica|Egenskab|Egenskap|Eiginleiki|Feature|Fīča|Fitur|Fonctionnalité|Fonksyonalite|Funcionalidade|Funcionalitat|Functionalitate|Funcţionalitate|Funcționalitate|Functionaliteit|Fungsi|Funkcia|Funkcija|Funkcionalitāte|Funkcionalnost|Funkcja|Funksie|Funktionalität|Funktionalitéit|Funzionalità|Hwaet|Hwæt|Jellemző|Karakteristik|laH|Lastnost|Mak|Mogucnost|Mogućnost|Moznosti|Možnosti|OH HAI|Omadus|Ominaisuus|Osobina|Özellik|perbogh|poQbogh malja'|Potrzeba biznesowa|Požadavek|Požiadavka|Pretty much|Qap|Qu'meH 'ut|Savybė|Tính năng|Trajto|Vermoë|Vlastnosť|Właściwość|Značilnost|Δυνατότητα|Λειτουργία|Могућност|Мөмкинлек|Особина|Свойство|Үзенчәлеклелек|Функционал|Функционалност|Функция|Функціонал|תכונה|خاصية|خصوصیت|صلاحیت|کاروبار کی ضرورت|وِیژگی|रूप लेख|ਖਾਸੀਅਤ|ਨਕਸ਼ ਨੁਹਾਰ|ਮੁਹਾਂਦਰਾ|గుణము|ಹೆಚ್ಚಳ|ความต้องการทางธุรกิจ|ความสามารถ|โครงหลัก|기능|フィーチャ|功能|機能):([^:]+(?:\\r?\\n|\\r|$))*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\\r\\n]+/,lookbehind:!0},keyword:/[^:\\r\\n]+:/}},scenario:{pattern:/((^|\\r?\\n|\\r)[ \\t]*)(Abstract Scenario|Abstrakt Scenario|Achtergrond|Aer|Ær|Agtergrond|All y'all|Antecedentes|Antecedents|Atburðarás|Atburðarásir|Awww, look mate|B4|Background|Baggrund|Bakgrund|Bakgrunn|Bakgrunnur|Beispiele|Beispiller|Bối cảnh|Cefndir|Cenario|Cenário|Cenario de Fundo|Cenário de Fundo|Cenarios|Cenários|Contesto|Context|Contexte|Contexto|Conto|Contoh|Contone|Dæmi|Dasar|Dead men tell no tales|Delineacao do Cenario|Delineação do Cenário|Dis is what went down|Dữ liệu|Dyagram senaryo|Dyagram Senaryo|Egzanp|Ejemplos|Eksempler|Ekzemploj|Enghreifftiau|Esbozo do escenario|Escenari|Escenario|Esempi|Esquema de l'escenari|Esquema del escenario|Esquema do Cenario|Esquema do Cenário|Examples|EXAMPLZ|Exempel|Exemple|Exemples|Exemplos|First off|Fono|Forgatókönyv|Forgatókönyv vázlat|Fundo|Geçmiş|ghantoH|Grundlage|Hannergrond|Háttér|Heave to|Istorik|Juhtumid|Keadaan|Khung kịch bản|Khung tình huống|Kịch bản|Koncept|Konsep skenario|Kontèks|Kontekst|Kontekstas|Konteksts|Kontext|Konturo de la scenaro|Latar Belakang|lut|lut chovnatlh|lutmey|Lýsing Atburðarásar|Lýsing Dæma|Menggariskan Senario|MISHUN|MISHUN SRSLY|mo'|Náčrt Scenára|Náčrt Scénáře|Náčrt Scenáru|Oris scenarija|Örnekler|Osnova|Osnova Scenára|Osnova scénáře|Osnutek|Ozadje|Paraugs|Pavyzdžiai|Példák|Piemēri|Plan du scénario|Plan du Scénario|Plan senaryo|Plan Senaryo|Plang vum Szenario|Pozadí|Pozadie|Pozadina|Príklady|Příklady|Primer|Primeri|Primjeri|Przykłady|Raamstsenaarium|Reckon it's like|Rerefons|Scenár|Scénář|Scenarie|Scenarij|Scenarijai|Scenarijaus šablonas|Scenariji|Scenārijs|Scenārijs pēc parauga|Scenarijus|Scenario|Scénario|Scenario Amlinellol|Scenario Outline|Scenario Template|Scenariomal|Scenariomall|Scenarios|Scenariu|Scenariusz|Scenaro|Schema dello scenario|Se ðe|Se the|Se þe|Senario|Senaryo|Senaryo deskripsyon|Senaryo Deskripsyon|Senaryo taslağı|Shiver me timbers|Situācija|Situai|Situasie|Situasie Uiteensetting|Skenario|Skenario konsep|Skica|Structura scenariu|Structură scenariu|Struktura scenarija|Stsenaarium|Swa|Swa hwaer swa|Swa hwær swa|Szablon scenariusza|Szenario|Szenariogrundriss|Tapaukset|Tapaus|Tapausaihio|Taust|Tausta|Template Keadaan|Template Senario|Template Situai|The thing of it is|Tình huống|Variantai|Voorbeelde|Voorbeelden|Wharrimean is|Yo\\-ho\\-ho|You'll wanna|Założenia|Παραδείγματα|Περιγραφή Σεναρίου|Σενάρια|Σενάριο|Υπόβαθρο|Кереш|Контекст|Концепт|Мисаллар|Мисоллар|Основа|Передумова|Позадина|Предистория|Предыстория|Приклади|Пример|Примери|Примеры|Рамка на сценарий|Скица|Структура сценарија|Структура сценария|Структура сценарію|Сценарий|Сценарий структураси|Сценарийның төзелеше|Сценарији|Сценарио|Сценарій|Тарих|Үрнәкләр|דוגמאות|רקע|תבנית תרחיש|תרחיש|الخلفية|الگوی سناریو|امثلة|پس منظر|زمینه|سناریو|سيناريو|سيناريو مخطط|مثالیں|منظر نامے کا خاکہ|منظرنامہ|نمونه ها|उदाहरण|परिदृश्य|परिदृश्य रूपरेखा|पृष्ठभूमि|ਉਦਾਹਰਨਾਂ|ਪਟਕਥਾ|ਪਟਕਥਾ ਢਾਂਚਾ|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਿਛੋਕੜ|ఉదాహరణలు|కథనం|నేపథ్యం|సన్నివేశం|ಉದಾಹರಣೆಗಳು|ಕಥಾಸಾರಾಂಶ|ವಿವರಣೆ|ಹಿನ್ನೆಲೆ|โครงสร้างของเหตุการณ์|ชุดของตัวอย่าง|ชุดของเหตุการณ์|แนวคิด|สรุปเหตุการณ์|เหตุการณ์|배경|시나리오|시나리오 개요|예|サンプル|シナリオ|シナリオアウトライン|シナリオテンプレ|シナリオテンプレート|テンプレ|例|例子|剧本|剧本大纲|劇本|劇本大綱|场景|场景大纲|場景|場景大綱|背景):[^:\\r\\n]*/,lookbehind:!0,inside:{important:{pattern:/(:)[^\\r\\n]*/,lookbehind:!0},keyword:/[^:\\r\\n]+:/}},\"table-body\":{pattern:/((?:\\r?\\n|\\r)[ \\t]*\\|.+\\|[^\\r\\n]*)+/,lookbehind:!0,inside:{outline:{pattern:/<[^>]+?>/,alias:\"variable\"},td:{pattern:/\\s*[^\\s|][^|]*/,alias:\"string\"},punctuation:/\\|/}},\"table-head\":{pattern:/((?:\\r?\\n|\\r)[ \\t]*\\|.+\\|[^\\r\\n]*)/,inside:{th:{pattern:/\\s*[^\\s|][^|]*/,alias:\"variable\"},punctuation:/\\|/}},atrule:{pattern:/((?:\\r?\\n|\\r)[ \\t]+)('ach|'a|'ej|7|a|A také|A taktiež|A tiež|A zároveň|Aber|Ac|Adott|Akkor|Ak|Aleshores|Ale|Ali|Allora|Alors|Als|Ama|Amennyiben|Amikor|Ampak|an|AN|Ananging|And y'all|And|Angenommen|Anrhegedig a|An|Apabila|Atès|Atesa|Atunci|Avast!|Aye|A|awer|Bagi|Banjur|Bet|Biết|Blimey!|Buh|But at the end of the day I reckon|But y'all|But|BUT|Cal|Când|Cando|Cand|Ce|Cuando|Če|Ða ðe|Ða|Dadas|Dada|Dados|Dado|DaH ghu' bejlu'|dann|Dann|Dano|Dan|Dar|Dat fiind|Data|Date fiind|Date|Dati fiind|Dati|Daţi fiind|Dați fiind|Dato|DEN|Den youse gotta|Dengan|De|Diberi|Diyelim ki|Donada|Donat|Donitaĵo|Do|Dun|Duota|Ðurh|Eeldades|Ef|Eğer ki|Entao|Então|Entón|Entonces|En|Epi|E|És|Etant donnée|Etant donné|Et|Étant données|Étant donnée|Étant donné|Etant données|Etant donnés|Étant donnés|Fakat|Gangway!|Gdy|Gegeben seien|Gegeben sei|Gegeven|Gegewe|ghu' noblu'|Gitt|Given y'all|Given|Givet|Givun|Ha|Cho|I CAN HAZ|In|Ir|It's just unbelievable|I|Ja|Jeśli|Jeżeli|Kadar|Kada|Kad|Kai|Kaj|Když|Keď|Kemudian|Ketika|Khi|Kiedy|Ko|Kuid|Kui|Kun|Lan|latlh|Le sa a|Let go and haul|Le|Lè sa a|Lè|Logo|Lorsqu'<|Lorsque|mä|Maar|Mais|Mając|Majd|Maka|Manawa|Mas|Ma|Menawa|Men|Mutta|Nalikaning|Nalika|Nanging|Når|När|Nato|Nhưng|Niin|Njuk|O zaman|Og|Och|Oletetaan|Onda|Ond|Oraz|Pak|Pero|Però|Podano|Pokiaľ|Pokud|Potem|Potom|Privzeto|Pryd|qaSDI'|Quando|Quand|Quan|Så|Sed|Se|Siis|Sipoze ke|Sipoze Ke|Sipoze|Si|Şi|Și|Soit|Stel|Tada|Tad|Takrat|Tak|Tapi|Ter|Tetapi|Tha the|Tha|Then y'all|Then|Thì|Thurh|Toda|Too right|ugeholl|Und|Un|Và|vaj|Vendar|Ve|wann|Wanneer|WEN|Wenn|When y'all|When|Wtedy|Wun|Y'know|Yeah nah|Yna|Youse know like when|Youse know when youse got|Y|Za predpokladu|Za předpokladu|Zadani|Zadano|Zadan|Zadate|Zadato|Zakładając|Zaradi|Zatati|Þa þe|Þa|Þá|Þegar|Þurh|Αλλά|Δεδομένου|Και|Όταν|Τότε|А також|Агар|Але|Али|Аммо|А|Әгәр|Әйтик|Әмма|Бирок|Ва|Вә|Дадено|Дано|Допустим|Если|Задате|Задати|Задато|И|І|К тому же|Када|Кад|Когато|Когда|Коли|Ләкин|Лекин|Нәтиҗәдә|Нехай|Но|Онда|Припустимо, що|Припустимо|Пусть|Также|Та|Тогда|Тоді|То|Унда|Һәм|Якщо|אבל|אזי|אז|בהינתן|וגם|כאשר|آنگاه|اذاً|اگر|اما|اور|با فرض|بالفرض|بفرض|پھر|تب|ثم|جب|عندما|فرض کیا|لكن|لیکن|متى|هنگامی|و|अगर|और|कदा|किन्तु|चूंकि|जब|तथा|तदा|तब|परन्तु|पर|यदि|ਅਤੇ|ਜਦੋਂ|ਜਿਵੇਂ ਕਿ|ਜੇਕਰ|ਤਦ|ਪਰ|అప్పుడు|ఈ పరిస్థితిలో|కాని|చెప్పబడినది|మరియు|ಆದರೆ|ನಂತರ|ನೀಡಿದ|ಮತ್ತು|ಸ್ಥಿತಿಯನ್ನು|กำหนดให้|ดังนั้น|แต่|เมื่อ|และ|그러면<|그리고<|단<|만약<|만일<|먼저<|조건<|하지만<|かつ<|しかし<|ただし<|ならば<|もし<|並且<|但し<|但是<|假如<|假定<|假設<|假设<|前提<|同时<|同時<|并且<|当<|當<|而且<|那么<|那麼<)(?=[ \\t]+)/,lookbehind:!0},string:{pattern:/(\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*')/,inside:{outline:{pattern:/<[^>]+?>/,alias:\"variable\"}}},outline:{pattern:/<[^>]+?>/,alias:\"variable\"}};\nPrism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\\+.*/m,string:/(\"|')(\\\\?.)*?\\1/m,command:{pattern:/^.*\\$ git .*$/m,inside:{parameter:/\\s(--|-)\\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \\w{40}$/m};\nPrism.languages.glsl=Prism.languages.extend(\"clike\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,/\\/\\/(?:\\\\(?:\\r\\n|[\\s\\S])|.)*/],number:/\\b(?:0x[\\da-f]+|(?:\\.\\d+|\\d+\\.?\\d*)(?:e[+-]?\\d+)?)[ulf]*\\b/i,keyword:/\\b(?:attribute|const|uniform|varying|buffer|shared|coherent|volatile|restrict|readonly|writeonly|atomic_uint|layout|centroid|flat|smooth|noperspective|patch|sample|break|continue|do|for|while|switch|case|default|if|else|subroutine|in|out|inout|float|double|int|void|bool|true|false|invariant|precise|discard|return|d?mat[234](?:x[234])?|[ibdu]?vec[234]|uint|lowp|mediump|highp|precision|[iu]?sampler[123]D|[iu]?samplerCube|sampler[12]DShadow|samplerCubeShadow|[iu]?sampler[12]DArray|sampler[12]DArrayShadow|[iu]?sampler2DRect|sampler2DRectShadow|[iu]?samplerBuffer|[iu]?sampler2DMS(?:Array)?|[iu]?samplerCubeArray|samplerCubeArrayShadow|[iu]?image[123]D|[iu]?image2DRect|[iu]?imageCube|[iu]?imageBuffer|[iu]?image[12]DArray|[iu]?imageCubeArray|[iu]?image2DMS(?:Array)?|struct|common|partition|active|asm|class|union|enum|typedef|template|this|resource|goto|inline|noinline|public|static|extern|external|interface|long|short|half|fixed|unsigned|superp|input|output|hvec[234]|fvec[234]|sampler3DRect|filter|sizeof|cast|namespace|using)\\b/}),Prism.languages.insertBefore(\"glsl\",\"comment\",{preprocessor:{pattern:/(^[ \\t]*)#(?:(?:define|undef|if|ifdef|ifndef|else|elif|endif|error|pragma|extension|version|line)\\b)?/m,lookbehind:!0,alias:\"builtin\"}});\nPrism.languages.go=Prism.languages.extend(\"clike\",{keyword:/\\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,builtin:/\\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\\b/,\"boolean\":/\\b(_|iota|nil|true|false)\\b/,operator:/[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,number:/\\b(-?(0x[a-f\\d]+|(\\d+\\.?\\d*|\\.\\d+)(e[-+]?\\d+)?)i?)\\b/i,string:{pattern:/(\"|'|`)(\\\\?.|\\r|\\n)*?\\1/,greedy:!0}}),delete Prism.languages.go[\"class-name\"];\nPrism.languages.graphql={comment:/#.*/,string:{pattern:/\"(?:\\\\.|[^\\\\\"])*\"/,greedy:!0},number:/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:[eE][+-]?\\d+)?\\b/,\"boolean\":/\\b(?:true|false)\\b/,variable:/\\$[a-z_]\\w*/i,directive:{pattern:/@[a-z_]\\w*/i,alias:\"function\"},\"attr-name\":/[a-z_]\\w*(?=\\s*:)/i,keyword:[{pattern:/(fragment\\s+(?!on)[a-z_]\\w*\\s+|\\.\\.\\.\\s*)on\\b/,lookbehind:!0},/\\b(?:query|fragment|mutation)\\b/],operator:/!|=|\\.{3}/,punctuation:/[!(){}\\[\\]:=,]/};\nPrism.languages.groovy=Prism.languages.extend(\"clike\",{keyword:/\\b(as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\\b/,string:[{pattern:/(\"\"\"|''')[\\s\\S]*?\\1|(\\$\\/)(\\$\\/\\$|[\\s\\S])*?\\/\\$/,greedy:!0},{pattern:/(\"|'|\\/)(?:\\\\?.)*?\\1/,greedy:!0}],number:/\\b(?:0b[01_]+|0x[\\da-f_]+(?:\\.[\\da-f_p\\-]+)?|[\\d_]+(?:\\.[\\d_]+)?(?:e[+-]?[\\d]+)?)[glidf]?\\b/i,operator:{pattern:/(^|[^.])(~|==?~?|\\?[.:]?|\\*(?:[.=]|\\*=?)?|\\.[@&]|\\.\\.<|\\.{1,2}(?!\\.)|-[-=>]?|\\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\\|[|=]?|\\/=?|\\^=?|%=?)/,lookbehind:!0},punctuation:/\\.+|[{}[\\];(),:$]/}),Prism.languages.insertBefore(\"groovy\",\"string\",{shebang:{pattern:/#!.+/,alias:\"comment\"}}),Prism.languages.insertBefore(\"groovy\",\"punctuation\",{\"spock-block\":/\\b(setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore(\"groovy\",\"function\",{annotation:{alias:\"punctuation\",pattern:/(^|[^.])@\\w+/,lookbehind:!0}}),Prism.hooks.add(\"wrap\",function(e){if(\"groovy\"===e.language&&\"string\"===e.type){var t=e.content[0];if(\"'\"!=t){var n=/([^\\\\])(\\$(\\{.*?\\}|[\\w\\.]+))/;\"$\"===t&&(n=/([^\\$])(\\$(\\{.*?\\}|[\\w\\.]+))/),e.content=e.content.replace(/&lt;/g,\"<\").replace(/&amp;/g,\"&\"),e.content=Prism.highlight(e.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),e.classes.push(\"/\"===t?\"regex\":\"gstring\")}}});\n!function(e){e.languages.haml={\"multiline-comment\":{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*))(?:\\/|-#).*((?:\\r?\\n|\\r)\\2[\\t ]+.+)*/,lookbehind:!0,alias:\"comment\"},\"multiline-code\":[{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)(?:[~-]|[&!]?=)).*,[\\t ]*((?:\\r?\\n|\\r)\\2[\\t ]+.*,[\\t ]*)*((?:\\r?\\n|\\r)\\2[\\t ]+.+)/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)(?:[~-]|[&!]?=)).*\\|[\\t ]*((?:\\r?\\n|\\r)\\2[\\t ]+.*\\|[\\t ]*)*/,lookbehind:!0,inside:{rest:e.languages.ruby}}],filter:{pattern:/((?:^|\\r?\\n|\\r)([\\t ]*)):[\\w-]+((?:\\r?\\n|\\r)(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/,lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"}}},markup:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)<.+/,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)!!!(?: .+)?/,lookbehind:!0},tag:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)[%.#][\\w\\-#.]*[\\w\\-](?:\\([^)]+\\)|\\{(?:\\{[^}]+\\}|[^}])+\\}|\\[[^\\]]+\\])*[\\/<>]*/,lookbehind:!0,inside:{attributes:[{pattern:/(^|[^#])\\{(?:\\{[^}]+\\}|[^}])+\\}/,lookbehind:!0,inside:{rest:e.languages.ruby}},{pattern:/\\([^)]+\\)/,inside:{\"attr-value\":{pattern:/(=\\s*)(?:\"(?:\\\\?.)*?\"|[^)\\s]+)/,lookbehind:!0},\"attr-name\":/[\\w:-]+(?=\\s*!?=|\\s*[,)])/,punctuation:/[=(),]/}},{pattern:/\\[[^\\]]+\\]/,inside:{rest:e.languages.ruby}}],punctuation:/[<>]/}},code:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*(?:[~-]|[&!]?=)).+/,lookbehind:!0,inside:{rest:e.languages.ruby}},interpolation:{pattern:/#\\{[^}]+\\}/,inside:{delimiter:{pattern:/^#\\{|\\}$/,alias:\"punctuation\"},rest:e.languages.ruby}},punctuation:{pattern:/((?:^|\\r?\\n|\\r)[\\t ]*)[~=\\-&!]+/,lookbehind:!0}};for(var t=\"((?:^|\\\\r?\\\\n|\\\\r)([\\\\t ]*)):{{filter_name}}((?:\\\\r?\\\\n|\\\\r)(?:\\\\2[\\\\t ]+.+|\\\\s*?(?=\\\\r?\\\\n|\\\\r)))+\",r=[\"css\",{filter:\"coffee\",language:\"coffeescript\"},\"erb\",\"javascript\",\"less\",\"markdown\",\"ruby\",\"scss\",\"textile\"],n={},a=0,i=r.length;i>a;a++){var l=r[a];l=\"string\"==typeof l?{filter:l,language:l}:l,e.languages[l.language]&&(n[\"filter-\"+l.filter]={pattern:RegExp(t.replace(\"{{filter_name}}\",l.filter)),lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"},rest:e.languages[l.language]}})}e.languages.insertBefore(\"haml\",\"filter\",n)}(Prism);\n!function(e){var a=/\\{\\{\\{[\\s\\S]+?\\}\\}\\}|\\{\\{[\\s\\S]+?\\}\\}/g;e.languages.handlebars=e.languages.extend(\"markup\",{handlebars:{pattern:a,inside:{delimiter:{pattern:/^\\{\\{\\{?|\\}\\}\\}?$/i,alias:\"punctuation\"},string:/([\"'])(\\\\?.)*?\\1/,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?)\\b/,\"boolean\":/\\b(true|false)\\b/,block:{pattern:/^(\\s*~?\\s*)[#\\/]\\S+?(?=\\s*~?\\s*$|\\s)/i,lookbehind:!0,alias:\"keyword\"},brackets:{pattern:/\\[[^\\]]+\\]/,inside:{punctuation:/\\[|\\]/,variable:/[\\s\\S]+/}},punctuation:/[!\"#%&'()*+,.\\/;<=>@\\[\\\\\\]^`{|}~]/,variable:/[^!\"#%&'()*+,.\\/;<=>@\\[\\\\\\]^`{|}~\\s]+/}}}),e.languages.insertBefore(\"handlebars\",\"tag\",{\"handlebars-comment\":{pattern:/\\{\\{![\\s\\S]*?\\}\\}/,alias:[\"handlebars\",\"comment\"]}}),e.hooks.add(\"before-highlight\",function(e){\"handlebars\"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(a,function(a){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___HANDLEBARS\"+n+\"___\");)++n;return e.tokenStack[n]=a,\"___HANDLEBARS\"+n+\"___\"}))}),e.hooks.add(\"before-insert\",function(e){\"handlebars\"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add(\"after-highlight\",function(a){if(\"handlebars\"===a.language){for(var n=0,t=Object.keys(a.tokenStack);n<t.length;++n){var r=t[n],o=a.tokenStack[r];a.highlightedCode=a.highlightedCode.replace(\"___HANDLEBARS\"+r+\"___\",e.highlight(o,a.grammar,\"handlebars\").replace(/\\$/g,\"$$$$\"))}a.element.innerHTML=a.highlightedCode}})}(Prism);\nPrism.languages.haskell={comment:{pattern:/(^|[^-!#$%*+=?&@|~.:<>^\\\\\\/])(--[^-!#$%*+=?&@|~.:<>^\\\\\\/].*|{-[\\s\\S]*?-})/m,lookbehind:!0},\"char\":/'([^\\\\']|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+))'/,string:{pattern:/\"([^\\\\\"]|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\\\\s+\\\\)*\"/,greedy:!0},keyword:/\\b(case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\\b/,import_statement:{pattern:/(\\r?\\n|\\r|^)\\s*import\\s+(qualified\\s+)?([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*(\\s+as\\s+([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*)?(\\s+hiding\\b)?/m,inside:{keyword:/\\b(import|qualified|as|hiding)\\b/}},builtin:/\\b(abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b/,number:/\\b(\\d+(\\.\\d+)?(e[+-]?\\d+)?|0o[0-7]+|0x[0-9a-f]+)\\b/i,operator:/\\s\\.\\s|[-!#$%*+=?&@|~.:<>^\\\\\\/]*\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]+|[-!#$%*+=?&@|~.:<>^\\\\\\/]+\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]*|[-!#$%*+=?&@|~:<>^\\\\\\/]+|`([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*`/,hvariable:/\\b([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*\\b/,constant:/\\b([A-Z][_a-zA-Z0-9']*\\.)*[A-Z][_a-zA-Z0-9']*\\b/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.haxe=Prism.languages.extend(\"clike\",{string:{pattern:/([\"'])(?:(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,greedy:!0,inside:{interpolation:{pattern:/(^|[^\\\\])\\$(?:\\w+|\\{[^}]+\\})/,lookbehind:!0,inside:{interpolation:{pattern:/^\\$\\w*/,alias:\"variable\"}}}}},keyword:/\\bthis\\b|\\b(?:abstract|as|break|case|cast|catch|class|continue|default|do|dynamic|else|enum|extends|extern|from|for|function|if|implements|import|in|inline|interface|macro|new|null|override|public|private|return|static|super|switch|throw|to|try|typedef|using|var|while)(?!\\.)\\b/,operator:/\\.{3}|\\+\\+?|-[->]?|[=!]=?|&&?|\\|\\|?|<[<=]?|>[>=]?|[*\\/%~^]/}),Prism.languages.insertBefore(\"haxe\",\"class-name\",{regex:{pattern:/~\\/(?:[^\\/\\\\\\r\\n]|\\\\.)+\\/[igmsu]*/,greedy:!0}}),Prism.languages.insertBefore(\"haxe\",\"keyword\",{preprocessor:{pattern:/#\\w+/,alias:\"builtin\"},metadata:{pattern:/@:?\\w+/,alias:\"symbol\"},reification:{pattern:/\\$(?:\\w+|(?=\\{))/,alias:\"variable\"}}),Prism.languages.haxe.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.haxe),delete Prism.languages.haxe[\"class-name\"];\nPrism.languages.http={\"request-line\":{pattern:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\b\\shttps?:\\/\\/\\S+\\sHTTP\\/[0-9.]+/m,inside:{property:/^(POST|GET|PUT|DELETE|OPTIONS|PATCH|TRACE|CONNECT)\\b/,\"attr-name\":/:\\w+/}},\"response-status\":{pattern:/^HTTP\\/1.[01] \\d+.*/m,inside:{property:{pattern:/(^HTTP\\/1.[01] )\\d+.*/i,lookbehind:!0}}},\"header-name\":{pattern:/^[\\w-]+:(?=.)/m,alias:\"keyword\"}};var httpLanguages={\"application/json\":Prism.languages.javascript,\"application/xml\":Prism.languages.markup,\"text/xml\":Prism.languages.markup,\"text/html\":Prism.languages.markup};for(var contentType in httpLanguages)if(httpLanguages[contentType]){var options={};options[contentType]={pattern:new RegExp(\"(content-type:\\\\s*\"+contentType+\"[\\\\w\\\\W]*?)(?:\\\\r?\\\\n|\\\\r){2}[\\\\w\\\\W]*\",\"i\"),lookbehind:!0,inside:{rest:httpLanguages[contentType]}},Prism.languages.insertBefore(\"http\",\"header-name\",options)};\nPrism.languages.icon={comment:/#.*/,string:{pattern:/([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\.|_(?:\\r?\\n|\\r))*\\1/,greedy:!0},number:/\\b(?:\\d+r[a-z\\d]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)\\b|\\.\\d+\\b/i,\"builtin-keyword\":{pattern:/&(?:allocated|ascii|clock|collections|cset|current|date|dateline|digits|dump|e|error(?:number|text|value)?|errout|fail|features|file|host|input|lcase|letters|level|line|main|null|output|phi|pi|pos|progname|random|regions|source|storage|subject|time|trace|ucase|version)\\b/,alias:\"variable\"},directive:{pattern:/\\$\\w+/,alias:\"builtin\"},keyword:/\\b(?:break|by|case|create|default|do|else|end|every|fail|global|if|initial|invocable|link|local|next|not|of|procedure|record|repeat|return|static|suspend|then|to|until|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*[({]|\\s*!\\s*\\[)/,operator:/[+-]:(?!=)|(?:[\\/?@^%&]|\\+\\+?|--?|==?=?|~==?=?|\\*\\*?|\\|\\|\\|?|<(?:->?|<?=?)|>>?=?)(?::=)?|:(?:=:?)?|[!.\\\\|~]/,punctuation:/[\\[\\](){},;]/};\nPrism.languages.inform7={string:{pattern:/\"[^\"]*\"/,inside:{substitution:{pattern:/\\[[^\\]]+\\]/,inside:{delimiter:{pattern:/\\[|\\]/,alias:\"punctuation\"}}}}},comment:{pattern:/\\[[^\\]]+\\]/,greedy:!0},title:{pattern:/^[ \\t]*(?:volume|book|part(?! of)|chapter|section|table)\\b.+/im,alias:\"important\"},number:{pattern:/(^|[^-])(?:(?:\\b|-)\\d+(?:\\.\\d+)?(?:\\^\\d+)?\\w*|\\b(?:one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve))\\b(?!-)/i,lookbehind:!0},verb:{pattern:/(^|[^-])\\b(?:applying to|are|attacking|answering|asking|be(?:ing)?|burning|buying|called|carries|carry(?! out)|carrying|climbing|closing|conceal(?:s|ing)?|consulting|contain(?:s|ing)?|cutting|drinking|dropping|eating|enclos(?:es?|ing)|entering|examining|exiting|getting|giving|going|ha(?:ve|s|ving)|hold(?:s|ing)?|impl(?:y|ies)|incorporat(?:es?|ing)|inserting|is|jumping|kissing|listening|locking|looking|mean(?:s|ing)?|opening|provid(?:es?|ing)|pulling|pushing|putting|relat(?:es?|ing)|removing|searching|see(?:s|ing)?|setting|showing|singing|sleeping|smelling|squeezing|switching|support(?:s|ing)?|swearing|taking|tasting|telling|thinking|throwing|touching|turning|tying|unlock(?:s|ing)?|var(?:y|ies|ying)|waiting|waking|waving|wear(?:s|ing)?)\\b(?!-)/i,lookbehind:!0,alias:\"operator\"},keyword:{pattern:/(^|[^-])\\b(?:after|before|carry out|check|continue the action|definition(?= *:)|do nothing|else|end (?:if|unless|the story)|every turn|if|include|instead(?: of)?|let|move|no|now|otherwise|repeat|report|resume the story|rule for|running through|say(?:ing)?|stop the action|test|try(?:ing)?|understand|unless|use|when|while|yes)\\b(?!-)/i,lookbehind:!0},property:{pattern:/(^|[^-])\\b(?:adjacent(?! to)|carried|closed|concealed|contained|dark|described|edible|empty|enclosed|enterable|even|female|fixed in place|full|handled|held|improper-named|incorporated|inedible|invisible|lighted|lit|lock(?:able|ed)|male|marked for listing|mentioned|negative|neuter|non-(?:empty|full|recurring)|odd|opaque|open(?:able)?|plural-named|portable|positive|privately-named|proper-named|provided|publically-named|pushable between rooms|recurring|related|rubbing|scenery|seen|singular-named|supported|swinging|switch(?:able|ed(?: on| off)?)|touch(?:able|ed)|transparent|unconcealed|undescribed|unlit|unlocked|unmarked for listing|unmentioned|unopenable|untouchable|unvisited|variable|visible|visited|wearable|worn)\\b(?!-)/i,lookbehind:!0,alias:\"symbol\"},position:{pattern:/(^|[^-])\\b(?:above|adjacent to|back side of|below|between|down|east|everywhere|front side|here|in|inside(?: from)?|north(?:east|west)?|nowhere|on(?: top of)?|other side|outside(?: from)?|parts? of|regionally in|south(?:east|west)?|through|up|west|within)\\b(?!-)/i,lookbehind:!0,alias:\"keyword\"},type:{pattern:/(^|[^-])\\b(?:actions?|activit(?:y|ies)|actors?|animals?|backdrops?|containers?|devices?|directions?|doors?|holders?|kinds?|lists?|m[ae]n|nobody|nothing|nouns?|numbers?|objects?|people|persons?|player(?:'s holdall)?|regions?|relations?|rooms?|rule(?:book)?s?|scenes?|someone|something|supporters?|tables?|texts?|things?|time|vehicles?|wom[ae]n)\\b(?!-)/i,lookbehind:!0,alias:\"variable\"},punctuation:/[.,:;(){}]/},Prism.languages.inform7.string.inside.substitution.inside.rest=Prism.util.clone(Prism.languages.inform7),Prism.languages.inform7.string.inside.substitution.inside.rest.text={pattern:/\\S(?:\\s*\\S)*/,alias:\"comment\"};\nPrism.languages.ini={comment:/^[ \\t]*;.*$/m,selector:/^[ \\t]*\\[.*?\\]/m,constant:/^[ \\t]*[^\\s=]+?(?=[ \\t]*=)/m,\"attr-value\":{pattern:/=.*/,inside:{punctuation:/^[=]/}}};\nPrism.languages.j={comment:/\\bNB\\..*/,string:{pattern:/'(?:''|[^'\\r\\n])*'/,greedy:!0},keyword:/\\b(?:(?:adverb|conjunction|CR|def|define|dyad|LF|monad|noun|verb)\\b|(?:assert|break|case|catch[dt]?|continue|do|else|elseif|end|fcase|for|for_\\w+|goto_\\w+|if|label_\\w+|return|select|throw|try|while|whilst)\\.)/,verb:{pattern:/(?!\\^:|;\\.|[=!][.:])(?:\\{(?:\\.|::?)?|p(?:\\.\\.?|:)|[=!\\]]|[<>+*\\-%$|,#][.:]?|[\\^?]\\.?|[;\\[]:?|[~}\"i][.:]|[ACeEIjLor]\\.|(?:[_\\/\\\\qsux]|_?\\d):)/,alias:\"keyword\"},number:/\\b_?(?:(?!\\d:)\\d+(?:\\.\\d+)?(?:(?:[ejpx]|ad|ar)_?\\d+(?:\\.\\d+)?)*(?:b_?[\\da-z]+(?:\\.[\\da-z]+)?)?|_(?!\\.))/,adverb:{pattern:/[~}]|[\\/\\\\]\\.?|[bfM]\\.|t[.:]/,alias:\"builtin\"},operator:/[=a][.:]|_\\./,conjunction:{pattern:/&(?:\\.:?|:)?|[.:@][.:]?|[!D][.:]|[;dHT]\\.|`:?|[\\^LS]:|\"/,alias:\"variable\"},punctuation:/[()]/};\n!function(e){e.languages.jade={comment:{pattern:/(^([\\t ]*))\\/\\/.*((?:\\r?\\n|\\r)\\2[\\t ]+.+)*/m,lookbehind:!0},\"multiline-script\":{pattern:/(^([\\t ]*)script\\b.*\\.[\\t ]*)((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},filter:{pattern:/(^([\\t ]*)):.+((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"}}},\"multiline-plain-text\":{pattern:/(^([\\t ]*)[\\w\\-#.]+\\.[\\t ]*)((?:\\r?\\n|\\r(?!\\n))(?:\\2[\\t ]+.+|\\s*?(?=\\r?\\n|\\r)))+/m,lookbehind:!0},markup:{pattern:/(^[\\t ]*)<.+/m,lookbehind:!0,inside:{rest:e.languages.markup}},doctype:{pattern:/((?:^|\\n)[\\t ]*)doctype(?: .+)?/,lookbehind:!0},\"flow-control\":{pattern:/(^[\\t ]*)(?:if|unless|else|case|when|default|each|while)\\b(?: .+)?/m,lookbehind:!0,inside:{each:{pattern:/^each .+? in\\b/,inside:{keyword:/\\b(?:each|in)\\b/,punctuation:/,/}},branch:{pattern:/^(?:if|unless|else|case|when|default|while)\\b/,alias:\"keyword\"},rest:e.languages.javascript}},keyword:{pattern:/(^[\\t ]*)(?:block|extends|include|append|prepend)\\b.+/m,lookbehind:!0},mixin:[{pattern:/(^[\\t ]*)mixin .+/m,lookbehind:!0,inside:{keyword:/^mixin/,\"function\":/\\w+(?=\\s*\\(|\\s*$)/,punctuation:/[(),.]/}},{pattern:/(^[\\t ]*)\\+.+/m,lookbehind:!0,inside:{name:{pattern:/^\\+\\w+/,alias:\"function\"},rest:e.languages.javascript}}],script:{pattern:/(^[\\t ]*script(?:(?:&[^(]+)?\\([^)]+\\))*[\\t ]+).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}},\"plain-text\":{pattern:/(^[\\t ]*(?!-)[\\w\\-#.]*[\\w\\-](?:(?:&[^(]+)?\\([^)]+\\))*\\/?[\\t ]+).+/m,lookbehind:!0},tag:{pattern:/(^[\\t ]*)(?!-)[\\w\\-#.]*[\\w\\-](?:(?:&[^(]+)?\\([^)]+\\))*\\/?:?/m,lookbehind:!0,inside:{attributes:[{pattern:/&[^(]+\\([^)]+\\)/,inside:{rest:e.languages.javascript}},{pattern:/\\([^)]+\\)/,inside:{\"attr-value\":{pattern:/(=\\s*)(?:\\{[^}]*\\}|[^,)\\r\\n]+)/,lookbehind:!0,inside:{rest:e.languages.javascript}},\"attr-name\":/[\\w-]+(?=\\s*!?=|\\s*[,)])/,punctuation:/[!=(),]+/}}],punctuation:/:/}},code:[{pattern:/(^[\\t ]*(?:-|!?=)).+/m,lookbehind:!0,inside:{rest:e.languages.javascript}}],punctuation:/[.\\-!=|]+/};for(var t=\"(^([\\\\t ]*)):{{filter_name}}((?:\\\\r?\\\\n|\\\\r(?!\\\\n))(?:\\\\2[\\\\t ]+.+|\\\\s*?(?=\\\\r?\\\\n|\\\\r)))+\",n=[{filter:\"atpl\",language:\"twig\"},{filter:\"coffee\",language:\"coffeescript\"},\"ejs\",\"handlebars\",\"hogan\",\"less\",\"livescript\",\"markdown\",\"mustache\",\"plates\",{filter:\"sass\",language:\"scss\"},\"stylus\",\"swig\"],a={},i=0,r=n.length;r>i;i++){var s=n[i];s=\"string\"==typeof s?{filter:s,language:s}:s,e.languages[s.language]&&(a[\"filter-\"+s.filter]={pattern:RegExp(t.replace(\"{{filter_name}}\",s.filter),\"m\"),lookbehind:!0,inside:{\"filter-name\":{pattern:/^:[\\w-]+/,alias:\"variable\"},rest:e.languages[s.language]}})}e.languages.insertBefore(\"jade\",\"filter\",a)}(Prism);\nPrism.languages.java=Prism.languages.extend(\"clike\",{keyword:/\\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\\b/,number:/\\b0b[01]+\\b|\\b0x[\\da-f]*\\.?[\\da-fp\\-]+\\b|\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?[df]?\\b/i,operator:{pattern:/(^|[^.])(?:\\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\\|[|=]?|\\*=?|\\/=?|%=?|\\^=?|[?:~])/m,lookbehind:!0}}),Prism.languages.insertBefore(\"java\",\"function\",{annotation:{alias:\"punctuation\",pattern:/(^|[^.])@\\w+/,lookbehind:!0}});\nPrism.languages.jolie=Prism.languages.extend(\"clike\",{keyword:/\\b(?:include|define|is_defined|undef|main|init|outputPort|inputPort|Location|Protocol|Interfaces|RequestResponse|OneWay|type|interface|extender|throws|cset|csets|forward|Aggregates|Redirects|embedded|courier|extender|execution|sequential|concurrent|single|scope|install|throw|comp|cH|default|global|linkIn|linkOut|synchronized|this|new|for|if|else|while|in|Jolie|Java|Javascript|nullProcess|spawn|constants|with|provide|until|exit|foreach|instanceof|over|service)\\b/g,builtin:/\\b(?:undefined|string|int|void|long|Byte|bool|double|float|char|any)\\b/,number:/\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?l?\\b/i,operator:/->|<<|[!+-<>=*]?=|[:<>!?*\\/%^]|&&|\\|\\||--?|\\+\\+?/g,symbol:/[|;@]/,punctuation:/[,.]/,string:{pattern:/([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0}}),delete Prism.languages.jolie[\"class-name\"],delete Prism.languages.jolie[\"function\"],Prism.languages.insertBefore(\"jolie\",\"keyword\",{\"function\":{pattern:/((?:\\b(?:outputPort|inputPort|in|service|courier)\\b|@)\\s*)\\w+/,lookbehind:!0},aggregates:{pattern:/(\\bAggregates\\s*:\\s*)(?:\\w+(?:\\s+with\\s+\\w+)?\\s*,\\s*)*\\w+(?:\\s+with\\s+\\w+)?/,lookbehind:!0,inside:{withExtension:{pattern:/\\bwith\\s+\\w+/,inside:{keyword:/\\bwith\\b/}},\"function\":{pattern:/\\w+/},punctuation:{pattern:/,/}}},redirects:{pattern:/(\\bRedirects\\s*:\\s*)(?:\\w+\\s*=>\\s*\\w+\\s*,\\s*)*(?:\\w+\\s*=>\\s*\\w+)/,lookbehind:!0,inside:{punctuation:{pattern:/,/},\"function\":{pattern:/\\w+/g},symbol:{pattern:/=>/g}}}});\nPrism.languages.json={property:/\"(?:\\\\.|[^\\\\\"])*\"(?=\\s*:)/gi,string:/\"(?!:)(?:\\\\.|[^\\\\\"])*\"(?!:)/g,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?)\\b/g,punctuation:/[{}[\\]);,]/g,operator:/:/g,\"boolean\":/\\b(true|false)\\b/gi,\"null\":/\\bnull\\b/gi},Prism.languages.jsonp=Prism.languages.json;\nPrism.languages.julia={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:/\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''|(\"|')(\\\\?.)*?\\1/,keyword:/\\b(abstract|baremodule|begin|bitstype|break|catch|ccall|const|continue|do|else|elseif|end|export|finally|for|function|global|if|immutable|import|importall|let|local|macro|module|print|println|quote|return|try|type|typealias|using|while)\\b/,\"boolean\":/\\b(true|false)\\b/,number:/\\b-?(0[box])?(?:[\\da-f]+\\.?\\d*|\\.\\d+)(?:[efp][+-]?\\d+)?j?\\b/i,operator:/\\+=?|-=?|\\*=?|\\/[\\/=]?|\\\\=?|\\^=?|%=?|÷=?|!=?=?|&=?|\\|[=>]?|\\$=?|<(?:<=?|[=:])?|>(?:=|>>?=?)?|==?=?|[~≠≤≥]/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.keyman={comment:/\\bc\\s.*/i,\"function\":/\\[\\s*((CTRL|SHIFT|ALT|LCTRL|RCTRL|LALT|RALT|CAPS|NCAPS)\\s+)*([TKU]_[a-z0-9_?]+|\".+?\"|'.+?')\\s*\\]/i,string:/(\"|')((?!\\1).)*\\1/,bold:[/&(baselayout|bitmap|capsononly|capsalwaysoff|shiftfreescaps|copyright|ethnologuecode|hotkey|includecodes|keyboardversion|kmw_embedcss|kmw_embedjs|kmw_helpfile|kmw_helptext|kmw_rtl|language|layer|layoutfile|message|mnemoniclayout|name|oldcharposmatching|platform|targets|version|visualkeyboard|windowslanguages)\\b/i,/\\b(bitmap|bitmaps|caps on only|caps always off|shift frees caps|copyright|hotkey|language|layout|message|name|version)\\b/i],keyword:/\\b(any|baselayout|beep|call|context|deadkey|dk|if|index|layer|notany|nul|outs|platform|return|reset|save|set|store|use)\\b/i,atrule:/\\b(ansi|begin|unicode|group|using keys|match|nomatch)\\b/i,number:/\\b(U\\+[\\dA-F]+|d\\d+|x[\\da-f]+|\\d+)\\b/i,operator:/[+>\\\\,()]/,tag:/\\$(keyman|kmfl|weaver|keymanweb|keymanonly):/i};\n!function(n){n.languages.kotlin=n.languages.extend(\"clike\",{keyword:{pattern:/(^|[^.])\\b(?:abstract|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|else|enum|final|finally|for|fun|get|if|import|in|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|out|override|package|private|protected|public|reified|return|sealed|set|super|tailrec|this|throw|to|try|val|var|when|where|while)\\b/,lookbehind:!0},\"function\":[/\\w+(?=\\s*\\()/,{pattern:/(\\.)\\w+(?=\\s*\\{)/,lookbehind:!0}],number:/\\b(?:0[bx][\\da-fA-F]+|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?[fFL]?)\\b/,operator:/\\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\\/*%<>]=?|[?:]:?|\\.\\.|&&|\\|\\||\\b(?:and|inv|or|shl|shr|ushr|xor)\\b/}),delete n.languages.kotlin[\"class-name\"],n.languages.insertBefore(\"kotlin\",\"string\",{\"raw-string\":{pattern:/([\"'])\\1\\1[\\s\\S]*?\\1{3}/,alias:\"string\"}}),n.languages.insertBefore(\"kotlin\",\"keyword\",{annotation:{pattern:/\\B@(?:\\w+:)?(?:[A-Z]\\w*|\\[[^\\]]+\\])/,alias:\"builtin\"}}),n.languages.insertBefore(\"kotlin\",\"function\",{label:{pattern:/\\w+@|@\\w+/,alias:\"symbol\"}});var e=[{pattern:/\\$\\{[^}]+\\}/,inside:{delimiter:{pattern:/^\\$\\{|\\}$/,alias:\"variable\"},rest:n.util.clone(n.languages.kotlin)}},{pattern:/\\$\\w+/,alias:\"variable\"}];n.languages.kotlin.string.inside=n.languages.kotlin[\"raw-string\"].inside={interpolation:e}}(Prism);\n!function(a){var e=/\\\\([^a-z()[\\]]|[a-z\\*]+)/i,n={\"equation-command\":{pattern:e,alias:\"regex\"}};a.languages.latex={comment:/%.*/m,cdata:{pattern:/(\\\\begin\\{((?:verbatim|lstlisting)\\*?)\\})([\\s\\S]*?)(?=\\\\end\\{\\2\\})/,lookbehind:!0},equation:[{pattern:/\\$(?:\\\\?[\\s\\S])*?\\$|\\\\\\((?:\\\\?[\\s\\S])*?\\\\\\)|\\\\\\[(?:\\\\?[\\s\\S])*?\\\\\\]/,inside:n,alias:\"string\"},{pattern:/(\\\\begin\\{((?:equation|math|eqnarray|align|multline|gather)\\*?)\\})([\\s\\S]*?)(?=\\\\end\\{\\2\\})/,lookbehind:!0,inside:n,alias:\"string\"}],keyword:{pattern:/(\\\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\\[[^\\]]+\\])?\\{)[^}]+(?=\\})/,lookbehind:!0},url:{pattern:/(\\\\url\\{)[^}]+(?=\\})/,lookbehind:!0},headline:{pattern:/(\\\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\\*?(?:\\[[^\\]]+\\])?\\{)[^}]+(?=\\}(?:\\[[^\\]]+\\])?)/,lookbehind:!0,alias:\"class-name\"},\"function\":{pattern:e,alias:\"selector\"},punctuation:/[[\\]{}&]/}}(Prism);\nPrism.languages.less=Prism.languages.extend(\"css\",{comment:[/\\/\\*[\\s\\S]*?\\*\\//,{pattern:/(^|[^\\\\])\\/\\/.*/,lookbehind:!0}],atrule:{pattern:/@[\\w-]+?(?:\\([^{}]+\\)|[^(){};])*?(?=\\s*\\{)/i,inside:{punctuation:/[:()]/}},selector:{pattern:/(?:@\\{[\\w-]+\\}|[^{};\\s@])(?:@\\{[\\w-]+\\}|\\([^{}]*\\)|[^{};@])*?(?=\\s*\\{)/,inside:{variable:/@+[\\w-]+/}},property:/(?:@\\{[\\w-]+\\}|[\\w-])+(?:\\+_?)?(?=\\s*:)/i,punctuation:/[{}();:,]/,operator:/[+\\-*\\/]/}),Prism.languages.insertBefore(\"less\",\"punctuation\",{\"function\":Prism.languages.less.function}),Prism.languages.insertBefore(\"less\",\"property\",{variable:[{pattern:/@[\\w-]+\\s*:/,inside:{punctuation:/:/}},/@@?[\\w-]+/],\"mixin-usage\":{pattern:/([{;]\\s*)[.#](?!\\d)[\\w-]+.*?(?=[(;])/,lookbehind:!0,alias:\"function\"}});\nPrism.languages.livescript={\"interpolated-string\":{pattern:/(\"\"\"|\")(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0,inside:{variable:{pattern:/(^|[^\\\\])#[a-z_](?:-?[a-z]|\\d)*/m,lookbehind:!0},interpolation:{pattern:/(^|[^\\\\])#\\{[^}]+\\}/m,lookbehind:!0,inside:{\"interpolation-punctuation\":{pattern:/^#\\{|\\}$/,alias:\"variable\"}}},string:/[\\s\\S]+/}},comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,greedy:!0}],string:[{pattern:/('''|')(?:\\\\[\\s\\S]|(?!\\1)[^\\\\])*\\1/,greedy:!0},{pattern:/<\\[[\\s\\S]*?\\]>/,greedy:!0},/\\\\[^\\s,;\\])}]+/],regex:[{pattern:/\\/\\/(\\[.+?]|\\\\.|(?!\\/\\/)[^\\\\])+\\/\\/[gimyu]{0,5}/,greedy:!0,inside:{comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0}}},{pattern:/\\/(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/[gimyu]{0,5}/,greedy:!0}],keyword:{pattern:/(^|(?!-).)\\b(?:break|case|catch|class|const|continue|default|do|else|extends|fallthrough|finally|for(?: ever)?|function|if|implements|it|let|loop|new|null|otherwise|own|return|super|switch|that|then|this|throw|try|unless|until|var|void|when|while|yield)(?!-)\\b/m,lookbehind:!0},\"keyword-operator\":{pattern:/(^|[^-])\\b(?:(?:delete|require|typeof)!|(?:and|by|delete|export|from|import(?: all)?|in|instanceof|is(?:nt| not)?|not|of|or|til|to|typeof|with|xor)(?!-)\\b)/m,lookbehind:!0,alias:\"operator\"},\"boolean\":{pattern:/(^|[^-])\\b(?:false|no|off|on|true|yes)(?!-)\\b/m,lookbehind:!0},argument:{pattern:/(^|(?!\\.&\\.)[^&])&(?!&)\\d*/m,lookbehind:!0,alias:\"variable\"},number:/\\b(?:\\d+~[\\da-z]+|\\d[\\d_]*(?:\\.\\d[\\d_]*)?(?:[a-z]\\w*)?)/i,identifier:/[a-z_](?:-?[a-z]|\\d)*/i,operator:[{pattern:/( )\\.(?= )/,lookbehind:!0},/\\.(?:[=~]|\\.\\.?)|\\.(?:[&|^]|<<|>>>?)\\.|:(?:=|:=?)|&&|\\|[|>]|<(?:<<?<?|--?!?|~~?!?|[|=?])?|>[>=?]?|-(?:->?|>)?|\\+\\+?|@@?|%%?|\\*\\*?|!(?:~?=|--?>|~?~>)?|~(?:~?>|=)?|==?|\\^\\^?|[\\/?]/],punctuation:/[(){}\\[\\]|.,:;`]/},Prism.languages.livescript[\"interpolated-string\"].inside.interpolation.inside.rest=Prism.languages.livescript;\nPrism.languages.lolcode={comment:[/\\bOBTW\\s+[\\s\\S]*?\\s+TLDR\\b/,/\\bBTW.+/],string:{pattern:/\"(?::.|[^\"])*\"/,inside:{variable:/:\\{[^}]+\\}/,symbol:[/:\\([a-f\\d]+\\)/i,/:\\[[^\\]]+\\]/,/:[)>o\":]/]},greedy:!0},number:/(-|\\b)\\d*\\.?\\d+/,symbol:{pattern:/(^|\\s)(?:A )?(?:YARN|NUMBR|NUMBAR|TROOF|BUKKIT|NOOB)(?=\\s|,|$)/,lookbehind:!0,inside:{keyword:/A(?=\\s)/}},label:{pattern:/((?:^|\\s)(?:IM IN YR|IM OUTTA YR) )[a-zA-Z]\\w*/,lookbehind:!0,alias:\"string\"},\"function\":{pattern:/((?:^|\\s)(?:I IZ|HOW IZ I|IZ) )[a-zA-Z]\\w*/,lookbehind:!0},keyword:[{pattern:/(^|\\s)(?:O HAI IM|KTHX|HAI|KTHXBYE|I HAS A|ITZ(?: A)?|R|AN|MKAY|SMOOSH|MAEK|IS NOW(?: A)?|VISIBLE|GIMMEH|O RLY\\?|YA RLY|NO WAI|OIC|MEBBE|WTF\\?|OMG|OMGWTF|GTFO|IM IN YR|IM OUTTA YR|FOUND YR|YR|TIL|WILE|UPPIN|NERFIN|I IZ|HOW IZ I|IF U SAY SO|SRS|HAS A|LIEK(?: A)?|IZ)(?=\\s|,|$)/,lookbehind:!0},/'Z(?=\\s|,|$)/],\"boolean\":{pattern:/(^|\\s)(?:WIN|FAIL)(?=\\s|,|$)/,lookbehind:!0},variable:{pattern:/(^|\\s)IT(?=\\s|,|$)/,lookbehind:!0},operator:{pattern:/(^|\\s)(?:NOT|BOTH SAEM|DIFFRINT|(?:SUM|DIFF|PRODUKT|QUOSHUNT|MOD|BIGGR|SMALLR|BOTH|EITHER|WON|ALL|ANY) OF)(?=\\s|,|$)/,lookbehind:!0},punctuation:/\\.{3}|…|,|!/};\nPrism.languages.lua={comment:/^#!.+|--(?:\\[(=*)\\[[\\s\\S]*?\\]\\1\\]|.*)/m,string:{pattern:/([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\z(?:\\r\\n|\\s)|\\\\(?:\\r\\n|[\\s\\S]))*\\1|\\[(=*)\\[[\\s\\S]*?\\]\\2\\]/,greedy:!0},number:/\\b0x[a-f\\d]+\\.?[a-f\\d]*(?:p[+-]?\\d+)?\\b|\\b\\d+(?:\\.\\B|\\.?\\d*(?:e[+-]?\\d+)?\\b)|\\B\\.\\d+(?:e[+-]?\\d+)?\\b/i,keyword:/\\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*(?:[({]))/,operator:[/[-+*%^&|#]|\\/\\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\\.\\.(?!\\.)/,lookbehind:!0}],punctuation:/[\\[\\](){},;]|\\.+|:+/};\nPrism.languages.makefile={comment:{pattern:/(^|[^\\\\])#(?:\\\\(?:\\r\\n|[\\s\\S])|.)*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},builtin:/\\.[A-Z][^:#=\\s]+(?=\\s*:(?!=))/,symbol:{pattern:/^[^:=\\r\\n]+(?=\\s*:(?!=))/m,inside:{variable:/\\$+(?:[^(){}:#=\\s]+|(?=[({]))/}},variable:/\\$+(?:[^(){}:#=\\s]+|\\([@*%<^+?][DF]\\)|(?=[({]))/,keyword:[/-include\\b|\\b(?:define|else|endef|endif|export|ifn?def|ifn?eq|include|override|private|sinclude|undefine|unexport|vpath)\\b/,{pattern:/(\\()(?:addsuffix|abspath|and|basename|call|dir|error|eval|file|filter(?:-out)?|findstring|firstword|flavor|foreach|guile|if|info|join|lastword|load|notdir|or|origin|patsubst|realpath|shell|sort|strip|subst|suffix|value|warning|wildcard|word(?:s|list)?)(?=[ \\t])/,lookbehind:!0}],operator:/(?:::|[?:+!])?=|[|@]/,punctuation:/[:;(){}]/};\nPrism.languages.markdown=Prism.languages.extend(\"markup\",{}),Prism.languages.insertBefore(\"markdown\",\"prolog\",{blockquote:{pattern:/^>(?:[\\t ]*>)*/m,alias:\"punctuation\"},code:[{pattern:/^(?: {4}|\\t).+/m,alias:\"keyword\"},{pattern:/``.+?``|`[^`\\n]+`/,alias:\"keyword\"}],title:[{pattern:/\\w+.*(?:\\r?\\n|\\r)(?:==+|--+)/,alias:\"important\",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\\s*)#+.+/m,lookbehind:!0,alias:\"important\",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\\s*)([*-])([\\t ]*\\2){2,}(?=\\s*$)/m,lookbehind:!0,alias:\"punctuation\"},list:{pattern:/(^\\s*)(?:[*+-]|\\d+\\.)(?=[\\t ].)/m,lookbehind:!0,alias:\"punctuation\"},\"url-reference\":{pattern:/!?\\[[^\\]]+\\]:[\\t ]+(?:\\S+|<(?:\\\\.|[^>\\\\])+>)(?:[\\t ]+(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\)))?/,inside:{variable:{pattern:/^(!?\\[)[^\\]]+/,lookbehind:!0},string:/(?:\"(?:\\\\.|[^\"\\\\])*\"|'(?:\\\\.|[^'\\\\])*'|\\((?:\\\\.|[^)\\\\])*\\))$/,punctuation:/^[\\[\\]!:]|[<>]/},alias:\"url\"},bold:{pattern:/(^|[^\\\\])(\\*\\*|__)(?:(?:\\r?\\n|\\r)(?!\\r?\\n|\\r)|.)+?\\2/,lookbehind:!0,inside:{punctuation:/^\\*\\*|^__|\\*\\*$|__$/}},italic:{pattern:/(^|[^\\\\])([*_])(?:(?:\\r?\\n|\\r)(?!\\r?\\n|\\r)|.)+?\\2/,lookbehind:!0,inside:{punctuation:/^[*_]|[*_]$/}},url:{pattern:/!?\\[[^\\]]+\\](?:\\([^\\s)]+(?:[\\t ]+\"(?:\\\\.|[^\"\\\\])*\")?\\)| ?\\[[^\\]\\n]*\\])/,inside:{variable:{pattern:/(!?\\[)[^\\]]+(?=\\]$)/,lookbehind:!0},string:{pattern:/\"(?:\\\\.|[^\"\\\\])*\"(?=\\)$)/}}}}),Prism.languages.markdown.bold.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.italic.inside.url=Prism.util.clone(Prism.languages.markdown.url),Prism.languages.markdown.bold.inside.italic=Prism.util.clone(Prism.languages.markdown.italic),Prism.languages.markdown.italic.inside.bold=Prism.util.clone(Prism.languages.markdown.bold);\nPrism.languages.matlab={string:/\\B'(?:''|[^'\\n])*'/,comment:[/%\\{[\\s\\S]*?\\}%/,/%.+/],number:/\\b-?(?:\\d*\\.?\\d+(?:[eE][+-]?\\d+)?(?:[ij])?|[ij])\\b/,keyword:/\\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\\b/,\"function\":/(?!\\d)\\w+(?=\\s*\\()/,operator:/\\.?[*^\\/\\\\']|[+\\-:@]|[<>=~]=?|&&?|\\|\\|?/,punctuation:/\\.{3}|[.,;\\[\\](){}!]/};\nPrism.languages.mel={comment:/\\/\\/.*/,code:{pattern:/`(?:\\\\.|[^\\\\`\\r\\n])*`/,greedy:!0,alias:\"italic\",inside:{delimiter:{pattern:/^`|`$/,alias:\"punctuation\"}}},string:{pattern:/\"(?:\\\\.|[^\\\\\"\\r\\n])*\"/,greedy:!0},variable:/\\$\\w+/,number:/(?:\\b|-)(?:0x[\\da-fA-F]+|\\d+\\.?\\d*)/,flag:{pattern:/-[^\\d\\W]\\w*/,alias:\"operator\"},keyword:/\\b(?:break|case|continue|default|do|else|float|for|global|if|in|int|matrix|proc|return|string|switch|vector|while)\\b/,\"function\":/\\w+(?=\\()|\\b(?:about|abs|addAttr|addAttributeEditorNodeHelp|addDynamic|addNewShelfTab|addPP|addPanelCategory|addPrefixToName|advanceToNextDrivenKey|affectedNet|affects|aimConstraint|air|alias|aliasAttr|align|alignCtx|alignCurve|alignSurface|allViewFit|ambientLight|angle|angleBetween|animCone|animCurveEditor|animDisplay|animView|annotate|appendStringArray|applicationName|applyAttrPreset|applyTake|arcLenDimContext|arcLengthDimension|arclen|arrayMapper|art3dPaintCtx|artAttrCtx|artAttrPaintVertexCtx|artAttrSkinPaintCtx|artAttrTool|artBuildPaintMenu|artFluidAttrCtx|artPuttyCtx|artSelectCtx|artSetPaintCtx|artUserPaintCtx|assignCommand|assignInputDevice|assignViewportFactories|attachCurve|attachDeviceAttr|attachSurface|attrColorSliderGrp|attrCompatibility|attrControlGrp|attrEnumOptionMenu|attrEnumOptionMenuGrp|attrFieldGrp|attrFieldSliderGrp|attrNavigationControlGrp|attrPresetEditWin|attributeExists|attributeInfo|attributeMenu|attributeQuery|autoKeyframe|autoPlace|bakeClip|bakeFluidShading|bakePartialHistory|bakeResults|bakeSimulation|basename|basenameEx|batchRender|bessel|bevel|bevelPlus|binMembership|bindSkin|blend2|blendShape|blendShapeEditor|blendShapePanel|blendTwoAttr|blindDataType|boneLattice|boundary|boxDollyCtx|boxZoomCtx|bufferCurve|buildBookmarkMenu|buildKeyframeMenu|button|buttonManip|CBG|cacheFile|cacheFileCombine|cacheFileMerge|cacheFileTrack|camera|cameraView|canCreateManip|canvas|capitalizeString|catch|catchQuiet|ceil|changeSubdivComponentDisplayLevel|changeSubdivRegion|channelBox|character|characterMap|characterOutlineEditor|characterize|chdir|checkBox|checkBoxGrp|checkDefaultRenderGlobals|choice|circle|circularFillet|clamp|clear|clearCache|clip|clipEditor|clipEditorCurrentTimeCtx|clipSchedule|clipSchedulerOutliner|clipTrimBefore|closeCurve|closeSurface|cluster|cmdFileOutput|cmdScrollFieldExecuter|cmdScrollFieldReporter|cmdShell|coarsenSubdivSelectionList|collision|color|colorAtPoint|colorEditor|colorIndex|colorIndexSliderGrp|colorSliderButtonGrp|colorSliderGrp|columnLayout|commandEcho|commandLine|commandPort|compactHairSystem|componentEditor|compositingInterop|computePolysetVolume|condition|cone|confirmDialog|connectAttr|connectControl|connectDynamic|connectJoint|connectionInfo|constrain|constrainValue|constructionHistory|container|containsMultibyte|contextInfo|control|convertFromOldLayers|convertIffToPsd|convertLightmap|convertSolidTx|convertTessellation|convertUnit|copyArray|copyFlexor|copyKey|copySkinWeights|cos|cpButton|cpCache|cpClothSet|cpCollision|cpConstraint|cpConvClothToMesh|cpForces|cpGetSolverAttr|cpPanel|cpProperty|cpRigidCollisionFilter|cpSeam|cpSetEdit|cpSetSolverAttr|cpSolver|cpSolverTypes|cpTool|cpUpdateClothUVs|createDisplayLayer|createDrawCtx|createEditor|createLayeredPsdFile|createMotionField|createNewShelf|createNode|createRenderLayer|createSubdivRegion|cross|crossProduct|ctxAbort|ctxCompletion|ctxEditMode|ctxTraverse|currentCtx|currentTime|currentTimeCtx|currentUnit|curve|curveAddPtCtx|curveCVCtx|curveEPCtx|curveEditorCtx|curveIntersect|curveMoveEPCtx|curveOnSurface|curveSketchCtx|cutKey|cycleCheck|cylinder|dagPose|date|defaultLightListCheckBox|defaultNavigation|defineDataServer|defineVirtualDevice|deformer|deg_to_rad|delete|deleteAttr|deleteShadingGroupsAndMaterials|deleteShelfTab|deleteUI|deleteUnusedBrushes|delrandstr|detachCurve|detachDeviceAttr|detachSurface|deviceEditor|devicePanel|dgInfo|dgdirty|dgeval|dgtimer|dimWhen|directKeyCtx|directionalLight|dirmap|dirname|disable|disconnectAttr|disconnectJoint|diskCache|displacementToPoly|displayAffected|displayColor|displayCull|displayLevelOfDetail|displayPref|displayRGBColor|displaySmoothness|displayStats|displayString|displaySurface|distanceDimContext|distanceDimension|doBlur|dolly|dollyCtx|dopeSheetEditor|dot|dotProduct|doubleProfileBirailSurface|drag|dragAttrContext|draggerContext|dropoffLocator|duplicate|duplicateCurve|duplicateSurface|dynCache|dynControl|dynExport|dynExpression|dynGlobals|dynPaintEditor|dynParticleCtx|dynPref|dynRelEdPanel|dynRelEditor|dynamicLoad|editAttrLimits|editDisplayLayerGlobals|editDisplayLayerMembers|editRenderLayerAdjustment|editRenderLayerGlobals|editRenderLayerMembers|editor|editorTemplate|effector|emit|emitter|enableDevice|encodeString|endString|endsWith|env|equivalent|equivalentTol|erf|error|eval|evalDeferred|evalEcho|event|exactWorldBoundingBox|exclusiveLightCheckBox|exec|executeForEachObject|exists|exp|expression|expressionEditorListen|extendCurve|extendSurface|extrude|fcheck|fclose|feof|fflush|fgetline|fgetword|file|fileBrowserDialog|fileDialog|fileExtension|fileInfo|filetest|filletCurve|filter|filterCurve|filterExpand|filterStudioImport|findAllIntersections|findAnimCurves|findKeyframe|findMenuItem|findRelatedSkinCluster|finder|firstParentOf|fitBspline|flexor|floatEq|floatField|floatFieldGrp|floatScrollBar|floatSlider|floatSlider2|floatSliderButtonGrp|floatSliderGrp|floor|flow|fluidCacheInfo|fluidEmitter|fluidVoxelInfo|flushUndo|fmod|fontDialog|fopen|formLayout|format|fprint|frameLayout|fread|freeFormFillet|frewind|fromNativePath|fwrite|gamma|gauss|geometryConstraint|getApplicationVersionAsFloat|getAttr|getClassification|getDefaultBrush|getFileList|getFluidAttr|getInputDeviceRange|getMayaPanelTypes|getModifiers|getPanel|getParticleAttr|getPluginResource|getenv|getpid|glRender|glRenderEditor|globalStitch|gmatch|goal|gotoBindPose|grabColor|gradientControl|gradientControlNoAttr|graphDollyCtx|graphSelectContext|graphTrackCtx|gravity|grid|gridLayout|group|groupObjectsByName|HfAddAttractorToAS|HfAssignAS|HfBuildEqualMap|HfBuildFurFiles|HfBuildFurImages|HfCancelAFR|HfConnectASToHF|HfCreateAttractor|HfDeleteAS|HfEditAS|HfPerformCreateAS|HfRemoveAttractorFromAS|HfSelectAttached|HfSelectAttractors|HfUnAssignAS|hardenPointCurve|hardware|hardwareRenderPanel|headsUpDisplay|headsUpMessage|help|helpLine|hermite|hide|hilite|hitTest|hotBox|hotkey|hotkeyCheck|hsv_to_rgb|hudButton|hudSlider|hudSliderButton|hwReflectionMap|hwRender|hwRenderLoad|hyperGraph|hyperPanel|hyperShade|hypot|iconTextButton|iconTextCheckBox|iconTextRadioButton|iconTextRadioCollection|iconTextScrollList|iconTextStaticLabel|ikHandle|ikHandleCtx|ikHandleDisplayScale|ikSolver|ikSplineHandleCtx|ikSystem|ikSystemInfo|ikfkDisplayMethod|illustratorCurves|image|imfPlugins|inheritTransform|insertJoint|insertJointCtx|insertKeyCtx|insertKnotCurve|insertKnotSurface|instance|instanceable|instancer|intField|intFieldGrp|intScrollBar|intSlider|intSliderGrp|interToUI|internalVar|intersect|iprEngine|isAnimCurve|isConnected|isDirty|isParentOf|isSameObject|isTrue|isValidObjectName|isValidString|isValidUiName|isolateSelect|itemFilter|itemFilterAttr|itemFilterRender|itemFilterType|joint|jointCluster|jointCtx|jointDisplayScale|jointLattice|keyTangent|keyframe|keyframeOutliner|keyframeRegionCurrentTimeCtx|keyframeRegionDirectKeyCtx|keyframeRegionDollyCtx|keyframeRegionInsertKeyCtx|keyframeRegionMoveKeyCtx|keyframeRegionScaleKeyCtx|keyframeRegionSelectKeyCtx|keyframeRegionSetKeyCtx|keyframeRegionTrackCtx|keyframeStats|lassoContext|lattice|latticeDeformKeyCtx|launch|launchImageEditor|layerButton|layeredShaderPort|layeredTexturePort|layout|layoutDialog|lightList|lightListEditor|lightListPanel|lightlink|lineIntersection|linearPrecision|linstep|listAnimatable|listAttr|listCameras|listConnections|listDeviceAttachments|listHistory|listInputDeviceAxes|listInputDeviceButtons|listInputDevices|listMenuAnnotation|listNodeTypes|listPanelCategories|listRelatives|listSets|listTransforms|listUnselected|listerEditor|loadFluid|loadNewShelf|loadPlugin|loadPluginLanguageResources|loadPrefObjects|localizedPanelLabel|lockNode|loft|log|longNameOf|lookThru|ls|lsThroughFilter|lsType|lsUI|Mayatomr|mag|makeIdentity|makeLive|makePaintable|makeRoll|makeSingleSurface|makeTubeOn|makebot|manipMoveContext|manipMoveLimitsCtx|manipOptions|manipRotateContext|manipRotateLimitsCtx|manipScaleContext|manipScaleLimitsCtx|marker|match|max|memory|menu|menuBarLayout|menuEditor|menuItem|menuItemToShelf|menuSet|menuSetPref|messageLine|min|minimizeApp|mirrorJoint|modelCurrentTimeCtx|modelEditor|modelPanel|mouse|movIn|movOut|move|moveIKtoFK|moveKeyCtx|moveVertexAlongDirection|multiProfileBirailSurface|mute|nParticle|nameCommand|nameField|namespace|namespaceInfo|newPanelItems|newton|nodeCast|nodeIconButton|nodeOutliner|nodePreset|nodeType|noise|nonLinear|normalConstraint|normalize|nurbsBoolean|nurbsCopyUVSet|nurbsCube|nurbsEditUV|nurbsPlane|nurbsSelect|nurbsSquare|nurbsToPoly|nurbsToPolygonsPref|nurbsToSubdiv|nurbsToSubdivPref|nurbsUVSet|nurbsViewDirectionVector|objExists|objectCenter|objectLayer|objectType|objectTypeUI|obsoleteProc|oceanNurbsPreviewPlane|offsetCurve|offsetCurveOnSurface|offsetSurface|openGLExtension|openMayaPref|optionMenu|optionMenuGrp|optionVar|orbit|orbitCtx|orientConstraint|outlinerEditor|outlinerPanel|overrideModifier|paintEffectsDisplay|pairBlend|palettePort|paneLayout|panel|panelConfiguration|panelHistory|paramDimContext|paramDimension|paramLocator|parent|parentConstraint|particle|particleExists|particleInstancer|particleRenderInfo|partition|pasteKey|pathAnimation|pause|pclose|percent|performanceOptions|pfxstrokes|pickWalk|picture|pixelMove|planarSrf|plane|play|playbackOptions|playblast|plugAttr|plugNode|pluginInfo|pluginResourceUtil|pointConstraint|pointCurveConstraint|pointLight|pointMatrixMult|pointOnCurve|pointOnSurface|pointPosition|poleVectorConstraint|polyAppend|polyAppendFacetCtx|polyAppendVertex|polyAutoProjection|polyAverageNormal|polyAverageVertex|polyBevel|polyBlendColor|polyBlindData|polyBoolOp|polyBridgeEdge|polyCacheMonitor|polyCheck|polyChipOff|polyClipboard|polyCloseBorder|polyCollapseEdge|polyCollapseFacet|polyColorBlindData|polyColorDel|polyColorPerVertex|polyColorSet|polyCompare|polyCone|polyCopyUV|polyCrease|polyCreaseCtx|polyCreateFacet|polyCreateFacetCtx|polyCube|polyCut|polyCutCtx|polyCylinder|polyCylindricalProjection|polyDelEdge|polyDelFacet|polyDelVertex|polyDuplicateAndConnect|polyDuplicateEdge|polyEditUV|polyEditUVShell|polyEvaluate|polyExtrudeEdge|polyExtrudeFacet|polyExtrudeVertex|polyFlipEdge|polyFlipUV|polyForceUV|polyGeoSampler|polyHelix|polyInfo|polyInstallAction|polyLayoutUV|polyListComponentConversion|polyMapCut|polyMapDel|polyMapSew|polyMapSewMove|polyMergeEdge|polyMergeEdgeCtx|polyMergeFacet|polyMergeFacetCtx|polyMergeUV|polyMergeVertex|polyMirrorFace|polyMoveEdge|polyMoveFacet|polyMoveFacetUV|polyMoveUV|polyMoveVertex|polyNormal|polyNormalPerVertex|polyNormalizeUV|polyOptUvs|polyOptions|polyOutput|polyPipe|polyPlanarProjection|polyPlane|polyPlatonicSolid|polyPoke|polyPrimitive|polyPrism|polyProjection|polyPyramid|polyQuad|polyQueryBlindData|polyReduce|polySelect|polySelectConstraint|polySelectConstraintMonitor|polySelectCtx|polySelectEditCtx|polySeparate|polySetToFaceNormal|polySewEdge|polyShortestPathCtx|polySmooth|polySoftEdge|polySphere|polySphericalProjection|polySplit|polySplitCtx|polySplitEdge|polySplitRing|polySplitVertex|polyStraightenUVBorder|polySubdivideEdge|polySubdivideFacet|polyToSubdiv|polyTorus|polyTransfer|polyTriangulate|polyUVSet|polyUnite|polyWedgeFace|popen|popupMenu|pose|pow|preloadRefEd|print|progressBar|progressWindow|projFileViewer|projectCurve|projectTangent|projectionContext|projectionManip|promptDialog|propModCtx|propMove|psdChannelOutliner|psdEditTextureFile|psdExport|psdTextureFile|putenv|pwd|python|querySubdiv|quit|rad_to_deg|radial|radioButton|radioButtonGrp|radioCollection|radioMenuItemCollection|rampColorPort|rand|randomizeFollicles|randstate|rangeControl|readTake|rebuildCurve|rebuildSurface|recordAttr|recordDevice|redo|reference|referenceEdit|referenceQuery|refineSubdivSelectionList|refresh|refreshAE|registerPluginResource|rehash|reloadImage|removeJoint|removeMultiInstance|removePanelCategory|rename|renameAttr|renameSelectionList|renameUI|render|renderGlobalsNode|renderInfo|renderLayerButton|renderLayerParent|renderLayerPostProcess|renderLayerUnparent|renderManip|renderPartition|renderQualityNode|renderSettings|renderThumbnailUpdate|renderWindowEditor|renderWindowSelectContext|renderer|reorder|reorderDeformers|requires|reroot|resampleFluid|resetAE|resetPfxToPolyCamera|resetTool|resolutionNode|retarget|reverseCurve|reverseSurface|revolve|rgb_to_hsv|rigidBody|rigidSolver|roll|rollCtx|rootOf|rot|rotate|rotationInterpolation|roundConstantRadius|rowColumnLayout|rowLayout|runTimeCommand|runup|sampleImage|saveAllShelves|saveAttrPreset|saveFluid|saveImage|saveInitialState|saveMenu|savePrefObjects|savePrefs|saveShelf|saveToolSettings|scale|scaleBrushBrightness|scaleComponents|scaleConstraint|scaleKey|scaleKeyCtx|sceneEditor|sceneUIReplacement|scmh|scriptCtx|scriptEditorInfo|scriptJob|scriptNode|scriptTable|scriptToShelf|scriptedPanel|scriptedPanelType|scrollField|scrollLayout|sculpt|searchPathArray|seed|selLoadSettings|select|selectContext|selectCurveCV|selectKey|selectKeyCtx|selectKeyframeRegionCtx|selectMode|selectPref|selectPriority|selectType|selectedNodes|selectionConnection|separator|setAttr|setAttrEnumResource|setAttrMapping|setAttrNiceNameResource|setConstraintRestPosition|setDefaultShadingGroup|setDrivenKeyframe|setDynamic|setEditCtx|setEditor|setFluidAttr|setFocus|setInfinity|setInputDeviceMapping|setKeyCtx|setKeyPath|setKeyframe|setKeyframeBlendshapeTargetWts|setMenuMode|setNodeNiceNameResource|setNodeTypeFlag|setParent|setParticleAttr|setPfxToPolyCamera|setPluginResource|setProject|setStampDensity|setStartupMessage|setState|setToolTo|setUITemplate|setXformManip|sets|shadingConnection|shadingGeometryRelCtx|shadingLightRelCtx|shadingNetworkCompare|shadingNode|shapeCompare|shelfButton|shelfLayout|shelfTabLayout|shellField|shortNameOf|showHelp|showHidden|showManipCtx|showSelectionInTitle|showShadingGroupAttrEditor|showWindow|sign|simplify|sin|singleProfileBirailSurface|size|sizeBytes|skinCluster|skinPercent|smoothCurve|smoothTangentSurface|smoothstep|snap2to2|snapKey|snapMode|snapTogetherCtx|snapshot|soft|softMod|softModCtx|sort|sound|soundControl|source|spaceLocator|sphere|sphrand|spotLight|spotLightPreviewPort|spreadSheetEditor|spring|sqrt|squareSurface|srtContext|stackTrace|startString|startsWith|stitchAndExplodeShell|stitchSurface|stitchSurfacePoints|strcmp|stringArrayCatenate|stringArrayContains|stringArrayCount|stringArrayInsertAtIndex|stringArrayIntersector|stringArrayRemove|stringArrayRemoveAtIndex|stringArrayRemoveDuplicates|stringArrayRemoveExact|stringArrayToString|stringToStringArray|strip|stripPrefixFromName|stroke|subdAutoProjection|subdCleanTopology|subdCollapse|subdDuplicateAndConnect|subdEditUV|subdListComponentConversion|subdMapCut|subdMapSewMove|subdMatchTopology|subdMirror|subdToBlind|subdToPoly|subdTransferUVsToCache|subdiv|subdivCrease|subdivDisplaySmoothness|substitute|substituteAllString|substituteGeometry|substring|surface|surfaceSampler|surfaceShaderList|swatchDisplayPort|switchTable|symbolButton|symbolCheckBox|sysFile|system|tabLayout|tan|tangentConstraint|texLatticeDeformContext|texManipContext|texMoveContext|texMoveUVShellContext|texRotateContext|texScaleContext|texSelectContext|texSelectShortestPathCtx|texSmudgeUVContext|texWinToolCtx|text|textCurves|textField|textFieldButtonGrp|textFieldGrp|textManip|textScrollList|textToShelf|textureDisplacePlane|textureHairColor|texturePlacementContext|textureWindow|threadCount|threePointArcCtx|timeControl|timePort|timerX|toNativePath|toggle|toggleAxis|toggleWindowVisibility|tokenize|tokenizeList|tolerance|tolower|toolButton|toolCollection|toolDropped|toolHasOptions|toolPropertyWindow|torus|toupper|trace|track|trackCtx|transferAttributes|transformCompare|transformLimits|translator|trim|trunc|truncateFluidCache|truncateHairCache|tumble|tumbleCtx|turbulence|twoPointArcCtx|uiRes|uiTemplate|unassignInputDevice|undo|undoInfo|ungroup|uniform|unit|unloadPlugin|untangleUV|untitledFileName|untrim|upAxis|updateAE|userCtx|uvLink|uvSnapshot|validateShelfName|vectorize|view2dToolCtx|viewCamera|viewClipPlane|viewFit|viewHeadOn|viewLookAt|viewManip|viewPlace|viewSet|visor|volumeAxis|vortex|waitCursor|warning|webBrowser|webBrowserPrefs|whatIs|window|windowPref|wire|wireContext|workspace|wrinkle|wrinkleContext|writeTake|xbmLangPathList|xform)\\b/,operator:[/\\+[+=]?|-[-=]?|&&|\\|\\||[<>]=|[*\\/!=]=?|[%^]/,{pattern:/(^|[^<])<(?!<)/,lookbehind:!0},{pattern:/(^|[^>])>(?!>)/,lookbehind:!0}],punctuation:/<<|>>|[.,:;?\\[\\](){}]/},Prism.languages.mel.code.inside.rest=Prism.util.clone(Prism.languages.mel);\nPrism.languages.mizar={comment:/::.+/,keyword:/@proof\\b|\\b(?:according|aggregate|all|and|antonym|are|as|associativity|assume|asymmetry|attr|be|begin|being|by|canceled|case|cases|clusters?|coherence|commutativity|compatibility|connectedness|consider|consistency|constructors|contradiction|correctness|def|deffunc|define|definitions?|defpred|do|does|equals|end|environ|ex|exactly|existence|for|from|func|given|hence|hereby|holds|idempotence|identity|iff?|implies|involutiveness|irreflexivity|is|it|let|means|mode|non|not|notations?|now|of|or|otherwise|over|per|pred|prefix|projectivity|proof|provided|qua|reconsider|redefine|reduce|reducibility|reflexivity|registrations?|requirements|reserve|sch|schemes?|section|selector|set|sethood|st|struct|such|suppose|symmetry|synonym|take|that|the|then|theorems?|thesis|thus|to|transitivity|uniqueness|vocabular(?:y|ies)|when|where|with|wrt)\\b/,parameter:{pattern:/\\$(?:10|\\d)/,alias:\"variable\"},variable:/\\w+(?=:)/,number:/(?:\\b|-)\\d+\\b/,operator:/\\.\\.\\.|->|&|\\.?=/,punctuation:/\\(#|#\\)|[,:;\\[\\](){}]/};\nPrism.languages.monkey={string:/\"[^\"\\r\\n]*\"/,comment:[/^#Rem\\s+[\\s\\S]*?^#End/im,/'.+/],preprocessor:{pattern:/(^[ \\t]*)#.+/m,lookbehind:!0,alias:\"comment\"},\"function\":/\\w+(?=\\()/,\"type-char\":{pattern:/(\\w)[?%#$]/,lookbehind:!0,alias:\"variable\"},number:{pattern:/((?:\\.\\.)?)(?:(?:\\b|\\B-\\.?|\\B\\.)\\d+((?!\\.\\.)\\.\\d*)?|\\$[\\da-f]+)/i,lookbehind:!0},keyword:/\\b(?:Void|Strict|Public|Private|Property|Bool|Int|Float|String|Array|Object|Continue|Exit|Import|Extern|New|Self|Super|Try|Catch|Eachin|True|False|Extends|Abstract|Final|Select|Case|Default|Const|Local|Global|Field|Method|Function|Class|End|If|Then|Else|ElseIf|EndIf|While|Wend|Repeat|Until|Forever|For|To|Step|Next|Return|Module|Interface|Implements|Inline|Throw|Null)\\b/i,operator:/\\.\\.|<[=>]?|>=?|:?=|(?:[+\\-*\\/&~|]|\\b(?:Mod|Shl|Shr)\\b)=?|\\b(?:And|Not|Or)\\b/i,punctuation:/[.,:;()\\[\\]]/};\nPrism.languages.nasm={comment:/;.*$/m,string:/(\"|'|`)(\\\\?.)*?\\1/m,label:{pattern:/(^\\s*)[A-Za-z._?$][\\w.?$@~#]*:/m,lookbehind:!0,alias:\"function\"},keyword:[/\\[?BITS (16|32|64)\\]?/m,{pattern:/(^\\s*)section\\s*[a-zA-Z\\.]+:?/im,lookbehind:!0},/(?:extern|global)[^;\\r\\n]*/im,/(?:CPU|FLOAT|DEFAULT).*$/m],register:{pattern:/\\b(?:st\\d|[xyz]mm\\d\\d?|[cdt]r\\d|r\\d\\d?[bwd]?|[er]?[abcd]x|[abcd][hl]|[er]?(bp|sp|si|di)|[cdefgs]s)\\b/i,alias:\"variable\"},number:/(\\b|-|(?=\\$))(0[hx][\\da-f]*\\.?[\\da-f]+(p[+-]?\\d+)?|\\d[\\da-f]+[hx]|\\$\\d[\\da-f]*|0[oq][0-7]+|[0-7]+[oq]|0[by][01]+|[01]+[by]|0[dt]\\d+|\\d*\\.?\\d+(\\.?e[+-]?\\d+)?[dt]?)\\b/i,operator:/[\\[\\]*+\\-\\/%<>=&|$!]/};\nPrism.languages.nginx=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\"{\\\\])#.*/,lookbehind:!0},keyword:/\\b(?:CONTENT_|DOCUMENT_|GATEWAY_|HTTP_|HTTPS|if_not_empty|PATH_|QUERY_|REDIRECT_|REMOTE_|REQUEST_|SCGI|SCRIPT_|SERVER_|http|server|events|location|include|accept_mutex|accept_mutex_delay|access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth|auth_basic|auth_basic_user_file|auth_http|auth_http_header|auth_http_timeout|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|debug_connection|debug_points|default_type|deny|devpoll_changes|devpoll_events|directio|directio_alignment|disable_symlinks|empty_gif|env|epoll_events|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_purge|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|google_perftools_profiles|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|imap_capabilities|imap_client_buffer|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|kqueue_changes|kqueue_events|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|lock_file|log_format|log_format_combined|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|multi_accept|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|pop3_auth|pop3_capabilities|port_in_redirect|post_action|postpone_output|protocol|proxy|proxy_buffer|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_error_message|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_timeout|proxy_upstream_fail_timeout|proxy_upstream_max_fails|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|rtsig_signo|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|smtp_auth|smtp_capabilities|so_keepalive|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssi_value_length|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|starttls|stub_status|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timeout|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|use|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_connections|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory|xclient|xml_entities|xslt_entities|xslt_stylesheet|xslt_types)\\b/i}),Prism.languages.insertBefore(\"nginx\",\"keyword\",{variable:/\\$[a-z_]+/i});\nPrism.languages.nim={comment:/#.*/,string:{pattern:/(?:(?:\\b(?!\\d)(?:\\w|\\\\x[8-9a-fA-F][0-9a-fA-F])+)?(?:\"\"\"[\\s\\S]*?\"\"\"(?!\")|\"(?:\\\\[\\s\\S]|\"\"|[^\"\\\\])*\")|'(?:\\\\(?:\\d+|x[\\da-fA-F]{2}|.)|[^'])')/,greedy:!0},number:/\\b(?:0[xXoObB][\\da-fA-F_]+|\\d[\\d_]*(?:(?!\\.\\.)\\.[\\d_]*)?(?:[eE][+-]?\\d[\\d_]*)?)(?:'?[iuf]\\d*)?/,keyword:/\\b(?:addr|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|include|interface|iterator|let|macro|method|mixin|nil|object|out|proc|ptr|raise|ref|return|static|template|try|tuple|type|using|var|when|while|with|without|yield)\\b/,\"function\":{pattern:/(?:(?!\\d)(?:\\w|\\\\x[8-9a-fA-F][0-9a-fA-F])+|`[^`\\r\\n]+`)\\*?(?:\\[[^\\]]+\\])?(?=\\s*\\()/,inside:{operator:/\\*$/}},ignore:{pattern:/`[^`\\r\\n]+`/,inside:{punctuation:/`/}},operator:{pattern:/(^|[({\\[](?=\\.\\.)|(?![({\\[]\\.).)(?:(?:[=+\\-*\\/<>@$~&%|!?^:\\\\]|\\.\\.|\\.(?![)}\\]]))+|\\b(?:and|div|of|or|in|is|isnot|mod|not|notin|shl|shr|xor)\\b)/m,lookbehind:!0},punctuation:/[({\\[]\\.|\\.[)}\\]]|[`(){}\\[\\],:]/};\nPrism.languages.nix={comment:/\\/\\*[\\s\\S]*?\\*\\/|#.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\[\\s\\S])*\"|''(?:(?!'')[\\s\\S]|''(?:'|\\\\|\\$\\{))*''/,greedy:!0,inside:{interpolation:{pattern:/(^|(?:^|(?!'').)[^\\\\])\\$\\{(?:[^}]|\\{[^}]*\\})*}/,lookbehind:!0,inside:{antiquotation:{pattern:/^\\$(?=\\{)/,alias:\"variable\"}}}}},url:[/\\b(?:[a-z]{3,7}:\\/\\/)[\\w\\-+%~\\/.:#=?&]+/,{pattern:/([^\\/])(?:[\\w\\-+%~.:#=?&]*(?!\\/\\/)[\\w\\-+%~\\/.:#=?&])?(?!\\/\\/)\\/[\\w\\-+%~\\/.:#=?&]*/,lookbehind:!0}],antiquotation:{pattern:/\\$(?=\\{)/,alias:\"variable\"},number:/\\b\\d+\\b/,keyword:/\\b(?:assert|builtins|else|if|in|inherit|let|null|or|then|with)\\b/,\"function\":/\\b(?:abort|add|all|any|attrNames|attrValues|baseNameOf|compareVersions|concatLists|currentSystem|deepSeq|derivation|dirOf|div|elem(?:At)?|fetch(?:url|Tarball)|filter(?:Source)?|fromJSON|genList|getAttr|getEnv|hasAttr|hashString|head|import|intersectAttrs|is(?:Attrs|Bool|Function|Int|List|Null|String)|length|lessThan|listToAttrs|map|mul|parseDrvName|pathExists|read(?:Dir|File)|removeAttrs|replaceStrings|seq|sort|stringLength|sub(?:string)?|tail|throw|to(?:File|JSON|Path|String|XML)|trace|typeOf)\\b|\\bfoldl'\\B/,\"boolean\":/\\b(?:true|false)\\b/,operator:/[=!<>]=?|\\+\\+?|\\|\\||&&|\\/\\/|->?|[?@]/,punctuation:/[{}()[\\].,:;]/},Prism.languages.nix.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.nix);\nPrism.languages.nsis={comment:{pattern:/(^|[^\\\\])(\\/\\*[\\s\\S]*?\\*\\/|[#;].*)/,lookbehind:!0},string:{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0},keyword:{pattern:/(^\\s*)(Abort|Add(BrandingImage|Size)|AdvSplash|Allow(RootDirInstall|SkipFiles)|AutoCloseWindow|Banner|BG(Font|Gradient|Image)|BrandingText|BringToFront|Call(InstDLL)?|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|Create(Directory|Font|ShortCut)|Delete(INISec|INIStr|RegKey|RegValue)?|Detail(Print|sButtonText)|Dialer|Dir(Text|Var|Verify)|EnableWindow|Enum(RegKey|RegValue)|Exch|Exec(Shell|Wait)?|ExpandEnvStrings|File(BufSize|Close|ErrorText|Open|Read|ReadByte|ReadUTF16LE|ReadWord|WriteUTF16LE|Seek|Write|WriteByte|WriteWord)?|Find(Close|First|Next|Window)|FlushINI|Get(CurInstType|CurrentAddress|DlgItem|DLLVersion(Local)?|ErrorLevel|FileTime(Local)?|FullPathName|Function(Address|End)?|InstDirError|LabelAddress|TempFileName)|Goto|HideWindow|Icon|If(Abort|Errors|FileExists|RebootFlag|Silent)|InitPluginsDir|Install(ButtonText|Colors|Dir(RegKey)?)|InstProgressFlags|Inst(Type(GetText|SetText)?)|Int(CmpU?|Fmt|Op)|IsWindow|Lang(DLL|String)|License(BkColor|Data|ForceSelection|LangString|Text)|LoadLanguageFile|LockWindow|Log(Set|Text)|Manifest(DPIAware|SupportedOS)|Math|MessageBox|MiscButtonText|Name|Nop|ns(Dialogs|Exec)|NSISdl|OutFile|Page(Callbacks)?|Pop|Push|Quit|Read(EnvStr|INIStr|RegDWORD|RegStr)|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|Section(End|GetFlags|GetInstTypes|GetSize|GetText|Group|In|SetFlags|SetInstTypes|SetSize|SetText)?|SendMessage|Set(AutoClose|BrandingImage|Compress|Compressor(DictSize)?|CtlColors|CurInstType|DatablockOptimize|DateSave|Details(Print|View)|ErrorLevel|Errors|FileAttributes|Font|OutPath|Overwrite|RebootFlag|RegView|ShellVarContext|Silent)|Show(InstDetails|UninstDetails|Window)|Silent(Install|UnInstall)|Sleep|SpaceTexts|Splash|StartMenu|Str(CmpS?|Cpy|Len)|SubCaption|System|Unicode|Uninstall(ButtonText|Caption|Icon|SubCaption|Text)|UninstPage|UnRegDLL|UserInfo|Var|VI(AddVersionKey|FileVersion|ProductVersion)|VPatch|WindowIcon|Write(INIStr|RegBin|RegDWORD|RegExpandStr|RegStr|Uninstaller)|XPStyle)\\b/m,lookbehind:!0},property:/\\b(admin|all|auto|both|colored|false|force|hide|highest|lastused|leave|listonly|none|normal|notset|off|on|open|print|show|silent|silentlog|smooth|textonly|true|user|ARCHIVE|FILE_(ATTRIBUTE_ARCHIVE|ATTRIBUTE_NORMAL|ATTRIBUTE_OFFLINE|ATTRIBUTE_READONLY|ATTRIBUTE_SYSTEM|ATTRIBUTE_TEMPORARY)|HK(CR|CU|DD|LM|PD|U)|HKEY_(CLASSES_ROOT|CURRENT_CONFIG|CURRENT_USER|DYN_DATA|LOCAL_MACHINE|PERFORMANCE_DATA|USERS)|ID(ABORT|CANCEL|IGNORE|NO|OK|RETRY|YES)|MB_(ABORTRETRYIGNORE|DEFBUTTON1|DEFBUTTON2|DEFBUTTON3|DEFBUTTON4|ICONEXCLAMATION|ICONINFORMATION|ICONQUESTION|ICONSTOP|OK|OKCANCEL|RETRYCANCEL|RIGHT|RTLREADING|SETFOREGROUND|TOPMOST|USERICON|YESNO)|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SYSTEM|TEMPORARY)\\b/,constant:/\\${[\\w\\.:\\^-]+}|\\$\\([\\w\\.:\\^-]+\\)/i,variable:/\\$\\w+/i,number:/\\b-?(0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee]-?\\d+)?)\\b/,operator:/--?|\\+\\+?|<=?|>=?|==?=?|&&?|\\|?\\||[?*\\/~^%]/,punctuation:/[{}[\\];(),.:]/,important:{pattern:/(^\\s*)!(addincludedir|addplugindir|appendfile|cd|define|delfile|echo|else|endif|error|execute|finalize|getdllversionsystem|ifdef|ifmacrodef|ifmacrondef|ifndef|if|include|insertmacro|macroend|macro|makensis|packhdr|searchparse|searchreplace|tempfile|undef|verbose|warning)\\b/im,lookbehind:!0}};\nPrism.languages.objectivec=Prism.languages.extend(\"c\",{keyword:/\\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\\b/,string:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|@\"(\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,operator:/-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/});\nPrism.languages.ocaml={comment:/\\(\\*[\\s\\S]*?\\*\\)/,string:[{pattern:/\"(?:\\\\.|[^\\\\\\r\\n\"])*\"/,greedy:!0},{pattern:/(['`])(?:\\\\(?:\\d+|x[\\da-f]+|.)|(?!\\1)[^\\\\\\r\\n])\\1/i,greedy:!0}],number:/\\b-?(?:0x[\\da-f][\\da-f_]+|(?:0[bo])?\\d[\\d_]*\\.?[\\d_]*(?:e[+-]?[\\d_]+)?)/i,type:{pattern:/\\B['`][a-z\\d_]*/i,alias:\"variable\"},directive:{pattern:/\\B#[a-z\\d_]+/i,alias:\"function\"},keyword:/\\b(?:as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|match|method|module|mutable|new|object|of|open|prefix|private|rec|then|sig|struct|to|try|type|val|value|virtual|where|while|with)\\b/,\"boolean\":/\\b(?:false|true)\\b/,operator:/:=|[=<>@^|&+\\-*\\/$%!?~][!$%&\\*+\\-.\\/:<=>?@^|~]*|\\b(?:and|asr|land|lor|lxor|lsl|lsr|mod|nor|or)\\b/,punctuation:/[(){}\\[\\]|_.,:;]/};\nPrism.languages.oz={comment:/\\/\\*[\\s\\S]*?\\*\\/|%.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\[\\s\\S])*\"/,greedy:!0},atom:{pattern:/'(?:[^'\\\\]|\\\\.)*'/,greedy:!0,alias:\"builtin\"},keyword:/[$_]|\\[\\]|\\b(?:at|attr|case|catch|choice|class|cond|declare|define|dis|else(?:case|if)?|end|export|fail|false|feat|finally|from|fun|functor|if|import|in|local|lock|meth|nil|not|of|or|prepare|proc|prop|raise|require|self|skip|then|thread|true|try|unit)\\b/,\"function\":[/[a-z][A-Za-z\\d]*(?=\\()/,{pattern:/(\\{)[A-Z][A-Za-z\\d]*/,lookbehind:!0}],number:/\\b(?:0[bx][\\da-f]+|\\d+\\.?\\d*(?:e~?\\d+)?\\b)|&(?:[^\\\\]|\\\\(?:\\d{3}|.))/i,variable:/\\b[A-Z][A-Za-z\\d]*|`(?:[^`\\\\]|\\\\.)+`/,\"attr-name\":/\\w+(?=:)/,operator:/:(?:=|::?)|<[-:=]?|=(?:=|<?:?)|>=?:?|\\\\=:?|!!?|[|#+\\-*\\/,~^@]|\\b(?:andthen|div|mod|orelse)\\b/,punctuation:/[\\[\\](){}.:;?]/};\nPrism.languages.parigp={comment:/\\/\\*[\\s\\S]*?\\*\\/|\\\\\\\\.*/,string:{pattern:/\"(?:[^\"\\\\]|\\\\.)*\"/,greedy:!0},keyword:function(){var r=[\"breakpoint\",\"break\",\"dbg_down\",\"dbg_err\",\"dbg_up\",\"dbg_x\",\"forcomposite\",\"fordiv\",\"forell\",\"forpart\",\"forprime\",\"forstep\",\"forsubgroup\",\"forvec\",\"for\",\"iferr\",\"if\",\"local\",\"my\",\"next\",\"return\",\"until\",\"while\"];return r=r.map(function(r){return r.split(\"\").join(\" *\")}).join(\"|\"),RegExp(\"\\\\b(?:\"+r+\")\\\\b\")}(),\"function\":/\\w[\\w ]*?(?= *\\()/,number:{pattern:/((?:\\. *\\. *)?)(?:\\d(?: *\\d)*(?: *(?!\\. *\\.)\\.(?: *\\d)*)?|\\. *\\d(?: *\\d)*)(?: *e *[+-]? *\\d(?: *\\d)*)?/i,lookbehind:!0},operator:/\\. *\\.|[*\\/!](?: *=)?|%(?: *=|(?: *#)?(?: *')*)?|\\+(?: *[+=])?|-(?: *[-=>])?|<(?:(?: *<)?(?: *=)?| *>)?|>(?: *>)?(?: *=)?|=(?: *=){0,2}|\\\\(?: *\\/)?(?: *=)?|&(?: *&)?|\\| *\\||['#~^]/,punctuation:/[\\[\\]{}().,:;|]/};\nPrism.languages.parser=Prism.languages.extend(\"markup\",{keyword:{pattern:/(^|[^^])(?:\\^(?:case|eval|for|if|switch|throw)\\b|@(?:BASE|CLASS|GET(?:_DEFAULT)?|OPTIONS|SET_DEFAULT|USE)\\b)/,lookbehind:!0},variable:{pattern:/(^|[^^])\\B\\$(?:\\w+|(?=[.\\{]))(?:(?:\\.|::?)\\w+)*(?:\\.|::?)?/,lookbehind:!0,inside:{punctuation:/\\.|:+/}},\"function\":{pattern:/(^|[^^])\\B[@^]\\w+(?:(?:\\.|::?)\\w+)*(?:\\.|::?)?/,lookbehind:!0,inside:{keyword:{pattern:/(^@)(?:GET_|SET_)/,lookbehind:!0},punctuation:/\\.|:+/}},escape:{pattern:/\\^(?:[$^;@()\\[\\]{}\"':]|#[a-f\\d]*)/i,alias:\"builtin\"},punctuation:/[\\[\\](){};]/}),Prism.languages.insertBefore(\"parser\",\"keyword\",{\"parser-comment\":{pattern:/(\\s)#.*/,lookbehind:!0,alias:\"comment\"},expression:{pattern:/(^|[^^])\\((?:[^()]|\\((?:[^()]|\\((?:[^()])*\\))*\\))*\\)/,greedy:!0,lookbehind:!0,inside:{string:{pattern:/(^|[^^])([\"'])(?:(?!\\2)[^^]|\\^[\\s\\S])*\\2/,lookbehind:!0},keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,\"function\":Prism.languages.parser.function,\"boolean\":/\\b(?:true|false)\\b/,number:/\\b(?:0x[a-f\\d]+|\\d+\\.?\\d*(?:e[+-]?\\d+)?)\\b/i,escape:Prism.languages.parser.escape,operator:/[~+*\\/\\\\%]|!(?:\\|\\|?|=)?|&&?|\\|\\|?|==|<[<=]?|>[>=]?|-[fd]?|\\b(?:def|eq|ge|gt|in|is|le|lt|ne)\\b/,punctuation:Prism.languages.parser.punctuation}}}),Prism.languages.insertBefore(\"inside\",\"punctuation\",{expression:Prism.languages.parser.expression,keyword:Prism.languages.parser.keyword,variable:Prism.languages.parser.variable,\"function\":Prism.languages.parser.function,escape:Prism.languages.parser.escape,\"parser-punctuation\":{pattern:Prism.languages.parser.punctuation,alias:\"punctuation\"}},Prism.languages.parser.tag.inside[\"attr-value\"]);\nPrism.languages.pascal={comment:[/\\(\\*[\\s\\S]+?\\*\\)/,/\\{[\\s\\S]+?\\}/,/\\/\\/.*/],string:{pattern:/(?:'(?:''|[^'\\r\\n])*'|#[&$%]?[a-f\\d]+)+|\\^[a-z]/i,greedy:!0},keyword:[{pattern:/(^|[^&])\\b(?:absolute|array|asm|begin|case|const|constructor|destructor|do|downto|else|end|file|for|function|goto|if|implementation|inherited|inline|interface|label|nil|object|of|operator|packed|procedure|program|record|reintroduce|repeat|self|set|string|then|to|type|unit|until|uses|var|while|with)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:dispose|exit|false|new|true)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:class|dispinterface|except|exports|finalization|finally|initialization|inline|library|on|out|packed|property|raise|resourcestring|threadvar|try)\\b/i,lookbehind:!0},{pattern:/(^|[^&])\\b(?:absolute|abstract|alias|assembler|bitpacked|break|cdecl|continue|cppdecl|cvar|default|deprecated|dynamic|enumerator|experimental|export|external|far|far16|forward|generic|helper|implements|index|interrupt|iochecks|local|message|name|near|nodefault|noreturn|nostackframe|oldfpccall|otherwise|overload|override|pascal|platform|private|protected|public|published|read|register|reintroduce|result|safecall|saveregisters|softfloat|specialize|static|stdcall|stored|strict|unaligned|unimplemented|varargs|virtual|write)\\b/i,lookbehind:!0}],number:[/[+-]?(?:[&%]\\d+|\\$[a-f\\d]+)/i,/([+-]|\\b)\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?/i],operator:[/\\.\\.|\\*\\*|:=|<[<=>]?|>[>=]?|[+\\-*\\/]=?|[@^=]/i,{pattern:/(^|[^&])\\b(?:and|as|div|exclude|in|include|is|mod|not|or|shl|shr|xor)\\b/,lookbehind:!0}],punctuation:/\\(\\.|\\.\\)|[()\\[\\]:;,.]/};\nPrism.languages.perl={comment:[{pattern:/(^\\s*)=\\w+[\\s\\S]*?=cut.*/m,lookbehind:!0},{pattern:/(^|[^\\\\$])#.*/,lookbehind:!0}],string:[{pattern:/\\b(?:q|qq|qx|qw)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]/,greedy:!0},{pattern:/\\b(?:q|qq|qx|qw)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,greedy:!0},{pattern:/(\"|`)(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,greedy:!0},{pattern:/'(?:[^'\\\\\\r\\n]|\\\\.)*'/,greedy:!0}],regex:[{pattern:/\\b(?:m|qr)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\.)*?\\1[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngc]*/,greedy:!0},{pattern:/\\b(?:m|qr)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngc]*/,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/(^|[^-]\\b)(?:s|tr|y)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngcer]*/,lookbehind:!0,greedy:!0},{pattern:/\\/(?:[^\\/\\\\\\r\\n]|\\\\.)*\\/[msixpodualngc]*(?=\\s*(?:$|[\\r\\n,.;})&|\\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\\b))/,greedy:!0}],variable:[/[&*$@%]\\{\\^[A-Z]+\\}/,/[&*$@%]\\^[A-Z_]/,/[&*$@%]#?(?=\\{)/,/[&*$@%]#?((::)*'?(?!\\d)[\\w$]+)+(::)*/i,/[&*$@%]\\d+/,/(?!%=)[$@%][!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~]/],filehandle:{pattern:/<(?![<=])\\S*>|\\b_\\b/,alias:\"symbol\"},vstring:{pattern:/v\\d+(\\.\\d+)*|\\d+(\\.\\d+){2,}/,alias:\"string\"},\"function\":{pattern:/sub [a-z0-9_]+/i,inside:{keyword:/sub/}},keyword:/\\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\\b/,number:/\\b-?(0x[\\dA-Fa-f](_?[\\dA-Fa-f])*|0b[01](_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)\\b/,operator:/-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b|\\+[+=]?|-[-=>]?|\\*\\*?=?|\\/\\/?=?|=[=~>]?|~[~=]?|\\|\\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\\.(?:=|\\.\\.?)?|[\\\\?]|\\bx(?:=|\\b)|\\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\\b/,punctuation:/[{}[\\];(),:]/};\nPrism.languages.php=Prism.languages.extend(\"clike\",{keyword:/\\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\\b/i,constant:/\\b[A-Z0-9_]{2,}\\b/,comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0}}),Prism.languages.insertBefore(\"php\",\"class-name\",{\"shell-comment\":{pattern:/(^|[^\\\\])#.*/,lookbehind:!0,alias:\"comment\"}}),Prism.languages.insertBefore(\"php\",\"keyword\",{delimiter:{pattern:/\\?>|<\\?(?:php|=)?/i,alias:\"important\"},variable:/\\$\\w+\\b/i,\"package\":{pattern:/(\\\\|namespace\\s+|use\\s+)[\\w\\\\]+/,lookbehind:!0,inside:{punctuation:/\\\\/}}}),Prism.languages.insertBefore(\"php\",\"operator\",{property:{pattern:/(->)[\\w]+/,lookbehind:!0}}),Prism.languages.markup&&(Prism.hooks.add(\"before-highlight\",function(e){\"php\"===e.language&&/(?:<\\?php|<\\?)/gi.test(e.code)&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(/(?:<\\?php|<\\?)[\\s\\S]*?(?:\\?>|$)/gi,function(a){for(var n=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___PHP\"+n+\"___\");)++n;return e.tokenStack[n]=a,\"___PHP\"+n+\"___\"}),e.grammar=Prism.languages.markup)}),Prism.hooks.add(\"before-insert\",function(e){\"php\"===e.language&&e.backupCode&&(e.code=e.backupCode,delete e.backupCode)}),Prism.hooks.add(\"after-highlight\",function(e){if(\"php\"===e.language&&e.tokenStack){e.grammar=Prism.languages.php;for(var a=0,n=Object.keys(e.tokenStack);a<n.length;++a){var t=n[a],r=e.tokenStack[t];e.highlightedCode=e.highlightedCode.replace(\"___PHP\"+t+\"___\",'<span class=\"token php language-php\">'+Prism.highlight(r,e.grammar,\"php\").replace(/\\$/g,\"$$$$\")+\"</span>\")}e.element.innerHTML=e.highlightedCode}}));\nPrism.languages.insertBefore(\"php\",\"variable\",{\"this\":/\\$this\\b/,global:/\\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)/,scope:{pattern:/\\b[\\w\\\\]+::/,inside:{keyword:/(static|self|parent)/,punctuation:/(::|\\\\)/}}});\nPrism.languages.powershell={comment:[{pattern:/(^|[^`])<#[\\s\\S]*?#>/,lookbehind:!0},{pattern:/(^|[^`])#.*/,lookbehind:!0}],string:[{pattern:/\"(`?[\\s\\S])*?\"/,greedy:!0,inside:{\"function\":{pattern:/[^`]\\$\\(.*?\\)/,inside:{}}}},{pattern:/'([^']|'')*'/,greedy:!0}],namespace:/\\[[a-z][\\s\\S]*?\\]/i,\"boolean\":/\\$(true|false)\\b/i,variable:/\\$\\w+\\b/i,\"function\":[/\\b(Add-(Computer|Content|History|Member|PSSnapin|Type)|Checkpoint-Computer|Clear-(Content|EventLog|History|Item|ItemProperty|Variable)|Compare-Object|Complete-Transaction|Connect-PSSession|ConvertFrom-(Csv|Json|StringData)|Convert-Path|ConvertTo-(Csv|Html|Json|Xml)|Copy-(Item|ItemProperty)|Debug-Process|Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Disconnect-PSSession|Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)|Enter-PSSession|Exit-PSSession|Export-(Alias|Clixml|Console|Csv|FormatData|ModuleMember|PSSession)|ForEach-Object|Format-(Custom|List|Table|Wide)|Get-(Alias|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Culture|Date|Event|EventLog|EventSubscriber|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|WmiObject)|Group-Object|Import-(Alias|Clixml|Csv|LocalizedData|Module|PSSession)|Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)|Join-Path|Limit-EventLog|Measure-(Command|Object)|Move-(Item|ItemProperty)|New-(Alias|Event|EventLog|Item|ItemProperty|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy)|Out-(Default|File|GridView|Host|Null|Printer|String)|Pop-Location|Push-Location|Read-Host|Receive-(Job|PSSession)|Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)|Remove-(Computer|Event|EventLog|Item|ItemProperty|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)|Rename-(Computer|Item|ItemProperty)|Reset-ComputerMachinePassword|Resolve-Path|Restart-(Computer|Service)|Restore-Computer|Resume-(Job|Service)|Save-Help|Select-(Object|String|Xml)|Send-MailMessage|Set-(Alias|Content|Date|Item|ItemProperty|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)|Show-(Command|ControlPanelItem|EventLog)|Sort-Object|Split-Path|Start-(Job|Process|Service|Sleep|Transaction)|Stop-(Computer|Job|Process|Service)|Suspend-(Job|Service)|Tee-Object|Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)|Trace-Command|Unblock-File|Undo-Transaction|Unregister-(Event|PSSessionConfiguration)|Update-(FormatData|Help|List|TypeData)|Use-Transaction|Wait-(Event|Job|Process)|Where-Object|Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning))\\b/i,/\\b(ac|cat|chdir|clc|cli|clp|clv|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|ebp|echo|epal|epcsv|epsn|erase|fc|fl|ft|fw|gal|gbp|gc|gci|gcs|gdr|gi|gl|gm|gp|gps|group|gsv|gu|gv|gwmi|iex|ii|ipal|ipcsv|ipsn|irm|iwmi|iwr|kill|lp|ls|measure|mi|mount|move|mp|mv|nal|ndr|ni|nv|ogv|popd|ps|pushd|pwd|rbp|rd|rdr|ren|ri|rm|rmdir|rni|rnp|rp|rv|rvpa|rwmi|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls|sort|sp|spps|spsv|start|sv|swmi|tee|trcm|type|write)\\b/i],keyword:/\\b(Begin|Break|Catch|Class|Continue|Data|Define|Do|DynamicParam|Else|ElseIf|End|Exit|Filter|Finally|For|ForEach|From|Function|If|InlineScript|Parallel|Param|Process|Return|Sequence|Switch|Throw|Trap|Try|Until|Using|Var|While|Workflow)\\b/i,operator:{pattern:/(\\W?)(!|-(eq|ne|gt|ge|lt|le|sh[lr]|not|b?(and|x?or)|(Not)?(Like|Match|Contains|In)|Replace|Join|is(Not)?|as)\\b|-[-=]?|\\+[+=]?|[*\\/%]=?)/i,lookbehind:!0},punctuation:/[|{}[\\];(),.]/},Prism.languages.powershell.string[0].inside.boolean=Prism.languages.powershell.boolean,Prism.languages.powershell.string[0].inside.variable=Prism.languages.powershell.variable,Prism.languages.powershell.string[0].inside.function.inside=Prism.util.clone(Prism.languages.powershell);\nPrism.languages.processing=Prism.languages.extend(\"clike\",{keyword:/\\b(?:break|catch|case|class|continue|default|else|extends|final|for|if|implements|import|new|null|private|public|return|static|super|switch|this|try|void|while)\\b/,operator:/<[<=]?|>[>=]?|&&?|\\|\\|?|[%?]|[!=+\\-*\\/]=?/}),Prism.languages.insertBefore(\"processing\",\"number\",{constant:/\\b(?!XML\\b)[A-Z][A-Z\\d_]+\\b/,type:{pattern:/\\b(?:boolean|byte|char|color|double|float|int|XML|[A-Z][A-Za-z\\d_]*)\\b/,alias:\"variable\"}}),Prism.languages.processing[\"function\"].pattern=/[a-z0-9_]+(?=\\s*\\()/i,Prism.languages.processing[\"class-name\"].alias=\"variable\";\nPrism.languages.prolog={comment:[/%.+/,/\\/\\*[\\s\\S]*?\\*\\//],string:{pattern:/([\"'])(?:\\1\\1|\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0},builtin:/\\b(?:fx|fy|xf[xy]?|yfx?)\\b/,variable:/\\b[A-Z_]\\w*/,\"function\":/\\b[a-z]\\w*(?:(?=\\()|\\/\\d+)/,number:/\\b\\d+\\.?\\d*/,operator:/[:\\\\=><\\-?*@\\/;+^|!$.]+|\\b(?:is|mod|not|xor)\\b/,punctuation:/[(){}\\[\\],]/};\nPrism.languages.properties={comment:/^[ \\t]*[#!].*$/m,\"attr-value\":{pattern:/(^[ \\t]*(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\s:=])+?(?: *[=:] *| ))(?:\\\\(?:\\r\\n|[\\s\\S])|.)+/m,lookbehind:!0},\"attr-name\":/^[ \\t]*(?:\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\s:=])+?(?= *[ =:]| )/m,punctuation:/[=:]/};\nPrism.languages.protobuf=Prism.languages.extend(\"clike\",{keyword:/\\b(package|import|message|enum)\\b/,builtin:/\\b(required|repeated|optional|reserved)\\b/,primitive:{pattern:/\\b(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\\b/,alias:\"symbol\"}});\n!function(e){e.languages.puppet={heredoc:[{pattern:/(@\\(\"([^\"\\r\\n\\/):]+)\"(?:\\/[nrts$uL]*)?\\).*(?:\\r?\\n|\\r))(?:.*(?:\\r?\\n|\\r))*?[ \\t]*\\|?[ \\t]*-?[ \\t]*\\2/,lookbehind:!0,alias:\"string\",inside:{punctuation:/(?=\\S).*\\S(?= *$)/}},{pattern:/(@\\(([^\"\\r\\n\\/):]+)(?:\\/[nrts$uL]*)?\\).*(?:\\r?\\n|\\r))(?:.*(?:\\r?\\n|\\r))*?[ \\t]*\\|?[ \\t]*-?[ \\t]*\\2/,lookbehind:!0,alias:\"string\",inside:{punctuation:/(?=\\S).*\\S(?= *$)/}},{pattern:/@\\(\"?(?:[^\"\\r\\n\\/):]+)\"?(?:\\/[nrts$uL]*)?\\)/,alias:\"string\",inside:{punctuation:{pattern:/(\\().+?(?=\\))/,lookbehind:!0}}}],\"multiline-comment\":{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,alias:\"comment\"},regex:{pattern:/((?:\\bnode\\s+|[~=\\(\\[\\{,]\\s*|[=+]>\\s*|^\\s*))\\/(?:[^\\/\\\\]|\\\\[\\s\\S])+\\/(?:[imx]+\\b|\\B)/,lookbehind:!0,inside:{\"extended-regex\":{pattern:/^\\/(?:[^\\/\\\\]|\\\\[\\s\\S])+\\/[im]*x[im]*$/,inside:{comment:/#.*/}}}},comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/([\"'])(?:\\$\\{(?:[^'\"}]|([\"'])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2)+\\}|(?!\\1)[^\\\\]|\\\\[\\s\\S])*\\1/,inside:{\"double-quoted\":{pattern:/^\"[\\s\\S]*\"$/,inside:{}}}},variable:{pattern:/\\$(?:::)?\\w+(?:::\\w+)*/,inside:{punctuation:/::/}},\"attr-name\":/(?:\\w+|\\*)(?=\\s*=>)/,\"function\":[{pattern:/(\\.)(?!\\d)\\w+/,lookbehind:!0},/\\b(?:contain|debug|err|fail|include|info|notice|realize|require|tag|warning)\\b|\\b(?!\\d)\\w+(?=\\()/],number:/\\b(?:0x[a-f\\d]+|\\d+(?:\\.\\d+)?(?:e-?\\d+)?)\\b/i,\"boolean\":/\\b(?:true|false)\\b/,keyword:/\\b(?:application|attr|case|class|consumes|default|define|else|elsif|function|if|import|inherits|node|private|produces|type|undef|unless)\\b/,datatype:{pattern:/\\b(?:Any|Array|Boolean|Callable|Catalogentry|Class|Collection|Data|Default|Enum|Float|Hash|Integer|NotUndef|Numeric|Optional|Pattern|Regexp|Resource|Runtime|Scalar|String|Struct|Tuple|Type|Undef|Variant)\\b/,alias:\"symbol\"},operator:/=[=~>]?|![=~]?|<(?:<\\|?|[=~|-])?|>[>=]?|->?|~>|\\|>?>?|[*\\/%+?]|\\b(?:and|in|or)\\b/,punctuation:/[\\[\\]{}().,;]|:+/};var n=[{pattern:/(^|[^\\\\])\\$\\{(?:[^'\"{}]|\\{[^}]*\\}|([\"'])(?:(?!\\2)[^\\\\]|\\\\[\\s\\S])*\\2)+\\}/,lookbehind:!0,inside:{\"short-variable\":{pattern:/(^\\$\\{)(?!\\w+\\()(?:::)?\\w+(?:::\\w+)*/,lookbehind:!0,alias:\"variable\",inside:{punctuation:/::/}},delimiter:{pattern:/^\\$/,alias:\"variable\"},rest:e.util.clone(e.languages.puppet)}},{pattern:/(^|[^\\\\])\\$(?:::)?\\w+(?:::\\w+)*/,lookbehind:!0,alias:\"variable\",inside:{punctuation:/::/}}];e.languages.puppet.heredoc[0].inside.interpolation=n,e.languages.puppet.string.inside[\"double-quoted\"].inside.interpolation=n}(Prism);\n!function(e){e.languages.pure={\"inline-lang\":{pattern:/%<[\\s\\S]+?%>/,inside:{lang:{pattern:/(^%< *)-\\*-.+?-\\*-/,lookbehind:!0,alias:\"comment\"},delimiter:{pattern:/^%<.*|%>$/,alias:\"punctuation\"}}},comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,greedy:!0,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0},/#!.+/],string:{pattern:/\"(?:\\\\.|[^\"\\\\\\r\\n])*\"/,greedy:!0},number:{pattern:/((?:\\.\\.)?)(?:\\b(?:inf|nan)\\b|\\b0x[\\da-f]+|(?:\\b(?:0b)?\\d+(?:\\.\\d)?|\\B\\.\\d)\\d*(?:e[+-]?\\d+)?L?)/i,lookbehind:!0},keyword:/\\b(?:ans|break|bt|case|catch|cd|clear|const|def|del|dump|else|end|exit|extern|false|force|help|if|infix[lr]?|interface|let|ls|mem|namespace|nonfix|NULL|of|otherwise|outfix|override|postfix|prefix|private|public|pwd|quit|run|save|show|stats|then|throw|trace|true|type|underride|using|when|with)\\b/,\"function\":/\\b(?:abs|add_(?:(?:fundef|interface|macdef|typedef)(?:_at)?|addr|constdef|vardef)|all|any|applp?|arity|bigintp?|blob(?:_crc|_size|p)?|boolp?|byte_(?:matrix|pointer)|byte_c?string(?:_pointer)?|calloc|cat|catmap|ceil|char[ps]?|check_ptrtag|chr|clear_sentry|clearsym|closurep?|cmatrixp?|cols?|colcat(?:map)?|colmap|colrev|colvector(?:p|seq)?|complex(?:_float_(?:matrix|pointer)|_matrix(?:_view)?|_pointer|p)?|conj|cookedp?|cst|cstring(?:_(?:dup|list|vector))?|curry3?|cyclen?|del_(?:constdef|fundef|interface|macdef|typedef|vardef)|delete|diag(?:mat)?|dim|dmatrixp?|do|double(?:_matrix(?:_view)?|_pointer|p)?|dowith3?|drop|dropwhile|eval(?:cmd)?|exactp|filter|fix|fixity|flip|float(?:_matrix|_pointer)|floor|fold[lr]1?|frac|free|funp?|functionp?|gcd|get(?:_(?:byte|constdef|double|float|fundef|int(?:64)?|interface(?:_typedef)?|long|macdef|pointer|ptrtag|short|sentry|string|typedef|vardef))?|globsym|hash|head|id|im|imatrixp?|index|inexactp|infp|init|insert|int(?:_matrix(?:_view)?|_pointer|p)?|int64_(?:matrix|pointer)|integerp?|iteraten?|iterwhile|join|keys?|lambdap?|last(?:err(?:pos)?)?|lcd|list[2p]?|listmap|make_ptrtag|malloc|map|matcat|matrixp?|max|member|min|nanp|nargs|nmatrixp?|null|numberp?|ord|pack(?:ed)?|pointer(?:_cast|_tag|_type|p)?|pow|pred|ptrtag|put(?:_(?:byte|double|float|int(?:64)?|long|pointer|short|string))?|rationalp?|re|realp?|realloc|recordp?|redim|reduce(?:_with)?|refp?|repeatn?|reverse|rlistp?|round|rows?|rowcat(?:map)?|rowmap|rowrev|rowvector(?:p|seq)?|same|scan[lr]1?|sentry|sgn|short_(?:matrix|pointer)|slice|smatrixp?|sort|split|str|strcat|stream|stride|string(?:_(?:dup|list|vector)|p)?|subdiag(?:mat)?|submat|subseq2?|substr|succ|supdiag(?:mat)?|symbolp?|tail|take|takewhile|thunkp?|transpose|trunc|tuplep?|typep|ubyte|uint(?:64)?|ulong|uncurry3?|unref|unzip3?|update|ushort|vals?|varp?|vector(?:p|seq)?|void|zip3?|zipwith3?)\\b/,special:{pattern:/\\b__[a-z]+__\\b/i,alias:\"builtin\"},operator:/(?=\\b_|[^_])[!\"#$%&'*+,\\-.\\/:<=>?@\\\\^_`|~\\u00a1-\\u00bf\\u00d7-\\u00f7\\u20d0-\\u2bff]+|\\b(?:and|div|mod|not|or)\\b/,punctuation:/[(){}\\[\\];,|]/};var t=[\"c\",{lang:\"c++\",alias:\"cpp\"},\"fortran\",\"ats\",\"dsp\"],a=\"%< *-\\\\*- *{lang}\\\\d* *-\\\\*-[\\\\s\\\\S]+?%>\";t.forEach(function(t){var r=t;if(\"string\"!=typeof t&&(r=t.alias,t=t.lang),e.languages[r]){var i={};i[\"inline-lang-\"+r]={pattern:RegExp(a.replace(\"{lang}\",t.replace(/([.+*?\\/\\\\(){}\\[\\]])/g,\"\\\\$1\")),\"i\"),inside:e.util.clone(e.languages.pure[\"inline-lang\"].inside)},i[\"inline-lang-\"+r].inside.rest=e.util.clone(e.languages[r]),e.languages.insertBefore(\"pure\",\"inline-lang\",i)}}),e.languages.c&&(e.languages.pure[\"inline-lang\"].inside.rest=e.util.clone(e.languages.c))}(Prism);\nPrism.languages.python={\"triple-quoted-string\":{pattern:/\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''/,alias:\"string\"},comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0},\"function\":{pattern:/((?:^|\\s)def[ \\t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\\()/g,lookbehind:!0},\"class-name\":{pattern:/(\\bclass\\s+)[a-z0-9_]+/i,lookbehind:!0},keyword:/\\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\\b/,\"boolean\":/\\b(?:True|False)\\b/,number:/\\b-?(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,operator:/[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.q={string:/\"(?:\\\\.|[^\"\\\\\\r\\n])*\"/,comment:[{pattern:/([\\t )\\]}])\\/.*/,lookbehind:!0},{pattern:/(^|\\r?\\n|\\r)\\/[\\t ]*(?:(?:\\r?\\n|\\r)(?:.*(?:\\r?\\n|\\r))*?(?:\\\\(?=[\\t ]*(?:\\r?\\n|\\r))|$)|\\S.*)/,lookbehind:!0},/^\\\\[\\t ]*(?:\\r?\\n|\\r)[\\s\\S]+/m,/^#!.+/m],symbol:/`(?::\\S+|[\\w.]*)/,datetime:{pattern:/0N[mdzuvt]|0W[dtz]|\\d{4}\\.\\d\\d(?:m|\\.\\d\\d(?:T(?:\\d\\d(?::\\d\\d(?::\\d\\d(?:[.:]\\d\\d\\d)?)?)?)?)?[dz]?)|\\d\\d:\\d\\d(?::\\d\\d(?:[.:]\\d\\d\\d)?)?[uvt]?/,alias:\"number\"},number:/\\b-?(?![01]:)(?:0[wn]|0W[hj]?|0N[hje]?|0x[\\da-fA-F]+|\\d+\\.?\\d*(?:e[+-]?\\d+)?[hjfeb]?)/,keyword:/\\\\\\w+\\b|\\b(?:abs|acos|aj0?|all|and|any|asc|asin|asof|atan|attr|avgs?|binr?|by|ceiling|cols|cor|cos|count|cov|cross|csv|cut|delete|deltas|desc|dev|differ|distinct|div|do|dsave|ej|enlist|eval|except|exec|exit|exp|fby|fills|first|fkeys|flip|floor|from|get|getenv|group|gtime|hclose|hcount|hdel|hopen|hsym|iasc|identity|idesc|if|ij|in|insert|inter|inv|keys?|last|like|list|ljf?|load|log|lower|lsq|ltime|ltrim|mavg|maxs?|mcount|md5|mdev|med|meta|mins?|mmax|mmin|mmu|mod|msum|neg|next|not|null|or|over|parse|peach|pj|plist|prds?|prev|prior|rand|rank|ratios|raze|read0|read1|reciprocal|reval|reverse|rload|rotate|rsave|rtrim|save|scan|scov|sdev|select|set|setenv|show|signum|sin|sqrt|ssr?|string|sublist|sums?|sv|svar|system|tables|tan|til|trim|txf|type|uj|ungroup|union|update|upper|upsert|value|var|views?|vs|wavg|where|while|within|wj1?|wsum|ww|xasc|xbar|xcols?|xdesc|xexp|xgroup|xkey|xlog|xprev|xrank)\\b/,adverb:{pattern:/['\\/\\\\]:?|\\beach\\b/,alias:\"function\"},verb:{pattern:/(?:\\B\\.\\B|\\b[01]:|<[=>]?|>=?|[:+\\-*%,!?_~=|$&#@^]):?/,alias:\"operator\"},punctuation:/[(){}\\[\\];.]/};\nPrism.languages.qore=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:\\/\\/|#).*)/,lookbehind:!0},string:{pattern:/(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\])*\\1/,greedy:!0},variable:/\\$(?!\\d)\\w+\\b/,keyword:/\\b(?:abstract|any|assert|binary|bool|boolean|break|byte|case|catch|char|class|code|const|continue|data|default|do|double|else|enum|extends|final|finally|float|for|goto|hash|if|implements|import|inherits|instanceof|int|interface|long|my|native|new|nothing|null|object|our|own|private|reference|rethrow|return|short|soft(?:int|float|number|bool|string|date|list)|static|strictfp|string|sub|super|switch|synchronized|this|throw|throws|transient|try|void|volatile|while)\\b/,number:/\\b(?:0b[01]+|0x[\\da-f]*\\.?[\\da-fp\\-]+|\\d*\\.?\\d+e?\\d*[df]|\\d*\\.?\\d+)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,operator:{pattern:/(^|[^\\.])(?:\\+[+=]?|-[-=]?|[!=](?:==?|~)?|>>?=?|<(?:=>?|<=?)?|&[&=]?|\\|[|=]?|[*\\/%^]=?|[~?])/,lookbehind:!0},\"function\":/\\$?\\b(?!\\d)\\w+(?=\\()/});\nPrism.languages.r={comment:/#.*/,string:{pattern:/(['\"])(?:\\\\?.)*?\\1/,greedy:!0},\"percent-operator\":{pattern:/%[^%\\s]*%/,alias:\"operator\"},\"boolean\":/\\b(?:TRUE|FALSE)\\b/,ellipsis:/\\.\\.(?:\\.|\\d+)/,number:[/\\b(?:NaN|Inf)\\b/,/\\b(?:0x[\\dA-Fa-f]+(?:\\.\\d*)?|\\d*\\.?\\d+)(?:[EePp][+-]?\\d+)?[iL]?\\b/],keyword:/\\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\\b/,operator:/->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\\|\\|?|[+*\\/^$@~]/,punctuation:/[(){}\\[\\],;]/};\n!function(a){var e=a.util.clone(a.languages.javascript);a.languages.jsx=a.languages.extend(\"markup\",e),a.languages.jsx.tag.pattern=/<\\/?[\\w\\.:-]+\\s*(?:\\s+(?:[\\w\\.:-]+(?:=(?:(\"|')(\\\\?[\\s\\S])*?\\1|[^\\s'\">=]+|(\\{[\\s\\S]*?\\})))?|\\{\\.{3}\\w+\\})\\s*)*\\/?>/i,a.languages.jsx.tag.inside[\"attr-value\"].pattern=/=(?!\\{)(?:('|\")[\\s\\S]*?(\\1)|[^\\s>]+)/i,a.languages.insertBefore(\"inside\",\"attr-name\",{spread:{pattern:/\\{\\.{3}\\w+\\}/,inside:{punctuation:/\\{|\\}|\\./,\"attr-value\":/\\w+/}}},a.languages.jsx.tag);var s=a.util.clone(a.languages.jsx);delete s.punctuation,s=a.languages.insertBefore(\"jsx\",\"operator\",{punctuation:/=(?={)|[{}[\\];(),.:]/},{jsx:s}),a.languages.insertBefore(\"inside\",\"attr-value\",{script:{pattern:/=(\\{(?:\\{[^}]*\\}|[^}])+\\})/i,inside:s,alias:\"language-javascript\"}},a.languages.jsx.tag)}(Prism);\nPrism.languages.reason=Prism.languages.extend(\"clike\",{comment:{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0},string:{pattern:/\"(\\\\(?:\\r\\n|[\\s\\S])|[^\\\\\\r\\n\"])*\"/,greedy:!0},\"class-name\":/\\b[A-Z]\\w*/,keyword:/\\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\\b/,operator:/\\.{3}|:[:=]|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\\-*\\/]\\.?|\\b(?:mod|land|lor|lxor|lsl|lsr|asr)\\b/}),Prism.languages.insertBefore(\"reason\",\"class-name\",{character:{pattern:/'(?:\\\\x[\\da-f]{2}|\\\\o[0-3][0-7][0-7]|\\\\\\d{3}|\\\\.|[^'])'/,alias:\"string\"},constructor:{pattern:/\\b[A-Z]\\w*\\b(?!\\s*\\.)/,alias:\"variable\"},label:{pattern:/\\b[a-z]\\w*(?=::)/,alias:\"symbol\"}}),delete Prism.languages.reason.function;\nPrism.languages.rest={table:[{pattern:/(\\s*)(?:\\+[=-]+)+\\+(?:\\r?\\n|\\r)(?:\\1(?:[+|].+)+[+|](?:\\r?\\n|\\r))+\\1(?:\\+[=-]+)+\\+/,lookbehind:!0,inside:{punctuation:/\\||(?:\\+[=-]+)+\\+/}},{pattern:/(\\s*)(?:=+ +)+=+((?:\\r?\\n|\\r)\\1.+)+(?:\\r?\\n|\\r)\\1(?:=+ +)+=+(?=(?:\\r?\\n|\\r){2}|\\s*$)/,lookbehind:!0,inside:{punctuation:/[=-]+/}}],\"substitution-def\":{pattern:/(^\\s*\\.\\. )\\|(?:[^|\\s](?:[^|]*[^|\\s])?)\\| [^:]+::/m,lookbehind:!0,inside:{substitution:{pattern:/^\\|(?:[^|\\s]|[^|\\s][^|]*[^|\\s])\\|/,alias:\"attr-value\",inside:{punctuation:/^\\||\\|$/}},directive:{pattern:/( +)[^:]+::/,lookbehind:!0,alias:\"function\",inside:{punctuation:/::$/}}}},\"link-target\":[{pattern:/(^\\s*\\.\\. )\\[[^\\]]+\\]/m,lookbehind:!0,alias:\"string\",inside:{punctuation:/^\\[|\\]$/}},{pattern:/(^\\s*\\.\\. )_(?:`[^`]+`|(?:[^:\\\\]|\\\\.)+):/m,lookbehind:!0,alias:\"string\",inside:{punctuation:/^_|:$/}}],directive:{pattern:/(^\\s*\\.\\. )[^:]+::/m,lookbehind:!0,alias:\"function\",inside:{punctuation:/::$/}},comment:{pattern:/(^\\s*\\.\\.)(?:(?: .+)?(?:(?:\\r?\\n|\\r).+)+| .+)(?=(?:\\r?\\n|\\r){2}|$)/m,lookbehind:!0},title:[{pattern:/^(([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2+)(?:\\r?\\n|\\r).+(?:\\r?\\n|\\r)\\1$/m,inside:{punctuation:/^[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+|[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+$/,important:/.+/}},{pattern:/(^|(?:\\r?\\n|\\r){2}).+(?:\\r?\\n|\\r)([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2+(?=\\r?\\n|\\r|$)/,lookbehind:!0,inside:{punctuation:/[!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]+$/,important:/.+/}}],hr:{pattern:/((?:\\r?\\n|\\r){2})([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\2{3,}(?=(?:\\r?\\n|\\r){2})/,lookbehind:!0,alias:\"punctuation\"},field:{pattern:/(^\\s*):[^:\\r\\n]+:(?= )/m,lookbehind:!0,alias:\"attr-name\"},\"command-line-option\":{pattern:/(^\\s*)(?:[+-][a-z\\d]|(?:\\-\\-|\\/)[a-z\\d-]+)(?:[ =](?:[a-z][a-z\\d_-]*|<[^<>]+>))?(?:, (?:[+-][a-z\\d]|(?:\\-\\-|\\/)[a-z\\d-]+)(?:[ =](?:[a-z][a-z\\d_-]*|<[^<>]+>))?)*(?=(?:\\r?\\n|\\r)? {2,}\\S)/im,lookbehind:!0,alias:\"symbol\"},\"literal-block\":{pattern:/::(?:\\r?\\n|\\r){2}([ \\t]+).+(?:(?:\\r?\\n|\\r)\\1.+)*/,inside:{\"literal-block-punctuation\":{pattern:/^::/,alias:\"punctuation\"}}},\"quoted-literal-block\":{pattern:/::(?:\\r?\\n|\\r){2}([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~]).*(?:(?:\\r?\\n|\\r)\\1.*)*/,inside:{\"literal-block-punctuation\":{pattern:/^(?:::|([!\"#$%&'()*+,\\-.\\/:;<=>?@\\[\\\\\\]^_`{|}~])\\1*)/m,alias:\"punctuation\"}}},\"list-bullet\":{pattern:/(^\\s*)(?:[*+\\-•‣⁃]|\\(?(?:\\d+|[a-z]|[ivxdclm]+)\\)|(?:\\d+|[a-z]|[ivxdclm]+)\\.)(?= )/im,lookbehind:!0,alias:\"punctuation\"},\"doctest-block\":{pattern:/(^\\s*)>>> .+(?:(?:\\r?\\n|\\r).+)*/m,lookbehind:!0,inside:{punctuation:/^>>>/}},inline:[{pattern:/(^|[\\s\\-:\\/'\"<(\\[{])(?::[^:]+:`.*?`|`.*?`:[^:]+:|(\\*\\*?|``?|\\|)(?!\\s).*?[^\\s]\\2(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$))/m,lookbehind:!0,inside:{bold:{pattern:/(^\\*\\*).+(?=\\*\\*$)/,lookbehind:!0},italic:{pattern:/(^\\*).+(?=\\*$)/,lookbehind:!0},\"inline-literal\":{pattern:/(^``).+(?=``$)/,lookbehind:!0,alias:\"symbol\"},role:{pattern:/^:[^:]+:|:[^:]+:$/,alias:\"function\",inside:{punctuation:/^:|:$/}},\"interpreted-text\":{pattern:/(^`).+(?=`$)/,lookbehind:!0,alias:\"attr-value\"},substitution:{pattern:/(^\\|).+(?=\\|$)/,lookbehind:!0,alias:\"attr-value\"},punctuation:/\\*\\*?|``?|\\|/}}],link:[{pattern:/\\[[^\\]]+\\]_(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$)/,alias:\"string\",inside:{punctuation:/^\\[|\\]_$/}},{pattern:/(?:\\b[a-z\\d](?:[_.:+]?[a-z\\d]+)*_?_|`[^`]+`_?_|_`[^`]+`)(?=[\\s\\-.,:;!?\\\\\\/'\")\\]}]|$)/i,alias:\"string\",inside:{punctuation:/^_?`|`$|`?_?_$/}}],punctuation:{pattern:/(^\\s*)(?:\\|(?= |$)|(?:---?|—|\\.\\.|__)(?= )|\\.\\.$)/m,lookbehind:!0}};\nPrism.languages.rip={comment:/#.*/,keyword:/(?:=>|->)|\\b(?:class|if|else|switch|case|return|exit|try|catch|finally|raise)\\b/,builtin:/@|\\bSystem\\b/,\"boolean\":/\\b(?:true|false)\\b/,date:/\\b\\d{4}-\\d{2}-\\d{2}\\b/,time:/\\b\\d{2}:\\d{2}:\\d{2}\\b/,datetime:/\\b\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\b/,character:/\\B`[^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]\\b/,regex:{pattern:/(^|[^\\/])\\/(?!\\/)(\\[.+?]|\\\\.|[^\\/\\\\\\r\\n])+\\/(?=\\s*($|[\\r\\n,.;})]))/,lookbehind:!0,greedy:!0},symbol:/:[^\\d\\s`'\",.:;#\\/\\\\()<>\\[\\]{}][^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]*/,string:{pattern:/(\"|')(\\\\?.)*?\\1/,greedy:!0},number:/[+-]?(?:(?:\\d+\\.\\d+)|(?:\\d+))/,punctuation:/(?:\\.{2,3})|[`,.:;=\\/\\\\()<>\\[\\]{}]/,reference:/[^\\d\\s`'\",.:;#\\/\\\\()<>\\[\\]{}][^\\s`'\",.:;#\\/\\\\()<>\\[\\]{}]*/};\nPrism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\\s)(?:(?:facet|instance of)(?=[ \\t]+[\\w-]+[ \\t]*\\{)|(?:external|import)\\b)/,lookbehind:!0},component:{pattern:/[\\w-]+(?=[ \\t]*\\{)/,alias:\"variable\"},property:/[\\w.-]+(?=[ \\t]*:)/,value:{pattern:/(=[ \\t]*)[^,;]+/,lookbehind:!0,alias:\"attr-value\"},optional:{pattern:/\\(optional\\)/,alias:\"builtin\"},wildcard:{pattern:/(\\.)\\*/,lookbehind:!0,alias:\"operator\"},punctuation:/[{},.;:=]/};\n!function(e){e.languages.crystal=e.languages.extend(\"ruby\",{keyword:[/\\b(?:abstract|alias|as|asm|begin|break|case|class|def|do|else|elsif|end|ensure|enum|extend|for|fun|if|include|instance_sizeof|lib|macro|module|next|of|out|pointerof|private|protected|rescue|return|require|select|self|sizeof|struct|super|then|type|typeof|uninitialized|union|unless|until|when|while|with|yield|__DIR__|__END_LINE__|__FILE__|__LINE__)\\b/,{pattern:/(\\.\\s*)(?:is_a|responds_to)\\?/,lookbehind:!0}],number:/\\b(?:0b[01_]*[01]|0o[0-7_]*[0-7]|0x[0-9a-fA-F_]*[0-9a-fA-F]|(?:\\d(?:[0-9_]*\\d)?)(?:\\.[0-9_]*\\d)?(?:[eE][+-]?[0-9_]*\\d)?)(?:_(?:[uif](?:8|16|32|64))?)?\\b/});var t=e.util.clone(e.languages.crystal);e.languages.insertBefore(\"crystal\",\"string\",{attribute:{pattern:/@\\[.+?\\]/,alias:\"attr-name\",inside:{delimiter:{pattern:/^@\\[|\\]$/,alias:\"tag\"},rest:t}},expansion:[{pattern:/\\{\\{.+?\\}\\}/,inside:{delimiter:{pattern:/^\\{\\{|\\}\\}$/,alias:\"tag\"},rest:t}},{pattern:/\\{%.+?%\\}/,inside:{delimiter:{pattern:/^\\{%|%\\}$/,alias:\"tag\"},rest:t}}]})}(Prism);\nPrism.languages.rust={comment:[{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0},{pattern:/(^|[^\\\\:])\\/\\/.*/,lookbehind:!0}],string:[{pattern:/b?r(#*)\"(?:\\\\?.)*?\"\\1/,greedy:!0},{pattern:/b?(\"|')(?:\\\\?.)*?\\1/,greedy:!0}],keyword:/\\b(?:abstract|alignof|as|be|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|match|mod|move|mut|offsetof|once|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\\b/,attribute:{pattern:/#!?\\[.+?\\]/,greedy:!0,alias:\"attr-name\"},\"function\":[/[a-z0-9_]+(?=\\s*\\()/i,/[a-z0-9_]+!(?=\\s*\\(|\\[)/i],\"macro-rules\":{pattern:/[a-z0-9_]+!/i,alias:\"function\"},number:/\\b-?(?:0x[\\dA-Fa-f](?:_?[\\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)(?:_?(?:[iu](?:8|16|32|64)?|f32|f64))?\\b/,\"closure-params\":{pattern:/\\|[^|]*\\|(?=\\s*[{-])/,inside:{punctuation:/[\\|:,]/,operator:/[&*]/}},punctuation:/[{}[\\];(),:]|\\.+|->/,operator:/[-+*\\/%!^=]=?|@|&[&=]?|\\|[|=]?|<<?=?|>>?=?/};\nPrism.languages.sas={datalines:{pattern:/^\\s*(?:(?:data)?lines|cards);[\\s\\S]+?(?:\\r?\\n|\\r);/im,alias:\"string\",inside:{keyword:{pattern:/^(\\s*)(?:(?:data)?lines|cards)/i,lookbehind:!0},punctuation:/;/}},comment:[{pattern:/(^\\s*|;\\s*)\\*.*;/m,lookbehind:!0},/\\/\\*[\\s\\S]+?\\*\\//],datetime:{pattern:/'[^']+'(?:dt?|t)\\b/i,alias:\"number\"},string:{pattern:/([\"'])(?:\\1\\1|(?!\\1)[\\s\\S])*\\1/,greedy:!0},keyword:/\\b(?:data|else|format|if|input|proc\\s\\w+|quit|run|then)\\b/i,number:/(?:\\B-|\\b)(?:[\\da-f]+x|\\d+(?:\\.\\d+)?(?:e[+-]?\\d+)?)/i,operator:/\\*\\*?|\\|\\|?|!!?|¦¦?|<[>=]?|>[<=]?|[-+\\/=&]|[~¬^]=?|\\b(?:eq|ne|gt|lt|ge|le|in|not)\\b/i,punctuation:/[$%@.(){}\\[\\];,\\\\]/};\n!function(e){e.languages.sass=e.languages.extend(\"css\",{comment:{pattern:/^([ \\t]*)\\/[\\/*].*(?:(?:\\r?\\n|\\r)\\1[ \\t]+.+)*/m,lookbehind:!0}}),e.languages.insertBefore(\"sass\",\"atrule\",{\"atrule-line\":{pattern:/^(?:[ \\t]*)[@+=].+/m,inside:{atrule:/(?:@[\\w-]+|[+=])/m}}}),delete e.languages.sass.atrule;var a=/((\\$[-_\\w]+)|(#\\{\\$[-_\\w]+\\}))/i,t=[/[+*\\/%]|[=!]=|<=?|>=?|\\b(?:and|or|not)\\b/,{pattern:/(\\s+)-(?=\\s)/,lookbehind:!0}];e.languages.insertBefore(\"sass\",\"property\",{\"variable-line\":{pattern:/^[ \\t]*\\$.+/m,inside:{punctuation:/:/,variable:a,operator:t}},\"property-line\":{pattern:/^[ \\t]*(?:[^:\\s]+ *:.*|:[^:\\s]+.*)/m,inside:{property:[/[^:\\s]+(?=\\s*:)/,{pattern:/(:)[^:\\s]+/,lookbehind:!0}],punctuation:/:/,variable:a,operator:t,important:e.languages.sass.important}}}),delete e.languages.sass.property,delete e.languages.sass.important,delete e.languages.sass.selector,e.languages.insertBefore(\"sass\",\"punctuation\",{selector:{pattern:/([ \\t]*)\\S(?:,?[^,\\r\\n]+)*(?:,(?:\\r?\\n|\\r)\\1[ \\t]+\\S(?:,?[^,\\r\\n]+)*)*/,lookbehind:!0}})}(Prism);\nPrism.languages.scss=Prism.languages.extend(\"css\",{comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},atrule:{pattern:/@[\\w-]+(?:\\([^()]+\\)|[^(])*?(?=\\s+[{;])/,inside:{rule:/@[\\w-]+/}},url:/(?:[-a-z]+-)*url(?=\\()/i,selector:{pattern:/(?=\\S)[^@;\\{\\}\\(\\)]?([^@;\\{\\}\\(\\)]|&|#\\{\\$[-_\\w]+\\})+(?=\\s*\\{(\\}|\\s|[^\\}]+(:|\\{)[^\\}]+))/m,inside:{parent:{pattern:/&/,alias:\"important\"},placeholder:/%[-_\\w]+/,variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}}}),Prism.languages.insertBefore(\"scss\",\"atrule\",{keyword:[/@(?:if|else(?: if)?|for|each|while|import|extend|debug|warn|mixin|include|function|return|content)/i,{pattern:/( +)(?:from|through)(?= )/,lookbehind:!0}]}),Prism.languages.scss.property={pattern:/(?:[\\w-]|\\$[-_\\w]+|#\\{\\$[-_\\w]+\\})+(?=\\s*:)/i,inside:{variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}},Prism.languages.insertBefore(\"scss\",\"important\",{variable:/\\$[-_\\w]+|#\\{\\$[-_\\w]+\\}/}),Prism.languages.insertBefore(\"scss\",\"function\",{placeholder:{pattern:/%[-_\\w]+/,alias:\"selector\"},statement:{pattern:/\\B!(?:default|optional)\\b/i,alias:\"keyword\"},\"boolean\":/\\b(?:true|false)\\b/,\"null\":/\\bnull\\b/,operator:{pattern:/(\\s)(?:[-+*\\/%]|[=!]=|<=?|>=?|and|or|not)(?=\\s)/,lookbehind:!0}}),Prism.languages.scss.atrule.inside.rest=Prism.util.clone(Prism.languages.scss);\nPrism.languages.scala=Prism.languages.extend(\"java\",{keyword:/<-|=>|\\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\\b/,string:[{pattern:/\"\"\"[\\s\\S]*?\"\"\"/,greedy:!0},{pattern:/(\"|')(?:\\\\\\\\|\\\\?[^\\\\\\r\\n])*?\\1/,greedy:!0}],builtin:/\\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\\b/,number:/\\b(?:0x[\\da-f]*\\.?[\\da-f]+|\\d*\\.?\\d+e?\\d*[dfl]?)\\b/i,symbol:/'[^\\d\\s\\\\]\\w*/}),delete Prism.languages.scala[\"class-name\"],delete Prism.languages.scala[\"function\"];\nPrism.languages.scheme={comment:/;.*/,string:{pattern:/\"(?:[^\"\\\\\\r\\n]|\\\\.)*?\"|'[^('\\s]*/,greedy:!0},keyword:{pattern:/(\\()(?:define(?:-syntax|-library|-values)?|(?:case-)?lambda|let(?:\\*|rec)?(?:-values)?|else|if|cond|begin|delay(?:-force)?|parameterize|guard|set!|(?:quasi-)?quote|syntax-rules)/,lookbehind:!0},builtin:{pattern:/(\\()(?:(?:cons|car|cdr|list|call-with-current-continuation|call\\/cc|append|abs|apply|eval)\\b|null\\?|pair\\?|boolean\\?|eof-object\\?|char\\?|procedure\\?|number\\?|port\\?|string\\?|vector\\?|symbol\\?|bytevector\\?)/,lookbehind:!0},number:{pattern:/(\\s|\\))[-+]?\\d*\\.?\\d+(?:\\s*[-+]\\s*\\d*\\.?\\d+i)?\\b/,lookbehind:!0},\"boolean\":/#[tf]/,operator:{pattern:/(\\()(?:[-+*%\\/]|[<>]=?|=>?)/,lookbehind:!0},\"function\":{pattern:/(\\()[^\\s()]*(?=\\s)/,lookbehind:!0},punctuation:/[()]/};\nPrism.languages.smalltalk={comment:/\"(?:\"\"|[^\"])+\"/,string:/'(?:''|[^'])+'/,symbol:/#[\\da-z]+|#(?:-|([+\\/\\\\*~<>=@%|&?!])\\1?)|#(?=\\()/i,\"block-arguments\":{pattern:/(\\[\\s*):[^\\[|]*?\\|/,lookbehind:!0,inside:{variable:/:[\\da-z]+/i,punctuation:/\\|/}},\"temporary-variables\":{pattern:/\\|[^|]+\\|/,inside:{variable:/[\\da-z]+/i,punctuation:/\\|/}},keyword:/\\b(?:nil|true|false|self|super|new)\\b/,character:{pattern:/\\$./,alias:\"string\"},number:[/\\d+r-?[\\dA-Z]+(?:\\.[\\dA-Z]+)?(?:e-?\\d+)?/,/(?:\\B-|\\b)\\d+(?:\\.\\d+)?(?:e-?\\d+)?/],operator:/[<=]=?|:=|~[~=]|\\/\\/?|\\\\\\\\|>[>=]?|[!^+\\-*&|,@]/,punctuation:/[.;:?\\[\\](){}]/};\n!function(e){var t=/\\{\\*[\\s\\S]+?\\*\\}|\\{[\\s\\S]+?\\}/g,a=\"{literal}\",n=\"{/literal}\",o=!1;e.languages.smarty=e.languages.extend(\"markup\",{smarty:{pattern:t,inside:{delimiter:{pattern:/^\\{|\\}$/i,alias:\"punctuation\"},string:/([\"'])(?:\\\\?.)*?\\1/,number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee][-+]?\\d+)?)\\b/,variable:[/\\$(?!\\d)\\w+/,/#(?!\\d)\\w+#/,{pattern:/(\\.|->)(?!\\d)\\w+/,lookbehind:!0},{pattern:/(\\[)(?!\\d)\\w+(?=\\])/,lookbehind:!0}],\"function\":[{pattern:/(\\|\\s*)@?(?!\\d)\\w+/,lookbehind:!0},/^\\/?(?!\\d)\\w+/,/(?!\\d)\\w+(?=\\()/],\"attr-name\":{pattern:/\\w+\\s*=\\s*(?:(?!\\d)\\w+)?/,inside:{variable:{pattern:/(=\\s*)(?!\\d)\\w+/,lookbehind:!0},operator:/=/}},punctuation:[/[\\[\\]().,:`]|\\->/],operator:[/[+\\-*\\/%]|==?=?|[!<>]=?|&&|\\|\\|?/,/\\bis\\s+(?:not\\s+)?(?:div|even|odd)(?:\\s+by)?\\b/,/\\b(?:eq|neq?|gt|lt|gt?e|lt?e|not|mod|or|and)\\b/],keyword:/\\b(?:false|off|on|no|true|yes)\\b/}}}),e.languages.insertBefore(\"smarty\",\"tag\",{\"smarty-comment\":{pattern:/\\{\\*[\\s\\S]*?\\*\\}/,alias:[\"smarty\",\"comment\"]}}),e.hooks.add(\"before-highlight\",function(e){\"smarty\"===e.language&&(e.tokenStack=[],e.backupCode=e.code,e.code=e.code.replace(t,function(t){if(t===n&&(o=!1),!o){t===a&&(o=!0);for(var r=e.tokenStack.length;-1!==e.backupCode.indexOf(\"___SMARTY\"+r+\"___\");)++r;return e.tokenStack[r]=t,\"___SMARTY\"+r+\"___\"}return t}))}),e.hooks.add(\"before-insert\",function(e){\"smarty\"===e.language&&(e.code=e.backupCode,delete e.backupCode)}),e.hooks.add(\"after-highlight\",function(t){if(\"smarty\"===t.language){for(var a=0,n=Object.keys(t.tokenStack);a<n.length;++a){var o=n[a],r=t.tokenStack[o];t.highlightedCode=t.highlightedCode.replace(\"___SMARTY\"+o+\"___\",e.highlight(r,t.grammar,\"smarty\").replace(/\\$/g,\"$$$$\"))}t.element.innerHTML=t.highlightedCode}})}(Prism);\nPrism.languages.sql={comment:{pattern:/(^|[^\\\\])(?:\\/\\*[\\s\\S]*?\\*\\/|(?:--|\\/\\/|#).*)/,lookbehind:!0},string:{pattern:/(^|[^@\\\\])(\"|')(?:\\\\?[\\s\\S])*?\\2/,greedy:!0,lookbehind:!0},variable:/@[\\w.$]+|@(\"|'|`)(?:\\\\?[\\s\\S])+?\\1/,\"function\":/\\b(?:COUNT|SUM|AVG|MIN|MAX|FIRST|LAST|UCASE|LCASE|MID|LEN|ROUND|NOW|FORMAT)(?=\\s*\\()/i,keyword:/\\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR VARYING|CHARACTER (?:SET|VARYING)|CHARSET|CHECK|CHECKPOINT|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMN|COLUMNS|COMMENT|COMMIT|COMMITTED|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS|CONTAINSTABLE|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|DATA(?:BASES?)?|DATE(?:TIME)?|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITER(?:S)?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE(?: PRECISION)?|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE KEY|ELSE|ENABLE|ENCLOSED BY|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPE(?:D BY)?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTO|INVOKER|ISOLATION LEVEL|JOIN|KEYS?|KILL|LANGUAGE SQL|LAST|LEFT|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MODIFIES SQL DATA|MODIFY|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL(?: CHAR VARYING| CHARACTER(?: VARYING)?| VARCHAR)?|NATURAL|NCHAR(?: VARCHAR)?|NEXT|NO(?: SQL|CHECK|CYCLE)?|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READ(?:S SQL DATA|TEXT)?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEATABLE|REPLICATION|REQUIRE|RESTORE|RESTRICT|RETURNS?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE MODE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|START(?:ING BY)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED BY|TEXT(?:SIZE)?|THEN|TIMESTAMP|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNPIVOT|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?)\\b/i,\"boolean\":/\\b(?:TRUE|FALSE|NULL)\\b/i,number:/\\b-?(?:0x)?\\d*\\.?[\\da-f]+\\b/,operator:/[-+*\\/=%^~]|&&?|\\|?\\||!=?|<(?:=>?|<|>)?|>[>=]?|\\b(?:AND|BETWEEN|IN|LIKE|NOT|OR|IS|DIV|REGEXP|RLIKE|SOUNDS LIKE|XOR)\\b/i,punctuation:/[;[\\]()`,.]/};\n!function(n){var t={url:/url\\(([\"']?).*?\\1\\)/i,string:{pattern:/(\"|')(?:[^\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*?\\1/,greedy:!0},interpolation:null,func:null,important:/\\B!(?:important|optional)\\b/i,keyword:{pattern:/(^|\\s+)(?:(?:if|else|for|return|unless)(?=\\s+|$)|@[\\w-]+)/,lookbehind:!0},hexcode:/#[\\da-f]{3,6}/i,number:/\\b\\d+(?:\\.\\d+)?%?/,\"boolean\":/\\b(?:true|false)\\b/,operator:[/~|[+!\\/%<>?=]=?|[-:]=|\\*[*=]?|\\.+|&&|\\|\\||\\B-\\B|\\b(?:and|in|is(?: a| defined| not|nt)?|not|or)\\b/],punctuation:/[{}()\\[\\];:,]/};t.interpolation={pattern:/\\{[^\\r\\n}:]+\\}/,alias:\"variable\",inside:n.util.clone(t)},t.func={pattern:/[\\w-]+\\([^)]*\\).*/,inside:{\"function\":/^[^(]+/,rest:n.util.clone(t)}},n.languages.stylus={comment:{pattern:/(^|[^\\\\])(\\/\\*[\\s\\S]*?\\*\\/|\\/\\/.*)/,lookbehind:!0},\"atrule-declaration\":{pattern:/(^\\s*)@.+/m,lookbehind:!0,inside:{atrule:/^@[\\w-]+/,rest:t}},\"variable-declaration\":{pattern:/(^[ \\t]*)[\\w$-]+\\s*.?=[ \\t]*(?:(?:\\{[^}]*\\}|.+)|$)/m,lookbehind:!0,inside:{variable:/^\\S+/,rest:t}},statement:{pattern:/(^[ \\t]*)(?:if|else|for|return|unless)[ \\t]+.+/m,lookbehind:!0,inside:{keyword:/^\\S+/,rest:t}},\"property-declaration\":{pattern:/((?:^|\\{)([ \\t]*))(?:[\\w-]|\\{[^}\\r\\n]+\\})+(?:\\s*:\\s*|[ \\t]+)[^{\\r\\n]*(?:;|[^{\\r\\n,](?=$)(?!(\\r?\\n|\\r)(?:\\{|\\2[ \\t]+)))/m,lookbehind:!0,inside:{property:{pattern:/^[^\\s:]+/,inside:{interpolation:t.interpolation}},rest:t}},selector:{pattern:/(^[ \\t]*)(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\))?|\\{[^}\\r\\n]+\\})+)(?:(?:\\r?\\n|\\r)(?:\\1(?:(?=\\S)(?:[^{}\\r\\n:()]|::?[\\w-]+(?:\\([^)\\r\\n]*\\))?|\\{[^}\\r\\n]+\\})+)))*(?:,$|\\{|(?=(?:\\r?\\n|\\r)(?:\\{|\\1[ \\t]+)))/m,lookbehind:!0,inside:{interpolation:t.interpolation,punctuation:/[{},]/}},func:t.func,string:t.string,interpolation:t.interpolation,punctuation:/[{}()\\[\\];:.]/}}(Prism);\nPrism.languages.swift=Prism.languages.extend(\"clike\",{string:{pattern:/(\"|')(\\\\(?:\\((?:[^()]|\\([^)]+\\))+\\)|\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,greedy:!0,inside:{interpolation:{pattern:/\\\\\\((?:[^()]|\\([^)]+\\))+\\)/,inside:{delimiter:{pattern:/^\\\\\\(|\\)$/,alias:\"variable\"}}}}},keyword:/\\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\\b/,number:/\\b([\\d_]+(\\.[\\de_]+)?|0x[a-f0-9_]+(\\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b/i,constant:/\\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\\b/,atrule:/@\\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\\b/,builtin:/\\b([A-Z]\\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\\b/}),Prism.languages.swift.string.inside.interpolation.inside.rest=Prism.util.clone(Prism.languages.swift);\nPrism.languages.tcl={comment:{pattern:/(^|[^\\\\])#.*/,lookbehind:!0},string:{pattern:/\"(?:[^\"\\\\\\r\\n]|\\\\(?:\\r\\n|[\\s\\S]))*\"/,greedy:!0},variable:[{pattern:/(\\$)(?:::)?(?:[a-zA-Z0-9]+::)*[a-zA-Z0-9_]+/,lookbehind:!0},{pattern:/(\\$){[^}]+}/,lookbehind:!0},{pattern:/(^\\s*set[ \\t]+)(?:::)?(?:[a-zA-Z0-9]+::)*[a-zA-Z0-9_]+/m,lookbehind:!0}],\"function\":{pattern:/(^\\s*proc[ \\t]+)[^\\s]+/m,lookbehind:!0},builtin:[{pattern:/(^\\s*)(?:proc|return|class|error|eval|exit|for|foreach|if|switch|while|break|continue)\\b/m,lookbehind:!0},/\\b(elseif|else)\\b/],scope:{pattern:/(^\\s*)(global|upvar|variable)\\b/m,lookbehind:!0,alias:\"constant\"},keyword:{pattern:/(^\\s*|\\[)(after|append|apply|array|auto_(?:execok|import|load|mkindex|qualify|reset)|automkindex_old|bgerror|binary|catch|cd|chan|clock|close|concat|dde|dict|encoding|eof|exec|expr|fblocked|fconfigure|fcopy|file(?:event|name)?|flush|gets|glob|history|http|incr|info|interp|join|lappend|lassign|lindex|linsert|list|llength|load|lrange|lrepeat|lreplace|lreverse|lsearch|lset|lsort|math(?:func|op)|memory|msgcat|namespace|open|package|parray|pid|pkg_mkIndex|platform|puts|pwd|re_syntax|read|refchan|regexp|registry|regsub|rename|Safe_Base|scan|seek|set|socket|source|split|string|subst|Tcl|tcl(?:_endOfWord|_findLibrary|startOf(?:Next|Previous)Word|wordBreak(?:After|Before)|test|vars)|tell|time|tm|trace|unknown|unload|unset|update|uplevel|vwait)\\b/m,lookbehind:!0},operator:/!=?|\\*\\*?|==|&&?|\\|\\|?|<[=<]?|>[=>]?|[-+~\\/%?^]|\\b(?:eq|ne|in|ni)\\b/,punctuation:/[{}()\\[\\]]/};\n!function(e){var i=\"(?:\\\\([^|)]+\\\\)|\\\\[[^\\\\]]+\\\\]|\\\\{[^}]+\\\\})+\",n={css:{pattern:/\\{[^}]+\\}/,inside:{rest:e.languages.css}},\"class-id\":{pattern:/(\\()[^)]+(?=\\))/,lookbehind:!0,alias:\"attr-value\"},lang:{pattern:/(\\[)[^\\]]+(?=\\])/,lookbehind:!0,alias:\"attr-value\"},punctuation:/[\\\\\\/]\\d+|\\S/};e.languages.textile=e.languages.extend(\"markup\",{phrase:{pattern:/(^|\\r|\\n)\\S[\\s\\S]*?(?=$|\\r?\\n\\r?\\n|\\r\\r)/,lookbehind:!0,inside:{\"block-tag\":{pattern:RegExp(\"^[a-z]\\\\w*(?:\"+i+\"|[<>=()])*\\\\.\"),inside:{modifier:{pattern:RegExp(\"(^[a-z]\\\\w*)(?:\"+i+\"|[<>=()])+(?=\\\\.)\"),lookbehind:!0,inside:e.util.clone(n)},tag:/^[a-z]\\w*/,punctuation:/\\.$/}},list:{pattern:RegExp(\"^[*#]+(?:\"+i+\")?\\\\s+.+\",\"m\"),inside:{modifier:{pattern:RegExp(\"(^[*#]+)\"+i),lookbehind:!0,inside:e.util.clone(n)},punctuation:/^[*#]+/}},table:{pattern:RegExp(\"^(?:(?:\"+i+\"|[<>=()^~])+\\\\.\\\\s*)?(?:\\\\|(?:(?:\"+i+\"|[<>=()^~_]|[\\\\\\\\/]\\\\d+)+\\\\.)?[^|]*)+\\\\|\",\"m\"),inside:{modifier:{pattern:RegExp(\"(^|\\\\|(?:\\\\r?\\\\n|\\\\r)?)(?:\"+i+\"|[<>=()^~_]|[\\\\\\\\/]\\\\d+)+(?=\\\\.)\"),lookbehind:!0,inside:e.util.clone(n)},punctuation:/\\||^\\./}},inline:{pattern:RegExp(\"(\\\\*\\\\*|__|\\\\?\\\\?|[*_%@+\\\\-^~])(?:\"+i+\")?.+?\\\\1\"),inside:{bold:{pattern:RegExp(\"((^\\\\*\\\\*?)(?:\"+i+\")?).+?(?=\\\\2)\"),lookbehind:!0},italic:{pattern:RegExp(\"((^__?)(?:\"+i+\")?).+?(?=\\\\2)\"),lookbehind:!0},cite:{pattern:RegExp(\"(^\\\\?\\\\?(?:\"+i+\")?).+?(?=\\\\?\\\\?)\"),lookbehind:!0,alias:\"string\"},code:{pattern:RegExp(\"(^@(?:\"+i+\")?).+?(?=@)\"),lookbehind:!0,alias:\"keyword\"},inserted:{pattern:RegExp(\"(^\\\\+(?:\"+i+\")?).+?(?=\\\\+)\"),lookbehind:!0},deleted:{pattern:RegExp(\"(^-(?:\"+i+\")?).+?(?=-)\"),lookbehind:!0},span:{pattern:RegExp(\"(^%(?:\"+i+\")?).+?(?=%)\"),lookbehind:!0},modifier:{pattern:RegExp(\"(^\\\\*\\\\*|__|\\\\?\\\\?|[*_%@+\\\\-^~])\"+i),lookbehind:!0,inside:e.util.clone(n)},punctuation:/[*_%?@+\\-^~]+/}},\"link-ref\":{pattern:/^\\[[^\\]]+\\]\\S+$/m,inside:{string:{pattern:/(\\[)[^\\]]+(?=\\])/,lookbehind:!0},url:{pattern:/(\\])\\S+$/,lookbehind:!0},punctuation:/[\\[\\]]/}},link:{pattern:RegExp('\"(?:'+i+')?[^\"]+\":.+?(?=[^\\\\w/]?(?:\\\\s|$))'),inside:{text:{pattern:RegExp('(^\"(?:'+i+')?)[^\"]+(?=\")'),lookbehind:!0},modifier:{pattern:RegExp('(^\")'+i),lookbehind:!0,inside:e.util.clone(n)},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[\":]/}},image:{pattern:RegExp(\"!(?:\"+i+\"|[<>=()])*[^!\\\\s()]+(?:\\\\([^)]+\\\\))?!(?::.+?(?=[^\\\\w/]?(?:\\\\s|$)))?\"),inside:{source:{pattern:RegExp(\"(^!(?:\"+i+\"|[<>=()])*)[^!\\\\s()]+(?:\\\\([^)]+\\\\))?(?=!)\"),lookbehind:!0,alias:\"url\"},modifier:{pattern:RegExp(\"(^!)(?:\"+i+\"|[<>=()])+\"),lookbehind:!0,inside:e.util.clone(n)},url:{pattern:/(:).+/,lookbehind:!0},punctuation:/[!:]/}},footnote:{pattern:/\\b\\[\\d+\\]/,alias:\"comment\",inside:{punctuation:/\\[|\\]/}},acronym:{pattern:/\\b[A-Z\\d]+\\([^)]+\\)/,inside:{comment:{pattern:/(\\()[^)]+(?=\\))/,lookbehind:!0},punctuation:/[()]/}},mark:{pattern:/\\b\\((TM|R|C)\\)/,alias:\"comment\",inside:{punctuation:/[()]/}}}}});var t={inline:e.util.clone(e.languages.textile.phrase.inside.inline),link:e.util.clone(e.languages.textile.phrase.inside.link),image:e.util.clone(e.languages.textile.phrase.inside.image),footnote:e.util.clone(e.languages.textile.phrase.inside.footnote),acronym:e.util.clone(e.languages.textile.phrase.inside.acronym),mark:e.util.clone(e.languages.textile.phrase.inside.mark)};e.languages.textile.tag.pattern=/<\\/?(?!\\d)[a-z0-9]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,e.languages.textile.phrase.inside.inline.inside.bold.inside=t,e.languages.textile.phrase.inside.inline.inside.italic.inside=t,e.languages.textile.phrase.inside.inline.inside.inserted.inside=t,e.languages.textile.phrase.inside.inline.inside.deleted.inside=t,e.languages.textile.phrase.inside.inline.inside.span.inside=t,e.languages.textile.phrase.inside.table.inside.inline=t.inline,e.languages.textile.phrase.inside.table.inside.link=t.link,e.languages.textile.phrase.inside.table.inside.image=t.image,e.languages.textile.phrase.inside.table.inside.footnote=t.footnote,e.languages.textile.phrase.inside.table.inside.acronym=t.acronym,e.languages.textile.phrase.inside.table.inside.mark=t.mark}(Prism);\nPrism.languages.twig={comment:/\\{#[\\s\\S]*?#\\}/,tag:{pattern:/\\{\\{[\\s\\S]*?\\}\\}|\\{%[\\s\\S]*?%\\}/,inside:{ld:{pattern:/^(?:\\{\\{\\-?|\\{%\\-?\\s*\\w+)/,inside:{punctuation:/^(?:\\{\\{|\\{%)\\-?/,keyword:/\\w+/}},rd:{pattern:/\\-?(?:%\\}|\\}\\})$/,inside:{punctuation:/.*/}},string:{pattern:/(\"|')(?:\\\\?.)*?\\1/,inside:{punctuation:/^['\"]|['\"]$/}},keyword:/\\b(?:even|if|odd)\\b/,\"boolean\":/\\b(?:true|false|null)\\b/,number:/\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+([Ee][-+]?\\d+)?)\\b/,operator:[{pattern:/(\\s)(?:and|b\\-and|b\\-xor|b\\-or|ends with|in|is|matches|not|or|same as|starts with)(?=\\s)/,lookbehind:!0},/[=<>]=?|!=|\\*\\*?|\\/\\/?|\\?:?|[-+~%|]/],property:/\\b[a-zA-Z_][a-zA-Z0-9_]*\\b/,punctuation:/[()\\[\\]{}:.,]/}},other:{pattern:/\\S(?:[\\s\\S]*\\S)?/,inside:Prism.languages.markup}};\nPrism.languages.typescript=Prism.languages.extend(\"javascript\",{keyword:/\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield|false|true|module|declare|constructor|string|Function|any|number|boolean|Array|enum|symbol|namespace|abstract|require|type)\\b/}),Prism.languages.ts=Prism.languages.typescript;\nPrism.languages.vbnet=Prism.languages.extend(\"basic\",{keyword:/(?:\\b(?:ADDHANDLER|ADDRESSOF|ALIAS|AND|ANDALSO|AS|BEEP|BLOAD|BOOLEAN|BSAVE|BYREF|BYTE|BYVAL|CALL(?: ABSOLUTE)?|CASE|CATCH|CBOOL|CBYTE|CCHAR|CDATE|CDEC|CDBL|CHAIN|CHAR|CHDIR|CINT|CLASS|CLEAR|CLNG|CLOSE|CLS|COBJ|COM|COMMON|CONST|CONTINUE|CSBYTE|CSHORT|CSNG|CSTR|CTYPE|CUINT|CULNG|CUSHORT|DATA|DATE|DECIMAL|DECLARE|DEFAULT|DEF(?: FN| SEG|DBL|INT|LNG|SNG|STR)|DELEGATE|DIM|DIRECTCAST|DO|DOUBLE|ELSE|ELSEIF|END|ENUM|ENVIRON|ERASE|ERROR|EVENT|EXIT|FALSE|FIELD|FILES|FINALLY|FOR(?: EACH)?|FRIEND|FUNCTION|GET|GETTYPE|GETXMLNAMESPACE|GLOBAL|GOSUB|GOTO|HANDLES|IF|IMPLEMENTS|IMPORTS|IN|INHERITS|INPUT|INTEGER|INTERFACE|IOCTL|IS|ISNOT|KEY|KILL|LINE INPUT|LET|LIB|LIKE|LOCATE|LOCK|LONG|LOOP|LSET|ME|MKDIR|MOD|MODULE|MUSTINHERIT|MUSTOVERRIDE|MYBASE|MYCLASS|NAME|NAMESPACE|NARROWING|NEW|NEXT|NOT|NOTHING|NOTINHERITABLE|NOTOVERRIDABLE|OBJECT|OF|OFF|ON(?: COM| ERROR| KEY| TIMER)?|OPERATOR|OPEN|OPTION(?: BASE)?|OPTIONAL|OR|ORELSE|OUT|OVERLOADS|OVERRIDABLE|OVERRIDES|PARAMARRAY|PARTIAL|POKE|PRIVATE|PROPERTY|PROTECTED|PUBLIC|PUT|RAISEEVENT|READ|READONLY|REDIM|REM|REMOVEHANDLER|RESTORE|RESUME|RETURN|RMDIR|RSET|RUN|SBYTE|SELECT(?: CASE)?|SET|SHADOWS|SHARED|SHORT|SINGLE|SHELL|SLEEP|STATIC|STEP|STOP|STRING|STRUCTURE|SUB|SYNCLOCK|SWAP|SYSTEM|THEN|THROW|TIMER|TO|TROFF|TRON|TRUE|TRY|TRYCAST|TYPE|TYPEOF|UINTEGER|ULONG|UNLOCK|UNTIL|USHORT|USING|VIEW PRINT|WAIT|WEND|WHEN|WHILE|WIDENING|WITH|WITHEVENTS|WRITE|WRITEONLY|XOR)|\\B(?:#CONST|#ELSE|#ELSEIF|#END|#IF))(?:\\$|\\b)/i,comment:[{pattern:/(?:!|REM\\b).+/i,inside:{keyword:/^REM/i}},{pattern:/(^|[^\\\\:])'.*/,lookbehind:!0}]});\nPrism.languages.verilog={comment:/\\/\\/.*|\\/\\*[\\s\\S]*?\\*\\//,string:{pattern:/\"(?:\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,greedy:!0},property:/\\B\\$\\w+\\b/,constant:/\\B`\\w+\\b/,\"function\":/[a-z\\d_]+(?=\\()/i,keyword:/\\b(?:alias|and|assert|assign|assume|automatic|before|begin|bind|bins|binsof|bit|break|buf|bufif0|bufif1|byte|class|case|casex|casez|cell|chandle|clocking|cmos|config|const|constraint|context|continue|cover|covergroup|coverpoint|cross|deassign|default|defparam|design|disable|dist|do|edge|else|end|endcase|endclass|endclocking|endconfig|endfunction|endgenerate|endgroup|endinterface|endmodule|endpackage|endprimitive|endprogram|endproperty|endspecify|endsequence|endtable|endtask|enum|event|expect|export|extends|extern|final|first_match|for|force|foreach|forever|fork|forkjoin|function|generate|genvar|highz0|highz1|if|iff|ifnone|ignore_bins|illegal_bins|import|incdir|include|initial|inout|input|inside|instance|int|integer|interface|intersect|join|join_any|join_none|large|liblist|library|local|localparam|logic|longint|macromodule|matches|medium|modport|module|nand|negedge|new|nmos|nor|noshowcancelled|not|notif0|notif1|null|or|output|package|packed|parameter|pmos|posedge|primitive|priority|program|property|protected|pull0|pull1|pulldown|pullup|pulsestyle_onevent|pulsestyle_ondetect|pure|rand|randc|randcase|randsequence|rcmos|real|realtime|ref|reg|release|repeat|return|rnmos|rpmos|rtran|rtranif0|rtranif1|scalared|sequence|shortint|shortreal|showcancelled|signed|small|solve|specify|specparam|static|string|strong0|strong1|struct|super|supply0|supply1|table|tagged|task|this|throughout|time|timeprecision|timeunit|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|type|typedef|union|unique|unsigned|use|uwire|var|vectored|virtual|void|wait|wait_order|wand|weak0|weak1|while|wildcard|wire|with|within|wor|xnor|xor)\\b/,important:/\\b(?:always_latch|always_comb|always_ff|always)\\b ?@?/,number:/\\B##?\\d+|(?:\\b\\d+)?'[odbh] ?[\\da-fzx_?]+|\\b\\d*[._]?\\d+(?:e[-+]?\\d+)?/i,operator:/[-+{}^~%*\\/?=!<>&|]+/,punctuation:/[[\\];(),.:]/};\nPrism.languages.vhdl={comment:/--.+/,\"vhdl-vectors\":{pattern:/\\b[oxb]\"[\\da-f_]+\"|\"[01uxzwlh-]+\"/i,alias:\"number\"},\"quoted-function\":{pattern:/\"\\S+?\"(?=\\()/,alias:\"function\"},string:/\"(?:[^\\\\\\r\\n]|\\\\?(?:\\r\\n|[\\s\\S]))*?\"/,constant:/\\b(?:use|library)\\b/i,keyword:/\\b(?:'active|'ascending|'base|'delayed|'driving|'driving_value|'event|'high|'image|'instance_name|'last_active|'last_event|'last_value|'left|'leftof|'length|'low|'path_name|'pos|'pred|'quiet|'range|'reverse_range|'right|'rightof|'simple_name|'stable|'succ|'transaction|'val|'value|access|after|alias|all|architecture|array|assert|attribute|begin|block|body|buffer|bus|case|component|configuration|constant|disconnect|downto|else|elsif|end|entity|exit|file|for|function|generate|generic|group|guarded|if|impure|in|inertial|inout|is|label|library|linkage|literal|loop|map|new|next|null|of|on|open|others|out|package|port|postponed|procedure|process|pure|range|record|register|reject|report|return|select|severity|shared|signal|subtype|then|to|transport|type|unaffected|units|until|use|variable|wait|when|while|with)\\b/i,\"boolean\":/\\b(?:true|false)\\b/i,\"function\":/[a-z0-9_]+(?=\\()/i,number:/'[01uxzwlh-]'|\\b(?:\\d+#[\\da-f_.]+#|\\d[\\d_.]*)(?:e[-+]?\\d+)?/i,operator:/[<>]=?|:=|[-+*\\/&=]|\\b(?:abs|not|mod|rem|sll|srl|sla|sra|rol|ror|and|or|nand|xnor|xor|nor)\\b/i,punctuation:/[{}[\\];(),.:]/};\nPrism.languages.vim={string:/\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^'\\r\\n]|'')*'/,comment:/\".*/,\"function\":/\\w+(?=\\()/,keyword:/\\b(?:ab|abbreviate|abc|abclear|abo|aboveleft|al|all|arga|argadd|argd|argdelete|argdo|arge|argedit|argg|argglobal|argl|arglocal|ar|args|argu|argument|as|ascii|bad|badd|ba|ball|bd|bdelete|be|bel|belowright|bf|bfirst|bl|blast|bm|bmodified|bn|bnext|bN|bNext|bo|botright|bp|bprevious|brea|break|breaka|breakadd|breakd|breakdel|breakl|breaklist|br|brewind|bro|browse|bufdo|b|buffer|buffers|bun|bunload|bw|bwipeout|ca|cabbrev|cabc|cabclear|caddb|caddbuffer|cad|caddexpr|caddf|caddfile|cal|call|cat|catch|cb|cbuffer|cc|ccl|cclose|cd|ce|center|cex|cexpr|cf|cfile|cfir|cfirst|cgetb|cgetbuffer|cgete|cgetexpr|cg|cgetfile|c|change|changes|chd|chdir|che|checkpath|checkt|checktime|cla|clast|cl|clist|clo|close|cmapc|cmapclear|cnew|cnewer|cn|cnext|cN|cNext|cnf|cnfile|cNfcNfile|cnorea|cnoreabbrev|col|colder|colo|colorscheme|comc|comclear|comp|compiler|conf|confirm|con|continue|cope|copen|co|copy|cpf|cpfile|cp|cprevious|cq|cquit|cr|crewind|cuna|cunabbrev|cu|cunmap|cw|cwindow|debugg|debuggreedy|delc|delcommand|d|delete|delf|delfunction|delm|delmarks|diffg|diffget|diffoff|diffpatch|diffpu|diffput|diffsplit|diffthis|diffu|diffupdate|dig|digraphs|di|display|dj|djump|dl|dlist|dr|drop|ds|dsearch|dsp|dsplit|earlier|echoe|echoerr|echom|echomsg|echon|e|edit|el|else|elsei|elseif|em|emenu|endfo|endfor|endf|endfunction|endfun|en|endif|endt|endtry|endw|endwhile|ene|enew|ex|exi|exit|exu|exusage|f|file|files|filetype|fina|finally|fin|find|fini|finish|fir|first|fix|fixdel|fo|fold|foldc|foldclose|folddoc|folddoclosed|foldd|folddoopen|foldo|foldopen|for|fu|fun|function|go|goto|gr|grep|grepa|grepadd|ha|hardcopy|h|help|helpf|helpfind|helpg|helpgrep|helpt|helptags|hid|hide|his|history|ia|iabbrev|iabc|iabclear|if|ij|ijump|il|ilist|imapc|imapclear|in|inorea|inoreabbrev|isearch|isp|isplit|iuna|iunabbrev|iu|iunmap|j|join|ju|jumps|k|keepalt|keepj|keepjumps|kee|keepmarks|laddb|laddbuffer|lad|laddexpr|laddf|laddfile|lan|language|la|last|later|lb|lbuffer|lc|lcd|lch|lchdir|lcl|lclose|let|left|lefta|leftabove|lex|lexpr|lf|lfile|lfir|lfirst|lgetb|lgetbuffer|lgete|lgetexpr|lg|lgetfile|lgr|lgrep|lgrepa|lgrepadd|lh|lhelpgrep|l|list|ll|lla|llast|lli|llist|lmak|lmake|lm|lmap|lmapc|lmapclear|lnew|lnewer|lne|lnext|lN|lNext|lnf|lnfile|lNf|lNfile|ln|lnoremap|lo|loadview|loc|lockmarks|lockv|lockvar|lol|lolder|lop|lopen|lpf|lpfile|lp|lprevious|lr|lrewind|ls|lt|ltag|lu|lunmap|lv|lvimgrep|lvimgrepa|lvimgrepadd|lw|lwindow|mak|make|ma|mark|marks|mat|match|menut|menutranslate|mk|mkexrc|mks|mksession|mksp|mkspell|mkvie|mkview|mkv|mkvimrc|mod|mode|m|move|mzf|mzfile|mz|mzscheme|nbkey|new|n|next|N|Next|nmapc|nmapclear|noh|nohlsearch|norea|noreabbrev|nu|number|nun|nunmap|omapc|omapclear|on|only|o|open|opt|options|ou|ounmap|pc|pclose|ped|pedit|pe|perl|perld|perldo|po|pop|popu|popu|popup|pp|ppop|pre|preserve|prev|previous|p|print|P|Print|profd|profdel|prof|profile|promptf|promptfind|promptr|promptrepl|ps|psearch|pta|ptag|ptf|ptfirst|ptj|ptjump|ptl|ptlast|ptn|ptnext|ptN|ptNext|ptp|ptprevious|ptr|ptrewind|pts|ptselect|pu|put|pw|pwd|pyf|pyfile|py|python|qa|qall|q|quit|quita|quitall|r|read|rec|recover|redi|redir|red|redo|redr|redraw|redraws|redrawstatus|reg|registers|res|resize|ret|retab|retu|return|rew|rewind|ri|right|rightb|rightbelow|rub|ruby|rubyd|rubydo|rubyf|rubyfile|ru|runtime|rv|rviminfo|sal|sall|san|sandbox|sa|sargument|sav|saveas|sba|sball|sbf|sbfirst|sbl|sblast|sbm|sbmodified|sbn|sbnext|sbN|sbNext|sbp|sbprevious|sbr|sbrewind|sb|sbuffer|scripte|scriptencoding|scrip|scriptnames|se|set|setf|setfiletype|setg|setglobal|setl|setlocal|sf|sfind|sfir|sfirst|sh|shell|sign|sil|silent|sim|simalt|sla|slast|sl|sleep|sm|smagic|sm|smap|smapc|smapclear|sme|smenu|sn|snext|sN|sNext|sni|sniff|sno|snomagic|snor|snoremap|snoreme|snoremenu|sor|sort|so|source|spelld|spelldump|spe|spellgood|spelli|spellinfo|spellr|spellrepall|spellu|spellundo|spellw|spellwrong|sp|split|spr|sprevious|sre|srewind|sta|stag|startg|startgreplace|star|startinsert|startr|startreplace|stj|stjump|st|stop|stopi|stopinsert|sts|stselect|sun|sunhide|sunm|sunmap|sus|suspend|sv|sview|syncbind|t|tab|tabc|tabclose|tabd|tabdo|tabe|tabedit|tabf|tabfind|tabfir|tabfirst|tabl|tablast|tabm|tabmove|tabnew|tabn|tabnext|tabN|tabNext|tabo|tabonly|tabp|tabprevious|tabr|tabrewind|tabs|ta|tag|tags|tc|tcl|tcld|tcldo|tclf|tclfile|te|tearoff|tf|tfirst|th|throw|tj|tjump|tl|tlast|tm|tm|tmenu|tn|tnext|tN|tNext|to|topleft|tp|tprevious|tr|trewind|try|ts|tselect|tu|tu|tunmenu|una|unabbreviate|u|undo|undoj|undojoin|undol|undolist|unh|unhide|unlet|unlo|unlockvar|unm|unmap|up|update|verb|verbose|ve|version|vert|vertical|vie|view|vim|vimgrep|vimgrepa|vimgrepadd|vi|visual|viu|viusage|vmapc|vmapclear|vne|vnew|vs|vsplit|vu|vunmap|wa|wall|wh|while|winc|wincmd|windo|winp|winpos|win|winsize|wn|wnext|wN|wNext|wp|wprevious|wq|wqa|wqall|w|write|ws|wsverb|wv|wviminfo|X|xa|xall|x|xit|xm|xmap|xmapc|xmapclear|xme|xmenu|XMLent|XMLns|xn|xnoremap|xnoreme|xnoremenu|xu|xunmap|y|yank)\\b/,builtin:/\\b(?:autocmd|acd|ai|akm|aleph|allowrevins|altkeymap|ambiwidth|ambw|anti|antialias|arab|arabic|arabicshape|ari|arshape|autochdir|autoindent|autoread|autowrite|autowriteall|aw|awa|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|bdir|bdlay|beval|bex|bexpr|bg|bh|bin|binary|biosk|bioskey|bk|bkc|bomb|breakat|brk|browsedir|bs|bsdir|bsk|bt|bufhidden|buflisted|buftype|casemap|ccv|cdpath|cedit|cfu|ch|charconvert|ci|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|clipboard|cmdheight|cmdwinheight|cmp|cms|columns|com|comments|commentstring|compatible|complete|completefunc|completeopt|consk|conskey|copyindent|cot|cpo|cpoptions|cpt|cscopepathcomp|cscopeprg|cscopequickfix|cscopetag|cscopetagorder|cscopeverbose|cspc|csprg|csqf|cst|csto|csverb|cuc|cul|cursorcolumn|cursorline|cwh|debug|deco|def|define|delcombine|dex|dg|dict|dictionary|diff|diffexpr|diffopt|digraph|dip|dir|directory|dy|ea|ead|eadirection|eb|ed|edcompatible|ef|efm|ei|ek|enc|encoding|endofline|eol|ep|equalalways|equalprg|errorbells|errorfile|errorformat|esckeys|et|eventignore|expandtab|exrc|fcl|fcs|fdc|fde|fdi|fdl|fdls|fdm|fdn|fdo|fdt|fen|fenc|fencs|fex|ff|ffs|fileencoding|fileencodings|fileformat|fileformats|fillchars|fk|fkmap|flp|fml|fmr|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fp|fs|fsync|ft|gcr|gd|gdefault|gfm|gfn|gfs|gfw|ghr|gp|grepformat|grepprg|gtl|gtt|guicursor|guifont|guifontset|guifontwide|guiheadroom|guioptions|guipty|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hf|hh|hi|hidden|highlight|hk|hkmap|hkmapp|hkp|hl|hlg|hls|hlsearch|ic|icon|iconstring|ignorecase|im|imactivatekey|imak|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|inc|include|includeexpr|incsearch|inde|indentexpr|indentkeys|indk|inex|inf|infercase|insertmode|isf|isfname|isi|isident|isk|iskeyword|isprint|joinspaces|js|key|keymap|keymodel|keywordprg|km|kmp|kp|langmap|langmenu|laststatus|lazyredraw|lbr|lcs|linebreak|lines|linespace|lisp|lispwords|listchars|loadplugins|lpl|lsp|lz|macatsui|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|mco|mef|menuitems|mfd|mh|mis|mkspellmem|ml|mls|mm|mmd|mmp|mmt|modeline|modelines|modifiable|modified|more|mouse|mousef|mousefocus|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mp|mps|msm|mzq|mzquantum|nf|nrformats|numberwidth|nuw|odev|oft|ofu|omnifunc|opendevice|operatorfunc|opfunc|osfiletype|pa|para|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|pdev|penc|pex|pexpr|pfn|ph|pheader|pi|pm|pmbcs|pmbfn|popt|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pt|pumheight|pvh|pvw|qe|quoteescape|readonly|remap|report|restorescreen|revins|rightleft|rightleftcmd|rl|rlc|ro|rs|rtp|ruf|ruler|rulerformat|runtimepath|sbo|sc|scb|scr|scroll|scrollbind|scrolljump|scrolloff|scrollopt|scs|sect|sections|secure|sel|selection|selectmode|sessionoptions|sft|shcf|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shelltype|shellxquote|shiftround|shiftwidth|shm|shortmess|shortname|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|shq|si|sidescroll|sidescrolloff|siso|sj|slm|smartcase|smartindent|smarttab|smc|smd|softtabstop|sol|spc|spell|spellcapcheck|spellfile|spelllang|spellsuggest|spf|spl|splitbelow|splitright|sps|sr|srr|ss|ssl|ssop|stal|startofline|statusline|stl|stmp|su|sua|suffixes|suffixesadd|sw|swapfile|swapsync|swb|swf|switchbuf|sws|sxq|syn|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|taglength|tagrelative|tagstack|tal|tb|tbi|tbidi|tbis|tbs|tenc|term|termbidi|termencoding|terse|textauto|textmode|textwidth|tgst|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|toolbar|toolbariconsize|top|tpm|tsl|tsr|ttimeout|ttimeoutlen|ttm|tty|ttybuiltin|ttyfast|ttym|ttymouse|ttyscroll|ttytype|tw|tx|uc|ul|undolevels|updatecount|updatetime|ut|vb|vbs|vdir|verbosefile|vfile|viewdir|viewoptions|viminfo|virtualedit|visualbell|vop|wak|warn|wb|wc|wcm|wd|weirdinvert|wfh|wfw|whichwrap|wi|wig|wildchar|wildcharm|wildignore|wildmenu|wildmode|wildoptions|wim|winaltkeys|window|winfixheight|winfixwidth|winheight|winminheight|winminwidth|winwidth|wiv|wiw|wm|wmh|wmnu|wmw|wop|wrap|wrapmargin|wrapscan|writeany|writebackup|writedelay|ww|noacd|noai|noakm|noallowrevins|noaltkeymap|noanti|noantialias|noar|noarab|noarabic|noarabicshape|noari|noarshape|noautochdir|noautoindent|noautoread|noautowrite|noautowriteall|noaw|noawa|nobackup|noballooneval|nobeval|nobin|nobinary|nobiosk|nobioskey|nobk|nobl|nobomb|nobuflisted|nocf|noci|nocin|nocindent|nocompatible|noconfirm|noconsk|noconskey|nocopyindent|nocp|nocscopetag|nocscopeverbose|nocst|nocsverb|nocuc|nocul|nocursorcolumn|nocursorline|nodeco|nodelcombine|nodg|nodiff|nodigraph|nodisable|noea|noeb|noed|noedcompatible|noek|noendofline|noeol|noequalalways|noerrorbells|noesckeys|noet|noex|noexpandtab|noexrc|nofen|nofk|nofkmap|nofoldenable|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkmapp|nohkp|nohls|noic|noicon|noignorecase|noim|noimc|noimcmdline|noimd|noincsearch|noinf|noinfercase|noinsertmode|nois|nojoinspaces|nojs|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|noloadplugins|nolpl|nolz|noma|nomacatsui|nomagic|nomh|noml|nomod|nomodeline|nomodifiable|nomodified|nomore|nomousef|nomousefocus|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopreviewwindow|noprompt|nopvw|noreadonly|noremap|norestorescreen|norevins|nori|norightleft|norightleftcmd|norl|norlc|noro|nors|noru|noruler|nosb|nosc|noscb|noscrollbind|noscs|nosecure|nosft|noshellslash|noshelltemp|noshiftround|noshortname|noshowcmd|noshowfulltag|noshowmatch|noshowmode|nosi|nosm|nosmartcase|nosmartindent|nosmarttab|nosmd|nosn|nosol|nospell|nosplitbelow|nosplitright|nospr|nosr|nossl|nosta|nostartofline|nostmp|noswapfile|noswf|nota|notagbsearch|notagrelative|notagstack|notbi|notbidi|notbs|notermbidi|noterse|notextauto|notextmode|notf|notgst|notildeop|notimeout|notitle|noto|notop|notr|nottimeout|nottybuiltin|nottyfast|notx|novb|novisualbell|nowa|nowarn|nowb|noweirdinvert|nowfh|nowfw|nowildmenu|nowinfixheight|nowinfixwidth|nowiv|nowmnu|nowrap|nowrapscan|nowrite|nowriteany|nowritebackup|nows|invacd|invai|invakm|invallowrevins|invaltkeymap|invanti|invantialias|invar|invarab|invarabic|invarabicshape|invari|invarshape|invautochdir|invautoindent|invautoread|invautowrite|invautowriteall|invaw|invawa|invbackup|invballooneval|invbeval|invbin|invbinary|invbiosk|invbioskey|invbk|invbl|invbomb|invbuflisted|invcf|invci|invcin|invcindent|invcompatible|invconfirm|invconsk|invconskey|invcopyindent|invcp|invcscopetag|invcscopeverbose|invcst|invcsverb|invcuc|invcul|invcursorcolumn|invcursorline|invdeco|invdelcombine|invdg|invdiff|invdigraph|invdisable|invea|inveb|inved|invedcompatible|invek|invendofline|inveol|invequalalways|inverrorbells|invesckeys|invet|invex|invexpandtab|invexrc|invfen|invfk|invfkmap|invfoldenable|invgd|invgdefault|invguipty|invhid|invhidden|invhk|invhkmap|invhkmapp|invhkp|invhls|invhlsearch|invic|invicon|invignorecase|invim|invimc|invimcmdline|invimd|invincsearch|invinf|invinfercase|invinsertmode|invis|invjoinspaces|invjs|invlazyredraw|invlbr|invlinebreak|invlisp|invlist|invloadplugins|invlpl|invlz|invma|invmacatsui|invmagic|invmh|invml|invmod|invmodeline|invmodifiable|invmodified|invmore|invmousef|invmousefocus|invmousehide|invnu|invnumber|invodev|invopendevice|invpaste|invpi|invpreserveindent|invpreviewwindow|invprompt|invpvw|invreadonly|invremap|invrestorescreen|invrevins|invri|invrightleft|invrightleftcmd|invrl|invrlc|invro|invrs|invru|invruler|invsb|invsc|invscb|invscrollbind|invscs|invsecure|invsft|invshellslash|invshelltemp|invshiftround|invshortname|invshowcmd|invshowfulltag|invshowmatch|invshowmode|invsi|invsm|invsmartcase|invsmartindent|invsmarttab|invsmd|invsn|invsol|invspell|invsplitbelow|invsplitright|invspr|invsr|invssl|invsta|invstartofline|invstmp|invswapfile|invswf|invta|invtagbsearch|invtagrelative|invtagstack|invtbi|invtbidi|invtbs|invtermbidi|invterse|invtextauto|invtextmode|invtf|invtgst|invtildeop|invtimeout|invtitle|invto|invtop|invtr|invttimeout|invttybuiltin|invttyfast|invtx|invvb|invvisualbell|invwa|invwarn|invwb|invweirdinvert|invwfh|invwfw|invwildmenu|invwinfixheight|invwinfixwidth|invwiv|invwmnu|invwrap|invwrapscan|invwrite|invwriteany|invwritebackup|invws|t_AB|t_AF|t_al|t_AL|t_bc|t_cd|t_ce|t_Ce|t_cl|t_cm|t_Co|t_cs|t_Cs|t_CS|t_CV|t_da|t_db|t_dl|t_DL|t_EI|t_F1|t_F2|t_F3|t_F4|t_F5|t_F6|t_F7|t_F8|t_F9|t_fs|t_IE|t_IS|t_k1|t_K1|t_k2|t_k3|t_K3|t_k4|t_K4|t_k5|t_K5|t_k6|t_K6|t_k7|t_K7|t_k8|t_K8|t_k9|t_K9|t_KA|t_kb|t_kB|t_KB|t_KC|t_kd|t_kD|t_KD|t_ke|t_KE|t_KF|t_KG|t_kh|t_KH|t_kI|t_KI|t_KJ|t_KK|t_kl|t_KL|t_kN|t_kP|t_kr|t_ks|t_ku|t_le|t_mb|t_md|t_me|t_mr|t_ms|t_nd|t_op|t_RI|t_RV|t_Sb|t_se|t_Sf|t_SI|t_so|t_sr|t_te|t_ti|t_ts|t_ue|t_us|t_ut|t_vb|t_ve|t_vi|t_vs|t_WP|t_WS|t_xs|t_ZH|t_ZR)\\b/,number:/\\b(?:0x[\\da-f]+|\\d+(?:\\.\\d+)?)\\b/i,operator:/\\|\\||&&|[-+.]=?|[=!](?:[=~][#?]?)?|[<>]=?[#?]?|[*\\/%?]|\\b(?:is(?:not)?)\\b/,punctuation:/[{}[\\](),;:]/};\nPrism.languages.wiki=Prism.languages.extend(\"markup\",{\"block-comment\":{pattern:/(^|[^\\\\])\\/\\*[\\s\\S]*?\\*\\//,lookbehind:!0,alias:\"comment\"},heading:{pattern:/^(=+).+?\\1/m,inside:{punctuation:/^=+|=+$/,important:/.+/}},emphasis:{pattern:/('{2,5}).+?\\1/,inside:{\"bold italic\":{pattern:/(''''').+?(?=\\1)/,lookbehind:!0},bold:{pattern:/(''')[^'](?:.*?[^'])?(?=\\1)/,lookbehind:!0},italic:{pattern:/('')[^'](?:.*?[^'])?(?=\\1)/,lookbehind:!0},punctuation:/^''+|''+$/}},hr:{pattern:/^-{4,}/m,alias:\"punctuation\"},url:[/ISBN +(?:97[89][ -]?)?(?:\\d[ -]?){9}[\\dx]\\b|(?:RFC|PMID) +\\d+/i,/\\[\\[.+?\\]\\]|\\[.+?\\]/],variable:[/__[A-Z]+__/,/\\{{3}.+?\\}{3}/,/\\{\\{.+?}}/],symbol:[/^#redirect/im,/~{3,5}/],\"table-tag\":{pattern:/((?:^|[|!])[|!])[^|\\r\\n]+\\|(?!\\|)/m,lookbehind:!0,inside:{\"table-bar\":{pattern:/\\|$/,alias:\"punctuation\"},rest:Prism.languages.markup.tag.inside}},punctuation:/^(?:\\{\\||\\|\\}|\\|-|[*#:;!|])|\\|\\||!!/m}),Prism.languages.insertBefore(\"wiki\",\"tag\",{nowiki:{pattern:/<(nowiki|pre|source)\\b[\\s\\S]*?>[\\s\\S]*?<\\/\\1>/i,inside:{tag:{pattern:/<(?:nowiki|pre|source)\\b[\\s\\S]*?>|<\\/(?:nowiki|pre|source)>/i,inside:Prism.languages.markup.tag.inside}}}});\nPrism.languages.xojo={comment:{pattern:/(?:'|\\/\\/|Rem\\b).+/i,inside:{keyword:/^Rem/i}},string:{pattern:/\"(?:\"\"|[^\"])*\"/,greedy:!0},number:[/(?:\\b|\\B[.-])(?:\\d+\\.?\\d*)(?:E[+-]?\\d+)?/i,/&[bchou][a-z\\d]+/i],symbol:/#(?:If|Else|ElseIf|Endif|Pragma)\\b/i,keyword:/\\b(?:AddHandler|App|Array|As(?:signs)?|By(?:Ref|Val)|Break|Call|Case|Catch|Const|Continue|CurrentMethodName|Declare|Dim|Do(?:wnTo)?|Each|Else(?:If)?|End|Exit|Extends|False|Finally|For|Global|If|In|Lib|Loop|Me|Next|Nil|Optional|ParamArray|Raise(?:Event)?|ReDim|Rem|RemoveHandler|Return|Select|Self|Soft|Static|Step|Super|Then|To|True|Try|Ubound|Until|Using|Wend|While)\\b/i,operator:/<[=>]?|>=?|[+\\-*\\/\\\\^=]|\\b(?:AddressOf|And|Ctype|IsA?|Mod|New|Not|Or|Xor|WeakAddressOf)\\b/i,punctuation:/[.,;:()]/};\nPrism.languages.yaml={scalar:{pattern:/([\\-:]\\s*(![^\\s]+)?[ \\t]*[|>])[ \\t]*(?:((?:\\r?\\n|\\r)[ \\t]+)[^\\r\\n]+(?:\\3[^\\r\\n]+)*)/,lookbehind:!0,alias:\"string\"},comment:/#.*/,key:{pattern:/(\\s*(?:^|[:\\-,[{\\r\\n?])[ \\t]*(![^\\s]+)?[ \\t]*)[^\\r\\n{[\\]},#\\s]+?(?=\\s*:\\s)/,lookbehind:!0,alias:\"atrule\"},directive:{pattern:/(^[ \\t]*)%.+/m,lookbehind:!0,alias:\"important\"},datetime:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(\\d{4}-\\d\\d?-\\d\\d?([tT]|[ \\t]+)\\d\\d?:\\d{2}:\\d{2}(\\.\\d*)?[ \\t]*(Z|[-+]\\d\\d?(:\\d{2})?)?|\\d{4}-\\d{2}-\\d{2}|\\d\\d?:\\d{2}(:\\d{2}(\\.\\d*)?)?)(?=[ \\t]*($|,|]|}))/m,lookbehind:!0,alias:\"number\"},\"boolean\":{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(true|false)[ \\t]*(?=$|,|]|})/im,lookbehind:!0,alias:\"important\"},\"null\":{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(null|~)[ \\t]*(?=$|,|]|})/im,lookbehind:!0,alias:\"important\"},string:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)(\"(?:[^\"\\\\]|\\\\.)*\"|'(?:[^'\\\\]|\\\\.)*')(?=[ \\t]*($|,|]|}))/m,lookbehind:!0,greedy:!0},number:{pattern:/([:\\-,[{]\\s*(![^\\s]+)?[ \\t]*)[+\\-]?(0x[\\da-f]+|0o[0-7]+|(\\d+\\.?\\d*|\\.?\\d+)(e[\\+\\-]?\\d+)?|\\.inf|\\.nan)[ \\t]*(?=$|,|]|})/im,lookbehind:!0},tag:/![^\\s]+/,important:/[&*][\\w]+/,punctuation:/---|[:[\\]{}\\-,|>?]|\\.\\.\\./};\n!function(){\"undefined\"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add(\"complete\",function(e){if(e.code){var t=e.element.parentNode,s=/\\s*\\bline-numbers\\b\\s*/;if(t&&/pre/i.test(t.nodeName)&&(s.test(t.className)||s.test(e.element.className))&&!e.element.querySelector(\".line-numbers-rows\")){s.test(e.element.className)&&(e.element.className=e.element.className.replace(s,\"\")),s.test(t.className)||(t.className+=\" line-numbers\");var n,a=e.code.match(/\\n(?!$)/g),l=a?a.length+1:1,r=new Array(l+1);r=r.join(\"<span></span>\"),n=document.createElement(\"span\"),n.setAttribute(\"aria-hidden\",\"true\"),n.className=\"line-numbers-rows\",n.innerHTML=r,t.hasAttribute(\"data-start\")&&(t.style.counterReset=\"linenumber \"+(parseInt(t.getAttribute(\"data-start\"),10)-1)),e.element.appendChild(n)}}})}();\n!function(){\"undefined\"!=typeof self&&self.Prism&&self.document&&Prism.hooks.add(\"before-sanity-check\",function(e){if(e.code){var s=e.element.parentNode,n=/\\s*\\bkeep-initial-line-feed\\b\\s*/;!s||\"pre\"!==s.nodeName.toLowerCase()||n.test(s.className)||n.test(e.element.className)||(e.code=e.code.replace(/^(?:\\r?\\n|\\r)/,\"\"))}})}();\n</script>\n<style>\n/* http://prismjs.com/download.html?themes=prism-solarizedlight&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bro+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+jade+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+nasm+nginx+nim+nix+nsis+objectivec+ocaml+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+puppet+pure+python+q+qore+r+jsx+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml */\n/*\n Solarized Color Schemes originally by Ethan Schoonover\n http://ethanschoonover.com/solarized\n\n Ported for PrismJS by Hector Matos\n Website: https://krakendev.io\n Twitter Handle: https://twitter.com/allonsykraken)\n*/\n\n/*\nSOLARIZED HEX\n--------- -------\nbase03 #002b36\nbase02 #073642\nbase01 #586e75\nbase00 #657b83\nbase0 #839496\nbase1 #93a1a1\nbase2 #eee8d5\nbase3 #fdf6e3\nyellow #b58900\norange #cb4b16\nred #dc322f\nmagenta #d33682\nviolet #6c71c4\nblue #268bd2\ncyan #2aa198\ngreen #859900\n*/\n\ncode[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tcolor: #657b83; /* base00 */\n\tfont-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;\n\ttext-align: left;\n\twhite-space: pre;\n\tword-spacing: normal;\n\tword-break: normal;\n\tword-wrap: normal;\n\n\tline-height: 1.5;\n\n\t-moz-tab-size: 4;\n\t-o-tab-size: 4;\n\ttab-size: 4;\n\n\t-webkit-hyphens: none;\n\t-moz-hyphens: none;\n\t-ms-hyphens: none;\n\thyphens: none;\n}\n\npre[class*=\"language-\"]::-moz-selection, pre[class*=\"language-\"] ::-moz-selection,\ncode[class*=\"language-\"]::-moz-selection, code[class*=\"language-\"] ::-moz-selection {\n\tbackground: #073642; /* base02 */\n}\n\npre[class*=\"language-\"]::selection, pre[class*=\"language-\"] ::selection,\ncode[class*=\"language-\"]::selection, code[class*=\"language-\"] ::selection {\n\tbackground: #073642; /* base02 */\n}\n\n/* Code blocks */\npre[class*=\"language-\"] {\n\tpadding: 1em;\n\tmargin: .5em 0;\n\toverflow: auto;\n\tborder-radius: 0.3em;\n}\n\n:not(pre) > code[class*=\"language-\"],\npre[class*=\"language-\"] {\n\tbackground-color: #fdf6e3; /* base3 */\n}\n\n/* Inline code */\n:not(pre) > code[class*=\"language-\"] {\n\tpadding: .1em;\n\tborder-radius: .3em;\n}\n\n.token.comment,\n.token.prolog,\n.token.doctype,\n.token.cdata {\n\tcolor: #93a1a1; /* base1 */\n}\n\n.token.punctuation {\n\tcolor: #586e75; /* base01 */\n}\n\n.namespace {\n\topacity: .7;\n}\n\n.token.property,\n.token.tag,\n.token.boolean,\n.token.number,\n.token.constant,\n.token.symbol,\n.token.deleted {\n\tcolor: #268bd2; /* blue */\n}\n\n.token.selector,\n.token.attr-name,\n.token.string,\n.token.char,\n.token.builtin,\n.token.url,\n.token.inserted {\n\tcolor: #2aa198; /* cyan */\n}\n\n.token.entity {\n\tcolor: #657b83; /* base00 */\n\tbackground: #eee8d5; /* base2 */\n}\n\n.token.atrule,\n.token.attr-value,\n.token.keyword {\n\tcolor: #859900; /* green */\n}\n\n.token.function {\n\tcolor: #b58900; /* yellow */\n}\n\n.token.regex,\n.token.important,\n.token.variable {\n\tcolor: #cb4b16; /* orange */\n}\n\n.token.important,\n.token.bold {\n\tfont-weight: bold;\n}\n.token.italic {\n\tfont-style: italic;\n}\n\n.token.entity {\n\tcursor: help;\n}\n</style>\n\n<script>\nBackbone.on(\"set:isComplete\",function(){\n Prism.highlightAll();\n});\n\nBackbone.on(\"card:save\", function(id){\nPrism.highlightElement($('#card'+id+' code')[0]);\n});\n</script>"},{"_id":"62340052781cf60716000110","treeId":"6233ffe7781cf6071600010d","seq":10407005,"position":2,"parentId":null,"content":"## Python\n\nPython is a strongly-typed, dynamically typed multi-paradigm language created by Guido Van Rossum."},{"_id":"62340328781cf60716000111","treeId":"6233ffe7781cf6071600010d","seq":10407045,"position":1,"parentId":"62340052781cf60716000110","content":"### Functions\n\nFunctions look like this:\n\n<pre><code class=\" language-python\">\ndef aFunction(params):\n print \"Do something\"\n return 1\n</code></pre>\n\nAll functions return a value.\n"},{"_id":"62342ce4781cf60716000118","treeId":"6233ffe7781cf6071600010d","seq":5897869,"position":1,"parentId":"62340328781cf60716000111","content":"#### Built-In Functions\n\n`type( )` - returns datatype of an object. Possible types are listed in the `types` module.\n\n`str( )` - coerces data into a string\nGotchas: string representation of modules includes the pathname of the module on disk.\n\n`dir( )` - returns list of attributes and methods of any object\n\n`callable( )` - returns `True` if object is callable as a function, `False` if not. Functions, methods, and classes count as callable.\n\n`getattr(object, callablename, defaultvalue)` - returns a reference to a function or method. Works on functions and methods from modules, and on lists and dicts, but not tuples (which have no methods)."},{"_id":"62342094781cf60716000116","treeId":"6233ffe7781cf6071600010d","seq":5897741,"position":1.5,"parentId":"62340052781cf60716000110","content":"### Code Blocks/Indentation\n\nCode blocks are denoted by indentation. [PEP8](https://www.python.org/dev/peps/pep-0008/#indentation) specifies that indents should be 4 spaces."},{"_id":"623406f4781cf60716000112","treeId":"6233ffe7781cf6071600010d","seq":5897664,"position":2,"parentId":"62340052781cf60716000110","content":"### Objects\n\nEverything, including functions, are objects in Python."},{"_id":"6234128b781cf60716000114","treeId":"6233ffe7781cf6071600010d","seq":10407057,"position":1,"parentId":"623406f4781cf60716000112","content":"#### Doc Strings\n\nA function's doc strings are accessible as `str` types via the `__doc__` attribute.\n\n<pre class=\" language-python\">\nprint aFunction.__doc__\n</pre>"},{"_id":"623410a3781cf60716000113","treeId":"6233ffe7781cf6071600010d","seq":5897751,"position":2,"parentId":"623406f4781cf60716000112","content":"#### Search Path\n\nThe library search path is defined in `sys.path` as a list."},{"_id":"623423ac781cf60716000117","treeId":"6233ffe7781cf6071600010d","seq":10407055,"position":3,"parentId":"623406f4781cf60716000112","content":"#### Modules\n\nYou can get the module name with the `__name__` attribute. This is commonly used to check if the current script is running as a standalone program:\n\n<pre><code class=\" language-python\">\nif __name__ == \"__main__\"\n</code></pre>\n\nThis is good to use for writing/running test suites for a class or script."},{"_id":"62345c02781cf6071600011a","treeId":"6233ffe7781cf6071600010d","seq":10407063,"position":3,"parentId":"62340052781cf60716000110","content":"### List Comprehensions\n\n<code class=\" language-python\">\n[aFunction(elem) for elem in aList]\n</code>\n\nWill return a new list:\n> \"It is safe to assign the result of a list comprehension to the variable that you're mapping. Python constructs the new list in memory, and when the list comprehension is complete, it assigns the result to the variable.\""},{"_id":"623478b5781cf6071600011d","treeId":"6233ffe7781cf6071600010d","seq":5897964,"position":3.5,"parentId":"62340052781cf60716000110","content":"### String Methods\n\n`.lower( )`\n\n`.upper( )`\n\n`.join(aList )` - join any list of strings into a single string. Handy when used in conjunction with list comprehensions.\n\n`.split(aDelimiter, timesToSplit)` - splits a string into a list given a delimeter"},{"_id":"623471af781cf6071600011c","treeId":"6233ffe7781cf6071600010d","seq":5897927,"position":4,"parentId":"62340052781cf60716000110","content":"### Dicts\n\n`keys()` - returns list of all keys (in a particular order, but not necessarily order of definition)\n`values()` - returns list of all values: same order as `keys()`\n`items()` - returns a list of tuples of the form (key,value)"},{"_id":"625beef671800f9971000033","treeId":"6233ffe7781cf6071600010d","seq":6294728,"position":3,"parentId":null,"content":"## JavaScript\n\nJavascript is a dynamic, untyped, object-oriented prototypal language created by Brendan Eich."},{"_id":"6582d65150ac877b45000086","treeId":"6233ffe7781cf6071600010d","seq":6573874,"position":0.25,"parentId":"625beef671800f9971000033","content":"# Speaking JavaScript"},{"_id":"6582cc1050ac877b45000085","treeId":"6233ffe7781cf6071600010d","seq":6562358,"position":1,"parentId":"6582d65150ac877b45000086","content":"### 3. The Nature of JavaScript\n\nDynamic.\nDynamically typed.\nFunctional and object oriented.\nFails silently.\nDeployed as source code.\nPart of the web platform.\n\nQuirks\n\nNo block-scoped variables\nNo built-in modules\nNo support for subclassing\nNo integers (engines optimize this)\nArrays too flexible (engines optimize this)\n\nElegant Parts\n\nFirst class functions\nClosures\nPrototypes\nObject literals\nArray literals\n\nInfluences\n\nJava - syntax\nAWK - functions\nScheme - first-class functions and closures\nSelf - prototypal inheritance\nPerl/Python - strings, arrays, regex\nHyperTalk - integration into web browsers, event handling attributes in HTML"},{"_id":"6582d94a50ac877b45000087","treeId":"6233ffe7781cf6071600010d","seq":6562372,"position":2,"parentId":"6582d65150ac877b45000086","content":"Netscape originally hired Brandan Eich to implement Scheme in the browser. But then Netscape partnered with Sun to bring Java to the browser. Because of that, JavaScript needed to have syntax similar to Java.\n\nJavaScript's first name was Mocha. It was renamed to LiveScript before the final name, JavaScript was adopted."},{"_id":"658d2df150ac877b45000088","treeId":"6233ffe7781cf6071600010d","seq":6573891,"position":3,"parentId":"6582d65150ac877b45000086","content":"## 7.JavaScript's Syntax\n\nBasic expressions and statements\nComments\nExpressions versus statements\nControl flow statements and blocks\nRules for using semicolons\nLegal identifiers\nInvoking methods on number literals\nStrict mode"},{"_id":"658d429550ac877b45000090","treeId":"6233ffe7781cf6071600010d","seq":6573892,"position":0.0078125,"parentId":"658d2df150ac877b45000088","content":"### Basic expressions and statements"},{"_id":"658d426850ac877b4500008f","treeId":"6233ffe7781cf6071600010d","seq":6573888,"position":0.015625,"parentId":"658d2df150ac877b45000088","content":"### Comments"},{"_id":"658d421650ac877b4500008e","treeId":"6233ffe7781cf6071600010d","seq":6573887,"position":0.03125,"parentId":"658d2df150ac877b45000088","content":"### Expressions versus statements"},{"_id":"658d41c150ac877b4500008d","treeId":"6233ffe7781cf6071600010d","seq":6573886,"position":0.0625,"parentId":"658d2df150ac877b45000088","content":"### Control flow statements and blocks"},{"_id":"658d417c50ac877b4500008c","treeId":"6233ffe7781cf6071600010d","seq":6573885,"position":0.125,"parentId":"658d2df150ac877b45000088","content":"### Rules for using semicolons"},{"_id":"658d412f50ac877b4500008b","treeId":"6233ffe7781cf6071600010d","seq":6573883,"position":0.25,"parentId":"658d2df150ac877b45000088","content":"### Legal identifiers"},{"_id":"658d40aa50ac877b4500008a","treeId":"6233ffe7781cf6071600010d","seq":6573881,"position":0.5,"parentId":"658d2df150ac877b45000088","content":"### Invoking methods on number literals"},{"_id":"658d38bb50ac877b45000089","treeId":"6233ffe7781cf6071600010d","seq":6573882,"position":1,"parentId":"658d2df150ac877b45000088","content":"### Strict mode\nSwitching on strict mode\nCaveats on using strict mode\nFunctions in strict mode\nSetting and deleting immutable properties fails with an exception in strict mode\nUnqualified identifiers can't be deleted in strict mode\nFeatures that are forbidden in strict mode"},{"_id":"659a3fe450ac877b45000091","treeId":"6233ffe7781cf6071600010d","seq":6581581,"position":4,"parentId":"6582d65150ac877b45000086","content":"## 8. Values\n\nJavaScript's Type System\nPrimitive Values Versus Objects\nPrimitive Values\nObjects\nundefined and null\nWrapper Objects for Primitives\nType Coercion"},{"_id":"659a42c250ac877b45000092","treeId":"6233ffe7781cf6071600010d","seq":6581586,"position":1,"parentId":"659a3fe450ac877b45000091","content":"### JavaScript's Type System\n\nJavaScript's Types - JavaScript has six types: undefined, null, Boolean, Number, String, and Object.\n\nStatic Typing Versus Dynamic Typing/Type Checking - JavaScript is dynamically typed (types not known until runtime). It only does dynamic type checking when trying to use a property of null or undefined.\n\nCoercion - most operands convert operands to a primitive type -- Boolean, Number, String, and Object."},{"_id":"659a519250ac877b45000093","treeId":"6233ffe7781cf6071600010d","seq":6581592,"position":2,"parentId":"659a3fe450ac877b45000091","content":"### Primitive Values Versus Objects\n\nbooleans, numbers, strings, null, and undefined are primitive types. Everything else in JavaScript is an object. Objects are only strictly equal (`===`) to themselves. All primitive types are equal if they contain the same value."},{"_id":"659a53f950ac877b45000094","treeId":"6233ffe7781cf6071600010d","seq":6581598,"position":3,"parentId":"659a3fe450ac877b45000091","content":"### Primitive Values\n\nBooleans: true, false\nNumbers: IEEE-754 floating point, 64-but\nStrings: Unicode characters surrounded by quotes\nUndefined: `undefined`\nNull: `null` (`typeof` returns `Object`)\n\nPrimitives are compared by value and are immutable. You cannot define new primitive types."},{"_id":"659a583f50ac877b45000095","treeId":"6233ffe7781cf6071600010d","seq":6581601,"position":4,"parentId":"659a3fe450ac877b45000091","content":"### Objects\n\nAll nonprimitive values are Objects. The most common kinds of objects are plain objects, arrays, and regular expressions.\n\nObjects are compared by reference, mutable by default, and extensible by the user."},{"_id":"659a5e6950ac877b45000096","treeId":"6233ffe7781cf6071600010d","seq":6581613,"position":5,"parentId":"659a3fe450ac877b45000091","content":"### undefined and null\n\n`undefined` means no value, and uninitialized variables, missing parameters/properties have this value. Functions return `undefined` by default.\n\n`null` means no object. It is the last element in the prototype chain and gets returns if there is no match for a regular expression.\n\nYou can check for them specifically by strict inequality or by implicit conversion to Boolean in a control statement.\n\nTrying to access properties for either leads to an exception (this is the only case).\n\n`undefined` can be changed in ECMAScript 3 and earlier. It is read-only in ES5+."},{"_id":"659a62ea50ac877b45000097","treeId":"6233ffe7781cf6071600010d","seq":6581637,"position":6,"parentId":"659a3fe450ac877b45000091","content":"### Wrapper Objects for Primitives\n\nBoolean, Number, and String have wrapper objects. Primitive values borrow methods from these wrapper objects.\n\nWrapper objects are usually only used implicitly, or for conversion. Creating new wrapper objects with a constructor should especially be avoided."},{"_id":"659a78df50ac877b45000098","treeId":"6233ffe7781cf6071600010d","seq":6581640,"position":7,"parentId":"659a3fe450ac877b45000091","content":"### Type Coercion\n\nJavaScript operators force a implicit conversion of operands to an expected primitive type. JavaScript uses an internal function, `ToPrimitive()` to do the conversion.\n\nTo perform conversion to a different type, use `Boolean()`, `Number()`, `String()`, and `Object()`."},{"_id":"659a7db750ac877b45000099","treeId":"6233ffe7781cf6071600010d","seq":6581639,"position":1,"parentId":"659a78df50ac877b45000098","content":"#### ToPrimitive(input, PreferredType?)\n\n1. If `input` is primitive, return it\n2. Depending if `input` is a number or string:\n - if a number first call `input.valueOf()` and return if primitive\n - if a string, first call `input.toString()` and return if primitive\n3. Call the other of `input.valueOf()` or `input.toString()` and return if primitive\n4. Throw a `TypeError`\n\n"},{"_id":"659a8a4c50ac877b4500009a","treeId":"6233ffe7781cf6071600010d","seq":6581660,"position":2,"parentId":"659a78df50ac877b45000098","content":"#### Boolean() - Truthy/Falsy\n\nFalsy values - converted to `false`:\n- `undefined`, `null`\n- `false`\n- `0`,`NaN`\n- `''` (empty/zero-length string)\n\nAll other values are converted to true."},{"_id":"659a901350ac877b4500009c","treeId":"6233ffe7781cf6071600010d","seq":6581683,"position":5,"parentId":"6582d65150ac877b45000086","content":"## 9. Operators\n\nOperators and Objects\nAssignment Operators\nEquality Operators: === Versus ===\nOrdering Operators\nPlus Operator `+`\nOperators for Booleans and Numbers\nSpecial Operators\nCategorizing Values via `typeof` and `instanceof`\nObject Operators"},{"_id":"659aa2ed50ac877b4500009d","treeId":"6233ffe7781cf6071600010d","seq":6581684,"position":1,"parentId":"659a901350ac877b4500009c","content":"### Operators and Objects\n\nAll operators in JavaScript coerce operands to expected primitive types. This conversion sometimes causes unexpected behavior for programmers familiar with other languages--notably, arrays cannot be concatenated via operator because they are coerced to strings first. You cannot define or overload the behavior of operators in JavaScript."},{"_id":"659aa88950ac877b4500009e","treeId":"6233ffe7781cf6071600010d","seq":6581685,"position":2,"parentId":"659a901350ac877b4500009c","content":"### Equality Operators: `===` Versus `==`\n\nWhen testing for equality, always use `===` over `==`.\n\n`NaN` is the only value that is never equal to itself."},{"_id":"659aa8aa50ac877b4500009f","treeId":"6233ffe7781cf6071600010d","seq":6581686,"position":3,"parentId":"659a901350ac877b4500009c","content":"### Special Operators\n\nThe `void` operator is a unary operator that always evaluates an expression to `undefined`. It's notably used for `javascript:` URLs in the browser. It can also be used for IIFEs."},{"_id":"659aa92a50ac877b450000a0","treeId":"6233ffe7781cf6071600010d","seq":6581687,"position":6,"parentId":"6582d65150ac877b45000086","content":"## 10. Booleans\n\nConverting to Boolean\nLogical Operators\nEquality Operators, Ordering Operators\nThe Function Boolean"},{"_id":"659aaaa850ac877b450000a1","treeId":"6233ffe7781cf6071600010d","seq":6581706,"position":7,"parentId":"6582d65150ac877b45000086","content":"## 11. Numbers\n\nJavaScript treats all numbers as 64-bit IEEE-754 numbers. JavaScript engines may optimize for integers internally.\n\nNumber Literals\nConverting to Number\nSpecial Number Values\nThe Internal Representation of Numbers\nHandling Rounding Errors\nIntegers in JavaScript\nConverting to Integer\nArithmetic Operators\nBitwise Operators\nThe Function Number\nNumber Constructor Properties\nNumber Prototype Methods\nFunctions for Numbers"},{"_id":"659abc7850ac877b450000a3","treeId":"6233ffe7781cf6071600010d","seq":6581705,"position":1,"parentId":"659aaaa850ac877b450000a1","content":"### Number Literals\n\nInteger, float, or hexadecimal."},{"_id":"659abcf850ac877b450000a4","treeId":"6233ffe7781cf6071600010d","seq":10407008,"position":2,"parentId":"659aaaa850ac877b450000a1","content":"### Converting to Number\n\nManually convert with `Number(value)` or `+value`. \n\n`parseFloat(str, radix?)` extracts the first valid floating point numeric string it finds from a string, ignoring whitespace. It parses `''` as `NaN`. It is usually better to use `Number()`.\n","deleted":false},{"_id":"659abd0b50ac877b450000a5","treeId":"6233ffe7781cf6071600010d","seq":6581734,"position":3,"parentId":"659aaaa850ac877b450000a1","content":"### Special Number Values\n\n`NaN` is a number value that is not equal to anything, including itself. It gets produced when number conversions/operations fail. You can check for `NaN` with `isNaN( )`, but you should also do a type check since isNaN( ) will coerce non-numbers.\n\nInfinity: `Infinity` and `-Infinity`. Numbers outside the range `Number.MAX_VALUE` and `Number.MIN_VALUE`, as well as values divided by zero become +/- Infinity. Check for Infinity with strict equality and `isFinite( )`.\n\nJS has both positive and negative zero, in accordance with IEEE-754. In most cases, they are indistinguishable. Numbers that approach zero beyond the precision supported become +/- `0` depending on their previous value. `Math.pow(x, -1)`, `Math.atan(x, -1), and division by the zero reveal the sign of the zero.\n"},{"_id":"659abd1750ac877b450000a6","treeId":"6233ffe7781cf6071600010d","seq":6581748,"position":4,"parentId":"659aaaa850ac877b450000a1","content":"### The Internal Representation of Numbers\n\n64-bit precision:\n- bits[53] sign\n- bits[62-52]\n- bits[51-0] fraction"},{"_id":"659abd2e50ac877b450000a8","treeId":"6233ffe7781cf6071600010d","seq":6581752,"position":6,"parentId":"659aaaa850ac877b450000a1","content":"### Handling Rounding Errors\n\nDecimal (non-binary) fractions create rounding errors. To compare non-integers, determine equality using an epsilon. The standard machine epsilon is `2^-53`"},{"_id":"659abd3a50ac877b450000a9","treeId":"6233ffe7781cf6071600010d","seq":6581754,"position":7,"parentId":"659aaaa850ac877b450000a1","content":"### Integers in JavaScript\n\nSafe signed integers: (`-2^53`, `2^53`) or (`Number.MIN_SAFE_INTEGER`, `Number.MAX_SAFE_INTEGER`)\n\nArray indices: [`0`, `2^32-1`]\nUTF-16 codes: 16 bits, unsigned\n\nFor a binary operator on integers, you must check both integers and the result to determine if it is safe."},{"_id":"659abd4550ac877b450000aa","treeId":"6233ffe7781cf6071600010d","seq":6581755,"position":8,"parentId":"659aaaa850ac877b450000a1","content":"### Converting to Integer\n\n`Math.floor()` `Math.ceil()` `Math.round()`\n\nConvert to 32-bit integers via bitwise `|0` and shift operators.\n\n`parseInt(str, radix?)` gets "},{"_id":"659abd5050ac877b450000ab","treeId":"6233ffe7781cf6071600010d","seq":6581699,"position":9,"parentId":"659aaaa850ac877b450000a1","content":"### Arithmetic Operators"},{"_id":"659abd5c50ac877b450000ac","treeId":"6233ffe7781cf6071600010d","seq":6581700,"position":10,"parentId":"659aaaa850ac877b450000a1","content":"### Bitwise Operators"},{"_id":"659abd6850ac877b450000ad","treeId":"6233ffe7781cf6071600010d","seq":6581701,"position":11,"parentId":"659aaaa850ac877b450000a1","content":"### The Function Number"},{"_id":"659abd7450ac877b450000ae","treeId":"6233ffe7781cf6071600010d","seq":6581702,"position":12,"parentId":"659aaaa850ac877b450000a1","content":"### Number Constructor Properties"},{"_id":"659abd8150ac877b450000af","treeId":"6233ffe7781cf6071600010d","seq":6581703,"position":13,"parentId":"659aaaa850ac877b450000a1","content":"### Number Prototype Methods"},{"_id":"659abd8c50ac877b450000b0","treeId":"6233ffe7781cf6071600010d","seq":6581704,"position":14,"parentId":"659aaaa850ac877b450000a1","content":"### Functions for Numbers"},{"_id":"659b005150ac877b450000b1","treeId":"6233ffe7781cf6071600010d","seq":6581761,"position":8,"parentId":"6582d65150ac877b45000086","content":"## 12. Strings\n\nString Literals\nEscaping in String Literals\nCharacter Access\nConverting to String\nComparing Strings\nConcatenating Strings\nThe Function String\nString Constructor Method\nString Instance Property length\nString Prototype Methods"},{"_id":"659b047a50ac877b450000b2","treeId":"6233ffe7781cf6071600010d","seq":6581791,"position":1,"parentId":"659b005150ac877b450000b1","content":"### String Literals\n\nSingle quoted and double quoted strings are equivalent."},{"_id":"659b04b250ac877b450000b3","treeId":"6233ffe7781cf6071600010d","seq":6581789,"position":2,"parentId":"659b005150ac877b450000b1","content":"### Escaping in String Literals\n\nLine continuations - backslash and plus operator\n\nCharacter escape sequences\nNUL character\nHexadecimal escape sequences for characters\nUnicode escape sequences"},{"_id":"659b04c350ac877b450000b4","treeId":"6233ffe7781cf6071600010d","seq":6581783,"position":3,"parentId":"659b005150ac877b450000b1","content":"### Character Access\n\n`String.charAt(i)`"},{"_id":"659b04cf50ac877b450000b5","treeId":"6233ffe7781cf6071600010d","seq":6581782,"position":4,"parentId":"659b005150ac877b450000b1","content":"### Converting to String\n\n`String( )`\n`''+value`\n`value.toString()`\n`JSON.stringify(value, replacer?, space?)`"},{"_id":"659b04da50ac877b450000b6","treeId":"6233ffe7781cf6071600010d","seq":6581781,"position":5,"parentId":"659b005150ac877b450000b1","content":"### Comparing Strings\n\ncomparison operators\n`String.prototype.localeCompare( )`"},{"_id":"659b04e650ac877b450000b7","treeId":"6233ffe7781cf6071600010d","seq":6581780,"position":6,"parentId":"659b005150ac877b450000b1","content":"### Concatenating Strings\n\n`+`\nAdding to array then joining"},{"_id":"659b04f150ac877b450000b8","treeId":"6233ffe7781cf6071600010d","seq":6581778,"position":7,"parentId":"659b005150ac877b450000b1","content":"### The Function String\n\n`String( v )`"},{"_id":"659b04fc50ac877b450000b9","treeId":"6233ffe7781cf6071600010d","seq":6581777,"position":8,"parentId":"659b005150ac877b450000b1","content":"### String Constructor Method\n\n`String.fromCharCode( c1, c2, ... )`\n`String.prototype.charCodeAt( i )`"},{"_id":"659b050850ac877b450000ba","treeId":"6233ffe7781cf6071600010d","seq":6581776,"position":9,"parentId":"659b005150ac877b450000b1","content":"### String Instance Property `length`\n\nNumber of characters in string. Immutable. Characters represented by escape codes are counted as one character."},{"_id":"659b051350ac877b450000bb","treeId":"6233ffe7781cf6071600010d","seq":6581774,"position":10,"parentId":"659b005150ac877b450000b1","content":"### String Prototype Methods\n\nExtract Substrings\nTransform\nSearch and Compare\nTest, Match, and Replace with Regular Expressions"},{"_id":"659b154a50ac877b450000bc","treeId":"6233ffe7781cf6071600010d","seq":6581796,"position":9,"parentId":"6582d65150ac877b45000086","content":"## 13. Statements\nDeclaring and Assigning Variables\nThe Bodies of Loops and Conditionals\nLoops\nConditionals\nThe with Statement\nThe debugger Statement"},{"_id":"659b184a50ac877b450000bd","treeId":"6233ffe7781cf6071600010d","seq":6581826,"position":1,"parentId":"659b154a50ac877b450000bc","content":"### Declaring and Assigning Variables\n\n`var` declares a variable. Variable declarations are hoisted. `=` assigns. They can be combined."},{"_id":"659b188950ac877b450000bf","treeId":"6233ffe7781cf6071600010d","seq":6581829,"position":3,"parentId":"659b154a50ac877b450000bc","content":"### Loops\n\nLoop body is a single statement or a code block.\n\n`[label]:`\n`break` `continue`\n\nwhile\ndo-while\nfor\nfor-in (use `Array.prototype.forEach( )` for Arrays)\nfor-each-in (Firefox only)"},{"_id":"659b189850ac877b450000c0","treeId":"6233ffe7781cf6071600010d","seq":6581814,"position":4,"parentId":"659b154a50ac877b450000bc","content":"### Conditionals\n\nif-then-else\nswitch"},{"_id":"659b18a450ac877b450000c1","treeId":"6233ffe7781cf6071600010d","seq":6581809,"position":5,"parentId":"659b154a50ac877b450000bc","content":"### The with Statement\n\nDepreciated!"},{"_id":"659b18af50ac877b450000c2","treeId":"6233ffe7781cf6071600010d","seq":6581808,"position":6,"parentId":"659b154a50ac877b450000bc","content":"### The debugger Statement\n\n`debugger;`"},{"_id":"659b224550ac877b450000c3","treeId":"6233ffe7781cf6071600010d","seq":6581831,"position":10,"parentId":"6582d65150ac877b45000086","content":"## 14. Exception Handling\n\nWhat is Exception Handling?\nException Handling in JavaScript\nError Constructors\nStack Traces\nImplementing Your Own Error Constructor"},{"_id":"659b25c850ac877b450000c5","treeId":"6233ffe7781cf6071600010d","seq":6581843,"position":2,"parentId":"659b224550ac877b450000c3","content":"### Exception Handling in JavaScript\n\nthrow\ntry-catch-finally\n\nAt least throw a `new Error( ... )` instead of a string. Environments may provide a stack trace with the error object.","deleted":false},{"_id":"659b25df50ac877b450000c6","treeId":"6233ffe7781cf6071600010d","seq":6581847,"position":3,"parentId":"659b224550ac877b450000c3","content":"### Error Constructors & Properties\n\n`Error`\n`EvalError` - not used\n`RangeError`\n`ReferenceError`\n`SyntaxError`\n`TypeError`\n`URIError`\n\nProperties\n`message`\n`name`\n`stack`"},{"_id":"659b25eb50ac877b450000c7","treeId":"6233ffe7781cf6071600010d","seq":6581850,"position":4,"parentId":"659b224550ac877b450000c3","content":"### Stack Traces\n\nYou can set the `message` property of the error. Engines may support the `stack` property."},{"_id":"659b25f850ac877b450000c8","treeId":"6233ffe7781cf6071600010d","seq":6581836,"position":5,"parentId":"659b224550ac877b450000c3","content":"### Implementing Your Own Error Constructor"},{"_id":"659b344b50ac877b450000c9","treeId":"6233ffe7781cf6071600010d","seq":6581860,"position":11,"parentId":"6582d65150ac877b45000086","content":"## 15. Functions\n\nThe Three Roles of Functions in JavaScript\nTerminology: “Parameter” Versus “Argument”\nDefining Functions\nHoisting\nThe Name of a Function\nWhich Is Better: A Function Declaration or a Function Expression?\nMore Control over Function Calls: call(), apply(), and bind()\nHandling Missing or Extra Parameters\nNamed Parameters"},{"_id":"659b39e750ac877b450000ca","treeId":"6233ffe7781cf6071600010d","seq":6581878,"position":1,"parentId":"659b344b50ac877b450000c9","content":"### The Three Roles of Functions in JavaScript\n\nNonmethod function (“normal function”)\nConstructor\nMethod"},{"_id":"659b3a0750ac877b450000cb","treeId":"6233ffe7781cf6071600010d","seq":6581880,"position":2,"parentId":"659b344b50ac877b450000c9","content":"### Terminology: “Parameter” Versus “Argument”\n\nparameters - (formal parameters/arguments) used in the function definition\n\narguments - (actual parameters/arguments) in the function invocation"},{"_id":"659b3a1d50ac877b450000cc","treeId":"6233ffe7781cf6071600010d","seq":6581881,"position":3,"parentId":"659b344b50ac877b450000c9","content":"### Defining Functions\n\nFunction Expressions - anonymous or named\nFunction Declarations - hoisted\nThe Function Constructor - Similar to `eval`. Don't use this in general."},{"_id":"659b3a3150ac877b450000cd","treeId":"6233ffe7781cf6071600010d","seq":6581882,"position":4,"parentId":"659b344b50ac877b450000c9","content":"### Hoisting\n\nOnly function declarations are completely hoisted. `var` is hoisted, but assigning a function expression is not."},{"_id":"659b3a4350ac877b450000ce","treeId":"6233ffe7781cf6071600010d","seq":6581883,"position":5,"parentId":"659b344b50ac877b450000c9","content":"### The Name of a Function\n\nMost JS engines support the property `name`, which is useful for debugging."},{"_id":"659b3a5450ac877b450000cf","treeId":"6233ffe7781cf6071600010d","seq":6581884,"position":6,"parentId":"659b344b50ac877b450000c9","content":"### Which Is Better: A Function Declaration or a Function Expression?"},{"_id":"659b3a9f50ac877b450000d0","treeId":"6233ffe7781cf6071600010d","seq":6581885,"position":7,"parentId":"659b344b50ac877b450000c9","content":"### More Control over Function Calls: call(), apply(), and bind()\n\n`func.apply(thisValue, argArray)`\n`func.bind(thisValue, arg1, ..., argN)`"},{"_id":"659b3aae50ac877b450000d1","treeId":"6233ffe7781cf6071600010d","seq":6581887,"position":8,"parentId":"659b344b50ac877b450000c9","content":"### Handling Missing or Extra Parameters\n\nMore actual parameters than formal parameters - extra parameters ignored but are still in `arguments`\n\nFewer actual parameters than formal parameters - missing parameters get `undefined`\n\n`arguments` - array-like object--has `length` and can access elements with `[]` but no other array methods.\n\nStrict vs Sloppy mode: `callee` property is depreciated and is not allowed in strict mode. In sloppy mode, arguments change when parameters change, but not in strict mode. Strict mode prevents assigning to `arguments`.\n\nMandatory Parameters, Enforcing a Minimum Arity\n\nOptional Parameters\n\nSimulating Pass-by-Reference Parameters - enclose in an array.\n\nPitfall: Unexpected Optional Parameters"},{"_id":"659b3abf50ac877b450000d2","treeId":"6233ffe7781cf6071600010d","seq":6581888,"position":9,"parentId":"659b344b50ac877b450000c9","content":"### Named Parameters\n\nJavaScript doesn't support named parameters directly. Simulate by passing in an object."},{"_id":"659b6a1150ac877b450000d3","treeId":"6233ffe7781cf6071600010d","seq":6581906,"position":12,"parentId":"6582d65150ac877b45000086","content":"## 16. Variables: Scopes, Environments, and Closures\n\nDeclaring a Variable\nBackground: Static Versus Dynamic\nBackground: The Scope of a Variable\nVariables Are Function-Scoped\nVariable Declarations Are Hoisted\nIntroducing a New Scope via an IIFE\nGlobal Variables\nThe Global Object\nEnvironments: Managing Variables\nClosures: Functions Stay Connected to Their Birth Scopes"},{"_id":"659b70e550ac877b450000d4","treeId":"6233ffe7781cf6071600010d","seq":6581918,"position":1,"parentId":"659b6a1150ac877b450000d3","content":"### Declaring a Variable"},{"_id":"659b712550ac877b450000d5","treeId":"6233ffe7781cf6071600010d","seq":6581919,"position":2,"parentId":"659b6a1150ac877b450000d3","content":"### Background: Static Versus Dynamic\n\nStatically (or lexically)\nDynamically"},{"_id":"659b713750ac877b450000d6","treeId":"6233ffe7781cf6071600010d","seq":6581920,"position":3,"parentId":"659b6a1150ac877b450000d3","content":"### Background: The Scope of a Variable\n\nThe scope of a variable\nLexical scoping\nNested scopes\nShadowing"},{"_id":"659b714650ac877b450000d7","treeId":"6233ffe7781cf6071600010d","seq":6581921,"position":4,"parentId":"659b6a1150ac877b450000d3","content":"### Variables Are Function-Scoped"},{"_id":"659b715550ac877b450000d8","treeId":"6233ffe7781cf6071600010d","seq":6581983,"position":5,"parentId":"659b6a1150ac877b450000d3","content":"### Variable Declarations Are Hoisted"},{"_id":"659b716550ac877b450000d9","treeId":"6233ffe7781cf6071600010d","seq":6581989,"position":6,"parentId":"659b6a1150ac877b450000d3","content":"### Introducing a New Scope via an IIFE\n\nIt is immediately invoked\nIt must be an expression\nThe trailing semicolon is required\n\nIIFE Variation: Prefix Operators\nIIFE Variation: Already Inside Expression Context\nIIFE Variation: An IIFE with Parameters\nIIFE Applications"},{"_id":"659b717350ac877b450000da","treeId":"6233ffe7781cf6071600010d","seq":6582101,"position":7,"parentId":"659b6a1150ac877b450000d3","content":"### Global Variables\n\nPITFALL: ASSIGNING TO AN UNDECLARED VARIABLE MAKES IT GLOBAL"},{"_id":"659b718150ac877b450000db","treeId":"6233ffe7781cf6071600010d","seq":6582115,"position":8,"parentId":"659b6a1150ac877b450000d3","content":"### The Global Object\n\nBrandon Eich considers the global object one of his biggest regrets.\n\nBrowsers - `window` - standardized as part of the DOM, not ES5\nNode.js - `global`\n\nUse Cases for window"},{"_id":"659b718e50ac877b450000dc","treeId":"6233ffe7781cf6071600010d","seq":6582194,"position":9,"parentId":"659b6a1150ac877b450000d3","content":"### Environments: Managing Variables\n\nDynamic dimension: invoking functions - stack of execution contexts\n\nLexical (static) dimension: staying connected to your surrounding scopes - chain of environments\n"},{"_id":"659b719c50ac877b450000dd","treeId":"6233ffe7781cf6071600010d","seq":6582206,"position":10,"parentId":"659b6a1150ac877b450000d3","content":"### Closures: Functions Stay Connected to Their Birth Scopes\n\nHandling Closures via Environments\n"},{"_id":"6645536b1f0b9082010000de","treeId":"6233ffe7781cf6071600010d","seq":6697680,"position":13,"parentId":"6582d65150ac877b45000086","content":"## 17. Objects and Inheritance\n\nLayer 1: Object-orientation with single objects\nLayer 2: Prototype chains of objects\nLayer 3: Constructors as factories for instances\nLayer 5: Subclassing & Subconstructors"},{"_id":"666dc997ea29b089b10000ed","treeId":"6233ffe7781cf6071600010d","seq":6723882,"position":0.5,"parentId":"6645536b1f0b9082010000de","content":"### Cheat Sheet: Working With Objects"},{"_id":"666dcd7bea29b089b10000ee","treeId":"6233ffe7781cf6071600010d","seq":6723852,"position":1,"parentId":"666dc997ea29b089b10000ed","content":"#### Object literals"},{"_id":"666dcdbfea29b089b10000ef","treeId":"6233ffe7781cf6071600010d","seq":6723853,"position":2,"parentId":"666dc997ea29b089b10000ed","content":"#### Dot operator"},{"_id":"666dcdd2ea29b089b10000f0","treeId":"6233ffe7781cf6071600010d","seq":6723854,"position":3,"parentId":"666dc997ea29b089b10000ed","content":"#### Bracket operator"},{"_id":"666dcdddea29b089b10000f1","treeId":"6233ffe7781cf6071600010d","seq":6723855,"position":4,"parentId":"666dc997ea29b089b10000ed","content":"#### Getting and setting the prototype"},{"_id":"666dcde8ea29b089b10000f2","treeId":"6233ffe7781cf6071600010d","seq":6723856,"position":5,"parentId":"666dc997ea29b089b10000ed","content":"#### Iteration and detection of properties"},{"_id":"666dce01ea29b089b10000f3","treeId":"6233ffe7781cf6071600010d","seq":6723857,"position":6,"parentId":"666dc997ea29b089b10000ed","content":"#### Getting and defining properties via descriptors"},{"_id":"666dce0fea29b089b10000f4","treeId":"6233ffe7781cf6071600010d","seq":6723858,"position":7,"parentId":"666dc997ea29b089b10000ed","content":"#### Protecting objects"},{"_id":"666dce19ea29b089b10000f5","treeId":"6233ffe7781cf6071600010d","seq":6723859,"position":8,"parentId":"666dc997ea29b089b10000ed","content":"#### Methods of all objects"},{"_id":"664699c11f0b9082010000df","treeId":"6233ffe7781cf6071600010d","seq":6723887,"position":1,"parentId":"6645536b1f0b9082010000de","content":"### Layer 1. Object-orientation with single objects\n\nKinds of Properties\nObject Literals\nDot Operator\nUnusual Property Keys\nBracket Operator\nConverting Any Value to an Object"},{"_id":"664785301f0b9082010000e5","treeId":"6233ffe7781cf6071600010d","seq":6697614,"position":1.75,"parentId":"6645536b1f0b9082010000de","content":"### this as an Implicit Parameter of Function and Methods\n\ncall( ), apply( ), bind( )\napply( ) for constructors\npitfall: losing `this` when extracting a method\npitfall: functions inside methods shadow `this`"},{"_id":"66469a771f0b9082010000e0","treeId":"6233ffe7781cf6071600010d","seq":6723804,"position":2,"parentId":"6645536b1f0b9082010000de","content":"### Layer 2. Prototype chains of objects\n\nInheritance. Overriding. Sharing data between objects via a prototype. Getting and setting the prototype. `__proto__`. Setting and deleting affects only own properties.\n\n*Iteration and Detection of Properties.* Listing own property keys. Listing all property keys. Checking whether a property exists.\n\n*Best Practices: Iterating over Own Properties.*\n\n*Accessors (Getters and Setters).* Defining accessors via an object literal. Defining accessors via property\ndescriptors. Accessors and inheritance.\n\n*Property Attributes and Property Descriptors*. Property Attributes. Property Descriptors. Getting and Defining Properties via descriptors. Copying an object. Properties: definition versus assignment. Inherited read-only properties can’t be assigned to. Enumerability: best practices.\n\n*Protecting Objects.* Preventing extensions. Sealing. Freezing. Pitfall: protection is shallow."},{"_id":"666da486ea29b089b10000ec","treeId":"6233ffe7781cf6071600010d","seq":6723675,"position":1,"parentId":"66469a771f0b9082010000e0","content":"#### Overview\nInheritance\nOverriding\nSharing data between objects via a prototype\nGetting and setting the prototype\n`__proto__`\nSetting and deleting affects only own properties\n#### Iteration and Detection of Properties\n\nListing own property keys\nListing all property keys\nChecking whether a property exists\n#### Best Practices: Iterating over Own Properties\n#### Accessors (Getters and Setters)\n\nDefining Accessors via an Object Literal\nDefining Accessors via Property Descriptors\nAccessors and Inheritance\n#### Property Attributes and Property Descriptors\n\nProperty Attributes\nProperty Descriptors\nGetting and Defining Properties via Descriptors\nCopying an Object\nProperties: Definition Versus Assignment\nInherited Read-Only Properties Can’t Be Assigned To\nEnumerability: Best Practices\n\n#### Protecting Objects\nPreventing Extensions\nSealing\nFreezing\nPitfall: Protection Is Shallow"},{"_id":"66469ad31f0b9082010000e1","treeId":"6233ffe7781cf6071600010d","seq":6723974,"position":3,"parentId":"6645536b1f0b9082010000de","content":"### Layer 3. Constructors as factories for instances\n\nWhat is a constructor in JavaScript? The new operator implemented in JavaScript. Terminology: the two prototypes. The constructor property of instances. The `instanceof` operator. Tips for implementing constructors.\n\n*Data in Prototype Properties.* Avoid prototype properties with initial values for instance properties. Avoid nonpolymorphic prototype properties. Polymorphic prototype properties.\n\n*Keeping Data Private.* Private data in the environment of a constructor (Crockford Privacy Pattern). Private data in properties with marked keys. Private data in properties with reified keys. Keeping global data private via IIFEs."},{"_id":"666e01c0ea29b089b10000f6","treeId":"6233ffe7781cf6071600010d","seq":6724628,"position":1,"parentId":"66469ad31f0b9082010000e1","content":"Constructor overview\n\n`.prototype`\n`.constructor`\n`instanceof`\n\nThe instanceof operator\n- syntax: `value instanceof Constr`\n- Identical to: `Constr.prototype.isPrototypeOf(value)`\n- Pitfall: objects that are not instances of Object\n- Pitfall: crossing realms (frames or windows)\n\nTips for implementing constructors:\n- use strict mode to protect against forgetting `new`\n- Constructors can return arbitrary objects"},{"_id":"666e4e2dea29b089b10000fc","treeId":"6233ffe7781cf6071600010d","seq":6724594,"position":0.25,"parentId":"666e01c0ea29b089b10000f6","content":"What the `new` operator actually does"},{"_id":"666e4c2fea29b089b10000f9","treeId":"6233ffe7781cf6071600010d","seq":6724585,"position":0.5,"parentId":"666e01c0ea29b089b10000f6","content":"`constructor` property of instances\n\nUse cases for the constructor property:\n\n- Identifying/taking different action on an object based on its constructor (only works on direct instances of a constructor)\n- Determining the name of an object's constructor with `.constructor.name`. (Not all JS engines support function property `name`.)\n- Creating a new object with the same constructor\n- Referring to a superconstructor\n\nBest practice: make sure that for a constructor `C`, `C.prototype.constructor === C` is `true`. Functions have this set up correctly by default. Avoid replacing the `prototype` object, and if you do, manually assign the right value to `constructor`."},{"_id":"666e3966ea29b089b10000f8","treeId":"6233ffe7781cf6071600010d","seq":6724624,"position":1,"parentId":"666e01c0ea29b089b10000f6","content":"#### The `instanceof` operator\n```\nvalue instanceof Constr\n```\n\nChecks the whole prototype chain. Always returns false for primitive operands. Throws an exception if rhs operand isn't a function.\n\nIdentical to: \n```\nConstr.prototype.isPrototypeOf(value)\n```\n\nPitfall: objects that aren't instances of `Object` don't get identified as an object by `instanceof`.\n\nPitfall: `instanceof` might not work across different frames and windows, which each have their own global variables.\n\nWorkarounds:\n- Use special methods like `Array.isArray()`\n- Avoid crossing realms (windows/frames) by using `postMessage( )` to copy over objects\n- Compare the `.constructor.name`\n- Use a property on the prototype to mark instances"},{"_id":"666e4ee8ea29b089b10000fd","treeId":"6233ffe7781cf6071600010d","seq":6724611,"position":2,"parentId":"666e01c0ea29b089b10000f6","content":"Tips for implementing constuctors\n\n_Use strict mode to protect against forgetting to use `new`._ Strict mode will raise an exception:\n\n```\nTypeError: Cannot set property 'name' of undefined\n```\n\n_Returning arbitrary objects from a constructor_. JavaScript can return arbitrary objects, allowing you to use them as factory methods.\n\n```\nfunction Expression(str) {\n if (...) {\n return new Addition(..);\n } else if (...) {\n return new Multiplication(...);\n } else {\n throw new ExpressionException(...);\n }\n}\n...\nvar expr = new Expression(someStr);\n```"},{"_id":"666e5d9cea29b089b10000fe","treeId":"6233ffe7781cf6071600010d","seq":6724718,"position":2,"parentId":"66469ad31f0b9082010000e1","content":"#### Data in Prototype Properties\n\nWhy you usually shouldn't put data in prototype properties.\n\nWhy avoid prototype properties with initial values for instance properties: _mutating_ the value on the instance before it's overwritten with an own property will change the prototype default value!\n\nAvoid nonpolymorphic prototype properties, like constants. Use variables instead.\n\nPolymorphic prototype properties can be used for tagging instances across realms.\n\n"},{"_id":"666e6a4aea29b089b10000ff","treeId":"6233ffe7781cf6071600010d","seq":6724691,"position":1,"parentId":"666e5d9cea29b089b10000fe","content":"Avoid prototype properties with initial values\n\nDo this instead to create a new property on the instance with a default value:\n```\nfunction Names(data) {\n this.data = data || [];\n}\n```\n\nWhen you might use prototype property with an initial value:\n\nLazy instantiation of properties\n```\nfunction Names(data) {\n if (data) this.data = data;\n}\nNames.prototype = {\n constructor: Names, // (1)\n get data() {\n // Define, don’t assign\n // => avoid calling the (nonexistent) setter\n Object.defineProperty(this, 'data', {\n value: [],\n enumerable: true,\n configurable: false,\n writable: false\n });\n return this.data;\n }\n};\n```\n "},{"_id":"666e87b4ea29b089b1000100","treeId":"6233ffe7781cf6071600010d","seq":6724912,"position":3,"parentId":"66469ad31f0b9082010000e1","content":"#### Keeping Data Private\n\nJavaScript doesn't have a built-in means for data privacy. There are three main patterns for using data privacy:\n\n***Private data in the environment of a constructor*** (_Crockford privacy pattern_) - functions created as part of a constructor are part of that constructor's closure. They can act as _privileged methods_ that access data that is part of the constructor's environment. Not very elegant, may be slower, consumes more memory, but it's completely secure.\n\n***Private data in properties with marked keys*** (_private by convention_) - usually with a naming convention like an underscore. This offers a more natural coding style, but it pollutes the property namespace because they'll show up as normal properties. It can also lead to key clashes. They can be accessed normally, which can be flexible for unit tests and stuff.\n\n***Private data in properties with reified keys*** - storing the key value in a variable. This avoids key clashes and lets you use UUIDs that can have unique values at runtime.\n\n***You can keep global data private via IIFEs***: attaching it to a singleton object, keeping it private to a constructor, attaching it to a method"},{"_id":"666e93c9ea29b089b1000101","treeId":"6233ffe7781cf6071600010d","seq":6724736,"position":1,"parentId":"666e87b4ea29b089b1000100","content":"Private Data in the Environment of a Constructor (Crockford Privacy Pattern)\n\nPublic properties\n```\nConstr.prototype.publicMethod = ...;\n```\n\n```\nfunction Constr(...) {\n this.publicData = ...;\n ...\n}\n```\n\nPrivate values\n```\nfunction Constr(...) {\n ...\n var that = this; // make accessible to private functions\n\n var privateData = ...;\n\n function privateFunction(...) {\n // Access everything\n privateData = ...;\n\n that.publicData = ...;\n that.publicMethod(...);\n }\n ...\n}\n```\n\nPrivileged methods\n```\nfunction Constr(...) {\n ...\n this.privilegedMethod = function (...) {\n // Access everything\n privateData = ...;\n privateFunction(...);\n\n this.publicData = ...;\n this.publicMethod(...);\n };\n}\n```"},{"_id":"666eb0e4ea29b089b1000102","treeId":"6233ffe7781cf6071600010d","seq":6724801,"position":2,"parentId":"666e87b4ea29b089b1000100","content":"Private Data in Properties with Reified Keys\n\n```\nvar StringBuilder = function () {\n var KEY_BUFFER = '_StringBuilder_buffer';\n\n function StringBuilder() {\n this[KEY_BUFFER] = [];\n }\n StringBuilder.prototype = {\n constructor: StringBuilder,\n add: function (str) {\n this[KEY_BUFFER].push(str);\n },\n toString: function () {\n return this[KEY_BUFFER].join('');\n }\n };\n return StringBuilder;\n}();\n```\nNote the IIFE."},{"_id":"666eb326ea29b089b1000103","treeId":"6233ffe7781cf6071600010d","seq":6724918,"position":3,"parentId":"666e87b4ea29b089b1000100","content":"Keeping Global Data Private via IIFEs\n\nAttaching private global data to a singleton object\n```\nvar obj = function () { // open IIFE\n\n // public\n var self = {\n publicMethod: function (...) {\n privateData = ...;\n privateFunction(...);\n },\n publicData: ...\n };\n\n // private\n var privateData = ...;\n function privateFunction(...) {\n privateData = ...;\n self.publicData = ...;\n self.publicMethod(...);\n }\n\n return self;\n}(); // close IIFE\n```\n\nKeeping global data private to all of a constructor\n```\nvar StringBuilder = function () { // open IIFE\n var KEY_BUFFER = '_StringBuilder_buffer_' + uuid.v4();\n\n function StringBuilder() {\n this[KEY_BUFFER] = [];\n }\n StringBuilder.prototype = {\n // Omitted: methods accessing this[KEY_BUFFER]\n };\n return StringBuilder;\n}(); // close IIFE\n```\n\nAttaching global data to a method\n```\nvar obj = {\n method: function () { // open IIFE\n\n // method-private data\n var invocCount = 0;\n\n return function () {\n invocCount++;\n console.log('Invocation #'+invocCount);\n return 'result';\n };\n }() // close IIFE\n};\n```"},{"_id":"66469b4c1f0b9082010000e2","treeId":"6233ffe7781cf6071600010d","seq":6724919,"position":4,"parentId":"6645536b1f0b9082010000de","content":"### Layer 4. Subconstructors\n\n#### Overview\nInheriting Instance Properties\nInheriting Prototype Properties\nEnsuring That `instanceof` Works\nOverriding a Method\nMaking a Supercall\nAvoiding Hardcoding the Name of the Superconstructor\nExample: Constructor Inheritance in Use\nExample: The Inheritance Hierarchy of Built-in Constructors\nAntipattern: The Prototype Is an Instance of the Superconstructor\n\n#### Methods of All Objects\nConversion to Primitive\nObject.prototype.toLocaleString()\nPrototypal Inheritance and Properties\n\n#### Generic Methods: Borrowing Methods from Prototypes\nAccessing Object.prototype and Array.prototype via Literals\nExamples of Calling Methods Generically\nArray-Like Objects and Generic Methods\nA List of All Generic Methods\n\n#### Pitfalls: Using an Object as a Map\nPitfall 1: Inheritance Affects Reading Properties\nPitfall 2: Overriding Affects Invoking Methods\nPitfall 3: The Special Property `__proto__`\nThe dict Pattern: Objects Without Prototypes Are Better Maps\nBest Practices\n"},{"_id":"666edf41ea29b089b1000104","treeId":"6233ffe7781cf6071600010d","seq":6724967,"position":1,"parentId":"66469b4c1f0b9082010000e2","content":"#### Subconstructor Howto\n\nFor two constructors `Super` and `Sub` we want:\n\n- Inheriting instance properties.\n- Inheriting prototype properties.\n- `instanceof` to work for instances\n- Overridding of methods\n- Being able to call an original from an overridden method"},{"_id":"666f04dfea29b089b1000109","treeId":"6233ffe7781cf6071600010d","seq":6725061,"position":0.5,"parentId":"666edf41ea29b089b1000104","content":"Utility function\n\n```\nfunction subclasses(SubC, SuperC) {\n var subProto = Object.create(SuperC.prototype);\n // Save `constructor` and, possibly, other methods\n copyOwnPropertiesFrom(subProto, SubC.prototype);\n SubC.prototype = subProto;\n SubC._super = SuperC.prototype;\n};\n```"},{"_id":"666ee561ea29b089b1000105","treeId":"6233ffe7781cf6071600010d","seq":6725057,"position":1,"parentId":"666edf41ea29b089b1000104","content":"Inheriting Instance Properties\n\n```\nfunction Sub(prop1, prop2, prop3, prop4) {\n Sub._super.call(this, prop1, prop2); // (1)\n this.prop3 = prop3; // (2)\n this.prop4 = prop4; // (3)\n}\n```\n\nThe trick is to not invoke `Super` via `new`."},{"_id":"666ee77bea29b089b1000106","treeId":"6233ffe7781cf6071600010d","seq":6725014,"position":2,"parentId":"666edf41ea29b089b1000104","content":"Inheriting Prototype Properties / making `instanceof` work for instances\n\nGive `sub.prototype` the prototype `super.prototype`.\n\n```\nSub.prototype = Object.create(Sub._super.prototype);\nSub.prototype.constructor = Sub;\nSub.prototype.methodB = ...;\nSub.prototype.methodC = ...;\n```"},{"_id":"666ef3d2ea29b089b1000108","treeId":"6233ffe7781cf6071600010d","seq":6725013,"position":3,"parentId":"666edf41ea29b089b1000104","content":"Overriding a Method vs. Making a Supercall\n\nMethods added to `Sub.prototype` will override methods with the same name in `Super.prototype`.\n\nA _home object_ of a method is the object that owns the property that contains the method.\n\nTo call a supermethod, skip the home object of the current method, search for a method with that name, and invoke with the current `this`.\n\n```\nSub.prototype.methodB = function (x, y) {\n var superResult = Sub._super.prototype.methodB.call(this, x, y); // (1)\n return this.prop3 + ' ' + superResult;\n}\n```"},{"_id":"666f095dea29b089b100010b","treeId":"6233ffe7781cf6071600010d","seq":6725063,"position":4,"parentId":"666edf41ea29b089b1000104","content":"Example\n\nSuperconstructor\n```\nfunction Person(name) {\n this.name = name;\n}\nPerson.prototype.describe = function () {\n return 'Person called '+this.name;\n};\n```\n\nSubconstructor\n```\nfunction Employee(name, title) {\n Person.call(this, name);\n this.title = title;\n}\nEmployee.prototype = Object.create(Person.prototype);\nEmployee.prototype.constructor = Employee;\nEmployee.prototype.describe = function () {\n return Person.prototype.describe.call(this)+' ('+this.title+')';\n};\n\n```"},{"_id":"666f0cd6ea29b089b100010d","treeId":"6233ffe7781cf6071600010d","seq":6725144,"position":2,"parentId":"66469b4c1f0b9082010000e2","content":"#### `Object.prototype` methods\n\nConversion to Primitive\n```\nObject.prototype.toString()\nObject.prototype.valueOf()\nObject.prototype.toLocaleString()\n```\n\nPrototypal Inheritance and Properties\n```\nObject.prototype.isPrototypeOf(obj)\nObject.prototype.hasOwnProperty(key)\nObject.prototype.propertyIsEnumerable(propKey)\n```"},{"_id":"666f1849ea29b089b100010e","treeId":"6233ffe7781cf6071600010d","seq":6725146,"position":3,"parentId":"66469b4c1f0b9082010000e2","content":"#### Generic Methods"},{"_id":"666f1e66ea29b089b100010f","treeId":"6233ffe7781cf6071600010d","seq":6725156,"position":1,"parentId":"666f1849ea29b089b100010e","content":"#### Accessing Object.prototype and Array.prototype via Literals\n\nJust use the empty object `{}` instead of `Object.prototype` and `[]` instead of `Array.prototype`."},{"_id":"666f2766ea29b089b1000110","treeId":"6233ffe7781cf6071600010d","seq":6725165,"position":2,"parentId":"666f1849ea29b089b100010e","content":"Examples\n\n```\n> var arr1 = [ 'a', 'b' ];\n> var arr2 = [ 'c', 'd' ];\n\n> [].push.apply(arr1, arr2)\n4\n> arr1\n[ 'a', 'b', 'c', 'd' ]\n```\n\n```\n> Array.prototype.join.call('abc', '-')\n'a-b-c'\n```\n\n```\n> [].map.call('abc', function (x) { return x.toUpperCase() })\n[ 'A', 'B', 'C' ]\n```\n\n```\n> 'abc'.split('').map(function (x) { return x.toUpperCase() })\n[ 'A', 'B', 'C' ]\n```\n\n```\n> String.prototype.toUpperCase.call(true)\n'TRUE'\n> String.prototype.toUpperCase.call(['a','b','c'])\n'A,B,C'\n```\n\n```\n> var fakeArray = { 0: 'a', 1: 'b', length: 2 };\n> Array.prototype.join.call(fakeArray, '-')\n'a-b'\n```\n\n```\n> var obj = {};\n> Array.prototype.push.call(obj, 'hello');\n1\n> obj\n{ '0': 'hello', length: 1 }\n```\n\n```\nfunction logArgs() {\n Array.prototype.forEach.call(arguments, function (elem, i) {\n console.log(i+'. '+elem);\n });\n}\n```"},{"_id":"666f2e01ea29b089b1000112","treeId":"6233ffe7781cf6071600010d","seq":6725164,"position":3,"parentId":"666f1849ea29b089b100010e","content":"Array-Like Objects and Generic Methods\n\n`arguments`\nDOM node lists - returned by document.getElementsBy*()\nStrings\n\nArray-like objects need elements accessible by integer indices and a `length` property. Array methods need these to be readable, and sometimes writable."},{"_id":"666f3ad2ea29b089b1000113","treeId":"6233ffe7781cf6071600010d","seq":6725192,"position":4.5,"parentId":"66469b4c1f0b9082010000e2","content":"#### Pitfalls: Using an Object as a Map\n\nPitfall 1: Inheritance Affects Reading Properties\nPitfall 2: Overriding Affects Invoking Methods\nPitfall 3: The Special Property __proto__\n\nCreating an object without a prototype (`Object.create(null)`) avoids all of these pitfalls."},{"_id":"667a29425a9b62091c00010d","treeId":"6233ffe7781cf6071600010d","seq":6733445,"position":14,"parentId":"6582d65150ac877b45000086","content":"## 18. Arrays\n\nOverview\nCreating Arrays\nArray Indices\nlength\nHoles in Arrays\nArray Constructor Method\nArray Prototype Methods\nAdding and Removing Elements (Destructive)\nSorting and Reversing Elements (Destructive)\nConcatenating, Slicing, Joining (Nondestructive)\nSearching for Values (Nondestructive)\nIteration (Nondestructive)\nBest Practices: Iterating over Arrays"},{"_id":"667a35005a9b62091c00010e","treeId":"6233ffe7781cf6071600010d","seq":6733424,"position":1,"parentId":"667a29425a9b62091c00010d","content":"### Overview\n\nArray syntax\nArrays Are Maps, Not Tuples\nArrays Can Also Have Properties"},{"_id":"6686b3445a9b62091c00011c","treeId":"6233ffe7781cf6071600010d","seq":6745910,"position":1,"parentId":"667a35005a9b62091c00010e","content":"#### Array Syntax\n\n```\nvar arr = ['a', 'b', 'c'];\narr.length;\narr.length = 2;\narr[arr.length] = 'd';\narr.push('e');\nvar e = arr.pop();\n\n```"},{"_id":"6686b7a25a9b62091c00011d","treeId":"6233ffe7781cf6071600010d","seq":6745917,"position":2,"parentId":"667a35005a9b62091c00010e","content":"#### Arrays are Maps, Not Tuples\n\nThe `Array` type is an object with properties that have integer indices as names.\n\nThe elements of an Array are not necessarily contiguous, and Arrays can have \"holes\", or missing indices."},{"_id":"6686bbf35a9b62091c00011e","treeId":"6233ffe7781cf6071600010d","seq":6745919,"position":3,"parentId":"667a35005a9b62091c00010e","content":"#### Arrays Can Also Have Properties\n\nArrays work like any other object. You can add arbitrary properties to them. These new properties are not considered array elements by array methods."},{"_id":"667a36645a9b62091c00010f","treeId":"6233ffe7781cf6071600010d","seq":6745920,"position":2,"parentId":"667a29425a9b62091c00010d","content":"### Creating Arrays\n\nArray Literals/The Array Constructor\nMultidimensional Arrays"},{"_id":"6686bf2f5a9b62091c000120","treeId":"6233ffe7781cf6071600010d","seq":6745925,"position":1,"parentId":"667a36645a9b62091c00010f","content":"#### Array Literals/Array Constructor\n\n```\n// Array literal\nvar arr = ['a', 'b', 'c']\n```\n\n**Array Constructor**\n\nWhy the `Array( )` constructor is problematic:\n\n_Creating an empty array with a given length_\n\n```\n// creates an array object with length 2\nvar arr = new Array(2);\n// elements at indices are still undefined\n```\n\n_Initializing an array with elements via constructor_\n`Array( )` will try to parse a numeric argument as a length\n```\n// Array with two holes, not [2]\nvar arr = new Array(2);\n// RangeError: Invalid array length\narr = new Array(9.9);\n```"},{"_id":"6686cb2a5a9b62091c000121","treeId":"6233ffe7781cf6071600010d","seq":6745926,"position":2,"parentId":"667a36645a9b62091c00010f","content":"#### Multidimensional Arrays\n\nCreate multidimensional arrays by nesting arrays. Make sure to create the rows (outer arrays). You have to do this with a loop (since a constructor will just set the `length` of the outer array)\n\n"},{"_id":"667a39805a9b62091c000110","treeId":"6233ffe7781cf6071600010d","seq":6745934,"position":3,"parentId":"667a29425a9b62091c00010d","content":"### Array Indices\n\nindices ***i*** go from 0 ≤ i < 2^32−1\nmax `length` is 2^32-1\n\nIndices out of range are treated as string property keys.\n\nThe in Operator and Indices\nDeleting Array Elements\nArray Indices in Detail"},{"_id":"6686d5ae5a9b62091c000122","treeId":"6233ffe7781cf6071600010d","seq":6745940,"position":1,"parentId":"667a39805a9b62091c000110","content":"#### The in Operator and Indices\n\n"},{"_id":"6686d6b35a9b62091c000123","treeId":"6233ffe7781cf6071600010d","seq":6746056,"position":2,"parentId":"667a39805a9b62091c000110","content":"#### Deleting Array Elements\n\n`delete` works on array elements but doesn't update `length` or shift elements. It creates a hole.\n\nTo delete elements without leaving a hole, use `Array.prototype.splice()`\n\n```\n// remove i\narr.splice(i, 1);\n// remove j through k\narr.splice(j,k-j+1);\n// remove m up to but not including n\narr.splice(m, n-m);\n// remove the third last element and after\narr.splice(-3);\n```"},{"_id":"6686d7215a9b62091c000124","treeId":"6233ffe7781cf6071600010d","seq":6745946,"position":3,"parentId":"667a39805a9b62091c000110","content":"#### Array Indices in Detail\n\nIndices aren't numbers, but string property keys.\n\nFor a key ***P*** that is a valid array index:\n- `ToString(ToUint32(P)) === P` is true\n- `ToUint32(P) !== Math.pow(2,32)-1`\n"},{"_id":"667a3b155a9b62091c000111","treeId":"6233ffe7781cf6071600010d","seq":6746021,"position":4,"parentId":"667a29425a9b62091c00010d","content":"### length\n\n`length` only keeps track of the highest index. It doesn't count nonholes.\n\nTrying to construct an array with length > 2^32-1 will cause a `RangeError: Invalid array length`.\n\nManually Increasing the Length of an Array\nDecreasing the Length of an Array"},{"_id":"668705a35a9b62091c000125","treeId":"6233ffe7781cf6071600010d","seq":6746016,"position":1,"parentId":"667a3b155a9b62091c000111","content":"#### Manually Increasing the Length of an Array\n\nChanging length only creates holes (doesn't create new, empty array elements)."},{"_id":"6687089b5a9b62091c000126","treeId":"6233ffe7781cf6071600010d","seq":6746019,"position":2,"parentId":"667a3b155a9b62091c000111","content":"#### Decreasing the Length of an Array\n\nThis _does_ actually delete elements (trying to access afterwards will return `undefined`)\n\nYou can clear an array by setting `length` to `0`. This clears the array for all variables accessing the object. But this operation can be slow and it is easier to create a new, empty array."},{"_id":"667a3de45a9b62091c000112","treeId":"6233ffe7781cf6071600010d","seq":6745824,"position":5,"parentId":"667a29425a9b62091c00010d","content":"### Holes in Arrays\n\nCreating Holes\nSparse Arrays Versus Dense Arrays\nWhich Operations Ignore Holes, and Which Consider Them?\nRemoving Holes from Arrays"},{"_id":"668710655a9b62091c000127","treeId":"6233ffe7781cf6071600010d","seq":6746028,"position":1,"parentId":"667a3de45a9b62091c000112","content":"#### Creating Holes / Sparse Arrays\n\nYou can create holes by omitting values in literals and assigning to nonconsecutive indices.\n\nTrying to access a hole returns `undefined`. Unlike an actual `undefined` at that index, it's not detected by the `in` operator. Array iteration methods also ignore them."},{"_id":"66871a195a9b62091c000128","treeId":"6233ffe7781cf6071600010d","seq":6746036,"position":2,"parentId":"667a3de45a9b62091c000112","content":"#### Which Operations Ignore Holes, and Which Consider Them?\n\nArray iteration methods\n\n|Method|Behavior|\n|:-----||\n|`forEach()`|ignores|\n|`every()` |ignores|\n|`map()` |skips but preserves|\n|`filter()` |eliminates|\n\n|Method|Behavior|\n|:-----||\n|`join()`|converts holes, `undefined`, `null` to `''`|\n|`sort()`|preserves while sorting|\n\nFunction.prototype.apply()\n\nWhen `apply()` accepts an otherwise empty array with holes, it turns them to `undefined`.\n\nYou can create an array with undefined as values with `Array.apply`. But `apply` wont' necessarily replace holes with `undefined` in nonempty arrays.\n\n\n"},{"_id":"66872bdd5a9b62091c000129","treeId":"6233ffe7781cf6071600010d","seq":6746039,"position":3,"parentId":"667a3de45a9b62091c000112","content":"#### Removing Holes from Arrays\n\n`filter( )` removes holes.\n\nTo replace holes with `undefined`, use a loop that assigns each array element to itself."},{"_id":"667a3e4a5a9b62091c000113","treeId":"6233ffe7781cf6071600010d","seq":6745887,"position":6,"parentId":"667a29425a9b62091c00010d","content":"### Array Constructor Method\n\nUse `Array.isArray(obj)` instead of `instanceof` to detect Arrays."},{"_id":"667a40695a9b62091c000115","treeId":"6233ffe7781cf6071600010d","seq":6746052,"position":8,"parentId":"667a29425a9b62091c00010d","content":"### Adding and Removing Elements (Destructive)\n\n`Array.prototype.shift()`\n`Array.prototype.unshift(elem1?, elem2?, ...)`\n`Array.prototype.pop()`\n\n`Array.prototype.push(elem1?, elem2?, ...)`\n`Array.prototype.push.apply(thisValue, argArray)`\n\n`Array.prototype.splice(start, deleteCount?, elem1?, elem2?, ...)`\n\n``"},{"_id":"667a40795a9b62091c000116","treeId":"6233ffe7781cf6071600010d","seq":6746063,"position":9,"parentId":"667a29425a9b62091c00010d","content":"### Sorting and Reversing Elements (Destructive)\n\n`Array.prototype.reverse()`\n`Array.prototype.sort(compareFunction?)`\n\nComparison functions should return the following:\n\n|Result |Return Value|\n|:------------|-----------:|\n|less than |`-1`|\n|equal |`0`|\n|greater than |`1`|\n\n**Comparing Numbers**\n\nUse conditional statements. Subtracting can cause overflow.\n\n**Comparing Strings**\n\nUse `String.prototype.localeCompare`"},{"_id":"668748435a9b62091c00012a","treeId":"6233ffe7781cf6071600010d","seq":6746060,"position":1,"parentId":"667a40795a9b62091c000116","content":"#### Comparing Numbers\n\n"},{"_id":"667a40855a9b62091c000117","treeId":"6233ffe7781cf6071600010d","seq":6746065,"position":10,"parentId":"667a29425a9b62091c00010d","content":"### Concatenating, Slicing, Joining (Nondestructive)\n\n`Array.prototype.concat(arr1?, arr2?, ...)`\n\n`Array.prototype.slice(begin?, end?)`\nWill copy the array if no indices are provided.\n\n`Array.prototype.join(separator?)`\nUses `,` as a default separator."},{"_id":"667a40925a9b62091c000118","treeId":"6233ffe7781cf6071600010d","seq":6746066,"position":11,"parentId":"667a29425a9b62091c00010d","content":"### Searching for Values (Nondestructive)\n\n`Array.prototype.indexOf(searchValue, startIndex?)`\nReturns index of first match, or `-1` if not found. Uses strict equality.\n\n`Array.prototype.lastIndexOf(searchElement, startIndex?)`\nSearches from `startIndex` to the beginning of the array."},{"_id":"667a40a25a9b62091c000119","treeId":"6233ffe7781cf6071600010d","seq":6746415,"position":12,"parentId":"667a29425a9b62091c00010d","content":"### Iteration (Nondestructive)\n\nExamination - `forEach( )` `every( )`, `some( )`\n\nTransformation - `map( )` `filter( )`\n\nReduction - `reduce( )` `reduceRight( )`"},{"_id":"668767815a9b62091c00012b","treeId":"6233ffe7781cf6071600010d","seq":6746387,"position":1,"parentId":"667a40a25a9b62091c000119","content":"Examination Methods\n\n`Array.prototype.forEach(callback, thisValue?)` - iterates over all elements. Doesn't support break--use `some( )` instead\n\n`Array.prototype.every(callback, thisValue?)` - `true` if true for every element; stops as soon as it gets `false`\n\n`Array.prototype.some(callback, thisValue?)` - returns `true` if the callback returns `true` for at least one element. Stops iteration once it gets a `true`"},{"_id":"668767a65a9b62091c00012c","treeId":"6233ffe7781cf6071600010d","seq":6746412,"position":2,"parentId":"667a40a25a9b62091c000119","content":"Transformation Methods\n\n```\nfunction callback(element, index, array)\n```\n\n`Array.prototype.map(callback, thisValue?)` - return an array with callback applied to each element\n\n`Array.prototype.filter(callback, thisValue?)` - return a new array containing only elements for which callback returned true"},{"_id":"668767e95a9b62091c00012d","treeId":"6233ffe7781cf6071600010d","seq":6746410,"position":3,"parentId":"667a40a25a9b62091c000119","content":"Reduction Methods\n\n```\nfunction callback(previousValue,\n currentElement, currentIndex, array)\n```\n\n`Array.prototype.reduce(callback, initialValue?)`\n`Array.prototype.reduceRight(callback, initialValue?)`\n\nIf initial value is not provided, `previousValue` is the first element and `currentElement` is the second element."},{"_id":"667a40ad5a9b62091c00011a","treeId":"6233ffe7781cf6071600010d","seq":6745836,"position":13,"parentId":"667a29425a9b62091c00010d","content":"### Best Practices: Iterating over Arrays\n\n1. Use a `for` loop\n2. Use array iteration methods (`forEach()`, `some()`, `every()`, `map()`, `filter()`, `reduce()`, `reduceRight()`)\n\nDon't use `for-in`, since that will iterate over all properties, not elements."},{"_id":"625bef5571800f9971000034","treeId":"6233ffe7781cf6071600010d","seq":10407075,"position":1,"parentId":"625beef671800f9971000033","content":"# Professional: JavaScript for Web Developers\n**Nicholas C. Zakas**"},{"_id":"625bf05e71800f9971000035","treeId":"6233ffe7781cf6071600010d","seq":6754584,"position":1,"parentId":"625bef5571800f9971000034","content":"### 2. JavaScript in HTML - Review Questions\n\n- What are the six attributes for the script element?\n - Which ones are optional, required, or depreciated?\n - Which ones are valid for inline scripts?\n - What does each one do?\n- What is an inline script?\n - What are restricted character strings in an inline script? What's the workaround?\n - How does an inline script affect display/interpretation of the rest of the page content in a browser?\n- What is an external script?\n - What attributes are required for an external script?\n - What is the syntax for an external script?\n - JavaScript files need a `.js` extension?\n- In what order are script elements executed by default?\n - How do `defer` and `async` affect script execution?\n- What was the rationale for putting script elements in the `<head>` part of the document, and what are the drawbacks?\n- Where do modern webapps commonly put script elements, and why?\n- According to the HTML specification, when (in what order & before and after what DOM elements) are deferred scripts executed?\n- How do you specify a `defer` attribute in an XHTML tag?\n- What steps should you take when you embed inline scripts in XHTML documents?\n- When is XHTML mode triggered in a browser?\n- What are the three main arguments for primarily using external files?\n- What document modes exist for most browsers?\n- When is Quirks Mode triggered?\n- What is the difference between Standards Mode and Almost Standards Mode?\n- When is content contained in a `<noscript>` element displayed?"},{"_id":"6361e7fcdc812ae6a900020a","treeId":"6233ffe7781cf6071600010d","seq":6754576,"position":0.5,"parentId":"625bf05e71800f9971000035","content":"### Data Types\n|Data Type |`typeof( )` |Description|\n|:---------|:------------|:----------|\n|Undefined |`'undefined'`|`undefined`; _uninitialized/undeclared variables_|\n|Null |`'object'` |`null`|\n|Boolean |`'boolean'` |`true` `false`|\n|Number |`'number'` |_integers, floating point, +/-`Infinity`, `NaN`_|\n|String |`'string'` |_characters, character literals, empty strings_|\n|Object |`'object'` |JavaScript objects|"},{"_id":"63621df6dc812ae6a900020e","treeId":"6233ffe7781cf6071600010d","seq":6142006,"position":1,"parentId":"6361e7fcdc812ae6a900020a","content":"### Undefined type\n\n- Superficially equal to `null`"},{"_id":"63621f14dc812ae6a900020f","treeId":"6233ffe7781cf6071600010d","seq":6142007,"position":2,"parentId":"6361e7fcdc812ae6a900020a","content":"### Null type\n- Superficially equal to `undefined`"},{"_id":"6362203ddc812ae6a9000210","treeId":"6233ffe7781cf6071600010d","seq":6142023,"position":3,"parentId":"6361e7fcdc812ae6a900020a","content":"### Number\n\nIntegers (dec, octal, hex)\n```\n55\n070\n0xA\n```\n\nFloating Point (IEEE 754)\n```\n301.001\n2.91E23\n```\n\nRange: `Number.MIN_VALUE` `Number.MAX_VALUE`\n\n\n`Infinity` `-Infinity` - can't be used in further calculations. Check with `isFinite( )`.\n\n`NaN` - detect with `isNaN( )`\n\nCast to number type with `Number( )`"},{"_id":"636225ffdc812ae6a9000211","treeId":"6233ffe7781cf6071600010d","seq":6142020,"position":1,"parentId":"6362203ddc812ae6a9000210","content":"#### `isNaN( x )`\n\n- `false` if value can be converted into a number\n- `true` if it cannot\n\nWhen applied to objects, calls `valueOf( )` method."},{"_id":"63622c18dc812ae6a9000212","treeId":"6233ffe7781cf6071600010d","seq":6746029,"position":2,"parentId":"6362203ddc812ae6a9000210","content":"#### `Number( x )`\n\n|Input |Output |\n|----------:|:--------------------|\n|Boolean |`true`->1; `false`->0|\n|Number |(passes through) |\n|`null` |`0` |\n|`undefined`|`NaN` |\n\n\n**Strings**\n\n|String |Output |\n|:----------|:--------------------|\n|numeric strings, no decimal|decimal integer|\n|floating point format|floating point|\n|hex format|hex|\n|empty|`0`|\n|anything else|`NaN`|"},{"_id":"63623aa2dc812ae6a9000213","treeId":"6233ffe7781cf6071600010d","seq":6142063,"position":3,"parentId":"6362203ddc812ae6a9000210","content":"#### `parseInt( x, radix )`\n\nReturns the first contiguous numeral string's numerical value, ignoring the rest of the string."},{"_id":"63623d13dc812ae6a9000214","treeId":"6233ffe7781cf6071600010d","seq":6142064,"position":4,"parentId":"6362203ddc812ae6a9000210","content":"#### `parseFloat( x )`\n\nWill return the value of the the first valid contiguous numerical string in floating point format."},{"_id":"63623f9bdc812ae6a9000215","treeId":"6233ffe7781cf6071600010d","seq":6142076,"position":4,"parentId":"6361e7fcdc812ae6a900020a","content":"### String\n\n_Characters, character strings, character literals._\n\n- Can be enclosed in single `''` or double `\"\"` quotes.\n- Character literals (`\\n\\t\\\\`, unicode, etc) are counted as single characters, not by the number of characters in their ascii escape sequence.\n- Are immutable.\n- Other types can be type cast using `toString( )`"},{"_id":"63624679dc812ae6a9000217","treeId":"6233ffe7781cf6071600010d","seq":6142122,"position":5,"parentId":"6361e7fcdc812ae6a900020a","content":"#### Object\n_JavaScript objects\n\nAll objects have the following methods:\n\n- `hasOwnProperty( prop )`\n- `isPrototypeOf( obj )`\n- `propertyISEnumerable( prop )`\n- `toLocaleString()` - return string representation of object that is appropriate for locale\n- `toString()` - string representation of object\n- `valueOf()` - string, number, or Boolean representation of object"},{"_id":"625bf1cb71800f9971000037","treeId":"6233ffe7781cf6071600010d","seq":5925485,"position":1,"parentId":"625bf05e71800f9971000035","content":""},{"_id":"625c012f71800f9971000038","treeId":"6233ffe7781cf6071600010d","seq":5925585,"position":2,"parentId":"625bef5571800f9971000034","content":"### 3. Language Basics Review Questions\n\n#### Syntax\n\n- JavaScript is specified (syntax, operators, data types, built-ins) in what standard? What is the name of the pseudolanguage description used in the standard?\n- What is the latest standard for JavaScript?\n- What versions of the JavaScript standard do the following engines support? Which one(s) support the most advanced features?\n - Chakra\n - JavaScriptCore (Nitro)\n - JScript 9.0\n - KJS\n - Spider Monkey \n - V8\n- True or false: an identifier in JavaScript that is an uppercase or lowercase version of a reserved word cannot be used.\n- What are valid first characters of an identifier?\n- What are valid subsequent characters for an identifier?\n- What kinds of comments does JavaScript support?"},{"_id":"6361e355dc812ae6a9000209","treeId":"6233ffe7781cf6071600010d","seq":6142390,"position":3,"parentId":"625bef5571800f9971000034","content":"## 3. Language Basics\n\n- Syntax\n- Keywords and Reserved Words\n- Variables\n- Data Types\n- Operators\n- Statements\n- Functions"},{"_id":"6361e855dc812ae6a900020b","treeId":"6233ffe7781cf6071600010d","seq":6142147,"position":2,"parentId":"6361e355dc812ae6a9000209","content":"### Operators\n\n- Unary `+` `-`\n- Increment/Decrement `++` `--`\n- Bitwise `~` `&` `|` `^`\n- Bitwise Shift `<<` `>>` `>>>`\n- Logical (Boolean) `!` `&&` `||`\n- Multiplicative `*` `/` `%`\n- Additive `+` `-`\n- Relational `<` `>` `<=` `>=`\n- Equality `==` `!=` `===` `!===`\n- Assignment `=` `*=` `/=` `+=` `-=` `%=` `<<=` `>>=` `>>>=`\n- Comma `,`"},{"_id":"63708332dc812ae6a9000221","treeId":"6233ffe7781cf6071600010d","seq":6149589,"position":0.5,"parentId":"6361e855dc812ae6a900020b","content":"#### Unary `+` `-`\n\n- `+` does nothing to a number type variable, casts the variable using `Number()`\n- `-` negates a number type variable, and returns the negation of a non-numeric value after its converstion with `Number()`"},{"_id":"63708d0fdc812ae6a9000222","treeId":"6233ffe7781cf6071600010d","seq":6149735,"position":0.75,"parentId":"6361e855dc812ae6a900020b","content":"#### Logical `!` `&&` `||`\n\n|Operand |`!` |\n|:-----------|:-------:|\n|`true` |`false` |\n|`false` |`true` |\n|object |`false` |\n|empty string|`true` |\n|nonempty string|`false`|\n|`0` |`true`|\n|nonzero number|`false`|\n|`null` |`true`|\n|`NaN` |`true`|\n|`undefined |`true`|\n\n`&&` will always short circuit to `false` if the first operand is `false`.\n\n`||` will always short circuit to `true` if the first argument is `true`\n\n|Operand1|Operand2|`&&` |OR |\n|:-------|:-------|:-------:|:--------:|\n|`true` |`true` |`true` |`true` |\n|`true` |`false` |`false` |`true` |\n|`false` | * |short circuit `false`|Operand2|\n|`true` |`false` |`false` |short circuit `true`|\n|Object | * |Operand2 |Operand1|\n| `true` |Object |Operand2 |short circuit `true`|\n|Object |Object |Operand2 |Operand1|\n|`null` | * | `null` |`null` if Operand2===`null`|\n|`NaN` | * | `NaN` |`NaN` if Operand2===`NaN`|\n|`undefined`| * | `undefined`|`undefined` if Operand2===`undefined`|\n|undeclared| * |_error_ |_error_|\n|`true` |undeclared|_error_|short circuit `true`|\n|`false` |undeclared|short circuit `false` |_error_|\n\n"},{"_id":"63625c68dc812ae6a9000218","treeId":"6233ffe7781cf6071600010d","seq":6142155,"position":1,"parentId":"6361e855dc812ae6a900020b","content":"#### Comma\n\nAllows execution of more than one operation in a single statement.\n\nUsually used for variable declaration.\n```\nvar a1=1,\n a2=2,\n a3=3;\n```\n\nWhen used to assign values, returns the last item in the expression.\n```\nvar num = (5, 1, 4, 8, 0); // num = 0\n```"},{"_id":"6361e8a2dc812ae6a900020c","treeId":"6233ffe7781cf6071600010d","seq":6142169,"position":3,"parentId":"6361e355dc812ae6a9000209","content":"### Statements\n\n- if\n- do-while\n- while\n- for\n- for-in\n- break\n- continue\n- with\n- switch"},{"_id":"63626540dc812ae6a900021a","treeId":"6233ffe7781cf6071600010d","seq":6142200,"position":0.5,"parentId":"6361e8a2dc812ae6a900020c","content":"#### Labeled statements\n```\nbutts: for (var i=0; i < count; i++) {\n console.log(i*i);\n}\n```"},{"_id":"6362642fdc812ae6a9000219","treeId":"6233ffe7781cf6071600010d","seq":6142264,"position":1,"parentId":"6361e8a2dc812ae6a900020c","content":"#### break and continue\n\n`break` exits a loop immediately, and the next statement after the loop is executed.\n\n`continue` exits a loop iteration, but execution resumes the beginning of the loop.\n\nYou can specify a labeled statement as the target of `break` or `continue`. This is powerful but can cause debugging problems."},{"_id":"636293d6dc812ae6a900021b","treeId":"6233ffe7781cf6071600010d","seq":6142282,"position":2,"parentId":"6361e8a2dc812ae6a900020c","content":"#### with\n\nNot allowed in strict mode. Don't use in production code.\n\n```\nvar qs = location.search.substring(1);\nvar hostName = location.hostname;\nvar url = location.href;\n```\nis equivalent to:\n```\nwith(location){\n var qs = search.substring(1);\n var hostName = hostname;\n var url = href;\n}\n```"},{"_id":"63629971dc812ae6a900021c","treeId":"6233ffe7781cf6071600010d","seq":6142293,"position":3,"parentId":"6361e8a2dc812ae6a900020c","content":"#### switch\n\nMatches similar to `==`. Works with all data types, including strings and objects. Case values do not need to be constants."},{"_id":"6361e8cfdc812ae6a900020d","treeId":"6233ffe7781cf6071600010d","seq":6142371,"position":4,"parentId":"6361e355dc812ae6a9000209","content":"### Functions\n\n- Can be assigned to variables\n- Always return values. Default value is `undefined`\n- No function signatures\n- No overloading (last declared function overrides previous ones)\n\n#### Strict Mode\n\n- Functions and parameters cannot be named **eval** or **arguments**\n- No named parameters with the same name\n\n#### Arguments\n\n- Acts similar to **argv**\n- Interpreter won't complain if function called with a different number of arguments than the declaration\n- Named parameter not passes in function call is assigned `undefined`\n- `arguments` object: acts like an array, but is not instance of Array\n\n```\nvar beets = function(){\n if (arguments) {\n if (arguments.length >= 3) {\n for (x in arguments) {\n console.log(x);\n }\n } else if (arguments.length === 2) {\n console.log('1. ' + arguments[0]);\n console.log('2. ' + arguments[1]);\n } else {\n console.log('only argument: ' + arguments[0]);\n }\n }\n}\n```\n\nArguments stay in sync with named parameters:\n- Change to named parameter will change corresponding argument\n- Not the other way around"},{"_id":"6362bf1cdc812ae6a900021d","treeId":"6233ffe7781cf6071600010d","seq":6142380,"position":4,"parentId":"625bef5571800f9971000034","content":"## 4. Variables, Scope, and Memory\n\n- Primitive and Reference Values\n- Execution Context and Scope\n- Garbage Collection"},{"_id":"6362c3b8dc812ae6a900021e","treeId":"6233ffe7781cf6071600010d","seq":6160807,"position":1,"parentId":"6362bf1cdc812ae6a900021d","content":"### Primitive and Reference Values\n\nPrimitive values are accessed ***by value***.\n\nObjects are accessed ***by reference***.\n\n#### Dynamic Properties\nYou can add properties to reference values at any time.\nTrying to add properties to primitive values won't work, but also won't cause an error.\n\n#### Copying Values\nAssigning a primitive value creates a new copy.\nAssigning a reference value passes the reference to the same object instance.\n\n#### Argument Passing\nAlways passed by value--value is copied into a local variable. Passing by reference is not possible in JS. This functionality is replaced by closures.\n\n#### Determining Type\n`typeof( )` returns the type of primitive values.\n***variable*** `instanceof` ***Constructor*** returns `true` if X is an instance of reference type with constructor _Constructor_."},{"_id":"6370e22ddc812ae6a9000223","treeId":"6233ffe7781cf6071600010d","seq":6149882,"position":1,"parentId":"6362c3b8dc812ae6a900021e","content":"#### Dynamic Properties"},{"_id":"6370e284dc812ae6a9000224","treeId":"6233ffe7781cf6071600010d","seq":6149883,"position":2,"parentId":"6362c3b8dc812ae6a900021e","content":"#### Copying Values"},{"_id":"6362c466dc812ae6a900021f","treeId":"6233ffe7781cf6071600010d","seq":6161452,"position":2,"parentId":"6362bf1cdc812ae6a900021d","content":"### Execution Context and Scope\n\n**Execution Context** - defines access and behavior for a variable or function--what other data it can access. This is not accessible directly by code.\n\nAn inner context can access variables in an outer context, but not the other way around.\n\nIn web browsers, the **global execution context** is the `window` object. Each function has its own local execution context.\n\nThe other primary type of context is the **function execution context**.\n\n**Scope Chain** provides access to all variables and functions in the execution context.\n\nThe **Variable Object** is the front of the Scope Chain.\n\nIn **Functions** the **Activation Object** is used as the variable object.\n\nEach context can search up the scope chain, but not down.\n\n- **Scope Chain Augmentation** - temporary addition to front of the scope chain, caused by `catch` and `with`\n- **No Block-Level Scopes**"},{"_id":"637cb39bdc812ae6a9000225","treeId":"6233ffe7781cf6071600010d","seq":6161371,"position":1,"parentId":"6362c466dc812ae6a900021f","content":"#### Activation Object of a Function\n\nStarts with `arguments`.\n\nNext variable object is from the containing context.\n\nEach subsequent variable object in the chain is that of the next immediately enclosing scope.\n\nThe last variable object in the chain belongs to the global scope."},{"_id":"637ce042dc812ae6a9000227","treeId":"6233ffe7781cf6071600010d","seq":6161521,"position":3,"parentId":"6362c466dc812ae6a900021f","content":"#### Scope Chain Augmentation\n\nA `catch` block in a ***try-catch** statement and a `with` statement both add a variable object to the front of a scope chain.\n\n***with***\n```\nwith (aThing) {\n /* ... */\n}\n```\n`aThing` is added to the scope chain.\n\n***try-catch***\n```\ntry {\n} catch (e) {\n /* ... */\n}\n```\n\nThe `catch` statement will create a new variable object containing `e`, the error object that was thrown."},{"_id":"637cf3e6dc812ae6a9000228","treeId":"6233ffe7781cf6071600010d","seq":6161581,"position":4,"parentId":"6362c466dc812ae6a900021f","content":"#### No-Block Level Scoping\n\nVariables declared in blocks, such as in `if` statements and in the initialization part of `for` statements are available in the rest of the enclosing function scope."},{"_id":"637cf849dc812ae6a9000229","treeId":"6233ffe7781cf6071600010d","seq":6161596,"position":5,"parentId":"6362c466dc812ae6a900021f","content":"#### Variable Declaration\n\nDeclaring a variable with `var` will add it to the immediate context.\n\n`!` - A variable that gets initialized without being declared gets added to the **global context**: it will continue to exist until execution exits the global scope.\n\nAlways declare variables before initializing this to avoid problems."},{"_id":"637cd03bdc812ae6a9000226","treeId":"6233ffe7781cf6071600010d","seq":6161618,"position":6,"parentId":"6362c466dc812ae6a900021f","content":"#### Resolving Identifiers\n\nIdentifiers get resolved by navigating the scope chain from beginning to end.\n\nA variable is accessible as long as it can be found in the scope chain.\n\nThe search may also search each object's prototype chain.\n\nThe first match in the identifier search gets returned.\n```\nvar name = \"Khyr ad-Din\";\nfunction getName() {\n var name = \"Edmund Harvey\";\n return name;\n}\nconsole.log(getName()); // \"Edmund Harvey\"\n```\nIn this case the **name** variable in the parent context of **getName** can't be accessed."},{"_id":"6362c4f4dc812ae6a9000220","treeId":"6233ffe7781cf6071600010d","seq":6161909,"position":3,"parentId":"6362bf1cdc812ae6a900021d","content":"### Garbage Collection\n\n- **Mark-and-Sweep** - variables flagged in context when entering, flagged as out of context when leaving\n- **Reference Counting** - count references to an object/variable and deallocate when zero. Vulnerable to cyclic references. IE8 and earlier had non-native JS objects (DOM/BOM/COM) that used reference counting.\n- **Performance** - \n- **Managing Memory** - dereferencing global values by setting to `null` helps minimize memory usage"},{"_id":"637d3f52dc812ae6a900022a","treeId":"6233ffe7781cf6071600010d","seq":6161863,"position":1,"parentId":"6362c4f4dc812ae6a9000220","content":"#### Reference Counting\n\nCyclic References Example\n```\nfunction thing() {\n var objA = new Object();\n var objB = new Object();\n\n objA.friend = objB;\n objB.friend = objA;\n}\n```\n\nEven once browsers switched to mark-and-sweep GC, non-native JavaScript objects (COM, DOM, BOM) in IE8 and earlier were still vulnerable to cyclic references because they were still implemented with reference counting.\n\n`!` - Make sure to break the connection between native JS and DOM elements by setting cross-references to `null`."},{"_id":"637d503cdc812ae6a900022b","treeId":"6233ffe7781cf6071600010d","seq":6161897,"position":2,"parentId":"6362c4f4dc812ae6a9000220","content":"#### Performance Issues\n\nIE6 and earlier ran GC when threshold of 256 variable allocations, 4096 object/array literals/array slots, or 64kb of strings was reached.\n\nScripts with a lot of variables/strings kept the GC running really frequency, leading to performance issues.\n\nIE7 instead had dynamic thresholds based on how many allocations were reclaimed per sweep."},{"_id":"6411b906a052abb4760000b5","treeId":"6233ffe7781cf6071600010d","seq":10407079,"position":5,"parentId":"625bef5571800f9971000034","content":"## 5. Reference Types\n\nObjects are instances of a particular ***reference type***. Reference types are also sometimes called _object definitions_.\n\nReference types are not classes. JavaScript does not have classes. A new object instance is created with the `new` operator.\n\n<pre><code class=\" language-javascript\">var butt = new Thing();\n</code></pre>\n\nECMAScript provides a bunch of built-in reference classes.\n\n- The Object Type\n- The Array Type\n- The Date Type\n- The Regexp Type\n- The Function Type\n- Primitive Wrapper Types\n- Singleton Built-In Objects"},{"_id":"6411d437a052abb4760000bb","treeId":"6233ffe7781cf6071600010d","seq":6268824,"position":0.0625,"parentId":"6411b906a052abb4760000b5","content":"### The Object Type\n\nTwo ways to create an Object instance explicitly\n\nObject literal notation, and when it is used\n\nExpression context, statement context, how context affects interpretation of `{`\n\nProperty names in object literal notation\n\nCreating an empty object\n\nWay to access object properties\n\nWhen bracket notation is favored\n"},{"_id":"6411d133a052abb4760000ba","treeId":"6233ffe7781cf6071600010d","seq":6303610,"position":0.125,"parentId":"6411b906a052abb4760000b5","content":"### The Array Type\n\nArrays can hold any data type at any index. (They are more similar to lists in Python than Arrays in Java.)\n\nThere are two main ways to create arrays: the **Array constructor** and an **Array literal**.\n\nArray elements are accessed via index and square bracket.\n\n```\nben[1] = \"helicopter\";\n```\n\nThe number of elements in an array is given by the `length` property.\n\nThe length property is mutable: decreasing `length` truncates elements from the end of the Array. Increasing `length` appends elements with the value of `undefined` to the end of the array.\n\n```\ncolors[colors.length] = \"butt brown\"; // appends value to end of array\n```\n\n- Detecting Arrays\n- Conversion Methods\n- Stack/Queue Methods\n- Reordering Methods\n- Manipulation Methods\n- Location Methods\n- Iterative Methods\n- Reduction Methods"},{"_id":"641219cda052abb4760000bd","treeId":"6233ffe7781cf6071600010d","seq":6278328,"position":1,"parentId":"6411d133a052abb4760000ba","content":"### Creating Arrays, best practices\n\nThere are two main ways to create an array:\n\n#### 1. Array constructor\n\n#### 2. Array literal\n```\nvar anEmptyArray = []; // creates an empty array\nvar numbersAgain = [1,2,]; // don't do this\nvar numbersOrWhat = [,,,,,] // don't do this either\n```\n\nCreating empty arrays with commas, or leaving the last element blank causes inconsistent behavior. In IE8 and earlier, the last, hanging comma will create an additional index with the value `undefined` (this is a bug). Other browsers will not create an additional index giving a hanging comma.\n\nArray literal notation doesn't call the `Array()` constructor except in Firefox 2.x and earlier."},{"_id":"64121b92a052abb4760000be","treeId":"6233ffe7781cf6071600010d","seq":6278331,"position":2,"parentId":"6411d133a052abb4760000ba","content":"#### Detecting Arrays\n\n`x instanceof Array` will not correctly identify `x` as an Array if it was passed from a different frame or page, and `x`'s array type has a different constructor.\n\nInstead, ECMAScript 5 provides `Array.isArray( anObject )` to detect arrays.\n\n"},{"_id":"641255baa052abb4760000bf","treeId":"6233ffe7781cf6071600010d","seq":6278374,"position":3,"parentId":"6411d133a052abb4760000ba","content":"#### Conversion Methods\n\n`.toString()` `.valueOf()`\n\nReturns a comma delimited list of each element's `.toString()` values.\n\n`.toLocaleString()`\n\nReturns a comma delimited list of each element's `.toLocaleString()` values.\n\n`.join(sep)`\n\nReturns a list separated by the string specified by `sep`.\n\nIf `sep` is not provided or undefined, it uses a comma. IE 7 and before has a bug that uses `undefined` as the delimiter."},{"_id":"641270b3a052abb4760000c6","treeId":"6233ffe7781cf6071600010d","seq":6278378,"position":3.5,"parentId":"6411d133a052abb4760000ba","content":"#### Stack Methods\n\n`push(itemTachi, ...)`\n\nAppends any number of elements to the _end_ of an array.\n\n`pop()`\n\nReturns the last element of the array and decrements the `length` property."},{"_id":"6412560ea052abb4760000c0","treeId":"6233ffe7781cf6071600010d","seq":6268988,"position":4,"parentId":"6411d133a052abb4760000ba","content":"#### Queue Methods\n\n`shift()`\n\nReturns the first element of the array removes it from the array (_shifting_ all the indicies downward).\n\n`unshift(elemTachi, ...)`\n\nPrepends any number of elements to an array."},{"_id":"64125676a052abb4760000c1","treeId":"6233ffe7781cf6071600010d","seq":6278394,"position":5,"parentId":"6411d133a052abb4760000ba","content":"#### Reordering Methods\n\n`.reverse()` - reverses the elements in the array.\n\n`.sort( comparator )`\n\nSorts the elements of the array based on a comparison function. For each pair of elements in an array, the comparison function should basically do this:\n\n```\nfunction comparator(v1, v2) {\n if ( /* v1 < v2 */) {\n return -1;\n } else if (/* v1 > v2 */) {\n return 1;\n } else {\n return 0;\n }\n}\n```\n\nIf no comparison function is provided, `sort()` **will return the elements in sorted in ascending order of their `String()` values by default**."},{"_id":"641256bda052abb4760000c2","treeId":"6233ffe7781cf6071600010d","seq":6278446,"position":6,"parentId":"6411d133a052abb4760000ba","content":"#### Manipulation Methods\n\n`.concat( elementsOrArraysTachi, ... )`\n\nReturns a new array with specified elements appended to the end of the original array. Will append the _elements_ of any arrays passed into it. If no elements or arrays are passed in, it will clone the original array.\n\n`.slice( startIndex, stopIndex )`\n\nReturns a new array containing elements between `startIndex` and up to but not including `stopIndex`. `stopIndex` is optional and if it is not specified, `slice( )` will just return elements from startIndex up to the end of the array.\n\n`.splice(startIndex, replaceCount, elem[,...] )`\n\nSplice can delete, insert, or replace items in the middle (or at any point) of an array.\n\nDeletion - specify two arguments: `startIndex` is the first item to delete, and `replaceCount` is the number elements to delete.\n\nInsertion - specify three or more arguments: `startIndex` is the insertion point, have replaceCount=0, and then specify any number of elements to insert.\n\nReplacement - specify three or more arguments: `startIndex` is the replacement point, `replaceCount` is the number of elements to delete, and elem[...] are the items to insert."},{"_id":"64125748a052abb4760000c3","treeId":"6233ffe7781cf6071600010d","seq":6278450,"position":7,"parentId":"6411d133a052abb4760000ba","content":"#### Location Methods\n\nEach of these uses the `===` operator to find a match:\n\n`.indexOf()`\n\n`.lastIndexOf()`\n"},{"_id":"6412579ca052abb4760000c4","treeId":"6233ffe7781cf6071600010d","seq":6303620,"position":8,"parentId":"6411d133a052abb4760000ba","content":"#### Iterative Methods\n\nLet `f( )` be a function that takes the following arguments (all optional):\n\n```\nfunction f(elem, i, array)\n```\n\nEach of the following methods run `f( )` for each element in the array. The current element is passed as `elem`, the index as `i`, and the array itself as `array`.\n\n|Method|return value|\n|------|------------|\n|`.every(f)`| `true` if `f( )` returns true for every element in the array, `false` otherwise|\n|`.filter(f)`| array of all items for which `f( )` returns `true`|\n|`.forEach(f)`| no return value|\n|`.map(f)`|result of each call to `f( )`, as an array|\n|`.some(f)`|`true` if `f( )` returns true for any item|"},{"_id":"641257e0a052abb4760000c5","treeId":"6233ffe7781cf6071600010d","seq":6278530,"position":9,"parentId":"6411d133a052abb4760000ba","content":"#### Reduction Methods\n\n`.reduce(f, iv)` `.reduceRight(f, iv)`\n\nIterates through all elements of an array, either from the first element (`reduce`) or from the last element `reduceRight`.\n\n```\nfunction f(prev, cur, index, theArray) {\n /* ... */\n return val;\n}\n```\n`iv` (optional) is passed in as prev on the first iteration (when cur is set to element 0).\n\nThe return value of the function (`val` in f) is passed in as `prev` on the next iteration.\n\ne.g. sequences, series, iterative algorithms"},{"_id":"6411cfada052abb4760000b9","treeId":"6233ffe7781cf6071600010d","seq":6286130,"position":0.25,"parentId":"6411b906a052abb4760000b5","content":"### The Date Type\n\nECMAScript `Date` represents dates as the number of milliseconds since midnight 1970-01-01 UTC.\n\nCreate a new Date object with the `new` operator and the `Date()` constructor.\n\nWithout arguments, the object is set to the current date and time.\n```\nvar now = new Date();\n```\n\n**Reference type methods**\n\n`Date.parse( dateString )`\n\nParses strings containing a date, returning the **UTC date** in milliseconds. The `Date( )` constructor calls `parse( )` if passed a string. Supports several formats as defined by ECMA-262 Fifth Ed.:\n\n- `mm/dd/yyyy`\n- `Month_name dd, yyyy`\n- `Day_of_week Month_name dd yyyy hh:mm:ss Time_zone`\n- `yyyy-mm-ddThh:mm:ss.sssZ` (ECMAScript 5 compliant implementations only)\n\nReturns `NaN` if the string can't be parsed as a date (this happens when the date string doesn't exactly match one of the supported patterns.)\n\n`Date.UTC( y, m[, d, h, m, s, ms] )`\n\nReturns the **local timezone's** date in milliseconds for a specified UTC year, month, day, hour, minute, seconds, and milliseconds.\n\n[ ] Inherited Methods\n[ ] Date-Formatting Methods\n[ ] Date/Time Component Methods"},{"_id":"6411cd3ea052abb4760000b8","treeId":"6233ffe7781cf6071600010d","seq":6286179,"position":0.5,"parentId":"6411b906a052abb4760000b5","content":"### The Regexp Type\n\nRegular Expression literal:\n\n```\nvar exp = /{pattern}/{flags}\n```\n\nSupported flags:\n\n- `g` : global\n- `i` : case insensitive\n- `m` : multiline\n\n**RegEx Metacharacters**\n```\n( [ { \\ ^ $ | ) ] } ? * + .\n```\n\nMetacharacters need to be escaped with `\\` if they are part of the pattern.\n\n**RegEx Constructor**\n```\nvar expression = /\\$\\( +\\)\\./gm;\nvar equivExpression = new RegEx(\"\\\\$\\\\( +\\\\)\\\\.\",\"gm\");\n```\n\nNote how metacharacters need to be double-escaped in the string.\n\n**Differences between literal and constructor creation patterns**\n\nIn ECMAScript versions before 5, regular expression created as a literal will always reference the same RegExp instance (the instance properties remain in the same state.)\n\nA regular expression created with a constructor will always create a new RegEx instance.\n\nIn ECMAScript 5, the literal pattern creates a new instance, like the RegEx constructor.\n\n[ ] RegExp Instance Properties `global` `ignoreCase` `lastIndex` `multiline` `source` `$1 ... $9`\n[ ] RegExp Instance Methods `exec( )` `test( )` `toLocaleString()` `toString()`\n[ ] RegExp Constructor Properties\n\n```\ninput $_\nlastMatch $&\nlastParen $+\nleftContext $`\nmultiline $*\nrightContext $'\n```\n \n[ ] Pattern Limitations"},{"_id":"6411c9f1a052abb4760000b7","treeId":"6233ffe7781cf6071600010d","seq":6287215,"position":1,"parentId":"6411b906a052abb4760000b5","content":"### The Function Type\n\nThere are three main ways to define a function:\n\n##### Function-Declaration Syntax\n```\nfunction f(args, bargs, dargs) {\n}\n```\n\n##### Function Expression\n```\nvar f = function(args, bargs, dargs){\n};\n```\n\nNote the need of a semicolon, since this is an expression and not a code block.\n\n##### Function Constructor\n```\nvar f = new Function('args', bargs', 'return args+bargs\"); \n```\n\nDon't use this. It causes double interpretation of code.\n\n***Function names are pointers to function objects.***\n\nThis is why there is no overloading--declaring two functions with the same name just overwrites the earlier one with the later one.\n\n- Function Declarations versus Function Expressions\n- Functions as Values\n- Function Internals\n- Function Properties and Methods"},{"_id":"641ddb8a409fbf208e000069","treeId":"6233ffe7781cf6071600010d","seq":6287219,"position":2,"parentId":"6411c9f1a052abb4760000b7","content":"#### Function Declarations versus Function Expressions\n\nFunction Declarations are available in an execution context before any code is executed. This is called **function declaration hoisting**. The engine takes any Javascript function it finds and brings it to the top of the source tree.\n\nFunction Expressions aren't available until the line of code (usually assigning a function to a variable) gets executed. If a function gets called before it's assigned in a function expression, it will cause an \"unidentified identifier\" error."},{"_id":"641ddc3d409fbf208e00006a","treeId":"6233ffe7781cf6071600010d","seq":6287221,"position":3,"parentId":"6411c9f1a052abb4760000b7","content":"#### Functions as Values\n\nFunctions can be used any place any other value can be used.\n\nIt's possible to:\n- Pass a function into another function\n- Return a function as a result of another function\n\nThis is important--you can use this to create a comparison function to use with `sort()` that knows what properties of objects to compare."},{"_id":"641ddc78409fbf208e00006b","treeId":"6233ffe7781cf6071600010d","seq":6287262,"position":4,"parentId":"6411c9f1a052abb4760000b7","content":"#### Function Internals\n\nA function contains three special objects:\n\n`arguments` - Contains arguments passed to the function and a property `callee` which is a pointer to the function that owns the arguments object. This can be important for decoupling arguments from the function's label, such as in recursive functions.\n\n- Strict mode: trying to access `arguments.callee` results in an error.\n- ECMAScript 5 also has `arguments.caller`. Accessing `arguments.caller` in strict mode causes an error. \n\n_Example: write a recursive function (recursive merge sort, factorial) that still works even the name of the function gets changed._\n\n`this` - a reference to the context object the function is operating on. The value of `this` is not determined until the function is called. It is set to the global context by default.\n\n- Strict mode: when a function is called without a context object, `this` is set to undefined unless `apply()` or `call()` are used.\n\n_Example: write a function that uses `this` to produce different output depending on the object that is the context (e.g. window vs. an object)._\n\n`caller` - (ECMAScript 5) contains a reference to the calling function, or `null` if the function was called in the global scope.\n\n- Strict mode: trying to assign a value to `caller` causes an error."},{"_id":"641ddcb5409fbf208e00006c","treeId":"6233ffe7781cf6071600010d","seq":6287218,"position":5,"parentId":"6411c9f1a052abb4760000b7","content":"#### Function Properties and Methods\n\n**Properties**\n\n`length` - the number of named arguments that the function expects\n\n`prototype` - prototype for reference types. Not enumerable in ECMAScript 5.\n\n**Methods**\n\n`apply(valueOfThis, argsArray)` `call(valueOfThis, arg1[,...] )`\n\nExecute the function with a particular `this` context. `apply` accepts an array of arguments (either an Array type or the `arguments` object) and `call` accepts any number of arguments directly.\n\n```\nwindow.color = \"red\";\nvar o = { color: \"blue\" };\n\nfunction sayColor() {\n console.log(this.color);\n}\n\nsayColor(); // red\nsayColor.call(this); // red\nsayColor.call(window); // red\nsayColor.call(o); // blue\n```\n\n`bind(thisValue)` _(ECMAScript 5)_\n\nCreates a new function object _instance_ with the `this` value set to the specified value.\n\n```\nwindow.color = \"Aquamarine\";\nvar o = { color: \"CornflowerBlue\" };\n\nfunction sayColor() {\n console.log(this.color);\n}\nvar objectSayColor = sayColor.bind(o);\nobjectSayColor(); // CornflowerBlue\n```\n\n`toString()` `toLocaleString()`\n\nReturns the function's code."},{"_id":"642beca4409fbf208e000071","treeId":"6233ffe7781cf6071600010d","seq":6287278,"position":1,"parentId":"641ddcb5409fbf208e00006c","content":"Trivia: `bind(con)` will keep the new function bound to `con` even when you attempt to use `apply` or `call` with a different context!"},{"_id":"641e3786409fbf208e00006d","treeId":"6233ffe7781cf6071600010d","seq":6279471,"position":2,"parentId":"6411b906a052abb4760000b5","content":"### Primitive Wrapper Types\n\nAllows primitive values to be treated as objects with methods.\n\nWhen a boolean, number, or string primitive value is accessed in ***read mode*** and a method is called, the following steps occur:\n\n1. Create instance of wrapper type\n2. Call method on instance\n3. Destroy instance\n\nAutomatically created primitive wrapper types are destroyed immediately after use. This means that you cannot add properties or new methods to primitive types.\n\nPrimitive wrappers can be explicitly created with constructors, but this should only be done in rare need. Any values created with the `new` operator and constructor will return typeof \"object\".\n\nThe Object constructor can return an instance of a primitive wrapper by passing in the primitive.\n```\nvar obj = new Object(\"a blah\");\nconsole.log(obj instanceof String); // true\n```\n\n- The Boolean Wrapper Type\n- The Number Wrapper Type\n- The String Wrapper Type"},{"_id":"641e4f2e409fbf208e00006e","treeId":"6233ffe7781cf6071600010d","seq":6279485,"position":1,"parentId":"641e3786409fbf208e00006d","content":"#### The Boolean Wrapper Type\n\n`valueOf()` - Returns `true` or `false`\n\n`toString()` `toLocaleString()` - Returns `'true'` or `'false'` (string values)\n\nDon't use Boolean types in boolean expressions! They are treated and evaluated as objects."},{"_id":"641e4f7c409fbf208e00006f","treeId":"6233ffe7781cf6071600010d","seq":6279506,"position":2,"parentId":"641e3786409fbf208e00006d","content":"#### The Number Wrapper Type\n\n`valueOf()` - Returns the primitive numeric value.\n\n`toString()` `toLocaleString()` - Return the string representation of the numeric value.\n\n`toFixed(places)` - string representation of a number with a specified number of decimal points, rounded.\n\nRounding is bugged in IE 8 and earlier: it rounds numbers in `(-0.94,-0.5]` `[0.5,0.94)` when precision is `0`. It will round numbers in these ranges to `0` when they should be rounded to `1` or `-1`.\n\n`toExponential(places)` - string representation in e-notation.\n```\nvar num = 10;\nconsole.log(num.toExponential(1)); // '1.0e+1'\n```\n\n`toPrecision(precision)` - returns string representation of number in either fixed or exponential notation with `precision` number of digits, rounding when appropriate. Can typically represent numbers with 1 through 21 decimal places."},{"_id":"641e4ff6409fbf208e000070","treeId":"6233ffe7781cf6071600010d","seq":10406874,"position":3,"parentId":"641e3786409fbf208e00006d","content":"#### The String Wrapper Type\n\n**String Character Methods**\n\n`charAt(i)` - returns character at position in string\n\n`charCodeAt(i)` - returns character code at position in string\n\nECMAScript 5 allows bracket notation.\n<code class=\" language-javascript\">\nvar s = \"My Butt\";\nconsole.log(s[3]); // 'B'\n</code>\n\n**String-Manipulation Methods**\n\n`concat( )` - return concatenation of one or more strings\n\n`slice(startPos, stopPos)`\n\n- Negative arguments treated as `length`+arg.\n\n`substring(startPos, stopPos)`\n\n- Negative arguments converted to `0`.\n\n`substr(startPos, count)`\n\n- Negative startPos treated as `length`+arg.\n- Negative count converted to `0`.\n\n**String Location Methods**\n\n`indexOf(s)`\n`lastIndexOf(s)`\n\n**The `trim()` Method**\n\n`trim()` - Returns a copy of a string with leading and trailing white space removed.\n\n`trimLeft()` `trimRight()` - Nonstandard methods supported in Firefox 3.5+, Safari 5+, Chrome 8+.\n\n**String Case Methods**\n`toLowerCase()` `toLocaleLowerCase()`\n`toUpperCase()` `toLocaleUpperCase()`\n\n**String Pattern Matching Methods**\n`match( regEx )` - returns an array where the first element is the string that matches the entire pattern, and then capturing groups\n\n`search( regEx )` - returns index of substring matching regular expression or `-1` if not found\n\n`replace( searchText, r )` - matches based on a regular expression or a string. `r` can be string or a function. If `r` is a string, it supports special codes for replacement text. If `r` is a function, it gets passed three arguments: the string match, the position of the match, and the whole string. Additional capturing groups can get passed in as an argument. The only way to replace all occurrences is to pass in a RegEx type with the `g` flag set.\n\n- When `r` is a string, you can insert regular expression operation values. (See table).\n\n`split(sep, arrayLimit)` - separates a string into an array of substrings based on separator `sep`, which may be a string or RegEx\n\n- Capturing group behavior differs widely across browsers\n- IE8 and earlier ignore capturing groups\n- Firefox 3.6 includes empty strings in the results array when a capturing group has no match\n\n`localeCompare(s)` - comparator method that returns different values based on whether a string comes before another alphabetically (return values vary slightly by implementation)\n\n- before s: negative number (usually `-1`)\n- equal to s: `0`\n- after s: positive number (usually `1`)\n\n`String.fromCharCode( num[,...], )` - creates a string from character codes"},{"_id":"642bfae2409fbf208e000072","treeId":"6233ffe7781cf6071600010d","seq":6287284,"position":1,"parentId":"641e4ff6409fbf208e000070","content":"#### String Type Trivia\n\n- `concat( )` will convert any non-string type into a string. For example, an Array `['a', 'b']` will be converted to `'a,b'`"},{"_id":"642c0c1e409fbf208e000073","treeId":"6233ffe7781cf6071600010d","seq":6287306,"position":2,"parentId":"641e4ff6409fbf208e000070","content":"`replace( )` character sequences\n\n|Sequence|Replacement Text|\n|--------|----------------|\n|`$$`|$|\n|`$&`|Substring matching entire pattern|\n|`$'`|Right context|\n|$`|Left context|\n|`$n`| _n_ th capture (0-9)|\n|`$nn`|_nn_ th capture (01-99)|"},{"_id":"6446e2d193c1c9c1b1000074","treeId":"6233ffe7781cf6071600010d","seq":6303504,"position":3,"parentId":"6411b906a052abb4760000b5","content":"### Singleton Built-In Objects\n\n- Global object\n- URI-encoding methods\n- `eval()`\n- `Math`"},{"_id":"644721e593c1c9c1b1000075","treeId":"6233ffe7781cf6071600010d","seq":6303499,"position":1,"parentId":"6446e2d193c1c9c1b1000074","content":"#### Global object\n\nProperties\n`undefined` `NaN` `Infinity` `Object` `Array` `Function` `Boolean` `String` `Number` `Date` `RegExp` `Error` `EvalError` `RangeError` `ReferenceError` `SyntaxError` `TypeError` `URIError`\n\nWindow Object\n\nIn browsers, the `window` object acts as the global object't delegate, and it gets all the variables and functions declared in the global scope."},{"_id":"6447220893c1c9c1b1000076","treeId":"6233ffe7781cf6071600010d","seq":6303500,"position":2,"parentId":"6446e2d193c1c9c1b1000074","content":"#### URI-Encoding Methods\n\n`encodeURI(s)` - encodes a string into a valid URI. Meant to be used on an entire URI, so does not encode valid URI components, such as colons, forward slashes, question marks, and percent signs.\n\n`encodeURIComponent(s)` - encodes all nonstandard characters\n\n`decodeURI(s)` - decodes the characters of a URI into a string. Only decodes characters that would have been replaced by `encodeURI()`\n\n`decodeURIComponents(s)` - decodes a URI into a string"},{"_id":"6447222993c1c9c1b1000077","treeId":"6233ffe7781cf6071600010d","seq":6303501,"position":3,"parentId":"6446e2d193c1c9c1b1000074","content":"#### The `eval()` method\n\n- Strict Mode: variables and functions created in eval are not accessible outside."},{"_id":"6447224693c1c9c1b1000078","treeId":"6233ffe7781cf6071600010d","seq":6303502,"position":4,"parentId":"6446e2d193c1c9c1b1000074","content":"### `Math` Object\n\nProperties (constants)\n\n`Math.E`\n`MathLN10`\n`Math.LN2`\n`Math.LOG2E` - base 2 log of e\n`Math.LOG10E` - base 10 log of e\n`Math.PI`\n`Math.SQRT1_2` - square root of 1/2\n`Math.SQRT2`\n\nMethods\n\n`Math.min(x1[, ...] )` - returns the smallest number in a group of numbers. Accepts any number of parameters.\n\n`Math.max(x1[, ...] )` - returns the largest number in a group of numbers.\n\n`Math.ceil(x)` - ceiling function\n\n`Math.floor(x)` - floor function\n\n`Math.round(x)` - rounds number up if decimal component is >= 0.5, or down if not.\n\n`Math.random()` - generates a random number in (0,1)\n\nOther methods:\n\n`Math.abs(x)`\n`Math.exp(x)` - e^x\n`Math.log(x)`\n`Math.pow(x, t) - x^t\n`Math.sqrt(x)`\n`Math.acos(x)` - arc cosine of x\n`Math.asin(x)` - arc sine of x\n`Math.atan(x)` - arc tan of x\n`Math.atan2(y,x)` - arc tangent of y/x\n`Math.cos(x)` - cosine x\n`Math.sin(x)` - sine x\n`Math.tan(x)` - tan x\n\nThe precision of results may vary from implementation to implementation."},{"_id":"6492e6131813ee81b5000095","treeId":"6233ffe7781cf6071600010d","seq":6362835,"position":6,"parentId":"625bef5571800f9971000034","content":"## 6. Object-Oriented Programming"},{"_id":"6492eef81813ee81b5000096","treeId":"6233ffe7781cf6071600010d","seq":6541751,"position":1,"parentId":"6492e6131813ee81b5000095","content":"### Understanding Objects\n\n- Types of Properties\n- Defining Multiple Properties\n- Reading Property Attributes"},{"_id":"65653ff354301f145300011b","treeId":"6233ffe7781cf6071600010d","seq":6541834,"position":1,"parentId":"6492eef81813ee81b5000096","content":"### Types of Properties\n\nData properties and Accessor properties are the two types of properties in JavaScript.\n\n**Data Properties** - single location for a data value\n\n**Accessor Properties** - combination of getter/setter functions\n\n"},{"_id":"65655a6d54301f145300011c","treeId":"6233ffe7781cf6071600010d","seq":6541879,"position":1,"parentId":"65653ff354301f145300011b","content":"Data Properties\n\nAttributes\n\n`[[Configurable]]`\n`[[Enumerable]]`\n`[[Writable]]`\n`[[Value]]`"},{"_id":"6492ef321813ee81b5000097","treeId":"6233ffe7781cf6071600010d","seq":6362839,"position":2,"parentId":"6492e6131813ee81b5000095","content":"### Object Creation\n\n- The Factory Pattern\n- The Constructor Pattern\n- The Prototype Pattern\n- Combination Constructor/Prototype Pattern\n- Dynamic Prototype Pattern\n- Parasitic Constructor Pattern\n- Durable Constructor Pattern"},{"_id":"6492f2e61813ee81b5000098","treeId":"6233ffe7781cf6071600010d","seq":6362841,"position":3,"parentId":"6492e6131813ee81b5000095","content":"### Inheritance\n\n- Prototype Chaining\n- Constructor Stealing\n- Combination Inheritance\n- Parasitic Inheritance\n- Parasitic Combination Inheritance"},{"_id":"675999e2a6afb26c7800017f","treeId":"6233ffe7781cf6071600010d","seq":7126652,"position":2,"parentId":"625beef671800f9971000033","content":"Notes\n\nFunction expressions are not hoisted, so order matters!\n\nThe return value of a constructor will be the value returned when called by `new`"},{"_id":"6b10f73ba8955d05d9000237","treeId":"6233ffe7781cf6071600010d","seq":10406523,"position":3.5,"parentId":null,"content":"## R"},{"_id":"6b10f762a8955d05d9000238","treeId":"6233ffe7781cf6071600010d","seq":7864580,"position":1,"parentId":"6b10f73ba8955d05d9000237","content":"## `swirl` : R Programming"},{"_id":"6b10f7e4a8955d05d9000239","treeId":"6233ffe7781cf6071600010d","seq":7864554,"position":1,"parentId":"6b10f762a8955d05d9000238","content":"### Basic Building Blocks"},{"_id":"6b10f84ea8955d05d900023a","treeId":"6233ffe7781cf6071600010d","seq":7864578,"position":2,"parentId":"6b10f762a8955d05d9000238","content":"### Workspace and Files\n\n`getwd`\n`setwd`\n`list.files` / `dir`\n`args`\n`dir.create`\n`file.create`\n`file.exists`\n`file.info`\n`file.rename`\n`file.copy`\n`file.path`\n`dir.create`\n`unlink`\n"},{"_id":"5781b286fbb01550203a4357","treeId":"6233ffe7781cf6071600010d","seq":7864665,"position":3,"parentId":"6b10f762a8955d05d9000238","content":"### Sequences of Numbers\n\n`?`\n`:`\n`length`\n`seq`\n`seq(along.with = ... )`\n`seq_along`\n`rep(n, times = ..., each = ...)`"},{"_id":"6b11243fa8955d05d900034b","treeId":"6233ffe7781cf6071600010d","seq":7864692,"position":4,"parentId":"6b10f762a8955d05d9000238","content":"### 4. Vectors"},{"_id":"6b112496a8955d05d900034c","treeId":"6233ffe7781cf6071600010d","seq":7872946,"position":5,"parentId":"6b10f762a8955d05d9000238","content":"### 5. Missing Values\n\n`NA`\n`NaN`\n`is.na`\n`rnorm`\n`rep`\n`sample`"},{"_id":"6b1124d3a8955d05d900034d","treeId":"6233ffe7781cf6071600010d","seq":7873056,"position":6,"parentId":"6b10f762a8955d05d9000238","content":"### 6. Subsetting Vectors\n\n```\nx[is.na(x)]\nx[-2]\nx[c(-2,-10)]\nx[-c(2,10)]\nvect <- c(foo = 11, bar = 2, norf = NA)\nnames(vect)\nvect2 <- c(11, 2, NA)\nnames(vect) <- c(\"foo\", \"bar\", \"norf\")\nidentical(vect, vect2)\nvect[\"bar\"]\nvect[c(\"foo\", \"bar\")]\n```"},{"_id":"6b112532a8955d05d900034e","treeId":"6233ffe7781cf6071600010d","seq":7874068,"position":7,"parentId":"6b10f762a8955d05d9000238","content":"### 7. Matrices and Data Frames\n```\nmy_vector <- 1:20\ndim(my_vector)\nlength(my_vector)\ndim(my_vector) <- c(4,5)\nattributes(my_vector)\nclass(my_vector)\nmy_matrix2 <- matrix(1:20, nrow = 4, ncol = 5)\npatients <- c(\"Bill\", \"Gina\", \"Kelly\", \"Sean\")\ncbind(patients, my_matrix)\nmy_data <- data.frame(patients, my_matrix)\ncnames <- c(\"patient\", \"age\", \"weight\", \"bp\", \"rating\", \"test\")\ncolnames(my_data) <- cnames\n```"},{"_id":"6b1125aca8955d05d900034f","treeId":"6233ffe7781cf6071600010d","seq":7864673,"position":8,"parentId":"6b10f762a8955d05d9000238","content":"### 8. Logic"},{"_id":"6b1125f8a8955d05d9000350","treeId":"6233ffe7781cf6071600010d","seq":7864675,"position":9,"parentId":"6b10f762a8955d05d9000238","content":"### 9. Functions"},{"_id":"6b112635a8955d05d9000351","treeId":"6233ffe7781cf6071600010d","seq":7864679,"position":10,"parentId":"6b10f762a8955d05d9000238","content":"### 10. `lapply` and `sapply`"},{"_id":"6b1126c3a8955d05d9000352","treeId":"6233ffe7781cf6071600010d","seq":7864681,"position":11,"parentId":"6b10f762a8955d05d9000238","content":"### 11. `vapply` and `tapply`"},{"_id":"6b112748a8955d05d9000353","treeId":"6233ffe7781cf6071600010d","seq":7864683,"position":12,"parentId":"6b10f762a8955d05d9000238","content":"### 12. Looking at Data"},{"_id":"6b1127b0a8955d05d9000354","treeId":"6233ffe7781cf6071600010d","seq":7864685,"position":13,"parentId":"6b10f762a8955d05d9000238","content":"### 13. Simulation"},{"_id":"6b1127f8a8955d05d9000355","treeId":"6233ffe7781cf6071600010d","seq":7864686,"position":14,"parentId":"6b10f762a8955d05d9000238","content":"### 14. Dates and Times"},{"_id":"6b11284ca8955d05d9000356","treeId":"6233ffe7781cf6071600010d","seq":7864688,"position":15,"parentId":"6b10f762a8955d05d9000238","content":"### 15. Base Graphics"},{"_id":"7be37350dc2f3da6b0000311","treeId":"6233ffe7781cf6071600010d","seq":10406538,"position":3.75,"parentId":null,"content":"## Swift\n\nSwift is a general-purpose, multi-paradigm, compiled programming language developed by Apple."},{"_id":"7be387b9dc2f3da6b0000312","treeId":"6233ffe7781cf6071600010d","seq":10406564,"position":1,"parentId":"7be37350dc2f3da6b0000311","content":"## The Swift Programming Language (Swift 3.1)"},{"_id":"7be3b598dc2f3da6b0000313","treeId":"6233ffe7781cf6071600010d","seq":10489317,"position":1,"parentId":"7be387b9dc2f3da6b0000312","content":"### [The Basics](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html)\n\n**Constants and Variables**\n**Comments**\n**Semicolons**\n**Integers**\n**Floating-Point Numbers**\n**Type Safety and Type Inference**\nNumeric Literals\nNumeric Type Conversion\nType Aliases\n**Booleans**\nTuples\n**Optionals**\nError Handling\n**Assertions**"},{"_id":"7be40594dc2f3da6b000032c","treeId":"6233ffe7781cf6071600010d","seq":10440774,"position":1,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Constants and Variables\n`let` `var`\n\nDeclaring Constants and Variables\n\nAll constants need to be initialized. All variables also need to be either initialized or type annotated.\n\n<pre><code class=\" language-swift\">\nlet chessBoardMaxRank = 8 // constant\nvar currentRank = 1 // variable\n</code></pre>\n\nType Annotations\n\n<pre><code class=\" language-swift\">\nvar lastName: String\nvar heightM: Double\nvar year: Int\nvar elements: Array\n</code></pre>\n\nYou can declare and annotate variables of the same type on a single line, separated by commas.\n\nNaming Constants and Variables\n\n\n\nPrinting Constants and Variables"},{"_id":"7be405e1dc2f3da6b000032d","treeId":"6233ffe7781cf6071600010d","seq":10407073,"position":2,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Comments\n\nSingle-line comment: `//`\n\nMulti-line comment: `/* */`\nMulti-line comments can be nested."},{"_id":"7be405f4dc2f3da6b000032e","treeId":"6233ffe7781cf6071600010d","seq":10406770,"position":3,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Semicolons\n\nSemicolons are only required to separate two or more statements on a single line."},{"_id":"7be40602dc2f3da6b000032f","treeId":"6233ffe7781cf6071600010d","seq":10406773,"position":4,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Integers\n\nInteger Bounds\nInt\nUInt"},{"_id":"7be4060fdc2f3da6b0000330","treeId":"6233ffe7781cf6071600010d","seq":10406775,"position":5,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Floating-Point Numbers\n\n`Double`: 64-bit floating-point number\n`Float`: 32-bit floating-point number"},{"_id":"7be4061adc2f3da6b0000331","treeId":"6233ffe7781cf6071600010d","seq":10406780,"position":6,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Type Safety and Type Inference\n\nSwift is a _type-safe_ language and performs _type checks_ during compilation.\n\nSwift uses _type inference_ to determine the types of not-explicitly declared variables and constants."},{"_id":"7be40625dc2f3da6b0000332","treeId":"6233ffe7781cf6071600010d","seq":10406787,"position":7,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Numeric Literals\n\n- decimal: no prefix\n- binary: `0b` prefix\n- octal: `0o` prefix\n- hexadecimal: `0x` prefix\n\nFloating-point literals can be either decimal or hexadecimal. Decimal floating points can have an optional exponent, indicated with `e` or `E`. Hexadecimal floating point numbers need an exponent, indicated with `p` or `P`."},{"_id":"7be4062fdc2f3da6b0000333","treeId":"6233ffe7781cf6071600010d","seq":10489324,"position":8,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Numeric Type Conversion\n\nInteger Conversion\n\nUse the `Int` type for general purpose integer constants and variables.\n\nInteger and Floating-Point Conversion"},{"_id":"7be4063adc2f3da6b0000334","treeId":"6233ffe7781cf6071600010d","seq":10406794,"position":9,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Type Aliases\n\n`typealias`"},{"_id":"7be40646dc2f3da6b0000335","treeId":"6233ffe7781cf6071600010d","seq":10489350,"position":10,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Booleans\n<code class=\" language-swift\">Bool</code>\n\nBooleans can be one of two constant values: `true` or `false`.\n\nAttempting to substitute non-Boolean values for Bool will cause an error."},{"_id":"7be40651dc2f3da6b0000336","treeId":"6233ffe7781cf6071600010d","seq":10489379,"position":11,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Tuples\n\n`( value, ...)`\n\nGroup multiple values into a compound value. The values can be of any (and mixed) types.\n\nDecompose a tuple's contents by assigning to a tuple. Underscore ignores contents.\n\n<code class=\" language-swift\"><pre>let (realNum, imagNum) = z\nlet (_, imaginaryPortion) = z\n</pre></code>\n\nYou can access a tuple's elements using index numbers (starting at `0`) or element names.\n\n<code class=\" language-swift\"><pre>\nprint(\"Latitude is \\(coord.y)\")\nprint(\"Longitude is \\(coord.x)\")\nlet altitude = coord.2\n</pre></code>\n\nTuples can be return values of functions with multiple return values\\[[1](https://developer.apple.com/library/content/documentation/Swift/Conceptual/Swift_Programming_Language/Functions.html#//apple_ref/doc/uid/TP40014097-CH10-ID164)]."},{"_id":"7be4065cdc2f3da6b0000337","treeId":"6233ffe7781cf6071600010d","seq":10489395,"position":12,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Optionals\n\nUse when a value may be absent: an optional either has no value, or wraps the actual variable.\n\nnil\n\nSet an optional to `nil` to give it no value. If an optional is defined but not initialized, it is automatically set to `nil`.\n\nNote: `nil` is _not_ a pointer to a null object. Even non-object optionals can be set to `nil`.\n\n\nIf Statements and Forced Unwrapping\n\n`!` unwraps an optional's value. But it will cause a runtime error if the optional is `nil`.\n\nOptional Binding\n\nCheck if an optional has a value before entering a code block (`if` or `while`).\n<code class=\" language-swift\">\n<pre>\nif let number = Int(input) {\n return(number^2)\n}\n</pre>\n</code>\n\nSeparate a series of optional bindings (and booleans) with commas -- if any is `nil`, the statement will evaluate to false.\n\nImplicitly Unwrapped Optionals\n\nUnwrap the optional automatically."},{"_id":"7be40685dc2f3da6b0000338","treeId":"6233ffe7781cf6071600010d","seq":10406808,"position":13,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Error Handling\n\n`throws` `do` `try` `catch`\n\nSwift propagates errors out of the current score until a `catch` clause handles it."},{"_id":"7be40691dc2f3da6b0000339","treeId":"6233ffe7781cf6071600010d","seq":10406811,"position":14,"parentId":"7be3b598dc2f3da6b0000313","content":"#### Assertions\n\nDebugging with Assertions\nWhen to Use Assertions"},{"_id":"7be3b5dfdc2f3da6b0000314","treeId":"6233ffe7781cf6071600010d","seq":10406608,"position":2,"parentId":"7be387b9dc2f3da6b0000312","content":"### Basic Operators\n\nAssignment Operator\nArithmetic Operator\nCompound Assignment Operators\nComparison Operators\nTernary Conditional Operator\nNil-Coalescing Operator\nRange Operators\nLogical Operators"},{"_id":"7be3b64adc2f3da6b0000315","treeId":"6233ffe7781cf6071600010d","seq":10406637,"position":3,"parentId":"7be387b9dc2f3da6b0000312","content":"### Strings and Characters\n\nString Literals\nInitializing an Empty String\nString Mutability\nStrings Are Value Types\nWorking with Characters\nConcatenating Strings and Characters\nString Interpolation\nUnicode\nCounting Characters\nAccessing and Modifying a String\nComparing Strings\nUnicode Representations of Strings"},{"_id":"7be3b693dc2f3da6b0000316","treeId":"6233ffe7781cf6071600010d","seq":10406651,"position":4,"parentId":"7be387b9dc2f3da6b0000312","content":"### Collection Types\n\nMutability of Collections\nArrays\nSets\nPerforming Set Operations\nDictionaries"},{"_id":"7be3b6d2dc2f3da6b0000317","treeId":"6233ffe7781cf6071600010d","seq":10406658,"position":5,"parentId":"7be387b9dc2f3da6b0000312","content":"### Control Flow\n\nFor-In Loops\nWhile Loops\nConditional Statements\nControl Transfer Statements\nEarly Exit\nChecking API Availability"},{"_id":"7be3b6fbdc2f3da6b0000318","treeId":"6233ffe7781cf6071600010d","seq":10406666,"position":6,"parentId":"7be387b9dc2f3da6b0000312","content":"### Functions\n\nDefining and Calling Functions\nFunction Parameters and Return Values\nFunction Argument Labels and Parameter Names"},{"_id":"7be3b73edc2f3da6b0000319","treeId":"6233ffe7781cf6071600010d","seq":10406670,"position":7,"parentId":"7be387b9dc2f3da6b0000312","content":"### Closures\n\nClosure Expressions\nTrailing Closures\nCapturing Values\nClosures Are Reference Types\nEscaping Closures\nAutoclosures\n"},{"_id":"7be3b778dc2f3da6b000031a","treeId":"6233ffe7781cf6071600010d","seq":10406671,"position":8,"parentId":"7be387b9dc2f3da6b0000312","content":"### Enumerations\n\nEnumeration Syntax\nMatching Enumeration Values with a Switch Statement\nAssociated Values\nRaw Values\nRecursive Enumerations"},{"_id":"7be3b7a9dc2f3da6b000031b","treeId":"6233ffe7781cf6071600010d","seq":10406673,"position":9,"parentId":"7be387b9dc2f3da6b0000312","content":"### Classes and Structures\n\nComparing Classes and Structures\nStructures and Enumerations Are Value Types\nClasses Are Reference Types\nChoosing Between Classes and Structures\nAssignment and Copy Behavior for Strings, Arrays, and Dictionaries"},{"_id":"7be3b7f9dc2f3da6b000031c","treeId":"6233ffe7781cf6071600010d","seq":10406674,"position":10,"parentId":"7be387b9dc2f3da6b0000312","content":"### Properties\n\nStored Properties\nComputed Properties\nProperty Observers\nGlobal and Local Variables\nType Properties"},{"_id":"7be3b827dc2f3da6b000031d","treeId":"6233ffe7781cf6071600010d","seq":10406677,"position":11,"parentId":"7be387b9dc2f3da6b0000312","content":"### Methods\n\nInstance Methods\nType Methods"},{"_id":"7be3b85ddc2f3da6b000031e","treeId":"6233ffe7781cf6071600010d","seq":10406678,"position":12,"parentId":"7be387b9dc2f3da6b0000312","content":"### Subscripts\n\nSubscript Syntax\nSubscript Usage\nSubscript Options"},{"_id":"7be3b887dc2f3da6b000031f","treeId":"6233ffe7781cf6071600010d","seq":10406679,"position":13,"parentId":"7be387b9dc2f3da6b0000312","content":"### Inheritance\n\nDefining a Base Class\nSubclassing\nOverriding\nPreventing Overrides"},{"_id":"7be3b8e2dc2f3da6b0000320","treeId":"6233ffe7781cf6071600010d","seq":10406686,"position":14,"parentId":"7be387b9dc2f3da6b0000312","content":"### Initialization\n\nSetting Initial Values for Stored Properties\nCustomizing Initialization\nDefault Initializers\nInitializer Delegation for Value Types\nClass Inheritance and Initialization\nFailable Initializers\nSetting a Default Property Value with a Closure or Function"},{"_id":"7be3b92ddc2f3da6b0000321","treeId":"6233ffe7781cf6071600010d","seq":10406689,"position":15,"parentId":"7be387b9dc2f3da6b0000312","content":"### Deinitialization\n\nHow Deinitialization Works\nDeinitializers in Action"},{"_id":"7be3b96bdc2f3da6b0000322","treeId":"6233ffe7781cf6071600010d","seq":10406691,"position":16,"parentId":"7be387b9dc2f3da6b0000312","content":"### Automatic Reference Counting\n\nHow ARC Works\nARC in Action\nStrong Reference Cycles Between Class Instances\nResolving Strong Reference Cycles Between Class Instances\nStrong Reference Cycles for Closures\nResolving Strong Reference Cycles for Closures"},{"_id":"7be3b9b8dc2f3da6b0000323","treeId":"6233ffe7781cf6071600010d","seq":10406697,"position":17,"parentId":"7be387b9dc2f3da6b0000312","content":"### Optional Chaining\n\nOptional Chaining as an Alternative to Forced Unwrapping\nDefining Model Classes for Optional Chaining\nAccessing Properties Through Optional Chaining\nCalling Methods Through Optional Chaining\nAccessing Subscripts Through Optional Chaining\nLinking Multiple Levels of Chaining\nChaining on Methods with Optional Return Values"},{"_id":"7be3ba08dc2f3da6b0000324","treeId":"6233ffe7781cf6071600010d","seq":10406700,"position":18,"parentId":"7be387b9dc2f3da6b0000312","content":"### Error Handling\n\nRepresenting and Throwing Errors\nHanding Errors\nSpecifying Cleanup Actions"},{"_id":"7be3ba39dc2f3da6b0000325","treeId":"6233ffe7781cf6071600010d","seq":10406703,"position":19,"parentId":"7be387b9dc2f3da6b0000312","content":"### Type Casting\n\nDefining a Class Hierarchy for Type Casting\nChecking Type\nDowncasting\nType Casting for Any and AnyObject"},{"_id":"7be3ba84dc2f3da6b0000326","treeId":"6233ffe7781cf6071600010d","seq":10406706,"position":20,"parentId":"7be387b9dc2f3da6b0000312","content":"### Nested Types\n\nNested Types in Action\nReferring to Nested Types"},{"_id":"7be3babadc2f3da6b0000327","treeId":"6233ffe7781cf6071600010d","seq":10406708,"position":21,"parentId":"7be387b9dc2f3da6b0000312","content":"### Extensions\n\nExtension Syntax\nComputed Properties\nInitializers\nMethods\nSubscripts\nNested Types"},{"_id":"7be3bae4dc2f3da6b0000328","treeId":"6233ffe7781cf6071600010d","seq":10406712,"position":22,"parentId":"7be387b9dc2f3da6b0000312","content":"### Protocols\n\nProtocol Syntax\nProperty Requirements\nMethod Requirements\nMutating Method Requirements\nInitializer Requirements\nProtocols as Types\nDelegation\nAdding Protocol Conformance with an Extension\nCollections of Protocol Types\nProtocol Inheritance\nClass-Only Protocols\nProtocol Composition\nChecking for Protocol Conformance\nOptional Protocol Requirements\nProtocol Extensions"},{"_id":"7be3bb0cdc2f3da6b0000329","treeId":"6233ffe7781cf6071600010d","seq":10406718,"position":23,"parentId":"7be387b9dc2f3da6b0000312","content":"### Generics\n\nThe Problem That Generics Solve\nGeneric Functions\nType Parameters\nNaming Type Parameters\nGeneric Types\nExtending a Generic Type\nType Constraints\nAssociated Types\nGeneric Where Clauses\nExtensions with a Generic Where Clause"},{"_id":"7be3bb3edc2f3da6b000032a","treeId":"6233ffe7781cf6071600010d","seq":10406722,"position":24,"parentId":"7be387b9dc2f3da6b0000312","content":"### Access Control\n\nModule and Source Files\nAccess Levels\nAccess Control Syntax\nCustom Types\nSubclassing\nConstants, Variables, Properties, and Subscripts\nInitializers\nProtocols\nExtensions\nGenerics\nType Aliases"},{"_id":"7be3bb82dc2f3da6b000032b","treeId":"6233ffe7781cf6071600010d","seq":10406724,"position":25,"parentId":"7be387b9dc2f3da6b0000312","content":"### Advanced Operators\n\nBitwise Operators\nOverflow Operators\nPrecedence and Associativity\nOperator Methods\nCustom Operators"},{"_id":"64e5630713824208b9000096","treeId":"6233ffe7781cf6071600010d","seq":6438140,"position":4,"parentId":null,"content":"# Software Development"},{"_id":"64e5634513824208b9000097","treeId":"6233ffe7781cf6071600010d","seq":6438141,"position":5,"parentId":null,"content":"## Requirements Checklist"},{"_id":"64e563b513824208b9000098","treeId":"6233ffe7781cf6071600010d","seq":6438143,"position":1,"parentId":"64e5634513824208b9000097","content":"Functional Requirements\n[ ] Inputs\n[ ] Outputs\n[ ] External (hard|soft)ware interfaces\n[ ] External communication interfaces"},{"_id":"64e5640913824208b9000099","treeId":"6233ffe7781cf6071600010d","seq":6438144,"position":2,"parentId":"64e5634513824208b9000097","content":"Quality Requirements\n[ ] Expected response time\n[ ] Timing considerations (processing time, data rate, throughput)\n[ ] Security\n[ ] Reliability (crashes, error detection)\n[ ] Hardware requirements\n[ ] Platform requirements\n[ ] Definition of success/failure"},{"_id":"64e5642f13824208b900009a","treeId":"6233ffe7781cf6071600010d","seq":6438145,"position":3,"parentId":"64e5634513824208b9000097","content":"Requirements Quality\n[ ] Requirements in user language\n[ ] No mutual conflict between requirements\n[ ] Tradeoffs for competing attributes\n[ ] Requirements don't specify the design\n[ ] Consistent level of detail\n[ ] Clear enough to turn over for construction\n[ ] Relevant to problem and solution\n[ ] Testable\n[ ] Possible changes and likelihood of change specified"},{"_id":"64e5645413824208b900009b","treeId":"6233ffe7781cf6071600010d","seq":6438146,"position":4,"parentId":"64e5634513824208b9000097","content":"Completeness\n[ ] Areas of incomplete information\n[ ] Satisfying requirements is sufficient for acceptable product\n[ ] Are you comfortable with all the requirements?"}],"tree":{"_id":"6233ffe7781cf6071600010d","name":"Programming Language Notes","publicUrl":"oli-programming-language-notes"}}