Showing preview only (5,300K chars total). Download the full file or copy to clipboard to get everything.
Repository: zrispo/wick
Branch: master
Commit: 7ee7db54dbb5
Files: 226
Total size: 27.5 MB
Directory structure:
gitextract_tbx6gjxh/
├── .gitignore
├── HOWTO.md
├── LICENSE.txt
├── README.md
├── code-of-conduct.md
├── index.html
├── lib/
│ ├── SAT.js
│ ├── Tween.js
│ ├── URLParameterUtils.js
│ ├── WickEditorInputs.js
│ ├── ace/
│ │ ├── ace.js
│ │ ├── ext-language_tools.js
│ │ ├── mode-javascript.js
│ │ ├── theme-chrome.js
│ │ ├── theme-idle_fingers.css
│ │ ├── theme-idle_fingers.js
│ │ ├── theme-tomorrow.js
│ │ └── worker-javascript.js
│ ├── applyStyle.js
│ ├── base64-arraybuffer.js
│ ├── beautify.js
│ ├── bowser.js
│ ├── canvasutils.js
│ ├── croquis.js
│ ├── filedownloader.js
│ ├── fpscounter.js
│ ├── gif.js
│ ├── gif.worker.js
│ ├── highlight/
│ │ ├── CHANGES.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── README.ru.md
│ │ ├── highlight.pack.js
│ │ └── styles/
│ │ ├── agate.css
│ │ ├── androidstudio.css
│ │ ├── arduino-light.css
│ │ ├── arta.css
│ │ ├── ascetic.css
│ │ ├── atelier-cave-dark.css
│ │ ├── atelier-cave-light.css
│ │ ├── atelier-dune-dark.css
│ │ ├── atelier-dune-light.css
│ │ ├── atelier-estuary-dark.css
│ │ ├── atelier-estuary-light.css
│ │ ├── atelier-forest-dark.css
│ │ ├── atelier-forest-light.css
│ │ ├── atelier-heath-dark.css
│ │ ├── atelier-heath-light.css
│ │ ├── atelier-lakeside-dark.css
│ │ ├── atelier-lakeside-light.css
│ │ ├── atelier-plateau-dark.css
│ │ ├── atelier-plateau-light.css
│ │ ├── atelier-savanna-dark.css
│ │ ├── atelier-savanna-light.css
│ │ ├── atelier-seaside-dark.css
│ │ ├── atelier-seaside-light.css
│ │ ├── atelier-sulphurpool-dark.css
│ │ ├── atelier-sulphurpool-light.css
│ │ ├── atom-one-dark.css
│ │ ├── atom-one-light.css
│ │ ├── brown-paper.css
│ │ ├── codepen-embed.css
│ │ ├── color-brewer.css
│ │ ├── darcula.css
│ │ ├── dark.css
│ │ ├── darkula.css
│ │ ├── default.css
│ │ ├── docco.css
│ │ ├── dracula.css
│ │ ├── far.css
│ │ ├── foundation.css
│ │ ├── github-gist.css
│ │ ├── github.css
│ │ ├── googlecode.css
│ │ ├── grayscale.css
│ │ ├── gruvbox-dark.css
│ │ ├── gruvbox-light.css
│ │ ├── hopscotch.css
│ │ ├── hybrid.css
│ │ ├── idea.css
│ │ ├── ir-black.css
│ │ ├── kimbie.dark.css
│ │ ├── kimbie.light.css
│ │ ├── magula.css
│ │ ├── mono-blue.css
│ │ ├── monokai-sublime.css
│ │ ├── monokai.css
│ │ ├── obsidian.css
│ │ ├── ocean.css
│ │ ├── paraiso-dark.css
│ │ ├── paraiso-light.css
│ │ ├── pojoaque.css
│ │ ├── purebasic.css
│ │ ├── qtcreator_dark.css
│ │ ├── qtcreator_light.css
│ │ ├── railscasts.css
│ │ ├── rainbow.css
│ │ ├── school-book.css
│ │ ├── solarized-dark.css
│ │ ├── solarized-light.css
│ │ ├── sunburst.css
│ │ ├── tomorrow-night-blue.css
│ │ ├── tomorrow-night-bright.css
│ │ ├── tomorrow-night-eighties.css
│ │ ├── tomorrow-night.css
│ │ ├── tomorrow.css
│ │ ├── vs.css
│ │ ├── xcode.css
│ │ ├── xt256.css
│ │ └── zenburn.css
│ ├── html2canvas.js
│ ├── idb-keyval-min.js
│ ├── jquery-ui.custom.js
│ ├── jquery.fancytree.filter.js
│ ├── jquery.fancytree.js
│ ├── jscolor.js
│ ├── keyCharToCode.js
│ ├── lerp.js
│ ├── libgif.js
│ ├── localstoragewrapper.js
│ ├── nouislider.css
│ ├── nouislider.js
│ ├── offset.js
│ ├── paper-full.js
│ ├── paperholefinder.js
│ ├── pixi-layers.js
│ ├── pixi.min.4.6.1.js
│ ├── polyfills.js
│ ├── potrace.js
│ ├── random.js
│ ├── rangeslider.css
│ ├── saveSvgAsPng.js
│ ├── screenfull.js
│ ├── scrollbar.js
│ ├── skin-win8/
│ │ ├── ui.fancytree.css
│ │ └── ui.fancytree.less
│ ├── socket.io-1.2.0.js
│ ├── soundcloud-waveform.js
│ ├── spectrum.css
│ ├── spectrum.js
│ ├── timer.js
│ ├── two.js
│ ├── video-export/
│ │ ├── ffmpeg.js
│ │ ├── videoExporter.js
│ │ └── worker-asm.js
│ ├── webfont.js
│ └── whammy.js
├── main.js
├── player.html
├── resources/
│ ├── credits.html
│ ├── icons/
│ │ └── mac/
│ │ └── icon.icns
│ └── testcontent/
│ └── whistle.ogg
├── src/
│ ├── editor/
│ │ ├── WickEditor.GuiActionHandler.js
│ │ ├── WickEditor.InputHandler.js
│ │ ├── WickEditor.Settings.js
│ │ ├── WickEditor.WickActionHandler.js
│ │ ├── WickEditor.js
│ │ ├── interfaces/
│ │ │ ├── Interfaces.AlertBox.js
│ │ │ ├── Interfaces.Breadcrumbs.js
│ │ │ ├── Interfaces.BuiltinPlayer.js
│ │ │ ├── Interfaces.Canvas.Backdrop.js
│ │ │ ├── Interfaces.Canvas.Fast.js
│ │ │ ├── Interfaces.Canvas.ImageRenderer.js
│ │ │ ├── Interfaces.Canvas.Interactive.js
│ │ │ ├── Interfaces.Canvas.js
│ │ │ ├── Interfaces.ColorPicker.js
│ │ │ ├── Interfaces.Credits.js
│ │ │ ├── Interfaces.CursorIcon.js
│ │ │ ├── Interfaces.EditorSettings.js
│ │ │ ├── Interfaces.Inspector.InputTypes.js
│ │ │ ├── Interfaces.Inspector.Properties.js
│ │ │ ├── Interfaces.Inspector.js
│ │ │ ├── Interfaces.Library.js
│ │ │ ├── Interfaces.MenuBar.js
│ │ │ ├── Interfaces.RightClickMenu.js
│ │ │ ├── Interfaces.ScriptingIDE.Reference.js
│ │ │ ├── Interfaces.ScriptingIDE.js
│ │ │ ├── Interfaces.TextEditBox.js
│ │ │ ├── Interfaces.Timeline.FramesContainer.js
│ │ │ ├── Interfaces.Timeline.Interactions.js
│ │ │ ├── Interfaces.Timeline.LayersContainer.js
│ │ │ ├── Interfaces.Timeline.js
│ │ │ ├── Interfaces.Toolbar.js
│ │ │ └── Interfaces.VideoExporter.js
│ │ └── tools/
│ │ ├── Tools.Dropper.js
│ │ ├── Tools.Ellipse.js
│ │ ├── Tools.Eraser.js
│ │ ├── Tools.FillBucket.js
│ │ ├── Tools.Line.js
│ │ ├── Tools.Paintbrush.js
│ │ ├── Tools.Pan.js
│ │ ├── Tools.Pen.js
│ │ ├── Tools.Pencil.js
│ │ ├── Tools.Rectangle.js
│ │ ├── Tools.SelectionCursor.js
│ │ ├── Tools.Text.js
│ │ ├── Tools.VectorCursor.js
│ │ └── Tools.Zoom.js
│ ├── player/
│ │ ├── WickPlayer.HowlerAudioPlayer.js
│ │ ├── WickPlayer.InputHandler.js
│ │ ├── WickPlayer.PixiRenderer.js
│ │ ├── WickPlayer.js
│ │ └── emptyplayer.htm
│ └── project/
│ ├── WickAsset.js
│ ├── WickCamera.js
│ ├── WickDocs.js
│ ├── WickFrame.js
│ ├── WickLayer.js
│ ├── WickObject.js
│ ├── WickProject.AssetLibrary.js
│ ├── WickProject.Compressor.js
│ ├── WickProject.Exporter.js
│ ├── WickProject.js
│ └── WickTween.js
├── styles/
│ ├── Open_Sans/
│ │ └── LICENSE.txt
│ ├── colorpicker.css
│ ├── editor.css
│ ├── inspector.css
│ ├── library.css
│ ├── progressBar.css
│ ├── scriptingide.css
│ ├── textBox.css
│ ├── timeline.css
│ ├── toolbar.css
│ └── videoExporter.css
└── tests/
└── test.wick
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.DS_Store
node_modules/
release-builds/
================================================
FILE: HOWTO.md
================================================
# Wick Editor v16
**Note:** The `Modifier` key in this document refers to the `Control` key in Windows, and the `Command` key on MacOS.
## Brower Support
- All features of the Wick Editor are supported in Firefox and Chrome.
- All features of the Wick Player are supported by most major browsers, including mobile browsers.
## Canvas
- Pan canvas with `Spacebar`
- Zoom in and out with `+` and `-` keys
- Zoom in and out with `Modifier` + `Scroll`
- You can also zoom in and out with the plus and minus buttons below the timeline. This is also where you can select the percent at which to zoom.
- Reset canvas zoom level to 100% with `Modifier` + `0`
- Canvas color can be changed in project settings
- Canvas dimensions (width/height) can be changed in project settings
### Undo/Redo
- Undo any action by clicking `Edit` -> `Undo` or by pressing `Modifier` + `Z`
- Redo any action by clicking `Edit` -> `Redo` or by pressing `Modifier` + `Shift` + `Z`
### Copy/Cut/Paste/Delete
- Copy object(s) by pressing `Modifier`+`C` or by clicking `Edit` -> `Copy` in the menu bar
- Cut object(s) by pressing `Modifier`+`X` or by clicking `Edit` -> `Cut` in the menu bar
- Paste object(s) by pressing `Modifier`+`V` or by clicking `Edit` -> `Paste` in the menu bar
- Cut object(s) by pressing `Delete` or `Backspace`, or by clicking `Edit` -> `Delete` in the menu bar
- Duplicate object(s) by pressing `Modifier` + `D` or or right clicking and selecting `Duplicate Object(s)`.
### Ordering
- Move object(s) forward by right clicking and selecting `Move Forwards` or pressing `Modifier` + `Up`
- Move object(s) backwards by right clicking and selecting `Move Backwards` or pressing `Modifier` + `Down`
- Move object(s) to the front by right clicking and selecting `Move To Front` or pressing `Modifier` + `Shift` + `Up`
- Move object(s) to the back by right clicking and selecting `Move To Back` or pressing `Modifier` + `Shift` + `Down`
## Toolbar
### Color Picker
- Click either box to change the current fill or stroke color.
- The filled box changes the fill color, and the unfilled box changes the stroke color.
- The default pallete contains twelve basic colors.
- The color picker saves the last six colors used below the default pallete.
- Click and drag the largest square to change the saturation and lightness of the current color.
- Click and drag the vertical rectangle to change the hue of the current color.
- Click and drag the horizontal rectangle to change to opacity of the current color.
### Selection Cursor
_Making selections_
- Click to select object
- `Shift` + click to select multiple objects
- Click and drag to select objects touching the selection box
- `Alt` + click and drag to select objects strictly inside the selection box
_Modifying selections_
- Scale by dragging handles on corners and sides
- Scale and keep aspect ratio of object(s) by holding `Shift` and dragging handles on corners
- Rotate by dragging corners
- Move object(s) by 1 pixel in any direction using the arrow keys
- Move object(s) by 10 pixels in any direction using `Shift` + arrow keys
- Select all objects on the canvas by clicking `Edit` -> `Select All` in the menu bar, or by pressing `Modifier` + `A`
- Deselect all objects on the canvas by clicking `Edit` -> `Deselect All` in the menu bar, or by using `Modifier` + `Shift` + `A`
### Path Cursor
_Making selections_
- Click any path to select it
- Drag to select paths touching the selection box
- Alt+drag to select objects strictly inside the selection box
_Modifying Path Segments_
- Click and drag points to move them
- Click on a stroke to add a point on that part of the stroke
- Hold `Modifier` and click a point to remove it
_Modifying Path Curves_
- Double click a path to straighten and smooth its curves
- Drag handles to change curvature of strokes
### Brush
_Brush Options_
- Color
- The brush uses the current fill color as its drawing color.
- Size
- Smoothness
- Stabilizer Level
- Pressure Sensitivity Enabled
- Pressure Sensitivity Level
- A higher Pressure Sensitivity level makes the pressure from a tablet have more impact on the size of the brush.
- Blob Detail
- A higher Blob Detail value will give your strokes more detail when they are converted to paths, but will make drawing strokes slower.
### Pencil
_Pencil Options_
- Color
- The pencil uses the current stroke color as its drawing color.
- Stroke width
- Smoothness
### Fill Bucket
- Click any path to change it's fill or stroke color
- Click any holes created by paths to fill that hole
### Rectangle
- Click and drag to draw a rectangle
- Hold shift while dragging to draw a perfect square
- Change corner roundness in inspector
### Ellipse
- Click and drag to draw an ellipse
- Hold shift while dragging to draw a perfect circle
### Line
- Click and drag to draw a line
- Hold shift while dragging to draw horizontal/vertical/diagonal line
### Pen
- Click to create a new point
- Click and drag to create a new point and change it's curvature
- Click first point to close shape
- Click the ends of an existing shape to add more curves to that shape
### Eyedropper
- Click any path to set the current fill or stroke color to that path's color.
### Text
- Click and drag to create a text box
- Click text objects to edit them
### Zoom
- Click to zoom in
- Hold `Alt` and click to zoom out
- Click and drag, draw a rectangle, and release to zoom into a section of the screen
### Pan
- Click and drag to pan
## Timeline
### Frames
**DESIGN TODO**
- To add a frame, double click an empty space on the timeline or right click and select `Add Frame`
- Change the length of frame(s) by dragging the edges left or right.
- Select frames by clicking and dragging, all frames inside the selection box will be selected.
- Delete selected frames by pressing `Delete` or right clicking and selecting `Delete Frame`
### Playhead
- Move the playhead by dragging it, or by using the `<` and `>` keys.
- Clicking on a frame will jump the playhead to that frame.
- Play the whole timeline by clicking the `Play Preview` button, or by pressing `Enter`
- Loop the timeline by holding `Shift` and clicking the `Play Preview` button, or by pressing `Shift` + `Enter`
- Change the framerate that the timeline is played at in project settings
### Layers
- Create a layer with the `Add Layer` button
- Delete the current layer with the `Delete Layer` button
- Rename a layer by clicking on its name
- Layers can be locked by clicking the lock icon on that layer
- Layers can be hidden by clicking the eye icon in that layer
- Layers can be reordered by dragging them by the three lines icon on the left
### Tweens
- Create a motion tween on a frame by right clicking a frame and selecting `Create Motion Tween`.
- If there are multiple objects on the frame when a motion tween is created, they will be automatically grouped into a single object.
- Create keyframes by right clicking and selecting `Insert Keyframe`.
- Copy and paste keyframes by right clicking a keyframe and selecting `Copy Keyframe` or `Paste Keyframe`.
- Keyframes will be automatically added if an object is modified while the playhead is over a point on the frame without a keyframe.
- You can change the "easing" of a tween in the Inspector. The current options are `None`, `Ease In`, `Ease Out`, and `Ease In-Out`.
- If you want to rotate an object 360 degrees or more in a tween, use the `Number of Rotations` value in the Inspector. _Note: You can rotate objects counter-clockwise by using a negative value here._
- Tweening of all transformations (x, y, scale, rotation) is possible, as well as opacity.
### Sounds
- Add a sound to a frame by dragging it from the asset library onto a frame, or by selecing a frame and choosing a sound from the dropdown menu in the Inspector.
### Onion Skinning
- Click the onion icon to enable onion skinning
- Control how many frames are shown in onion skin by dragging the edges of the box near the playhead.
## Import
### Images
Import images by dragging them into the editor or by selecting `Import` -> `Image` in the menu bar.
_Supported image types:_
- `png`
- `jpeg`
- `bmp`
- `gif` (_Animated GIFs are converted into clips with all the frames of the original GIF_)
### Sounds
Import sounds by dragging them into the editor or by selecting `Import` -> `Sound` in the menu bar.
_Supported sound file types:_
- `mp3`
- `wav`
- `ogg`
### SVG
Import SVGs by dragging them into the editor or by selecting `Import` -> `SVG` in the menu bar.
### Asset Library
- All assets used in the project are stored in the Asset Library.
- Reorganize assets by clicking and dragging them.
- Rename assets by selecting an asset and clicking the `Rename Asset` button.
- Delete assets by selecting an asset and clicking the `Delete Asset` button.
## Wick Objects
All Wick Objects have the following attributes:
- Position (x,y)
- Width
- Height
- Scale (x,y)
- Rotation (angle, 0-360)
- Opacity
### Paths
_Attributes:_
- Fill color
- Stroke color
- Stroke width
- Boolean Operations
- Unite: Combines two or more paths into one path.
- Subtract: Uses the topmost path to cut out a portion of other selected paths.
### Images
_Attributes:_
- Asset source
### Text
_Attributes:_
- Font family
- Font size
- Font color
- Text align
- Bold
- Italic
### Groups
- Create a group by right clicking wick object(s) and selecting `Group Objects` or by pressing `Modifier` + `G`.
- Edit group by double clicking or right clicking and selecting `Edit Group`.
- Leave group by using breadcrumbs or by double clicking
- Break apart a group by right clicking and selecting `Break Apart` or by pressing `Modifier` + `B`
### Buttons
- Right click a selection of wick object(s) and select `Create Clip from Objects`.
- A dialog box will open up prompting you to name the new Clip
- An asset will be created out of the new Clip, and the new Clip will use that asset as its source. _(to change this later, select a different "clip resource" in the inspector)_
_Button Appearance_
- To change how a button appears when it interacts with the mouse, right click the button and select `Edit Button`.
- Create frames in the places where the timeline is labeled `Up`, `Over`, and `Down`.
### Clips
_Creating a Clip_
- Right click a selection of wick object(s) and select `Create Clip from Objects`.
- A dialog box will open up prompting you to name the new Clip
- An asset will be created out of the new Clip, and the new Clip will use that asset as its source. _(to change this later, select a different "clip resource" in the inspector)_
_Clip timelines_
- Clips have their own timelines.
- Clip timelines run independently of the main timeline.
- Edit the timeline of a Clip by double clicking or right clicking the Clip and selecting `Edit Timeline`.
- Leave the timeline of the clip by using breadcrumbs or by double clicking the canvas.
_Clip attributes_
- Name (used in scripting - see `Writing Scripts` section.)
- Start frame
- Autoplay
__Note__ that the "root object" is actually a Clip that contains everything in the project. You can never leave the root object.
## Writing Scripts
Scripts can be added to Clips, Buttons, and Frames.
With an Clip, Button, or Frame selected, open the Scripting Window by clicking the bar along the bottom of the editor.
### Object Access
- You can access any named Clip by using its name. For example, to set some value of a Clip named "player", you would use a line of code like this:
`player.rotation = 90`
- You can access the object that the script belongs to using the keyword `this`.
- You can access the root object of the project by using the keyword `root`.
- You can access the parent object of the current object by using the keyword `parent`.
### Moving the Timeline Programmatically
- While a project is running, the playhead will automatically move forward once per "tick". Projects "tick" at the rate of the framerate
- (e.g. a project with a framerate of 12 will tick 12 times per second.)
All timeline functions can be used on objects, such as:
- `root.play()`
- `this.stop()`
- `yourOwnObject.gotoAndPlay(2)`
as well as by themselves, where they will refer to the timeline where the script was added:
- `play()`
- `gotoAndStop(2)`
### Variables
- Store information in an object by using variables as shown:
- `this.level = 5`
- `player.isAlive = true`
- `player.name = "Slombo"`
- `root.numberOfBees = 10000`
- See all builtin variables below in the `Script Reference` section
- Tip: Put variables that you want to access everywhere in `root`.
### Events
- Use events to run code when a certain event happens, such as when an object is clicked, or when an object first appears onscreen.
### Creating Objects Programmatically
- You can create instances of Clips from the Asset Library programmatically by using `createInstanceOf()` with the name of the asset to use. Example:
`enemy = createInstanceOf("Enemy")`
### Errors
- If your script contains a syntax error, the project will not run until it is fixed. The Scripting Window will highlight the line that contains the syntax error.
- If a runtime error occurs while the project is running, the player will close, and the line that caused the error will be highlighted in the Scripting Window.
## Script Reference
### Scope
Name | Description
--- | ---
`this` | Refers to the Wick Object running the script.
`parent` | Refers to the parent of the Wick Object running the script. (This is `null` for the root object.)
`root` | Refers to the root object of the project.
### Timeline
Name | Description
--- | ---
`play()` | Plays the timeline.
`stop()` | Stops the timeline.
`gotoAndStop(frame)` | Moves the timeline to the specified frame and stops the timeline. You can use a number to move the timeline to a certain position, or a string to move the timeline to a named frame.
`gotoAndPlay(frame)` | Moves the timeline to the specified frame and plays the timeline. You can use a number to move the timeline to a certain position, or a string to move the timeline to a named frame.
`gotoNextFrame()` | Moves the timeline to the next frame.
`gotoPrevFrame()` | Moves the timeline to the previous frame.
`currentFrameNumber` | The current frame number that the timeline is currently on.
`currentFrameName` | The current name of the frame that the timeline is currently on. If the timeline is on an unnamed frame, this value will be `null`.
### Events
Name | Description
--- | ---
`on(load)` | Runs once when the object/frame first appears onscreen.
`on(update)` | Runs once per tick that the object/frame is onscreen.
`on(click)` | Runs when the object/frame is clicked (i.e. a full press and release)
`on(mousedown)` | Runs when the object/frame is first pressed by the mouse.
`on(mouseup)` | Runs when mouse is released over the frame/object.
`on(mouseenter)` | Runs when the mouse first rolls over the frame/object.
`on(mouseleave)` | Runs when the mouse leaves the frame/object.
`on(mousehover)` | Runs every tick that the mouse is hovered over the frame/object.
`on(mousedrag)` | Runs every tick that the mouse is hovered over the frame/object while held down.
`on(keypressed)` | Runs when a key is pressed.
`on(keydown)` | Runs every tick that a key is held down.
`on(keyup)` | Runs when a key is released.
### Wick Object Attributes
Name | Description
--- | ---
`x` | The horizontal position of the object on the x-axis.
`y` | The vertical position of the object on the y-axis.
`scaleX` | The horizontal scale of the object.
`scaleY` | The vertical scale of the object.
`rotation` | The rotation of the object, in angles.
`flipX` | True if the object is mirrored horizontally, false otherwise.
`flipY` | True if the object is mirrored vertically, false otherwise.
`opacity` | Value from 0.0 to 1.0 where 0.0 is completely transparent, and 1.0 is completely opaque.
### Wick Object Methods
Name | Description
--- | ---
`hitTest(object)` | Returns `true` if the object collides with the speicified object.
`delete()` | Deletes the object.
### Mouse Input
Name | Description
--- | ---
`mouseX` | The position of the mouse on the x-axis.
`mouseY` | The position of the mouse on the y-axis.
`mouseMoveX` | The amount the mouse has moved on the x-axis.
`mouseMoveY` | The amount the mouse has moved on the y-axis.
### Keyboard Input
Name | Description
--- | ---
`key` | The last key that was pressed/released/held down.
`keyIsDown(key)` | Returns true if the specified key is currently held down.
`keyJustPressed(key)` | Returns true if the specified key was pressed.
### Sound
Name | Description
--- | ---
`playSound(filename)` | Plays the specified sound from the Asset Library.
`stopAllSounds()` | Stops all currently playing sounds.
### Creating Objects
Name | Description
--- | ---
`createInstanceOf(assetName)` | Creates a Clip using the specified asset as its source.
`getAllInstancesOf(assetName)` | Returns an array containing all objects onscreen that are instances of the specified asset.
## Saving Projects
### Autosave
- Projects are "autosaved" every time you run your project.
- You can also force an autosave by clicking on the title of the project in the top-left corner of the screen, or by pressing `Modifier` + `Shift` + `S`.
- __Autosaved projects are deleted when you clear your browser cache.__ It is recommended to save your projects as .wick files as often as possible.
### .wick file format
- A .wick file is the native filetype for Wick projects.
- .wick files can be opened in the editor by dragging them into the browser window, or by clicking `File` -> `Open Project` and selecting them.
## Exporting Projects
### .zip archive
- `File` -> `Export ZIP Archive`
- The exported .zip archive will contain the Wick Player bundled into an html file named `index.html`, as well as your project named `wick-project.wick`.
- Most Flash/HTML5 game websites accept `.zip` files in this format.
### Video
- `File` -> `Export Video`
- Choose quality (Low, Medium, High, or Ultra)
- Videos are exported as `mp4` files using the `mpeg4` codec.
## Builtin Player
- Play your project in the builtin player by clicking the `Run` button in the menu bar or by pressing `Modifier` + `Enter`.
- Close the builtin player by clicking the X in the top right corner or by pressing `Escape`.
- If script errors happen inside the builtin player, the player will close and the editor will show you where the error happened by selecting the object or frame that caused the error.
- You can run the builtin player in a new window by pressing `Modifier` + `Shift` + `Enter`, but errors will not be shown in the editor.
## Embedding Projects
To embed a .wick file, you will need the Wick Player html file. Download it **TODO** here.
Then, embed the player in an iframe and add the filename of your project with an `#` after `player.html` as shown here:
`<iframe width="720" height="480" src="player.html#myproject.wick"></iframe>`
================================================
FILE: LICENSE.txt
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
This repo is no longer active, please go to the new one: https://github.com/wicklets/wick-editor
================================================
FILE: code-of-conduct.md
================================================
# Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender identity and expression, level of experience,
education, socio-economic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.
## Our Standards
Examples of behavior that contributes to creating a positive environment
include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members
Examples of unacceptable behavior by participants include:
* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Our Responsibilities
Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.
Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.
## Scope
This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at *contact@wickeditor.com*. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.
Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
[homepage]: https://www.contributor-covenant.org
================================================
FILE: index.html
================================================
<!-- Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli -->
<!-- This file is part of Wick.
Wick is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Wick is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Wick. If not, see <http://www.gnu.org/licenses/>. -->
<!DOCTYPE html>
<html>
<head>
<title>Wick Editor</title>
<!-- Google analytics -->
<!-- THIS IS TEMPORARY DONT KILL ME PLZ -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-88233944-1', 'auto');
ga('send', 'pageview');
</script>
<link rel="stylesheet" type="text/css" href="styles/editor.css">
<link rel="stylesheet" type="text/css" href="styles/timeline.css">
<link rel="stylesheet" type="text/css" href="styles/scriptingide.css">
<link rel="stylesheet" type="text/css" href="lib/skin-win8/ui.fancytree.css">
<link rel="stylesheet" type="text/css" href="styles/library.css">
<link rel="stylesheet" type="text/css" href="styles/inspector.css">
<link rel="stylesheet" type="text/css" href="styles/toolbar.css">
<link rel="stylesheet" type="text/css" href="styles/colorpicker.css">
<link rel="stylesheet" type="text/css" href="styles/textBox.css">
<link rel="stylesheet" type="text/css" href="lib/rangeslider.css">
<link rel="stylesheet" type="text/css" href="lib/nouislider.css">
<link rel="stylesheet" type="text/css" href="lib/spectrum.css">
<link rel="stylesheet" type="text/css" href="styles/progressBar.css">
<link rel="stylesheet" type="text/css" href="styles/videoExporter.css">
<script src="lib/jquery.min.js"></script>
<script src="lib/jquery-ui.custom.min.js"></script>
<script src="lib/jquery.fancytree.js"></script>
<script src="lib/jquery.fancytree.filter.js"></script>
<script src="lib/potrace.js"></script>
<script src="lib/paper-full.js"></script>
<script src="lib/paperholefinder.js"></script>
<script src="lib/beautify.js"></script>
<script src="lib/FileSaver.min.js"></script>
<script src="lib/jscolor.js"></script>
<script src="lib/libgif.js"></script>
<script src="lib/lz-string.min.js"></script>
<script src="lib/jszip.min.js"></script>
<script src="lib/screenfull.js"></script>
<script src="lib/rangeslider.min.js"></script>
<script src="lib/gif.js"></script>
<script src="lib/gif.worker.js"></script>
<script src="lib/whammy.js"></script>
<script src="lib/filedownloader.js"></script>
<script src="lib/URLParameterUtils.js"></script>
<script src="lib/keyCharToCode.js"></script>
<script src="lib/timer.js"></script>
<script src="lib/canvasutils.js"></script>
<script src="lib/polyfills.js"></script>
<script src="lib/fpscounter.js"></script>
<script src="lib/base64-arraybuffer.js"></script>
<script src="lib/random.js"></script>
<script src="lib/Tween.js"></script>
<script src="lib/lerp.js"></script>
<script src="lib/bowser.js"></script>
<script src="lib/howler.min.js"></script>
<script src="lib/pixi.4.5.6.min.js"></script>
<script src="lib/scrollbar.js"></script>
<script src="lib/nouislider.js"></script>
<script src="lib/soundcloud-waveform.js"></script>
<script src="lib/html2canvas.js"></script>
<script src="lib/localstoragewrapper.js"></script>
<script src="lib/ace/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/ace/ext-language_tools.min.js" type="text/javascript" charset="utf-8"></script>
<script src="lib/spectrum.js"></script>
<script src="lib/pressure.min.js"></script>
<script src="lib/WickEditorInputs.js"></script>
<script src="lib/idb-keyval-min.js"></script>
<script src="lib/offset.js"></script>
<script src="lib/floodfill.min.js" type="text/javascript"></script>
<script src="lib/webfont.js" type="text/javascript"></script>
<script src="lib/video-export/videoExporter.js" type="text/javascript"></script>
<script src="lib/croquis.js"></script>
<script src="src/project/WickDocs.js"></script>
<script src="src/project/WickFrame.js"></script>
<script src="src/project/WickLayer.js"></script>
<script src="src/project/WickObject.js"></script>
<script src="src/project/WickAsset.js"></script>
<script src="src/project/WickProject.js"></script>
<script src="src/project/WickProject.Exporter.js"></script>
<script src="src/project/WickProject.Compressor.js"></script>
<script src="src/project/WickProject.AssetLibrary.js"></script>
<script src="src/project/WickTween.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Interactive.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Backdrop.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.Fast.js"></script>
<script src="src/editor/interfaces/Interfaces.Canvas.ImageRenderer.js"></script>
<script src="src/editor/interfaces/Interfaces.Library.js"></script>
<script src="src/editor/interfaces/Interfaces.BuiltinPlayer.js"></script>
<script src="src/editor/interfaces/Interfaces.RightClickMenu.js"></script>
<script src="src/editor/interfaces/Interfaces.ScriptingIDE.js"></script>
<script src="src/editor/interfaces/Interfaces.ScriptingIDE.Reference.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.FramesContainer.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.Interactions.js"></script>
<script src="src/editor/interfaces/Interfaces.Timeline.LayersContainer.js"></script>
<script src="src/editor/interfaces/Interfaces.Toolbar.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.Properties.js"></script>
<script src="src/editor/interfaces/Interfaces.Inspector.InputTypes.js"></script>
<script src="src/editor/interfaces/Interfaces.MenuBar.js"></script>
<script src="src/editor/interfaces/Interfaces.Breadcrumbs.js"></script>
<script src="src/editor/interfaces/Interfaces.AlertBox.js"></script>
<script src="src/editor/interfaces/Interfaces.CursorIcon.js"></script>
<script src="src/editor/interfaces/Interfaces.EditorSettings.js"></script>
<script src="src/editor/interfaces/Interfaces.Credits.js"></script>
<script src="src/editor/interfaces/Interfaces.ColorPicker.js"></script>
<script src="src/editor/interfaces/Interfaces.TextEditBox.js"></script>
<script src="src/editor/interfaces/Interfaces.VideoExporter.js"></script>
<script src="src/editor/tools/Tools.SelectionCursor.js"></script>
<script src="src/editor/tools/Tools.VectorCursor.js"></script>
<script src="src/editor/tools/Tools.FillBucket.js"></script>
<script src="src/editor/tools/Tools.Pencil.js"></script>
<script src="src/editor/tools/Tools.Paintbrush.js"></script>
<script src="src/editor/tools/Tools.Eraser.js"></script>
<script src="src/editor/tools/Tools.Rectangle.js"></script>
<script src="src/editor/tools/Tools.Ellipse.js"></script>
<script src="src/editor/tools/Tools.Line.js"></script>
<script src="src/editor/tools/Tools.Pen.js"></script>
<script src="src/editor/tools/Tools.Dropper.js"></script>
<script src="src/editor/tools/Tools.Text.js"></script>
<script src="src/editor/tools/Tools.Zoom.js"></script>
<script src="src/editor/tools/Tools.Pan.js"></script>
<script src="src/editor/WickEditor.js"></script>
<script src="src/editor/WickEditor.Settings.js"></script>
<script src="src/editor/WickEditor.WickActionHandler.js"></script>
<script src="src/editor/WickEditor.GuiActionHandler.js"></script>
<script src="src/editor/WickEditor.InputHandler.js"></script>
<script src="src/player/WickPlayer.js"></script>
<script src="src/player/WickPlayer.PixiRenderer.js"></script>
<script src="src/player/WickPlayer.HowlerAudioPlayer.js"></script>
<script src="src/player/WickPlayer.InputHandler.js"></script>
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Anonymous+Pro" />
<script>
$(document).ready(function() {
window.wickEditor = new WickEditor();
});
</script>
</head>
<body>
<div class="alpha-warning">
<script>function hideWarning () { var e = document.getElementsByClassName('alpha-warning')[0];e.style.pointerEvents='none';e.style.display='none'; }; if (localStorage.hideWarning) { hideWarning(); };</script>
<div class="alpha-warning-text">
NOTE: The Wick Editor is currently in open beta!<hr class="alpha-warning-hr" />Please report all bugs on <a class="forums-link" href="http://forum.wickeditor.com/" target="_blank">the forums</a>!!
</div>
<div class="alpha-warning-closebutton" onclick="localStorage.hideWarning='true';hideWarning();"></div>
</div>
<div class="noselect">
<!-- Hidden element to always be selected so browser always fires copy/paste events -->
<input id="hidden-input" class="hidden" type="text" value="" />
<!-- Hidden element that gets clicked by other divs to open file dialog -->
<input type="file" class="hidden" id="importButton" />
<div id="alert-box" class="GUIBox">
<div class="alert-box-icon"></div>
<div class="alert-box-text"></div>
</div>
<div id="editor">
<div tabindex="1" id="editorCanvasContainer">
<div id="previewRenderContainer"></div>
</div>
<div id="cursorIcon" class="GUIBox"></div>
<div id="timelineGUI" class="GUIBox"></div>
<div id="breadcrumbsGUI" class="GUIBox"></div>
<div id="editorSettingsGUI" class="GUIBox">
<div class="editorSettingsGUITitle">Hotkeys</div>
<div class="editorSettingsGUICloseButton"></div>
<div class="editorSettingsGUIHotkeys"></div>
</div>
<div id="videoExportGUI" class="GUIBox">
</div>
<div id="editorCreditsGUI" class="GUIBox">
<div class="editorCreditsCloseButton"></div>
<div class="editorCreditsContent"></div>
</div>
<div id="toolbarGUI" class="GUIBox">
<div id="tools"></div>
</div>
<div id="inspectorGUI" class="GUIBox">
<div id="inspector-title">Inspector</div>
<div class="inspector-title-bar">
<div class="inspector-selection-icon"></div>
<div class="inspector-selection-title"></div>
</div>
<div class="inspector-allitems-container">
<div class="inspector-properties-container"></div>
<div class="inspector-buttons-container"></div>
</div>
<div id="treeContainer">
<div id="inspector-title">Asset Library</div>
<div id="treeFilterContainer">
<input id="treeFilterInput" type="text" placeholder="filter...">
</div>
<div id="tree"><ul></ul></div>
<div id="treeOptionsContainer">
<div class="tooltipElem assetLibraryButton" id="deleteAssetButton" alt="Delete Asset"></div>
<div class="tooltipElem assetLibraryButton" id="renameAssetButton" alt="Rename Asset"></div>
</div>
</div>
</div>
<div id="scriptingGUI" class="GUIBox">
<div id="scriptObjectDiv">
<div id="scriptEditor"></div>
<div id="scriptEditorSidebar">
<!--<div id="scriptEditorObjectName"></div>
<img id="scriptEditorObjectThumbnail" />-->
<div id="scriptEditorReference"></div>
</div>
</div>
<div id="noSelectionDiv">
<div id="noSelectionText"></div>
</div>
<div id="scriptingIDEHeader"></div>
<div id="resizeScriptingGUIBar"></div>
<div class="elemInRow">
<div class="button buttonInRow tooltipElem" id="beautifyButton" alt="Beautify Code"></div>
<div class="button buttonInRow tooltipElem" id="expandScriptingGUIButton" alt="Expand Scripting IDE"></div>
<div class="button buttonInRow tooltipElem" id="minimizeScriptingGUIButton" alt="Collapse Scripting GUI"></div>
<div class="button buttonInRow tooltipElem" id="closeScriptingGUIButton" alt="Close Code Tab"></div>
<div class="button buttonInRow tooltipElem" id="openScriptingGUIButton" alt="Open Code Tab"></div>
</div>
</div>
<div id="colorPickerGUI" class="GUIBox"></div>
<div id="dropFileMessage"><div id="dropFileMessageImage"></div></div>
</div>
<div id="builtinPlayer">
<div id="builtinPlayerGUI" class="GUIBox">
<div class="tooltipElem" id="closeBuiltinPlayerButton" alt="Close project"></div>
<div id="builtinPlayerProjectInfo"></div>
</div>
</div>
<div id="tooltipGUI" class="GUIBox tooltip"></div>
<div onclick="window.open('http://forum.wickeditor.com/t/wick-0-15-update-thread-video-export/461')" id="wick-editor-version"></div>
</div>
</body>
</html>
================================================
FILE: lib/SAT.js
================================================
/* SAT.js - Version 0.6.0 - Copyright 2012 - 2016 - Jim Riecken <jimr@jimr.ca> - released under the MIT License. https://github.com/jriecken/sat-js */
function x(){function c(a,e){this.x=a||0;this.y=e||0}function B(a,e){this.pos=a||new c;this.r=e||0}function n(a,e){this.pos=a||new c;this.angle=0;this.offset=new c;this.u(e||[])}function q(a,e,b){this.pos=a||new c;this.w=e||0;this.h=b||0}function w(){this.b=this.a=null;this.overlapN=new c;this.overlapV=new c;this.clear()}function C(a,e,b){for(var h=Number.MAX_VALUE,c=-Number.MAX_VALUE,k=a.length,g=0;g<k;g++){var d=a[g].f(e);d<h&&(h=d);d>c&&(c=d)}b[0]=h;b[1]=c}function y(a,e,b,h,c,k){var g=r.pop(),
d=r.pop();a=m.pop().c(e).sub(a);e=a.f(c);C(b,c,g);C(h,c,d);d[0]+=e;d[1]+=e;if(g[0]>d[1]||d[0]>g[1])return m.push(a),r.push(g),r.push(d),!0;k&&(g[0]<d[0]?(k.aInB=!1,g[1]<d[1]?(b=g[1]-d[0],k.bInA=!1):(b=g[1]-d[0],h=d[1]-g[0],b=b<h?b:-h)):(k.bInA=!1,g[1]>d[1]?(b=g[0]-d[1],k.aInB=!1):(b=g[1]-d[0],h=d[1]-g[0],b=b<h?b:-h)),h=Math.abs(b),h<k.overlap&&(k.overlap=h,k.overlapN.c(c),0>b&&k.overlapN.reverse()));m.push(a);r.push(g);r.push(d);return!1}function z(a,e){var b=a.g(),c=e.f(a);return 0>c?-1:c>b?1:0}
function D(a,e,b){for(var c=m.pop().c(e.pos).sub(a.pos),l=e.r,k=l*l,g=a.calcPoints,d=g.length,u=m.pop(),f=m.pop(),n=0;n<d;n++){var v=n===d-1?0:n+1,r=0===n?d-1:n-1,q=0,t=null;u.c(a.edges[n]);f.c(c).sub(g[n]);b&&f.g()>k&&(b.aInB=!1);var p=z(u,f);if(-1===p){u.c(a.edges[r]);v=m.pop().c(c).sub(g[r]);p=z(u,v);if(1===p){p=f.j();if(p>l)return m.push(c),m.push(u),m.push(f),m.push(v),!1;b&&(b.bInA=!1,t=f.normalize(),q=l-p)}m.push(v)}else if(1===p){if(u.c(a.edges[v]),f.c(c).sub(g[v]),p=z(u,f),-1===p){p=f.j();
if(p>l)return m.push(c),m.push(u),m.push(f),!1;b&&(b.bInA=!1,t=f.normalize(),q=l-p)}}else{v=u.m().normalize();p=f.f(v);r=Math.abs(p);if(0<p&&r>l)return m.push(c),m.push(v),m.push(f),!1;b&&(t=v,q=l-p,0<=p||q<2*l)&&(b.bInA=!1)}t&&b&&Math.abs(q)<Math.abs(b.overlap)&&(b.overlap=q,b.overlapN.c(t))}b&&(b.a=a,b.b=e,b.overlapV.c(b.overlapN).scale(b.overlap));m.push(c);m.push(u);m.push(f);return!0}function E(a,e,b){for(var c=a.calcPoints,l=c.length,k=e.calcPoints,g=k.length,d=0;d<l;d++)if(y(a.pos,e.pos,c,
k,a.normals[d],b))return!1;for(d=0;d<g;d++)if(y(a.pos,e.pos,c,k,e.normals[d],b))return!1;b&&(b.a=a,b.b=e,b.overlapV.c(b.overlapN).scale(b.overlap));return!0}var f={};f.Vector=c;f.V=c;c.prototype.copy=c.prototype.c=function(a){this.x=a.x;this.y=a.y;return this};c.prototype.clone=c.prototype.clone=function(){return new c(this.x,this.y)};c.prototype.perp=c.prototype.m=function(){var a=this.x;this.x=this.y;this.y=-a;return this};c.prototype.rotate=c.prototype.rotate=function(a){var e=this.x,b=this.y;
this.x=e*Math.cos(a)-b*Math.sin(a);this.y=e*Math.sin(a)+b*Math.cos(a);return this};c.prototype.reverse=c.prototype.reverse=function(){this.x=-this.x;this.y=-this.y;return this};c.prototype.normalize=c.prototype.normalize=function(){var a=this.j();0<a&&(this.x/=a,this.y/=a);return this};c.prototype.add=c.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};c.prototype.sub=c.prototype.sub=function(a){this.x-=a.x;this.y-=a.y;return this};c.prototype.scale=c.prototype.scale=function(a,e){this.x*=
a;this.y*=e||a;return this};c.prototype.project=c.prototype.o=function(a){var e=this.f(a)/a.g();this.x=e*a.x;this.y=e*a.y;return this};c.prototype.projectN=c.prototype.s=function(a){var e=this.f(a);this.x=e*a.x;this.y=e*a.y;return this};c.prototype.reflect=function(a){var e=this.x,b=this.y;this.o(a).scale(2);this.x-=e;this.y-=b;return this};c.prototype.reflectN=function(a){var e=this.x,b=this.y;this.s(a).scale(2);this.x-=e;this.y-=b;return this};c.prototype.dot=c.prototype.f=function(a){return this.x*
a.x+this.y*a.y};c.prototype.len2=c.prototype.g=function(){return this.f(this)};c.prototype.len=c.prototype.j=function(){return Math.sqrt(this.g())};f.Circle=B;B.prototype.getAABB=function(){var a=this.r,e=this.pos.clone().sub(new c(a,a));return(new q(e,2*a,2*a)).l()};f.Polygon=n;n.prototype.setPoints=n.prototype.u=function(a){if(!this.points||this.points.length!==a.length){var e,b=this.calcPoints=[],h=this.edges=[],l=this.normals=[];for(e=0;e<a.length;e++)b.push(new c),h.push(new c),l.push(new c)}this.points=
a;this.i();return this};n.prototype.setAngle=function(a){this.angle=a;this.i();return this};n.prototype.setOffset=function(a){this.offset=a;this.i();return this};n.prototype.rotate=n.prototype.rotate=function(a){for(var e=this.points,b=e.length,c=0;c<b;c++)e[c].rotate(a);this.i();return this};n.prototype.translate=n.prototype.translate=function(a,c){for(var b=this.points,h=b.length,l=0;l<h;l++)b[l].x+=a,b[l].y+=c;this.i();return this};n.prototype.i=function(){var a=this.calcPoints,c=this.edges,b=
this.normals,h=this.points,l=this.offset,k=this.angle,g=h.length,d;for(d=0;d<g;d++){var f=a[d].c(h[d]);f.x+=l.x;f.y+=l.y;0!==k&&f.rotate(k)}for(d=0;d<g;d++)h=a[d],h=c[d].c(d<g-1?a[d+1]:a[0]).sub(h),b[d].c(h).m().normalize()};n.prototype.getAABB=function(){for(var a=this.calcPoints,e=a.length,b=a[0].x,h=a[0].y,f=a[0].x,k=a[0].y,g=1;g<e;g++){var d=a[g];d.x<b?b=d.x:d.x>f&&(f=d.x);d.y<h?h=d.y:d.y>k&&(k=d.y)}return(new q(this.pos.clone().add(new c(b,h)),f-b,k-h)).l()};f.Box=q;q.prototype.toPolygon=q.prototype.l=
function(){var a=this.pos,e=this.w,b=this.h;return new n(new c(a.x,a.y),[new c,new c(e,0),new c(e,b),new c(0,b)])};f.Response=w;w.prototype.clear=w.prototype.clear=function(){this.bInA=this.aInB=!0;this.overlap=Number.MAX_VALUE;return this};for(var m=[],t=0;10>t;t++)m.push(new c);for(var r=[],t=0;5>t;t++)r.push([]);var A=new w,F=(new q(new c,1E-6,1E-6)).l();f.isSeparatingAxis=y;f.pointInCircle=function(a,c){var b=m.pop().c(a).sub(c.pos),h=c.r*c.r,f=b.g();m.push(b);return f<=h};f.pointInPolygon=function(a,
c){F.pos.c(a);A.clear();var b=E(F,c,A);b&&(b=A.aInB);return b};f.testCircleCircle=function(a,c,b){var f=m.pop().c(c.pos).sub(a.pos),l=a.r+c.r,k=f.g();if(k>l*l)return m.push(f),!1;b&&(k=Math.sqrt(k),b.a=a,b.b=c,b.overlap=l-k,b.overlapN.c(f.normalize()),b.overlapV.c(f).scale(b.overlap),b.aInB=a.r<=c.r&&k<=c.r-a.r,b.bInA=c.r<=a.r&&k<=a.r-c.r);m.push(f);return!0};f.testPolygonCircle=D;f.testCirclePolygon=function(a,c,b){if((a=D(c,a,b))&&b){c=b.a;var f=b.aInB;b.overlapN.reverse();b.overlapV.reverse();
b.a=b.b;b.b=c;b.aInB=b.bInA;b.bInA=f}return a};f.testPolygonPolygon=E;return f}"function"===typeof define&&define.amd?define(x):"object"===typeof exports?module.exports=x():this.SAT=x();
================================================
FILE: lib/Tween.js
================================================
/**
* Tween.js - Licensed under the MIT license
* https://github.com/tweenjs/tween.js
* ----------------------------------------------
*
* See https://github.com/tweenjs/tween.js/graphs/contributors for the full list of contributors.
* Thank you all, you're awesome!
*/
var TWEEN = TWEEN || (function () {
var _tweens = [];
return {
getAll: function () {
return _tweens;
},
removeAll: function () {
_tweens = [];
},
add: function (tween) {
_tweens.push(tween);
},
remove: function (tween) {
var i = _tweens.indexOf(tween);
if (i !== -1) {
_tweens.splice(i, 1);
}
},
update: function (time, preserve) {
if (_tweens.length === 0) {
return false;
}
var i = 0;
time = time !== undefined ? time : TWEEN.now();
while (i < _tweens.length) {
if (_tweens[i].update(time) || preserve) {
i++;
} else {
_tweens.splice(i, 1);
}
}
return true;
}
};
})();
// Include a performance.now polyfill.
// In node.js, use process.hrtime.
if (typeof (window) === 'undefined' && typeof (process) !== 'undefined') {
TWEEN.now = function () {
var time = process.hrtime();
// Convert [seconds, nanoseconds] to milliseconds.
return time[0] * 1000 + time[1] / 1000000;
};
}
// In a browser, use window.performance.now if it is available.
else if (typeof (window) !== 'undefined' &&
window.performance !== undefined &&
window.performance.now !== undefined) {
// This must be bound, because directly assigning this function
// leads to an invocation exception in Chrome.
TWEEN.now = window.performance.now.bind(window.performance);
}
// Use Date.now if it is available.
else if (Date.now !== undefined) {
TWEEN.now = Date.now;
}
// Otherwise, use 'new Date().getTime()'.
else {
TWEEN.now = function () {
return new Date().getTime();
};
}
TWEEN.Tween = function (object) {
var _object = object;
var _valuesStart = {};
var _valuesEnd = {};
var _valuesStartRepeat = {};
var _duration = 1000;
var _repeat = 0;
var _repeatDelayTime;
var _yoyo = false;
var _isPlaying = false;
var _reversed = false;
var _delayTime = 0;
var _startTime = null;
var _easingFunction = TWEEN.Easing.Linear.None;
var _interpolationFunction = TWEEN.Interpolation.Linear;
var _chainedTweens = [];
var _onStartCallback = null;
var _onStartCallbackFired = false;
var _onUpdateCallback = null;
var _onCompleteCallback = null;
var _onStopCallback = null;
this.to = function (properties, duration) {
_valuesEnd = properties;
if (duration !== undefined) {
_duration = duration;
}
return this;
};
this.start = function (time) {
TWEEN.add(this);
_isPlaying = true;
_onStartCallbackFired = false;
_startTime = time !== undefined ? time : TWEEN.now();
_startTime += _delayTime;
for (var property in _valuesEnd) {
// Check if an Array was provided as property value
if (_valuesEnd[property] instanceof Array) {
if (_valuesEnd[property].length === 0) {
continue;
}
// Create a local copy of the Array with the start value at the front
_valuesEnd[property] = [_object[property]].concat(_valuesEnd[property]);
}
// If `to()` specifies a property that doesn't exist in the source object,
// we should not set that property in the object
if (_object[property] === undefined) {
continue;
}
// Save the starting value.
_valuesStart[property] = _object[property];
if ((_valuesStart[property] instanceof Array) === false) {
_valuesStart[property] *= 1.0; // Ensures we're using numbers, not strings
}
_valuesStartRepeat[property] = _valuesStart[property] || 0;
}
return this;
};
this.stop = function () {
if (!_isPlaying) {
return this;
}
TWEEN.remove(this);
_isPlaying = false;
if (_onStopCallback !== null) {
_onStopCallback.call(_object, _object);
}
this.stopChainedTweens();
return this;
};
this.end = function () {
this.update(_startTime + _duration);
return this;
};
this.stopChainedTweens = function () {
for (var i = 0, numChainedTweens = _chainedTweens.length; i < numChainedTweens; i++) {
_chainedTweens[i].stop();
}
};
this.delay = function (amount) {
_delayTime = amount;
return this;
};
this.repeat = function (times) {
_repeat = times;
return this;
};
this.repeatDelay = function (amount) {
_repeatDelayTime = amount;
return this;
};
this.yoyo = function (yoyo) {
_yoyo = yoyo;
return this;
};
this.easing = function (easing) {
_easingFunction = easing;
return this;
};
this.interpolation = function (interpolation) {
_interpolationFunction = interpolation;
return this;
};
this.chain = function () {
_chainedTweens = arguments;
return this;
};
this.onStart = function (callback) {
_onStartCallback = callback;
return this;
};
this.onUpdate = function (callback) {
_onUpdateCallback = callback;
return this;
};
this.onComplete = function (callback) {
_onCompleteCallback = callback;
return this;
};
this.onStop = function (callback) {
_onStopCallback = callback;
return this;
};
this.update = function (time) {
var property;
var elapsed;
var value;
if (time < _startTime) {
return true;
}
if (_onStartCallbackFired === false) {
if (_onStartCallback !== null) {
_onStartCallback.call(_object, _object);
}
_onStartCallbackFired = true;
}
elapsed = (time - _startTime) / _duration;
elapsed = elapsed > 1 ? 1 : elapsed;
value = _easingFunction(elapsed);
for (property in _valuesEnd) {
// Don't update properties that do not exist in the source object
if (_valuesStart[property] === undefined) {
continue;
}
var start = _valuesStart[property] || 0;
var end = _valuesEnd[property];
if (end instanceof Array) {
_object[property] = _interpolationFunction(end, value);
} else {
// Parses relative end values with start as base (e.g.: +10, -3)
if (typeof (end) === 'string') {
if (end.charAt(0) === '+' || end.charAt(0) === '-') {
end = start + parseFloat(end);
} else {
end = parseFloat(end);
}
}
// Protect against non numeric properties.
if (typeof (end) === 'number') {
_object[property] = start + (end - start) * value;
}
}
}
if (_onUpdateCallback !== null) {
_onUpdateCallback.call(_object, value);
}
if (elapsed === 1) {
if (_repeat > 0) {
if (isFinite(_repeat)) {
_repeat--;
}
// Reassign starting values, restart by making startTime = now
for (property in _valuesStartRepeat) {
if (typeof (_valuesEnd[property]) === 'string') {
_valuesStartRepeat[property] = _valuesStartRepeat[property] + parseFloat(_valuesEnd[property]);
}
if (_yoyo) {
var tmp = _valuesStartRepeat[property];
_valuesStartRepeat[property] = _valuesEnd[property];
_valuesEnd[property] = tmp;
}
_valuesStart[property] = _valuesStartRepeat[property];
}
if (_yoyo) {
_reversed = !_reversed;
}
if (_repeatDelayTime !== undefined) {
_startTime = time + _repeatDelayTime;
} else {
_startTime = time + _delayTime;
}
return true;
} else {
if (_onCompleteCallback !== null) {
_onCompleteCallback.call(_object, _object);
}
for (var i = 0, numChainedTweens = _chainedTweens.length; i < numChainedTweens; i++) {
// Make the chained tweens start exactly at the time they should,
// even if the `update()` method was called way past the duration of the tween
_chainedTweens[i].start(_startTime + _duration);
}
return false;
}
}
return true;
};
};
TWEEN.Easing = {
Linear: {
None: function (k) {
return k;
}
},
Quadratic: {
In: function (k) {
return k * k;
},
Out: function (k) {
return k * (2 - k);
},
InOut: function (k) {
if ((k *= 2) < 1) {
return 0.5 * k * k;
}
return - 0.5 * (--k * (k - 2) - 1);
}
},
Cubic: {
In: function (k) {
return k * k * k;
},
Out: function (k) {
return --k * k * k + 1;
},
InOut: function (k) {
if ((k *= 2) < 1) {
return 0.5 * k * k * k;
}
return 0.5 * ((k -= 2) * k * k + 2);
}
},
Quartic: {
In: function (k) {
return k * k * k * k;
},
Out: function (k) {
return 1 - (--k * k * k * k);
},
InOut: function (k) {
if ((k *= 2) < 1) {
return 0.5 * k * k * k * k;
}
return - 0.5 * ((k -= 2) * k * k * k - 2);
}
},
Quintic: {
In: function (k) {
return k * k * k * k * k;
},
Out: function (k) {
return --k * k * k * k * k + 1;
},
InOut: function (k) {
if ((k *= 2) < 1) {
return 0.5 * k * k * k * k * k;
}
return 0.5 * ((k -= 2) * k * k * k * k + 2);
}
},
Sinusoidal: {
In: function (k) {
return 1 - Math.cos(k * Math.PI / 2);
},
Out: function (k) {
return Math.sin(k * Math.PI / 2);
},
InOut: function (k) {
return 0.5 * (1 - Math.cos(Math.PI * k));
}
},
Exponential: {
In: function (k) {
return k === 0 ? 0 : Math.pow(1024, k - 1);
},
Out: function (k) {
return k === 1 ? 1 : 1 - Math.pow(2, - 10 * k);
},
InOut: function (k) {
if (k === 0) {
return 0;
}
if (k === 1) {
return 1;
}
if ((k *= 2) < 1) {
return 0.5 * Math.pow(1024, k - 1);
}
return 0.5 * (- Math.pow(2, - 10 * (k - 1)) + 2);
}
},
Circular: {
In: function (k) {
return 1 - Math.sqrt(1 - k * k);
},
Out: function (k) {
return Math.sqrt(1 - (--k * k));
},
InOut: function (k) {
if ((k *= 2) < 1) {
return - 0.5 * (Math.sqrt(1 - k * k) - 1);
}
return 0.5 * (Math.sqrt(1 - (k -= 2) * k) + 1);
}
},
Elastic: {
In: function (k) {
if (k === 0) {
return 0;
}
if (k === 1) {
return 1;
}
return -Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
},
Out: function (k) {
if (k === 0) {
return 0;
}
if (k === 1) {
return 1;
}
return Math.pow(2, -10 * k) * Math.sin((k - 0.1) * 5 * Math.PI) + 1;
},
InOut: function (k) {
if (k === 0) {
return 0;
}
if (k === 1) {
return 1;
}
k *= 2;
if (k < 1) {
return -0.5 * Math.pow(2, 10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI);
}
return 0.5 * Math.pow(2, -10 * (k - 1)) * Math.sin((k - 1.1) * 5 * Math.PI) + 1;
}
},
Back: {
In: function (k) {
var s = 1.70158;
return k * k * ((s + 1) * k - s);
},
Out: function (k) {
var s = 1.70158;
return --k * k * ((s + 1) * k + s) + 1;
},
InOut: function (k) {
var s = 1.70158 * 1.525;
if ((k *= 2) < 1) {
return 0.5 * (k * k * ((s + 1) * k - s));
}
return 0.5 * ((k -= 2) * k * ((s + 1) * k + s) + 2);
}
},
Bounce: {
In: function (k) {
return 1 - TWEEN.Easing.Bounce.Out(1 - k);
},
Out: function (k) {
if (k < (1 / 2.75)) {
return 7.5625 * k * k;
} else if (k < (2 / 2.75)) {
return 7.5625 * (k -= (1.5 / 2.75)) * k + 0.75;
} else if (k < (2.5 / 2.75)) {
return 7.5625 * (k -= (2.25 / 2.75)) * k + 0.9375;
} else {
return 7.5625 * (k -= (2.625 / 2.75)) * k + 0.984375;
}
},
InOut: function (k) {
if (k < 0.5) {
return TWEEN.Easing.Bounce.In(k * 2) * 0.5;
}
return TWEEN.Easing.Bounce.Out(k * 2 - 1) * 0.5 + 0.5;
}
}
};
TWEEN.Interpolation = {
Linear: function (v, k) {
var m = v.length - 1;
var f = m * k;
var i = Math.floor(f);
var fn = TWEEN.Interpolation.Utils.Linear;
if (k < 0) {
return fn(v[0], v[1], f);
}
if (k > 1) {
return fn(v[m], v[m - 1], m - f);
}
return fn(v[i], v[i + 1 > m ? m : i + 1], f - i);
},
Bezier: function (v, k) {
var b = 0;
var n = v.length - 1;
var pw = Math.pow;
var bn = TWEEN.Interpolation.Utils.Bernstein;
for (var i = 0; i <= n; i++) {
b += pw(1 - k, n - i) * pw(k, i) * v[i] * bn(n, i);
}
return b;
},
CatmullRom: function (v, k) {
var m = v.length - 1;
var f = m * k;
var i = Math.floor(f);
var fn = TWEEN.Interpolation.Utils.CatmullRom;
if (v[0] === v[m]) {
if (k < 0) {
i = Math.floor(f = m * (1 + k));
}
return fn(v[(i - 1 + m) % m], v[i], v[(i + 1) % m], v[(i + 2) % m], f - i);
} else {
if (k < 0) {
return v[0] - (fn(v[0], v[0], v[1], v[1], -f) - v[0]);
}
if (k > 1) {
return v[m] - (fn(v[m], v[m], v[m - 1], v[m - 1], f - m) - v[m]);
}
return fn(v[i ? i - 1 : 0], v[i], v[m < i + 1 ? m : i + 1], v[m < i + 2 ? m : i + 2], f - i);
}
},
Utils: {
Linear: function (p0, p1, t) {
return (p1 - p0) * t + p0;
},
Bernstein: function (n, i) {
var fc = TWEEN.Interpolation.Utils.Factorial;
return fc(n) / fc(i) / fc(n - i);
},
Factorial: (function () {
var a = [1];
return function (n) {
var s = 1;
if (a[n]) {
return a[n];
}
for (var i = n; i > 1; i--) {
s *= i;
}
a[n] = s;
return s;
};
})(),
CatmullRom: function (p0, p1, p2, p3, t) {
var v0 = (p2 - p0) * 0.5;
var v1 = (p3 - p1) * 0.5;
var t2 = t * t;
var t3 = t * t2;
return (2 * p1 - 2 * p2 + v0 + v1) * t3 + (- 3 * p1 + 3 * p2 - 2 * v0 - v1) * t2 + v0 * t + p1;
}
}
};
// UMD (Universal Module Definition)
(function (root) {
if (typeof define === 'function' && define.amd) {
// AMD
define([], function () {
return TWEEN;
});
} else if (typeof module !== 'undefined' && typeof exports === 'object') {
// Node.js
module.exports = TWEEN;
} else if (root !== undefined) {
// Global variable
root.TWEEN = TWEEN;
}
})(this);
================================================
FILE: lib/URLParameterUtils.js
================================================
var URLParameterUtils = (function () {
var urlParameterUtils = { };
urlParameterUtils.getParameterByName = function (name, url) {
if (!url) url = window.location.href;
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
//http://stackoverflow.com/questions/1634748/how-can-i-delete-a-query-string-parameter-in-javascript
urlParameterUtils.clearURLParam = function (parameter) {
//prefer to use l.search if you have a location/link object
var url = window.location.href;
var urlparts= url.split('?');
if (urlparts.length>=2) {
var prefix= encodeURIComponent(parameter)+'=';
var pars= urlparts[1].split(/[&;]/g);
//reverse iteration as may be destructive
for (var i= pars.length; i-- > 0;) {
//idiom for string.startsWith
if (pars[i].lastIndexOf(prefix, 0) !== -1) {
pars.splice(i, 1);
}
}
url= urlparts[0] + (pars.length > 0 ? '?' + pars.join('&') : "");
//console.log(url)
//window.location.href = url;
history.pushState(null, null, url);
return url;
} else {
return url;
}
}
return urlParameterUtils;
})();
================================================
FILE: lib/WickEditorInputs.js
================================================
var SlideyNumberInput = function (args) {
var input = document.createElement('input');
input.type = 'text';
input.value = args.initValue;
var mouseIsDown = false;
var initXY = {};
var oldValue;
input.addEventListener('mousedown', function (e) {
mouseIsDown = true;
initXY.x = e.screenX - parseFloat(input.value)/args.moveFactor;
initXY.y = e.screenY;
oldValue = parseFloat(input.value);
});
input.addEventListener('mouseup', function (e) {
input.select();
});
window.addEventListener('mousemove', function (e) {
if(!mouseIsDown) return;
var diffXY = {
x:(e.screenX-initXY.x)*args.moveFactor,
y:(e.screenY-initXY.y)*args.moveFactor,
}
if(diffXY.x !== 0) {
input.value = roundToHundredths(Math.min(args.max, Math.max(args.min, diffXY.x)));
args.onsoftchange(input.value);
}
});
window.addEventListener('mouseup', function (e) {
if(mouseIsDown) {
if(parseFloat(input.value) !== oldValue) {
args.onhardchange(parseFloat(input.value) || args.min);
document.getElementById('editorCanvasContainer').focus();
}
}
mouseIsDown = false;
});
input.addEventListener('change', function (e) {
args.onhardchange(parseFloat(input.value) || args.min);
});
return input;
}
================================================
FILE: lib/ace/ace.js
================================================
(function(){function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.define.packaged)t.original=i.define,i.define=t,i.define.packaged=!0;if(!i.require||!i.require.packaged)r.original=i.require,i.require=r,i.require.packaged=!0}var ACE_NAMESPACE="",e=function(){return this}();!e&&typeof window!="undefined"&&(e=window);if(!ACE_NAMESPACE&&typeof requirejs!="undefined")return;var t=function(e,n,r){if(typeof e!="string"){t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(r=n),t.modules[e]||(t.payloads[e]=r,t.modules[e]=null)};t.modules={},t.payloads={};var n=function(e,t,n){if(typeof t=="string"){var i=s(e,t);if(i!=undefined)return n&&n(),i}else if(Object.prototype.toString.call(t)==="[object Array]"){var o=[];for(var u=0,a=t.length;u<a;++u){var f=s(e,t[u]);if(f==undefined&&r.original)return;o.push(f)}return n&&n.apply(null,o)||!0}},r=function(e,t){var i=n("",e,t);return i==undefined&&r.original?r.original.apply(this,arguments):i},i=function(e,t){if(t.indexOf("!")!==-1){var n=t.split("!");return i(e,n[0])+"!"+i(e,n[1])}if(t.charAt(0)=="."){var r=e.split("/").slice(0,-1).join("/");t=r+"/"+t;while(t.indexOf(".")!==-1&&s!=t){var s=t;t=t.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return t},s=function(e,r){r=i(e,r);var s=t.modules[r];if(!s){s=t.payloads[r];if(typeof s=="function"){var o={},u={id:r,uri:"",exports:o,packaged:!0},a=function(e,t){return n(r,e,t)},f=s(a,o,u);o=f||u.exports,t.modules[r]=o,delete t.payloads[r]}s=t.modules[r]=o||s}return s};o(ACE_NAMESPACE)})(),define("ace/lib/regexp",["require","exports","module"],function(e,t,n){"use strict";function o(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.extended?"x":"")+(e.sticky?"y":"")}function u(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(var r=n||0;r<e.length;r++)if(e[r]===t)return r;return-1}var r={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},i=r.exec.call(/()??/,"")[1]===undefined,s=function(){var e=/^/g;return r.test.call(e,""),!e.lastIndex}();if(s&&i)return;RegExp.prototype.exec=function(e){var t=r.exec.apply(this,arguments),n,a;if(typeof e=="string"&&t){!i&&t.length>1&&u(t,"")>-1&&(a=RegExp(this.source,r.replace.call(o(this),"g","")),r.replace.call(e.slice(t.index),a,function(){for(var e=1;e<arguments.length-2;e++)arguments[e]===undefined&&(t[e]=undefined)}));if(this._xregexp&&this._xregexp.captureNames)for(var f=1;f<t.length;f++)n=this._xregexp.captureNames[f-1],n&&(t[n]=t[f]);!s&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--}return t},s||(RegExp.prototype.test=function(e){var t=r.exec.call(this,e);return t&&this.global&&!t[0].length&&this.lastIndex>t.index&&this.lastIndex--,!!t})}),define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function r(){}function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function B(e){var t=typeof e;return e===null||t==="undefined"||t==="boolean"||t==="number"||t==="string"}function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="function"){t=n.call(e);if(B(t))return t}r=e.toString;if(typeof r=="function"){t=r.call(e);if(B(t))return t}throw new TypeError}Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError("Function.prototype.bind called on incompatible "+n);var i=u.call(arguments,1),s=function(){if(this instanceof s){var e=n.apply(this,i.concat(u.call(arguments)));return Object(e)===e?e:this}return n.apply(t,i.concat(u.call(arguments)))};return n.prototype&&(r.prototype=n.prototype,s.prototype=new r,r.prototype=null),s});var i=Function.prototype.call,s=Array.prototype,o=Object.prototype,u=s.slice,a=i.bind(o.toString),f=i.bind(o.hasOwnProperty),l,c,h,p,d;if(d=f(o,"__defineGetter__"))l=i.bind(o.__defineGetter__),c=i.bind(o.__defineSetter__),h=i.bind(o.__lookupGetter__),p=i.bind(o.__lookupSetter__);if([1,2].splice(0).length!=2)if(!function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t=[],n;t.splice.apply(t,e(20)),t.splice.apply(t,e(26)),n=t.length,t.splice(5,0,"XXX"),n+1==t.length;if(n+1==t.length)return!0}())Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):e==void 0?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=u.call(arguments,2),s=i.length;if(e===n)s&&this.push.apply(this,i);else{var o=Math.min(t,n-e),a=e+o,f=a+s-o,l=n-a,c=n-o;if(f<a)for(var h=0;h<l;++h)this[f+h]=this[a+h];else if(f>a)for(h=l;h--;)this[f+h]=this[a+h];if(s&&e===c)this.length=c,this.push.apply(this,i);else{this.length=c+s;for(h=0;h<s;++h)this[e+h]=i[h]}}return r};else{var v=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?v.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(u.call(arguments,2))):[]}}Array.isArray||(Array.isArray=function(t){return a(t)=="[object Array]"});var m=Object("a"),g=m[0]!="a"||!(0 in m);Array.prototype.forEach||(Array.prototype.forEach=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=arguments[1],s=-1,o=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError;while(++s<o)s in r&&t.call(i,r[s],s,n)}),Array.prototype.map||(Array.prototype.map=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=Array(i),o=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var u=0;u<i;u++)u in r&&(s[u]=t.call(o,r[u],u,n));return s}),Array.prototype.filter||(Array.prototype.filter=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=[],o,u=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var f=0;f<i;f++)f in r&&(o=r[f],t.call(u,o,f,n)&&s.push(o));return s}),Array.prototype.every||(Array.prototype.every=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&!t.call(s,r[o],o,n))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&t.call(s,r[o],o,n))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");var s=0,o;if(arguments.length>=2)o=arguments[1];else do{if(s in r){o=r[s++];break}if(++s>=i)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;s<i;s++)s in r&&(o=t.call(void 0,o,r[s],s,n));return o}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");var s,o=i-1;if(arguments.length>=2)s=arguments[1];else do{if(o in r){s=r[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);do o in this&&(s=t.call(void 0,s,r[o],o,n));while(o--);return s});if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)Array.prototype.indexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=0;arguments.length>1&&(i=H(arguments[1])),i=i>=0?i:Math.max(0,r+i);for(;i<r;i++)if(i in n&&n[i]===t)return i;return-1};if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)Array.prototype.lastIndexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=r-1;arguments.length>1&&(i=Math.min(i,H(arguments[1]))),i=i>=0?i:r-Math.abs(i);for(;i>=0;i--)if(i in n&&t===n[i])return i;return-1};Object.getPrototypeOf||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:o)});if(!Object.getOwnPropertyDescriptor){var y="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(t,n){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(y+t);if(!f(t,n))return;var r,i,s;r={enumerable:!0,configurable:!0};if(d){var u=t.__proto__;t.__proto__=o;var i=h(t,n),s=p(t,n);t.__proto__=u;if(i||s)return i&&(r.get=i),s&&(r.set=s),r}return r.value=t[n],r}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(t){return Object.keys(t)});if(!Object.create){var b;Object.prototype.__proto__===null?b=function(){return{__proto__:null}}:b=function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(t,n){var r;if(t===null)r=b();else{if(typeof t!="object")throw new TypeError("typeof prototype["+typeof t+"] != 'object'");var i=function(){};i.prototype=t,r=new i,r.__proto__=t}return n!==void 0&&Object.defineProperties(r,n),r}}if(Object.defineProperty){var E=w({}),S=typeof document=="undefined"||w(document.createElement("div"));if(!E||!S)var x=Object.defineProperty}if(!Object.defineProperty||x){var T="Property description must be an object: ",N="Object.defineProperty called on non-object: ",C="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(t,n,r){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(N+t);if(typeof r!="object"&&typeof r!="function"||r===null)throw new TypeError(T+r);if(x)try{return x.call(Object,t,n,r)}catch(i){}if(f(r,"value"))if(d&&(h(t,n)||p(t,n))){var s=t.__proto__;t.__proto__=o,delete t[n],t[n]=r.value,t.__proto__=s}else t[n]=r.value;else{if(!d)throw new TypeError(C);f(r,"get")&&l(t,n,r.get),f(r,"set")&&c(t,n,r.set)}return t}}Object.defineProperties||(Object.defineProperties=function(t,n){for(var r in n)f(n,r)&&Object.defineProperty(t,r,n[r]);return t}),Object.seal||(Object.seal=function(t){return t}),Object.freeze||(Object.freeze=function(t){return t});try{Object.freeze(function(){})}catch(k){Object.freeze=function(t){return function(n){return typeof n=="function"?n:t(n)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(t){return t}),Object.isSealed||(Object.isSealed=function(t){return!1}),Object.isFrozen||(Object.isFrozen=function(t){return!1}),Object.isExtensible||(Object.isExtensible=function(t){if(Object(t)===t)throw new TypeError;var n="";while(f(t,n))n+="?";t[n]=!0;var r=f(t,n);return delete t[n],r});if(!Object.keys){var L=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],O=A.length;for(var M in{toString:null})L=!1;Object.keys=function I(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var I=[];for(var t in e)f(e,t)&&I.push(t);if(L)for(var n=0,r=O;n<r;n++){var i=A[n];f(e,i)&&I.push(i)}return I}}Date.now||(Date.now=function(){return(new Date).getTime()});var _=" \n\f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||_.trim()){_="["+_+"]";var D=new RegExp("^"+_+_+"*"),P=new RegExp(_+_+"*$");String.prototype.trim=function(){return String(this).replace(D,"").replace(P,"")}}var F=function(e){if(e==null)throw new TypeError("can't convert "+e+" to object");return Object(e)}}),define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/regexp","ace/lib/es5-shim"],function(e,t,n){"use strict";e("./regexp"),e("./es5-shim")}),define("ace/lib/dom",["require","exports","module"],function(e,t,n){"use strict";var r="http://www.w3.org/1999/xhtml";t.getDocumentHead=function(e){return e||(e=document),e.head||e.getElementsByTagName("head")[0]||e.documentElement},t.createElement=function(e,t){return document.createElementNS?document.createElementNS(t||r,e):document.createElement(e)},t.hasCssClass=function(e,t){var n=(e.className+"").split(/\s+/g);return n.indexOf(t)!==-1},t.addCssClass=function(e,n){t.hasCssClass(e,n)||(e.className+=" "+n)},t.removeCssClass=function(e,t){var n=e.className.split(/\s+/g);for(;;){var r=n.indexOf(t);if(r==-1)break;n.splice(r,1)}e.className=n.join(" ")},t.toggleCssClass=function(e,t){var n=e.className.split(/\s+/g),r=!0;for(;;){var i=n.indexOf(t);if(i==-1)break;r=!1,n.splice(i,1)}return r&&n.push(t),e.className=n.join(" "),r},t.setCssClass=function(e,n,r){r?t.addCssClass(e,n):t.removeCssClass(e,n)},t.hasCssString=function(e,t){var n=0,r;t=t||document;if(t.createStyleSheet&&(r=t.styleSheets)){while(n<r.length)if(r[n++].owningElement.id===e)return!0}else if(r=t.getElementsByTagName("style"))while(n<r.length)if(r[n++].id===e)return!0;return!1},t.importCssString=function(n,r,i){i=i||document;if(r&&t.hasCssString(r,i))return null;var s;r&&(n+="\n/*# sourceURL=ace/css/"+r+" */"),i.createStyleSheet?(s=i.createStyleSheet(),s.cssText=n,r&&(s.owningElement.id=r)):(s=t.createElement("style"),s.appendChild(i.createTextNode(n)),r&&(s.id=r),t.getDocumentHead(i).appendChild(s))},t.importCssStylsheet=function(e,n){if(n.createStyleSheet)n.createStyleSheet(e);else{var r=t.createElement("link");r.rel="stylesheet",r.href=e,t.getDocumentHead(n).appendChild(r)}},t.getInnerWidth=function(e){return parseInt(t.computedStyle(e,"paddingLeft"),10)+parseInt(t.computedStyle(e,"paddingRight"),10)+e.clientWidth},t.getInnerHeight=function(e){return parseInt(t.computedStyle(e,"paddingTop"),10)+parseInt(t.computedStyle(e,"paddingBottom"),10)+e.clientHeight},t.scrollbarWidth=function(e){var n=t.createElement("ace_inner");n.style.width="100%",n.style.minWidth="0px",n.style.height="200px",n.style.display="block";var r=t.createElement("ace_outer"),i=r.style;i.position="absolute",i.left="-10000px",i.overflow="hidden",i.width="200px",i.minWidth="0px",i.height="150px",i.display="block",r.appendChild(n);var s=e.documentElement;s.appendChild(r);var o=n.offsetWidth;i.overflow="scroll";var u=n.offsetWidth;return o==u&&(u=r.clientWidth),s.removeChild(r),o-u};if(typeof document=="undefined"){t.importCssString=function(){};return}window.pageYOffset!==undefined?(t.getPageScrollTop=function(){return window.pageYOffset},t.getPageScrollLeft=function(){return window.pageXOffset}):(t.getPageScrollTop=function(){return document.body.scrollTop},t.getPageScrollLeft=function(){return document.body.scrollLeft}),window.getComputedStyle?t.computedStyle=function(e,t){return t?(window.getComputedStyle(e,"")||{})[t]||"":window.getComputedStyle(e,"")||{}}:t.computedStyle=function(e,t){return t?e.currentStyle[t]:e.currentStyle},t.setInnerHtml=function(e,t){var n=e.cloneNode(!1);return n.innerHTML=t,e.parentNode.replaceChild(n,e),n},"textContent"in document.documentElement?(t.setInnerText=function(e,t){e.textContent=t},t.getInnerText=function(e){return e.textContent}):(t.setInnerText=function(e,t){e.innerText=t},t.getInnerText=function(e){return e.innerText}),t.getParentWindow=function(e){return e.defaultView||e.parentWindow}}),define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),define("ace/lib/keys",["require","exports","module","ace/lib/fixoldbrowsers","ace/lib/oop"],function(e,t,n){"use strict";e("./fixoldbrowsers");var r=e("./oop"),i=function(){var e={MODIFIER_KEYS:{16:"Shift",17:"Ctrl",18:"Alt",224:"Meta"},KEY_MODS:{ctrl:1,alt:2,option:2,shift:4,"super":8,meta:8,command:8,cmd:8},FUNCTION_KEYS:{8:"Backspace",9:"Tab",13:"Return",19:"Pause",27:"Esc",32:"Space",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"Left",38:"Up",39:"Right",40:"Down",44:"Print",45:"Insert",46:"Delete",96:"Numpad0",97:"Numpad1",98:"Numpad2",99:"Numpad3",100:"Numpad4",101:"Numpad5",102:"Numpad6",103:"Numpad7",104:"Numpad8",105:"Numpad9","-13":"NumpadEnter",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"Numlock",145:"Scrolllock"},PRINTABLE_KEYS:{32:" ",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",107:"+",109:"-",110:".",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",111:"/",106:"*"}},t,n;for(n in e.FUNCTION_KEYS)t=e.FUNCTION_KEYS[n].toLowerCase(),e[t]=parseInt(n,10);for(n in e.PRINTABLE_KEYS)t=e.PRINTABLE_KEYS[n].toLowerCase(),e[t]=parseInt(n,10);return r.mixin(e,e.MODIFIER_KEYS),r.mixin(e,e.PRINTABLE_KEYS),r.mixin(e,e.FUNCTION_KEYS),e.enter=e["return"],e.escape=e.esc,e.del=e["delete"],e[173]="-",function(){var t=["cmd","ctrl","alt","shift"];for(var n=Math.pow(2,t.length);n--;)e.KEY_MODS[n]=t.filter(function(t){return n&e.KEY_MODS[t]}).join("-")+"-"}(),e.KEY_MODS[0]="",e.KEY_MODS[-1]="input-",e}();r.mixin(t,i),t.keyCodeToString=function(e){var t=i[e];return typeof t!="string"&&(t=String.fromCharCode(e)),t.toLowerCase()}}),define("ace/lib/useragent",["require","exports","module"],function(e,t,n){"use strict";t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};if(typeof navigator!="object")return;var r=(navigator.platform.match(/mac|win|linux/i)||["other"])[0].toLowerCase(),i=navigator.userAgent;t.isWin=r=="win",t.isMac=r=="mac",t.isLinux=r=="linux",t.isIE=navigator.appName=="Microsoft Internet Explorer"||navigator.appName.indexOf("MSAppHost")>=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=(window.Controllers||window.controllers)&&window.navigator.product==="Gecko",t.isOldGecko=t.isGecko&&parseInt((i.match(/rv:(\d+)/)||[])[1],10)<4,t.isOpera=window.opera&&Object.prototype.toString.call(window.opera)=="[object Opera]",t.isWebKit=parseFloat(i.split("WebKit/")[1])||undefined,t.isChrome=parseFloat(i.split(" Chrome/")[1])||undefined,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isIPad=i.indexOf("iPad")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,t.isIOS&&(t.isMac=!0)}),define("ace/lib/event",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(e,t,n){"use strict";function a(e,t,n){var a=u(t);if(!i.isMac&&s){t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(a|=8);if(s.altGr){if((3&a)==3)return;s.altGr=0}if(n===18||n===17){var f="location"in t?t.location:t.keyLocation;if(n===17&&f===1)s[n]==1&&(o=t.timeStamp);else if(n===18&&a===3&&f===2){var l=t.timeStamp-o;l<50&&(s.altGr=!0)}}}n in r.MODIFIER_KEYS&&(n=-1),a&8&&n>=91&&n<=93&&(n=-1);if(!a&&n===13){var f="location"in t?t.location:t.keyLocation;if(f===3){e(t,a,-n);if(t.defaultPrevented)return}}if(i.isChromeOS&&a&8){e(t,a,n);if(t.defaultPrevented)return;a&=-9}return!!a||n in r.FUNCTION_KEYS||n in r.PRINTABLE_KEYS?e(t,a,n):!1}function f(){s=Object.create(null)}var r=e("./keys"),i=e("./useragent"),s=null,o=0;t.addListener=function(e,t,n){if(e.addEventListener)return e.addEventListener(t,n,!1);if(e.attachEvent){var r=function(){n.call(e,window.event)};n._wrapper=r,e.attachEvent("on"+t,r)}},t.removeListener=function(e,t,n){if(e.removeEventListener)return e.removeEventListener(t,n,!1);e.detachEvent&&e.detachEvent("on"+t,n._wrapper||n)},t.stopEvent=function(e){return t.stopPropagation(e),t.preventDefault(e),!1},t.stopPropagation=function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0},t.preventDefault=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1},t.getButton=function(e){return e.type=="dblclick"?0:e.type=="contextmenu"||i.isMac&&e.ctrlKey&&!e.altKey&&!e.shiftKey?2:e.preventDefault?e.button:{1:0,2:2,4:1}[e.button]},t.capture=function(e,n,r){function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0),t.removeListener(document,"mouseup",i,!0),t.removeListener(document,"dragstart",i,!0)}return t.addListener(document,"mousemove",n,!0),t.addListener(document,"mouseup",i,!0),t.addListener(document,"dragstart",i,!0),i},t.addTouchMoveListener=function(e,n){if("ontouchmove"in e){var r,i;t.addListener(e,"touchstart",function(e){var t=e.changedTouches[0];r=t.clientX,i=t.clientY}),t.addListener(e,"touchmove",function(e){var t=1,s=e.changedTouches[0];e.wheelX=-(s.clientX-r)/t,e.wheelY=-(s.clientY-i)/t,r=s.clientX,i=s.clientY,n(e)})}},t.addMouseWheelListener=function(e,n){"onmousewheel"in e?t.addListener(e,"mousewheel",function(e){var t=8;e.wheelDeltaX!==undefined?(e.wheelX=-e.wheelDeltaX/t,e.wheelY=-e.wheelDeltaY/t):(e.wheelX=0,e.wheelY=-e.wheelDelta/t),n(e)}):"onwheel"in e?t.addListener(e,"wheel",function(e){var t=.35;switch(e.deltaMode){case e.DOM_DELTA_PIXEL:e.wheelX=e.deltaX*t||0,e.wheelY=e.deltaY*t||0;break;case e.DOM_DELTA_LINE:case e.DOM_DELTA_PAGE:e.wheelX=(e.deltaX||0)*5,e.wheelY=(e.deltaY||0)*5}n(e)}):t.addListener(e,"DOMMouseScroll",function(e){e.axis&&e.axis==e.HORIZONTAL_AXIS?(e.wheelX=(e.detail||0)*5,e.wheelY=0):(e.wheelX=0,e.wheelY=(e.detail||0)*5),n(e)})},t.addMultiMouseDownListener=function(e,n,r,s){function c(e){t.getButton(e)!==0?o=0:e.detail>1?(o++,o>4&&(o=1)):o=1;if(i.isIE){var c=Math.abs(e.clientX-u)>5||Math.abs(e.clientY-a)>5;if(!f||c)o=1;f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o-1]||600),o==1&&(u=e.clientX,a=e.clientY)}e._clicks=o,r[s]("mousedown",e);if(o>4)o=0;else if(o>1)return r[s](l[o],e)}function h(e){o=2,f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o-1]||600),r[s]("mousedown",e),r[s](l[o],e)}var o=0,u,a,f,l={2:"dblclick",3:"tripleclick",4:"quadclick"};Array.isArray(e)||(e=[e]),e.forEach(function(e){t.addListener(e,"mousedown",c),i.isOldIE&&t.addListener(e,"dblclick",h)})};var u=!i.isMac||!i.isOpera||"KeyboardEvent"in window?function(e){return 0|(e.ctrlKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.metaKey?8:0)}:function(e){return 0|(e.metaKey?1:0)|(e.altKey?2:0)|(e.shiftKey?4:0)|(e.ctrlKey?8:0)};t.getModifierString=function(e){return r.KEY_MODS[u(e)]},t.addCommandKeyListener=function(e,n){var r=t.addListener;if(i.isOldGecko||i.isOpera&&!("KeyboardEvent"in window)){var o=null;r(e,"keydown",function(e){o=e.keyCode}),r(e,"keypress",function(e){return a(n,e,o)})}else{var u=null;r(e,"keydown",function(e){s[e.keyCode]=(s[e.keyCode]||0)+1;var t=a(n,e,e.keyCode);return u=e.defaultPrevented,t}),r(e,"keypress",function(e){u&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),u=null)}),r(e,"keyup",function(e){s[e.keyCode]=null}),s||(f(),r(window,"focus",f))}};if(typeof window=="object"&&window.postMessage&&!i.isOldIE){var l=1;t.nextTick=function(e,n){n=n||window;var r="zero-timeout-message-"+l;t.addListener(n,"message",function i(s){s.data==r&&(t.stopPropagation(s),t.removeListener(n,"message",i),e())}),n.postMessage(r,"*")}}t.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}}),define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function s(e){if(typeof e!="object"||!e)return e;var t;if(Array.isArray(e)){t=[];for(var n=0;n<e.length;n++)t[n]=s(e[n]);return t}if(Object.prototype.toString.call(e)!=="[object Object]")return e;t={};for(var n in e)t[n]=s(e[n]);return t},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),define("ace/keyboard/textinput_ios",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/lib/keys"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/dom"),o=e("../lib/lang"),u=e("../lib/keys"),a=u.KEY_MODS,f=i.isChrome<18,l=i.isIE,c=function(e,t){function x(e){if(m)return;m=!0;if(k)t=0,n=e?0:c.value.length-1;else var t=4,n=5;try{c.setSelectionRange(t,n)}catch(r){}m=!1}function T(){if(m)return;c.value=h,i.isWebKit&&S.schedule()}function R(){clearTimeout(q),q=setTimeout(function(){g&&(c.style.cssText=g,g=""),t.renderer.$keepTextAreaAtCursor==null&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}var n=this,c=s.createElement("textarea");c.className=i.isIOS?"ace_text-input ace_text-input-ios":"ace_text-input",i.isTouchPad&&c.setAttribute("x-palm-disable-auto-cap",!0),c.setAttribute("wrap","off"),c.setAttribute("autocorrect","off"),c.setAttribute("autocapitalize","off"),c.setAttribute("spellcheck",!1),c.style.opacity="0",e.insertBefore(c,e.firstChild);var h="\n aaaa a\n",p=!1,d=!1,v=!1,m=!1,g="",y=!0;try{var b=document.activeElement===c}catch(w){}r.addListener(c,"blur",function(e){t.onBlur(e),b=!1}),r.addListener(c,"focus",function(e){b=!0,t.onFocus(e),x()}),this.focus=function(){if(g)return c.focus();c.style.position="fixed",c.focus()},this.blur=function(){c.blur()},this.isFocused=function(){return b};var E=o.delayedCall(function(){b&&x(y)}),S=o.delayedCall(function(){m||(c.value=h,b&&x())});i.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=y&&(y=!y,E.schedule())}),T(),b&&t.onFocus();var N=function(e){return e.selectionStart===0&&e.selectionEnd===e.value.length},C=function(e){N(c)?(t.selectAll(),x()):k&&x(t.selection.isEmpty())},k=null;this.setInputHandler=function(e){k=e},this.getInputHandler=function(){return k};var L=!1,A=function(e){if(c.selectionStart===4&&c.selectionEnd===5)return;k&&(e=k(e),k=null),v?(x(),e&&t.onPaste(e),v=!1):e==h.substr(0)&&c.selectionStart===4?L?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):p||(e.substring(0,9)==h&&e.length>h.length?e=e.substr(9):e.substr(0,4)==h.substr(0,4)?e=e.substr(4,e.length-h.length+1):e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e!=h.charAt(0)&&e.charAt(e.length-1)==h.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),p&&(p=!1),L&&(L=!1)},O=function(e){if(m)return;var t=c.value;A(t),T()},M=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(!r||f)return;var i=l||n?"Text":"text/plain";try{return t?r.setData(i,t)!==!1:r.getData(i)}catch(e){if(!n)return M(e,t,!0)}},_=function(e,n){var s=t.getCopyText();if(!s)return r.preventDefault(e);M(e,s)?(i.isIOS&&(d=n,c.value="\n aa"+s+"a a\n",c.setSelectionRange(4,4+s.length),p={value:s}),n?t.onCut():t.onCopy(),i.isIOS||r.preventDefault(e)):(p=!0,c.value=s,c.select(),setTimeout(function(){p=!1,T(),x(),n?t.onCut():t.onCopy()}))},D=function(e){_(e,!0)},P=function(e){_(e,!1)},H=function(e){var n=M(e);typeof n=="string"?(n&&t.onPaste(n,e),i.isIE&&setTimeout(x),r.preventDefault(e)):(c.value="",v=!0)};r.addCommandKeyListener(c,t.onCommandKey.bind(t)),r.addListener(c,"select",C),r.addListener(c,"input",O),r.addListener(c,"cut",D),r.addListener(c,"copy",P),r.addListener(c,"paste",H);var B=function(e){if(m||!t.onCompositionStart||t.$readOnly)return;m={},m.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(j,0),t.on("mousedown",F),m.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup()},j=function(){if(!m||!t.onCompositionUpdate||t.$readOnly)return;var e=c.value.replace(/\x01/g,"");if(m.lastValue===e)return;t.onCompositionUpdate(e),m.lastValue&&t.undo(),m.canUndo&&(m.lastValue=e);if(m.lastValue){var n=t.selection.getRange();t.insert(m.lastValue),t.session.markUndoGroup(),m.range=t.selection.getRange(),t.selection.setRange(n),t.selection.clearSelection()}},F=function(e){if(!t.onCompositionEnd||t.$readOnly)return;var n=m;m=!1;var r=setTimeout(function(){r=null;var e=c.value.replace(/\x01/g,"");if(m)return;e==n.lastValue?T():!n.lastValue&&e&&(T(),A(e))});k=function(i){return r&&clearTimeout(r),i=i.replace(/\x01/g,""),i==n.lastValue?"":(n.lastValue&&r&&t.undo(),i)},t.onCompositionEnd(),t.removeListener("mousedown",F),e.type=="compositionend"&&n.range&&t.selection.setRange(n.range);var s=!!i.isChrome&&i.isChrome>=53||!!i.isWebKit&&i.isWebKit>=603;s&&O()},I=o.delayedCall(j,50);r.addListener(c,"compositionstart",B),i.isGecko?r.addListener(c,"text",function(){I.schedule()}):(r.addListener(c,"keyup",function(){I.schedule()}),r.addListener(c,"keydown",function(){I.schedule()})),r.addListener(c,"compositionend",F),this.getElement=function(){return c},this.setReadOnly=function(e){c.readOnly=e},this.onContextMenu=function(e){L=!0,x(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,n){g||(g=c.style.cssText),c.style.cssText=(n?"z-index:100000;":"")+"height:"+c.style.height+";"+(i.isIE?"opacity:0.1;":"");var o=t.container.getBoundingClientRect(),u=s.computedStyle(t.container),a=o.top+(parseInt(u.borderTopWidth)||0),f=o.left+(parseInt(o.borderLeftWidth)||0),l=o.bottom-a-c.clientHeight-2,h=function(e){c.style.left=e.clientX-f-2+"px",c.style.top=Math.min(e.clientY-a-2,l)+"px"};h(e);if(e.type!="mousedown")return;t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(q),i.isWin&&r.capture(t.container,h,R)},this.onContextMenuClose=R;var q,U=function(e){t.textInput.onContextMenu(e),R()};r.addListener(c,"mouseup",U),r.addListener(c,"mousedown",function(e){e.preventDefault(),R()}),r.addListener(t.renderer.scroller,"contextmenu",U),r.addListener(c,"contextmenu",U);if(i.isIOS){var z=null,W=!1;e.addEventListener("keydown",function(e){z&&clearTimeout(z),W=!0}),e.addEventListener("keyup",function(e){z=setTimeout(function(){W=!1},100)});var X=function(e){if(document.activeElement!==c)return;if(W)return;if(d)return setTimeout(function(){d=!1},100);var n=c.selectionStart,r=c.selectionEnd;c.setSelectionRange(4,5);if(n==r)switch(n){case 0:t.onCommandKey(null,0,u.up);break;case 1:t.onCommandKey(null,0,u.home);break;case 2:t.onCommandKey(null,a.option,u.left);break;case 4:t.onCommandKey(null,0,u.left);break;case 5:t.onCommandKey(null,0,u.right);break;case 7:t.onCommandKey(null,a.option,u.right);break;case 8:t.onCommandKey(null,0,u.end);break;case 9:t.onCommandKey(null,0,u.down)}else{switch(r){case 6:t.onCommandKey(null,a.shift,u.right);break;case 7:t.onCommandKey(null,a.shift|a.option,u.right);break;case 8:t.onCommandKey(null,a.shift,u.end);break;case 9:t.onCommandKey(null,a.shift,u.down)}switch(n){case 0:t.onCommandKey(null,a.shift,u.up);break;case 1:t.onCommandKey(null,a.shift,u.home);break;case 2:t.onCommandKey(null,a.shift|a.option,u.left);break;case 3:t.onCommandKey(null,a.shift,u.left)}}};document.addEventListener("selectionchange",X),t.on("destroy",function(){document.removeEventListener("selectionchange",X)})}};t.TextInput=c}),define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/keyboard/textinput_ios"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),s=e("../lib/dom"),o=e("../lib/lang"),u=i.isChrome<18,a=i.isIE,f=e("./textinput_ios").TextInput,l=function(e,t){function w(e){if(p)return;p=!0;if(T)t=0,r=e?0:n.value.length-1;else var t=e?2:1,r=2;try{n.setSelectionRange(t,r)}catch(i){}p=!1}function E(){if(p)return;n.value=l,i.isWebKit&&b.schedule()}function F(){clearTimeout(j),j=setTimeout(function(){d&&(n.style.cssText=d,d=""),t.renderer.$keepTextAreaAtCursor==null&&(t.renderer.$keepTextAreaAtCursor=!0,t.renderer.$moveTextAreaToCursor())},0)}if(i.isIOS)return f.call(this,e,t);var n=s.createElement("textarea");n.className="ace_text-input",n.setAttribute("wrap","off"),n.setAttribute("autocorrect","off"),n.setAttribute("autocapitalize","off"),n.setAttribute("spellcheck",!1),n.style.opacity="0",e.insertBefore(n,e.firstChild);var l="\u2028\u2028",c=!1,h=!1,p=!1,d="",v=!0;try{var m=document.activeElement===n}catch(g){}r.addListener(n,"blur",function(e){t.onBlur(e),m=!1}),r.addListener(n,"focus",function(e){m=!0,t.onFocus(e),w()}),this.focus=function(){if(d)return n.focus();var e=n.style.top;n.style.position="fixed",n.style.top="0px",n.focus(),setTimeout(function(){n.style.position="",n.style.top=="0px"&&(n.style.top=e)},0)},this.blur=function(){n.blur()},this.isFocused=function(){return m};var y=o.delayedCall(function(){m&&w(v)}),b=o.delayedCall(function(){p||(n.value=l,m&&w())});i.isWebKit||t.addEventListener("changeSelection",function(){t.selection.isEmpty()!=v&&(v=!v,y.schedule())}),E(),m&&t.onFocus();var S=function(e){return e.selectionStart===0&&e.selectionEnd===e.value.length},x=function(e){c?c=!1:S(n)?(t.selectAll(),w()):T&&w(t.selection.isEmpty())},T=null;this.setInputHandler=function(e){T=e},this.getInputHandler=function(){return T};var N=!1,C=function(e){T&&(e=T(e),T=null),h?(w(),e&&t.onPaste(e),h=!1):e==l.charAt(0)?N?t.execCommand("del",{source:"ace"}):t.execCommand("backspace",{source:"ace"}):(e.substring(0,2)==l?e=e.substr(2):e.charAt(0)==l.charAt(0)?e=e.substr(1):e.charAt(e.length-1)==l.charAt(0)&&(e=e.slice(0,-1)),e.charAt(e.length-1)==l.charAt(0)&&(e=e.slice(0,-1)),e&&t.onTextInput(e)),N&&(N=!1)},k=function(e){if(p)return;var t=n.value;C(t),E()},L=function(e,t,n){var r=e.clipboardData||window.clipboardData;if(!r||u)return;var i=a||n?"Text":"text/plain";try{return t?r.setData(i,t)!==!1:r.getData(i)}catch(e){if(!n)return L(e,t,!0)}},A=function(e,i){var s=t.getCopyText();if(!s)return r.preventDefault(e);L(e,s)?(i?t.onCut():t.onCopy(),r.preventDefault(e)):(c=!0,n.value=s,n.select(),setTimeout(function(){c=!1,E(),w(),i?t.onCut():t.onCopy()}))},O=function(e){A(e,!0)},M=function(e){A(e,!1)},_=function(e){var s=L(e);typeof s=="string"?(s&&t.onPaste(s,e),i.isIE&&setTimeout(w),r.preventDefault(e)):(n.value="",h=!0)};r.addCommandKeyListener(n,t.onCommandKey.bind(t)),r.addListener(n,"select",x),r.addListener(n,"input",k),r.addListener(n,"cut",O),r.addListener(n,"copy",M),r.addListener(n,"paste",_),(!("oncut"in n)||!("oncopy"in n)||!("onpaste"in n))&&r.addListener(e,"keydown",function(e){if(i.isMac&&!e.metaKey||!e.ctrlKey)return;switch(e.keyCode){case 67:M(e);break;case 86:_(e);break;case 88:O(e)}});var D=function(e){if(p||!t.onCompositionStart||t.$readOnly)return;p={},p.canUndo=t.session.$undoManager,t.onCompositionStart(),setTimeout(P,0),t.on("mousedown",H),p.canUndo&&!t.selection.isEmpty()&&(t.insert(""),t.session.markUndoGroup(),t.selection.clearSelection()),t.session.markUndoGroup()},P=function(){if(!p||!t.onCompositionUpdate||t.$readOnly)return;var e=n.value.replace(/\u2028/g,"");if(p.lastValue===e)return;t.onCompositionUpdate(e),p.lastValue&&t.undo(),p.canUndo&&(p.lastValue=e);if(p.lastValue){var r=t.selection.getRange();t.insert(p.lastValue),t.session.markUndoGroup(),p.range=t.selection.getRange(),t.selection.setRange(r),t.selection.clearSelection()}},H=function(e){if(!t.onCompositionEnd||t.$readOnly)return;var r=p;p=!1;var s=setTimeout(function(){s=null;var e=n.value.replace(/\u2028/g,"");if(p)return;e==r.lastValue?E():!r.lastValue&&e&&(E(),C(e))});T=function(n){return s&&clearTimeout(s),n=n.replace(/\u2028/g,""),n==r.lastValue?"":(r.lastValue&&s&&t.undo(),n)},t.onCompositionEnd(),t.removeListener("mousedown",H),e.type=="compositionend"&&r.range&&t.selection.setRange(r.range);var o=!!i.isChrome&&i.isChrome>=53||!!i.isWebKit&&i.isWebKit>=603;o&&k()},B=o.delayedCall(P,50);r.addListener(n,"compositionstart",D),i.isGecko?r.addListener(n,"text",function(){B.schedule()}):(r.addListener(n,"keyup",function(){B.schedule()}),r.addListener(n,"keydown",function(){B.schedule()})),r.addListener(n,"compositionend",H),this.getElement=function(){return n},this.setReadOnly=function(e){n.readOnly=e},this.onContextMenu=function(e){N=!0,w(t.selection.isEmpty()),t._emit("nativecontextmenu",{target:t,domEvent:e}),this.moveToMouse(e,!0)},this.moveToMouse=function(e,o){d||(d=n.style.cssText),n.style.cssText=(o?"z-index:100000;":"")+"height:"+n.style.height+";"+(i.isIE?"opacity:0.1;":"");var u=t.container.getBoundingClientRect(),a=s.computedStyle(t.container),f=u.top+(parseInt(a.borderTopWidth)||0),l=u.left+(parseInt(u.borderLeftWidth)||0),c=u.bottom-f-n.clientHeight-2,h=function(e){n.style.left=e.clientX-l-2+"px",n.style.top=Math.min(e.clientY-f-2,c)+"px"};h(e);if(e.type!="mousedown")return;t.renderer.$keepTextAreaAtCursor&&(t.renderer.$keepTextAreaAtCursor=null),clearTimeout(j),i.isWin&&r.capture(t.container,h,F)},this.onContextMenuClose=F;var j,I=function(e){t.textInput.onContextMenu(e),F()};r.addListener(n,"mouseup",I),r.addListener(n,"mousedown",function(e){e.preventDefault(),F()}),r.addListener(t.renderer.scroller,"contextmenu",I),r.addListener(n,"contextmenu",I)};t.TextInput=l}),define("ace/mouse/default_handlers",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";function u(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e)),t.setDefaultHandler("touchmove",this.onTouchMove.bind(e));var n=["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"];n.forEach(function(t){e[t]=this[t]},this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}function a(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}function f(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.column-e.end.column;else if(e.start.row==e.end.row-1&&!e.start.column&&!e.end.column)var n=t.column-4;else var n=2*t.row-e.start.row-e.end.row;return n<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}var r=e("../lib/dom"),i=e("../lib/event"),s=e("../lib/useragent"),o=0;(function(){this.onMouseDown=function(e){var t=e.inSelection(),n=e.getDocumentPosition();this.mousedownEvent=e;var r=this.editor,i=e.getButton();if(i!==0){var o=r.getSelectionRange(),u=o.isEmpty();r.$blockScrolling++,(u||i==1)&&r.selection.moveToPosition(n),r.$blockScrolling--,i==2&&(r.textInput.onContextMenu(e.domEvent),s.isMozilla||e.preventDefault());return}this.mousedownEvent.time=Date.now();if(t&&!r.isFocused()){r.focus();if(this.$focusTimout&&!this.$clickSelection&&!r.inMultiSelectMode){this.setState("focusWait"),this.captureMouse(e);return}}return this.captureMouse(e),this.startSelect(n,e.domEvent._clicks>1),e.preventDefault()},this.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var n=this.editor;n.$blockScrolling++,this.mousedownEvent.getShiftKey()?n.selection.selectToPosition(e):t||n.selection.moveToPosition(e),t||this.select(),n.renderer.scroller.setCapture&&n.renderer.scroller.setCapture(),n.setStyle("ace_selecting"),this.setState("select"),n.$blockScrolling--},this.select=function(){var e,t=this.editor,n=t.renderer.screenToTextCoordinates(this.x,this.y);t.$blockScrolling++;if(this.$clickSelection){var r=this.$clickSelection.comparePoint(n);if(r==-1)e=this.$clickSelection.end;else if(r==1)e=this.$clickSelection.start;else{var i=f(this.$clickSelection,n);n=i.cursor,e=i.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(n),t.$blockScrolling--,t.renderer.scrollCursorIntoView()},this.extendSelectionBy=function(e){var t,n=this.editor,r=n.renderer.screenToTextCoordinates(this.x,this.y),i=n.selection[e](r.row,r.column);n.$blockScrolling++;if(this.$clickSelection){var s=this.$clickSelection.comparePoint(i.start),o=this.$clickSelection.comparePoint(i.end);if(s==-1&&o<=0){t=this.$clickSelection.end;if(i.end.row!=r.row||i.end.column!=r.column)r=i.start}else if(o==1&&s>=0){t=this.$clickSelection.start;if(i.start.row!=r.row||i.start.column!=r.column)r=i.end}else if(s==-1&&o==1)r=i.end,t=i.start;else{var u=f(this.$clickSelection,r);r=u.cursor,t=u.anchor}n.selection.setSelectionAnchor(t.row,t.column)}n.selection.selectToPosition(r),n.$blockScrolling--,n.renderer.scrollCursorIntoView()},this.selectEnd=this.selectAllEnd=this.selectByWordsEnd=this.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting"),this.editor.renderer.scroller.releaseCapture&&this.editor.renderer.scroller.releaseCapture()},this.focusWait=function(){var e=a(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),t=Date.now();(e>o||t-this.mousedownEvent.time>this.$focusTimout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},this.onDoubleClick=function(e){var t=e.getDocumentPosition(),n=this.editor,r=n.session,i=r.getBracketRange(t);i?(i.isEmpty()&&(i.start.column--,i.end.column++),this.setState("select")):(i=n.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=i,this.select()},this.onTripleClick=function(e){var t=e.getDocumentPosition(),n=this.editor;this.setState("selectByLines");var r=n.getSelectionRange();r.isMultiLine()&&r.contains(t.row,t.column)?(this.$clickSelection=n.selection.getLineRange(r.start.row),this.$clickSelection.end=n.selection.getLineRange(r.end.row).end):this.$clickSelection=n.selection.getLineRange(t.row),this.select()},this.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},this.onMouseWheel=function(e){if(e.getAccelKey())return;e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor,i=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(i||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()},this.onTouchMove=function(e){var t=e.domEvent.timeStamp,n=t-(this.$lastScrollTime||0),r=this.editor,i=r.renderer.isScrollableBy(e.wheelX*e.speed,e.wheelY*e.speed);if(i||n<200)return this.$lastScrollTime=t,r.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()}}).call(u.prototype),t.DefaultHandlers=u}),define("ace/tooltip",["require","exports","module","ace/lib/oop","ace/lib/dom"],function(e,t,n){"use strict";function s(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}var r=e("./lib/oop"),i=e("./lib/dom");(function(){this.$init=function(){return this.$element=i.createElement("div"),this.$element.className="ace_tooltip",this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},this.getElement=function(){return this.$element||this.$init()},this.setText=function(e){i.setInnerText(this.getElement(),e)},this.setHtml=function(e){this.getElement().innerHTML=e},this.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},this.setClassName=function(e){i.addCssClass(this.getElement(),e)},this.show=function(e,t,n){e!=null&&this.setText(e),t!=null&&n!=null&&this.setPosition(t,n),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},this.hide=function(){this.isOpen&&(this.getElement().style.display="none",this.isOpen=!1)},this.getHeight=function(){return this.getElement().offsetHeight},this.getWidth=function(){return this.getElement().offsetWidth},this.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)}}).call(s.prototype),t.Tooltip=s}),define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event","ace/tooltip"],function(e,t,n){"use strict";function u(e){function l(){var r=u.getDocumentPosition().row,s=n.$annotations[r];if(!s)return c();var o=t.session.getLength();if(r==o){var a=t.renderer.pixelToScreenCoordinates(0,u.y).row,l=u.$pos;if(a>t.session.documentToScreenRow(l.row,l.column))return c()}if(f==s)return;f=s.text.join("<br/>"),i.setHtml(f),i.show(),t._signal("showGutterTooltip",i),t.on("mousewheel",c);if(e.$tooltipFollowsMouse)h(u);else{var p=u.domEvent.target,d=p.getBoundingClientRect(),v=i.getElement().style;v.left=d.right+"px",v.top=d.bottom+"px"}}function c(){o&&(o=clearTimeout(o)),f&&(i.hide(),f=null,t._signal("hideGutterTooltip",i),t.removeEventListener("mousewheel",c))}function h(e){i.setPosition(e.x,e.y)}var t=e.editor,n=t.renderer.$gutterLayer,i=new a(t.container);e.editor.setDefaultHandler("guttermousedown",function(r){if(!t.isFocused()||r.getButton()!=0)return;var i=n.getRegion(r);if(i=="foldWidgets")return;var s=r.getDocumentPosition().row,o=t.session.selection;if(r.getShiftKey())o.selectTo(s,0);else{if(r.domEvent.detail==2)return t.selectAll(),r.preventDefault();e.$clickSelection=t.selection.getLineRange(s)}return e.setState("selectByLines"),e.captureMouse(r),r.preventDefault()});var o,u,f;e.editor.setDefaultHandler("guttermousemove",function(t){var n=t.domEvent.target||t.domEvent.srcElement;if(r.hasCssClass(n,"ace_fold-widget"))return c();f&&e.$tooltipFollowsMouse&&h(t),u=t;if(o)return;o=setTimeout(function(){o=null,u&&!e.isMousePressed?l():c()},50)}),s.addListener(t.renderer.$gutter,"mouseout",function(e){u=null;if(!f||o)return;o=setTimeout(function(){o=null,c()},50)}),t.on("changeSession",c)}function a(e){o.call(this,e)}var r=e("../lib/dom"),i=e("../lib/oop"),s=e("../lib/event"),o=e("../tooltip").Tooltip;i.inherits(a,o),function(){this.setPosition=function(e,t){var n=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,i=this.getWidth(),s=this.getHeight();e+=15,t+=15,e+i>n&&(e-=e+i-n),t+s>r&&(t-=20+s),o.prototype.setPosition.call(this,e,t)}}.call(a.prototype),t.GutterHandler=u}),define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),s=t.MouseEvent=function(e,t){this.domEvent=e,this.editor=t,this.x=this.clientX=e.clientX,this.y=this.clientY=e.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1};(function(){this.stopPropagation=function(){r.stopPropagation(this.domEvent),this.propagationStopped=!0},this.preventDefault=function(){r.preventDefault(this.domEvent),this.defaultPrevented=!0},this.stop=function(){this.stopPropagation(),this.preventDefault()},this.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},this.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var e=this.editor,t=e.getSelectionRange();if(t.isEmpty())this.$inSelection=!1;else{var n=this.getDocumentPosition();this.$inSelection=t.contains(n.row,n.column)}return this.$inSelection},this.getButton=function(){return r.getButton(this.domEvent)},this.getShiftKey=function(){return this.domEvent.shiftKey},this.getAccelKey=i.isMac?function(){return this.domEvent.metaKey}:function(){return this.domEvent.ctrlKey}}).call(s.prototype)}),define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(e,t,n){"use strict";function f(e){function T(e,n){var r=Date.now(),i=!n||e.row!=n.row,s=!n||e.column!=n.column;if(!S||i||s)t.$blockScrolling+=1,t.moveCursorToPosition(e),t.$blockScrolling-=1,S=r,x={x:p,y:d};else{var o=l(x.x,x.y,p,d);o>a?S=null:r-S>=u&&(t.renderer.scrollCursorIntoView(),S=null)}}function N(e,n){var r=Date.now(),i=t.renderer.layerConfig.lineHeight,s=t.renderer.layerConfig.characterWidth,u=t.renderer.scroller.getBoundingClientRect(),a={x:{left:p-u.left,right:u.right-p},y:{top:d-u.top,bottom:u.bottom-d}},f=Math.min(a.x.left,a.x.right),l=Math.min(a.y.top,a.y.bottom),c={row:e.row,column:e.column};f/s<=2&&(c.column+=a.x.left<a.x.right?-3:2),l/i<=1&&(c.row+=a.y.top<a.y.bottom?-1:1);var h=e.row!=c.row,v=e.column!=c.column,m=!n||e.row!=n.row;h||v&&!m?E?r-E>=o&&t.renderer.scrollCursorIntoView(c):E=r:E=null}function C(){var e=g;g=t.renderer.screenToTextCoordinates(p,d),T(g,e),N(g,e)}function k(){m=t.selection.toOrientedRange(),h=t.session.addMarker(m,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(v),C(),v=setInterval(C,20),y=0,i.addListener(document,"mousemove",O)}function L(){clearInterval(v),t.session.removeMarker(h),h=null,t.$blockScrolling+=1,t.selection.fromOrientedRange(m),t.$blockScrolling-=1,t.isFocused()&&!w&&t.renderer.$cursorLayer.setBlinking(!t.getReadOnly()),m=null,g=null,y=0,E=null,S=null,i.removeListener(document,"mousemove",O)}function O(){A==null&&(A=setTimeout(function(){A!=null&&h&&L()},20))}function M(e){var t=e.types;return!t||Array.prototype.some.call(t,function(e){return e=="text/plain"||e=="Text"})}function _(e){var t=["copy","copymove","all","uninitialized"],n=["move","copymove","linkmove","all","uninitialized"],r=s.isMac?e.altKey:e.ctrlKey,i="uninitialized";try{i=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return r&&t.indexOf(i)>=0?o="copy":n.indexOf(i)>=0?o="move":t.indexOf(i)>=0&&(o="copy"),o}var t=e.editor,n=r.createElement("img");n.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",s.isOpera&&(n.style.cssText="width:1px;height:1px;position:fixed;top:0;left:0;z-index:2147483647;opacity:0;");var f=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];f.forEach(function(t){e[t]=this[t]},this),t.addEventListener("mousedown",this.onMouseDown.bind(e));var c=t.container,h,p,d,v,m,g,y=0,b,w,E,S,x;this.onDragStart=function(e){if(this.cancelDrag||!c.draggable){var r=this;return setTimeout(function(){r.startSelect(),r.captureMouse(e)},0),e.preventDefault()}m=t.getSelectionRange();var i=e.dataTransfer;i.effectAllowed=t.getReadOnly()?"copy":"copyMove",s.isOpera&&(t.container.appendChild(n),n.scrollTop=0),i.setDragImage&&i.setDragImage(n,0,0),s.isOpera&&t.container.removeChild(n),i.clearData(),i.setData("Text",t.session.getTextRange()),w=!0,this.setState("drag")},this.onDragEnd=function(e){c.draggable=!1,w=!1,this.setState(null);if(!t.getReadOnly()){var n=e.dataTransfer.dropEffect;!b&&n=="move"&&t.session.remove(t.getSelectionRange()),t.renderer.$cursorLayer.setBlinking(!0)}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(t.getReadOnly()||!M(e.dataTransfer))return;return p=e.clientX,d=e.clientY,h||k(),y++,e.dataTransfer.dropEffect=b=_(e),i.preventDefault(e)},this.onDragOver=function(e){if(t.getReadOnly()||!M(e.dataTransfer))return;return p=e.clientX,d=e.clientY,h||(k(),y++),A!==null&&(A=null),e.dataTransfer.dropEffect=b=_(e),i.preventDefault(e)},this.onDragLeave=function(e){y--;if(y<=0&&h)return L(),b=null,i.preventDefault(e)},this.onDrop=function(e){if(!g)return;var n=e.dataTransfer;if(w)switch(b){case"move":m.contains(g.row,g.column)?m={start:g,end:g}:m=t.moveText(m,g);break;case"copy":m=t.moveText(m,g,!0)}else{var r=n.getData("Text");m={start:g,end:t.session.insert(g,r)},t.focus(),b=null}return L(),i.preventDefault(e)},i.addListener(c,"dragstart",this.onDragStart.bind(e)),i.addListener(c,"dragend",this.onDragEnd.bind(e)),i.addListener(c,"dragenter",this.onDragEnter.bind(e)),i.addListener(c,"dragover",this.onDragOver.bind(e)),i.addListener(c,"dragleave",this.onDragLeave.bind(e)),i.addListener(c,"drop",this.onDrop.bind(e));var A=null}function l(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}var r=e("../lib/dom"),i=e("../lib/event"),s=e("../lib/useragent"),o=200,u=200,a=5;(function(){this.dragWait=function(){var e=Date.now()-this.mousedownEvent.time;e>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var e=this.editor.container;e.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.renderer.$cursorLayer.setBlinking(!this.editor.getReadOnly()),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor,t=e.container;t.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var n=s.isWin?"default":"move";e.renderer.setCursorStyle(n),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;if(s.isIE&&this.state=="dragReady"){var n=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>3&&t.dragDrop()}if(this.state==="dragWait"){var n=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);n>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(e){if(!this.$dragEnabled)return;this.mousedownEvent=e;var t=this.editor,n=e.inSelection(),r=e.getButton(),i=e.domEvent.detail||1;if(i===1&&r===0&&n){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;"unselectable"in o&&(o.unselectable="on");if(t.getDragDelay()){if(s.isWebKit){this.cancelDrag=!0;var u=t.container;u.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}).call(f.prototype),t.DragdropHandler=f}),define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(e,t,n){"use strict";var r=e("./dom");t.get=function(e,t){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){n.readyState===4&&t(n.responseText)},n.send(null)},t.loadScript=function(e,t){var n=r.getDocumentHead(),i=document.createElement("script");i.src=e,n.appendChild(i),i.onload=i.onreadystatechange=function(e,n){if(n||!i.readyState||i.readyState=="loaded"||i.readyState=="complete")i=i.onload=i.onreadystatechange=null,n||t()}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}}),define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;t&&this.addEventListener(e,function r(){n.removeEventListener(e,r),t.apply(null,arguments)})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t){var i=n[e];r&&this.setDefaultHandler(e,r.pop())}else if(r){var s=r.indexOf(t);s!=-1&&r.splice(s,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"no use strict";function o(e){typeof console!="undefined"&&console.warn&&console.warn.apply(console,arguments)}function u(e,t){var n=new Error(e);n.data=t,typeof console=="object"&&console.error&&console.error(n),setTimeout(function(){throw n})}var r=e("./oop"),i=e("./event_emitter").EventEmitter,s={setOptions:function(e){Object.keys(e).forEach(function(t){this.setOption(t,e[t])},this)},getOptions:function(e){var t={};return e?Array.isArray(e)||(t=e,e=Object.keys(t)):e=Object.keys(this.$options),e.forEach(function(e){t[e]=this.getOption(e)},this),t},setOption:function(e,t){if(this["$"+e]===t)return;var n=this.$options[e];if(!n)return o('misspelled option "'+e+'"');if(n.forwardTo)return this[n.forwardTo]&&this[n.forwardTo].setOption(e,t);n.handlesSet||(this["$"+e]=t),n&&n.set&&n.set.call(this,t)},getOption:function(e){var t=this.$options[e];return t?t.forwardTo?this[t.forwardTo]&&this[t.forwardTo].getOption(e):t&&t.get?t.get.call(this):this["$"+e]:o('misspelled option "'+e+'"')}},a=function(){this.$defaultOptions={}};(function(){r.implement(this,i),this.defineOptions=function(e,t,n){return e.$options||(this.$defaultOptions[t]=e.$options={}),Object.keys(n).forEach(function(t){var r=n[t];typeof r=="string"&&(r={forwardTo:r}),r.name||(r.name=t),e.$options[r.name]=r,"initialValue"in r&&(e["$"+r.name]=r.initialValue)}),r.implement(e,s),this},this.resetOptions=function(e){Object.keys(e.$options).forEach(function(t){var n=e.$options[t];"value"in n&&e.setOption(t,n.value)})},this.setDefaultValue=function(e,t,n){var r=this.$defaultOptions[e]||(this.$defaultOptions[e]={});r[t]&&(r.forwardTo?this.setDefaultValue(r.forwardTo,t,n):r[t].value=n)},this.setDefaultValues=function(e,t){Object.keys(t).forEach(function(n){this.setDefaultValue(e,n,t[n])},this)},this.warn=o,this.reportError=u}).call(a.prototype),t.AppConfig=a}),define("ace/config",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/lib/net","ace/lib/app_config"],function(e,t,n){"no use strict";function f(r){if(!u||!u.document)return;a.packaged=r||e.packaged||n.packaged||u.define&&define.packaged;var i={},s="",o=document.currentScript||document._currentScript,f=o&&o.ownerDocument||document,c=f.getElementsByTagName("script");for(var h=0;h<c.length;h++){var p=c[h],d=p.src||p.getAttribute("src");if(!d)continue;var v=p.attributes;for(var m=0,g=v.length;m<g;m++){var y=v[m];y.name.indexOf("data-ace-")===0&&(i[l(y.name.replace(/^data-ace-/,""))]=y.value)}var b=d.match(/^(.*)\/ace(\-\w+)?\.js(\?|$)/);b&&(s=b[1])}s&&(i.base=i.base||s,i.packaged=!0),i.basePath=i.base,i.workerPath=i.workerPath||i.base,i.modePath=i.modePath||i.base,i.themePath=i.themePath||i.base,delete i.base;for(var w in i)typeof i[w]!="undefined"&&t.set(w,i[w])}function l(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCase()})}var r=e("./lib/lang"),i=e("./lib/oop"),s=e("./lib/net"),o=e("./lib/app_config").AppConfig;n.exports=t=new o;var u=function(){return this||typeof window!="undefined"&&window}(),a={packaged:!1,workerPath:null,modePath:null,themePath:null,basePath:"",suffix:".js",$moduleUrls:{}};t.get=function(e){if(!a.hasOwnProperty(e))throw new Error("Unknown config key: "+e);return a[e]},t.set=function(e,t){if(!a.hasOwnProperty(e))throw new Error("Unknown config key: "+e);a[e]=t},t.all=function(){return r.copyObject(a)},t.moduleUrl=function(e,t){if(a.$moduleUrls[e])return a.$moduleUrls[e];var n=e.split("/");t=t||n[n.length-2]||"";var r=t=="snippets"?"/":"-",i=n[n.length-1];if(t=="worker"&&r=="-"){var s=new RegExp("^"+t+"[\\-_]|[\\-_]"+t+"$","g");i=i.replace(s,"")}(!i||i==t)&&n.length>1&&(i=n[n.length-2]);var o=a[t+"Path"];return o==null?o=a.basePath:r=="/"&&(t=r=""),o&&o.slice(-1)!="/"&&(o+="/"),o+t+r+i+this.get("suffix")},t.setModuleUrl=function(e,t){return a.$moduleUrls[e]=t},t.$loading={},t.loadModule=function(n,r){var i,o;Array.isArray(n)&&(o=n[0],n=n[1]);try{i=e(n)}catch(u){}if(i&&!t.$loading[n])return r&&r(i);t.$loading[n]||(t.$loading[n]=[]),t.$loading[n].push(r);if(t.$loading[n].length>1)return;var a=function(){e([n],function(e){t._emit("load.module",{name:n,module:e});var r=t.$loading[n];t.$loading[n]=null,r.forEach(function(t){t&&t(e)})})};if(!t.get("packaged"))return a();s.loadScript(t.moduleUrl(n,o),a)},t.init=f}),define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/config"],function(e,t,n){"use strict";var r=e("../lib/event"),i=e("../lib/useragent"),s=e("./default_handlers").DefaultHandlers,o=e("./default_gutter_handler").GutterHandler,u=e("./mouse_event").MouseEvent,a=e("./dragdrop_handler").DragdropHandler,f=e("../config"),l=function(e){var t=this;this.editor=e,new s(this),new o(this),new a(this);var n=function(t){var n=!document.hasFocus||!document.hasFocus()||!e.isFocused()&&document.activeElement==(e.textInput&&e.textInput.getElement());n&&window.focus(),e.focus()},u=e.renderer.getMouseEventTarget();r.addListener(u,"click",this.onMouseEvent.bind(this,"click")),r.addListener(u,"mousemove",this.onMouseMove.bind(this,"mousemove")),r.addMultiMouseDownListener([u,e.renderer.scrollBarV&&e.renderer.scrollBarV.inner,e.renderer.scrollBarH&&e.renderer.scrollBarH.inner,e.textInput&&e.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent"),r.addMouseWheelListener(e.container,this.onMouseWheel.bind(this,"mousewheel")),r.addTouchMoveListener(e.container,this.onTouchMove.bind(this,"touchmove"));var f=e.renderer.$gutter;r.addListener(f,"mousedown",this.onMouseEvent.bind(this,"guttermousedown")),r.addListener(f,"click",this.onMouseEvent.bind(this,"gutterclick")),r.addListener(f,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick")),r.addListener(f,"mousemove",this.onMouseEvent.bind(this,"guttermousemove")),r.addListener(u,"mousedown",n),r.addListener(f,"mousedown",n),i.isIE&&e.renderer.scrollBarV&&(r.addListener(e.renderer.scrollBarV.element,"mousedown",n),r.addListener(e.renderer.scrollBarH.element,"mousedown",n)),e.on("mousemove",function(n){if(t.state||t.$dragDelay||!t.$dragEnabled)return;var r=e.renderer.screenToTextCoordinates(n.x,n.y),i=e.session.selection.getRange(),s=e.renderer;!i.isEmpty()&&i.insideStart(r.row,r.column)?s.setCursorStyle("default"):s.setCursorStyle("")})};(function(){this.onMouseEvent=function(e,t){this.editor._emit(e,new u(t,this.editor))},this.onMouseMove=function(e,t){var n=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;if(!n||!n.length)return;this.editor._emit(e,new u(t,this.editor))},this.onMouseWheel=function(e,t){var n=new u(t,this.editor);n.speed=this.$scrollSpeed*2,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.onTouchMove=function(e,t){var n=new u(t,this.editor);n.speed=1,n.wheelX=t.wheelX,n.wheelY=t.wheelY,this.editor._emit(e,n)},this.setState=function(e){this.state=e},this.captureMouse=function(e,t){this.x=e.x,this.y=e.y,this.isMousePressed=!0;var n=this.editor.renderer;n.$keepTextAreaAtCursor&&(n.$keepTextAreaAtCursor=null);var s=this,o=function(e){if(!e)return;if(i.isWebKit&&!e.which&&s.releaseMouse)return s.releaseMouse();s.x=e.clientX,s.y=e.clientY,t&&t(e),s.mouseEvent=new u(e,s.editor),s.$mouseMoved=!0},a=function(e){clearInterval(l),f(),s[s.state+"End"]&&s[s.state+"End"](e),s.state="",n.$keepTextAreaAtCursor==null&&(n.$keepTextAreaAtCursor=!0,n.$moveTextAreaToCursor()),s.isMousePressed=!1,s.$onCaptureMouseMove=s.releaseMouse=null,e&&s.onMouseEvent("mouseup",e)},f=function(){s[s.state]&&s[s.state](),s.$mouseMoved=!1};if(i.isOldIE&&e.domEvent.type=="dblclick")return setTimeout(function(){a(e)});s.$onCaptureMouseMove=o,s.releaseMouse=r.capture(this.editor.container,o,a);var l=setInterval(f,20)},this.releaseMouse=null,this.cancelContextMenu=function(){var e=function(t){if(t&&t.domEvent&&t.domEvent.type!="contextmenu")return;this.editor.off("nativecontextmenu",e),t&&t.domEvent&&r.stopEvent(t.domEvent)}.bind(this);setTimeout(e,10),this.editor.on("nativecontextmenu",e)}}).call(l.prototype),f.defineOptions(l.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:i.isMac?150:0},dragEnabled:{initialValue:!0},focusTimout:{initialValue:0},tooltipFollowsMouse:{initialValue:!0}}),t.MouseHandler=l}),define("ace/mouse/fold_handler",["require","exports","module"],function(e,t,n){"use strict";function r(e){e.on("click",function(t){var n=t.getDocumentPosition(),r=e.session,i=r.getFoldAt(n.row,n.column,1);i&&(t.getAccelKey()?r.removeFold(i):r.expandFold(i),t.stop())}),e.on("gutterclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(n=="foldWidgets"){var r=t.getDocumentPosition().row,i=e.session;i.foldWidgets&&i.foldWidgets[r]&&e.session.onFoldWidgetClick(r,t),e.isFocused()||e.focus(),t.stop()}}),e.on("gutterdblclick",function(t){var n=e.renderer.$gutterLayer.getRegion(t);if(n=="foldWidgets"){var r=t.getDocumentPosition().row,i=e.session,s=i.getParentFoldRangeData(r,!0),o=s.range||s.firstRange;if(o){r=o.start.row;var u=i.getFoldAt(r,i.getLine(r).length,1);u?i.removeFold(u):(i.addFold("...",o),e.renderer.scrollCursorIntoView({row:o.start.row,column:0}))}t.stop()}})}t.FoldHandler=r}),define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(e,t,n){"use strict";var r=e("../lib/keys"),i=e("../lib/event"),s=function(e){this.$editor=e,this.$data={editor:e},this.$handlers=[],this.setDefaultHandler(e.commands)};(function(){this.setDefaultHandler=function(e){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=e,this.addKeyboardHandler(e,0)},this.setKeyboardHandler=function(e){var t=this.$handlers;if(t[t.length-1]==e)return;while(t[t.length-1]&&t[t.length-1]!=this.$defaultHandler)this.removeKeyboardHandler(t[t.length-1]);this.addKeyboardHandler(e,1)},this.addKeyboardHandler=function(e,t){if(!e)return;typeof e=="function"&&!e.handleKeyboard&&(e.handleKeyboard=e);var n=this.$handlers.indexOf(e);n!=-1&&this.$handlers.splice(n,1),t==undefined?this.$handlers.push(e):this.$handlers.splice(t,0,e),n==-1&&e.attach&&e.attach(this.$editor)},this.removeKeyboardHandler=function(e){var t=this.$handlers.indexOf(e);return t==-1?!1:(this.$handlers.splice(t,1),e.detach&&e.detach(this.$editor),!0)},this.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},this.getStatusText=function(){var e=this.$data,t=e.editor;return this.$handlers.map(function(n){return n.getStatusText&&n.getStatusText(t,e)||""}).filter(Boolean).join(" ")},this.$callKeyboardHandlers=function(e,t,n,r){var s,o=!1,u=this.$editor.commands;for(var a=this.$handlers.length;a--;){s=this.$handlers[a].handleKeyboard(this.$data,e,t,n,r);if(!s||!s.command)continue;s.command=="null"?o=!0:o=u.exec(s.command,this.$editor,s.args,r),o&&r&&e!=-1&&s.passEvent!=1&&s.command.passEvent!=1&&i.stopEvent(r);if(o)break}return!o&&e==-1&&(s={command:"insertstring"},o=u.exec("insertstring",this.$editor,t)),o&&this.$editor._signal&&this.$editor._signal("keyboardActivity",s),o},this.onCommandKey=function(e,t,n){var i=r.keyCodeToString(n);this.$callKeyboardHandlers(t,i,n,e)},this.onTextInput=function(e){this.$callKeyboardHandlers(-1,e)}}).call(s.prototype),t.KeyBinding=s}),define("ace/range",["require","exports","module"],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/lang"),s=e("./lib/event_emitter").EventEmitter,o=e("./range").Range,u=function(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.lead=this.selectionLead=this.doc.createAnchor(0,0),this.anchor=this.selectionAnchor=this.doc.createAnchor(0,0);var t=this;this.lead.on("change",function(e){t._emit("changeCursor"),t.$isEmpty||t._emit("changeSelection"),!t.$keepDesiredColumnOnChange&&e.old.column!=e.value.column&&(t.$desiredColumn=null)}),this.selectionAnchor.on("change",function(){t.$isEmpty||t._emit("changeSelection")})};(function(){r.implement(this,s),this.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},this.isMultiLine=function(){return this.isEmpty()?!1:this.getRange().isMultiLine()},this.getCursor=function(){return this.lead.getPosition()},this.setSelectionAnchor=function(e,t){this.anchor.setPosition(e,t),this.$isEmpty&&(this.$isEmpty=!1,this._emit("changeSelection"))},this.getSelectionAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},this.getSelectionLead=function(){return this.lead.getPosition()},this.shiftSelection=function(e){if(this.$isEmpty){this.moveCursorTo(this.lead.row,this.lead.column+e);return}var t=this.getSelectionAnchor(),n=this.getSelectionLead(),r=this.isBackwards();(!r||t.column!==0)&&this.setSelectionAnchor(t.row,t.column+e),(r||n.column!==0)&&this.$moveSelection(function(){this.moveCursorTo(n.row,n.column+e)})},this.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},this.getRange=function(){var e=this.anchor,t=this.lead;return this.isEmpty()?o.fromPoints(t,t):this.isBackwards()?o.fromPoints(t,e):o.fromPoints(e,t)},this.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},this.selectAll=function(){var e=this.doc.getLength()-1;this.setSelectionAnchor(0,0),this.moveCursorTo(e,this.doc.getLine(e).length)},this.setRange=this.setSelectionRange=function(e,t){t?(this.setSelectionAnchor(e.end.row,e.end.column),this.selectTo(e.start.row,e.start.column)):(this.setSelectionAnchor(e.start.row,e.start.column),this.selectTo(e.end.row,e.end.column)),this.getRange().isEmpty()&&(this.$isEmpty=!0),this.$desiredColumn=null},this.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},this.selectTo=function(e,t){this.$moveSelection(function(){this.moveCursorTo(e,t)})},this.selectToPosition=function(e){this.$moveSelection(function(){this.moveCursorToPosition(e)})},this.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},this.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},this.selectUp=function(){this.$moveSelection(this.moveCursorUp)},this.selectDown=function(){this.$moveSelection(this.moveCursorDown)},this.selectRight=function(){this.$moveSelection(this.moveCursorRight)},this.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},this.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},this.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},this.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},this.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},this.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},this.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},this.getWordRange=function(e,t){if(typeof t=="undefined"){var n=e||this.lead;e=n.row,t=n.column}return this.session.getWordRange(e,t)},this.selectWord=function(){this.setSelectionRange(this.getWordRange())},this.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},this.getLineRange=function(e,t){var n=typeof e=="number"?e:this.lead.row,r,i=this.session.getFoldLine(n);return i?(n=i.start.row,r=i.end.row):r=n,t===!0?new o(n,0,r,this.session.getLine(r).length):new o(n,0,r+1,0)},this.selectLine=function(){this.setSelectionRange(this.getLineRange())},this.moveCursorUp=function(){this.moveCursorBy(-1,0)},this.moveCursorDown=function(){this.moveCursorBy(1,0)},this.wouldMoveIntoSoftTab=function(e,t,n){var r=e.column,i=e.column+t;return n<0&&(r=e.column-t,i=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(r,i).split(" ").length-1==t},this.moveCursorLeft=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,-1))this.moveCursorTo(t.start.row,t.start.column);else if(e.column===0)e.row>0&&this.moveCursorTo(e.row-1,this.doc.getLine(e.row-1).length);else{var n=this.session.getTabSize();this.wouldMoveIntoSoftTab(e,n,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-n):this.moveCursorBy(0,-1)}},this.moveCursorRight=function(){var e=this.lead.getPosition(),t;if(t=this.session.getFoldAt(e.row,e.column,1))this.moveCursorTo(t.end.row,t.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var n=this.session.getTabSize(),e=this.lead;this.wouldMoveIntoSoftTab(e,n,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,n):this.moveCursorBy(0,1)}},this.moveCursorLineStart=function(){var e=this.lead.row,t=this.lead.column,n=this.session.documentToScreenRow(e,t),r=this.session.screenToDocumentPosition(n,0),i=this.session.getDisplayLine(e,null,r.row,r.column),s=i.match(/^\s*/);s[0].length!=t&&!this.session.$useEmacsStyleLineStart&&(r.column+=s[0].length),this.moveCursorToPosition(r)},this.moveCursorLineEnd=function(){var e=this.lead,t=this.session.getDocumentLastRowColumnPosition(e.row,e.column);if(this.lead.column==t.column){var n=this.session.getLine(t.row);if(t.column==n.length){var r=n.search(/\s+$/);r>0&&(t.column=r)}}this.moveCursorTo(t.row,t.column)},this.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},this.moveCursorFileStart=function(){this.moveCursorTo(0,0)},this.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i;this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var s=this.session.getFoldAt(e,t,1);if(s){this.moveCursorTo(s.end.row,s.end.column);return}if(i=this.session.nonTokenRe.exec(r))t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=n.substring(t);if(t>=n.length){this.moveCursorTo(e,n.length),this.moveCursorRight(),e<this.doc.getLength()-1&&this.moveCursorWordRight();return}if(i=this.session.tokenRe.exec(r))t+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0;this.moveCursorTo(e,t)},this.moveCursorLongWordLeft=function(){var e=this.lead.row,t=this.lead.column,n;if(n=this.session.getFoldAt(e,t,-1)){this.moveCursorTo(n.start.row,n.start.column);return}var r=this.session.getFoldStringAt(e,t,-1);r==null&&(r=this.doc.getLine(e).substring(0,t));var s=i.stringReverse(r),o;this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;if(o=this.session.nonTokenRe.exec(s))t-=this.session.nonTokenRe.lastIndex,s=s.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0;if(t<=0){this.moveCursorTo(e,0),this.moveCursorLeft(),e>0&&this.moveCursorWordLeft();return}if(o=this.session.tokenRe.exec(s))t-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0;this.moveCursorTo(e,t)},this.$shortWordEndIndex=function(e){var t,n=0,r,i=/\s/,s=this.session.tokenRe;s.lastIndex=0;if(t=this.session.tokenRe.exec(e))n=this.session.tokenRe.lastIndex;else{while((r=e[n])&&i.test(r))n++;if(n<1){s.lastIndex=0;while((r=e[n])&&!s.test(r)){s.lastIndex=0,n++;if(i.test(r)){if(n>2){n--;break}while((r=e[n])&&i.test(r))n++;if(n>2)break}}}}return s.lastIndex=0,n},this.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,n=this.doc.getLine(e),r=n.substring(t),i=this.session.getFoldAt(e,t,1);if(i)return this.moveCursorTo(i.end.row,i.end.column);if(t==n.length){var s=this.doc.getLength();do e++,r=this.doc.getLine(e);while(e<s&&/^\s*$/.test(r));/^\s+/.test(r)||(r=""),t=0}var o=this.$shortWordEndIndex(r);this.moveCursorTo(e,t+o)},this.moveCursorShortWordLeft=function(){var e=this.lead.row,t=this.lead.column,n;if(n=this.session.getFoldAt(e,t,-1))return this.moveCursorTo(n.start.row,n.start.column);var r=this.session.getLine(e).substring(0,t);if(t===0){do e--,r=this.doc.getLine(e);while(e>0&&/^\s*$/.test(r));t=r.length,/\s+$/.test(r)||(r="")}var s=i.stringReverse(r),o=this.$shortWordEndIndex(s);return this.moveCursorTo(e,t-o)},this.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},this.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},this.moveCursorBy=function(e,t){var n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);t===0&&(this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column);var r=this.session.screenToDocumentPosition(n.row+e,n.column);e!==0&&t===0&&r.row===this.lead.row&&r.column===this.lead.column&&this.session.lineWidgets&&this.session.lineWidgets[r.row]&&(r.row>0||e>0)&&r.row++,this.moveCursorTo(r.row,r.column+t,t===0)},this.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},this.moveCursorTo=function(e,t,n){var r=this.session.getFoldAt(e,t,1);r&&(e=r.start.row,t=r.start.column),this.$keepDesiredColumnOnChange=!0,this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,n||(this.$desiredColumn=null)},this.moveCursorToScreen=function(e,t,n){var r=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(r.row,r.column,n)},this.detach=function(){this.lead.detach(),this.anchor.detach(),this.session=this.doc=null},this.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},this.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},this.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var n=this.getCursor();return o.fromPoints(t,n)}catch(r){return o.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},this.toJSON=function(){if(this.rangeCount)var e=this.ranges.map(function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t});else{var e=this.getRange();e.isBackwards=this.isBackwards()}return e},this.fromJSON=function(e){if(e.start==undefined){if(this.rangeList){this.toSingleRange(e[0]);for(var t=e.length;t--;){var n=o.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(n.cursor=n.start),this.addRange(n,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},this.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0}}).call(u.prototype),t.Selection=u}),define("ace/tokenizer",["require","exports","module","ace/config"],function(e,t,n){"use strict";var r=e("./config"),i=2e3,s=function(e){this.states=e,this.regExps={},this.matchMappings={};for(var t in this.states){var n=this.states[t],r=[],i=0,s=this.matchMappings[t]={defaultToken:"text"},o="g",u=[];for(var a=0;a<n.length;a++){var f=n[a];f.defaultToken&&(s.defaultToken=f.defaultToken),f.caseInsensitive&&(o="gi");if(f.regex==null)continue;f.regex instanceof RegExp&&(f.regex=f.regex.toString().slice(1,-1));var l=f.regex,c=(new RegExp("(?:("+l+")|(.))")).exec("a").length-2;Array.isArray(f.token)?f.token.length==1||c==1?f.token=f.token[0]:c-1!=f.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:f,groupCount:c-1}),f.token=f.token[0]):(f.tokenArray=f.token,f.token=null,f.onMatch=this.$arrayTokens):typeof f.token=="function"&&!f.onMatch&&(c>1?f.onMatch=this.$applyToken:f.onMatch=f.token),c>1&&(/\\\d/.test(f.regex)?l=f.regex.replace(/\\([0-9]+)/g,function(e,t){return"\\"+(parseInt(t,10)+i+1)}):(c=1,l=this.removeCapturingGroups(f.regex)),!f.splitRegex&&typeof f.token!="string"&&u.push(f)),s[i]=a,i+=c,r.push(l),f.onMatch||(f.onMatch=null)}r.length||(s[0]=0,r.push("$")),u.forEach(function(e){e.splitRegex=this.createSplitterRegexp(e.regex,o)},this),this.regExps[t]=new RegExp("("+r.join(")|(")+")|($)",o)}};(function(){this.$setMaxTokenCount=function(e){i=e|0},this.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),n=this.token.apply(this,t);if(typeof n=="string")return[{type:n,value:e}];var r=[];for(var i=0,s=n.length;i<s;i++)t[i]&&(r[r.length]={type:n[i],value:t[i]});return r},this.$arrayTokens=function(e){if(!e)return[];var t=this.splitRegex.exec(e);if(!t)return"text";var n=[],r=this.tokenArray;for(var i=0,s=r.length;i<s;i++)t[i+1]&&(n[n.length]={type:r[i],value:t[i+1]});return n},this.removeCapturingGroups=function(e){var t=e.replace(/\[(?:\\.|[^\]])*?\]|\\.|\(\?[:=!]|(\()/g,function(e,t){return t?"(?:":e});return t},this.createSplitterRegexp=function(e,t){if(e.indexOf("(?=")!=-1){var n=0,r=!1,i={};e.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(e,t,s,o,u,a){return r?r=u!="]":u?r=!0:o?(n==i.stack&&(i.end=a+1,i.stack=-1),n--):s&&(n++,s.length!=1&&(i.stack=n,i.start=a)),e}),i.end!=null&&/^\)*$/.test(e.substr(i.end))&&(e=e.substring(0,i.start)+e.substr(i.end))}return e.charAt(0)!="^"&&(e="^"+e),e.charAt(e.length-1)!="$"&&(e+="$"),new RegExp(e,(t||"").replace("g",""))},this.getLineTokens=function(e,t){if(t&&typeof t!="string"){var n=t.slice(0);t=n[0],t==="#tmp"&&(n.shift(),t=n.shift())}else var n=[];var r=t||"start",s=this.states[r];s||(r="start",s=this.states[r]);var o=this.matchMappings[r],u=this.regExps[r];u.lastIndex=0;var a,f=[],l=0,c=0,h={type:null,value:""};while(a=u.exec(e)){var p=o.defaultToken,d=null,v=a[0],m=u.lastIndex;if(m-v.length>l){var g=e.substring(l,m-v.length);h.type==p?h.value+=g:(h.type&&f.push(h),h={type:p,value:g})}for(var y=0;y<a.length-2;y++){if(a[y+1]===undefined)continue;d=s[o[y]],d.onMatch?p=d.onMatch(v,r,n,e):p=d.token,d.next&&(typeof d.next=="string"?r=d.next:r=d.next(r,n),s=this.states[r],s||(this.reportError("state doesn't exist",r),r="start",s=this.states[r]),o=this.matchMappings[r],l=m,u=this.regExps[r],u.lastIndex=m),d.consumeLineEnd&&(l=m);break}if(v)if(typeof p=="string")!!d&&d.merge===!1||h.type!==p?(h.type&&f.push(h),h={type:p,value:v}):h.value+=v;else if(p){h.type&&f.push(h),h={type:null,value:""};for(var y=0;y<p.length;y++)f.push(p[y])}if(l==e.length)break;l=m;if(c++>i){c>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});while(l<e.length)h.type&&f.push(h),h={value:e.substring(l,l+=2e3),type:"overflow"};r="start",n=[];break}}return h.type&&f.push(h),n.length>1&&n[0]!==r&&n.unshift("#tmp",r),{tokens:f,state:n.length?n:r}},this.reportError=r.reportError}).call(s.prototype),t.Tokenizer=s}),define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../lib/lang"),i=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(e,t){if(!t){for(var n in e)this.$rules[n]=e[n];return}for(var n in e){var r=e[n];for(var i=0;i<r.length;i++){var s=r[i];if(s.next||s.onMatch)typeof s.next=="string"&&s.next.indexOf(t)!==0&&(s.next=t+s.next),s.nextState&&s.nextState.indexOf(t)!==0&&(s.nextState=t+s.nextState)}this.$rules[t+n]=r}},this.getRules=function(){return this.$rules},this.embedRules=function(e,t,n,i,s){var o=typeof e=="function"?(new e).getRules():e;if(i)for(var u=0;u<i.length;u++)i[u]=t+i[u];else{i=[];for(var a in o)i.push(t+a)}this.addRules(o,t);if(n){var f=Array.prototype[s?"push":"unshift"];for(var u=0;u<i.length;u++)f.apply(this.$rules[i[u]],r.deepCopy(n))}this.$embeds||(this.$embeds=[]),this.$embeds.push(t)},this.getEmbeds=function(){return this.$embeds};var e=function(e,t){return(e!="start"||t.length)&&t.unshift(this.nextState,e),this.nextState},t=function(e,t){return t.shift(),t.shift()||"start"};this.normalizeRules=function(){function i(s){var o=r[s];o.processed=!0;for(var u=0;u<o.length;u++){var a=o[u],f=null;Array.isArray(a)&&(f=a,a={}),!a.regex&&a.start&&(a.regex=a.start,a.next||(a.next=[]),a.next.push({defaultToken:a.token},{token:a.token+".end",regex:a.end||a.start,next:"pop"}),a.token=a.token+".start",a.push=!0);var l=a.next||a.push;if(l&&Array.isArray(l)){var c=a.stateName;c||(c=a.token,typeof c!="string"&&(c=c[0]||""),r[c]&&(c+=n++)),r[c]=l,a.next=c,i(c)}else l=="pop"&&(a.next=t);a.push&&(a.nextState=a.next||a.push,a.next=e,delete a.push);if(a.rules)for(var h in a.rules)r[h]?r[h].push&&r[h].push.apply(r[h],a.rules[h]):r[h]=a.rules[h];var p=typeof a=="string"?a:a.include;p&&(Array.isArray(p)?f=p.map(function(e){return r[e]}):f=r[p]);if(f){var d=[u,1].concat(f);a.noEscape&&(d=d.filter(function(e){return!e.next})),o.splice.apply(o,d),u--}a.keywordMap&&(a.token=this.createKeywordMapper(a.keywordMap,a.defaultToken||"text",a.caseInsensitive),delete a.defaultToken)}}var n=0,r=this.$rules;Object.keys(r).forEach(i,this)},this.createKeywordMapper=function(e,t,n,r){var i=Object.create(null);return Object.keys(e).forEach(function(t){var s=e[t];n&&(s=s.toLowerCase());var o=s.split(r||"|");for(var u=o.length;u--;)i[o[u]]=t}),Object.getPrototypeOf(i)&&(i.__proto__=null),this.$keywordList=Object.keys(i),e=null,n?function(e){return i[e.toLowerCase()]||t}:function(e){return i[e]||t}},this.getKeywords=function(){return this.$keywords}}).call(i.prototype),t.TextHighlightRules=i}),define("ace/mode/behaviour",["require","exports","module"],function(e,t,n){"use strict";var r=function(){this.$behaviours={}};(function(){this.add=function(e,t,n){switch(undefined){case this.$behaviours:this.$behaviours={};case this.$behaviours[e]:this.$behaviours[e]={}}this.$behaviours[e][t]=n},this.addBehaviours=function(e){for(var t in e)for(var n in e[t])this.add(t,n,e[t][n])},this.remove=function(e){this.$behaviours&&this.$behaviours[e]&&delete this.$behaviours[e]},this.inherit=function(e,t){if(typeof e=="function")var n=(new e).getBehaviours(t);else var n=e.getBehaviours(t);this.addBehaviours(n)},this.getBehaviours=function(e){if(!e)return this.$behaviours;var t={};for(var n=0;n<e.length;n++)this.$behaviours[e[n]]&&(t[e[n]]=this.$behaviours[e[n]]);return t}}).call(r.prototype),t.Behaviour=r}),define("ace/token_iterator",["require","exports","module"],function(e,t,n){"use strict";var r=function(e,t,n){this.$session=e,this.$row=t,this.$rowTokens=e.getTokens(t);var r=e.getTokenAt(t,n);this.$tokenIndex=r?r.index:-1};(function(){this.stepBackward=function(){this.$tokenIndex-=1;while(this.$tokenIndex<0){this.$row-=1;if(this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},this.stepForward=function(){this.$tokenIndex+=1;var e;while(this.$tokenIndex>=this.$rowTokens.length){this.$row+=1,e||(e=this.$session.getLength());if(this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},this.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},this.getCurrentTokenRow=function(){return this.$row},this.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,n=e[t].start;if(n!==undefined)return n;n=0;while(t>0)t-=1,n+=e[t].value.length;return n},this.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}}}).call(r.prototype),t.TokenIterator=r}),define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,o=e("../../lib/lang"),u=["text","paren.rparen","punctuation.operator"],a=["text","paren.rparen","punctuation.operator","comment"],f,l={},c={'"':'"',"'":"'"},h=function(e){var t=-1;e.multiSelect&&(t=e.selection.index,l.rangeCount!=e.multiSelect.rangeCount&&(l={rangeCount:e.multiSelect.rangeCount}));if(l[t])return f=l[t];f=l[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},p=function(e,t,n,r){var i=e.end.row-e.start.row;return{text:n+t+r,selection:[0,e.start.column+1,i,e.end.column+(i?0:1)]}},d=function(e){this.add("braces","insertion",function(t,n,r,i,s){var u=r.getCursorPosition(),a=i.doc.getLine(u.row);if(s=="{"){h(r);var l=r.getSelectionRange(),c=i.doc.getTextRange(l);if(c!==""&&c!=="{"&&r.getWrapBehavioursEnabled())return p(l,c,"{","}");if(d.isSaneInsertion(r,i))return/[\]\}\)]/.test(a[u.column])||r.inMultiSelectMode||e&&e.braces?(d.recordAutoInsert(r,i,"}"),{text:"{}",selection:[1,1]}):(d.recordMaybeInsert(r,i,"{"),{text:"{",selection:[1,1]})}else if(s=="}"){h(r);var v=a.substring(u.column,u.column+1);if(v=="}"){var m=i.$findOpeningBracket("}",{column:u.column+1,row:u.row});if(m!==null&&d.isAutoInsertedClosing(u,a,s))return d.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else{if(s=="\n"||s=="\r\n"){h(r);var g="";d.isMaybeInsertedClosing(u,a)&&(g=o.stringRepeat("}",f.maybeInsertedBrackets),d.clearMaybeInsertedClosing());var v=a.substring(u.column,u.column+1);if(v==="}"){var y=i.findMatchingBracket({row:u.row,column:u.column+1},"}");if(!y)return null;var b=this.$getIndent(i.getLine(y.row))}else{if(!g){d.clearMaybeInsertedClosing();return}var b=this.$getIndent(a)}var w=b+i.getTabString();return{text:"\n"+w+"\n"+b+g,selection:[1,w.length,1,w.length]}}d.clearMaybeInsertedClosing()}}),this.add("braces","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="{"){h(n);var o=r.doc.getLine(i.start.row),u=o.substring(i.end.column,i.end.column+1);if(u=="}")return i.end.column++,i;f.maybeInsertedBrackets--}}),this.add("parens","insertion",function(e,t,n,r,i){if(i=="("){h(n);var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return p(s,o,"(",")");if(d.isSaneInsertion(n,r))return d.recordAutoInsert(n,r,")"),{text:"()",selection:[1,1]}}else if(i==")"){h(n);var u=n.getCursorPosition(),a=r.doc.getLine(u.row),f=a.substring(u.column,u.column+1);if(f==")"){var l=r.$findOpeningBracket(")",{column:u.column+1,row:u.row});if(l!==null&&d.isAutoInsertedClosing(u,a,i))return d.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="("){h(n);var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u==")")return i.end.column++,i}}),this.add("brackets","insertion",function(e,t,n,r,i){if(i=="["){h(n);var s=n.getSelectionRange(),o=r.doc.getTextRange(s);if(o!==""&&n.getWrapBehavioursEnabled())return p(s,o,"[","]");if(d.isSaneInsertion(n,r))return d.recordAutoInsert(n,r,"]"),{text:"[]",selection:[1,1]}}else if(i=="]"){h(n);var u=n.getCursorPosition(),a=r.doc.getLine(u.row),f=a.substring(u.column,u.column+1);if(f=="]"){var l=r.$findOpeningBracket("]",{column:u.column+1,row:u.row});if(l!==null&&d.isAutoInsertedClosing(u,a,i))return d.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&s=="["){h(n);var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u=="]")return i.end.column++,i}}),this.add("string_dquotes","insertion",function(e,t,n,r,i){var s=r.$mode.$quotes||c;if(i.length==1&&s[i]){if(this.lineCommentStart&&this.lineCommentStart.indexOf(i)!=-1)return;h(n);var o=i,u=n.getSelectionRange(),a=r.doc.getTextRange(u);if(a!==""&&(a.length!=1||!s[a])&&n.getWrapBehavioursEnabled())return p(u,a,o,o);if(!a){var f=n.getCursorPosition(),l=r.doc.getLine(f.row),d=l.substring(f.column-1,f.column),v=l.substring(f.column,f.column+1),m=r.getTokenAt(f.row,f.column),g=r.getTokenAt(f.row,f.column+1);if(d=="\\"&&m&&/escape/.test(m.type))return null;var y=m&&/string|escape/.test(m.type),b=!g||/string|escape/.test(g.type),w;if(v==o)w=y!==b,w&&/string\.end/.test(g.type)&&(w=!1);else{if(y&&!b)return null;if(y&&b)return null;var E=r.$mode.tokenRe;E.lastIndex=0;var S=E.test(d);E.lastIndex=0;var x=E.test(d);if(S||x)return null;if(v&&!/[\s;,.})\]\\]/.test(v))return null;w=!0}return{text:w?o+o:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(e,t,n,r,i){var s=r.doc.getTextRange(i);if(!i.isMultiLine()&&(s=='"'||s=="'")){h(n);var o=r.doc.getLine(i.start.row),u=o.substring(i.start.column+1,i.start.column+2);if(u==s)return i.end.column++,i}})};d.isSaneInsertion=function(e,t){var n=e.getCursorPosition(),r=new s(t,n.row,n.column);if(!this.$matchTokenType(r.getCurrentToken()||"text",u)){var i=new s(t,n.row,n.column+1);if(!this.$matchTokenType(i.getCurrentToken()||"text",u))return!1}return r.stepForward(),r.getCurrentTokenRow()!==n.row||this.$matchTokenType(r.getCurrentToken()||"text",a)},d.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},d.recordAutoInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isAutoInsertedClosing(r,i,f.autoInsertedLineEnd[0])||(f.autoInsertedBrackets=0),f.autoInsertedRow=r.row,f.autoInsertedLineEnd=n+i.substr(r.column),f.autoInsertedBrackets++},d.recordMaybeInsert=function(e,t,n){var r=e.getCursorPosition(),i=t.doc.getLine(r.row);this.isMaybeInsertedClosing(r,i)||(f.maybeInsertedBrackets=0),f.maybeInsertedRow=r.row,f.maybeInsertedLineStart=i.substr(0,r.column)+n,f.maybeInsertedLineEnd=i.substr(r.column),f.maybeInsertedBrackets++},d.isAutoInsertedClosing=function(e,t,n){return f.autoInsertedBrackets>0&&e.row===f.autoInsertedRow&&n===f.autoInsertedLineEnd[0]&&t.substr(e.column)===f.autoInsertedLineEnd},d.isMaybeInsertedClosing=function(e,t){return f.maybeInsertedBrackets>0&&e.row===f.maybeInsertedRow&&t.substr(e.column)===f.maybeInsertedLineEnd&&t.substr(0,e.column)==f.maybeInsertedLineStart},d.popAutoInsertedClosing=function(){f.autoInsertedLineEnd=f.autoInsertedLineEnd.substr(1),f.autoInsertedBrackets--},d.clearMaybeInsertedClosing=function(){f&&(f.maybeInsertedBrackets=0,f.maybeInsertedRow=-1)},r.inherits(d,i),t.CstyleBehaviour=d}),define("ace/unicode",["require","exports","module"],function(e,t,n){"use strict";function r(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n,"\\u$&")}t.packages={},r({L:"0041-005A0061-007A00AA00B500BA00C0-00D600D8-00F600F8-02C102C6-02D102E0-02E402EC02EE0370-037403760377037A-037D03860388-038A038C038E-03A103A3-03F503F7-0481048A-05250531-055605590561-058705D0-05EA05F0-05F20621-064A066E066F0671-06D306D506E506E606EE06EF06FA-06FC06FF07100712-072F074D-07A507B107CA-07EA07F407F507FA0800-0815081A082408280904-0939093D09500958-0961097109720979-097F0985-098C098F09900993-09A809AA-09B009B209B6-09B909BD09CE09DC09DD09DF-09E109F009F10A05-0A0A0A0F0A100A13-0A280A2A-0A300A320A330A350A360A380A390A59-0A5C0A5E0A72-0A740A85-0A8D0A8F-0A910A93-0AA80AAA-0AB00AB20AB30AB5-0AB90ABD0AD00AE00AE10B05-0B0C0B0F0B100B13-0B280B2A-0B300B320B330B35-0B390B3D0B5C0B5D0B5F-0B610B710B830B85-0B8A0B8E-0B900B92-0B950B990B9A0B9C0B9E0B9F0BA30BA40BA8-0BAA0BAE-0BB90BD00C05-0C0C0C0E-0C100C12-0C280C2A-0C330C35-0C390C3D0C580C590C600C610C85-0C8C0C8E-0C900C92-0CA80CAA-0CB30CB5-0CB90CBD0CDE0CE00CE10D05-0D0C0D0E-0D100D12-0D280D2A-0D390D3D0D600D610D7A-0D7F0D85-0D960D9A-0DB10DB3-0DBB0DBD0DC0-0DC60E01-0E300E320E330E40-0E460E810E820E840E870E880E8A0E8D0E94-0E970E99-0E9F0EA1-0EA30EA50EA70EAA0EAB0EAD-0EB00EB20EB30EBD0EC0-0EC40EC60EDC0EDD0F000F40-0F470F49-0F6C0F88-0F8B1000-102A103F1050-1055105A-105D106110651066106E-10701075-1081108E10A0-10C510D0-10FA10FC1100-1248124A-124D1250-12561258125A-125D1260-1288128A-128D1290-12B012B2-12B512B8-12BE12C012C2-12C512C8-12D612D8-13101312-13151318-135A1380-138F13A0-13F41401-166C166F-167F1681-169A16A0-16EA1700-170C170E-17111720-17311740-17511760-176C176E-17701780-17B317D717DC1820-18771880-18A818AA18B0-18F51900-191C1950-196D1970-19741980-19AB19C1-19C71A00-1A161A20-1A541AA71B05-1B331B45-1B4B1B83-1BA01BAE1BAF1C00-1C231C4D-1C4F1C5A-1C7D1CE9-1CEC1CEE-1CF11D00-1DBF1E00-1F151F18-1F1D1F20-1F451F48-1F4D1F50-1F571F591F5B1F5D1F5F-1F7D1F80-1FB41FB6-1FBC1FBE1FC2-1FC41FC6-1FCC1FD0-1FD31FD6-1FDB1FE0-1FEC1FF2-1FF41FF6-1FFC2071207F2090-209421022107210A-211321152119-211D212421262128212A-212D212F-2139213C-213F2145-2149214E218321842C00-2C2E2C30-2C5E2C60-2CE42CEB-2CEE2D00-2D252D30-2D652D6F2D80-2D962DA0-2DA62DA8-2DAE2DB0-2DB62DB8-2DBE2DC0-2DC62DC8-2DCE2DD0-2DD62DD8-2DDE2E2F300530063031-3035303B303C3041-3096309D-309F30A1-30FA30FC-30FF3105-312D3131-318E31A0-31B731F0-31FF3400-4DB54E00-9FCBA000-A48CA4D0-A4FDA500-A60CA610-A61FA62AA62BA640-A65FA662-A66EA67F-A697A6A0-A6E5A717-A71FA722-A788A78BA78CA7FB-A801A803-A805A807-A80AA80C-A822A840-A873A882-A8B3A8F2-A8F7A8FBA90A-A925A930-A946A960-A97CA984-A9B2A9CFAA00-AA28AA40-AA42AA44-AA4BAA60-AA76AA7AAA80-AAAFAAB1AAB5AAB6AAB9-AABDAAC0AAC2AADB-AADDABC0-ABE2AC00-D7A3D7B0-D7C6D7CB-D7FBF900-FA2DFA30-FA6DFA70-FAD9FB00-FB06FB13-FB17FB1DFB1F-FB28FB2A-FB36FB38-FB3CFB3EFB40FB41FB43FB44FB46-FBB1FBD3-FD3DFD50-FD8FFD92-FDC7FDF0-FDFBFE70-FE74FE76-FEFCFF21-FF3AFF41-FF5AFF66-FFBEFFC2-FFC7FFCA-FFCFFFD2-FFD7FFDA-FFDC",Ll:"0061-007A00AA00B500BA00DF-00F600F8-00FF01010103010501070109010B010D010F01110113011501170119011B011D011F01210123012501270129012B012D012F01310133013501370138013A013C013E014001420144014601480149014B014D014F01510153015501570159015B015D015F01610163016501670169016B016D016F0171017301750177017A017C017E-0180018301850188018C018D019201950199-019B019E01A101A301A501A801AA01AB01AD01B001B401B601B901BA01BD-01BF01C601C901CC01CE01D001D201D401D601D801DA01DC01DD01DF01E101E301E501E701E901EB01ED01EF01F001F301F501F901FB01FD01FF02010203020502070209020B020D020F02110213021502170219021B021D021F02210223022502270229022B022D022F02310233-0239023C023F0240024202470249024B024D024F-02930295-02AF037103730377037B-037D039003AC-03CE03D003D103D5-03D703D903DB03DD03DF03E103E303E503E703E903EB03ED03EF-03F303F503F803FB03FC0430-045F04610463046504670469046B046D046F04710473047504770479047B047D047F0481048B048D048F04910493049504970499049B049D049F04A104A304A504A704A904AB04AD04AF04B104B304B504B704B904BB04BD04BF04C204C404C604C804CA04CC04CE04CF04D104D304D504D704D904DB04DD04DF04E104E304E504E704E904EB04ED04EF04F104F304F504F704F904FB04FD04FF05010503050505070509050B050D050F05110513051505170519051B051D051F0521052305250561-05871D00-1D2B1D62-1D771D79-1D9A1E011E031E051E071E091E0B1E0D1E0F1E111E131E151E171E191E1B1E1D1E1F1E211E231E251E271E291E2B1E2D1E2F1E311E331E351E371E391E3B1E3D1E3F1E411E431E451E471E491E4B1E4D1E4F1E511E531E551E571E591E5B1E5D1E5F1E611E631E651E671E691E6B1E6D1E6F1E711E731E751E771E791E7B1E7D1E7F1E811E831E851E871E891E8B1E8D1E8F1E911E931E95-1E9D1E9F1EA11EA31EA51EA71EA91EAB1EAD1EAF1EB11EB31EB51EB71EB91EBB1EBD1EBF1EC11EC31EC51EC71EC91ECB1ECD1ECF1ED11ED31ED51ED71ED91EDB1EDD1EDF1EE11EE31EE51EE71EE91EEB1EED1EEF1EF11EF31EF51EF71EF91EFB1EFD1EFF-1F071F10-1F151F20-1F271F30-1F371F40-1F451F50-1F571F60-1F671F70-1F7D1F80-1F871F90-1F971FA0-1FA71FB0-1FB41FB61FB71
gitextract_tbx6gjxh/
├── .gitignore
├── HOWTO.md
├── LICENSE.txt
├── README.md
├── code-of-conduct.md
├── index.html
├── lib/
│ ├── SAT.js
│ ├── Tween.js
│ ├── URLParameterUtils.js
│ ├── WickEditorInputs.js
│ ├── ace/
│ │ ├── ace.js
│ │ ├── ext-language_tools.js
│ │ ├── mode-javascript.js
│ │ ├── theme-chrome.js
│ │ ├── theme-idle_fingers.css
│ │ ├── theme-idle_fingers.js
│ │ ├── theme-tomorrow.js
│ │ └── worker-javascript.js
│ ├── applyStyle.js
│ ├── base64-arraybuffer.js
│ ├── beautify.js
│ ├── bowser.js
│ ├── canvasutils.js
│ ├── croquis.js
│ ├── filedownloader.js
│ ├── fpscounter.js
│ ├── gif.js
│ ├── gif.worker.js
│ ├── highlight/
│ │ ├── CHANGES.md
│ │ ├── LICENSE
│ │ ├── README.md
│ │ ├── README.ru.md
│ │ ├── highlight.pack.js
│ │ └── styles/
│ │ ├── agate.css
│ │ ├── androidstudio.css
│ │ ├── arduino-light.css
│ │ ├── arta.css
│ │ ├── ascetic.css
│ │ ├── atelier-cave-dark.css
│ │ ├── atelier-cave-light.css
│ │ ├── atelier-dune-dark.css
│ │ ├── atelier-dune-light.css
│ │ ├── atelier-estuary-dark.css
│ │ ├── atelier-estuary-light.css
│ │ ├── atelier-forest-dark.css
│ │ ├── atelier-forest-light.css
│ │ ├── atelier-heath-dark.css
│ │ ├── atelier-heath-light.css
│ │ ├── atelier-lakeside-dark.css
│ │ ├── atelier-lakeside-light.css
│ │ ├── atelier-plateau-dark.css
│ │ ├── atelier-plateau-light.css
│ │ ├── atelier-savanna-dark.css
│ │ ├── atelier-savanna-light.css
│ │ ├── atelier-seaside-dark.css
│ │ ├── atelier-seaside-light.css
│ │ ├── atelier-sulphurpool-dark.css
│ │ ├── atelier-sulphurpool-light.css
│ │ ├── atom-one-dark.css
│ │ ├── atom-one-light.css
│ │ ├── brown-paper.css
│ │ ├── codepen-embed.css
│ │ ├── color-brewer.css
│ │ ├── darcula.css
│ │ ├── dark.css
│ │ ├── darkula.css
│ │ ├── default.css
│ │ ├── docco.css
│ │ ├── dracula.css
│ │ ├── far.css
│ │ ├── foundation.css
│ │ ├── github-gist.css
│ │ ├── github.css
│ │ ├── googlecode.css
│ │ ├── grayscale.css
│ │ ├── gruvbox-dark.css
│ │ ├── gruvbox-light.css
│ │ ├── hopscotch.css
│ │ ├── hybrid.css
│ │ ├── idea.css
│ │ ├── ir-black.css
│ │ ├── kimbie.dark.css
│ │ ├── kimbie.light.css
│ │ ├── magula.css
│ │ ├── mono-blue.css
│ │ ├── monokai-sublime.css
│ │ ├── monokai.css
│ │ ├── obsidian.css
│ │ ├── ocean.css
│ │ ├── paraiso-dark.css
│ │ ├── paraiso-light.css
│ │ ├── pojoaque.css
│ │ ├── purebasic.css
│ │ ├── qtcreator_dark.css
│ │ ├── qtcreator_light.css
│ │ ├── railscasts.css
│ │ ├── rainbow.css
│ │ ├── school-book.css
│ │ ├── solarized-dark.css
│ │ ├── solarized-light.css
│ │ ├── sunburst.css
│ │ ├── tomorrow-night-blue.css
│ │ ├── tomorrow-night-bright.css
│ │ ├── tomorrow-night-eighties.css
│ │ ├── tomorrow-night.css
│ │ ├── tomorrow.css
│ │ ├── vs.css
│ │ ├── xcode.css
│ │ ├── xt256.css
│ │ └── zenburn.css
│ ├── html2canvas.js
│ ├── idb-keyval-min.js
│ ├── jquery-ui.custom.js
│ ├── jquery.fancytree.filter.js
│ ├── jquery.fancytree.js
│ ├── jscolor.js
│ ├── keyCharToCode.js
│ ├── lerp.js
│ ├── libgif.js
│ ├── localstoragewrapper.js
│ ├── nouislider.css
│ ├── nouislider.js
│ ├── offset.js
│ ├── paper-full.js
│ ├── paperholefinder.js
│ ├── pixi-layers.js
│ ├── pixi.min.4.6.1.js
│ ├── polyfills.js
│ ├── potrace.js
│ ├── random.js
│ ├── rangeslider.css
│ ├── saveSvgAsPng.js
│ ├── screenfull.js
│ ├── scrollbar.js
│ ├── skin-win8/
│ │ ├── ui.fancytree.css
│ │ └── ui.fancytree.less
│ ├── socket.io-1.2.0.js
│ ├── soundcloud-waveform.js
│ ├── spectrum.css
│ ├── spectrum.js
│ ├── timer.js
│ ├── two.js
│ ├── video-export/
│ │ ├── ffmpeg.js
│ │ ├── videoExporter.js
│ │ └── worker-asm.js
│ ├── webfont.js
│ └── whammy.js
├── main.js
├── player.html
├── resources/
│ ├── credits.html
│ ├── icons/
│ │ └── mac/
│ │ └── icon.icns
│ └── testcontent/
│ └── whistle.ogg
├── src/
│ ├── editor/
│ │ ├── WickEditor.GuiActionHandler.js
│ │ ├── WickEditor.InputHandler.js
│ │ ├── WickEditor.Settings.js
│ │ ├── WickEditor.WickActionHandler.js
│ │ ├── WickEditor.js
│ │ ├── interfaces/
│ │ │ ├── Interfaces.AlertBox.js
│ │ │ ├── Interfaces.Breadcrumbs.js
│ │ │ ├── Interfaces.BuiltinPlayer.js
│ │ │ ├── Interfaces.Canvas.Backdrop.js
│ │ │ ├── Interfaces.Canvas.Fast.js
│ │ │ ├── Interfaces.Canvas.ImageRenderer.js
│ │ │ ├── Interfaces.Canvas.Interactive.js
│ │ │ ├── Interfaces.Canvas.js
│ │ │ ├── Interfaces.ColorPicker.js
│ │ │ ├── Interfaces.Credits.js
│ │ │ ├── Interfaces.CursorIcon.js
│ │ │ ├── Interfaces.EditorSettings.js
│ │ │ ├── Interfaces.Inspector.InputTypes.js
│ │ │ ├── Interfaces.Inspector.Properties.js
│ │ │ ├── Interfaces.Inspector.js
│ │ │ ├── Interfaces.Library.js
│ │ │ ├── Interfaces.MenuBar.js
│ │ │ ├── Interfaces.RightClickMenu.js
│ │ │ ├── Interfaces.ScriptingIDE.Reference.js
│ │ │ ├── Interfaces.ScriptingIDE.js
│ │ │ ├── Interfaces.TextEditBox.js
│ │ │ ├── Interfaces.Timeline.FramesContainer.js
│ │ │ ├── Interfaces.Timeline.Interactions.js
│ │ │ ├── Interfaces.Timeline.LayersContainer.js
│ │ │ ├── Interfaces.Timeline.js
│ │ │ ├── Interfaces.Toolbar.js
│ │ │ └── Interfaces.VideoExporter.js
│ │ └── tools/
│ │ ├── Tools.Dropper.js
│ │ ├── Tools.Ellipse.js
│ │ ├── Tools.Eraser.js
│ │ ├── Tools.FillBucket.js
│ │ ├── Tools.Line.js
│ │ ├── Tools.Paintbrush.js
│ │ ├── Tools.Pan.js
│ │ ├── Tools.Pen.js
│ │ ├── Tools.Pencil.js
│ │ ├── Tools.Rectangle.js
│ │ ├── Tools.SelectionCursor.js
│ │ ├── Tools.Text.js
│ │ ├── Tools.VectorCursor.js
│ │ └── Tools.Zoom.js
│ ├── player/
│ │ ├── WickPlayer.HowlerAudioPlayer.js
│ │ ├── WickPlayer.InputHandler.js
│ │ ├── WickPlayer.PixiRenderer.js
│ │ ├── WickPlayer.js
│ │ └── emptyplayer.htm
│ └── project/
│ ├── WickAsset.js
│ ├── WickCamera.js
│ ├── WickDocs.js
│ ├── WickFrame.js
│ ├── WickLayer.js
│ ├── WickObject.js
│ ├── WickProject.AssetLibrary.js
│ ├── WickProject.Compressor.js
│ ├── WickProject.Exporter.js
│ ├── WickProject.js
│ └── WickTween.js
├── styles/
│ ├── Open_Sans/
│ │ └── LICENSE.txt
│ ├── colorpicker.css
│ ├── editor.css
│ ├── inspector.css
│ ├── library.css
│ ├── progressBar.css
│ ├── scriptingide.css
│ ├── textBox.css
│ ├── timeline.css
│ ├── toolbar.css
│ └── videoExporter.css
└── tests/
└── test.wick
SYMBOL INDEX (1671 symbols across 57 files)
FILE: lib/SAT.js
function x (line 2) | function x(){function c(a,e){this.x=a||0;this.y=e||0}function B(a,e){thi...
FILE: lib/ace/ace.js
function o (line 1) | function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.defin...
function o (line 1) | function o(e){return(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline...
function u (line 1) | function u(e,t,n){if(Array.prototype.indexOf)return e.indexOf(t,n);for(v...
function r (line 1) | function r(){}
function w (line 1) | function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentine...
function H (line 1) | function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-...
function B (line 1) | function B(e){var t=typeof e;return e===null||t==="undefined"||t==="bool...
function j (line 1) | function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="funct...
function e (line 1) | function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}
function a (line 1) | function a(e,t,n){var a=u(t);if(!i.isMac&&s){t.getModifierState&&(t.getM...
function f (line 1) | function f(){s=Object.create(null)}
function i (line 1) | function i(e){n&&n(e),r&&r(e),t.removeListener(document,"mousemove",n,!0...
function c (line 1) | function c(e){t.getButton(e)!==0?o=0:e.detail>1?(o++,o>4&&(o=1)):o=1;if(...
function h (line 1) | function h(e){o=2,f&&clearTimeout(f),f=setTimeout(function(){f=null},n[o...
function x (line 1) | function x(e){if(m)return;m=!0;if(k)t=0,n=e?0:c.value.length-1;else var ...
function T (line 1) | function T(){if(m)return;c.value=h,i.isWebKit&&S.schedule()}
function R (line 1) | function R(){clearTimeout(q),q=setTimeout(function(){g&&(c.style.cssText...
function w (line 1) | function w(e){if(p)return;p=!0;if(T)t=0,r=e?0:n.value.length-1;else var ...
function E (line 1) | function E(){if(p)return;n.value=l,i.isWebKit&&b.schedule()}
function F (line 1) | function F(){clearTimeout(j),j=setTimeout(function(){d&&(n.style.cssText...
function u (line 1) | function u(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler(...
function a (line 1) | function a(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}
function f (line 1) | function f(e,t){if(e.start.row==e.end.row)var n=2*t.column-e.start.colum...
function s (line 1) | function s(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}
function u (line 1) | function u(e){function l(){var r=u.getDocumentPosition().row,s=n.$annota...
function a (line 1) | function a(e){o.call(this,e)}
function f (line 1) | function f(e){function T(e,n){var r=Date.now(),i=!n||e.row!=n.row,s=!n||...
function l (line 1) | function l(e,t,n,r){return Math.sqrt(Math.pow(n-e,2)+Math.pow(r-t,2))}
function o (line 1) | function o(e){typeof console!="undefined"&&console.warn&&console.warn.ap...
function u (line 1) | function u(e,t){var n=new Error(e);n.data=t,typeof console=="object"&&co...
function f (line 1) | function f(r){if(!u||!u.document)return;a.packaged=r||e.packaged||n.pack...
function l (line 1) | function l(e){return e.replace(/-(.)/g,function(e,t){return t.toUpperCas...
function r (line 1) | function r(e){e.on("click",function(t){var n=t.getDocumentPosition(),r=e...
function i (line 1) | function i(s){var o=r[s];o.processed=!0;for(var u=0;u<o.length;u++){var ...
function r (line 1) | function r(e){var n=/\w{4}/g;for(var r in e)t.packages[r]=e[r].replace(n...
function w (line 1) | function w(e){for(var t=n;t<=r;t++)e(i.getLine(t),t)}
function r (line 1) | function r(e,t){throw console.log("Invalid Delta:",e),"Invalid Delta: "+t}
function i (line 1) | function i(e,t){return t.row>=0&&t.row<e.length&&t.column>=0&&t.column<=...
function s (line 1) | function s(e,t){t.action!="insert"&&t.action!="remove"&&r(t,"delta.actio...
function e (line 1) | function e(e,t,n){var r=n?e.column<=t.column:e.column<t.column;return e....
function t (line 1) | function t(t,n,r){var i=t.action=="insert",s=(i?1:-1)*(t.end.row-t.start...
function i (line 1) | function i(e,t){this.foldData=e,Array.isArray(t)?this.folds=t:t=this.fol...
function u (line 1) | function u(e,t){e.row-=t.row,e.row==0&&(e.column-=t.column)}
function a (line 1) | function a(e,t){u(e.start,t),u(e.end,t)}
function f (line 1) | function f(e,t){e.row==0&&(e.column+=t.column),e.row+=t.row}
function l (line 1) | function l(e,t){f(e.start,t),f(e.end,t)}
function u (line 1) | function u(){this.getFoldAt=function(e,t,n){var r=this.getFoldLine(e);if...
function s (line 1) | function s(){this.findMatchingBracket=function(e,t){if(e.column==0)retur...
function m (line 1) | function m(e){return e<4352?!1:e>=4352&&e<=4447||e>=4515&&e<=4519||e>=46...
function r (line 1) | function r(e){return t?e.action!=="insert":e.action==="insert"}
function g (line 1) | function g(){var t=0;if(m===0)return t;if(h)for(var n=0;n<e.length;n++){...
function y (line 1) | function y(t){var n=e.slice(a,t),r=n.length;n.join("").replace(/12/g,fun...
function u (line 1) | function u(e,t){function n(e){return/\w/.test(e)||t.regExp?"\\b":""}retu...
function o (line 1) | function o(e,t){this.platform=t||(i.isMac?"mac":"win"),this.commands={},...
function u (line 1) | function u(e,t){o.call(this,e,t),this.$singleCommand=!1}
function e (line 1) | function e(e){return typeof e=="object"&&e.bindKey&&e.bindKey.position||...
function o (line 1) | function o(e,t){return{win:e,mac:t}}
function e (line 1) | function e(e){return e[e.length-1]}
function e (line 1) | function e(e){return{action:e.action,start:e.start,end:e.end,lines:e.lin...
function t (line 1) | function t(e){return{action:e.action,start:e.start,end:e.end,lines:e.lin...
function n (line 1) | function n(e,t){var n=new Array(e.length);for(var r=0;r<e.length;r++){va...
function e (line 1) | function e(e,t,n,r){return(e?1:0)|(t?2:0)|(n?4:0)|(r?8:0)}
function i (line 1) | function i(e,t,n){var i=0,s=0;while(s+e[i].value.length<t){s+=e[i].value...
function o (line 1) | function o(r){if(n.$themeId!=e)return t&&t();if(!r||!r.cssClass)throw ne...
function u (line 1) | function u(e){var t="importScripts('"+i.qualifyURL(e)+"');";try{return n...
function a (line 1) | function a(e){var t=u(e),n=window.URL||window.webkitURL,r=n.createObject...
function s (line 1) | function s(e,t){return e.row==t.row&&e.column==t.column}
function o (line 1) | function o(e){var t=e.domEvent,n=t.altKey,o=t.shiftKey,u=t.ctrlKey,a=e.g...
function h (line 1) | function h(e,t,n){return c.$options.wrap=!0,c.$options.needle=t,c.$optio...
function v (line 1) | function v(e,t){return e.row==t.row&&e.column==t.column}
function m (line 1) | function m(e){if(e.$multiselectOnSessionChange)return;e.$onAddRange=e.$o...
function g (line 1) | function g(e){function r(t){n&&(e.renderer.setMouseCursor(""),n=!1)}var ...
function u (line 1) | function u(e){return a.stringRepeat(" ",e)}
function f (line 1) | function f(e){return e[2]?u(i)+e[2]+u(s-e[2].length+o)+e[4].replace(/^([...
function l (line 1) | function l(e){return e[2]?u(i+s-e[2].length)+e[2]+u(o," ")+e[4].replace(...
function c (line 1) | function c(e){return e[2]?u(i)+e[2]+u(o)+e[4].replace(/^([=:])\s+/,"$1 "...
function o (line 1) | function o(e){this.session=e,this.session.widgetManager=this,this.sessio...
function o (line 1) | function o(e,t,n){var r=0,i=e.length-1;while(r<=i){var s=r+i>>1,o=n(t,e[...
function u (line 1) | function u(e,t,n){var r=e.getAnnotations().sort(s.comparePoints);if(!r.l...
FILE: lib/ace/ext-language_tools.js
function TabstopToken (line 21) | function TabstopToken(str, _, stack) {
function escape (line 27) | function escape(ch) {
function gotoNext (line 229) | function gotoNext(ch) {
function copyValue (line 284) | function copyValue(val) {
function wrapRegexp (line 463) | function wrapRegexp(src) {
function guardedRegexp (line 469) | function guardedRegexp(re, guard, opening) {
function addSnippet (line 484) | function addSnippet(s) {
function removeSnippet (line 529) | function removeSnippet(s) {
function getWordIndex (line 1748) | function getWordIndex(doc, pos) {
function wordDistance (line 1752) | function wordDistance(doc, pos) {
FILE: lib/ace/mode-javascript.js
function JSX (line 405) | function JSX() {
function comments (line 505) | function comments(next) {
FILE: lib/ace/worker-javascript.js
function resolveModuleId (line 87) | function resolveModuleId(id, paths) {
function throwDeltaError (line 495) | function throwDeltaError(delta, errorText){
function positionInDocument (line 500) | function positionInDocument(docLines, position) {
function validateDelta (line 505) | function validateDelta(docLines, delta) {
function $pointsInOrder (line 720) | function $pointsInOrder(point1, point2, equalPointsInOrder) {
function $getTransformedPoint (line 725) | function $getTransformedPoint(delta, point, moveIfEqual) {
function newRequire (line 1419) | function newRequire(name, jumped){
function EventEmitter (line 1442) | function EventEmitter() {
function g (line 1563) | function g() {
function isFunction (line 1679) | function isFunction(arg) {
function isNumber (line 1683) | function isNumber(arg) {
function isObject (line 1687) | function isObject(arg) {
function isUndefined (line 1691) | function isUndefined(arg) {
function baseFindIndex (line 1814) | function baseFindIndex(array, predicate, fromRight) {
function baseIndexOf (line 1826) | function baseIndexOf(array, value, fromIndex) {
function baseIsFunction (line 1841) | function baseIsFunction(value) {
function baseToString (line 1845) | function baseToString(value) {
function indexOfNaN (line 1852) | function indexOfNaN(array, fromIndex, fromRight) {
function isObjectLike (line 1865) | function isObjectLike(value) {
function lodash (line 1924) | function lodash() {
function arrayCopy (line 1948) | function arrayCopy(source, array) {
function arrayEach (line 1959) | function arrayEach(array, iteratee) {
function arrayFilter (line 1971) | function arrayFilter(array, predicate) {
function arrayMap (line 1986) | function arrayMap(array, iteratee) {
function arrayMax (line 1997) | function arrayMax(array) {
function arraySome (line 2011) | function arraySome(array, predicate) {
function assignWith (line 2023) | function assignWith(object, source, customizer) {
function baseCopy (line 2049) | function baseCopy(source, props, object) {
function baseCallback (line 2062) | function baseCallback(func, thisArg, argCount) {
function baseClone (line 2080) | function baseClone(value, isDeep, customizer, key, object, stackA, stack...
function baseFilter (line 2132) | function baseFilter(collection, predicate) {
function baseForIn (line 2144) | function baseForIn(object, iteratee) {
function baseForOwn (line 2148) | function baseForOwn(object, iteratee) {
function baseGet (line 2152) | function baseGet(object, path, pathKey) {
function baseIsEqual (line 2168) | function baseIsEqual(value, other, customizer, isLoose, stackA, stackB) {
function baseIsEqualDeep (line 2182) | function baseIsEqualDeep(object, other, equalFunc, customizer, isLoose, ...
function baseIsMatch (line 2242) | function baseIsMatch(object, props, values, strictCompareFlags, customiz...
function baseMatches (line 2276) | function baseMatches(source) {
function baseMatchesProperty (line 2309) | function baseMatchesProperty(path, value) {
function baseMerge (line 2335) | function baseMerge(object, source, customizer, stackA, stackB) {
function baseMergeDeep (line 2371) | function baseMergeDeep(object, source, key, mergeFunc, customizer, stack...
function baseProperty (line 2411) | function baseProperty(key) {
function basePropertyDeep (line 2417) | function basePropertyDeep(path) {
function baseSlice (line 2425) | function baseSlice(array, start, end) {
function baseSome (line 2447) | function baseSome(collection, predicate) {
function baseValues (line 2457) | function baseValues(object, props) {
function binaryIndex (line 2468) | function binaryIndex(array, value, retHighest) {
function binaryIndexBy (line 2488) | function binaryIndexBy(array, value, iteratee, retHighest) {
function bindCallback (line 2517) | function bindCallback(func, thisArg, argCount) {
function bufferClone (line 2543) | function bufferClone(buffer) {
function createAssigner (line 2565) | function createAssigner(assigner) {
function createBaseEach (line 2594) | function createBaseEach(eachFunc, fromRight) {
function createBaseFor (line 2612) | function createBaseFor(fromRight) {
function createFindIndex (line 2629) | function createFindIndex(fromRight) {
function createForEach (line 2639) | function createForEach(arrayFunc, eachFunc) {
function equalArrays (line 2647) | function equalArrays(array, other, equalFunc, customizer, isLoose, stack...
function equalByTag (line 2684) | function equalByTag(object, other, tag) {
function equalObjects (line 2705) | function equalObjects(object, other, equalFunc, customizer, isLoose, sta...
function getCallback (line 2754) | function getCallback(func, thisArg, argCount) {
function getIndexOf (line 2760) | function getIndexOf(collection, target, fromIndex) {
function initCloneArray (line 2772) | function initCloneArray(array) {
function initCloneObject (line 2783) | function initCloneObject(object) {
function initCloneByTag (line 2791) | function initCloneByTag(object, tag, isDeep) {
function isIndex (line 2818) | function isIndex(value, length) {
function isIterateeCall (line 2824) | function isIterateeCall(value, index, object) {
function isKey (line 2842) | function isKey(value, object) {
function isLength (line 2854) | function isLength(value) {
function isStrictComparable (line 2858) | function isStrictComparable(value) {
function shimIsPlainObject (line 2862) | function shimIsPlainObject(value) {
function shimKeys (line 2878) | function shimKeys(object) {
function toObject (line 2899) | function toObject(value) {
function toPath (line 2903) | function toPath(value) {
function indexOf (line 2916) | function indexOf(array, value, fromIndex) {
function last (line 2935) | function last(array) {
function slice (line 2940) | function slice(array, start, end) {
function unzip (line 2952) | function unzip(array) {
function includes (line 2967) | function includes(collection, target, fromIndex, guard) {
function reject (line 2986) | function reject(collection, predicate, thisArg) {
function some (line 2994) | function some(collection, predicate, thisArg) {
function restParam (line 3005) | function restParam(func, start) {
function clone (line 3034) | function clone(value, isDeep, customizer, thisArg) {
function isArguments (line 3047) | function isArguments(value) {
function isEmpty (line 3056) | function isEmpty(value) {
function isObject (line 3072) | function isObject(value) {
function isNative (line 3077) | function isNative(value) {
function isNumber (line 3087) | function isNumber(value) {
function isString (line 3103) | function isString(value) {
function isTypedArray (line 3107) | function isTypedArray(value) {
function toPlainObject (line 3111) | function toPlainObject(value) {
function has (line 3121) | function has(object, path) {
function keysIn (line 3147) | function keysIn(object) {
function values (line 3178) | function values(object) {
function escapeRegExp (line 3182) | function escapeRegExp(string) {
function callback (line 3189) | function callback(func, thisArg, guard) {
function constant (line 3196) | function constant(value) {
function identity (line 3202) | function identity(value) {
function property (line 3206) | function property(path) {
function checkOption (line 3323) | function checkOption(name, t) {
function isString (line 3340) | function isString(obj) {
function isIdentifier (line 3344) | function isIdentifier(tkn, value) {
function isReserved (line 3354) | function isReserved(token) {
function supplant (line 3378) | function supplant(str, data) {
function combine (line 3385) | function combine(dest, src) {
function processenforceall (line 3392) | function processenforceall() {
function assume (line 3408) | function assume() {
function quit (line 3534) | function quit(code, line, chr) {
function removeIgnoredMessages (line 3548) | function removeIgnoredMessages() {
function warning (line 3555) | function warning(code, t, a, b, c, d) {
function warningAt (line 3602) | function warningAt(m, l, ch, a, b, c, d) {
function error (line 3609) | function error(m, t, a, b, c, d) {
function errorAt (line 3613) | function errorAt(m, l, ch, a, b, c, d) {
function addInternalSrc (line 3619) | function addInternalSrc(elem, src) {
function doOption (line 3630) | function doOption() {
function peek (line 3932) | function peek(p) {
function peekIgnoreEOL (line 3953) | function peekIgnoreEOL() {
function advance (line 3962) | function advance(id, t) {
function isInfix (line 4025) | function isInfix(token) {
function isEndOfExpr (line 4029) | function isEndOfExpr() {
function isBeginOfExpr (line 4041) | function isBeginOfExpr(prev) {
function expression (line 4045) | function expression(rbp, initial) {
function startLine (line 4128) | function startLine(token) {
function nobreaknonadjacent (line 4132) | function nobreaknonadjacent(left, right) {
function nolinebreak (line 4140) | function nolinebreak(t) {
function nobreakcomma (line 4147) | function nobreakcomma(left, right) {
function comma (line 4159) | function comma(opts) {
function symbol (line 4212) | function symbol(s, p) {
function delim (line 4224) | function delim(s) {
function stmt (line 4230) | function stmt(s, f) {
function blockstmt (line 4237) | function blockstmt(s, f) {
function reserveName (line 4243) | function reserveName(x) {
function prefix (line 4251) | function prefix(s, f) {
function type (line 4280) | function type(s, f) {
function reserve (line 4287) | function reserve(name, func) {
function FutureReservedWord (line 4294) | function FutureReservedWord(name, meta) {
function reservevar (line 4310) | function reservevar(s, v) {
function infix (line 4319) | function infix(s, f, p, w) {
function application (line 4341) | function application(s) {
function relation (line 4354) | function relation(s, f) {
function isPoorRelation (line 4385) | function isPoorRelation(node) {
function isTypoTypeof (line 4405) | function isTypoTypeof(left, right, state) {
function isGlobalEval (line 4422) | function isGlobalEval(left, state) {
function findNativePrototype (line 4440) | function findNativePrototype(left) {
function checkLeftSideAssign (line 4467) | function checkLeftSideAssign(left, assignToken, options) {
function assignop (line 4528) | function assignop(s, f, p) {
function bitwise (line 4546) | function bitwise(s, f, p) {
function bitwiseassignop (line 4560) | function bitwiseassignop(s) {
function suffix (line 4574) | function suffix(s) {
function optionalidentifier (line 4596) | function optionalidentifier(fnparam, prop, preserve) {
function identifier (line 4625) | function identifier(fnparam, prop) {
function reachable (line 4658) | function reachable(controlToken) {
function parseFinalSemicolon (line 4686) | function parseFinalSemicolon() {
function statement (line 4706) | function statement() {
function statements (line 4770) | function statements() {
function directives (line 4788) | function directives() {
function block (line 4831) | function block(ordinary, stmt, isfunc, isfatarrow, iscase) {
function countMember (line 4959) | function countMember(m) {
function comprehensiveArrayExpression (line 5622) | function comprehensiveArrayExpression() {
function isMethod (line 5731) | function isMethod() {
function isPropertyName (line 5737) | function isPropertyName(token) {
function propertyName (line 5742) | function propertyName(preserveOrToken) {
function functionparams (line 5775) | function functionparams(options) {
function functor (line 5856) | function functor(name, token, overwrites) {
function isFunctor (line 5897) | function isFunctor(token) {
function hasParsedCode (line 5900) | function hasParsedCode(funct) {
function doTemplateLiteral (line 5904) | function doTemplateLiteral(left) {
function doFunction (line 5934) | function doFunction(options) {
function createMetrics (line 6019) | function createMetrics(functionStartToken) {
function increaseComplexityCount (line 6058) | function increaseComplexityCount() {
function checkCondAssignment (line 6062) | function checkCondAssignment(expr) {
function checkProperties (line 6087) | function checkProperties(props) {
function metaProperty (line 6097) | function metaProperty(name, c) {
function destructuringPattern (line 6232) | function destructuringPattern(options) {
function destructuringPatternRecursive (line 6243) | function destructuringPatternRecursive(options) {
function destructuringPatternMatch (line 6375) | function destructuringPatternMatch(tokens, value) {
function blockVariableStatement (line 6392) | function blockVariableStatement(type, statement, context) {
function classdef (line 6589) | function classdef(isStatement) {
function classtail (line 6609) | function classtail(c) {
function classbody (line 6623) | function classbody(c) {
function doCatch (line 6823) | function doCatch() {
function saveProperty (line 7581) | function saveProperty(props, name, tkn, isClass, isStatic) {
function saveAccessor (line 7597) | function saveAccessor(accessorType, props, name, tkn, isClass, isStatic) {
function computedPropertyName (line 7624) | function computedPropertyName() {
function checkPunctuators (line 7633) | function checkPunctuators(token, values) {
function checkPunctuator (line 7639) | function checkPunctuator(token, value) {
function destructuringAssignOrJsonValue (line 7642) | function destructuringAssignOrJsonValue() {
function declare (line 7664) | function declare(v) {
function use (line 7673) | function use(v) {
function jsonValue (line 7742) | function jsonValue() {
function each (line 7856) | function each(obj, cb) {
method isJSON (line 7943) | get isJSON() {
function asyncTrigger (line 8211) | function asyncTrigger() {
function Lexer (line 8228) | function Lexer(source) {
function commentToken (line 8466) | function commentToken(label, body, opt) {
function isNonAsciiIdentifierStart (line 8628) | function isNonAsciiIdentifierStart(code) {
function isNonAsciiIdentifierPart (line 8632) | function isNonAsciiIdentifierPart(code) {
function isHexDigit (line 8636) | function isHexDigit(str) {
function removeEscapeSequences (line 8717) | function removeEscapeSequences(id) {
function isDecimalDigit (line 8768) | function isDecimalDigit(str) {
function isOctalDigit (line 8772) | function isOctalDigit(str) {
function isBinaryDigit (line 8776) | function isBinaryDigit(str) {
function isHexDigit (line 8780) | function isHexDigit(str) {
function isIdentifierStart (line 8784) | function isIdentifierStart(ch) {
function isReserved (line 9462) | function isReserved(token, isProperty) {
function NameStack (line 9965) | function NameStack() {
function _newScope (line 10180) | function _newScope(type) {
function warning (line 10202) | function warning(code, token) {
function error (line 10210) | function error(code, token) {
function _setupUsages (line 10218) | function _setupUsages(labelName) {
function _checkForUnused (line 10266) | function _checkForUnused() {
function _checkParams (line 10281) | function _checkParams() {
function _getLabel (line 10307) | function _getLabel(labelName) {
function usedSoFarInCurrentFunction (line 10316) | function usedSoFarInCurrentFunction(labelName) {
function _checkOuterShadow (line 10329) | function _checkOuterShadow(labelName, token) {
function _latedefWarning (line 10353) | function _latedefWarning(type, labelName, token) {
function startRegex (line 11700) | function startRegex(arr) {
function Empty (line 11852) | function Empty() {}
function makeArray (line 11910) | function makeArray(l) {
function doesDefinePropertyWork (line 12314) | function doesDefinePropertyWork(object) {
function toInteger (line 12496) | function toInteger(n) {
function isPrimitive (line 12506) | function isPrimitive(input) {
function toPrimitive (line 12517) | function toPrimitive(input) {
FILE: lib/applyStyle.js
function applyStyle (line 3) | function applyStyle(element, var_args) {
FILE: lib/beautify.js
function js_beautify (line 107) | function js_beautify(js_source_text, options) {
FILE: lib/bowser.js
function detect (line 18) | function detect(ua) {
function getVersionPrecision (line 438) | function getVersionPrecision(version) {
function map (line 449) | function map(arr, iterator) {
function compareVersions (line 472) | function compareVersions(versions) {
function isUnsupportedBrowser (line 523) | function isUnsupportedBrowser(minVersions, strictMode, ua) {
function check (line 564) | function check(minVersions, strictMode, ua) {
FILE: lib/canvasutils.js
function unique (line 3) | function unique(arr){
function FindBlobs (line 21) | function FindBlobs(src) {
function ColorTheBlobs (line 168) | function ColorTheBlobs(dst,blobs,colors){
function GetBlobMap (line 196) | function GetBlobMap (img, callback) {
function GetBlobImages (line 229) | function GetBlobImages (blobMap, nBlobs, image, callback) {
function GetBlobImage (line 270) | function GetBlobImage (blobMap, originalImg, label) {
function FindBlobsAndGetBlobImages (line 311) | function FindBlobsAndGetBlobImages (imgData, callback) {
function AddPaddingToImage (line 354) | function AddPaddingToImage (img, callback) {
function ImageToImageData (line 410) | function ImageToImageData (img) {
function PixelsToImageData (line 419) | function PixelsToImageData (pixelData) {
function rgb2hex (line 454) | function rgb2hex(rgb){
function getColorIndicesForCoord (line 557) | function getColorIndicesForCoord(x, y, width) {
function getPixelAt (line 568) | function getPixelAt (x,y,width,height,imageData) {
function setPixelAt (line 580) | function setPixelAt (x,y,width,height,imageData,color) {
FILE: lib/croquis.js
function Croquis (line 1) | function Croquis(imageDataList, properties) {
function getAlphaIndex (line 1000) | function getAlphaIndex(index) {
function setRedIndex (line 1003) | function setRedIndex(index, red) {
function getRedXY (line 1006) | function getRedXY(x, y) {
function getGreenXY (line 1010) | function getGreenXY(x, y) {
function setColorXY (line 1014) | function setColorXY(x, y, red, green, alpha) {
function getColor (line 1088) | function getColor(x, y) {
function dlerp (line 1189) | function dlerp(a, d, t) {
function _move (line 1192) | function _move(justCalc) {
function spreadRandom (line 1396) | function spreadRandom() {
function drawReserved (line 1399) | function drawReserved() {
function appendDirtyRect (line 1405) | function appendDirtyRect(x, y, width, height) {
function transformImage (line 1419) | function transformImage() {
function drawCircle (line 1433) | function drawCircle(size) {
function drawImage (line 1442) | function drawImage(size) {
function drawTo (line 1452) | function drawTo(x, y, scale) {
FILE: lib/gif.js
function s (line 2) | function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&re...
function EventEmitter (line 2) | function EventEmitter(){this._events=this._events||{};this._maxListeners...
function g (line 2) | function g(){this.removeListener(type,g);if(!fired){fired=true;listener....
function isFunction (line 2) | function isFunction(arg){return typeof arg==="function"}
function isNumber (line 2) | function isNumber(arg){return typeof arg==="number"}
function isObject (line 2) | function isObject(arg){return typeof arg==="object"&&arg!==null}
function isUndefined (line 2) | function isUndefined(arg){return arg===void 0}
function ctor (line 2) | function ctor(){this.constructor=child}
function GIF (line 2) | function GIF(options){var base,key,value;this.running=false;this.options...
FILE: lib/gif.worker.js
function s (line 2) | function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&re...
function ByteArray (line 2) | function ByteArray(){this.page=-1;this.pages=[];this.newPage()}
function GIFEncoder (line 2) | function GIFEncoder(width,height){this.width=~~width;this.height=~~heigh...
function LZWEncoder (line 2) | function LZWEncoder(width,height,pixels,colorDepth){var initCodeSize=Mat...
function NeuQuant (line 2) | function NeuQuant(pixels,samplefac){var network;var netindex;var bias;va...
FILE: lib/highlight/highlight.pack.js
function n (line 2) | function n(e){return e.replace(/[&<>]/gm,function(e){return I[e]})}
function t (line 2) | function t(e){return e.nodeName.toLowerCase()}
function r (line 2) | function r(e,n){var t=e&&e.exec(n);return t&&0===t.index}
function i (line 2) | function i(e){return k.test(e)}
function a (line 2) | function a(e){var n,t,r,a,o=e.className+" ";if(o+=e.parentNode?e.parentN...
function o (line 2) | function o(e,n){var t,r={};for(t in e)r[t]=e[t];if(n)for(t in n)r[t]=n[t...
function u (line 2) | function u(e){var n=[];return function r(e,i){for(var a=e.firstChild;a;a...
function c (line 2) | function c(e,r,i){function a(){return e.length&&r.length?e[0].offset!==r...
function s (line 2) | function s(e){function n(e){return e&&e.source||e}function t(t,r){return...
function l (line 2) | function l(e,t,i,a){function o(e,n){var t,i;for(t=0,i=n.c.length;i>t;t++...
function f (line 2) | function f(e,t){t=t||y.languages||E(x);var r={r:0,value:n(e)},i=r;return...
function g (line 2) | function g(e){return y.tabReplace||y.useBR?e.replace(M,function(e,n){ret...
function h (line 2) | function h(e,n,t){var r=n?L[n]:t,i=[e.trim()];return e.match(/\bhljs\b/)...
function p (line 2) | function p(e){var n,t,r,o,s,p=a(e);i(p)||(y.useBR?(n=document.createElem...
function d (line 2) | function d(e){y=o(y,e)}
function b (line 2) | function b(){if(!b.called){b.called=!0;var e=document.querySelectorAll("...
function v (line 2) | function v(){addEventListener("DOMContentLoaded",b,!1),addEventListener(...
function m (line 2) | function m(n,t){var r=x[n]=t(e);r.aliases&&r.aliases.forEach(function(e)...
function N (line 2) | function N(){return E(x)}
function R (line 2) | function R(e){return e=(e||"").toLowerCase(),x[e]||x[L[e]]}
FILE: lib/html2canvas.js
function toPX (line 192) | function toPX(element, attribute, value ) {
function asInt (line 230) | function asInt(val) {
function parseBackgroundSizePosition (line 234) | function parseBackgroundSizePosition(value, element, attribute, index) {
function backgroundBoundsFactory (line 299) | function backgroundBoundsFactory( prop, el, bounds, image, imageIndex, b...
function addScrollStops (line 809) | function addScrollStops(grad) {
function h2cRenderContext (line 909) | function h2cRenderContext(width, height) {
function documentWidth (line 1053) | function documentWidth () {
function documentHeight (line 1061) | function documentHeight () {
function getCSSInt (line 1069) | function getCSSInt(element, attribute) {
function renderRect (line 1074) | function renderRect (ctx, x, y, w, h, bgcolor) {
function capitalize (line 1082) | function capitalize(m, p1, p2) {
function textTransform (line 1088) | function textTransform (text, transform) {
function noLetterSpacing (line 1101) | function noLetterSpacing(letter_spacing) {
function drawText (line 1105) | function drawText(currentText, x, y, ctx){
function setTextVariables (line 1112) | function setTextVariables(ctx, el, text_decoration, color) {
function renderTextDecoration (line 1146) | function renderTextDecoration(ctx, text_decoration, bounds, metrics, col...
function getTextBounds (line 1163) | function getTextBounds(state, text, textDecoration, isLast, transform) {
function textRangeBounds (line 1178) | function textRangeBounds(text, textNode, textOffset) {
function textWrapperBounds (line 1185) | function textWrapperBounds(oldTextNode, transform) {
function renderText (line 1198) | function renderText(el, textNode, stack) {
function listPosition (line 1240) | function listPosition (element, val) {
function elementIndex (line 1260) | function elementIndex(el) {
function listItemText (line 1277) | function listItemText(element, type) {
function renderListItem (line 1303) | function renderListItem(element, stack, elBounds) {
function loadImage (line 1326) | function loadImage (src){
function clipBounds (line 1331) | function clipBounds(src, dst){
function setZ (line 1345) | function setZ(element, stack, parentStack){
function renderImage (line 1370) | function renderImage(ctx, element, image, bounds, borders) {
function getBorderData (line 1391) | function getBorderData(element) {
function getBorderRadiusData (line 1400) | function getBorderRadiusData(element) {
function bezierCurve (line 1470) | function bezierCurve(start, startControl, endControl, end) {
function parseCorner (line 1502) | function parseCorner(borderArgs, radius1, radius2, corner1, corner2, x, ...
function drawSide (line 1516) | function drawSide(borderData, radius1, radius2, outer1, inner1, outer2, ...
function calculateCurvePoints (line 1546) | function calculateCurvePoints(bounds, borderRadius, borders) {
function getBorderClip (line 1626) | function getBorderClip(element, borderPoints, borders, radius, bounds) {
function parseBorders (line 1650) | function parseBorders(element, bounds, borders){
function createShape (line 1741) | function createShape(ctx, args) {
function renderBorders (line 1749) | function renderBorders(ctx, borderArgs, color) {
function renderFormValue (line 1758) | function renderFormValue (el, bounds, stack){
function drawImage (line 1800) | function drawImage (ctx) {
function getPseudoElement (line 1805) | function getPseudoElement(el, which) {
function indexedProperty (line 1839) | function indexedProperty(property) {
function injectPseudoElements (line 1843) | function injectPseudoElements(el, stack) {
function renderBackgroundRepeat (line 1868) | function renderBackgroundRepeat(ctx, image, backgroundPosition, bounds) {
function backgroundRepeatShape (line 1878) | function backgroundRepeatShape(ctx, image, backgroundPosition, bounds, l...
function renderBackgroundColor (line 1891) | function renderBackgroundColor(ctx, backgroundBounds, bgcolor) {
function renderBackgroundRepeating (line 1902) | function renderBackgroundRepeating(el, bounds, ctx, image, imageIndex) {
function renderBackgroundImage (line 1938) | function renderBackgroundImage(element, bounds, ctx) {
function resizeImage (line 1966) | function resizeImage(image, bounds) {
function setOpacity (line 1979) | function setOpacity(ctx, element, parentStack) {
function removePx (line 1983) | function removePx(str) {
function getTransform (line 1989) | function getTransform(element, parentStack) {
function createStack (line 2013) | function createStack(element, parentStack, bounds, transform) {
function getBackgroundBounds (line 2034) | function getBackgroundBounds(borders, bounds, clip) {
function getBounds (line 2049) | function getBounds(element, transform) {
function renderElement (line 2056) | function renderElement(element, parentStack, pseudoElement, ignoreBackgr...
function isElementVisible (line 2126) | function isElementVisible(element) {
function parseElement (line 2130) | function parseElement (element, stack, pseudoElement) {
function parseChildren (line 2139) | function parseChildren(element, stack, pseudoElement) {
function init (line 2149) | function init() {
function h2czContext (line 2169) | function h2czContext(zindex) {
function isSameOrigin (line 2202) | function isSameOrigin(url){
function start (line 2209) | function start(){
function proxyGetImage (line 2222) | function proxyGetImage(url, img, imageObj){
function loadPseudoElement (line 2268) | function loadPseudoElement(element, type) {
function loadPseudoElementImages (line 2277) | function loadPseudoElementImages(element) {
function loadGradientImage (line 2282) | function loadGradientImage(backgroundImage, bounds) {
function invalidBackgrounds (line 2296) | function invalidBackgrounds(background_image) {
function loadBackgroundImages (line 2300) | function loadBackgroundImages(background_image, el) {
function getImages (line 2315) | function getImages (el) {
function setImageLoadHandlers (line 2342) | function setImageLoadHandlers(img, imageObj) {
function createRenderQueue (line 2497) | function createRenderQueue(parseQueue) {
function getRenderer (line 2576) | function getRenderer(rendererName) {
function supportSVGRendering (line 2598) | function supportSVGRendering() {
function supportRangeBounds (line 2629) | function supportRangeBounds() {
function createShape (line 2750) | function createShape(ctx, args) {
function safeImage (line 2758) | function safeImage(item) {
function renderItem (line 2773) | function renderItem(ctx, item) {
FILE: lib/idb-keyval-min.js
function e (line 1) | function e(){return t||(t=new Promise(function(e,n){var t=indexedDB.open...
function n (line 1) | function n(n,t){return e().then(function(e){return new Promise(function(...
FILE: lib/jquery-ui.custom.js
function _super (line 128) | function _super() {
function _superApply (line 132) | function _superApply( args ) {
function processClassString (line 512) | function processClassString( classes, checkOption ) {
function handlerProxy (line 595) | function handlerProxy() {
function handlerProxy (line 639) | function handlerProxy() {
function getOffsets (line 775) | function getOffsets( offsets, width, height ) {
function parseCss (line 782) | function parseCss( element, property ) {
function getDimensions (line 786) | function getDimensions( elem ) {
function clamp (line 1482) | function clamp( value, prop, allowEmpty ) {
function stringParse (line 1509) | function stringParse( string ) {
function hue2rgb (line 1763) | function hue2rgb( p, q, h ) {
function getElementStyles (line 2037) | function getElementStyles( elem ) {
function styleDifference (line 2065) | function styleDifference( oldStyle, newStyle ) {
function _normalizeArguments (line 2558) | function _normalizeArguments( effect, options, speed, callback ) {
function standardAnimationOption (line 2610) | function standardAnimationOption( option ) {
function run (line 2687) | function run( next ) {
function parseClip (line 2835) | function parseClip( str, element ) {
function childComplete (line 3219) | function childComplete() {
function animComplete (line 3269) | function animComplete() {
function visible (line 3929) | function visible( element ) {
function reduce (line 4057) | function reduce( elem, size, border, margin ) {
function datepicker_getZindex (line 7189) | function datepicker_getZindex( elem ) {
function Datepicker (line 7218) | function Datepicker() {
function datepicker_bindHover (line 9184) | function datepicker_bindHover( dpDiv ) {
function datepicker_handleMouseover (line 9198) | function datepicker_handleMouseover() {
function datepicker_extendRemove (line 9212) | function datepicker_extendRemove( target, props ) {
function checkFocus (line 12247) | function checkFocus() {
function filteredUi (line 12454) | function filteredUi( ui ) {
function filteredUi (line 12502) | function filteredUi( ui ) {
function isOverAxis (line 13099) | function isOverAxis( x, reference, size ) {
function addItems (line 15923) | function addItems() {
function delayEvent (line 16657) | function delayEvent( type, instance, container ) {
function spinnerModifer (line 16757) | function spinnerModifer( fn ) {
function checkFocus (line 16888) | function checkFocus() {
function constrain (line 17539) | function constrain() {
function complete (line 17926) | function complete() {
function show (line 17931) | function show() {
function position (line 18483) | function position( event ) {
FILE: lib/jquery.fancytree.filter.js
function _escapeRegex (line 41) | function _escapeRegex(str){
function extractHtmlText (line 46) | function extractHtmlText(s){
FILE: lib/jquery.fancytree.js
function _assert (line 76) | function _assert(cond, msg){
function consoleApply (line 87) | function consoleApply(method, args){
function _isNode (line 106) | function _isNode(x){
function isVersionAtLeast (line 114) | function isVersionAtLeast(dottedVersion, major, minor, patch){
function _makeVirtualFunction (line 135) | function _makeVirtualFunction(methodName, tree, base, extension, extName){
function _subclassObject (line 177) | function _subclassObject(tree, base, extension, extName){
function _getResolvedPromise (line 200) | function _getResolvedPromise(context, argArray){
function _getRejectedPromise (line 209) | function _getRejectedPromise(context, argArray){
function _makeResolveFunc (line 218) | function _makeResolveFunc(deferred, context){
function _getElementDataAsDict (line 225) | function _getElementDataAsDict($el){
function _escapeHtml (line 242) | function _escapeHtml(s){
function _escapeTooltip (line 249) | function _escapeTooltip(s){
function _makeNodeTitleMatcher (line 257) | function _makeNodeTitleMatcher(s){
function _makeNodeTitleStartMatcher (line 265) | function _makeNodeTitleStartMatcher(s){
function FancytreeNode (line 305) | function FancytreeNode(parent, obj){
function _walk (line 748) | function _walk(node){
function _goto (line 1424) | function _goto(n){
function Fancytree (line 2102) | function Fancytree(widget) {
function _appender (line 2514) | function _appender( node ) {
function __lazyload (line 2698) | function __lazyload(key, node, dfd){
function _clearStatusNode (line 4078) | function _clearStatusNode() {
function _setStatusNode (line 4096) | function _setStatusNode(data, type) {
function ensureTreeFocus (line 4282) | function ensureTreeFocus(thisTree) {
FILE: lib/jscolor.js
function RGB_HSV (line 1307) | function RGB_HSV (r, g, b) {
function HSV_RGB (line 1330) | function HSV_RGB (h, s, v) {
function detachPicker (line 1356) | function detachPicker () {
function drawPicker (line 1363) | function drawPicker () {
function redrawPad (line 1645) | function redrawPad () {
function redrawSld (line 1686) | function redrawSld () {
function isPickerOwner (line 1700) | function isPickerOwner () {
function blurValue (line 1705) | function blurValue () {
FILE: lib/nouislider.js
function addNodeTo (line 29) | function addNodeTo ( target, className ) {
function unique (line 37) | function unique ( array ) {
function closest (line 44) | function closest ( value, to ) {
function offset (line 49) | function offset ( elem, orientation ) {
function isNumeric (line 67) | function isNumeric ( a ) {
function addClassFor (line 72) | function addClassFor ( element, className, duration ) {
function limit (line 82) | function limit ( a ) {
function asArray (line 88) | function asArray ( a ) {
function countDecimals (line 93) | function countDecimals ( numStr ) {
function addClass (line 100) | function addClass ( el, className ) {
function removeClass (line 109) | function removeClass ( el, className ) {
function hasClass (line 118) | function hasClass ( el, className ) {
function getPageOffset (line 123) | function getPageOffset ( ) {
function getActions (line 139) | function getActions ( ) {
function subRangeRatio (line 162) | function subRangeRatio ( pa, pb ) {
function fromPercentage (line 167) | function fromPercentage ( range, value ) {
function toPercentage (line 172) | function toPercentage ( range, value ) {
function isPercentage (line 179) | function isPercentage ( range, value ) {
function getJ (line 186) | function getJ ( value, arr ) {
function toStepping (line 198) | function toStepping ( xVal, xPct, value ) {
function fromStepping (line 215) | function fromStepping ( xVal, xPct, value ) {
function getStep (line 233) | function getStep ( xPct, xSteps, snap, value ) {
function handleEntryPoint (line 268) | function handleEntryPoint ( index, value, that ) {
function handleStepPoint (line 314) | function handleStepPoint ( i, n, that ) {
function Spectrum (line 342) | function Spectrum ( entry, snap, direction, singleStep ) {
function testStep (line 453) | function testStep ( parsed, entry ) {
function testRange (line 464) | function testRange ( parsed, entry ) {
function testStart (line 484) | function testStart ( parsed, entry ) {
function testSnap (line 502) | function testSnap ( parsed, entry ) {
function testAnimate (line 512) | function testAnimate ( parsed, entry ) {
function testAnimationDuration (line 522) | function testAnimationDuration ( parsed, entry ) {
function testConnect (line 531) | function testConnect ( parsed, entry ) {
function testOrientation (line 567) | function testOrientation ( parsed, entry ) {
function testMargin (line 583) | function testMargin ( parsed, entry ) {
function testLimit (line 601) | function testLimit ( parsed, entry ) {
function testPadding (line 614) | function testPadding ( parsed, entry ) {
function testDirection (line 639) | function testDirection ( parsed, entry ) {
function testBehaviour (line 656) | function testBehaviour ( parsed, entry ) {
function testTooltips (line 690) | function testTooltips ( parsed, entry ) {
function testFormat (line 721) | function testFormat ( parsed, entry ) {
function testCssPrefix (line 733) | function testCssPrefix ( parsed, entry ) {
function testCssClasses (line 742) | function testCssClasses ( parsed, entry ) {
function testUseRaf (line 761) | function testUseRaf ( parsed, entry ) {
function testOptions (line 770) | function testOptions ( options ) {
function closure (line 881) | function closure ( target, options, originalOptions ){
function initialize (line 2125) | function initialize ( target, originalOptions ) {
FILE: lib/offset.js
function connect (line 67) | function connect(path, dest, originSegment, offset, type, miterLimit,
function offsetCurce (line 268) | function offsetCurce(curve, curves, recursion) {
function splitAtRoots (line 315) | function splitAtRoots(index, roots) {
function splitLargeAngles (line 329) | function splitLargeAngles(index, recursion) {
FILE: lib/paper-full.js
function inject (line 80) | function inject(dest, src, enumerable, beans, preserve) {
function Base (line 128) | function Base() {
function handleKey (line 410) | function handleKey(key) {
function handleAttribute (line 841) | function handleAttribute(name) {
function clamp (line 980) | function clamp(value, min, max) {
function getDiscriminant (line 984) | function getDiscriminant(a, b, c) {
function getNormalizationFactor (line 1009) | function getNormalizationFactor() {
function evaluate (line 1117) | function evaluate(x0) {
function serialize (line 3027) | function serialize(fields) {
function hitTest (line 3713) | function hitTest() {
function hitTestAll (line 3719) | function hitTestAll() {
function hitTestChildren (line 3727) | function hitTestChildren(point, options, viewMatrix, _exclude) {
function filter (line 3784) | function filter(hit) {
function checkPoint (line 3792) | function checkPoint(type, part) {
function matchObject (line 3844) | function matchObject(obj1, obj2) {
function getList (line 4186) | function getList(item) {
function getCornerCenter (line 4911) | function getCornerCenter(that, point, expand) {
function isOnEllipseStroke (line 4928) | function isOnEllipseStroke(point, radius, padding, quadrant) {
function createShape (line 4985) | function createShape(type, point, size, radius, args) {
function emit (line 5145) | function emit(event) {
function refine (line 6384) | function refine(t) {
function add (line 6456) | function add(value, padding) {
function getLengthIntegrand (line 6657) | function getLengthIntegrand(v) {
function getIterations (line 6678) | function getIterations(a, b) {
function evaluate (line 6682) | function evaluate(v, t, type, normalized) {
function type (line 6767) | function type(type, t1, t2) {
function f (line 6844) | function f(t) {
function addLocation (line 6904) | function addLocation(locations, include, c1, t1, c2, t2, overlap) {
function addCurveIntersections (line 6924) | function addCurveIntersections(v1, v2, c1, c2, locations, include, flip,
function getConvexHull (line 6996) | function getConvexHull(dq0, dq1, dq2, dq3) {
function clipConvexHull (line 7018) | function clipConvexHull(hullTop, hullBottom, dMin, dMax) {
function clipConvexHullPart (line 7028) | function clipConvexHullPart(part, top, threshold) {
function getCurveLineIntersections (line 7044) | function getCurveLineIntersections(v, px, py, vx, vy) {
function addCurveLineIntersections (line 7066) | function addCurveLineIntersections(v1, v2, c1, c2, locations, include,
function addLineIntersection (line 7083) | function addLineIntersection(v1, v2, c1, c2, locations, include) {
function getCurveIntersections (line 7094) | function getCurveIntersections(v1, v2, c1, c2, locations, include) {
function getLoopIntersection (line 7150) | function getLoopIntersection(v1, c1, locations, include) {
function getIntersections (line 7161) | function getIntersections(curves1, curves2, include, matrix1, matrix2,
function getOverlaps (line 7200) | function getOverlaps(v1, v2) {
function trySegment (line 7349) | function trySegment(segment) {
function addOffsets (line 7515) | function addOffsets(curve, end) {
function isInRange (line 7525) | function isInRange(angle, min, max) {
function insert (line 7575) | function insert(locations, loc, merge) {
function getCoord (line 7689) | function getCoord(index, coord) {
function getPoint (line 7696) | function getPoint(index) {
function addSegment (line 8046) | function addSegment(segment, skipLine) {
function getIndex (line 8456) | function getIndex(value, _default) {
function isCollinear (line 8565) | function isCollinear(i, j) {
function isOrthogonal (line 8576) | function isOrthogonal(i) {
function isArc (line 8586) | function isArc(i) {
function getDistance (line 8605) | function getDistance(i, j) {
function isCloseEnough (line 8743) | function isCloseEnough(pt, padding) {
function checkSegmentPoint (line 8747) | function checkSegmentPoint(seg, pt, name) {
function checkSegmentPoints (line 8761) | function checkSegmentPoints(seg, ends) {
function addToArea (line 8769) | function addToArea(point) {
function checkSegmentStroke (line 8773) | function checkSegmentStroke(segment) {
function drawHandles (line 8891) | function drawHandles(ctx, segments, matrix, size) {
function drawSegments (line 8961) | function drawSegments(ctx, path, matrix) {
function getOffset (line 9038) | function getOffset(i) {
function getCurrentSegment (line 9083) | function getCurrentSegment(that) {
function processSegment (line 9328) | function processSegment(segment) {
function addPoint (line 9367) | function addPoint(point) {
function addRound (line 9371) | function addRound(segment) {
function addJoin (line 9376) | function addJoin(segment, join) {
function addCap (line 9385) | function addCap(segment, cap) {
function createPath (line 9524) | function createPath(segments, closed, args) {
function createEllipse (line 9532) | function createEllipse(center, radius, args) {
function getCurrentPath (line 9816) | function getCurrentPath(that, check) {
function preparePath (line 9875) | function preparePath(path, resolve) {
function createResult (line 9884) | function createResult(paths, simplify, path1, path2, options) {
function traceBoolean (line 9896) | function traceBoolean(path1, path2, operation, options) {
function splitBoolean (line 9953) | function splitBoolean(path1, path2, operation) {
function linkIntersections (line 9983) | function linkIntersections(from, to) {
function clearCurveHandles (line 10000) | function clearCurveHandles(curves) {
function reorientPaths (line 10005) | function reorientPaths(paths, isInside, clockwise) {
function divideLocations (line 10050) | function divideLocations(locations, include, clearLater) {
function getWinding (line 10130) | function getWinding(point, curves, dir, closed, dontFlip) {
function propagateWinding (line 10297) | function propagateWinding(segment, path1, path2, curves, operator) {
function tracePaths (line 10345) | function tracePaths(segments, operator) {
function hasOverlap (line 10550) | function hasOverlap(seg) {
function addCurve (line 10692) | function addCurve(segment1, segment2) {
function computeParts (line 10698) | function computeParts(curve, index, t1, t2) {
function fromCSS (line 11116) | function fromCSS(string) {
function convert (line 11518) | function convert(val) {
function compare (line 11970) | function compare(style1, style2, secondary) {
function handlePrefix (line 12031) | function handlePrefix(el, name, set, value) {
function handleCallbacks (line 12177) | function handleCallbacks() {
function getSize (line 12205) | function getSize(name) {
function getCanvasSize (line 12209) | function getCanvasSize() {
function getView (line 12607) | function getView(event) {
function updateFocus (line 12613) | function updateFocus() {
function handleMouseMove (line 12625) | function handleMouseMove(view, event, point) {
function emitMouseEvent (line 12733) | function emitMouseEvent(obj, target, type, event, point, prevPoint,
function emitMouseEvents (line 12767) | function emitMouseEvents(view, hitItem, type, event, point, prevPoint) {
function responds (line 12811) | function responds(type) {
function emit (line 12894) | function emit(obj) {
function getKey (line 13112) | function getKey(event) {
function handleKey (line 13123) | function handleKey(down, key, character, event) {
function update (line 13384) | function update(minDistance, maxDistance) {
function emit (line 13413) | function emit() {
function getLum (line 13522) | function getLum(r, g, b) {
function setLum (line 13526) | function setLum(r, g, b, l) {
function getSat (line 13549) | function getSat(r, g, b) {
function setSat (line 13553) | function setSat(r, g, b, s) {
function create (line 13776) | function create(tag, attributes, formatter) {
function get (line 13780) | function get(node, name) {
function set (line 13788) | function set(node, attributes, formatter) {
function getTransform (line 13863) | function getTransform(matrix, coordinates, center) {
function exportGroup (line 13899) | function exportGroup(item, options) {
function exportRaster (line 13922) | function exportRaster(item, options) {
function exportPath (line 13935) | function exportPath(item, options) {
function exportShape (line 13972) | function exportShape(item) {
function exportCompoundPath (line 13999) | function exportCompoundPath(item, options) {
function exportSymbolItem (line 14007) | function exportSymbolItem(item, options) {
function exportGradient (line 14029) | function exportGradient(color) {
function exportText (line 14080) | function exportText(item) {
function applyStyle (line 14098) | function applyStyle(item, node, isRoot) {
function getDefinition (line 14145) | function getDefinition(item, type) {
function setDefinition (line 14152) | function setDefinition(item, node, type) {
function exportDefinitions (line 14160) | function exportDefinitions(node, options) {
function exportSVG (line 14183) | function exportSVG(item, options, isRoot) {
function setOptions (line 14197) | function setOptions(options) {
function getValue (line 14255) | function getValue(node, name, isString, allowNull, allowPercent) {
function getPoint (line 14270) | function getPoint(node, x, y, allowNull, allowPercent) {
function getSize (line 14277) | function getSize(node, w, h, allowNull, allowPercent) {
function convertValue (line 14284) | function convertValue(value, type, lookup) {
function importGroup (line 14294) | function importGroup(node, type, options, isRoot) {
function importPoly (line 14332) | function importPoly(node, type) {
function importPath (line 14346) | function importPath(node) {
function importGradient (line 14350) | function importGradient(node, type) {
function applyTransform (line 14470) | function applyTransform(item, value, name, node) {
function applyOpacity (line 14509) | function applyOpacity(item, value, name) {
function getAttribute (line 14613) | function getAttribute(node, name, styles) {
function applyAttributes (line 14627) | function applyAttributes(item, node, isRoot) {
function getDefinition (line 14644) | function getDefinition(value) {
function importNode (line 14657) | function importNode(node, options, isRoot) {
function importSVG (line 14716) | function importSVG(source, options, owner) {
function setOptions (line 14838) | function setOptions(opts) {
function getToken (line 14863) | function getToken(forceRegexp) {
function raise (line 14904) | function raise(pos, message) {
function makePredicate (line 14967) | function makePredicate(words) {
function line_loc_t (line 15039) | function line_loc_t() {
function initTokenState (line 15044) | function initTokenState() {
function finishToken (line 15051) | function finishToken(type, val) {
function skipBlockComment (line 15060) | function skipBlockComment() {
function skipLineComment (line 15078) | function skipLineComment() {
function skipSpace (line 15091) | function skipSpace() {
function readToken_dot (line 15131) | function readToken_dot() {
function readToken_slash (line 15138) | function readToken_slash() {
function readToken_mult_modulo (line 15145) | function readToken_mult_modulo() {
function readToken_pipe_amp (line 15151) | function readToken_pipe_amp(code) {
function readToken_caret (line 15158) | function readToken_caret() {
function readToken_plus_min (line 15164) | function readToken_plus_min(code) {
function readToken_lt_gt (line 15180) | function readToken_lt_gt(code) {
function readToken_eq_excl (line 15200) | function readToken_eq_excl(code) {
function getTokenFromCode (line 15206) | function getTokenFromCode(code) {
function readToken (line 15259) | function readToken(forceRegexp) {
function finishOp (line 15279) | function finishOp(type, size) {
function readRegexp (line 15285) | function readRegexp() {
function readInt (line 15312) | function readInt(radix, len) {
function readHexNumber (line 15329) | function readHexNumber() {
function readNumber (line 15337) | function readNumber(startsWithDot) {
function readString (line 15362) | function readString(quote) {
function readHexChar (line 15410) | function readHexChar(len) {
function readWord1 (line 15418) | function readWord1() {
function readWord (line 15446) | function readWord() {
function next (line 15454) | function next() {
function setStrict (line 15461) | function setStrict(strct) {
function node_t (line 15474) | function node_t() {
function node_loc_t (line 15480) | function node_loc_t() {
function startNode (line 15486) | function startNode() {
function startNodeFrom (line 15497) | function startNodeFrom(other) {
function finishNode (line 15510) | function finishNode(node, type) {
function isUseStrict (line 15520) | function isUseStrict(stmt) {
function eat (line 15525) | function eat(type) {
function canInsertSemicolon (line 15532) | function canInsertSemicolon() {
function semicolon (line 15537) | function semicolon() {
function expect (line 15541) | function expect(type) {
function unexpected (line 15546) | function unexpected() {
function checkLVal (line 15550) | function checkLVal(expr) {
function parseTopLevel (line 15557) | function parseTopLevel(program) {
function parseStatement (line 15577) | function parseStatement() {
function parseParenExpression (line 15764) | function parseParenExpression() {
function parseBlock (line 15771) | function parseBlock(allowStrict) {
function parseFor (line 15788) | function parseFor(node, init) {
function parseForIn (line 15800) | function parseForIn(node, init) {
function parseVar (line 15809) | function parseVar(node, noIn) {
function parseExpression (line 15824) | function parseExpression(noComma, noIn) {
function parseMaybeAssign (line 15835) | function parseMaybeAssign(noIn) {
function parseMaybeConditional (line 15849) | function parseMaybeConditional(noIn) {
function parseExprOps (line 15862) | function parseExprOps(noIn) {
function parseExprOp (line 15866) | function parseExprOp(left, minPrec, noIn) {
function parseMaybeUnary (line 15883) | function parseMaybeUnary() {
function parseExprSubscripts (line 15910) | function parseExprSubscripts() {
function parseSubscripts (line 15914) | function parseSubscripts(base, noCalls) {
function parseExprAtom (line 15936) | function parseExprAtom() {
function parseNew (line 15995) | function parseNew() {
function parseObj (line 16004) | function parseObj() {
function parsePropertyName (line 16043) | function parsePropertyName() {
function parseFunction (line 16048) | function parseFunction(node, isStatement) {
function parseExprList (line 16078) | function parseExprList(close, allowTrailingComma, allowEmpty) {
function parseIdent (line 16092) | function parseIdent(liberal) {
function parse (line 16119) | function parse(code, options) {
function __$__ (line 16153) | function __$__(left, operator, right) {
function $__ (line 16170) | function $__(operator, value) {
function compile (line 16180) | function compile(code, options) {
function execute (line 16367) | function execute(code, scope, options) {
function loadScript (line 16437) | function loadScript(script) {
function loadAll (line 16468) | function loadAll() {
function load (line 16473) | function load(script) {
FILE: lib/paperholefinder.js
function getHoleShapeAtPosition (line 8) | function getHoleShapeAtPosition (paperProject, point) {
function getProjectAsSinglePath (line 17) | function getProjectAsSinglePath (paperProject) {
function getHolesOfPathAsShapes (line 42) | function getHolesOfPathAsShapes (path) {
function getSmallestShapeContainingPoint (line 71) | function getSmallestShapeContainingPoint (originalPathShape, holeShapes,...
function getShapesContainingPoint (line 84) | function getShapesContainingPoint (shapes, point) {
function removeSubholesFromHoleShape (line 100) | function removeSubholesFromHoleShape (holeShape, originalPathShape, hole...
function expandHole (line 115) | function expandHole (path) {
function rotate_point (line 156) | function rotate_point(pointX, pointY, originX, originY, angle) {
FILE: lib/pixi-layers.js
function __ (line 59) | function __() { this.constructor = d; }
function Group (line 68) | function Group(zIndex, sorting) {
function Layer (line 318) | function Layer(group) {
function Stage (line 471) | function Stage() {
FILE: lib/pixi.min.4.6.1.js
function i (line 8) | function i(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&re...
function n (line 8) | function n(t){var e=32;return t&=-t,t&&e--,65535&t&&(e-=16),16711935&t&&...
function n (line 8) | function n(t,e,r){r=r||2;var n=e&&e.length,o=n?e[0]*r:t.length,a=i(t,0,o...
function i (line 8) | function i(t,e,r,n,i){var o,s;if(i===A(t,e,r,n)>0)for(o=e;o<r;o+=n)s=P(o...
function o (line 8) | function o(t,e){if(!t)return t;e||(e=t);var r,n=t;do{if(r=!1,n.steiner||...
function s (line 8) | function s(t,e,r,n,i,c,d){if(t){!d&&c&&v(t,n,i,c);for(var f,p,y=t;t.prev...
function a (line 8) | function a(t){var e=t.prev,r=t,n=t.next;if(x(e,r,n)>=0)return!1;for(var ...
function u (line 8) | function u(t,e,r,n){var i=t.prev,o=t,s=t.next;if(x(i,o,s)>=0)return!1;fo...
function h (line 8) | function h(t,e,r){var n=t;do{var i=n.prev,o=n.next.next;!T(i,o)&&w(i,n,n...
function l (line 8) | function l(t,e,r,n,i,a){var u=t;do{for(var h=u.next.next;h!==u.prev;){if...
function c (line 8) | function c(t,e,r,n){var s,a,u,h,l,c=[];for(s=0,a=e.length;s<a;s++)u=e[s]...
function d (line 8) | function d(t,e){return t.x-e.x}
function f (line 8) | function f(t,e){if(e=p(t,e)){var r=M(e,t);o(r,r.next)}}
function p (line 8) | function p(t,e){var r,n=e,i=t.x,o=t.y,s=-1/0;do{if(o<=n.y&&o>=n.next.y&&...
function v (line 8) | function v(t,e,r,n){var i=t;do{null===i.z&&(i.z=g(i.x,i.y,e,r,n)),i.prev...
function y (line 8) | function y(t){var e,r,n,i,o,s,a,u,h=1;do{for(r=t,t=null,o=null,s=0;r;){f...
function g (line 8) | function g(t,e,r,n,i){return t=32767*(t-r)*i,e=32767*(e-n)*i,t=16711935&...
function m (line 8) | function m(t){var e=t,r=t;do{e.x<r.x&&(r=e),e=e.next}while(e!==t);return r}
function _ (line 8) | function _(t,e,r,n,i,o,s,a){return(i-s)*(e-a)-(t-s)*(o-a)>=0&&(t-s)*(n-a...
function b (line 8) | function b(t,e){return t.next.i!==e.i&&t.prev.i!==e.i&&!E(t,e)&&S(t,e)&&...
function x (line 8) | function x(t,e,r){return(e.y-t.y)*(r.x-e.x)-(e.x-t.x)*(r.y-e.y)}
function T (line 8) | function T(t,e){return t.x===e.x&&t.y===e.y}
function w (line 8) | function w(t,e,r,n){return!!(T(t,e)&&T(r,n)||T(t,n)&&T(r,e))||x(t,e,r)>0...
function E (line 8) | function E(t,e){var r=t;do{if(r.i!==t.i&&r.next.i!==t.i&&r.i!==e.i&&r.ne...
function S (line 8) | function S(t,e){return x(t.prev,t,t.next)<0?x(t,e,t.next)>=0&&x(t,t.prev...
function O (line 8) | function O(t,e){var r=t,n=!1,i=(t.x+e.x)/2,o=(t.y+e.y)/2;do{r.y>o!=r.nex...
function M (line 8) | function M(t,e){var r=new R(t.i,t.x,t.y),n=new R(e.i,e.x,e.y),i=t.next,o...
function P (line 8) | function P(t,e,r,n){var i=new R(t,e,r);return n?(i.next=n.next,i.prev=n,...
function C (line 8) | function C(t){t.next.prev=t.prev,t.prev.next=t.next,t.prevZ&&(t.prevZ.ne...
function R (line 8) | function R(t,e,r){this.i=t,this.x=e,this.y=r,this.prev=null,this.next=nu...
function A (line 8) | function A(t,e,r,n){for(var i=0,o=e,s=r-n;o<r;o+=n)i+=(t[s]-t[o])*(t[o+1...
function n (line 8) | function n(){}
function i (line 8) | function i(t,e,r){this.fn=t,this.context=e,this.once=r||!1}
function o (line 8) | function o(){this._events=new n,this._eventsCount=0}
function n (line 8) | function n(t){if(null===t||void 0===t)throw new TypeError("Object.assign...
function n (line 8) | function n(t,e){if(this.nativeVaoExtension=null,n.FORCE_NATIVE||(this.na...
function e (line 8) | function e(t,e){for(var r=0,n=t.length-1;n>=0;n--){var i=t[n];"."===i?t....
function n (line 8) | function n(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.leng...
function n (line 8) | function n(t){for(var e=0;e<t.length&&""===t[e];e++);for(var r=t.length-...
function n (line 8) | function n(){throw new Error("setTimeout has not been defined")}
function i (line 8) | function i(){throw new Error("clearTimeout has not been defined")}
function o (line 8) | function o(t){if(c===setTimeout)return setTimeout(t,0);if((c===n||!c)&&s...
function s (line 9) | function s(t){if(d===clearTimeout)return clearTimeout(t);if((d===i||!d)&...
function a (line 9) | function a(){y&&p&&(y=!1,p.length?v=p.concat(v):g=-1,v.length&&u())}
function u (line 9) | function u(){if(!y){var t=o(a);y=!0;for(var e=v.length;e;){for(p=v,v=[];...
function h (line 9) | function h(t,e){this.fun=t,this.array=e}
function l (line 9) | function l(){}
function o (line 9) | function o(t){throw new RangeError(L[t])}
function s (line 9) | function s(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}
function a (line 9) | function a(t,e){var r=t.split("@"),n="";return r.length>1&&(n=r[0]+"@",t...
function u (line 9) | function u(t){for(var e,r,n=[],i=0,o=t.length;i<o;)e=t.charCodeAt(i++),e...
function h (line 9) | function h(t){return s(t,function(t){var e="";return t>65535&&(t-=65536,...
function l (line 9) | function l(t){return t-48<10?t-22:t-65<26?t-65:t-97<26?t-97:w}
function c (line 9) | function c(t,e){return t+22+75*(t<26)-((0!=e)<<5)}
function d (line 9) | function d(t,e,r){var n=0;for(t=r?F(t/M):t>>1,t+=F(t/e);t>N*S>>1;n+=w)t=...
function f (line 9) | function f(t){var e,r,n,i,s,a,u,c,f,p,v=[],y=t.length,g=0,m=C,_=P;for(r=...
function p (line 9) | function p(t){var e,r,n,i,s,a,h,l,f,p,v,y,g,m,_,b=[];for(t=u(t),y=t.leng...
function v (line 9) | function v(t){return a(t,function(t){return A.test(t)?f(t.slice(4).toLow...
function y (line 9) | function y(t){return a(t,function(t){return I.test(t)?"xn--"+p(t):t})}
function n (line 9) | function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}
function n (line 9) | function n(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++...
function n (line 9) | function n(){this.protocol=null,this.slashes=null,this.auth=null,this.ho...
function i (line 9) | function i(t,e,r){if(t&&h.isObject(t)&&t instanceof n)return t;var i=new...
function o (line 9) | function o(t){return h.isString(t)&&(t=i(t)),t instanceof n?t.format():n...
function s (line 9) | function s(t,e){return i(t,!1,!0).resolve(e)}
function a (line 9) | function a(t,e){return t?i(t,!1,!0).resolveObject(e):e}
function n (line 9) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 9) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 9) | function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?argu...
function n (line 9) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 9) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 9) | function o(){}
function s (line 9) | function s(t,e,r){e&&0===e.indexOf(".")&&(e=e.substring(1)),e&&(t[e]=r)}
function a (line 9) | function a(t){return t.toString().replace("object ","")}
function t (line 9) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 9) | function t(e,r,n){if(i(this,t),"string"!=typeof e||"string"!=typeof r)th...
function n (line 9) | function n(){}
function i (line 9) | function i(t,e,r,n){var i=0,o=t.length;!function s(a){if(a||i===o)return...
function o (line 9) | function o(t){return function(){if(null===t)throw new Error("Callback wa...
function s (line 9) | function s(t,e){function r(t,e,r){if(null!=r&&"function"!=typeof r)throw...
function n (line 9) | function n(t){for(var e="",r=0;r<t.length;){for(var n=[0,0,0],o=[0,0,0,0...
function n (line 9) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 9) | function i(){return function(t,e){if(!t.data)return void e();if(t.xhr&&t...
function n (line 10) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 10) | function i(t,e){return t._head?(t._tail._next=e,e._prev=t._tail,t._tail=...
function t (line 10) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 10) | function t(e,r,i){void 0===r&&(r=!1),n(this,t),this._fn=e,this._once=r,t...
function t (line 10) | function t(){n(this,t),this._head=this._tail=void 0}
function n (line 10) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 10) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 10) | function t(e){i(this,t),!u.default.tablet&&!u.default.phone||navigator.i...
function n (line 10) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 10) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 10) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 10) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 10) | function t(e,r,n,o,a){i(this,t),"number"==typeof e&&(e=Object.assign({wi...
function n (line 10) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 10) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 10) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function s (line 10) | function s(t,e){if(t instanceof Array){if("precision"!==t[0].substring(0...
function e (line 10) | function e(r,o,a){return n(this,e),i(this,t.call(this,r,s(o,h.default.PR...
function n (line 10) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 10) | function i(t,e,r,n){var i=t&&t.forceCanvas;return void 0!==n&&(i=n),!i&&...
function n (line 10) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 10) | function t(){n(this,t),this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.m...
function n (line 10) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 10) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 10) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 10) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 10) | function e(){n(this,e);var r=i(this,t.call(this));return r.children=[],r}
function n (line 10) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 10) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 10) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 10) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 10) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 10) | function e(){i(this,e);var r=o(this,t.call(this)),n=d.default.TRANSFORM_...
function n (line 10) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 10) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 10) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 10) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 10) | function e(){n(this,e);var r=i(this,t.call(this));return r.position=new ...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 11) | function t(){n(this,t),this.worldTransform=new i.Matrix,this.localTransf...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 11) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 11) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 11) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 11) | function e(){n(this,e);var r=i(this,t.call(this));return r.position=new ...
function n (line 11) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 11) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 11) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 11) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 11) | function e(){var r=arguments.length>0&&void 0!==arguments[0]&&arguments[...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 11) | function t(e,r,i,o,s,a,u,h){n(this,t),this.lineWidth=e,this.nativeLines=...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 11) | function t(e){n(this,t),this.renderer=e}
function n (line 11) | function n(t,e,r,n,i,o,s,a){var u=arguments.length>8&&void 0!==arguments...
function n (line 11) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 11) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 11) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 11) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 11) | function e(r){i(this,e);var n=o(this,t.call(this,r));return n.graphicsDa...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 11) | function t(e,r,i){n(this,t),this.gl=e,this.color=[0,0,0],this.points=[],...
function n (line 11) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 11) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 11) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 11) | function e(r){return n(this,e),i(this,t.call(this,r,["attribute vec2 aVe...
function n (line 11) | function n(t,e,r){var n=t.shape,i=n.x,u=n.y,h=void 0,l=void 0;if(t.type=...
function n (line 11) | function n(t,e){var r=t.points;if(0!==r.length){var n=new o.Point(r[0],r...
function i (line 11) | function i(t,e){var r=0,n=t.points;if(0!==n.length){var i=e.points,o=n.l...
function n (line 11) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 11) | function i(t,e,r){t.points=t.shape.points.slice();var n=t.points;if(t.fi...
function n (line 11) | function n(t,e,r){var n=t.shape,i=n.x,a=n.y,u=n.width,h=n.height;if(t.fi...
function n (line 11) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 11) | function i(t,e,r){var n=t.shape,i=n.x,o=n.y,a=n.width,h=n.height,d=n.rad...
function o (line 11) | function o(t,e,r){return t+(e-t)*r}
function s (line 11) | function s(t,e,r,n,i,s){for(var a=arguments.length>6&&void 0!==arguments...
function n (line 11) | function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
function i (line 11) | function i(t){return t&&t.__esModule?t:{default:t}}
function n (line 12) | function n(t){return t<0?-1:t>0?1:0}
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 12) | function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?argument...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(){for(var e=arguments.length,r=Array(e),i=0;i<e;i++)r[i]=argu...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 12) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 12) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 12) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 12) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 12) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 12) | function e(r,n,s,a){i(this,e);var c=o(this,t.call(this));return(0,u.sayH...
function n (line 12) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 12) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 12) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 12) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 12) | function e(r,n,s){i(this,e);var a=o(this,t.call(this,"Canvas",r,n,s));re...
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(e){n(this,t),this.renderer=e}
function n (line 12) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 12) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 12) | function t(e,r,i){n(this,t),this.canvas=document.createElement("canvas")...
function n (line 12) | function n(t){var e=document.createElement("canvas");e.width=6,e.height=...
function i (line 12) | function i(){if("undefined"==typeof document)return!1;var t=n("#ff00ff")...
function n (line 12) | function n(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 13) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 13) | function t(e){n(this,t),this.renderer=e,this.count=0,this.checkCount=0,t...
function n (line 13) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 13) | function t(e){n(this,t),this.renderer=e,this.gl=e.gl,this._managedTextur...
function n (line 13) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 13) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 13) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 13) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 13) | function e(r,n,s){i(this,e);var a=o(this,t.call(this,"WebGL",r,n,s));ret...
function n (line 13) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 13) | function t(e){n(this,t),this.activeState=new Uint8Array(16),this.default...
function n (line 13) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 13) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 13) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 13) | function t(e,r,n){i(this,t),this.vertexSrc=e||t.defaultVertexSrc,this.fr...
function n (line 13) | function n(t,e,r){var n=i(t),o=i(e);return Object.assign(n,o)}
function i (line 13) | function i(t){for(var e=new RegExp("^(projectionMatrix|uSampler|filterAr...
function n (line 13) | function n(t,e,r){var n=t.identity();return n.translate(e.x/r.width,e.y/...
function i (line 13) | function i(t,e,r){var n=t.identity();n.translate(e.x/r.width,e.y/r.heigh...
function o (line 13) | function o(t,e,r,n){var i=n._texture.orig,o=t.set(r.width,0,0,r.height,e...
function n (line 13) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 13) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 13) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 13) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 13) | function e(r){i(this,e);var n=new h.Matrix,s=o(this,t.call(this,"attribu...
function n (line 13) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 13) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 13) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function s (line 13) | function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function e (line 13) | function e(r){s(this,e);var n=i(this,t.call(this,r));return n.gl=n.rende...
function n (line 13) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 13) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 13) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 13) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 13) | function e(r){i(this,e);var n=o(this,t.call(this,r));return n.scissor=!1...
function n (line 14) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 14) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 14) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 14) | function e(r){n(this,e);var o=i(this,t.call(this,r));return o.stencilMas...
function n (line 14) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 14) | function t(e){n(this,t),this.renderer=e,this.renderer.on("context",this....
function n (line 14) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 14) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 14) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 14) | function e(){return n(this,e),i(this,t.apply(this,arguments))}
function n (line 14) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 14) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 14) | function t(e,r){i(this,t),this.gl=e,this.vertices=new Float32Array([-1,-...
function n (line 14) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 14) | function t(e,r,s,h,l,c){n(this,t),this.gl=e,this.frameBuffer=null,this.t...
function n (line 14) | function n(t,e){var r=!e;if(r){var n=document.createElement("canvas");n....
function i (line 14) | function i(t){for(var e="",r=0;r<t;++r)r>0&&(e+="\nelse "),r<t-1&&(e+="i...
function n (line 14) | function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 14) | function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 14) | function n(t){t.getContextAttributes().stencil||console.warn("Provided W...
function n (line 14) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 14) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 14) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 14) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 14) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 14) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 14) | function e(r){i(this,e);var n=o(this,t.call(this));return n._anchor=new ...
function n (line 14) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 14) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 14) | function t(e){i(this,t),this.renderer=e}
function n (line 14) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 14) | function t(e){n(this,t),this.vertices=new ArrayBuffer(e),this.float32Vie...
function n (line 14) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 14) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 14) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 14) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 14) | function e(r){i(this,e);var n=o(this,t.call(this,r));n.vertSize=5,n.vert...
function n (line 14) | function n(t,e){var r=a;r=r.replace(/%count%/gi,e),r=r.replace(/%forloop...
function i (line 14) | function i(t){var e="";e+="\n",e+="\n";for(var r=0;r<t;r++)r>0&&(e+="\ne...
function n (line 14) | function n(t){
function i (line 15) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 15) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 15) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 15) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 15) | function e(r,n,s){i(this,e),s=s||document.createElement("canvas"),s.widt...
function n (line 15) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 15) | function t(e,r,i,o,s,a,u,h,l){n(this,t),this.text=e,this.style=r,this.wi...
function n (line 15) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 15) | function i(t){return"number"==typeof t?(0,l.hex2string)(t):("string"==ty...
function o (line 15) | function o(t){if(Array.isArray(t)){for(var e=0;e<t.length;++e)t[e]=i(t[e...
function s (line 15) | function s(t,e){if(!Array.isArray(t)||!Array.isArray(e))return!1;if(t.le...
function a (line 15) | function a(t,e,r){for(var n in r)Array.isArray(e[n])?t[n]=e[n].slice():t...
function t (line 15) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 15) | function t(e){n(this,t),this.styleID=0,this.reset(),a(this,e,e)}
function n (line 15) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 15) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 15) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 15) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 15) | function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 15) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 15) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 15) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 15) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 15) | function e(r,n,s){i(this,e);var u=o(this,t.call(this));return u.uid=(0,a...
function n (line 15) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 15) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 15) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 15) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 15) | function e(r,n){i(this,e);var s=null;if(!(r instanceof u.default)){var a...
function n (line 15) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 15) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 15) | function t(e,r){var i=arguments.length>2&&void 0!==arguments[2]?argument...
function n (line 15) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 15) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 15) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 15) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function a (line 15) | function a(t){t.destroy=function(){},t.on=function(){},t.once=function()...
function t (line 15) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 15) | function e(r,n,s,a,u){i(this,e);var h=o(this,t.call(this));if(h.noFrame=...
function n (line 16) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 16) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 16) | function t(e,r){n(this,t),this._texture=e,this.mapCoord=new s.default,th...
function n (line 16) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 16) | function t(){n(this,t),this.x0=0,this.y0=0,this.x1=1,this.y1=0,this.x2=1...
function n (line 16) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 16) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 16) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 16) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function a (line 16) | function a(t,e){e||(e="video/"+t.substr(t.lastIndexOf(".")+1));var r=doc...
function t (line 16) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 16) | function e(r,n){if(i(this,e),!r)throw new Error("No video source element...
function n (line 16) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 16) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 16) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 16) | function t(){var e=this;i(this,t),this._head=new l.default(null,null,1/0...
function n (line 16) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 16) | function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 16) | function n(){return!(!!navigator.platform&&/iPad|iPhone|iPod/.test(navig...
function n (line 16) | function n(t){for(var e=6*t,r=new Uint16Array(e),n=0,i=0;n<e;n+=6,i+=4)r...
function n (line 16) | function n(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 16) | function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
function i (line 16) | function i(t){return t&&t.__esModule?t:{default:t}}
function o (line 16) | function o(){return++k}
function s (line 16) | function s(t,e){return e=e||[],e[0]=(t>>16&255)/255,e[1]=(t>>8&255)/255,...
function a (line 16) | function a(t){return t=t.toString(16),"#"+(t="000000".substr(0,6-t.lengt...
function u (line 16) | function u(t){return(255*t[0]<<16)+(255*t[1]<<8)+(255*t[2]|0)}
function h (line 16) | function h(t,e){var r=S.default.RETINA_PREFIX.exec(t);return r?parseFloa...
function l (line 16) | function l(t){var e=w.DATA_URI.exec(t);if(e)return{mediaType:e[1]?e[1].t...
function c (line 16) | function c(t){var e=w.URL_FILE_EXTENSION.exec(t);if(e)return e[1].toLowe...
function d (line 16) | function d(t){var e=w.SVG_SIZE.exec(t),r={};return e&&(r[e[1]]=Math.roun...
function f (line 16) | function f(){j=!0}
function p (line 16) | function p(t){if(!j){if(navigator.userAgent.toLowerCase().indexOf("chrom...
function v (line 16) | function v(){var t={stencil:!0,failIfMajorPerformanceCaveat:!0};try{if(!...
function y (line 16) | function y(t){return 0===t?0:t<0?-1:1}
function g (line 16) | function g(){var t=void 0;for(t in U)U[t].destroy();for(t in X)X[t].dest...
function m (line 16) | function m(){var t=void 0;for(t in U)delete U[t];for(t in X)delete X[t]}
function _ (line 16) | function _(t,e){return G[e?1:0][t]}
function b (line 16) | function b(t,e){if(1===e)return(255*e<<24)+t;if(0===e)return 0;var r=t>>...
function x (line 16) | function x(t,e,r,n){return r=r||new Float32Array(4),n||void 0===n?(r[0]=...
function T (line 16) | function T(t,e,r,n){return r=r||new Float32Array(4),r[0]=(t>>16&255)/255...
function n (line 16) | function n(){for(var t=[],e=[],r=0;r<32;r++)t[r]=r,e[r]=r;t[i.BLEND_MODE...
function n (line 16) | function n(t){return o.default.tablet||o.default.phone?4:t}
function n (line 16) | function n(t,e){if(t&&e)for(var r=Object.keys(e),n=0;n<r.length;++n){var...
function i (line 16) | function i(t,e){s.push(t,e)}
function o (line 16) | function o(){for(var t=0;t<s.length;t+=2)n(s[t],s[t+1]);s.length=0}
function n (line 16) | function n(t){t.__plugins={},t.registerPlugin=function(e,r){t.__plugins[...
function n (line 16) | function n(t){var e=t.width,r=t.height,n=t.getContext("2d"),i=n.getImage...
function n (line 16) | function n(t){}
function i (line 16) | function i(t){var e=t.mesh,r=t.particles,i=t.extras,o=t.filters,s=t.prep...
function n (line 17) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 17) | function t(e){n(this,t),this.renderer=e,e.extract=this}
function n (line 17) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 17) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 17) | function t(e){n(this,t),this.renderer=e,e.extract=this}
function n (line 17) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 17) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 17) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 17) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 17) | function e(r,o){n(this,e);var s=i(this,t.call(this,r[0]instanceof u.Text...
function n (line 17) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 17) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 17) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 17) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 17) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 17) | function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 17) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 17) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 17) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 17) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 17) | function e(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[...
function n (line 17) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 17) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function n (line 17) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 17) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 17) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 17) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 17) | function e(r){n(this,e);var o=i(this,t.call(this,r));return o.shader=nul...
function n (line 18) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 18) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 18) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 18) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 18) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 18) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 18) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(r,n,s,a){i(this,e);var u=o(this,t.call(this));return u.blurXF...
function n (line 18) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 18) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 18) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 18) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(r,n,s,a){i(this,e),a=a||5;var u=(0,c.default)(a,!0),l=(0,f.de...
function n (line 18) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 18) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 18) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 18) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(r,n,s,a){i(this,e),a=a||5;var u=(0,c.default)(a,!1),l=(0,f.de...
function n (line 18) | function n(t){for(var e=i[t],r=e.length,n=o,s="",a="gl_FragColor += text...
function n (line 18) | function n(t,e){var r=Math.ceil(t/2),n=i,o="",s=void 0;s=e?"vBlurTexCoor...
function n (line 18) | function n(t){for(var e=t.getParameter(t.MAX_VARYING_VECTORS),r=15;r>e;)...
function n (line 18) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 18) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 18) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(){n(this,e);var r=i(this,t.call(this,"attribute vec2 aVertexP...
function n (line 18) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 18) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 18) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 18) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 18) | function e(r,o){n(this,e);var s=new u.Matrix;r.renderable=!1;var a=i(thi...
function n (line 18) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 18) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 18) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 18) | function e(){return n(this,e),i(this,t.call(this,"\nattribute vec2 aVert...
function n (line 18) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 18) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 18) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 19) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 19) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 19) | function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 19) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 19) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 19) | function t(){n(this,t),this.global=new s.Point,this.target=null,this.ori...
function n (line 19) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 19) | function t(){n(this,t),this.stopped=!1,this.target=null,this.currentTarg...
function n (line 19) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 19) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 19) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 19) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 19) | function e(r,n){i(this,e);var s=o(this,t.call(this));return n=n||{},s.re...
function n (line 19) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 19) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function t (line 19) | function t(e){n(this,t),this._pointerId=e,this._flags=t.FLAGS.NONE}
function n (line 19) | function n(t){return t&&t.__esModule?t:{default:t}}
method buttonMode (line 19) | get buttonMode(){return"pointer"===this.cursor}
method buttonMode (line 19) | set buttonMode(t){t?this.cursor="pointer":"pointer"===this.cursor&&(this...
method trackedPointers (line 19) | get trackedPointers(){return void 0===this._trackedPointers&&(this._trac...
function n (line 19) | function n(t,e){t.bitmapFont=u.BitmapText.registerFont(t.data,e)}
function n (line 19) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 19) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 19) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 19) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 19) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 19) | function e(r,n){i(this,e);var s=o(this,t.call(this,r,n));c.default.call(...
function n (line 19) | function n(t,e){return t.isDataUrl?t.data.meta.image:s.default.resolve(t...
function n (line 19) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 19) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 19) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 19) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 19) | function e(r,o,s,a,h){n(this,e);var c=i(this,t.call(this));return c._tex...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 20) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 20) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 20) | function e(r,o,s,a,u){n(this,e);var l=i(this,t.call(this,r,4,4));return ...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 20) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 20) | function e(r,o,s){n(this,e);var u=i(this,t.call(this,r));return u._ready...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 20) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 20) | function e(r,o){n(this,e);var s=i(this,t.call(this,r));return s.points=o...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 20) | function t(e){n(this,t),this.renderer=e}
function n (line 20) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 20) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 20) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 20) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 20) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 20) | function e(r){i(this,e);var n=o(this,t.call(this,r));return n.shader=nul...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 20) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function t (line 20) | function t(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.en...
function e (line 20) | function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0...
function n (line 20) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 20) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 20) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 20) | function t(e,r,n,o){i(this,t),this.gl=e,this.size=o,this.dynamicProperti...
function n (line 20) | function n(t){return t&&t.__esModule?t:{default:t}}
function i (line 20) | function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function o (line 20) | function o(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function s (line 20) | function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 20) | function e(r){i(this,e);var n=o(this,t.call(this,r));return n.shader=nul...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 20) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function e (line 20) | function e(r){return n(this,e),i(this,t.call(this,r,["attribute vec2 aVe...
function n (line 20) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 20) | function i(t,e){var r=!1;if(t&&t._textures&&t._textures.length)for(var n...
function o (line 20) | function o(t,e){return t instanceof d.BaseTexture&&(-1===e.indexOf(t)&&e...
function s (line 20) | function s(t,e){
function a (line 21) | function a(t,e){return e instanceof d.Text&&(e.updateText(!0),!0)}
function u (line 21) | function u(t,e){if(e instanceof d.TextStyle){var r=e.toFontString();retu...
function h (line 21) | function h(t,e){if(t instanceof d.Text){-1===e.indexOf(t.style)&&e.push(...
function l (line 21) | function l(t,e){return t instanceof d.TextStyle&&(-1===e.indexOf(t)&&e.p...
function t (line 21) | function t(e){var r=this;n(this,t),this.limiter=new p.default(d.settings...
function n (line 21) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 21) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 21) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function s (line 21) | function s(t,e){if(e instanceof u.BaseTexture){var r=e.source,n=0===r.wi...
function e (line 21) | function e(r){n(this,e);var o=i(this,t.call(this,r));return o.uploadHook...
function n (line 21) | function n(t){return t&&t.__esModule?t:{default:t}}
function n (line 21) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 21) | function t(e){n(this,t),this.maxItemsPerFrame=e,this.itemsLeft=0}
function n (line 21) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function t (line 21) | function t(e){n(this,t),this.maxMilliseconds=e,this.frameStart=0}
function n (line 21) | function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a ...
function i (line 21) | function i(t,e){if(!t)throw new ReferenceError("this hasn't been initial...
function o (line 21) | function o(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("S...
function s (line 21) | function s(t,e){return e instanceof l.BaseTexture&&(e._glTextures[t.CONT...
function a (line 21) | function a(t,e){return e instanceof l.Graphics&&((e.dirty||e.clearDirty|...
function u (line 21) | function u(t,e){return t instanceof l.Graphics&&(e.push(t),!0)}
function e (line 21) | function e(r){n(this,e);var o=i(this,t.call(this,r));return o.uploadHook...
function n (line 21) | function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r ...
FILE: lib/polyfills.js
function insertAtCursor (line 298) | function insertAtCursor(myField, myValue) {
function resetElapsedTime (line 318) | function resetElapsedTime () {
function elapsedSeconds (line 322) | function elapsedSeconds () {
function elapsedMilliseconds (line 326) | function elapsedMilliseconds () {
function rotate_point (line 332) | function rotate_point(pointX, pointY, originX, originY, angle) {
function toRadians (line 341) | function toRadians (angle) {
function clamp (line 345) | function clamp (val, min, max) {
function hexToRgbA (line 351) | function hexToRgbA(hex, a){
function dataURItoBlob (line 368) | function dataURItoBlob(dataURI) {
function deepCopy (line 393) | function deepCopy (val) {
function getAvailableFonts (line 401) | function getAvailableFonts () {
function elementInsideElement (line 424) | function elementInsideElement (target, parent) {
function getBrowserAndOSInfo (line 438) | function getBrowserAndOSInfo () {
function timeStamp (line 520) | function timeStamp() {
function invertColor (line 552) | function invertColor(hexTripletColor) {
function previewImage (line 579) | function previewImage (image) {
function intersectRect (line 584) | function intersectRect(r1, r2) {
function getAllGoogleFonts (line 593) | function getAllGoogleFonts () {
function loadGoogleFonts (line 597) | function loadGoogleFonts (fontFamilyArray, callback) {
function resizedataURL (line 609) | function resizedataURL(datas, wantedWidth, wantedHeight, callback, jpeg)
function convertDataURIToBinary (line 646) | function convertDataURIToBinary(dataURI) {
function zeroFill (line 659) | function zeroFill( number, width )
FILE: lib/potrace.js
function Point (line 38) | function Point(x, y) {
function Bitmap (line 47) | function Bitmap(w, h) {
function Path (line 83) | function Path() {
function Curve (line 94) | function Curve(n) {
function loadImageFromDataURL (line 126) | function loadImageFromDataURL(src) {
function loadImageFromFile (line 133) | function loadImageFromFile(file) {
function loadImageFromUrl (line 147) | function loadImageFromUrl(url) {
function setParameter (line 155) | function setParameter(obj) {
function loadCanvas (line 164) | function loadCanvas() {
function loadBm (line 171) | function loadBm() {
function bmToPathlist (line 189) | function bmToPathlist() {
function processPath (line 312) | function processPath() {
function process (line 1230) | function process(c) {
function clear (line 1245) | function clear() {
function getSVG (line 1252) | function getSVG(size, opt_type, fillColor) {
FILE: lib/random.js
function Random (line 34) | function Random(engine) {
function refreshData (line 54) | function refreshData(data) {
function temper (line 73) | function temper(value) {
function seedWithArray (line 80) | function seedWithArray(data, source) {
function mt19937 (line 111) | function mt19937() {
function returnValue (line 196) | function returnValue(value) {
function add (line 274) | function add(generate, addend) {
function isPowerOfTwoMinusOne (line 285) | function isPowerOfTwoMinusOne(value) {
function bitmask (line 289) | function bitmask(masking) {
function downscaleToLoopCheckedRange (line 295) | function downscaleToLoopCheckedRange(range) {
function downscaleToRange (line 307) | function downscaleToRange(range) {
function isEvenlyDivisibleByMaxInt32 (line 315) | function isEvenlyDivisibleByMaxInt32(value) {
function upscaleWithHighMasking (line 319) | function upscaleWithHighMasking(masking) {
function upscaleToLoopCheckedRange (line 327) | function upscaleToLoopCheckedRange(extendedRange) {
function upscaleWithinU53 (line 340) | function upscaleWithinU53(range) {
function upscaleWithinI53AndLoopCheck (line 351) | function upscaleWithinI53AndLoopCheck(min, max) {
function multiply (line 423) | function multiply(generate, multiplier) {
function isLeastBitTrue (line 455) | function isLeastBitTrue(engine) {
function lessThan (line 459) | function lessThan(generate, value) {
function probability (line 465) | function probability(percentage) {
function toInteger (line 500) | function toInteger(value) {
function convertSliceArgument (line 509) | function convertSliceArgument(value, length) {
function returnUndefined (line 530) | function returnUndefined() {
function zeroPad (line 612) | function zeroPad(string, zeroCount) {
FILE: lib/saveSvgAsPng.js
function isElement (line 6) | function isElement(obj) {
function requireDomNode (line 10) | function requireDomNode(el) {
function isExternal (line 16) | function isExternal(url) {
function inlineImages (line 20) | function inlineImages(el, callback) {
function styles (line 69) | function styles(el, options, cssLoadedCallback) {
function getDimension (line 252) | function getDimension(el, clone, dim) {
function reEncode (line 261) | function reEncode(data) {
function cssLoadedCallback (line 338) | function cssLoadedCallback(css) {
function uriToBlob (line 459) | function uriToBlob(uri) {
FILE: lib/socket.io-1.2.0.js
function s (line 1) | function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&re...
function lookup (line 1) | function lookup(uri,opts){if(typeof uri=="object"){opts=uri;uri=undefine...
function Manager (line 1) | function Manager(uri,opts){if(!(this instanceof Manager))return new Mana...
function on (line 1) | function on(obj,ev,fn){obj.on(ev,fn);return{destroy:function(){obj.remov...
function Socket (line 1) | function Socket(io,nsp){this.io=io;this.nsp=nsp;this.json=this;this.ids=...
function url (line 1) | function url(uri,loc){var obj=uri;var loc=loc||global.location;if(null==...
function Emitter (line 1) | function Emitter(obj){if(obj)return mixin(obj)}
function mixin (line 1) | function mixin(obj){for(var key in Emitter.prototype){obj[key]=Emitter.p...
function on (line 1) | function on(){self.off(event,on);fn.apply(this,arguments)}
function debug (line 1) | function debug(name){if(!debug.enabled(name))return function(){};return ...
function coerce (line 1) | function coerce(val){if(val instanceof Error)return val.stack||val.messa...
function noop (line 1) | function noop(){}
function Socket (line 1) | function Socket(uri,opts){if(!(this instanceof Socket))return new Socket...
function clone (line 1) | function clone(obj){var o={};for(var i in obj){if(obj.hasOwnProperty(i))...
function onTransportOpen (line 1) | function onTransportOpen(){if(self.onlyBinaryUpgrades){var upgradeLosesB...
function freezeTransport (line 1) | function freezeTransport(){if(failed)return;failed=true;cleanup();transp...
function onerror (line 1) | function onerror(err){var error=new Error("probe error: "+err);error.tra...
function onTransportClose (line 1) | function onTransportClose(){onerror("transport closed")}
function onclose (line 1) | function onclose(){onerror("socket closed")}
function onupgrade (line 1) | function onupgrade(to){if(transport&&to.name!=transport.name){debug('"%s...
function cleanup (line 1) | function cleanup(){transport.removeListener("open",onTransportOpen);tran...
function close (line 1) | function close(){self.onClose("forced close");debug("socket closing - te...
function cleanupAndClose (line 1) | function cleanupAndClose(){self.removeListener("upgrade",cleanupAndClose...
function waitForUpgrade (line 1) | function waitForUpgrade(){self.once("upgrade",cleanupAndClose);self.once...
function Transport (line 1) | function Transport(opts){this.path=opts.path;this.hostname=opts.hostname...
function polling (line 1) | function polling(opts){var xhr;var xd=false;var xs=false;var jsonp=false...
function empty (line 1) | function empty(){}
function JSONPPolling (line 1) | function JSONPPolling(opts){Polling.call(this,opts);this.query=this.quer...
function complete (line 1) | function complete(){initIframe();fn()}
function initIframe (line 1) | function initIframe(){if(self.iframe){try{self.form.removeChild(self.ifr...
function empty (line 2) | function empty(){}
function XHR (line 2) | function XHR(opts){Polling.call(this,opts);if(global.location){var isSSL...
function Request (line 2) | function Request(opts){this.method=opts.method||"GET";this.uri=opts.uri;...
function unloadHandler (line 2) | function unloadHandler(){for(var i in Request.requests){if(Request.reque...
function Polling (line 2) | function Polling(opts){var forceBase64=opts&&opts.forceBase64;if(!hasXHR...
function pause (line 2) | function pause(){debug("paused");self.readyState="paused";onPause()}
function close (line 2) | function close(){debug("writing close packet");self.write([{type:"close"...
function WS (line 2) | function WS(opts){var forceBase64=opts&&opts.forceBase64;if(forceBase64)...
function ondrain (line 2) | function ondrain(){self.writable=true;self.emit("drain")}
function encodeArrayBuffer (line 2) | function encodeArrayBuffer(packet,supportsBinary,callback){if(!supportsB...
function encodeBlobAsArrayBuffer (line 2) | function encodeBlobAsArrayBuffer(packet,supportsBinary,callback){if(!sup...
function encodeBlob (line 2) | function encodeBlob(packet,supportsBinary,callback){if(!supportsBinary){...
function setLengthHeader (line 2) | function setLengthHeader(message){return message.length+":"+message}
function encodeOne (line 2) | function encodeOne(packet,doneCallback){exports.encodePacket(packet,supp...
function map (line 2) | function map(ary,each,done){var result=new Array(ary.length);var next=af...
function encodeOne (line 2) | function encodeOne(packet,doneCallback){exports.encodePacket(packet,true...
function encodeOne (line 2) | function encodeOne(packet,doneCallback){exports.encodePacket(packet,true...
function after (line 2) | function after(count,callback,err_cb){var bail=false;err_cb=err_cb||noop...
function noop (line 2) | function noop(){}
function BlobBuilderConstructor (line 2) | function BlobBuilderConstructor(ary,options){options=options||{};var bb=...
function ucs2decode (line 2) | function ucs2decode(string){var output=[];var counter=0;var length=strin...
function ucs2encode (line 2) | function ucs2encode(array){var length=array.length;var index=-1;var valu...
function createByte (line 2) | function createByte(codePoint,shift){return stringFromCharCode(codePoint...
function encodeCodePoint (line 2) | function encodeCodePoint(codePoint){if((codePoint&4294967168)==0){return...
function utf8encode (line 2) | function utf8encode(string){var codePoints=ucs2decode(string);var length...
function readContinuationByte (line 2) | function readContinuationByte(){if(byteIndex>=byteCount){throw Error("In...
function decodeSymbol (line 2) | function decodeSymbol(){var byte1;var byte2;var byte3;var byte4;var code...
function utf8decode (line 2) | function utf8decode(byteString){byteArray=ucs2decode(byteString);byteCou...
function ws (line 2) | function ws(uri,protocols,opts){var instance;if(protocols){instance=new ...
function hasBinary (line 2) | function hasBinary(data){function _hasBinary(obj){if(!obj)return false;i...
function _deconstructPacket (line 2) | function _deconstructPacket(data){if(!data)return data;if(isBuf(data)){v...
function _reconstructPacket (line 2) | function _reconstructPacket(data){if(data&&data._placeholder){var buf=bu...
function _removeBlobs (line 3) | function _removeBlobs(obj,curKey,containingObject){if(!obj)return obj;if...
function Encoder (line 3) | function Encoder(){}
function encodeAsString (line 3) | function encodeAsString(obj){var str="";var nsp=false;str+=obj.type;if(e...
function encodeAsBinary (line 3) | function encodeAsBinary(obj,callback){function writeEncoding(bloblessDat...
function Decoder (line 3) | function Decoder(){this.reconstructor=null}
function decodeString (line 3) | function decodeString(str){var p={};var i=0;p.type=Number(str.charAt(0))...
function BinaryReconstructor (line 3) | function BinaryReconstructor(packet){this.reconPack=packet;this.buffers=[]}
function error (line 3) | function error(data){return{type:exports.ERROR,data:"parser error"}}
function isBuf (line 3) | function isBuf(obj){return global.Buffer&&global.Buffer.isBuffer(obj)||g...
function has (line 3) | function has(name){if(has[name]!==undef){return has[name]}var isSupporte...
function toArray (line 3) | function toArray(list,index){var array=[];index=index||0;for(var i=index...
FILE: lib/spectrum.js
function contains (line 66) | function contains( str, substr ) {
function paletteTemplate (line 133) | function paletteTemplate (p, color, className, opts) {
function hideAll (line 157) | function hideAll() {
function instanceOptions (line 165) | function instanceOptions(o, callbackContext) {
function spectrum (line 178) | function spectrum(element, o) {
function getOffset (line 985) | function getOffset(picker, input) {
function noop (line 1011) | function noop() {
function stopPropagation (line 1018) | function stopPropagation(e) {
function bind (line 1026) | function bind(func, obj) {
function draggable (line 1038) | function draggable(element, onmove, onstart, onstop) {
function throttle (line 1125) | function throttle(func, wait, debounce) {
function inputTypeColorSupport (line 1138) | function inputTypeColorSupport() {
function inputToRGB (line 1501) | function inputToRGB(color) {
function rgbToRgb (line 1562) | function rgbToRgb(r, g, b){
function rgbToHsl (line 1574) | function rgbToHsl(r, g, b) {
function hslToRgb (line 1605) | function hslToRgb(h, s, l) {
function rgbToHsv (line 1639) | function rgbToHsv(r, g, b) {
function hsvToRgb (line 1669) | function hsvToRgb(h, s, v) {
function rgbToHex (line 1692) | function rgbToHex(r, g, b, allow3Char) {
function rgbaToHex (line 1711) | function rgbaToHex(r, g, b, a) {
function desaturate (line 1743) | function desaturate(color, amount) {
function saturate (line 1751) | function saturate(color, amount) {
function greyscale (line 1759) | function greyscale(color) {
function lighten (line 1763) | function lighten (color, amount) {
function brighten (line 1771) | function brighten(color, amount) {
function darken (line 1780) | function darken (color, amount) {
function spin (line 1790) | function spin(color, amount) {
function complement (line 1802) | function complement(color) {
function triad (line 1808) | function triad(color) {
function tetrad (line 1818) | function tetrad(color) {
function splitcomplement (line 1829) | function splitcomplement(color) {
function analogous (line 1839) | function analogous(color, results, slices) {
function monochromatic (line 1854) | function monochromatic(color, results) {
function flip (line 2135) | function flip(o) {
function boundAlpha (line 2146) | function boundAlpha(a) {
function bound01 (line 2157) | function bound01(n, max) {
function clamp01 (line 2178) | function clamp01(val) {
function parseIntFromHex (line 2183) | function parseIntFromHex(val) {
function isOnePointZero (line 2189) | function isOnePointZero(n) {
function isPercentage (line 2194) | function isPercentage(n) {
function pad2 (line 2199) | function pad2(c) {
function convertToPercentage (line 2204) | function convertToPercentage(n) {
function convertDecimalToHex (line 2213) | function convertDecimalToHex(d) {
function convertHexToDecimal (line 2217) | function convertHexToDecimal(h) {
function stringInputToObject (line 2254) | function stringInputToObject(color) {
FILE: lib/two.js
function fitToWindow (line 2379) | function fitToWindow() {
function loop (line 2395) | function loop() {
function resetTransform (line 4893) | function resetTransform(ctx) {
function getCurveLength (line 7042) | function getCurveLength(a, b, limit) {
function getSubdivisions (line 7072) | function getSubdivisions(a, b, limit) {
function mod (line 7661) | function mod(v, l) {
function replaceParent (line 10096) | function replaceParent(child, newParent) {
FILE: lib/video-export/videoExporter.js
function handleMessage (line 207) | function handleMessage (message) {
function parseArguments (line 229) | function parseArguments(text) {
FILE: lib/video-export/worker-asm.js
function print (line 5) | function print(text) {
FILE: lib/webfont.js
function aa (line 16) | function aa(a,b,c){return a.call.apply(a.bind,arguments)}
function ba (line 16) | function ba(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Arra...
function p (line 16) | function p(a,b,c){p=Function.prototype.bind&&-1!=Function.prototype.bind...
function ca (line 16) | function ca(a,b){this.a=a;this.m=b||a;this.c=this.m.document}
function t (line 16) | function t(a,b,c,d){b=a.c.createElement(b);if(c)for(var e in c)c.hasOwnP...
function u (line 16) | function u(a,b,c){a=a.c.getElementsByTagName(b)[0];a||(a=document.docume...
function v (line 16) | function v(a){a.parentNode&&a.parentNode.removeChild(a)}
function w (line 17) | function w(a,b,c){b=b||[];c=c||[];for(var d=a.className.split(/\s+/),e=0...
function y (line 17) | function y(a,b){for(var c=a.className.split(/\s+/),d=0,e=c.length;d<e;d+...
function z (line 18) | function z(a){if("string"===typeof a.f)return a.f;var b=a.m.location.pro...
function ea (line 18) | function ea(a){return a.m.location.hostname||a.a.location.hostname}
function A (line 19) | function A(a,b,c){function d(){k&&e&&f&&(k(g),k=null)}b=t(a,"link",{rel:...
function B (line 20) | function B(a,b,c,d){var e=a.c.getElementsByTagName("head")[0];if(e){var ...
function C (line 20) | function C(){this.a=0;this.c=null}
function D (line 20) | function D(a){a.a++;return function(){a.a--;E(a)}}
function F (line 20) | function F(a,b){a.c=b;E(a)}
function E (line 20) | function E(a){0==a.a&&a.c&&(a.c(),a.c=null)}
function G (line 20) | function G(a){this.a=a||"-"}
function H (line 20) | function H(a,b){this.c=a;this.f=4;this.a="n";var c=(b||"n4").match(/^([n...
function fa (line 20) | function fa(a){return I(a)+" "+(a.f+"00")+" 300px "+J(a.c)}
function J (line 20) | function J(a){var b=[];a=a.split(/,\s*/);for(var c=0;c<a.length;c++){var...
function K (line 20) | function K(a){return a.a+a.f}
function I (line 20) | function I(a){var b="normal";"o"===a.a?b="oblique":"i"===a.a&&(b="italic...
function ga (line 21) | function ga(a){var b=4,c="n",d=null;a&&((d=a.match(/(normal|oblique|ital...
function ha (line 21) | function ha(a,b){this.c=a;this.f=a.m.document.documentElement;this.h=b;t...
function ia (line 21) | function ia(a){a.g&&w(a.f,[a.a.c("wf","loading")]);L(a,"loading")}
function M (line 21) | function M(a){if(a.g){var b=y(a.f,a.a.c("wf","active")),c=[],d=[a.a.c("w...
function L (line 21) | function L(a,b,c){if(a.j&&a.h[b])if(c)a.h[b](c.c,K(c));else a.h[b]()}
function ja (line 21) | function ja(){this.c={}}
function ka (line 21) | function ka(a,b,c){var d=[],e;for(e in b)if(b.hasOwnProperty(e)){var f=a...
function N (line 21) | function N(a,b){this.c=a;this.f=b;this.a=t(this.c,"span",{"aria-hidden":...
function O (line 21) | function O(a){u(a.c,"body",a.a)}
function P (line 21) | function P(a){return"display:block;position:absolute;top:-9999px;left:-9...
function Q (line 21) | function Q(a,b,c,d,e,f){this.g=a;this.j=b;this.a=d;this.c=c;this.f=e||3E...
function k (line 21) | function k(){q()-c>=b.f?e():a.fonts.load(fa(b.a),b.h).then(function(a){1...
function R (line 21) | function R(a,b,c,d,e,f,g){this.v=a;this.B=b;this.c=c;this.a=d;this.s=g||...
function U (line 22) | function U(){if(null===T){var a=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.ex...
function ma (line 23) | function ma(a,b,c){for(var d in S)if(S.hasOwnProperty(d)&&b===a.f[S[d]]&...
function la (line 23) | function la(a){var b=a.g.a.offsetWidth,c=a.h.a.offsetWidth,d;(d=b===a.f....
function na (line 23) | function na(a){setTimeout(p(function(){la(this)},a),50)}
function V (line 23) | function V(a,b){setTimeout(p(function(){v(this.g.a);v(this.h.a);v(this.j...
function W (line 23) | function W(a,b,c){this.c=a;this.a=b;this.f=0;this.o=this.j=!1;this.s=c}
function oa (line 24) | function oa(a){0==--a.f&&a.j&&(a.o?(a=a.a,a.g&&w(a.f,[a.a.c("wf","active...
function pa (line 24) | function pa(a){this.j=a;this.a=new ja;this.h=0;this.f=this.g=!0}
function ra (line 25) | function ra(a,b,c,d,e){var f=0==--a.h;(a.f||a.g)&&setTimeout(function(){...
function qa (line 26) | function qa(a,b,c){var d=[],e=c.timeout;ia(b);var d=ka(a.a,c,a.c),f=new ...
function sa (line 26) | function sa(a,b){this.c=a;this.a=b}
function ta (line 26) | function ta(a,b,c){var d=z(a.c);a=(a.a.api||"fast.fonts.net/jsapi").repl...
function b (line 27) | function b(){if(f["__mti_fntLst"+d]){var c=f["__mti_fntLst"+d](),e=[],h;...
function ua (line 28) | function ua(a,b){this.c=a;this.a=b}
function va (line 28) | function va(a,b,c){a?this.c=a:this.c=b+wa;this.a=[];this.f=[];this.g=c||""}
function xa (line 28) | function xa(a,b){for(var c=b.length,d=0;d<c;d++){var e=b[d].split(":");3...
function ya (line 29) | function ya(a){if(0==a.a.length)throw Error("No fonts to load!");if(-1!=...
function za (line 29) | function za(a){this.f=a;this.a=[];this.c={}}
function Ea (line 32) | function Ea(a){for(var b=a.f.length,c=0;c<b;c++){var d=a.f[c].split(":")...
function Fa (line 33) | function Fa(a,b){this.c=a;this.a=b}
function Ha (line 33) | function Ha(a,b){this.c=a;this.a=b}
function Ia (line 33) | function Ia(a,b){this.c=a;this.f=b;this.a=[]}
FILE: lib/whammy.js
function toWebM (line 11) | function toWebM(frames, outputAsArray){
function checkFrames (line 231) | function checkFrames(frames){
function numToBuffer (line 249) | function numToBuffer(num){
function numToFixedBuffer (line 258) | function numToFixedBuffer(num, size){
function strToBuffer (line 267) | function strToBuffer(str){
function bitsToBuffer (line 286) | function bitsToBuffer(bits){
function generateEBML (line 296) | function generateEBML(json, outputAsArray){
function toFlatArray (line 341) | function toFlatArray(arr, outBuffer){
function toBinStr_old (line 364) | function toBinStr_old(bits){
function generateEBML_old (line 374) | function generateEBML_old(json){
function makeSimpleBlock (line 397) | function makeSimpleBlock(data){
function parseWebP (line 415) | function parseWebP(riff){
function parseRIFF (line 445) | function parseRIFF(string){
function doubleToString (line 476) | function doubleToString(num){
function WhammyVideo (line 490) | function WhammyVideo(speed, quality){ // a more abstract-ish API
FILE: main.js
function createWindow (line 11) | function createWindow () {
FILE: src/editor/WickEditor.InputHandler.js
function importPaperGroup (line 303) | function importPaperGroup (paperGroup) {
function importPaperPath (line 312) | function importPaperPath (paperPath) {
function importFile (line 583) | function importFile (e) {
FILE: src/editor/WickEditor.WickActionHandler.js
function done (line 80) | function done (args) {
function scrap (line 93) | function scrap (dontUndo) {
FILE: src/editor/WickEditor.js
function registerInterface (line 46) | function registerInterface (interface) {
FILE: src/editor/interfaces/Interfaces.Canvas.Fast.js
function proceed (line 61) | function proceed () {
function proceed (line 101) | function proceed () {
function updateCanvasTransforms (line 165) | function updateCanvasTransforms () {
FILE: src/editor/interfaces/Interfaces.Canvas.ImageRenderer.js
function buildAndSaveGIF (line 30) | function buildAndSaveGIF () {
function proceed (line 96) | function proceed (i) {
function getFrameAsDataURL (line 117) | function getFrameAsDataURL (i, callback) {
function retrieveCanvas (line 155) | function retrieveCanvas () {
FILE: src/editor/interfaces/Interfaces.Canvas.Interactive.js
function createPathForWickobject (line 75) | function createPathForWickobject (wickObject) {
function getRootParent (line 222) | function getRootParent (item) {
FILE: src/editor/interfaces/Interfaces.Canvas.js
function lockZoomToRange (line 156) | function lockZoomToRange () {
function updateViewTransforms (line 163) | function updateViewTransforms () {
FILE: src/editor/interfaces/Interfaces.ScriptingIDE.js
function onChange (line 251) | function onChange (e) {
function onChangeAnnotation (line 256) | function onChangeAnnotation (e) {
function onChangeSelection (line 292) | function onChangeSelection () {
function beautifyCode (line 300) | function beautifyCode () {
function updateHeaderText (line 310) | function updateHeaderText () {
FILE: src/editor/interfaces/Interfaces.Timeline.js
function updateView (line 584) | function updateView () {
function snapPosition (line 589) | function snapPosition () {
FILE: src/editor/interfaces/Interfaces.VideoExporter.js
function renderVideoFromFrames (line 196) | function renderVideoFromFrames (frames, callback) {
function generateAudioTrack (line 210) | function generateAudioTrack (callback) {
function mergeAudioTrackWithVideo (line 240) | function mergeAudioTrackWithVideo (videoBuffer, audioBuffer, callback) {
function downloadVideo (line 253) | function downloadVideo (videoBuffer) {
FILE: src/editor/tools/Tools.FillBucket.js
function changeFillColorOfItem (line 91) | function changeFillColorOfItem (item) {
function changeStrokeColorOfItem (line 98) | function changeStrokeColorOfItem (item) {
function fillHole (line 108) | function fillHole (event, callback) {
function generateFloodFillImage (line 143) | function generateFloodFillImage (raster, x, y, callback) {
function imageToPath (line 222) | function imageToPath (image, callback) {
function addFilledHoleToProject (line 231) | function addFilledHoleToProject (path, x, y) {
function expandHole (line 248) | function expandHole (path, HOLE_EXPAND_AMT) {
FILE: src/editor/tools/Tools.Paintbrush.js
function getRelativePosition (line 131) | function getRelativePosition(absoluteX, absoluteY) {
FILE: src/editor/tools/Tools.Pen.js
function updateDrawingPath (line 280) | function updateDrawingPath () {
FILE: src/editor/tools/Tools.SelectionCursor.js
function updateSelection (line 366) | function updateSelection () {
FILE: src/editor/tools/Tools.Text.js
function addText (line 79) | function addText (x,y) {
FILE: src/editor/tools/Tools.VectorCursor.js
function resetSelection (line 419) | function resetSelection (event) {
function modifySelectedPath (line 450) | function modifySelectedPath () {
FILE: src/editor/tools/Tools.Zoom.js
function MouseWheelHandler (line 113) | function MouseWheelHandler(e) {
FILE: src/player/WickPlayer.HowlerAudioPlayer.js
function initHowlerInstancesForAllAssets (line 144) | function initHowlerInstancesForAllAssets (project) {
function initSoundsOnFrames (line 160) | function initSoundsOnFrames (project) {
function generateWaveformForFrame (line 176) | function generateWaveformForFrame (frame) {
FILE: src/player/WickPlayer.PixiRenderer.js
function checkIfDone (line 66) | function checkIfDone () {
function renderWickObject (line 180) | function renderWickObject (wickObject) {
function loadAllAssets (line 217) | function loadAllAssets (project) {
function createPixiSprite (line 223) | function createPixiSprite (wickObject, callback) {
function regenPixiPath (line 258) | function regenPixiPath (wickObject, pixiSprite, callback) {
function regenPixiText (line 267) | function regenPixiText (wickObject, pixiSprite) {
function getBase64SVG (line 331) | function getBase64SVG (wickObject) {
FILE: src/player/WickPlayer.js
function startUpdate (line 96) | function startUpdate(fps) {
function checkForSounds (line 145) | function checkForSounds () {
function runProject (line 225) | function runProject (json) {
function tryToLoadProjectFromWindowHash (line 230) | function tryToLoadProjectFromWindowHash () {
Condensed preview — 226 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (5,576K chars).
[
{
"path": ".gitignore",
"chars": 39,
"preview": ".DS_Store\nnode_modules/\nrelease-builds/"
},
{
"path": "HOWTO.md",
"chars": 19010,
"preview": "# Wick Editor v16\n\n**Note:** The `Modifier` key in this document refers to the `Control` key in Windows, and the `Comman"
},
{
"path": "LICENSE.txt",
"chars": 35147,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 97,
"preview": "This repo is no longer active, please go to the new one: https://github.com/wicklets/wick-editor\n"
},
{
"path": "code-of-conduct.md",
"chars": 3232,
"preview": "# Contributor Covenant Code of Conduct\n\n## Our Pledge\n\nIn the interest of fostering an open and welcoming environment, w"
},
{
"path": "index.html",
"chars": 14155,
"preview": "<!-- Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli -->\n\n<!-- This file is part of Wick. \n \n Wick is"
},
{
"path": "lib/SAT.js",
"chars": 6408,
"preview": "/* SAT.js - Version 0.6.0 - Copyright 2012 - 2016 - Jim Riecken <jimr@jimr.ca> - released under the MIT License. https:/"
},
{
"path": "lib/Tween.js",
"chars": 13713,
"preview": "/**\n * Tween.js - Licensed under the MIT license\n * https://github.com/tweenjs/tween.js\n * -----------------------------"
},
{
"path": "lib/URLParameterUtils.js",
"chars": 1447,
"preview": "var URLParameterUtils = (function () {\n\n\tvar urlParameterUtils = { };\n\n\turlParameterUtils.getParameterByName = function "
},
{
"path": "lib/WickEditorInputs.js",
"chars": 1302,
"preview": "var SlideyNumberInput = function (args) {\n var input = document.createElement('input');\n input.type = 'text';\n input."
},
{
"path": "lib/ace/ace.js",
"chars": 362037,
"preview": "(function(){function o(n){var i=e;n&&(e[n]||(e[n]={}),i=e[n]);if(!i.define||!i.define.packaged)t.original=i.define,i.def"
},
{
"path": "lib/ace/ext-language_tools.js",
"chars": 68047,
"preview": "ace.define(\"ace/snippets\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/lib/event_emitter\",\"ace/lib/lang\",\"ace/range\""
},
{
"path": "lib/ace/mode-javascript.js",
"chars": 31595,
"preview": "ace.define(\"ace/mode/doc_comment_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_r"
},
{
"path": "lib/ace/theme-chrome.js",
"chars": 3032,
"preview": "define(\"ace/theme/chrome\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"], function(require, exports, module) {\n\nexports.is"
},
{
"path": "lib/ace/theme-idle_fingers.css",
"chars": 2210,
"preview": ".ace-idle-fingers .ace_gutter {\n background: #3b3b3b;\n color: rgb(153,153,153)\n}\n\n.ace-idle-fingers .ace_print-margin "
},
{
"path": "lib/ace/theme-idle_fingers.js",
"chars": 2504,
"preview": "ace.define(\"ace/theme/idle_fingers\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"], function(require, exports, module) {\n\n"
},
{
"path": "lib/ace/theme-tomorrow.js",
"chars": 2838,
"preview": "ace.define(\"ace/theme/tomorrow\",[\"require\",\"exports\",\"module\",\"ace/lib/dom\"], function(require, exports, module) {\n\nexpo"
},
{
"path": "lib/ace/worker-javascript.js",
"chars": 345773,
"preview": "\"no use strict\";\n;(function(window) {\nif (typeof window.window != \"undefined\" && window.document)\n return;\nif (window"
},
{
"path": "lib/applyStyle.js",
"chars": 246,
"preview": "// https://github.com/zz85/timeliner/blob/master/src/utils.js\n\nfunction applyStyle(element, var_args) {\n\tfor (var i = 1;"
},
{
"path": "lib/base64-arraybuffer.js",
"chars": 2004,
"preview": "/*\n * base64-arraybuffer\n * https://github.com/niklasvh/base64-arraybuffer\n *\n * Copyright (c) 2012 Niklas von Hertzen\n "
},
{
"path": "lib/beautify.js",
"chars": 110973,
"preview": "/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n/*\n\n The MIT License (MIT)\n\n Copyright (c) 2007-2013"
},
{
"path": "lib/bowser.js",
"chars": 16961,
"preview": "/*!\n * Bowser - a browser detector\n * https://github.com/ded/bowser\n * MIT License | (c) Dustin Diaz 2015\n */\n\n!function"
},
{
"path": "lib/canvasutils.js",
"chars": 16984,
"preview": "http://blog.acipo.com/blob-detection-js/\n\nfunction unique(arr){\n/// Returns an object with the counts of unique elements"
},
{
"path": "lib/croquis.js",
"chars": 53974,
"preview": "function Croquis(imageDataList, properties) {\n var self = this;\n if (properties != null)\n for (var property"
},
{
"path": "lib/filedownloader.js",
"chars": 477,
"preview": " var FileDownloader = (function () {\n\n\tvar fileDownloader = { };\n\n\tfileDownloader.downloadFile = function (url) {\n\t\tvar "
},
{
"path": "lib/fpscounter.js",
"chars": 469,
"preview": "// Framerate keeper \n// http://www.html5gamedevs.com/topic/1828-how-to-calculate-fps-in-plain-javascript/\nvar fps = { st"
},
{
"path": "lib/gif.js",
"chars": 13451,
"preview": "// gif.js 0.2.0 - https://github.com/jnordberg/gif.js\n(function(f){if(typeof exports===\"object\"&&typeof module!==\"undefi"
},
{
"path": "lib/gif.worker.js",
"chars": 16636,
"preview": "// gif.worker.js 0.2.0 - https://github.com/jnordberg/gif.js\n(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var "
},
{
"path": "lib/highlight/CHANGES.md",
"chars": 54485,
"preview": "## Version 9.9.0\n\nNew languages\n\n- *LLVM* by [Michael Rodler][]\n\nImprovements:\n\n- *TypeScript* updated with annotations "
},
{
"path": "lib/highlight/LICENSE",
"chars": 1498,
"preview": "Copyright (c) 2006, Ivan Sagalaev\nAll rights reserved.\nRedistribution and use in source and binary forms, with or withou"
},
{
"path": "lib/highlight/README.md",
"chars": 4762,
"preview": "# Highlight.js\n\n[](https://travis-ci.org/"
},
{
"path": "lib/highlight/README.ru.md",
"chars": 4374,
"preview": "# Highlight.js\n\nHighlight.js — это инструмент для подсветки синтаксиса, написанный на JavaScript. Он работает\nи в браузе"
},
{
"path": "lib/highlight/highlight.pack.js",
"chars": 9681,
"preview": "/*! highlight.js v9.9.0 | BSD3 License | git.io/hljslicense */\n!function(e){var n=\"object\"==typeof window&&window||\"obje"
},
{
"path": "lib/highlight/styles/agate.css",
"chars": 1276,
"preview": "/*!\n * Agate by Taufik Nurrohman <https://github.com/tovic>\n * ----------------------------------------------------\n *\n "
},
{
"path": "lib/highlight/styles/androidstudio.css",
"chars": 774,
"preview": "/*\nDate: 24 Fev 2015\nAuthor: Pedro Oliveira <kanytu@gmail . com>\n*/\n\n.hljs {\n color: #a9b7c6;\n background: #282b2e;\n "
},
{
"path": "lib/highlight/styles/arduino-light.css",
"chars": 1053,
"preview": "/*\n\nArduino® Light Theme - Stefania Mellai <s.mellai@arduino.cc>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n pa"
},
{
"path": "lib/highlight/styles/arta.css",
"chars": 852,
"preview": "/*\nDate: 17.V.2011\nAuthor: pumbur <pumbur@pumbur.net>\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em"
},
{
"path": "lib/highlight/styles/ascetic.css",
"chars": 591,
"preview": "/*\n\nOriginal style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>\n\n*/\n\n.hljs {\n display: block"
},
{
"path": "lib/highlight/styles/atelier-cave-dark.css",
"chars": 1274,
"preview": "/* Base16 Atelier Cave Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sche"
},
{
"path": "lib/highlight/styles/atelier-cave-light.css",
"chars": 1299,
"preview": "/* Base16 Atelier Cave Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sch"
},
{
"path": "lib/highlight/styles/atelier-dune-dark.css",
"chars": 1094,
"preview": "/* Base16 Atelier Dune Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sche"
},
{
"path": "lib/highlight/styles/atelier-dune-light.css",
"chars": 1095,
"preview": "/* Base16 Atelier Dune Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sch"
},
{
"path": "lib/highlight/styles/atelier-estuary-dark.css",
"chars": 1310,
"preview": "/* Base16 Atelier Estuary Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-s"
},
{
"path": "lib/highlight/styles/atelier-estuary-light.css",
"chars": 1311,
"preview": "/* Base16 Atelier Estuary Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-"
},
{
"path": "lib/highlight/styles/atelier-forest-dark.css",
"chars": 1110,
"preview": "/* Base16 Atelier Forest Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sc"
},
{
"path": "lib/highlight/styles/atelier-forest-light.css",
"chars": 1111,
"preview": "/* Base16 Atelier Forest Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-s"
},
{
"path": "lib/highlight/styles/atelier-heath-dark.css",
"chars": 1102,
"preview": "/* Base16 Atelier Heath Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sch"
},
{
"path": "lib/highlight/styles/atelier-heath-light.css",
"chars": 1103,
"preview": "/* Base16 Atelier Heath Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-sc"
},
{
"path": "lib/highlight/styles/atelier-lakeside-dark.css",
"chars": 1126,
"preview": "/* Base16 Atelier Lakeside Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-"
},
{
"path": "lib/highlight/styles/atelier-lakeside-light.css",
"chars": 1127,
"preview": "/* Base16 Atelier Lakeside Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier"
},
{
"path": "lib/highlight/styles/atelier-plateau-dark.css",
"chars": 1310,
"preview": "/* Base16 Atelier Plateau Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-s"
},
{
"path": "lib/highlight/styles/atelier-plateau-light.css",
"chars": 1311,
"preview": "/* Base16 Atelier Plateau Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-"
},
{
"path": "lib/highlight/styles/atelier-savanna-dark.css",
"chars": 1310,
"preview": "/* Base16 Atelier Savanna Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-s"
},
{
"path": "lib/highlight/styles/atelier-savanna-light.css",
"chars": 1311,
"preview": "/* Base16 Atelier Savanna Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-"
},
{
"path": "lib/highlight/styles/atelier-seaside-dark.css",
"chars": 1118,
"preview": "/* Base16 Atelier Seaside Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-s"
},
{
"path": "lib/highlight/styles/atelier-seaside-light.css",
"chars": 1119,
"preview": "/* Base16 Atelier Seaside Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-"
},
{
"path": "lib/highlight/styles/atelier-sulphurpool-dark.css",
"chars": 1150,
"preview": "/* Base16 Atelier Sulphurpool Dark - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/ateli"
},
{
"path": "lib/highlight/styles/atelier-sulphurpool-light.css",
"chars": 1151,
"preview": "/* Base16 Atelier Sulphurpool Light - Theme */\n/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atel"
},
{
"path": "lib/highlight/styles/atom-one-dark.css",
"chars": 1266,
"preview": "/*\n\nAtom One Dark by Daniel Gamage\nOriginal One Dark Syntax theme from https://github.com/atom/one-dark-syntax\n\nbase: "
},
{
"path": "lib/highlight/styles/atom-one-light.css",
"chars": 1269,
"preview": "/*\n\nAtom One Light by Daniel Gamage\nOriginal One Light Syntax theme from https://github.com/atom/one-light-syntax\n\nbase:"
},
{
"path": "lib/highlight/styles/brown-paper.css",
"chars": 842,
"preview": "/*\n\nBrown Paper style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-"
},
{
"path": "lib/highlight/styles/codepen-embed.css",
"chars": 842,
"preview": "/*\n codepen.io Embed Theme\n Author: Justin Perry <http://github.com/ourmaninamsterdam>\n Original theme - https://gith"
},
{
"path": "lib/highlight/styles/color-brewer.css",
"chars": 883,
"preview": "/*\n\nColorbrewer theme\nOriginal: https://github.com/mbostock/colorbrewer-theme (c) Mike Bostock <mike@ocks.org>\nPorted by"
},
{
"path": "lib/highlight/styles/darcula.css",
"chars": 912,
"preview": "/*\n\nDarcula color scheme from the JetBrains family of IDEs\n\n*/\n\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding"
},
{
"path": "lib/highlight/styles/dark.css",
"chars": 794,
"preview": "/*\n\nDark style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>\n\n*/\n\n.hljs {\n display: block;\n "
},
{
"path": "lib/highlight/styles/darkula.css",
"chars": 154,
"preview": "/*\n Deprecated due to a typo in the name and left here for compatibility purpose only.\n Please use darcula.css instead"
},
{
"path": "lib/highlight/styles/default.css",
"chars": 1159,
"preview": "/*\n\nOriginal highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>\n\n*/\n\n.hljs {\n display: block;\n overflow"
},
{
"path": "lib/highlight/styles/docco.css",
"chars": 1141,
"preview": "/*\nDocco style used in http://jashkenas.github.com/docco/ converted by Simon Madine (@thingsinjars)\n*/\n\n.hljs {\n displa"
},
{
"path": "lib/highlight/styles/dracula.css",
"chars": 1015,
"preview": "/*\n\nDracula Theme v1.2.0\n\nhttps://github.com/zenorocha/dracula-theme\n\nCopyright 2015, All rights reserved\n\nCode licensed"
},
{
"path": "lib/highlight/styles/far.css",
"chars": 849,
"preview": "/*\n\nFAR Style (c) MajestiC <majestic2k@gmail.com>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n "
},
{
"path": "lib/highlight/styles/foundation.css",
"chars": 1086,
"preview": "/*\nDescription: Foundation 4 docs style for highlight.js\nAuthor: Dan Allen <dan.j.allen@gmail.com>\nWebsite: http://found"
},
{
"path": "lib/highlight/styles/github-gist.css",
"chars": 919,
"preview": "/**\n * GitHub Gist Theme\n * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro\n */\n\n.hljs {\n display: b"
},
{
"path": "lib/highlight/styles/github.css",
"chars": 1148,
"preview": "/*\n\ngithub.com style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padd"
},
{
"path": "lib/highlight/styles/googlecode.css",
"chars": 1053,
"preview": "/*\n\nGoogle Code style (c) Aahan Krish <geekpanth3r@gmail.com>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n paddi"
},
{
"path": "lib/highlight/styles/grayscale.css",
"chars": 1966,
"preview": "/*\n\ngrayscale style (c) MY Sun <simonmysun@gmail.com>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5e"
},
{
"path": "lib/highlight/styles/gruvbox-dark.css",
"chars": 1441,
"preview": "/*\n\nGruvbox style (dark) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox)\n\n*/\n\n.hljs {\n display"
},
{
"path": "lib/highlight/styles/gruvbox-light.css",
"chars": 1442,
"preview": "/*\n\nGruvbox style (light) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox)\n\n*/\n\n.hljs {\n displa"
},
{
"path": "lib/highlight/styles/hopscotch.css",
"chars": 1059,
"preview": "/*\n * Hopscotch\n * by Jan T. Sott\n * https://github.com/idleberg/Hopscotch\n *\n * This work is licensed under the Creativ"
},
{
"path": "lib/highlight/styles/hybrid.css",
"chars": 1342,
"preview": "/*\n\nvim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)\n\n*/\n\n/*background color*/\n.hljs {\n display: block;\n "
},
{
"path": "lib/highlight/styles/idea.css",
"chars": 1173,
"preview": "/*\n\nIntellij Idea-like styling (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: au"
},
{
"path": "lib/highlight/styles/ir-black.css",
"chars": 871,
"preview": "/*\n IR_Black style (c) Vasily Mikhailitchenko <vaskas@programica.ru>\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n"
},
{
"path": "lib/highlight/styles/kimbie.dark.css",
"chars": 1067,
"preview": "/*\n Name: Kimbie (dark)\n Author: Jan T. Sott\n License: Creative Commons Attribution-ShareAlike 4.0 Unpor"
},
{
"path": "lib/highlight/styles/kimbie.light.css",
"chars": 1068,
"preview": "/*\n Name: Kimbie (light)\n Author: Jan T. Sott\n License: Creative Commons Attribution-ShareAlike 4.0 Unpo"
},
{
"path": "lib/highlight/styles/magula.css",
"chars": 891,
"preview": "/*\nDescription: Magula style for highligh.js\nAuthor: Ruslan Keba <rukeba@gmail.com>\nWebsite: http://rukeba.com/\nVersion:"
},
{
"path": "lib/highlight/styles/mono-blue.css",
"chars": 749,
"preview": "/*\n Five-color theme from a single blue hue.\n*/\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n backg"
},
{
"path": "lib/highlight/styles/monokai-sublime.css",
"chars": 1026,
"preview": "/*\n\nMonokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-license.org/\n\n*/\n\n.hljs {\n display: bl"
},
{
"path": "lib/highlight/styles/monokai.css",
"chars": 938,
"preview": "/*\nMonokai style - ported by Luigi Maselli - http://grigio.org\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n paddi"
},
{
"path": "lib/highlight/styles/obsidian.css",
"chars": 1079,
"preview": "/**\n * Obsidian style\n * ported by Alexander Marenin (http://github.com/ioncreature)\n */\n\n.hljs {\n display: block;\n ov"
},
{
"path": "lib/highlight/styles/ocean.css",
"chars": 1004,
"preview": "/* Ocean Dark Theme */\n/* https://github.com/gavsiu */\n/* Original theme - https://github.com/chriskempson/base16 */\n\n/*"
},
{
"path": "lib/highlight/styles/paraiso-dark.css",
"chars": 1007,
"preview": "/*\n Paraíso (dark)\n Created by Jan T. Sott (http://github.com/idleberg)\n Inspired by the art of Rubens LP (http"
},
{
"path": "lib/highlight/styles/paraiso-light.css",
"chars": 1008,
"preview": "/*\n Paraíso (light)\n Created by Jan T. Sott (http://github.com/idleberg)\n Inspired by the art of Rubens LP (htt"
},
{
"path": "lib/highlight/styles/pojoaque.css",
"chars": 1124,
"preview": "/*\n\nPojoaque Style by Jason Tate\nhttp://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter."
},
{
"path": "lib/highlight/styles/purebasic.css",
"chars": 2338,
"preview": "/*\n\nPureBASIC native IDE style ( version 1.0 - April 2016 )\n\nby Tristano Ajmone <tajmone@gmail.com>\n\nPublic Domain\n\nNOTE"
},
{
"path": "lib/highlight/styles/qtcreator_dark.css",
"chars": 977,
"preview": "/*\n\nQt Creator dark color scheme\n\n*/\n\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #00"
},
{
"path": "lib/highlight/styles/qtcreator_light.css",
"chars": 978,
"preview": "/*\n\nQt Creator light color scheme\n\n*/\n\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n background: #f"
},
{
"path": "lib/highlight/styles/railscasts.css",
"chars": 1211,
"preview": "/*\n\nRailscasts-like style (c) Visoft, Inc. (Damien White)\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: "
},
{
"path": "lib/highlight/styles/rainbow.css",
"chars": 983,
"preview": "/*\n\nStyle with support for rainbow parens\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n padding: 0.5em;\n backgro"
},
{
"path": "lib/highlight/styles/school-book.css",
"chars": 999,
"preview": "/*\n\nSchool Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-"
},
{
"path": "lib/highlight/styles/solarized-dark.css",
"chars": 1145,
"preview": "/*\n\nOrginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>\n\n*/\n\n.hljs {\n display: block"
},
{
"path": "lib/highlight/styles/solarized-light.css",
"chars": 1145,
"preview": "/*\n\nOrginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>\n\n*/\n\n.hljs {\n display: block"
},
{
"path": "lib/highlight/styles/sunburst.css",
"chars": 1183,
"preview": "/*\n\nSunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n p"
},
{
"path": "lib/highlight/styles/tomorrow-night-blue.css",
"chars": 1152,
"preview": "/* Tomorrow Night Blue Theme */\n/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n/* Original them"
},
{
"path": "lib/highlight/styles/tomorrow-night-bright.css",
"chars": 1082,
"preview": "/* Tomorrow Night Bright Theme */\n/* Original theme - https://github.com/chriskempson/tomorrow-theme */\n/* http://jmblog"
},
{
"path": "lib/highlight/styles/tomorrow-night-eighties.css",
"chars": 1086,
"preview": "/* Tomorrow Night Eighties Theme */\n/* Original theme - https://github.com/chriskempson/tomorrow-theme */\n/* http://jmbl"
},
{
"path": "lib/highlight/styles/tomorrow-night.css",
"chars": 1149,
"preview": "/* Tomorrow Night Theme */\n/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n/* Original theme - h"
},
{
"path": "lib/highlight/styles/tomorrow.css",
"chars": 978,
"preview": "/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */\n\n/* Tomorrow Comment */\n.hljs-comment,\n.hljs-quo"
},
{
"path": "lib/highlight/styles/vs.css",
"chars": 837,
"preview": "/*\n\nVisual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>\n\n*/\n.hljs {\n display: "
},
{
"path": "lib/highlight/styles/xcode.css",
"chars": 1071,
"preview": "/*\n\nXCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>\n\n*/\n\n.hljs {\n display: block;\n overflow-x: auto;\n paddi"
},
{
"path": "lib/highlight/styles/xt256.css",
"chars": 1046,
"preview": "\n/*\n xt256.css\n\n Contact: initbar [at] protonmail [dot] ch\n : github.com/initbar\n*/\n\n.hljs {\n display: block;"
},
{
"path": "lib/highlight/styles/zenburn.css",
"chars": 947,
"preview": "/*\n\nZenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>\nbased on dark.css by Ivan Sagalaev\n\n*/\n\n.hl"
},
{
"path": "lib/html2canvas.js",
"chars": 91479,
"preview": "/*\r\n html2canvas 0.4.1 <http://html2canvas.hertzen.com>\r\n Copyright (c) 2013 Niklas von Hertzen\r\n\r\n Released under MI"
},
{
"path": "lib/idb-keyval-min.js",
"chars": 1148,
"preview": "!function(){\"use strict\";function e(){return t||(t=new Promise(function(e,n){var t=indexedDB.open(\"keyval-store\",1);t.on"
},
{
"path": "lib/jquery-ui.custom.js",
"chars": 520714,
"preview": "/*! jQuery UI - v1.12.1 - 2016-09-14\n* http://jqueryui.com\n* Includes: widget.js, position.js, data.js, disable-selectio"
},
{
"path": "lib/jquery.fancytree.filter.js",
"chars": 11916,
"preview": "/*!\n * jquery.fancytree.filter.js\n *\n * Remove or highlight tree nodes, based on a filter.\n * (Extension module for jque"
},
{
"path": "lib/jquery.fancytree.js",
"chars": 162967,
"preview": "/*!\n * jquery.fancytree.js\n * Tree view control with support for lazy loading and much more.\n * https://github.com/mar10"
},
{
"path": "lib/jscolor.js",
"chars": 53722,
"preview": "/**\r\n * jscolor - JavaScript Color Picker\r\n *\r\n * @link http://jscolor.com\r\n * @license For open source use: GPLv3\r\n "
},
{
"path": "lib/keyCharToCode.js",
"chars": 1809,
"preview": "// https://www.npmjs.com/package/keycode\n// Original key mappings lifted from http://jsfiddle.net/vWx8V/ via http://stac"
},
{
"path": "lib/lerp.js",
"chars": 114,
"preview": "//https://github.com/mattdesl/lerp/blob/master/index.js\nvar lerp = function (v0, v1, t) { return v0*(1-t)+v1*t; };"
},
{
"path": "lib/libgif.js",
"chars": 36847,
"preview": "// Modified by zrispo, control-f zrispo to see da things\n\n/*\n\tSuperGif\n\n\tExample usage:\n\n\t\t<img src=\"./example1_preview."
},
{
"path": "lib/localstoragewrapper.js",
"chars": 780,
"preview": "window.saveData = function (key, data) {\n\tif(!localStorage.savedData) \n\t\tlocalStorage.savedData = JSON.stringify({});\n\n\t"
},
{
"path": "lib/nouislider.css",
"chars": 4734,
"preview": "/*! nouislider - 9.2.0 - 2017-01-11 10:35:35 */\n/* Functional styling;\n * These styles are required for noUiSlider to fu"
},
{
"path": "lib/nouislider.js",
"chars": 60429,
"preview": "/*! nouislider - 9.2.0 - 2017-01-11 10:35:34 */\r\n\r\n(function (factory) {\r\n\r\n if ( typeof define === 'function' && def"
},
{
"path": "lib/offset.js",
"chars": 16655,
"preview": "/*\n Copyright (c) 2014-2017, Jan Bösenberg & Jürg Lehni\n\n Permission is hereby granted, free of charge, to any person ob"
},
{
"path": "lib/paper-full.js",
"chars": 427872,
"preview": "/*!\n * Paper.js v0.11.3 - The Swiss Army Knife of Vector Graphics Scripting.\n * http://paperjs.org/\n *\n * Copyright (c) "
},
{
"path": "lib/paperholefinder.js",
"chars": 6505,
"preview": "// tiny utility function for finding holes in a paper.js project\n// made by zripo for the wick drawing tools\n\nvar PaperH"
},
{
"path": "lib/pixi-layers.js",
"chars": 20627,
"preview": "var pixi_display;\n(function (pixi_display) {\n var Container = PIXI.Container;\n Object.assign(Container.prototype, "
},
{
"path": "lib/pixi.min.4.6.1.js",
"chars": 424570,
"preview": "/*!\n * pixi.js - v4.6.1\n * Compiled Thu, 16 Nov 2017 18:57:43 UTC\n *\n * pixi.js is licensed under the MIT License.\n * ht"
},
{
"path": "lib/polyfills.js",
"chars": 31110,
"preview": "if (!String.prototype.startsWith) {\n String.prototype.startsWith = function(searchString, position){\n position ="
},
{
"path": "lib/potrace.js",
"chars": 34983,
"preview": "/* \n * A javascript port of Potrace (http://potrace.sourceforge.net).\n * \n * This is a fork of potrace.js with some mod"
},
{
"path": "lib/random.js",
"chars": 20772,
"preview": "/*jshint eqnull:true*/\n(function (root) {\n \"use strict\";\n\n var GLOBAL_KEY = \"Random\";\n\n var imul = (typeof Math.imul "
},
{
"path": "lib/rangeslider.css",
"chars": 4898,
"preview": ".rangeslider,\n.rangeslider__fill {\n display: block;\n -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);\n -webkit-"
},
{
"path": "lib/saveSvgAsPng.js",
"chars": 16553,
"preview": "(function() {\n var out$ = typeof exports != 'undefined' && exports || typeof define != 'undefined' && {} || this;\n\n va"
},
{
"path": "lib/screenfull.js",
"chars": 2883,
"preview": "/*!\n* screenfull\n* v3.0.0 - 2015-11-24\n* (c) Sindre Sorhus; MIT License\n*/\n(function () {\n\t'use strict';\n\n\tvar isCommonj"
},
{
"path": "lib/scrollbar.js",
"chars": 1863,
"preview": "/* scrollbar code */\n/* just for fun */\n/* for late night sadness */\n\nvar Scrollbar = function (viewbo"
},
{
"path": "lib/skin-win8/ui.fancytree.css",
"chars": 27464,
"preview": "/*!\n * Fancytree \"Win8\" skin.\n *\n * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from\n * the LE"
},
{
"path": "lib/skin-win8/ui.fancytree.less",
"chars": 4670,
"preview": "/*!\n * Fancytree \"Win8\" skin.\n *\n * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from\n * the LE"
},
{
"path": "lib/socket.io-1.2.0.js",
"chars": 82873,
"preview": "!function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module)module.exports=e();else if(\"function\"==typeof defin"
},
{
"path": "lib/soundcloud-waveform.js",
"chars": 4566,
"preview": "window.AudioContext = window.AudioContext || window.webkitAudioContext;\n\nArray.prototype.max = function() {\n return Mat"
},
{
"path": "lib/spectrum.css",
"chars": 15087,
"preview": "/***\nSpectrum Colorpicker v1.8.0\nhttps://github.com/bgrins/spectrum\nAuthor: Brian Grinstead\nLicense: MIT\n***/\n\n.sp-conta"
},
{
"path": "lib/spectrum.js",
"chars": 79425,
"preview": "// Spectrum Colorpicker v1.8.0\n// https://github.com/bgrins/spectrum\n// Author: Brian Grinstead\n// License: MIT\n\n(functi"
},
{
"path": "lib/timer.js",
"chars": 0,
"preview": ""
},
{
"path": "lib/two.js",
"chars": 249902,
"preview": "/**\n * two.js\n * a two-dimensional drawing api meant for modern browsers. It is renderer\n * agnostic enabling the same a"
},
{
"path": "lib/video-export/videoExporter.js",
"chars": 8555,
"preview": "var VideoExporter = function () {\n \n var self = this; \n\n var worker;\n var onFinishedCallback;\n var audioT"
},
{
"path": "lib/video-export/worker-asm.js",
"chars": 1192,
"preview": "importScripts('ffmpeg.js');\n\nvar now = Date.now;\n\nfunction print(text) {\n postMessage({\n 'type' : 'stdout',\n 'dat"
},
{
"path": "lib/webfont.js",
"chars": 13188,
"preview": "/*\n * Copyright 2016 Small Batch, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not"
},
{
"path": "lib/whammy.js",
"chars": 15817,
"preview": "/*\n\tvar vid = new Whammy.Video();\n\tvid.add(canvas or data url)\n\tvid.compile()\n*/\n\nwindow.Whammy = (function(){\n\t// in th"
},
{
"path": "main.js",
"chars": 1844,
"preview": "// https://electron.atom.io/docs/tutorial/quick-start/\n\nconst {app, BrowserWindow} = require('electron')\nconst path = re"
},
{
"path": "player.html",
"chars": 788837,
"preview": "<!-- \n You've peeked inside the source code for a Wick project... you are clever!\n\n This file was generated by th"
},
{
"path": "resources/credits.html",
"chars": 8,
"preview": "wowowowo"
},
{
"path": "src/editor/WickEditor.GuiActionHandler.js",
"chars": 41209,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/WickEditor.InputHandler.js",
"chars": 22188,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/WickEditor.Settings.js",
"chars": 2072,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/WickEditor.WickActionHandler.js",
"chars": 40926,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/WickEditor.js",
"chars": 8473,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick.\n\n Wick is free sof"
},
{
"path": "src/editor/interfaces/Interfaces.AlertBox.js",
"chars": 2015,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Breadcrumbs.js",
"chars": 1853,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.BuiltinPlayer.js",
"chars": 3665,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Canvas.Backdrop.js",
"chars": 1942,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Canvas.Fast.js",
"chars": 6428,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Canvas.ImageRenderer.js",
"chars": 6328,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Canvas.Interactive.js",
"chars": 10168,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Canvas.js",
"chars": 4284,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.ColorPicker.js",
"chars": 5579,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Credits.js",
"chars": 1452,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.CursorIcon.js",
"chars": 3243,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.EditorSettings.js",
"chars": 2991,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Inspector.InputTypes.js",
"chars": 19641,
"preview": "InspectorInterface.StringInput = function (args) {\n\n var self = this;\n self.getValueFn = args.getValueFn;\n self"
},
{
"path": "src/editor/interfaces/Interfaces.Inspector.Properties.js",
"chars": 37354,
"preview": "InspectorInterface.getProperties = function (wickEditor, inspector) {\n\n\tvar properties = [];\n\n selectionInfo = inspec"
},
{
"path": "src/editor/interfaces/Interfaces.Inspector.js",
"chars": 9514,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Library.js",
"chars": 5556,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.MenuBar.js",
"chars": 9978,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick.\n\n Wick is free sof"
},
{
"path": "src/editor/interfaces/Interfaces.RightClickMenu.js",
"chars": 8665,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.ScriptingIDE.Reference.js",
"chars": 3929,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.ScriptingIDE.js",
"chars": 14236,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.TextEditBox.js",
"chars": 2980,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Timeline.FramesContainer.js",
"chars": 23777,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Timeline.Interactions.js",
"chars": 18228,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Timeline.LayersContainer.js",
"chars": 6838,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Timeline.js",
"chars": 21029,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.Toolbar.js",
"chars": 5178,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/interfaces/Interfaces.VideoExporter.js",
"chars": 9500,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Dropper.js",
"chars": 2210,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Ellipse.js",
"chars": 3261,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Eraser.js",
"chars": 4862,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.FillBucket.js",
"chars": 11143,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Line.js",
"chars": 2973,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Paintbrush.js",
"chars": 5028,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Pan.js",
"chars": 1394,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Pen.js",
"chars": 11366,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Pencil.js",
"chars": 4169,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Rectangle.js",
"chars": 3341,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.SelectionCursor.js",
"chars": 21314,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Text.js",
"chars": 2833,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.VectorCursor.js",
"chars": 18798,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/editor/tools/Tools.Zoom.js",
"chars": 4442,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/player/WickPlayer.HowlerAudioPlayer.js",
"chars": 5583,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/player/WickPlayer.InputHandler.js",
"chars": 10383,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/player/WickPlayer.PixiRenderer.js",
"chars": 13375,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/player/WickPlayer.js",
"chars": 7875,
"preview": "/* Wick - (c) 2017 Zach Rispoli, Luca Damasco, and Josh Rispoli */\n\n/* This file is part of Wick. \n \n Wick is fre"
},
{
"path": "src/player/emptyplayer.htm",
"chars": 1185,
"preview": "<!-- \n You've peeked inside the source code for a Wick project... you are clever!\n\n This file was generated by the"
}
]
// ... and 26 more files (download for full content)
About this extraction
This page contains the full source code of the zrispo/wick GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 226 files (27.5 MB), approximately 1.3M tokens, and a symbol index with 1671 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.